From 75f88bfae508eeb8ceb990cbc26b9173d78d35a5 Mon Sep 17 00:00:00 2001 From: Daniel Gryniewicz Date: Thu, 7 Sep 2006 03:34:28 +0000 Subject: [PATCH] gnome 2.16 Package-Manager: portage-2.1.1_rc1-r2 --- .../pessulus/files/digest-pessulus-2.16.0 | 3 + app-admin/pessulus/pessulus-2.16.0.ebuild | 34 ++++++++ app-admin/sabayon/ChangeLog | 10 +++ app-admin/sabayon/Manifest | 16 ++++ app-admin/sabayon/files/digest-sabayon-2.12.4 | 3 + .../files/sabayon-2.12.4-multilib.patch | 65 +++++++++++++++ app-admin/sabayon/sabayon-2.12.4.ebuild | 80 +++++++++++++++++++ 7 files changed, 211 insertions(+) create mode 100644 app-admin/pessulus/files/digest-pessulus-2.16.0 create mode 100644 app-admin/pessulus/pessulus-2.16.0.ebuild create mode 100644 app-admin/sabayon/ChangeLog create mode 100644 app-admin/sabayon/Manifest create mode 100644 app-admin/sabayon/files/digest-sabayon-2.12.4 create mode 100644 app-admin/sabayon/files/sabayon-2.12.4-multilib.patch create mode 100644 app-admin/sabayon/sabayon-2.12.4.ebuild diff --git a/app-admin/pessulus/files/digest-pessulus-2.16.0 b/app-admin/pessulus/files/digest-pessulus-2.16.0 new file mode 100644 index 000000000000..d7aac408d9bb --- /dev/null +++ b/app-admin/pessulus/files/digest-pessulus-2.16.0 @@ -0,0 +1,3 @@ +MD5 a87d325aafc4377d1749575bd6e9b44d pessulus-2.16.0.tar.bz2 144909 +RMD160 e064eaabd5715e9dcd3d655494267dfcdb0adec7 pessulus-2.16.0.tar.bz2 144909 +SHA256 d1c263eac60f5fa5803ed510cad359b1b27fbce18ca75bd891e2d16fd8da047d pessulus-2.16.0.tar.bz2 144909 diff --git a/app-admin/pessulus/pessulus-2.16.0.ebuild b/app-admin/pessulus/pessulus-2.16.0.ebuild new file mode 100644 index 000000000000..b120f1098706 --- /dev/null +++ b/app-admin/pessulus/pessulus-2.16.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/pessulus/pessulus-2.16.0.ebuild,v 1.1 2006/09/07 03:34:28 dang Exp $ + +inherit gnome2 python + +DESCRIPTION="lockdown editor for GNOME" +HOMEPAGE="http://live.gnome.org/Pessulus" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="doc" + +RDEPEND=">=dev-python/pygtk-2.6.0 + >=dev-python/gnome-python-2.6.0 + >=gnome-base/gconf-2" + +DEPEND="${RDEPEND} + >=dev-util/pkgconfig-0.9 + >=dev-util/intltool-0.35 + doc? ( >=dev-util/gtk-doc-1 )" + +DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README TODO" + +pkg_postinst() { + python_version + python_mod_optimize ${ROOT}/usr/$(get_libdir)/python${PYVER}/site-packages/Pessulus +} + +pkg_postrm() { + python_version + python_mod_cleanup +} diff --git a/app-admin/sabayon/ChangeLog b/app-admin/sabayon/ChangeLog new file mode 100644 index 000000000000..262734e3ece4 --- /dev/null +++ b/app-admin/sabayon/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-admin/sabayon +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/ChangeLog,v 1.1 2006/09/07 03:31:40 dang Exp $ + +*sabayon-2.12.4 (07 Sep 2006) + + 07 Sep 2006; Daniel Gryniewicz + +files/sabayon-2.12.4-multilib.patch, +sabayon-2.12.4.ebuild: + New package in 2.16 + diff --git a/app-admin/sabayon/Manifest b/app-admin/sabayon/Manifest new file mode 100644 index 000000000000..9876081e76fe --- /dev/null +++ b/app-admin/sabayon/Manifest @@ -0,0 +1,16 @@ +AUX sabayon-2.12.4-multilib.patch 2913 RMD160 db56ed04f2111151db7e39ff6675178583090e1b SHA1 148e170f96dddce796571c6c9e186c6596dbc5bb SHA256 150c1de668c45a45dfabffb321161c6ed106864a726698801123870d9793b865 +MD5 d2bc9b1dbd3f781ccb00bfffbd643e32 files/sabayon-2.12.4-multilib.patch 2913 +RMD160 db56ed04f2111151db7e39ff6675178583090e1b files/sabayon-2.12.4-multilib.patch 2913 +SHA256 150c1de668c45a45dfabffb321161c6ed106864a726698801123870d9793b865 files/sabayon-2.12.4-multilib.patch 2913 +DIST sabayon-2.12.4.tar.bz2 573054 RMD160 f077a92e430eccdc012b882370dd551dd429c957 SHA1 59d165b874ed3d12422b2bedad2b553a3fe48412 SHA256 4a431cc6b5c28d83419e0457f91db7eae233ff929f46d0bee6a0a55a01b60c7f +EBUILD sabayon-2.12.4.ebuild 2650 RMD160 4bbcbc7de194214d8161571f3eb7ed38a27b0416 SHA1 bc2133ec98b40a05ce75e7e02e94b1b9c0541525 SHA256 c6788c70f415b81796c0b7c999c5ed2bc5c43c104c8f6971464eb76a50522611 +MD5 d344be9d36209d9419d3422a6efe9a25 sabayon-2.12.4.ebuild 2650 +RMD160 4bbcbc7de194214d8161571f3eb7ed38a27b0416 sabayon-2.12.4.ebuild 2650 +SHA256 c6788c70f415b81796c0b7c999c5ed2bc5c43c104c8f6971464eb76a50522611 sabayon-2.12.4.ebuild 2650 +MISC ChangeLog 287 RMD160 03ec1b2071d3f07ed491e4eccca0ff74b3f4ee80 SHA1 5a974282b917f70ca72d1e930b62d70d339f2006 SHA256 d64710c132cb337c68359c2685a33081e4df27ad352e29d47c5ff2dcb6287a1a +MD5 7d4e30e00ab72235164c2b5ef12d2427 ChangeLog 287 +RMD160 03ec1b2071d3f07ed491e4eccca0ff74b3f4ee80 ChangeLog 287 +SHA256 d64710c132cb337c68359c2685a33081e4df27ad352e29d47c5ff2dcb6287a1a ChangeLog 287 +MD5 73d028efa55ef1ab8f11a6019a462115 files/digest-sabayon-2.12.4 247 +RMD160 55a7a0269d85c661a360f4486c5dd1138a455373 files/digest-sabayon-2.12.4 247 +SHA256 c9075e7c4fc20640d8832096a683112ff70c541261fae063aff65dfa3054e6d8 files/digest-sabayon-2.12.4 247 diff --git a/app-admin/sabayon/files/digest-sabayon-2.12.4 b/app-admin/sabayon/files/digest-sabayon-2.12.4 new file mode 100644 index 000000000000..a6a358a137c4 --- /dev/null +++ b/app-admin/sabayon/files/digest-sabayon-2.12.4 @@ -0,0 +1,3 @@ +MD5 2d7234d88f14c398deff050af609aab5 sabayon-2.12.4.tar.bz2 573054 +RMD160 f077a92e430eccdc012b882370dd551dd429c957 sabayon-2.12.4.tar.bz2 573054 +SHA256 4a431cc6b5c28d83419e0457f91db7eae233ff929f46d0bee6a0a55a01b60c7f sabayon-2.12.4.tar.bz2 573054 diff --git a/app-admin/sabayon/files/sabayon-2.12.4-multilib.patch b/app-admin/sabayon/files/sabayon-2.12.4-multilib.patch new file mode 100644 index 000000000000..090385a51b9b --- /dev/null +++ b/app-admin/sabayon/files/sabayon-2.12.4-multilib.patch @@ -0,0 +1,65 @@ +diff --exclude-from=/home/dang/.diffrc -u -ruN sabayon-2.12.4.orig/lib/Makefile.in sabayon-2.12.4/lib/Makefile.in +--- sabayon-2.12.4.orig/lib/Makefile.in 2006-06-22 11:12:08.000000000 -0400 ++++ sabayon-2.12.4/lib/Makefile.in 2006-08-08 17:41:10.000000000 -0400 +@@ -53,7 +53,7 @@ + *) f=$$p;; \ + esac; + am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; +-am__installdirs = "$(DESTDIR)$(sabayondir)" "$(DESTDIR)$(sabayondir)" ++am__installdirs = "$(DESTDIR)$(sabayondir)" "$(DESTDIR)$(sabayonexecdir)" + sabayonLTLIBRARIES_INSTALL = $(INSTALL) + LTLIBRARIES = $(sabayon_LTLIBRARIES) + am__DEPENDENCIES_1 = +@@ -296,6 +296,7 @@ + config.py.in + + sabayondir = $(pythondir)/sabayon ++sabayonexecdir = $(pyexecdir)/sabayon + sabayon_PYTHON = $(PYTHON_FILES) + DISTCLEANFILES = config.py + BUILT_SOURCES = config.py +@@ -335,12 +336,12 @@ + cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh + install-sabayonLTLIBRARIES: $(sabayon_LTLIBRARIES) + @$(NORMAL_INSTALL) +- test -z "$(sabayondir)" || $(mkdir_p) "$(DESTDIR)$(sabayondir)" ++ test -z "$(sabayonexecdir)" || $(mkdir_p) "$(DESTDIR)$(sabayonexecdir)" + @list='$(sabayon_LTLIBRARIES)'; for p in $$list; do \ + if test -f $$p; then \ + f=$(am__strip_dir) \ +- echo " $(LIBTOOL) --mode=install $(sabayonLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(sabayondir)/$$f'"; \ +- $(LIBTOOL) --mode=install $(sabayonLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(sabayondir)/$$f"; \ ++ echo " $(LIBTOOL) --mode=install $(sabayonLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) '$$p' '$(DESTDIR)$(sabayonexecdir)/$$f'"; \ ++ $(LIBTOOL) --mode=install $(sabayonLTLIBRARIES_INSTALL) $(INSTALL_STRIP_FLAG) "$$p" "$(DESTDIR)$(sabayonexecdir)/$$f"; \ + else :; fi; \ + done + +@@ -348,8 +349,8 @@ + @$(NORMAL_UNINSTALL) + @set -x; list='$(sabayon_LTLIBRARIES)'; for p in $$list; do \ + p=$(am__strip_dir) \ +- echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(sabayondir)/$$p'"; \ +- $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(sabayondir)/$$p"; \ ++ echo " $(LIBTOOL) --mode=uninstall rm -f '$(DESTDIR)$(sabayonexecdir)/$$p'"; \ ++ $(LIBTOOL) --mode=uninstall rm -f "$(DESTDIR)$(sabayonexecdir)/$$p"; \ + done + + clean-sabayonLTLIBRARIES: +@@ -361,7 +362,7 @@ + rm -f "$${dir}/so_locations"; \ + done + xlib.la: $(xlib_la_OBJECTS) $(xlib_la_DEPENDENCIES) +- $(LINK) -rpath $(sabayondir) $(xlib_la_LDFLAGS) $(xlib_la_OBJECTS) $(xlib_la_LIBADD) $(LIBS) ++ $(LINK) -rpath $(sabayonexecdir) $(xlib_la_LDFLAGS) $(xlib_la_OBJECTS) $(xlib_la_LIBADD) $(LIBS) + + mostlyclean-compile: + -rm -f *.$(OBJEXT) +@@ -610,7 +611,7 @@ + all-am: Makefile $(LTLIBRARIES) + installdirs: installdirs-recursive + installdirs-am: +- for dir in "$(DESTDIR)$(sabayondir)" "$(DESTDIR)$(sabayondir)"; do \ ++ for dir in "$(DESTDIR)$(sabayondir)" "$(DESTDIR)$(sabayonexecdir)"; do \ + test -z "$$dir" || $(mkdir_p) "$$dir"; \ + done + install: $(BUILT_SOURCES) diff --git a/app-admin/sabayon/sabayon-2.12.4.ebuild b/app-admin/sabayon/sabayon-2.12.4.ebuild new file mode 100644 index 000000000000..9267c3a9f14b --- /dev/null +++ b/app-admin/sabayon/sabayon-2.12.4.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/sabayon/sabayon-2.12.4.ebuild,v 1.1 2006/09/07 03:31:40 dang Exp $ + +inherit gnome2 eutils python multilib + +DESCRIPTION="Tool to maintain user profiles in a GNOME desktop" +HOMEPAGE="http://www.gnome.org/projects/sabayon/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +# Unfortunately the configure.ac is wildly insufficient, so dependencies have +# to be got from the RPM .spec file... +DEPEND="dev-lang/python + >=x11-libs/gtk+-2.6.0 + >=dev-python/pygtk-2.5.3 + x11-libs/pango + dev-python/python-ldap + x11-base/xorg-server" +RDEPEND="${DEPEND} + virtual/pam + app-admin/gamin + dev-libs/libxml2 + >=gnome-base/gconf-2.8.1 + >=dev-python/gnome-python-2.6.0" + +pkg_setup() { + if built_with_use x11-base/xorg-server minimal; then + eerror "${PN} needs Xnest, which the minimal USE flag disables." + eerror "Please re-emerge x11-base/xorg-xserver with USE=-minimal" + die "need x11-base/xorg-xserver built without minimal USE flag" + fi + if ! built_with_use dev-libs/libxml2 python; then + eerror "${PN} needs the python bindings to libxml2." + eerror "Please re-emerge dev-libs/libxml2 with USE=python" + die "need dev-libs/libxml2 built with python USE flag" + fi + # dang: I don't think this should happen... Python is a system dep + if ! python_mod_exists gamin; then + # app-admin/gamin (0.1.7, at least) lacks "python" USE flag even though + # it builds python bindings. That's not good, hackers. That's not good. + eerror "${PN} needs the python bindings to gamin. Please re-emerge" + eerror "app-admin/gamin, and ensure the python bindings are built." + die "need python bindings to app-admin/gamin" + fi + + G2CONF="--with-distro=gentoo \ + --with-prototype-user=${PN}-admin \ + --enable-console-helper=no \ + --with-pam-prefix=/lib/security" + + einfo "Adding user '${PN}-admin' as the prototype user" + # I think /var/lib/sabayon is the correct directory to use here. + enewgroup ${PN}-admin + enewuser ${PN}-admin -1 -1 "/var/lib/sabayon" "${PN}-admin" + # Should we delete the user/group on unmerge? + + DOCS="AUTHORS ChangeLog ISSUES NEWS README TODO" + USE_DESTDIR="1" +} + +src_unpack() { + gnome2_src_unpack + + # Fix multilib borkage + epatch ${FILESDIR}/${P}-multilib.patch +} + +pkg_postinst() { + # unfortunately /etc/gconf is CONFIG_PROTECT_MASK'd + einfo "To apply Sabayon defaults and mandatory settings to all users, put" + einfo ' include "$(HOME)/.gconf.path.mandatory"' + einfo "in /etc/gconf/2/local-mandatory.path and put" + einfo ' include "$(HOME)/.gconf.path.defaults"' + einfo "in /etc/gconf/2/local-defaults.path." + einfo "You can safely create these files if they do not already exist." +} -- 2.26.2