1 |
fauli 09/10/29 10:56:02 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gramps-3.1.2-r1.ebuild |
5 |
Log: |
6 |
use dev-python/bsddb3 instead of internal berkdb of Python, because the latter is deprecated, see bug 286496, patch by flameeyes; ported ebuild really to EAPI 2 |
7 |
(Portage version: 2.1.6.13/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.111 app-misc/gramps/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/gramps/ChangeLog?rev=1.111&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/gramps/ChangeLog?rev=1.111&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/gramps/ChangeLog?r1=1.110&r2=1.111 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v |
19 |
retrieving revision 1.110 |
20 |
retrieving revision 1.111 |
21 |
diff -u -r1.110 -r1.111 |
22 |
--- ChangeLog 7 Oct 2009 14:45:38 -0000 1.110 |
23 |
+++ ChangeLog 29 Oct 2009 10:56:01 -0000 1.111 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for app-misc/gramps |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.110 2009/10/07 14:45:38 volkmar Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/ChangeLog,v 1.111 2009/10/29 10:56:01 fauli Exp $ |
29 |
+ |
30 |
+*gramps-3.1.2-r1 (29 Oct 2009) |
31 |
+ |
32 |
+ 29 Oct 2009; Christian Faulhammer <fauli@g.o> |
33 |
+ +gramps-3.1.2-r1.ebuild, +files/gramps-3.1.2-use_bsddb3.patch: |
34 |
+ use dev-python/bsddb3 instead of internal berkdb of Python, because the |
35 |
+ latter is deprecated, see bug 286496, patch by flameeyes; ported ebuild |
36 |
+ really to EAPI 2 |
37 |
|
38 |
07 Oct 2009; Mounir Lamouri <volkmar@g.o> gramps-3.1.1-r1.ebuild, |
39 |
gramps-3.1.2.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 app-misc/gramps/gramps-3.1.2-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/gramps/gramps-3.1.2-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-misc/gramps/gramps-3.1.2-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: gramps-3.1.2-r1.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2009 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/app-misc/gramps/gramps-3.1.2-r1.ebuild,v 1.1 2009/10/29 10:56:01 fauli Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
|
56 |
inherit autotools eutils gnome2 python |
57 |
|
58 |
DESCRIPTION="Genealogical Research and Analysis Management Programming System" |
59 |
HOMEPAGE="http://www.gramps-project.org/" |
60 |
SRC_URI="mirror://sourceforge/gramps/${P}.tar.gz" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
65 |
IUSE="gnome mozembed reports spell webkit" |
66 |
|
67 |
RDEPEND=">=dev-lang/python-2.5 |
68 |
dev-python/bsddb3 |
69 |
>=dev-python/pygtk-2.10.0 |
70 |
x11-misc/xdg-utils |
71 |
gnome-base/librsvg:2 |
72 |
gnome? ( dev-python/libgnome-python |
73 |
dev-python/gconf-python ) |
74 |
mozembed? ( dev-python/gtkmozembed-python ) |
75 |
spell? ( dev-python/gtkspell-python |
76 |
dev-python/pyenchant ) |
77 |
reports? ( media-gfx/graphviz ) |
78 |
webkit? ( dev-python/pywebkitgtk )" |
79 |
DEPEND="${RDEPEND} |
80 |
sys-devel/gettext |
81 |
virtual/libiconv |
82 |
dev-util/pkgconfig" |
83 |
|
84 |
DOCS="NEWS README TODO" |
85 |
|
86 |
pkg_setup() { |
87 |
G2CONF="${G2CONF} --disable-mime-install" |
88 |
} |
89 |
|
90 |
src_prepare() { |
91 |
gnome2_src_prepare |
92 |
eautoreconf |
93 |
|
94 |
epatch "${FILESDIR}"/${P}-use_bsddb3.patch |
95 |
# This is for bug 215944, so .pyo/.pyc files don't get into the |
96 |
# file system |
97 |
mv "${S}"/py-compile "${S}"/py-compile.orig |
98 |
ln -s $(type -P true) "${S}"/py-compile |
99 |
|
100 |
python_version |
101 |
|
102 |
# Fix install path. |
103 |
einfo "Fix installation path" |
104 |
find . -iname 'Makefile.in' | xargs \ |
105 |
sed "s;\(pkgdatadir = \)\(\$(datadir)\);\1$(python_get_sitedir);" -i \ |
106 |
|| die |
107 |
|
108 |
sed "s;\$(prefix)/share/gramps;/$(python_get_sitedir)/@PACKAGE@;" \ |
109 |
-i src/Makefile.in || die |
110 |
|
111 |
sed "s;\$(prefix)/share/gramps;/$(python_get_sitedir)/@PACKAGE@;" \ |
112 |
-i src/docgen/Makefile.in || die |
113 |
|
114 |
einfo "Fix wrapper script" |
115 |
sed "s;@datadir@;$(python_get_sitedir);" \ |
116 |
-i gramps.sh.in || die |
117 |
|
118 |
einfo "Fix icon location" |
119 |
sed "s;gramps/;pixmap/;g" -i data/gramps.keys.in || die |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
python_need_rebuild |
124 |
gnome2_src_install |
125 |
} |
126 |
|
127 |
pkg_postinst() { |
128 |
gnome2_pkg_postinst |
129 |
python_version |
130 |
python_mod_optimize $(python_get_sitedir)/${PN} |
131 |
} |
132 |
|
133 |
pkg_postrm() { |
134 |
gnome2_pkg_postrm |
135 |
python_version |
136 |
python_mod_cleanup $(python_get_sitedir)/${PN} |
137 |
} |