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.34.2-r1.ebuild
Date: Sat, 29 Dec 2012 10:35:30
Message-Id: 20121229103510.9AB4A2171E@flycatcher.gentoo.org
1 tetromino 12/12/29 10:35:10
2
3 Modified: ChangeLog
4 Added: gobject-introspection-1.34.2-r1.ebuild
5 Log:
6 Print the filename and line being parsed if g-ir-scanner crashes while parsing a gtk-doc annotation. Update to EAPI5 and python-single-r1.
7
8 (Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)
9
10 Revision Changes Path
11 1.85 dev-libs/gobject-introspection/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?rev=1.85&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?rev=1.85&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?r1=1.84&r2=1.85
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v
20 retrieving revision 1.84
21 retrieving revision 1.85
22 diff -u -r1.84 -r1.85
23 --- ChangeLog 9 Dec 2012 18:33:49 -0000 1.84
24 +++ ChangeLog 29 Dec 2012 10:35:10 -0000 1.85
25 @@ -1,6 +1,14 @@
26 # ChangeLog for dev-libs/gobject-introspection
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v 1.84 2012/12/09 18:33:49 tetromino Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v 1.85 2012/12/29 10:35:10 tetromino Exp $
30 +
31 +*gobject-introspection-1.34.2-r1 (29 Dec 2012)
32 +
33 + 29 Dec 2012; Alexandre Rostovtsev <tetromino@g.o>
34 + +gobject-introspection-1.34.2-r1.ebuild,
35 + +files/gobject-introspection-1.34.2-better-traceback.patch:
36 + Print the filename and line being parsed if g-ir-scanner crashes while
37 + parsing a gtk-doc annotation. Update to EAPI5 and python-single-r1.
38
39 09 Dec 2012; Alexandre Rostovtsev <tetromino@g.o>
40 gobject-introspection-1.30.0-r2.ebuild, gobject-introspection-1.32.1.ebuild,
41
42
43
44 1.1 dev-libs/gobject-introspection/gobject-introspection-1.34.2-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.34.2-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.34.2-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: gobject-introspection-1.34.2-r1.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/dev-libs/gobject-introspection/gobject-introspection-1.34.2-r1.ebuild,v 1.1 2012/12/29 10:35:10 tetromino Exp $
54
55 EAPI="5"
56 GCONF_DEBUG="no"
57 GNOME2_LA_PUNT="yes"
58 PYTHON_COMPAT=( python2_7 )
59 PYTHON_REQ_USE="xml"
60
61 inherit eutils gnome2 python-single-r1 toolchain-funcs
62
63 DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages"
64 HOMEPAGE="http://live.gnome.org/GObjectIntrospection/"
65
66 LICENSE="LGPL-2+ GPL-2+"
67 SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
69
70 IUSE="doctool test"
71
72 RDEPEND="
73 >=dev-libs/gobject-introspection-common-${PV}
74 >=dev-libs/glib-2.34.1:2
75 doctool? ( dev-python/mako )
76 virtual/libffi:=
77 "
78 # Wants real bison, not virtual/yacc
79 DEPEND="${RDEPEND}
80 >=dev-util/gtk-doc-am-1.15
81 sys-devel/bison
82 sys-devel/flex
83 virtual/pkgconfig
84 "
85 # PDEPEND to avoid circular dependencies, bug #391213
86 PDEPEND="x11-libs/cairo[glib]"
87
88 pkg_setup() {
89 python-single-r1_pkg_setup
90 }
91
92 src_prepare() {
93 # To prevent crosscompiling problems, bug #414105
94 CC=$(tc-getCC)
95
96 DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO"
97 G2CONF="${G2CONF}
98 --disable-static
99 YACC=$(type -p yacc)
100 $(use_enable doctool)
101 $(use_enable test tests)"
102
103 # https://bugzilla.gnome.org/show_bug.cgi?id=690850
104 epatch "${FILESDIR}/${PN}-1.34.2-better-traceback.patch"
105
106 gnome2_src_prepare
107
108 # avoid GNU-isms
109 sed -i -e 's/\(if test .* \)==/\1=/' configure || die
110
111 gi_skip_tests=
112 if ! has_version "x11-libs/cairo[glib]"; then
113 # Bug #391213: enable cairo-gobject support even if it's not installed
114 # We only PDEPEND on cairo to avoid circular dependencies
115 export CAIRO_LIBS="-lcairo -lcairo-gobject"
116 export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo"
117 if use test; then
118 G2CONF="${G2CONF} --disable-tests"
119 gi_skip_tests=yes
120 ewarn "Tests will be skipped because x11-libs/cairo[glib] is not present"
121 ewarn "on your system. Consider installing it to get tests to run."
122 fi
123 fi
124 }
125
126 src_test() {
127 [[ -z ${gi_skip_tests} ]] && default
128 }
129
130 src_install() {
131 gnome2_src_install
132
133 # Prevent collision with gobject-introspection-common
134 rm -v "${ED}"usr/share/aclocal/introspection.m4 \
135 "${ED}"usr/share/gobject-introspection-1.0/Makefile.introspection || die
136 rmdir "${ED}"usr/share/aclocal || die
137 }