1 |
eva 12/10/30 08:08:40 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gobject-introspection-1.34.1.1.ebuild |
5 |
Log: |
6 |
Version bump. Drop useless USE=doc, it served no useful purpose. |
7 |
|
8 |
(Portage version: 2.2.0_alpha141/cvs/Linux x86_64, signed Manifest commit with key C6085806) |
9 |
|
10 |
Revision Changes Path |
11 |
1.82 dev-libs/gobject-introspection/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?rev=1.82&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?rev=1.82&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?r1=1.81&r2=1.82 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v |
20 |
retrieving revision 1.81 |
21 |
retrieving revision 1.82 |
22 |
diff -u -r1.81 -r1.82 |
23 |
--- ChangeLog 28 Oct 2012 15:42:04 -0000 1.81 |
24 |
+++ ChangeLog 30 Oct 2012 08:08:40 -0000 1.82 |
25 |
@@ -1,6 +1,12 @@ |
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.81 2012/10/28 15:42:04 armin76 Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v 1.82 2012/10/30 08:08:40 eva Exp $ |
30 |
+ |
31 |
+*gobject-introspection-1.34.1.1 (30 Oct 2012) |
32 |
+ |
33 |
+ 30 Oct 2012; Gilles Dartiguelongue <eva@g.o> |
34 |
+ +gobject-introspection-1.34.1.1.ebuild: |
35 |
+ Version bump. Drop useless USE=doc, it served no useful purpose. |
36 |
|
37 |
28 Oct 2012; Raúl Porcel <armin76@g.o> |
38 |
gobject-introspection-1.32.1.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 dev-libs/gobject-introspection/gobject-introspection-1.34.1.1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.34.1.1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.34.1.1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: gobject-introspection-1.34.1.1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2012 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.34.1.1.ebuild,v 1.1 2012/10/30 08:08:40 eva Exp $ |
52 |
|
53 |
EAPI="4" |
54 |
GCONF_DEBUG="no" |
55 |
GNOME2_LA_PUNT="yes" |
56 |
PYTHON_DEPEND="2:2.7" |
57 |
PYTHON_USE_WITH="xml" |
58 |
|
59 |
inherit gnome2 python toolchain-funcs |
60 |
|
61 |
DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages" |
62 |
HOMEPAGE="http://live.gnome.org/GObjectIntrospection/" |
63 |
|
64 |
LICENSE="LGPL-2+ GPL-2+" |
65 |
SLOT="0" |
66 |
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" |
67 |
|
68 |
IUSE="doctool test" |
69 |
|
70 |
RDEPEND=" |
71 |
>=dev-libs/gobject-introspection-common-${PV} |
72 |
>=dev-libs/glib-2.34.1:2 |
73 |
doctool? ( dev-python/mako ) |
74 |
virtual/libffi |
75 |
" |
76 |
# Wants real bison, not virtual/yacc |
77 |
DEPEND="${RDEPEND} |
78 |
>=dev-util/gtk-doc-am-1.15 |
79 |
sys-devel/bison |
80 |
sys-devel/flex |
81 |
virtual/pkgconfig |
82 |
" |
83 |
# PDEPEND to avoid circular dependencies, bug #391213 |
84 |
PDEPEND="x11-libs/cairo[glib]" |
85 |
|
86 |
pkg_setup() { |
87 |
python_set_active_version 2 |
88 |
python_pkg_setup |
89 |
} |
90 |
|
91 |
src_prepare() { |
92 |
# To prevent crosscompiling problems, bug #414105 |
93 |
CC=$(tc-getCC) |
94 |
|
95 |
DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO" |
96 |
G2CONF="${G2CONF} |
97 |
--disable-static |
98 |
YACC=$(type -p yacc) |
99 |
$(use_enable doctool) |
100 |
$(use_enable test tests)" |
101 |
|
102 |
gnome2_src_prepare |
103 |
python_clean_py-compile_files |
104 |
|
105 |
# avoid GNU-isms |
106 |
sed -i -e 's/\(if test .* \)==/\1=/' configure || die |
107 |
|
108 |
gi_skip_tests= |
109 |
if ! has_version "x11-libs/cairo[glib]"; then |
110 |
# Bug #391213: enable cairo-gobject support even if it's not installed |
111 |
# We only PDEPEND on cairo to avoid circular dependencies |
112 |
export CAIRO_LIBS="-lcairo -lcairo-gobject" |
113 |
export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo" |
114 |
if use test; then |
115 |
G2CONF="${G2CONF} --disable-tests" |
116 |
gi_skip_tests=yes |
117 |
ewarn "Tests will be skipped because x11-libs/cairo[glib] is not present" |
118 |
ewarn "on your system. Consider installing it to get tests to run." |
119 |
fi |
120 |
fi |
121 |
} |
122 |
|
123 |
src_test() { |
124 |
[[ -z ${gi_skip_tests} ]] && default |
125 |
} |
126 |
|
127 |
src_install() { |
128 |
gnome2_src_install |
129 |
python_convert_shebangs 2 "${ED}"usr/bin/g-ir-{annotation-tool,scanner} |
130 |
use doctool && python_convert_shebangs 2 "${ED}"usr/bin/g-ir-doc-tool |
131 |
|
132 |
# Prevent collision with gobject-introspection-common |
133 |
rm -v "${ED}"usr/share/aclocal/introspection.m4 \ |
134 |
"${ED}"usr/share/gobject-introspection-1.0/Makefile.introspection || die |
135 |
rmdir "${ED}"usr/share/aclocal || die |
136 |
} |
137 |
|
138 |
pkg_postinst() { |
139 |
python_mod_optimize /usr/$(get_libdir)/${PN}/giscanner |
140 |
python_need_rebuild |
141 |
} |
142 |
|
143 |
pkg_postrm() { |
144 |
python_mod_cleanup /usr/$(get_libdir)/${PN}/giscanner |
145 |
} |