summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIskren Slavov <iskren.s@gmail.com>2010-12-07 16:00:31 +0200
committerIskren Slavov <iskren.s@gmail.com>2010-12-07 16:00:31 +0200
commit071c8083ce06294e03b5a7e704e32c0c7389ac9a (patch)
tree4189662e5b9e6209b4dbb0e3d655ddbf7e35ce33
parentgo-oo-bin fixes. fluback moved to /opt (diff)
downloadwish-071c8083ce06294e03b5a7e704e32c0c7389ac9a.tar.gz
wish-071c8083ce06294e03b5a7e704e32c0c7389ac9a.tar.bz2
wish-071c8083ce06294e03b5a7e704e32c0c7389ac9a.zip
Added gambas, system-config-users (and it's dependencies)
-rw-r--r--app-admin/system-config-users/Manifest3
-rw-r--r--app-admin/system-config-users/files/1.2.105-remove_rpm.patch34
-rw-r--r--app-admin/system-config-users/system-config-users-1.2.105.ebuild38
-rw-r--r--dev-util/gambas/Manifest12
-rw-r--r--dev-util/gambas/files/gambas-2.20.0-FLAGS.patch40
-rw-r--r--dev-util/gambas/files/gambas-2.21.0-app_Makefile.am.patch88
-rw-r--r--dev-util/gambas/files/gambas-2.8.0-libtool.patch10
-rw-r--r--dev-util/gambas/files/gambas-2.9.0-app_Makefile.am.patch92
-rw-r--r--dev-util/gambas/files/gambas-2.9.0-comp_Makefile.am.patch83
-rw-r--r--dev-util/gambas/files/gambas-2.9.0-component.am.patch35
-rw-r--r--dev-util/gambas/files/gambas-2.9.0-examples_Makefile.am.patch58
-rw-r--r--dev-util/gambas/files/gambas-2.9.0-help_Makefile.am.patch29
-rw-r--r--dev-util/gambas/files/gambas-2.9.0-main_Makefile.am.patch36
-rw-r--r--dev-util/gambas/files/svn-r1636-xdg-utils.patch40
-rw-r--r--dev-util/gambas/gambas-2.21.0.ebuild345
-rw-r--r--media-video/handbrake/Manifest2
-rw-r--r--media-video/handbrake/handbrake-0.9.4.ebuild69
-rw-r--r--sys-apps/usermode/Manifest2
-rw-r--r--sys-apps/usermode/usermode-1.106.ebuild83
-rw-r--r--sys-libs/libuser/Manifest2
-rw-r--r--sys-libs/libuser/libuser-0.56.18.ebuild30
21 files changed, 1131 insertions, 0 deletions
diff --git a/app-admin/system-config-users/Manifest b/app-admin/system-config-users/Manifest
new file mode 100644
index 0000000..b4c8be6
--- /dev/null
+++ b/app-admin/system-config-users/Manifest
@@ -0,0 +1,3 @@
+AUX 1.2.105-remove_rpm.patch 1413 RMD160 286e2c39ba0791d539b77703df4f2a1fa3a9a047 SHA1 7435a9b52da85d0c90c36d2e30b169adf7d23ccb SHA256 06bdc3ce24b055e0df7ec571f169459459c8723bf856bfd091a11ded865afd8c
+DIST system-config-users-1.2.105.tar.bz2 267952 RMD160 f391db3b4969eb6f07e5ae6926bfec2087d13a47 SHA1 6438bc71b5179e008f7c7ff41813bd4a22271652 SHA256 c235c97280b4ba622579b710920942a2da1f1779577c3d5fd62733f7a7349916
+EBUILD system-config-users-1.2.105.ebuild 825 RMD160 db0fbda3c2be70664c609f442fd0a4b9a85a1666 SHA1 5af7764bd1fb7ba5d42489cac1e6861a70789740 SHA256 6ca1e964d18b6898c4cb60f1d059500c1f4ab252813f567ad5e23f08a8b701e4
diff --git a/app-admin/system-config-users/files/1.2.105-remove_rpm.patch b/app-admin/system-config-users/files/1.2.105-remove_rpm.patch
new file mode 100644
index 0000000..7a6871a
--- /dev/null
+++ b/app-admin/system-config-users/files/1.2.105-remove_rpm.patch
@@ -0,0 +1,34 @@
+--- src/mainWindow.py 2010-12-07 15:23:06.821000121 +0200
++++ src/mainWindow.py 2010-12-07 15:25:44.092000121 +0200
+@@ -26,7 +26,6 @@
+ import gtk.glade
+ import string
+ import os
+-import rpm
+ import shutil
+
+ import libuser
+@@ -652,9 +651,6 @@
+ dlg.run ()
+ dlg.destroy ()
+ return
+- ts = rpm.TransactionSet ()
+- if ts.dbMatch ("basenames", homeDir).count () > 0 or ts.dbMatch ("basenames", os.path.abspath (homeDir)).count () > 0 or ts.dbMatch ("basenames", os.path.realpath (homeDir)).count () > 0:
+- errMsgs.append (_("- An installed software package contains this directory."))
+ if uid < 500 or (user == "nfsnobody" and (long (uid) == 65534L or long (uid) == 4294967294L)):
+ errMsgs.append (_("- A system user owns this directory and removing it may impair the system's integrity."))
+ if not os.access(homeDir, os.W_OK):
+@@ -913,12 +909,7 @@
+ self.on_properties_activate()
+
+ def isSELinuxInstalled(self):
+- ts = rpm.TransactionSet()
+-
+- mi = ts.dbMatch('name', 'policy-sources')
+- if mi.count() > 0:
+- return True
+- return False
++ return os.path.lexists("/usr/sbin/getenforce") and os.access("/usr/sbin/getenforce", os.X_OK)
+
+ def isSELinuxEnabled(self):
+ if self.isSELinuxInstalled():
diff --git a/app-admin/system-config-users/system-config-users-1.2.105.ebuild b/app-admin/system-config-users/system-config-users-1.2.105.ebuild
new file mode 100644
index 0000000..b620f32
--- /dev/null
+++ b/app-admin/system-config-users/system-config-users-1.2.105.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+inherit python base
+
+DESCRIPTION="The system-config-users tool lets you manage the users and groups on your computer."
+HOMEPAGE="http://fedoraproject.org/wiki/SystemConfig/users"
+SRC_URI="https://fedorahosted.org/releases/s/y/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-1"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="X"
+
+DEPEND="dev-util/desktop-file-utils
+ dev-util/intltool
+ sys-apps/findutils
+ sys-devel/gettext"
+
+RDEPEND="
+ X? ( >=dev-python/pygtk-2.6
+ x11-misc/xdg-utils
+ )
+ >=sys-libs/libuser-0.56.18
+ >=sys-apps/usermode-1.106
+ sys-libs/cracklib
+ sys-process/procps"
+
+PATCHES=( "${FILESDIR}/${PV}-remove_rpm.patch" )
+
+pkg_postrm() {
+ python_mod_cleanup /usr/share/${PN}
+}
+
+src_install() {
+ base_src_install
+}
diff --git a/dev-util/gambas/Manifest b/dev-util/gambas/Manifest
new file mode 100644
index 0000000..1515a13
--- /dev/null
+++ b/dev-util/gambas/Manifest
@@ -0,0 +1,12 @@
+AUX gambas-2.20.0-FLAGS.patch 1131 RMD160 2a9702725bd7041b748c7a769774313d9cc6862c SHA1 cfd49130eb2c5eb3107589943675af1883ce4c7c SHA256 47687508d0fc8444010a52eb24c5b42eb654211328e57ccfb5ebab1d2c4088b5
+AUX gambas-2.21.0-app_Makefile.am.patch 3642 RMD160 c0d014683dd4703a89c37c4025008ad63fc346f4 SHA1 2155b5242180c442b11bbdd98b8030bd686d3e7d SHA256 4c69ecc0d9e4ddd4c91dc4f9d383a9cecb8d018c530e631415530852856fa3ff
+AUX gambas-2.8.0-libtool.patch 213 RMD160 a8532515ac2bc1b0bf1c22e47f4d9234ced242e0 SHA1 c8d14120b569ac9d5fe172fcd709233cf3e24f48 SHA256 9f0804294381cf988374cf6a35aa7f009f908611e5b7fd529eb7b8beea6bc7dd
+AUX gambas-2.9.0-app_Makefile.am.patch 3598 RMD160 fd122107ca46541c8dd1f297909336346c590ce2 SHA1 47bb5f458a1c39e645eac568caf1b2a4f2ebb199 SHA256 6a5e7c57b7c7ee3d682797d5fc87b1f1458f422ef5834b0c4a8ac427afdb91a7
+AUX gambas-2.9.0-comp_Makefile.am.patch 3037 RMD160 10175b38fa065f7fae6b89bcd24068c268c1ddf6 SHA1 0d98a456ad7e901343dffc3fcfbf58feff95dee4 SHA256 84e9be10095596e93fc6b99ce1495ff84da62551173c4536bac781ced71a1718
+AUX gambas-2.9.0-component.am.patch 1253 RMD160 7fdee99d974787cd560b3614291356e0f36b2c92 SHA1 857627f9d2098920a282a603b821a78e19d2136a SHA256 1ce343e72e332d0b1b161cdf1dcad3e2954594c33205d2251280423b72025fa6
+AUX gambas-2.9.0-examples_Makefile.am.patch 1760 RMD160 b5978bdacb13783fd9665c25c77d3d87fdf083da SHA1 80533bad0e1e705a687e228823109a3e73c18dda SHA256 d42dc622fdbcc3bd4319a39d6d814cbf86937a7f88db59e0504480635e59d3f1
+AUX gambas-2.9.0-help_Makefile.am.patch 975 RMD160 d323d87084fead984601aea8fad301fa65be198d SHA1 ce4b64e169ecf22d1db0de5bf6f4764c04f4f39c SHA256 b392bebe316787bcb2e8b9bdfa43b2be8179470f7e92bcf52e290aa4d833e382
+AUX gambas-2.9.0-main_Makefile.am.patch 1243 RMD160 8deb93eca7bd1cb0b5ecf4371b6a9e968c2a7a87 SHA1 66aeb828170be51c5af501f1ccdc6d0e207af75e SHA256 3d8f944025af3d5130ec85f8b30a6f036ba869301b49a72e86e44b799a1b13bd
+AUX svn-r1636-xdg-utils.patch 1036 RMD160 64c5f4b0cc137cb42af929640f37a1fdb25cc58f SHA1 c92e96fd5ec90240537ee3933380318ff49aec39 SHA256 65143a80f0dc27480aeb4bc9c91d50531fdf1c1c0389e32604515f5812eb0c22
+DIST gambas2-2.21.0.tar.bz2 14516099 RMD160 b9cc70d3d93152df72081bbb0bc2a617ee8a7bef SHA1 0672abdf1f083575ee80ea164c4a6f548fe3116e SHA256 94f849826d21c3f7097ecdb3b50d4ef7d9a582f143bd40861c5231a1e7f146b7
+EBUILD gambas-2.21.0.ebuild 9039 RMD160 bdfdad2773994af1026271c9f064673148554125 SHA1 7c3e5bfac60e4d29f2bffb6b16eeeacace3df01a SHA256 e2af29b84b7ede92b56160ddee7617b0aaa181b4fbf99bbabcb3d54d17e91559
diff --git a/dev-util/gambas/files/gambas-2.20.0-FLAGS.patch b/dev-util/gambas/files/gambas-2.20.0-FLAGS.patch
new file mode 100644
index 0000000..b5a080f
--- /dev/null
+++ b/dev-util/gambas/files/gambas-2.20.0-FLAGS.patch
@@ -0,0 +1,40 @@
+--- acinclude.m4.orig 2010-03-01 19:09:54.000000000 +0100
++++ acinclude.m4 2010-03-01 19:12:02.000000000 +0100
+@@ -193,17 +193,6 @@
+
+ AM_CONDITIONAL(DEBUG, test "$gambas_debug" = yes)
+
+- dnl ---- optimization option
+-
+- AC_ARG_ENABLE(
+- optimization,
+- [ --enable-optimization compile with optimizations (default: yes)],
+- gambas_optimization=$enableval,
+- gambas_optimization=yes
+- )
+-
+- AM_CONDITIONAL(OPTIMIZE, test "$gambas_optimization" = yes)
+-
+ AM_CFLAGS="$AM_CFLAGS -pipe -Wall -Wno-unused-value -Wcast-align -fsigned-char"
+ AM_CXXFLAGS="$AM_CXXFLAGS -pipe -Wall -fno-exceptions -Wno-unused-value -Wcast-align -fsigned-char"
+
+@@ -228,19 +217,6 @@
+
+ dnl ---- Optimization flags
+
+- if test "x$gambas_optimization" = "xyes"; then
+- AM_CFLAGS_OPT="$AM_CFLAGS -O3"
+- AM_CFLAGS="$AM_CFLAGS -Os"
+- AM_CXXFLAGS="$AM_CXXFLAGS -Os -fno-omit-frame-pointer"
+- else
+- AM_CFLAGS_OPT="$AM_CFLAGS -O0"
+- AM_CFLAGS="$AM_CFLAGS -O0"
+- AM_CXXFLAGS="$AM_CXXFLAGS -O0"
+- fi
+-
+- CFLAGS=""
+- CXXFLAGS=""
+-
+ AC_SUBST(AM_CFLAGS)
+ AC_SUBST(AM_CFLAGS_OPT)
+ AC_SUBST(AM_CXXFLAGS) \ No newline at end of file
diff --git a/dev-util/gambas/files/gambas-2.21.0-app_Makefile.am.patch b/dev-util/gambas/files/gambas-2.21.0-app_Makefile.am.patch
new file mode 100644
index 0000000..f3b7db6
--- /dev/null
+++ b/dev-util/gambas/files/gambas-2.21.0-app_Makefile.am.patch
@@ -0,0 +1,88 @@
+--- app/Makefile.am.orig 2010-08-02 15:11:45.169682455 +0200
++++ app/Makefile.am 2010-08-02 15:18:38.927710924 +0200
+@@ -1,36 +1,54 @@
+ EXTRA_DIST = reconf src spec mime
+
+ install-exec-local:
+- @echo "Installing the development environment..."
+- @(cd $(srcdir)/src; d=`pwd`; \
+- for p in `cat INSTALL`; do \
+- echo "Compiling $$p..."; cd $$d/$$p; \
+- $(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix); \
+- $(DESTDIR)$(bindir)/gba$(GAMBAS_VERSION); \
+- rm -rf .gambas; \
+- $(INSTALL) $$p.gambas $(DESTDIR)$(bindir); \
+- done)
+- ##@if test "$(bindir)" != "$(ROOT)/usr/bin" && test "$(bindir)" != "$(ROOT)/usr/bin/"; then
+- @ln -s gambas$(GAMBAS_VERSION).gambas $(DESTDIR)$(bindir)/gambas$(GAMBAS_VERSION) || true
+-
+- @echo "Installing the scripter..."
+- @ln -s gbs$(GAMBAS_VERSION).gambas $(DESTDIR)$(bindir)/gbs$(GAMBAS_VERSION) || true
+- @ln -s gbs$(GAMBAS_VERSION).gambas $(DESTDIR)$(bindir)/gbw$(GAMBAS_VERSION) || true
+- @if test x"$(XDG_UTILS)" != x; then \
++ @echo "=== Installing the development environment ==="; \
++ echo
++
++ @(for p in `cat $(srcdir)/src/INSTALL`; do \
++ echo -n "Compiling $$p ... "; \
++ cd $(abs_srcdir)/src/$$p; \
++ if $(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix); then \
++ $(DESTDIR)$(bindir)/gba$(GAMBAS_VERSION); \
++ echo "Installing $$p"; \
++ rm -rf .gambas; \
++ $(INSTALL) $$p.gambas $(DESTDIR)$(bindir); \
++ fi \
++ done); \
++ echo
++
++ @if test -e $(DESTDIR)$(bindir)/gambas$(GAMBAS_VERSION).gambas; then \
++ echo "Creating IDE symbolic link"; \
++ $(LN_S) gambas$(GAMBAS_VERSION).gambas $(DESTDIR)$(bindir)/gambas$(GAMBAS_VERSION); \
++ fi; \
++ if test -e $(DESTDIR)$(bindir)/gambas$(GAMBAS_VERSION)-database-manager.gambas; then \
++ echo "Creating Database Manager symbolic link"; \
++ $(LN_S) gambas$(GAMBAS_VERSION)-database-manager.gambas $(DESTDIR)$(bindir)/gambas$(GAMBAS_VERSION)-database-manager; \
++ fi; \
++ if test -e $(DESTDIR)$(bindir)/gbs$(GAMBAS_VERSION).gambas; then \
++ echo "Creating scripter symbolic links"; \
++ $(LN_S) gbs$(GAMBAS_VERSION).gambas $(DESTDIR)$(bindir)/gbs$(GAMBAS_VERSION); \
++ $(LN_S) gbs$(GAMBAS_VERSION).gambas $(DESTDIR)$(bindir)/gbw$(GAMBAS_VERSION); \
++ fi; \
++ echo
++
++ @if test -n "$(XDG_UTILS)"; then \
+ $(INSTALL) -d $(DESTDIR)$(gbdatadir)/icons; \
+- cp -f $(srcdir)/mime/application-x-gambas*.png $(DESTDIR)$(gbdatadir)/icons; \
++ $(INSTALL) -c -m 644 $(srcdir)/mime/application-x-gambas*.png $(DESTDIR)$(gbdatadir)/icons; \
+ echo "Registering Gambas script mimetype"; \
+ xdg-icon-resource install --context mimetypes --size 64 $(DESTDIR)$(gbdatadir)/icons/application-x-gambasscript.png application-x-gambasscript; \
+ xdg-mime install $(srcdir)/mime/application-x-gambasscript.xml; \
+ echo "Registering Gambas server page mimetype"; \
+ xdg-icon-resource install --context mimetypes --size 64 $(DESTDIR)$(gbdatadir)/icons/application-x-gambasserverpage.png application-x-gambasserverpage; \
+ xdg-mime install $(srcdir)/mime/application-x-gambasserverpage.xml; \
++ echo; \
+ fi
+
+ uninstall-local:
+ @rm -f $(DESTDIR)$(bindir)/gambas$(GAMBAS_VERSION)
+ @rm -f $(DESTDIR)$(bindir)/gbs$(GAMBAS_VERSION)
+- @(cd $(srcdir)/src; for p in `cat INSTALL`; do rm -f $(DESTDIR)$(bindir)/$$p.gambas; done)
++ @(for p in `cat $(srcdir)/src/INSTALL`; do \
++ rm -f $(DESTDIR)$(bindir)/$$p.gambas; \
++ done)
+
+ dist-hook:
+ @(cd $(distdir)/src; \
+
+Hide details
+
+Change log
+r5 by lalebarde on August 02, 2010 diff -u
+r4 by wavilen on Apr 12, 2010 Diff
+initial importGo to:
+
+Project members, sign in to write a code review
+
+Older revisions
+All revisions of this file
+
diff --git a/dev-util/gambas/files/gambas-2.8.0-libtool.patch b/dev-util/gambas/files/gambas-2.8.0-libtool.patch
new file mode 100644
index 0000000..e4e557c
--- /dev/null
+++ b/dev-util/gambas/files/gambas-2.8.0-libtool.patch
@@ -0,0 +1,10 @@
+--- acinclude.m4.orig 2008-08-18
++++ acinclude.m4 2008-08-18
+@@ -83,7 +83,7 @@
+ AC_DEFUN([GB_LIBTOOL],
+ [
+ AC_LIBTOOL_DLOPEN
+- AC_LIBLTDL_CONVENIENCE
++ AC_WITH_LTDL
+ AC_LIBTOOL_WIN32_DLL
+ AC_DISABLE_STATIC \ No newline at end of file
diff --git a/dev-util/gambas/files/gambas-2.9.0-app_Makefile.am.patch b/dev-util/gambas/files/gambas-2.9.0-app_Makefile.am.patch
new file mode 100644
index 0000000..002c116
--- /dev/null
+++ b/dev-util/gambas/files/gambas-2.9.0-app_Makefile.am.patch
@@ -0,0 +1,92 @@
+--- app/Makefile.am.orig 2008-12-15
++++ app/Makefile.am 2008-12-15
+@@ -1,36 +1,54 @@
+ EXTRA_DIST = reconf src spec mime
+
+ install-exec-local:
+- @echo "Installing the development environment..."
+- @(cd $(srcdir)/src; d=`pwd`; \
+- for p in `cat INSTALL`; do \
+- echo "Compiling $$p..."; cd $$d/$$p; \
+- $(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix); \
+- $(DESTDIR)$(bindir)/gba$(GAMBAS_VERSION); \
+- rm -rf .gambas; \
+- $(INSTALL) $$p.gambas $(DESTDIR)$(bindir); \
+- done)
+- ##@if test "$(bindir)" != "$(ROOT)/usr/bin" && test "$(bindir)" != "$(ROOT)/usr/bin/"; then
+- @ln -s gambas$(GAMBAS_VERSION).gambas $(DESTDIR)$(bindir)/gambas$(GAMBAS_VERSION) || true
+-
+- @echo "Installing the scripter..."
+- @ln -s gbs$(GAMBAS_VERSION).gambas $(DESTDIR)$(bindir)/gbs$(GAMBAS_VERSION) || true
+- @ln -s gbw$(GAMBAS_VERSION).gambas $(DESTDIR)$(bindir)/gbs$(GAMBAS_VERSION) || true
+- @if test x"$(XDG_UTILS)" != x; then \
++ @echo "=== Installing the development environment ==="; \
++ echo
++
++ @(for p in `cat $(srcdir)/src/INSTALL`; do \
++ echo -n "Compiling $$p ... "; \
++ cd $(abs_srcdir)/src/$$p; \
++ if $(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix); then \
++ $(DESTDIR)$(bindir)/gba$(GAMBAS_VERSION); \
++ echo "Installing $$p"; \
++ rm -rf .gambas; \
++ $(INSTALL) $$p.gambas $(DESTDIR)$(bindir); \
++ fi \
++ done); \
++ echo
++
++ @if test -e $(DESTDIR)$(bindir)/gambas$(GAMBAS_VERSION).gambas; then \
++ echo "Creating IDE symbolic link"; \
++ $(LN_S) gambas$(GAMBAS_VERSION).gambas $(DESTDIR)$(bindir)/gambas$(GAMBAS_VERSION); \
++ fi; \
++ if test -e $(DESTDIR)$(bindir)/gambas$(GAMBAS_VERSION)-database-manager.gambas; then \
++ echo "Creating Database Manager symbolic link"; \
++ $(LN_S) gambas$(GAMBAS_VERSION)-database-manager.gambas $(DESTDIR)$(bindir)/gambas$(GAMBAS_VERSION)-database-manager; \
++ fi; \
++ if test -e $(DESTDIR)$(bindir)/gbs$(GAMBAS_VERSION).gambas; then \
++ echo "Creating scripter symbolic links"; \
++ $(LN_S) gbs$(GAMBAS_VERSION).gambas $(DESTDIR)$(bindir)/gbs$(GAMBAS_VERSION); \
++ $(LN_S) gbs$(GAMBAS_VERSION).gambas $(DESTDIR)$(bindir)/gbw$(GAMBAS_VERSION); \
++ fi; \
++ echo
++
++ @if test -n "$(XDG_UTILS)"; then \
+ $(INSTALL) -d $(DESTDIR)$(gbdatadir)/icons; \
+- cp -f $(srcdir)/mime/application-x-gambas*.png $(DESTDIR)$(gbdatadir)/icons; \
++ $(INSTALL) -c -m 644 $(srcdir)/mime/application-x-gambas*.png $(DESTDIR)$(gbdatadir)/icons; \
+ echo "Registering Gambas script mimetype"; \
+ xdg-icon-resource install --context mimetypes --size 64 $(DESTDIR)$(gbdatadir)/icons/application-x-gambasscript.png application-x-gambasscript; \
+ xdg-mime install $(srcdir)/mime/application-x-gambasscript.xml; \
+ echo "Registering Gambas server page mimetype"; \
+ xdg-icon-resource install --context mimetypes --size 64 $(DESTDIR)$(gbdatadir)/icons/application-x-gambasserverpage.png application-x-gambasserverpage; \
+ xdg-mime install $(srcdir)/mime/application-x-gambasserverpage.xml; \
++ echo; \
+ fi
+
+ uninstall-local:
+ @rm -f $(DESTDIR)$(bindir)/gambas$(GAMBAS_VERSION)
+ @rm -f $(DESTDIR)$(bindir)/gbs$(GAMBAS_VERSION)
+- @(cd $(srcdir)/src; for p in `cat INSTALL`; do rm -f $(DESTDIR)$(bindir)/$$p.gambas; done)
++ @(for p in `cat $(srcdir)/src/INSTALL`; do \
++ rm -f $(DESTDIR)$(bindir)/$$p.gambas; \
++ done)
+
+ dist-hook:
+ @(cd $(distdir)/src; \
+
+
+
+Hide details
+
+Change log
+r4 by wavilen on Apr 12, 2010 Diff
+initial importGo to:
+
+Project members, sign in to write a code review
+
+Older revisions
+All revisions of this file
+
+File info
+Size: 3361 bytes, 75 lines
+View raw file
diff --git a/dev-util/gambas/files/gambas-2.9.0-comp_Makefile.am.patch b/dev-util/gambas/files/gambas-2.9.0-comp_Makefile.am.patch
new file mode 100644
index 0000000..792cd2f
--- /dev/null
+++ b/dev-util/gambas/files/gambas-2.9.0-comp_Makefile.am.patch
@@ -0,0 +1,83 @@
+--- comp/Makefile.am.orig 2008-11-01
++++ comp/Makefile.am 2008-11-01
+@@ -4,44 +4,44 @@
+ ##AUTOMAKE_OPTIONS = dist-bzip2
+
+ install-exec-local:
+- @if test "x$(ROOT)" != "x"; then \
+- echo "Installing with ROOT=$(ROOT)"; \
+- echo; \
+- fi
+-
+- @if test "x$(DESTDIR)" != "x"; then \
+- echo "Installing with DESTDIR=$(DESTDIR)"; \
+- echo; \
+- ROOT=$DESTDIR; \
+- fi
+-
+- @echo "Running the informer again because of dependencies between information files"
+- @$(DESTDIR)$(bindir)/gbi$(GAMBAS_VERSION) -r $(DESTDIR)$(prefix)
+-
+- @echo "Installing the components..."
+- @(cd $(srcdir)/src; d=`pwd`; for p in `cat order`; do \
+- echo "Compiling $$p..."; \
+- cd $$d/$$p; \
+- $(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix); \
+- $(DESTDIR)$(bindir)/gba$(GAMBAS_VERSION); \
+- rm -rf .gambas; \
+- echo "Installing $$p..."; \
+- $(INSTALL) $$p.gambas $(DESTDIR)$(gblibdir); \
+- $(INSTALL) .component $(DESTDIR)$(gblibdir)/$$p.component; \
+- chmod a-x $(DESTDIR)$(gblibdir)/$$p.component; \
+- $(INSTALL) .info $(DESTDIR)$(gbdatadir)/info/$$p.info; \
+- chmod a-x $(DESTDIR)$(gbdatadir)/info/$$p.info; \
+- $(INSTALL) .list $(DESTDIR)$(gbdatadir)/info/$$p.list; \
+- chmod a-x $(DESTDIR)$(gbdatadir)/info/$$p.list; \
+- done; true)
++ @echo "=== Installing the components ==="; \
++ echo
++
++ @if test -n "$(ROOT)"; then \
++ echo "Installing with ROOT=$(ROOT)"; \
++ fi; \
++ if test -n "$(DESTDIR)"; then \
++ echo "Installing with DESTDIR=$(DESTDIR)"; \
++ ROOT=$DESTDIR; \
++ fi; \
++ echo
++
++ @echo "Running the informer again because of dependencies between information files"; \
++ $(DESTDIR)$(bindir)/gbi$(GAMBAS_VERSION) -r $(DESTDIR)$(prefix); \
++ echo
++
++ @(for p in `cat $(srcdir)/src/order`; do \
++ echo -n "Compiling $$p ... "; \
++ cd $(abs_srcdir)/src/$$p; \
++ if $(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix); then \
++ $(DESTDIR)$(bindir)/gba$(GAMBAS_VERSION); \
++ echo "Installing $$p"; \
++ rm -rf .gambas; \
++ $(INSTALL) $$p.gambas $(DESTDIR)$(gblibdir); \
++ $(INSTALL) -c -m 644 .component $(DESTDIR)$(gblibdir)/$$p.component; \
++ $(INSTALL) -c -m 644 .info $(DESTDIR)$(gbdatadir)/info/$$p.info; \
++ $(INSTALL) -c -m 644 .list $(DESTDIR)$(gbdatadir)/info/$$p.list; \
++ fi \
++ done); \
++ echo
+
+ uninstall-local:
+- @(cd $(srcdir)/src; for p in *; do \
+- rm -f $(DESTDIR)$(gblibdir)/$$p.gambas; \
+- rm -f $(DESTDIR)$(gblibdir)/$$p.component; \
+- rm -f $(DESTDIR)$(gbdatadir)/info/$$p.info; \
+- rm -f $(DESTDIR)$(gbdatadir)/info/$$p.list; \
+- done)
++ @(for p in `cat $(srcdir)/src/order`; do \
++ rm -f $(DESTDIR)$(gblibdir)/$$p.gambas; \
++ rm -f $(DESTDIR)$(gblibdir)/$$p.component; \
++ rm -f $(DESTDIR)$(gbdatadir)/info/$$p.info; \
++ rm -f $(DESTDIR)$(gbdatadir)/info/$$p.list; \
++ done)
+
+ dist-hook:
+ @(cd $(distdir)/src; rm -rf `find . -name ".gambas" -o -name ".lock" -o -name ".xvpics" -o -name "*~" -o -name "*.out" -o -name "*.pot" -o -name "*.gambas" -o -name "core.*" -o -name ".kdbg*" -o -name ".svn"`;) \ No newline at end of file
diff --git a/dev-util/gambas/files/gambas-2.9.0-component.am.patch b/dev-util/gambas/files/gambas-2.9.0-component.am.patch
new file mode 100644
index 0000000..45c348b
--- /dev/null
+++ b/dev-util/gambas/files/gambas-2.9.0-component.am.patch
@@ -0,0 +1,35 @@
+--- component.am.orig 2008-11-03
++++ component.am 2008-11-03
+@@ -2,22 +2,25 @@
+ gblib_DATA = $(COMPONENT).component
+
+ install-data-hook:
+- @$(INSTALL) -d $(DESTDIR)$(gbdatadir)/info
++ @echo; \
++ $(INSTALL) -d $(DESTDIR)$(gbdatadir)/info
++
+ @if test -d $(COMPONENT); then \
+- echo "Compiling the $(COMPONENT) project..."; \
+ ( \
++ echo "Creating the information files for $(COMPONENT) component ..."; \
+ $(DESTDIR)$(bindir)/gbi$(GAMBAS_VERSION) -r $(DESTDIR)$(prefix) $(COMPONENT); \
++ echo -n "Compiling the $(COMPONENT) project ... "; \
+ cd $(COMPONENT); \
+- $(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix); \
++ $(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix) && \
+ $(DESTDIR)$(bindir)/gba$(GAMBAS_VERSION); \
+ rm -rf .gambas; \
+ $(INSTALL) $(COMPONENT).gambas $(DESTDIR)$(gblibdir); \
+ ) \
+ fi
+- @echo
+- @echo "Creating the information files for $(COMPONENT) component..."
+- @$(DESTDIR)$(bindir)/gbi$(GAMBAS_VERSION) -r $(DESTDIR)$(prefix) $(COMPONENT)
+- @echo
++
++ @echo "Creating the information files for $(COMPONENT) component ..."; \
++ $(DESTDIR)$(bindir)/gbi$(GAMBAS_VERSION) -r $(DESTDIR)$(prefix) $(COMPONENT); \
++ echo
+
+ uninstall-hook:
+ @if test -d $(COMPONENT); then \ \ No newline at end of file
diff --git a/dev-util/gambas/files/gambas-2.9.0-examples_Makefile.am.patch b/dev-util/gambas/files/gambas-2.9.0-examples_Makefile.am.patch
new file mode 100644
index 0000000..ac2b7b1
--- /dev/null
+++ b/dev-util/gambas/files/gambas-2.9.0-examples_Makefile.am.patch
@@ -0,0 +1,58 @@
+--- examples/Makefile.am.orig 2008-11-01
++++ examples/Makefile.am 2008-11-01
+@@ -3,27 +3,35 @@
+ EXTRA_DIST = reconf examples spec
+
+ install-exec-local:
+- @if test "x$(ROOT)" != "x"; then \
+- echo "Installing with ROOT=$(ROOT)"; \
+- echo; \
+- fi
+-
+- @if test "x$(DESTDIR)" != "x"; then \
+- echo "Installing with DESTDIR=$(DESTDIR)"; \
+- echo; \
+- ROOT=$DESTDIR; \
+- fi
++ @echo "=== Installing the gambas examples ==="; \
++ echo
+
+- @echo
+- @echo "Installing the gambas examples..."
+- @rm -rf $(DESTDIR)$(gbdatadir)/examples
+- @$(INSTALL) -d $(DESTDIR)$(gbdatadir)/examples
+- @cp -R $(srcdir)/examples $(DESTDIR)$(gbdatadir)
+- @(cd $(DESTDIR)$(gbdatadir)/examples; d=`pwd`; for p in */ */*/; do cd $$d/$$p; \
+- if test -e .project; then \
+- echo "Compiling $$p..."; cd $$d/$$p; $(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix); $(DESTDIR)$(bindir)/gba$(GAMBAS_VERSION); \
+- fi \
+- done)
++ @if test -n "$(ROOT)"; then \
++ echo "Installing with ROOT=$(ROOT)"; \
++ fi; \
++ if test -n "$(DESTDIR)"; then \
++ echo "Installing with DESTDIR=$(DESTDIR)"; \
++ ROOT=$DESTDIR; \
++ fi; \
++ echo
++
++ @(cd $(srcdir)/examples; \
++ for p in */ */*/; do \
++ if test -e $(abs_srcdir)/examples/$$p/.project; then \
++ cd $(abs_srcdir)/examples/$$p; \
++ echo -n "Compiling $$p... "; \
++ if $(DESTDIR)$(bindir)/gbc$(GAMBAS_VERSION) -ag -r $(DESTDIR)$(prefix); then \
++ $(DESTDIR)$(bindir)/gba$(GAMBAS_VERSION); \
++ fi \
++ fi \
++ done); \
++ echo
++
++ @echo "Installing the gambas examples"; \
++ rm -rf $(DESTDIR)$(gbdatadir)/examples; \
++ $(INSTALL) -d $(DESTDIR)$(gbdatadir)/examples; \
++ cp -R $(srcdir)/examples $(DESTDIR)$(gbdatadir); \
++ echo
+
+ uninstall-local:
+ @rm -rf $(DESTDIR)$(gbdatadir)/examples \ No newline at end of file
diff --git a/dev-util/gambas/files/gambas-2.9.0-help_Makefile.am.patch b/dev-util/gambas/files/gambas-2.9.0-help_Makefile.am.patch
new file mode 100644
index 0000000..4f10759
--- /dev/null
+++ b/dev-util/gambas/files/gambas-2.9.0-help_Makefile.am.patch
@@ -0,0 +1,29 @@
+--- help/Makefile.am.orig 2008-11-01
++++ help/Makefile.am 2008-11-01
+@@ -2,12 +2,20 @@
+ EXTRA_DIST = reconf spec
+
+ install-exec-local:
+- @echo
+- @echo "Installing the gambas help files..."
+- @rm -rf $(DESTDIR)$(gbdatadir)/help
+- @$(INSTALL) -d $(DESTDIR)$(gbdatadir)/help
+- @cp -R $(srcdir)/help $(DESTDIR)$(gbdatadir)
+- @(cd $(DESTDIR)$(gbdatadir)/help; tar xfz $(DESTDIR)$(gbdatadir)/help/help.tar.gz; $(LN_S) help/img img; $(LN_S) help/image image; rm -f Makefile*)
++ @echo "=== Installing the gambas help files ==="; \
++ echo
++
++ @echo "Copying the help files"; \
++ rm -rf $(DESTDIR)$(gbdatadir)/help; \
++ $(INSTALL) -d $(DESTDIR)$(gbdatadir)/help; \
++ cp -R $(srcdir)/help $(DESTDIR)$(gbdatadir)
++ @echo "Unpacking the help files"; \
++ (cd $(DESTDIR)$(gbdatadir)/help; \
++ tar xfz $(DESTDIR)$(gbdatadir)/help/help.tar.gz; \
++ $(LN_S) help/img img; \
++ $(LN_S) help/image image; \
++ rm -f Makefile*); \
++ echo
+
+ uninstall-local:
+ @rm -rf $(DESTDIR)$(gbdatadir)/help \ No newline at end of file
diff --git a/dev-util/gambas/files/gambas-2.9.0-main_Makefile.am.patch b/dev-util/gambas/files/gambas-2.9.0-main_Makefile.am.patch
new file mode 100644
index 0000000..40ab077
--- /dev/null
+++ b/dev-util/gambas/files/gambas-2.9.0-main_Makefile.am.patch
@@ -0,0 +1,36 @@
+--- main/Makefile.am.orig 2008-11-02
++++ main/Makefile.am 2008-11-02
+@@ -4,18 +4,25 @@
+ EXTRA_DIST = TODO reconf spec README mime
+
+ install-exec-local:
+- @if test x"$(DESTDIR)" != x; then \
+- echo "Installing with DESTDIR='$(DESTDIR)'"; \
+- fi
+- @echo "Making runtime symbolic link"
+- @$(LN_S) -f gbx$(GAMBAS_VERSION) $(DESTDIR)$(bindir)/gbr$(GAMBAS_VERSION) || true
+-
+- @if test x"$(XDG_UTILS)" != x; then \
++ @echo "=== Installing the runtime ==="; \
++ echo
++
++ @if test -n "$(DESTDIR)"; then \
++ echo "Installing with DESTDIR=$(DESTDIR)"; \
++ fi; \
++ echo
++
++ @echo "Creating runtime symbolic link"; \
++ $(LN_S) gbx$(GAMBAS_VERSION) $(DESTDIR)$(bindir)/gbr$(GAMBAS_VERSION); \
++ echo
++
++ @if test -n "$(XDG_UTILS)"; then \
+ echo "Registering Gambas executable mimetype"; \
+ $(INSTALL) -d $(DESTDIR)$(gbdatadir)/icons; \
+- cp -f $(srcdir)/mime/application-x-gambas.png $(DESTDIR)$(gbdatadir)/icons; \
++ $(INSTALL) -c -m 644 $(srcdir)/mime/application-x-gambas.png $(DESTDIR)$(gbdatadir)/icons; \
+ xdg-icon-resource install --context mimetypes --size 64 $(DESTDIR)$(gbdatadir)/icons/application-x-gambas.png application-x-gambas; \
+ xdg-mime install $(srcdir)/mime/application-x-gambas.xml; \
++ echo; \
+ fi
+
+ uninstall-local: \ No newline at end of file
diff --git a/dev-util/gambas/files/svn-r1636-xdg-utils.patch b/dev-util/gambas/files/svn-r1636-xdg-utils.patch
new file mode 100644
index 0000000..e7adbac
--- /dev/null
+++ b/dev-util/gambas/files/svn-r1636-xdg-utils.patch
@@ -0,0 +1,40 @@
+--- app/configure.ac.orig 2008-10-05
++++ app/configure.ac 2008-10-05
+@@ -7,7 +7,16 @@
+
+ dnl ---- Check for Portland scripts
+
+-AC_CHECK_PROGS(XDG_UTILS, [xdg-mime xdg-icon-resource], [])
++AC_ARG_WITH([xdg-utils],
++ [AC_HELP_STRING([--with-xdg-utils],[use xdg-utils to install icons and mimetypes (default; yes)])],
++ [],[with_xdg_utils=yes])
++
++if test "x$with_xdg_utils" = "xno"
++then
++ AC_SUBST(XDG_UTILS, [""])
++else
++ AC_CHECK_PROGS(XDG_UTILS, [xdg-mime xdg-icon-resource], [])
++fi
+
+ dnl ---- Create makefiles
+
+--- main/configure.ac.orig 2008-10-05
++++ main/configure.ac 2008-10-05
+@@ -86,7 +86,16 @@
+
+ dnl ---- Check for Portland scripts
+
+-AC_CHECK_PROGS(XDG_UTILS, [xdg-mime xdg-icon-resource], [])
++AC_ARG_WITH([xdg-utils],
++ [AC_HELP_STRING([--with-xdg-utils],[use xdg-utils to install icons and mimetypes (default; yes)])],
++ [],[with_xdg_utils=yes])
++
++if test "x$with_xdg_utils" = "xno"
++then
++ AC_SUBST(XDG_UTILS, [""])
++else
++ AC_CHECK_PROGS(XDG_UTILS, [xdg-mime xdg-icon-resource], [])
++fi
+
+ dnl ---- Other options
+ \ No newline at end of file
diff --git a/dev-util/gambas/gambas-2.21.0.ebuild b/dev-util/gambas/gambas-2.21.0.ebuild
new file mode 100644
index 0000000..9f5c02a
--- /dev/null
+++ b/dev-util/gambas/gambas-2.21.0.ebuild
@@ -0,0 +1,345 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/gambas/gambas-2.20.2.ebuild,v 1.3
+# 2010/02/10 22:09:36 ssuominen, modified 2010/08/02 by lalebarde : dev-db/postgresql-base
+# instead of virtual/postgresql-baseExp $
+
+
+EAPI="2"
+
+
+inherit autotools eutils fdo-mime multilib toolchain-funcs
+
+
+DESCRIPTION="Gambas is a free development environment based on a Basic interpreter with object extensions"
+HOMEPAGE="http://gambas.sourceforge.net/"
+
+
+SLOT="2"
+MY_PN="${PN}${SLOT}"
+MY_P="${MY_PN}-${PV}"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
+LICENSE="GPL-2"
+
+
+KEYWORDS="~amd64 ~x86"
+IUSE="
+ bzip2 corba curl debug doc examples firebird gtk mysql odbc opengl pcre
+ pdf postgres sdl smtp sqlite sqlite3 svg v4l xml zlib
+"
+
+
+COMMON_DEPEND="
+ bzip2? ( >=app-arch/bzip2-1.0.5 )
+ corba? ( >=net-misc/omniORB-4.1.0 )
+ curl? ( >=net-misc/curl-7.15.5-r1 )
+ firebird? ( >=dev-libs/ibpp-2.5.3.1 )
+ gtk? (
+ >=x11-libs/gtk+-2.10.14
+ svg? ( >=gnome-base/librsvg-2.16.1-r2 )
+ )
+ mysql? ( >=virtual/mysql-5.0 )
+ odbc? ( >=dev-db/unixODBC-2.2.12 )
+ opengl? ( >=media-libs/mesa-7.0.2 )
+ pcre? ( >=dev-libs/libpcre-7.6-r1 )
+ pdf? ( >=app-text/poppler-0.12.3-r3 )
+ postgres? ( >=dev-db/postgresql-base-8.2 )
+ sdl? (
+ >=media-libs/sdl-image-1.2.6-r1
+ >=media-libs/sdl-mixer-1.2.7
+ )
+ smtp? ( >=dev-libs/glib-2.16.2 )
+ sqlite? ( =dev-db/sqlite-2* )
+ sqlite3? ( >=dev-db/sqlite-3.5.6 )
+ v4l? (
+ >=media-libs/libpng-1.2.26
+ >=media-libs/jpeg-6b-r8
+ )
+ xml? (
+ >=dev-libs/libxml2-2.6.31
+ >=dev-libs/libxslt-1.1.22
+ )
+ zlib? ( >=sys-libs/zlib-1.2.3-r1 )
+ virtual/libffi
+"
+DEPEND="${COMMON_DEPEND}
+ dev-util/pkgconfig
+"
+RDEPEND="${COMMON_DEPEND}"
+
+
+S=${WORKDIR}/${MY_P}
+
+
+pkg_setup() {
+ # ImageProvider implementers, see .component files for more info
+ if ! { use gtk || use sdl; } ; then
+ use pdf && die "PDF support depends on Qt, GTK or SDL being enabled"
+ use v4l && die "V4L support depends on Qt, GTK or SDL being enabled"
+ fi
+
+
+ # OpenGLViewer implementers, see .component files for more info
+ if ! { use sdl; } ; then
+ use opengl && die "OpenGL support depends on SDL being enabled"
+ fi
+
+
+ if ! use gtk; then
+ use svg && die "SVG support depends on GTK being enabled"
+ fi
+}
+
+
+my_reduce_eautoreconf() {
+ sed -i -e "/^\(AC\|GB\)_CONFIG_SUBDIRS(${1}[,)]/d" \
+ configure.ac \
+ || die "my_reduce_eautoreconf: sed on configure.ac failed with ${1}"
+
+
+ sed -i -e "/^SUBDIRS/s/\ \(@${1}_dir@\|${1}\)//1" \
+ Makefile.am \
+ || die "my_reduce_eautoreconf: sed on Makefile.am failed with ${1}"
+}
+
+
+my_examine_components() {
+ local comp="gb.*/src/*.component gb.*/src/*/*.component main/lib/*/*.component comp/src/*/.component"
+
+
+ # Examine app/src/gambas2/CComponent.class for more info
+ echo
+ einfo "Checking component files ..."
+ einfo
+ elog "The following components are reported stable, but incomplete:"
+ elog "$(grep '^State=1' ${comp} | sed -e 's/.*\(gb\.[^/]*\)[/]\?\.component.*/\1/')"
+ einfo
+ ewarn "The following components are reported unstable:"
+ ewarn "$(grep '^\(State=2\|Alpha\)' ${comp} | sed -e 's/.*\(gb\.[^/]*\)[/]\?\.component.*/\1/')"
+ echo
+}
+
+
+src_prepare() {
+ if use gtk; then
+ ebegin "Applying sed no-Qt-use-GTK-workaround-patch (EXPERIMENTAL)"
+ # Gentoo-specific patch/workaround
+ sed -i -e 's/EXPORT = "gb.qt"/EXPORT = "gb.gtk"/' \
+ main/lib/gui/main.c \
+ || die "sed no-Qt-use-GTK-workaround-patch (EXPERIMENTAL)"
+ eend 0
+ fi
+
+
+ ebegin "Applying sed no-automagic-patch"
+ # Gentoo-specific patch
+ sed -i -e 's/gb_enable_\$1=yes/gb_enable_\$1=no/' \
+ acinclude.m4 \
+ || die "sed no-automagic-patch failed"
+ eend 0
+
+
+ # Gentoo-specific patches for libtool compatibility
+ #epatch "${FILESDIR}/${PN}-2.7.0-r1-remove-libltdl-from-main.patch"
+ epatch "${FILESDIR}/${PN}-2.8.0-libtool.patch"
+
+
+ # Gentoo-specific patch
+ epatch "${FILESDIR}/${PN}-2.20.0-FLAGS.patch"
+
+
+ # Replacement for Gentoo-specific gambas-2.5.0-mimetype-registration.patch
+ # submitted upstream
+ epatch "${FILESDIR}/svn-r1636-xdg-utils.patch"
+
+
+ #epatch "${FILESDIR}/${PN}-2.9.0-app_Makefile.am.patch"
+ epatch "${FILESDIR}/${PN}-2.21.0-app_Makefile.am.patch"
+ epatch "${FILESDIR}/${PN}-2.9.0-comp_Makefile.am.patch"
+ epatch "${FILESDIR}/${PN}-2.9.0-examples_Makefile.am.patch"
+ epatch "${FILESDIR}/${PN}-2.9.0-help_Makefile.am.patch"
+ epatch "${FILESDIR}/${PN}-2.9.0-main_Makefile.am.patch"
+ epatch "${FILESDIR}/${PN}-2.9.0-component.am.patch"
+
+
+ ebegin "Applying sed remove-dist_gblib_DATA-patch"
+ # Prevent repeat installation of component files
+ sed -i -e '/^dist_gblib_DATA/d' \
+ component.am \
+ main/lib/Makefile.am \
+ || die "sed remove-dist_gblib_DATA-patch failed"
+ eend 0
+
+
+ ebegin "Applying sed remove-libtool-patch"
+ # Gentoo-specific patch, may be obsoleted in the future
+ # Remove embedded libtool.m4 file
+ sed -i -e '/[-][*][-]Autoconf[-][*][-]$/,$d' \
+ acinclude.m4 \
+ || die "sed remove-libtool-patch failed"
+ eend 0
+
+
+ my_examine_components
+
+
+ ebegin "Removing provided libtool/libltdl"
+ rm config.guess config.sub install-sh ltmain.sh \
+ && rm */config.guess */config.sub */install-sh */ltmain.sh \
+ || die "removing libtool failed"
+ eend 0
+
+
+ ebegin "Reducing eautoreconf"
+ # Keep synchronized with myconf in src_compile
+ use bzip2 || my_reduce_eautoreconf bzlib2
+ use zlib || my_reduce_eautoreconf zlib
+ use mysql || my_reduce_eautoreconf mysql
+ use odbc || my_reduce_eautoreconf odbc
+ use postgres || my_reduce_eautoreconf postgresql
+ use sqlite || my_reduce_eautoreconf sqlite2
+ use sqlite3 || my_reduce_eautoreconf sqlite3
+ use firebird || my_reduce_eautoreconf firebird
+ use gtk || my_reduce_eautoreconf gtk
+ use svg || my_reduce_eautoreconf gtksvg
+ use pdf || my_reduce_eautoreconf pdf
+ #net
+ use curl || my_reduce_eautoreconf curl
+ use smtp || my_reduce_eautoreconf smtp
+ use pcre || my_reduce_eautoreconf pcre
+ use sdl || my_reduce_eautoreconf sdl
+ use sdl || my_reduce_eautoreconf sdlsound
+ use xml || my_reduce_eautoreconf xml
+ use v4l || my_reduce_eautoreconf v4l
+ #crypt
+ use opengl || my_reduce_eautoreconf opengl
+ use corba || my_reduce_eautoreconf corba
+ { use gtk || \
+ use sdl; } || my_reduce_eautoreconf image
+ # This may work in the future, but it does not work now.
+# { use qt3 || \
+# use gtk; } || my_reduce_eautoreconf desktop
+
+
+ use doc || my_reduce_eautoreconf help
+ use examples || my_reduce_eautoreconf examples
+ eend 0
+
+
+ eautoreconf || die "eautoreconf failed"
+}
+
+
+src_configure() {
+ local myconf="
+ $(use_enable bzip2 bzlib2)
+ $(use_enable zlib)
+ $(use_enable mysql)
+ $(use_enable odbc)
+ $(use_enable postgres postgresql)
+ $(use_enable sqlite sqlite2)
+ $(use_enable sqlite3)
+ $(use_enable firebird)
+ $(use_enable gtk)
+ $(use_enable svg gtksvg)
+ $(use_enable pdf)
+ --enable-net
+ $(use_enable curl)
+ $(use_enable smtp)
+ $(use_enable pcre)
+ --disable-qte
+ --disable-kde
+ $(use_enable sdl)
+ $(use_enable sdl sdlsound)
+ $(use_enable xml)
+ $(use_enable v4l)
+ --enable-crypt
+ $(use_enable opengl)
+ $(use_enable corba)
+ $( { use gtk || use sdl; } \
+ && echo '--enable-image' || echo '--disable-image')
+ "
+ # This may work in the future, but it does not work now.
+# $( { use qt3 || use gtk; } && echo '--enable-desktop' || echo '--disable-desktop')"
+
+
+ myconf="${myconf}
+ --enable-intl
+ --enable-conv
+ --enable-ffi
+ --enable-preloading
+ --disable-profiling
+ $(use_enable debug)
+ $(use_enable xml xslt)
+ "
+
+
+ # --without-xdg-utils comes from svn-r1636-xdg-utils.patch
+ econf --config-cache ${myconf} --without-xdg-utils \
+ --docdir=/usr/share/doc/${PF} --htmldir=/usr/share/doc/${PF}/html
+}
+
+
+my_dekstop_and_icon() {
+ # USAGE: <executable> <name> <category> <icon_source_file> <icon_target_dir>
+ local icon="${1}.png"
+
+
+ make_desktop_entry "${1}" "${2}" "${5}/${icon}" "${3}" \
+ || die "make_desktop_entry failed for ${1}"
+
+
+ insinto ${5}
+ newins ${4} ${icon} || die "newins failed for ${1}"
+}
+
+
+src_compile() {
+ emake LIBTOOLFLAGS="--quiet" || die "emake failed"
+}
+
+
+src_install() {
+ emake DESTDIR="${D}" LIBTOOLFLAGS="--quiet" install -j1 || die "emake install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README || die "dodoc failed"
+ newdoc gb.net/src/doc/README gb.net-README || die "newdoc failed"
+ newdoc gb.net/src/doc/changes.txt gb.net-ChangeLog || die "newdoc failed"
+ use pcre && { newdoc gb.pcre/src/README gb.pcre-README || die "newdoc failed"; }
+
+
+ if { use gtk; } ; then
+ my_dekstop_and_icon \
+ "${MY_PN}-database-manager" "Gambas Database Manager" "Development" \
+ "app/src/${MY_PN}-database-manager/img/logo/logo-128.png" \
+ "/usr/share/icons/hicolor/128x128/apps"
+
+
+ insinto /usr/share/icons/hicolor/64x64/mimetypes
+ doins app/mime/*.png main/mime/*.png || die "doins failed"
+
+
+ insinto /usr/share/mime/application
+ doins app/mime/*.xml main/mime/*.xml || die "doins failed"
+ fi
+
+
+ use doc && { dosym "/usr/share/${MY_PN}/help" "/usr/share/doc/${PF}/html" \
+ || die "dosym failed"; }
+}
+
+
+my_fdo_update() {
+ { use gtk; } && fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+}
+
+
+pkg_postinst() {
+ my_fdo_update
+}
+
+
+pkg_postrm() {
+ my_fdo_update
+}
diff --git a/media-video/handbrake/Manifest b/media-video/handbrake/Manifest
new file mode 100644
index 0000000..df890df
--- /dev/null
+++ b/media-video/handbrake/Manifest
@@ -0,0 +1,2 @@
+DIST HandBrake-0.9.4.tar.bz2 1787142 RMD160 a150730cfcb16ee197ba8ec464133e38ab17539e SHA1 91329a83315b7eae0b2b3731a8bf0f2de2a6eb4d SHA256 706b03db4e39446dc47eee2eee298d4aaa3ebd925130e8a84fdc903f231300ee
+EBUILD handbrake-0.9.4.ebuild 1379 RMD160 d2aca185b71c58202eea9f808a3259f23d87daab SHA1 b83569e64b56cee302bdfbc663450ad64f641481 SHA256 bba514e98bdbd51a7a91580b28e08008138b9d71cb9ab7f62e439b815e7f66f6
diff --git a/media-video/handbrake/handbrake-0.9.4.ebuild b/media-video/handbrake/handbrake-0.9.4.ebuild
new file mode 100644
index 0000000..5e06648
--- /dev/null
+++ b/media-video/handbrake/handbrake-0.9.4.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit gnome2-utils
+
+MY_PN="HandBrake"
+S="${WORKDIR}/${MY_PN}-${PV}"
+
+DESCRIPTION="Open-source DVD to MPEG-4 converter"
+HOMEPAGE="http://handbrake.fr/"
+SRC_URI="http://handbrake.fr/rotation.php?file=${MY_PN}-${PV}.tar.bz2
+ -> ${MY_PN}-${PV}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+# sys-apps/hal
+
+IUSE="css doc gtk"
+RDEPEND="=sys-devel/automake-1.10*
+ sys-libs/zlib
+ css? ( media-libs/libdvdcss )
+ gtk? ( >=x11-libs/gtk+-2.8
+ dev-libs/dbus-glib
+ net-libs/webkit-gtk
+ x11-libs/libnotify
+ media-libs/gstreamer
+ media-libs/gst-plugins-base
+ )"
+DEPEND="dev-lang/yasm
+ dev-lang/python
+ || ( net-misc/wget net-misc/curl )
+ ${RDEPEND}"
+
+src_configure() {
+ # Python configure script doesn't accept all econf flags
+ ./configure --force --prefix=/usr \
+ $(use_enable gtk) \
+ || die "configure failed"
+}
+
+src_compile() {
+ emake -C build || die "failed compiling ${PN}"
+}
+
+src_install() {
+ emake -C build DESTDIR="${D}" install || die "failed installing ${PN}"
+
+ if use doc; then
+ emake -C build doc
+ dodoc AUTHORS CREDITS NEWS THANKS \
+ build/doc/articles/txt/* || die "docs failed"
+ fi
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/sys-apps/usermode/Manifest b/sys-apps/usermode/Manifest
new file mode 100644
index 0000000..5d2ef76
--- /dev/null
+++ b/sys-apps/usermode/Manifest
@@ -0,0 +1,2 @@
+DIST usermode-1.106.tar.xz 282976 RMD160 14142e02d22c7012a5ed4dc99d647202639cfade SHA1 0c7b34fa7a79d705ea3373c81bea2cea599e4993 SHA256 fb3632883106e4c0ba6386fbe071dd14d06a13c2ab5d0835e3746906c173c0aa
+EBUILD usermode-1.106.ebuild 1926 RMD160 e6b88327b3d9297ea52fc99e9bb4c9f7c5b5122c SHA1 6157e10ab2ce5c3c28d0f99c07920ed9b3ed4c67 SHA256 01f48000046486afbd76cabb0b72f165a27af4913dc547182f9ade60983bbfc2
diff --git a/sys-apps/usermode/usermode-1.106.ebuild b/sys-apps/usermode/usermode-1.106.ebuild
new file mode 100644
index 0000000..0ca8b82
--- /dev/null
+++ b/sys-apps/usermode/usermode-1.106.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+inherit base flag-o-matic autotools eutils
+
+EAPI="3"
+
+DESCRIPTION="Tools for certain user account management tasks"
+HOMEPAGE="https://fedorahosted.org/usermode/"
+SRC_URI="https://fedorahosted.org/releases/u/s/${PN}/${P}.tar.xz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="debug selinux"
+RDEPEND="=dev-libs/glib-2*
+ =x11-libs/gtk+-2*
+ =gnome-base/libglade-2*
+ sys-apps/attr
+ x11-libs/libSM
+ dev-util/desktop-file-utils
+ sys-libs/system-config-base
+ >=sys-libs/pam-0.75
+ sys-apps/shadow
+ dev-perl/XML-Parser
+ sys-libs/libuser"
+DEPEND="${RDEPEND}
+ sys-devel/gettext"
+
+pkg_setup() {
+ if ! built_with_use sys-apps/shadow pam; then
+ eerror "${CATEGORY}/${PN} depends on the chfn and passwd PAM service"
+ eerror "configuration files installed by sys-apps/shadow with PAM"
+ eerror "enabled."
+ eerror "Please re-install sys-apps/shadow with the pam USE flag"
+ eerror "enabled."
+ die "sys-apps/shadow was built without PAM support."
+ fi
+}
+
+src_prepare() {
+ cd "${S}"
+
+ # Change vendor prefix of desktop file from redhat to gentoo
+ sed -i -e "s:^\(VENDOR=\).*:\1gentoo:g" Makefile.am
+
+ # Invalid categories in desktop-file-utils-0.11 (#153395)
+ sed -i \
+ -e "/AdvancedSettings/d" \
+ -e "/Application/d" \
+ -e "/X-Red-Hat-Base/d" \
+ Makefile.am
+
+ # Invalid naming of icons
+ sed -i \
+ -e "s:\.png::g" \
+ *.desktop.in
+
+ eautoreconf
+}
+
+src_configure() {
+ append-ldflags -Wl,-z,now
+
+ econf \
+ $(use_with selinux) \
+ $(use_enable debug) \
+ || die "econf failed"
+}
+
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ # This needs to be suid, it's the main interface with suid-requiring stuff
+ fperms 4711 /usr/sbin/userhelper
+
+ # Don't install a shutdown executable, it will be preferred over /sbin/
+ rm "${D}"/usr/bin/shutdown
+}
+
diff --git a/sys-libs/libuser/Manifest b/sys-libs/libuser/Manifest
new file mode 100644
index 0000000..82024ab
--- /dev/null
+++ b/sys-libs/libuser/Manifest
@@ -0,0 +1,2 @@
+DIST libuser-0.56.18.tar.xz 683024 RMD160 ae1cf74c4ab0a54309ad24f4b2f58a8938f85cd7 SHA1 3cdeacea575dbfc80b86fe838dd5639606df123b SHA256 fc23d744f6853c213adb619cfb5b22c49a9ea8a5a75a1e4121f71b28cffa3a74
+EBUILD libuser-0.56.18.ebuild 850 RMD160 8e2205f3fa2f95f368124f31f6b6b44262b6ae15 SHA1 0dbf98726d004447a78a5cd6f109fa9dae84ed19 SHA256 50f5c4c4bce1b16581a17dcae188e586656b69d5240bc9048b21c561b2a6d384
diff --git a/sys-libs/libuser/libuser-0.56.18.ebuild b/sys-libs/libuser/libuser-0.56.18.ebuild
new file mode 100644
index 0000000..4468b3b
--- /dev/null
+++ b/sys-libs/libuser/libuser-0.56.18.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="3"
+inherit base eutils
+
+DESCRIPTION="The libuser library implements a standardized interface for manipulating and administering user and group accounts."
+HOMEPAGE="https://fedorahosted.org/libuser"
+SRC_URI="https://fedorahosted.org/releases/l/i/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="ldap +popt sasl selinux"
+COMMON_DEPEND="dev-libs/glib:2
+ ldap? ( net-nds/openldap )
+ popt? ( dev-libs/popt )
+ sasl? ( dev-libs/cyrus-sasl )
+ selinux? ( sys-libs/libselinux )"
+DEPEND="app-text/linuxdoc-tools
+ sys-devel/bison
+ sys-devel/gettext
+ ${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+
+src_configure() {
+ cd "${S}"
+ econf $(use_with ldap) $(use_with popt) $(use_with sasl) \
+ $(use_with selinux) --with-python
+}