diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2009-06-03 06:44:39 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2009-06-03 06:44:39 +0000 |
commit | dddfa2bbc6bcb3b2937d38850c8d2dcb4f38cb23 (patch) | |
tree | 3dbbc90fff1af44edd34b23ebde2e81517297c7c /app-misc/gramps | |
parent | Version bump (diff) | |
download | gentoo-2-dddfa2bbc6bcb3b2937d38850c8d2dcb4f38cb23.tar.gz gentoo-2-dddfa2bbc6bcb3b2937d38850c8d2dcb4f38cb23.tar.bz2 gentoo-2-dddfa2bbc6bcb3b2937d38850c8d2dcb4f38cb23.zip |
Remove all monolithic Gnome python bindings and add the missing, backed by webkit and mozembed USE flags; dropped ppc KEYWORD
(Portage version: 2.1.6.11/cvs/Linux i686)
Diffstat (limited to 'app-misc/gramps')
-rw-r--r-- | app-misc/gramps/ChangeLog | 9 | ||||
-rw-r--r-- | app-misc/gramps/gramps-3.1.1-r1.ebuild | 85 | ||||
-rw-r--r-- | app-misc/gramps/metadata.xml | 4 |
3 files changed, 97 insertions, 1 deletions
diff --git a/app-misc/gramps/ChangeLog b/app-misc/gramps/ChangeLog index 0342d9bd161f..bb7908e8dde6 100644 --- a/app-misc/gramps/ChangeLog +++ b/app-misc/gramps/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-misc/gramps # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.104 2009/05/31 13:04:40 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.105 2009/06/03 06:44:39 fauli Exp $ + +*gramps-3.1.1-r1 (03 Jun 2009) + + 03 Jun 2009; Christian Faulhammer <fauli@gentoo.org> metadata.xml, + +gramps-3.1.1-r1.ebuild: + Remove all monolithic Gnome python bindings and add the missing, backed by + webkit and mozembed USE flags 31 May 2009; nixnut <nixnut@gentoo.org> gramps-3.1.1.ebuild: ppc stable #266452 diff --git a/app-misc/gramps/gramps-3.1.1-r1.ebuild b/app-misc/gramps/gramps-3.1.1-r1.ebuild new file mode 100644 index 000000000000..1da85fbabf76 --- /dev/null +++ b/app-misc/gramps/gramps-3.1.1-r1.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/gramps-3.1.1-r1.ebuild,v 1.1 2009/06/03 06:44:39 fauli Exp $ + +EAPI=2 + +inherit autotools eutils gnome2 python + +DESCRIPTION="Genealogical Research and Analysis Management Programming System" +HOMEPAGE="http://www.gramps-project.org/" +SRC_URI="mirror://sourceforge/gramps/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="gnome mozembed reports spell webkit" + +RDEPEND=">=dev-lang/python-2.5[berkdb] + >=dev-python/pygtk-2.10.0 + x11-misc/xdg-utils + gnome-base/librsvg:2 + gnome? ( dev-python/libgnome-python + dev-python/gconf-python ) + mozembed? ( dev-python/gtkmozembed-python ) + spell? ( dev-python/gtkspell-python + dev-python/pyenchant ) + reports? ( media-gfx/graphviz ) + webkit? ( dev-python/pywebkitgtk )" +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/libiconv + dev-util/pkgconfig" + +DOCS="NEWS README TODO" + +pkg_setup() { + G2CONF="${G2CONF} --disable-mime-install" +} + +src_unpack() { + gnome2_src_unpack + eautoreconf + # This is for bug 215944, so .pyo/.pyc files don't get into the + # file system + mv "${S}"/py-compile "${S}"/py-compile.orig + ln -s $(type -P true) "${S}"/py-compile + + python_version + + # Fix install path. + einfo "Fix installation path" + find . -iname 'Makefile.in' | xargs \ + sed "s;\(pkgdatadir = \)\(\$(datadir)\);\1$(python_get_sitedir);" -i \ + || die + + sed "s;\$(prefix)/share/gramps;/$(python_get_sitedir)/@PACKAGE@;" \ + -i src/Makefile.in || die + + sed "s;\$(prefix)/share/gramps;/$(python_get_sitedir)/@PACKAGE@;" \ + -i src/docgen/Makefile.in || die + + einfo "Fix wrapper script" + sed "s;@datadir@;$(python_get_sitedir);" \ + -i gramps.sh.in || die + + einfo "Fix icon location" + sed "s;gramps/;pixmap/;g" -i data/gramps.keys.in || die +} + +src_install() { + python_need_rebuild + gnome2_src_install +} + +pkg_postinst() { + gnome2_pkg_postinst + python_version + python_mod_optimize $(python_get_sitedir)/${PN} +} + +pkg_postrm() { + gnome2_pkg_postrm + python_version + python_mod_cleanup $(python_get_sitedir)/${PN} +} diff --git a/app-misc/gramps/metadata.xml b/app-misc/gramps/metadata.xml index b258830c15c5..82ff6023d202 100644 --- a/app-misc/gramps/metadata.xml +++ b/app-misc/gramps/metadata.xml @@ -21,7 +21,11 @@ or sequence) to assist the user in doing research, analysis and correlation with the potential of filling relationship gaps. </longdescription> <use> + <flag name='mozembed'>Use Mozilla-based rendering for geographical + data view.</flag> <flag name='reports'>All external software that is needed for graphical reports will be installed</flag> + <flag name='webkit'>Use Webkit-based rendering for geographical + data view.</flag> </use> </pkgmetadata> |