Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-extra/libgsf: libgsf-1.14.18.ebuild ChangeLog
Date: Fri, 09 Apr 2010 09:44:42
Message-Id: 20100409094438.CB4032C04A@corvid.gentoo.org
1 pacho 10/04/09 09:44:38
2
3 Modified: ChangeLog
4 Added: libgsf-1.14.18.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.7.17/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.156 gnome-extra/libgsf/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/libgsf/ChangeLog?rev=1.156&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/libgsf/ChangeLog?rev=1.156&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/libgsf/ChangeLog?r1=1.155&r2=1.156
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/ChangeLog,v
19 retrieving revision 1.155
20 retrieving revision 1.156
21 diff -u -r1.155 -r1.156
22 --- ChangeLog 31 Mar 2010 21:01:39 -0000 1.155
23 +++ ChangeLog 9 Apr 2010 09:44:38 -0000 1.156
24 @@ -1,6 +1,11 @@
25 # ChangeLog for gnome-extra/libgsf
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/ChangeLog,v 1.155 2010/03/31 21:01:39 eva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/ChangeLog,v 1.156 2010/04/09 09:44:38 pacho Exp $
29 +
30 +*libgsf-1.14.18 (09 Apr 2010)
31 +
32 + 09 Apr 2010; Pacho Ramos <pacho@g.o> +libgsf-1.14.18.ebuild:
33 + Version bump fixing zip directory record problem.
34
35 31 Mar 2010; Gilles Dartiguelongue <eva@g.o>
36 -libgsf-1.14.16.ebuild, libgsf-1.14.17.ebuild:
37
38
39
40 1.1 gnome-extra/libgsf/libgsf-1.14.18.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.18.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.18.ebuild?rev=1.1&content-type=text/plain
44
45 Index: libgsf-1.14.18.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.18.ebuild,v 1.1 2010/04/09 09:44:38 pacho Exp $
50
51 EAPI="2"
52 GCONF_DEBUG="no"
53
54 inherit autotools eutils gnome2 python multilib
55
56 DESCRIPTION="The GNOME Structured File Library"
57 HOMEPAGE="http://www.gnome.org/"
58 SRC_URI="${SRC_URI}
59 mirror://gentoo/gnome-mplayer-0.9.6-gconf-2.m4.tgz"
60
61 LICENSE="GPL-2 LGPL-2.1"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
64 IUSE="bzip2 doc gnome gtk python thumbnail"
65
66 RDEPEND="
67 >=dev-libs/glib-2.16
68 >=dev-libs/libxml2-2.4.16
69 sys-libs/zlib
70 bzip2? ( app-arch/bzip2 )
71 gnome? (
72 >=gnome-base/libbonobo-2
73 >=gnome-base/gnome-vfs-2.2 )
74 gtk? ( >=x11-libs/gtk+-2 )
75 python? (
76 >=dev-python/pygobject-2.10
77 >=dev-python/pygtk-2.10 )
78 thumbnail? ( >=gnome-base/gconf-2 )"
79
80 DEPEND="${RDEPEND}
81 dev-util/pkgconfig
82 >=dev-util/intltool-0.35.0
83 dev-util/gtk-doc-am
84 doc? ( >=dev-util/gtk-doc-1 )"
85
86 PDEPEND="gnome? ( || (
87 media-gfx/imagemagick
88 media-gfx/graphicsmagick[imagemagick] ) )"
89
90 DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO"
91
92 pkg_setup() {
93 G2CONF="${G2CONF}
94 --with-gio
95 --disable-static
96 $(use_with bzip2 bz2)
97 $(use_with gnome gnome-vfs)
98 $(use_with gnome bonobo)
99 $(use_with python)
100 $(use_with gtk gdk-pixbuf)
101 $(use_with thumbnail gconf)"
102 }
103
104 src_prepare() {
105 gnome2_src_prepare
106
107 cp "${WORKDIR}/gnome-mplayer-0.9.6-gconf-2.m4" m4/ \
108 || die "failed to copy gconf macro"
109
110 # Fix gconf automagic, bug #289856
111 epatch "${FILESDIR}/${PN}-1.14.16-gconf-automagic.patch"
112
113 # Fix useless variable in toplevel Makefile.am, bug #298813
114 epatch "${FILESDIR}/${PN}-1.14.16-automake-fixes.patch"
115
116 intltoolize --force --copy --automake || die "intltoolize failed"
117 eautoreconf
118
119 # disable pyc compiling
120 mv py-compile py-compile.orig
121 ln -s $(type -P true) py-compile
122 }
123
124 pkg_preinst() {
125 gnome2_pkg_preinst
126 preserve_old_lib /usr/$(get_libdir)/libgsf-1.so.1
127 preserve_old_lib /usr/$(get_libdir)/libgsf-gnome-1.so.1
128 }
129
130 pkg_postinst() {
131 gnome2_pkg_postinst
132 if use python; then
133 python_need_rebuild
134 python_mod_optimize $(python_get_sitedir)/gsf
135 fi
136
137 preserve_old_lib_notify /usr/$(get_libdir)/libgsf-1.so.1
138 preserve_old_lib_notify /usr/$(get_libdir)/libgsf-gnome-1.so.1
139 }
140
141 pkg_postrm() {
142 gnome2_pkg_postrm
143 python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/gsf
144 }