Gentoo Archives: gentoo-commits

From: "Gilles Dartiguelongue (eva)" <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-extra/libgsf: ChangeLog libgsf-1.14.15.ebuild
Date: Mon, 29 Jun 2009 22:55:56
Message-Id: E1MLPlS-00019E-Nl@stork.gentoo.org
1 eva 09/06/29 22:55:54
2
3 Modified: ChangeLog
4 Added: libgsf-1.14.15.ebuild
5 Log:
6 Version bump. Bump ODF version to 1.1. Fix OLE parsing.
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.139 gnome-extra/libgsf/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/libgsf/ChangeLog?rev=1.139&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/libgsf/ChangeLog?rev=1.139&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/libgsf/ChangeLog?r1=1.138&r2=1.139
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/ChangeLog,v
19 retrieving revision 1.138
20 retrieving revision 1.139
21 diff -u -r1.138 -r1.139
22 --- ChangeLog 11 Jun 2009 21:46:00 -0000 1.138
23 +++ ChangeLog 29 Jun 2009 22:55:54 -0000 1.139
24 @@ -1,6 +1,12 @@
25 # ChangeLog for gnome-extra/libgsf
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/ChangeLog,v 1.138 2009/06/11 21:46:00 eva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/ChangeLog,v 1.139 2009/06/29 22:55:54 eva Exp $
29 +
30 +*libgsf-1.14.15 (30 Jun 2009)
31 +
32 + 30 Jun 2009; Gilles Dartiguelongue <eva@g.o>
33 + +libgsf-1.14.15.ebuild:
34 + Version bump. Bump ODF version to 1.1. Fix OLE parsing.
35
36 *libgsf-1.14.14 (11 Jun 2009)
37
38
39
40
41 1.1 gnome-extra/libgsf/libgsf-1.14.15.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.15.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.15.ebuild?rev=1.1&content-type=text/plain
45
46 Index: libgsf-1.14.15.ebuild
47 ===================================================================
48 # Copyright 1999-2009 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.15.ebuild,v 1.1 2009/06/29 22:55:54 eva Exp $
51
52 inherit eutils gnome2 python multilib
53
54 DESCRIPTION="The GNOME Structured File Library"
55 HOMEPAGE="http://www.gnome.org/"
56
57 LICENSE="GPL-2 LGPL-2.1"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
60 IUSE="bzip2 doc gnome python"
61
62 RDEPEND="
63 >=dev-libs/glib-2.16
64 >=dev-libs/libxml2-2.4.16
65 gnome? ( >=gnome-base/gconf-2
66 >=gnome-base/libbonobo-2
67 >=gnome-base/gnome-vfs-2.2 )
68 sys-libs/zlib
69 bzip2? ( app-arch/bzip2 )
70 python? ( dev-lang/python
71 >=dev-python/pygobject-2.10
72 >=dev-python/pygtk-2.10 )"
73
74 DEPEND="${RDEPEND}
75 dev-util/pkgconfig
76 >=dev-util/intltool-0.35.0
77 doc? ( >=dev-util/gtk-doc-1 )"
78
79 PDEPEND="gnome? ( media-gfx/imagemagick )"
80
81 DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO"
82
83 pkg_setup() {
84 G2CONF="${G2CONF}
85 --with-gio
86 --disable-static
87 $(use_with bzip2 bz2)
88 $(use_with gnome gnome-vfs)
89 $(use_with gnome bonobo)
90 $(use_with python)"
91 }
92
93 src_unpack() {
94 gnome2_src_unpack
95
96 # disable pyc compiling
97 mv py-compile py-compile.orig
98 ln -s $(type -P true) py-compile
99 }
100
101 pkg_preinst() {
102 gnome2_pkg_preinst
103 preserve_old_lib /usr/$(get_libdir)/libgsf-1.so.1
104 preserve_old_lib /usr/$(get_libdir)/libgsf-gnome-1.so.1
105 preserve_old_lib /usr/$(get_libdir)/libgsf-1.so.113
106 preserve_old_lib /usr/$(get_libdir)/libgsf-gnome-1.so.113
107 }
108
109 pkg_postinst() {
110 gnome2_pkg_postinst
111 if use python; then
112 python_need_rebuild
113 python_mod_optimize $(python_get_sitedir)/gsf
114 fi
115
116 preserve_old_lib_notify /usr/$(get_libdir)/libgsf-1.so.1
117 preserve_old_lib_notify /usr/$(get_libdir)/libgsf-gnome-1.so.1
118 preserve_old_lib_notify /usr/$(get_libdir)/libgsf-1.so.113
119 preserve_old_lib_notify /usr/$(get_libdir)/libgsf-gnome-1.so.113
120 }
121
122 pkg_postrm() {
123 gnome2_pkg_postrm
124 python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/gsf
125 }