1 |
pacho 14/09/26 10:31:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gobject-introspection-1.40.0-r2.ebuild |
5 |
Log: |
6 |
Prevent gjs crashes, bug #523608 by Serge Gavrilov |
7 |
|
8 |
(Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key A188FBD4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.129 dev-libs/gobject-introspection/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?rev=1.129&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?rev=1.129&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/ChangeLog?r1=1.128&r2=1.129 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v |
20 |
retrieving revision 1.128 |
21 |
retrieving revision 1.129 |
22 |
diff -u -r1.128 -r1.129 |
23 |
--- ChangeLog 15 Sep 2014 08:18:23 -0000 1.128 |
24 |
+++ ChangeLog 26 Sep 2014 10:31:49 -0000 1.129 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for dev-libs/gobject-introspection |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v 1.128 2014/09/15 08:18:23 ago Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/ChangeLog,v 1.129 2014/09/26 10:31:49 pacho Exp $ |
30 |
+ |
31 |
+*gobject-introspection-1.40.0-r2 (26 Sep 2014) |
32 |
+ |
33 |
+ 26 Sep 2014; Pacho Ramos <pacho@g.o> |
34 |
+ +files/gobject-introspection-1.40.0-gjs-crash.patch, |
35 |
+ +gobject-introspection-1.40.0-r2.ebuild: |
36 |
+ Prevent gjs crashes, bug #523608 by Serge Gavrilov |
37 |
|
38 |
15 Sep 2014; Agostino Sarubbo <ago@g.o> |
39 |
gobject-introspection-1.40.0-r1.ebuild: |
40 |
|
41 |
|
42 |
|
43 |
1.1 dev-libs/gobject-introspection/gobject-introspection-1.40.0-r2.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.40.0-r2.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.40.0-r2.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: gobject-introspection-1.40.0-r2.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2014 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-1.40.0-r2.ebuild,v 1.1 2014/09/26 10:31:49 pacho Exp $ |
53 |
|
54 |
EAPI="5" |
55 |
GCONF_DEBUG="no" |
56 |
PYTHON_COMPAT=( python2_7 ) |
57 |
PYTHON_REQ_USE="xml" |
58 |
|
59 |
inherit eutils gnome2 python-single-r1 toolchain-funcs versionator |
60 |
|
61 |
DESCRIPTION="Introspection infrastructure for generating gobject library bindings for various languages" |
62 |
HOMEPAGE="https://wiki.gnome.org/Projects/GObjectIntrospection" |
63 |
|
64 |
LICENSE="LGPL-2+ GPL-2+" |
65 |
SLOT="0" |
66 |
IUSE="cairo doctool test" |
67 |
REQUIRED_USE=" |
68 |
${PYTHON_REQUIRED_USE} |
69 |
test? ( cairo ) |
70 |
" |
71 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
72 |
|
73 |
# virtual/pkgconfig needed at runtime, bug #505408 |
74 |
# We force glib and goi to be in sync by this way as explained in bug #518424 |
75 |
RDEPEND=" |
76 |
>=dev-libs/gobject-introspection-common-${PV} |
77 |
>=dev-libs/glib-2.$(get_version_component_range 2):2 |
78 |
doctool? ( dev-python/mako ) |
79 |
virtual/libffi:= |
80 |
virtual/pkgconfig |
81 |
!<dev-lang/vala-0.20.0 |
82 |
${PYTHON_DEPS} |
83 |
" |
84 |
# Wants real bison, not virtual/yacc |
85 |
DEPEND="${RDEPEND} |
86 |
>=dev-util/gtk-doc-am-1.19 |
87 |
sys-devel/bison |
88 |
sys-devel/flex |
89 |
" |
90 |
# PDEPEND to avoid circular dependencies, bug #391213 |
91 |
PDEPEND="cairo? ( x11-libs/cairo[glib] )" |
92 |
|
93 |
pkg_setup() { |
94 |
python-single-r1_pkg_setup |
95 |
} |
96 |
|
97 |
src_prepare() { |
98 |
# Prevent gjs crashes, bug #523608 (from 'master') |
99 |
epatch "${FILESDIR}/${PN}-1.40.0-gjs-crash.patch" |
100 |
gnome2_src_prepare |
101 |
} |
102 |
|
103 |
src_configure() { |
104 |
if ! has_version "x11-libs/cairo[glib]"; then |
105 |
# Bug #391213: enable cairo-gobject support even if it's not installed |
106 |
# We only PDEPEND on cairo to avoid circular dependencies |
107 |
export CAIRO_LIBS="-lcairo -lcairo-gobject" |
108 |
export CAIRO_CFLAGS="-I${EPREFIX}/usr/include/cairo" |
109 |
fi |
110 |
|
111 |
# To prevent crosscompiling problems, bug #414105 |
112 |
gnome2_src_configure \ |
113 |
--disable-static \ |
114 |
CC=$(tc-getCC) \ |
115 |
YACC=$(type -p yacc) \ |
116 |
$(use_with cairo) \ |
117 |
$(use_enable doctool) |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO" |
122 |
gnome2_src_install |
123 |
|
124 |
# Prevent collision with gobject-introspection-common |
125 |
rm -v "${ED}"usr/share/aclocal/introspection.m4 \ |
126 |
"${ED}"usr/share/gobject-introspection-1.0/Makefile.introspection || die |
127 |
rmdir "${ED}"usr/share/aclocal || die |
128 |
} |