Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/gobject-introspection: ChangeLog gobject-introspection-1.30.0-r1.ebuild
Date: Sun, 30 Oct 2011 19:05:20
Message-Id: 20111030190507.CEE822004B@flycatcher.gentoo.org
1 tetromino 11/10/30 19:05:07
2
3 Modified: ChangeLog
4 Added: gobject-introspection-1.30.0-r1.ebuild
5 Log:
6 Add useful upstream patches to take into account struct padding on ppc and arm, improve stability, report better error messages, fix memory leaks, fix distcc incompatibility, and fix potential glib-2.31.x incompatibility.
7
8 (Portage version: 2.2.0_alpha72/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.46 dev-libs/gobject-introspection/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?rev=1.46&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?rev=1.46&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?r1=1.45&r2=1.46
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v
20 retrieving revision 1.45
21 retrieving revision 1.46
22 diff -u -r1.45 -r1.46
23 --- ChangeLog 28 Sep 2011 11:20:20 -0000 1.45
24 +++ ChangeLog 30 Oct 2011 19:05:07 -0000 1.46
25 @@ -1,6 +1,14 @@
26 # ChangeLog for dev-libs/gobject-introspection
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v 1.45 2011/09/28 11:20:20 ssuominen Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v 1.46 2011/10/30 19:05:07 tetromino Exp $
30 +
31 +*gobject-introspection-1.30.0-r1 (30 Oct 2011)
32 +
33 + 30 Oct 2011; Alexandre Rostovtsev <tetromino@g.o>
34 + +gobject-introspection-1.30.0-r1.ebuild:
35 + Add useful upstream patches to take into account struct padding on ppc and
36 + arm, improve stability, report better error messages, fix memory leaks, fix
37 + distcc incompatibility, and fix potential glib-2.31.x incompatibility.
38
39 28 Sep 2011; Samuli Suominen <ssuominen@g.o>
40 gobject-introspection-1.30.0.ebuild:
41
42
43
44 1.1 dev-libs/gobject-introspection/gobject-introspection-1.30.0-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.30.0-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.30.0-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: gobject-introspection-1.30.0-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.30.0-r1.ebuild,v 1.1 2011/10/30 19:05:07 tetromino Exp $
54
55 EAPI="3"
56 GCONF_DEBUG="no"
57 GNOME_TARBALL_SUFFIX="xz"
58 GNOME2_LA_PUNT="yes"
59 PYTHON_DEPEND="2:2.5"
60
61 inherit gnome2 python
62
63 DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages"
64 HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
65 SRC_URI="${SRC_URI} mirror://gentoo/${P}-patches-1.tar.xz"
66
67 LICENSE="LGPL-2 GPL-2"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86
70 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos
71 ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
72
73 IUSE="doc test"
74
75 RDEPEND=">=dev-libs/glib-2.29.7:2
76 virtual/libffi"
77 DEPEND="${RDEPEND}
78 dev-util/pkgconfig
79 sys-devel/flex
80 virtual/yacc
81 doc? ( >=dev-util/gtk-doc-1.15 )
82 test? ( x11-libs/cairo )"
83
84 pkg_setup() {
85 DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
86 G2CONF="${G2CONF}
87 --disable-static
88 YACC=$(type -p yacc)
89 $(use_enable test tests)"
90
91 python_set_active_version 2
92 }
93
94 src_prepare() {
95 # Useful upstream patches, will be in 1.31
96 epatch ../patches/*.patch
97
98 # https://bugzilla.gnome.org/show_bug.cgi?id=659824
99 sed -i -e '/^TAGS/s/[{}]//g' "${S}/giscanner/docbookdescription.py" || die
100
101 # FIXME: Parallel compilation failure with USE=doc
102 use doc && MAKEOPTS="-j1"
103
104 # Don't pre-compile .py
105 ln -sf $(type -P true) py-compile
106 ln -sf $(type -P true) build-aux/py-compile
107
108 gnome2_src_prepare
109 }
110
111 src_install() {
112 gnome2_src_install
113 python_convert_shebangs 2 "${ED}"usr/bin/g-ir-{annotation-tool,doc-tool,scanner}
114 }
115
116 pkg_postinst() {
117 python_mod_optimize /usr/$(get_libdir)/${PN}/giscanner
118 python_need_rebuild
119 }
120
121 pkg_postrm() {
122 python_mod_cleanup /usr/lib*/${PN}/giscanner
123 }