summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2010-01-13 21:58:24 +0000
committerChristian Faulhammer <fauli@gentoo.org>2010-01-13 21:58:24 +0000
commit8edb01282d7fa885ec58259eef94687d808d958d (patch)
treeb23531d4a21c52bed746817f3118f44f7e4e03d9 /app-misc/gramps
parentversion bump (diff)
downloadhistorical-8edb01282d7fa885ec58259eef94687d808d958d.tar.gz
historical-8edb01282d7fa885ec58259eef94687d808d958d.tar.bz2
historical-8edb01282d7fa885ec58259eef94687d808d958d.zip
install mo files, as reported by Sven Wehner <sven AT atelophobia DOT de> on bug 300293
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'app-misc/gramps')
-rw-r--r--app-misc/gramps/ChangeLog11
-rw-r--r--app-misc/gramps/Manifest14
-rw-r--r--app-misc/gramps/files/gramps-3.1.3-fix_mo_install.patch11
-rw-r--r--app-misc/gramps/gramps-3.1.3-r1.ebuild95
4 files changed, 128 insertions, 3 deletions
diff --git a/app-misc/gramps/ChangeLog b/app-misc/gramps/ChangeLog
index ebfe559ce405..b58de0ec3d61 100644
--- a/app-misc/gramps/ChangeLog
+++ b/app-misc/gramps/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-misc/gramps
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.114 2009/12/25 00:07:00 fauli Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.115 2010/01/13 21:58:23 fauli Exp $
+
+*gramps-3.1.3-r1 (13 Jan 2010)
+
+ 13 Jan 2010; Christian Faulhammer <fauli@gentoo.org>
+ +gramps-3.1.3-r1.ebuild, +files/gramps-3.1.3-fix_mo_install.patch:
+ install mo files, as reported by Sven Wehner <sven AT atelophobia DOT de>
+ on bug 300293
25 Dec 2009; Christian Faulhammer <fauli@gentoo.org>
-gramps-3.1.1-r1.ebuild, -gramps-3.1.2.ebuild:
diff --git a/app-misc/gramps/Manifest b/app-misc/gramps/Manifest
index 7e9c3e38d295..b73b083faf7f 100644
--- a/app-misc/gramps/Manifest
+++ b/app-misc/gramps/Manifest
@@ -1,9 +1,21 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX gramps-3.1.2-use_bsddb3.patch 2042 RMD160 28b4068768b3837b276457acd5fde417edcef76b SHA1 f329982e9b286e053130715d4f384a6b0b4a6772 SHA256 f70d07ac75b2807032221d86f1f1ca592e90eb6f0968289ecf3a996ef6b85b98
+AUX gramps-3.1.3-fix_mo_install.patch 1089 RMD160 064c23f70302269f5a8923fec61e6cfa52fb576f SHA1 6b4c76d2519dd75eac5433fea2d992512d76ce4f SHA256 6229731ed220a2a0cbdcc6dd03e55e9404b2505f0a31d4d7fdcb94cc7d93e018
DIST gramps-3.1.1.tar.gz 6794185 RMD160 56cd774a5145a629d136988d76b9571113729b42 SHA1 1cfd0ffcec6507a0cb2ec4a703b7e8253ca38871 SHA256 cbd6b657dc3e1f79008b14cfa117862b0211f7418114de1d528df2818e5ee8bd
DIST gramps-3.1.2.tar.gz 7298882 RMD160 a4b4869b72db4672793522152210094b4178a761 SHA1 0f44bb1da675122013b2a362297f2830e86b8a6a SHA256 8a61d443074313186023f90d54bf61d6b6eba66463def42b2b17ee07fefddef5
DIST gramps-3.1.3.tar.gz 7136101 RMD160 98f63d652b96daf932021c8d3c66161e4362d0a6 SHA1 4798d433eaaf1680d539350c631ad6d50a0bbffb SHA256 222904836d7e947dd42c89ad32161c139e1c01a5ce069b42ded193dad3cf26cc
EBUILD gramps-3.1.1.ebuild 2126 RMD160 710a1195806d476e2aacd3b11ca45a9a82e1586f SHA1 4d91abd036c4d78d2889d188ca7813809dbc3db1 SHA256 70cec2a9e6513fa72a582f877b0171c1e9a807dd28ac49de51079b22badd4064
EBUILD gramps-3.1.2-r1.ebuild 2173 RMD160 38c89db9c0dbb68e28ebe413e056f5be0e583f79 SHA1 c8ff177b761b5938ad6783eddfc550cb76cc6818 SHA256 db8d5af99f5e9c45cbc4fb24dd3e249ea5d36d645fab7be1633b5f48f359d286
+EBUILD gramps-3.1.3-r1.ebuild 2356 RMD160 787c34dd04c1fd9eab1ba6eefeb8edd2dd2d57d4 SHA1 76553b46d7e14e134b3f97ebb6c6ecb8f6185a05 SHA256 24d5e4d1ccfe6a171c374a9c6854a356dbf6e07f566716c2aca3712c128cffff
EBUILD gramps-3.1.3.ebuild 2177 RMD160 a530fa1effadd1c12f9674bf0b97092347dce330 SHA1 50a9bfa974bdd5bd98c73ee57253183410e6b46f SHA256 f67745aa1aaad44e4c6799da669b3a99174d01b4917f4ebf5a60da41399c0c09
-MISC ChangeLog 16357 RMD160 3107d654693287f32879b730c4971a8c83055a20 SHA1 4b7bcfe6a5dc6b2ec5e4082fbc5ca6778eb994fa SHA256 595f06b4d73dd847c2a4e4e8756c34ca5c3530d3d0d7d1f04ea4d3134ab1df6a
+MISC ChangeLog 16606 RMD160 b0a6203c484fa0bf2a40c789ee5dc6ef16bfd975 SHA1 be6bd60a16b9240554abf8c72976e6868442f4d1 SHA256 2baec34cd258e84d7e221702d52e9201b19e8b8d71c93bc46e401fc523c9bcd1
MISC metadata.xml 5391 RMD160 6b000acb76bc6562c214c0078c58874f72cf839a SHA1 4a32ff9f7ca6549f951445dfa6309aea5b5d031c SHA256 bf3d518f68f9f0c58915b821f767d9d407390f0f971a8d0dfdd6f64cad5c74c5
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAktOQgUACgkQNQqtfCuFneMjTwCfU0H4V/fAcMFCFyeb6Wy1Vs+u
+hVUAnRY3TFZ7RQfuFjOJ+fPHaFLPBjyN
+=TvOH
+-----END PGP SIGNATURE-----
diff --git a/app-misc/gramps/files/gramps-3.1.3-fix_mo_install.patch b/app-misc/gramps/files/gramps-3.1.3-fix_mo_install.patch
new file mode 100644
index 000000000000..3b7978b633fc
--- /dev/null
+++ b/app-misc/gramps/files/gramps-3.1.3-fix_mo_install.patch
@@ -0,0 +1,11 @@
+--- po/Makefile.in.in-orig 2010-01-13 22:50:46.471767466 +0100
++++ po/Makefile.in.in 2010-01-13 22:51:10.263766542 +0100
+@@ -56,7 +56,7 @@
+
+ PO_LINGUAS=$(shell if test -r $(srcdir)/LINGUAS; then grep -v "^\#" $(srcdir)/LINGUAS; else echo "$(ALL_LINGUAS)"; fi)
+
+-USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep '^$$lang$$' $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep '^$$lang$$'`"; then printf "$$lang "; fi; done; fi)
++USER_LINGUAS=$(shell if test -n "$(LINGUAS)"; then LLINGUAS="$(LINGUAS)"; ALINGUAS="$(ALL_LINGUAS)"; for lang in $$LLINGUAS; do if test -n "`grep ^$$lang$$ $(srcdir)/LINGUAS 2>/dev/null`" -o -n "`echo $$ALINGUAS|tr ' ' '\n'|grep ^$$lang$$`"; then printf "$$lang "; fi; done; fi)
+
+ USE_LINGUAS=$(shell if test -n "$(USER_LINGUAS)" -o -n "$(LINGUAS)"; then LLINGUAS="$(USER_LINGUAS)"; else if test -n "$(PO_LINGUAS)"; then LLINGUAS="$(PO_LINGUAS)"; else LLINGUAS="$(ALL_LINGUAS)"; fi; fi; for lang in $$LLINGUAS; do printf "$$lang "; done)
+
diff --git a/app-misc/gramps/gramps-3.1.3-r1.ebuild b/app-misc/gramps/gramps-3.1.3-r1.ebuild
new file mode 100644
index 000000000000..73120feb21b4
--- /dev/null
+++ b/app-misc/gramps/gramps-3.1.3-r1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/gramps-3.1.3-r1.ebuild,v 1.1 2010/01/13 21:58:23 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 ~ppc ~sparc ~x86"
+IUSE="gnome mozembed reports spell webkit"
+
+RDEPEND=">=dev-lang/python-2.5
+ dev-python/bsddb3
+ >=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_prepare() {
+ gnome2_src_prepare
+
+ # berkdb is deprecated, see bug 286496; fixed in development
+ # branch (3.2)
+ epatch "${FILESDIR}"/${PN}-3.1.2-use_bsddb3.patch
+
+ # .mo files are not installed, see bug 300293
+ epatch "${FILESDIR}"/${P}-fix_mo_install.patch
+
+ 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}
+}