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.22.ebuild ChangeLog libgsf-1.14.20.ebuild
Date: Sat, 31 Dec 2011 19:33:16
Message-Id: 20111231193305.298212004B@flycatcher.gentoo.org
1 pacho 11/12/31 19:33:05
2
3 Modified: ChangeLog
4 Added: libgsf-1.14.22.ebuild
5 Removed: libgsf-1.14.20.ebuild
6 Log:
7 Version bump, remove old.
8
9 (Portage version: 2.1.10.44/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.190 gnome-extra/libgsf/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgsf/ChangeLog?rev=1.190&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgsf/ChangeLog?rev=1.190&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgsf/ChangeLog?r1=1.189&r2=1.190
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/ChangeLog,v
21 retrieving revision 1.189
22 retrieving revision 1.190
23 diff -u -r1.189 -r1.190
24 --- ChangeLog 30 Oct 2011 16:25:12 -0000 1.189
25 +++ ChangeLog 31 Dec 2011 19:33:05 -0000 1.190
26 @@ -1,6 +1,12 @@
27 # ChangeLog for gnome-extra/libgsf
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/ChangeLog,v 1.189 2011/10/30 16:25:12 armin76 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/ChangeLog,v 1.190 2011/12/31 19:33:05 pacho Exp $
31 +
32 +*libgsf-1.14.22 (31 Dec 2011)
33 +
34 + 31 Dec 2011; Pacho Ramos <pacho@g.o> +libgsf-1.14.22.ebuild,
35 + -libgsf-1.14.20.ebuild:
36 + Version bump, remove old.
37
38 30 Oct 2011; Raúl Porcel <armin76@g.o> libgsf-1.14.21.ebuild:
39 alpha/ia64/sh/sparc stable wrt #385699
40
41
42
43 1.1 gnome-extra/libgsf/libgsf-1.14.22.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.22.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.22.ebuild?rev=1.1&content-type=text/plain
47
48 Index: libgsf-1.14.22.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.22.ebuild,v 1.1 2011/12/31 19:33:05 pacho Exp $
53
54 EAPI="4"
55 GCONF_DEBUG="no"
56 GNOME2_LA_PUNT="yes"
57 PYTHON_DEPEND="python? 2:2.6"
58 SUPPORT_PYTHON_ABIS="1"
59 RESTRICT_PYTHON_ABIS="2.[45] 3.* *-jython"
60
61 inherit autotools eutils gnome2 python multilib
62
63 DESCRIPTION="The GNOME Structured File Library"
64 HOMEPAGE="http://projects.gnome.org/libgsf/"
65
66 LICENSE="GPL-2 LGPL-2.1"
67 SLOT="0"
68 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"
69 IUSE="bzip2 doc gtk python"
70
71 RDEPEND=">=dev-libs/glib-2.16:2
72 >=dev-libs/libxml2-2.4.16:2
73 sys-libs/zlib
74 bzip2? ( app-arch/bzip2 )
75 gtk? ( x11-libs/gtk+:2 )
76 python? (
77 >=dev-python/pygobject-2.10:2
78 >=dev-python/pygtk-2.10: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 pkg_setup() {
87 DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO"
88 G2CONF="${G2CONF}
89 --with-gio
90 --disable-static
91 $(use_with bzip2 bz2)
92 $(use_with python)
93 $(use_with gtk gdk-pixbuf)"
94
95 if use python; then
96 python_pkg_setup
97 fi
98 }
99
100 src_prepare() {
101 # Drop DEPRECATED flags
102 sed -i -e "s/ -DG_DISABLE_DEPRECATED//" configure.in configure || die
103
104 # Python bindings are built/installed manually.
105 sed -e "/SUBDIRS += python/d" -i Makefile.am || die
106
107 intltoolize --force --copy --automake || die "intltoolize failed"
108 eautoreconf
109
110 # disable pyc compiling
111 echo '#!/bin/sh' > py-compile
112
113 gnome2_src_prepare
114 }
115
116 src_compile() {
117 gnome2_src_compile
118
119 if use python; then
120 python_copy_sources python
121
122 building() {
123 emake \
124 PYTHON_INCLUDES="-I$(python_get_includedir)" \
125 pyexecdir="$(python_get_sitedir)" \
126 pythondir="$(python_get_sitedir)"
127 }
128 python_execute_function -s --source-dir python building
129 fi
130 }
131
132 src_install() {
133 gnome2_src_install
134
135 if use python; then
136 installation() {
137 emake \
138 DESTDIR="${D}" \
139 pyexecdir="$(python_get_sitedir)" \
140 pythondir="$(python_get_sitedir)" \
141 install
142 }
143 python_execute_function -s --source-dir python installation
144
145 python_clean_installation_image
146 fi
147 }
148
149 pkg_preinst() {
150 gnome2_pkg_preinst
151 preserve_old_lib /usr/$(get_libdir)/libgsf-1.so.1
152 preserve_old_lib /usr/$(get_libdir)/libgsf-gnome-1.so.1
153 }
154
155 pkg_postinst() {
156 gnome2_pkg_postinst
157
158 if use python; then
159 python_mod_optimize gsf
160 fi
161
162 preserve_old_lib_notify /usr/$(get_libdir)/libgsf-1.so.1
163 preserve_old_lib_notify /usr/$(get_libdir)/libgsf-gnome-1.so.1
164 }
165
166 pkg_postrm() {
167 gnome2_pkg_postrm
168
169 if use python; then
170 python_mod_cleanup gsf
171 fi
172 }