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: libgsf-1.14.25.ebuild ChangeLog libgsf-1.14.22.ebuild
Date: Sun, 25 Nov 2012 21:13:01
Message-Id: 20121125211251.1A91220C65@flycatcher.gentoo.org
1 eva 12/11/25 21:12:50
2
3 Modified: ChangeLog
4 Added: libgsf-1.14.25.ebuild
5 Removed: libgsf-1.14.22.ebuild
6 Log:
7 Version bump. Migrate to python-r1.eclass. Fix introspection support. Drop old revision.
8
9 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key C6085806)
10
11 Revision Changes Path
12 1.211 gnome-extra/libgsf/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgsf/ChangeLog?rev=1.211&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgsf/ChangeLog?rev=1.211&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgsf/ChangeLog?r1=1.210&r2=1.211
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/ChangeLog,v
21 retrieving revision 1.210
22 retrieving revision 1.211
23 diff -u -r1.210 -r1.211
24 --- ChangeLog 28 Oct 2012 15:55:49 -0000 1.210
25 +++ ChangeLog 25 Nov 2012 21:12:50 -0000 1.211
26 @@ -1,6 +1,13 @@
27 # ChangeLog for gnome-extra/libgsf
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/ChangeLog,v 1.210 2012/10/28 15:55:49 armin76 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/ChangeLog,v 1.211 2012/11/25 21:12:50 eva Exp $
31 +
32 +*libgsf-1.14.25 (25 Nov 2012)
33 +
34 + 25 Nov 2012; Gilles Dartiguelongue <eva@g.o> -libgsf-1.14.22.ebuild,
35 + +libgsf-1.14.25.ebuild:
36 + Version bump. Migrate to python-r1.eclass. Fix introspection support. Drop
37 + old revision.
38
39 28 Oct 2012; Raúl Porcel <armin76@g.o> libgsf-1.14.23.ebuild:
40 ia64/sh/sparc stable wrt #427544
41
42
43
44 1.1 gnome-extra/libgsf/libgsf-1.14.25.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.25.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.25.ebuild?rev=1.1&content-type=text/plain
48
49 Index: libgsf-1.14.25.ebuild
50 ===================================================================
51 # Copyright 1999-2012 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/libgsf/libgsf-1.14.25.ebuild,v 1.1 2012/11/25 21:12:50 eva Exp $
54
55 EAPI="4"
56 GCONF_DEBUG="no"
57 GNOME2_LA_PUNT="yes"
58 PYTHON_COMPAT=( python2_{6,7} )
59
60 inherit eutils gnome2 multilib python-r1
61
62 DESCRIPTION="The GNOME Structured File Library"
63 HOMEPAGE="http://projects.gnome.org/libgsf/"
64
65 LICENSE="GPL-2 LGPL-2.1"
66 SLOT="0"
67 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"
68 IUSE="bzip2 gtk +introspection python"
69
70 RDEPEND=">=dev-libs/glib-2.26:2
71 >=dev-libs/libxml2-2.4.16:2
72 sys-libs/zlib
73 bzip2? ( app-arch/bzip2 )
74 gtk? ( x11-libs/gtk+:2 )
75 introspection? ( >=dev-libs/gobject-introspection-1 )
76 python? (
77 ${PYTHON_DEPS}
78 >=dev-python/pygobject-2.10:2
79 >=dev-python/pygtk-2.10:2 )"
80
81 DEPEND="${RDEPEND}
82 >=dev-util/gtk-doc-am-1.12
83 >=dev-util/intltool-0.35.0
84 dev-libs/gobject-introspection-common
85 virtual/pkgconfig
86 "
87
88 BUILD_DIR="${S}/python"
89
90 src_configure() {
91 DOCS="AUTHORS BUGS ChangeLog HACKING NEWS README TODO"
92 G2CONF="${G2CONF}
93 --disable-static
94 $(use_with bzip2 bz2)
95 $(use_enable introspection)
96 $(use_with gtk gdk-pixbuf)"
97
98 if use python ; then
99 copy_binding() {
100 gnome2_src_configure --with-python
101 cp -r python "${BUILD_DIR}"
102 }
103 python_foreach_impl copy_binding
104 fi
105
106 gnome2_src_configure --without-python
107 }
108
109 src_compile() {
110 gnome2_src_compile
111
112 if use python ; then
113 building() {
114 cd "${BUILD_DIR}"
115 python_export PYTHON_SITEDIR
116 default
117 }
118 python_foreach_impl building
119 fi
120 }
121
122 src_install() {
123 gnome2_src_install
124
125 if use python ; then
126 installation() {
127 cd "${BUILD_DIR}"
128 emake install DESTDIR="${D}"
129 }
130 python_foreach_impl installation
131 prune_libtool_files --modules
132 fi
133 }
134
135 pkg_preinst() {
136 gnome2_pkg_preinst
137 preserve_old_lib /usr/$(get_libdir)/libgsf-1.so.1
138 preserve_old_lib /usr/$(get_libdir)/libgsf-gnome-1.so.1
139 }
140
141 pkg_postinst() {
142 gnome2_pkg_postinst
143 preserve_old_lib_notify /usr/$(get_libdir)/libgsf-1.so.1
144 preserve_old_lib_notify /usr/$(get_libdir)/libgsf-gnome-1.so.1
145 }