1 |
commit: 9157c2fd3385e3a7d95af29a830428d583e655aa |
2 |
Author: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 23 17:02:58 2011 +0000 |
4 |
Commit: Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 23 17:02:58 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=9157c2fd |
7 |
|
8 |
dev-libs/gobject-introspection: new version released in the tree |
9 |
|
10 |
* Bump networkmanager's dependency on gobject-introspection |
11 |
|
12 |
--- |
13 |
...on-0.10.2-fix-lookup-of-cached-type-nodes.patch | 82 -------------------- |
14 |
.../gobject-introspection-0.10.2-r1.ebuild | 62 --------------- |
15 |
net-misc/networkmanager/networkmanager-9999.ebuild | 4 +- |
16 |
3 files changed, 2 insertions(+), 146 deletions(-) |
17 |
|
18 |
diff --git a/dev-libs/gobject-introspection/files/gobject-introspection-0.10.2-fix-lookup-of-cached-type-nodes.patch b/dev-libs/gobject-introspection/files/gobject-introspection-0.10.2-fix-lookup-of-cached-type-nodes.patch |
19 |
deleted file mode 100644 |
20 |
index b828a12..0000000 |
21 |
--- a/dev-libs/gobject-introspection/files/gobject-introspection-0.10.2-fix-lookup-of-cached-type-nodes.patch |
22 |
+++ /dev/null |
23 |
@@ -1,82 +0,0 @@ |
24 |
-From 7829831776c921891122d29e2461fbc1f11f71f1 Mon Sep 17 00:00:00 2001 |
25 |
-From: Giovanni Campagna <gcampagna@×××××××××.org> |
26 |
-Date: Fri, 18 Feb 2011 18:14:25 +0100 |
27 |
-Subject: [PATCH] GIrNode: fix lookup of cached type nodes |
28 |
- |
29 |
-Different types of array have different type nodes, so they should |
30 |
-produce different keys in the cache of already seen type nodes, to |
31 |
-avoid turning a GByteArray into a reference to a GPtrArray. |
32 |
- |
33 |
-https://bugzilla.gnome.org/show_bug.cgi?id=642300 |
34 |
---- |
35 |
- girepository/girnode.c | 45 ++++++++++++++++++++++++++++++++++----------- |
36 |
- 1 files changed, 34 insertions(+), 11 deletions(-) |
37 |
- |
38 |
-diff --git a/girepository/girnode.c b/girepository/girnode.c |
39 |
-index fe45503..fe10e54 100644 |
40 |
---- a/girepository/girnode.c |
41 |
-+++ b/girepository/girnode.c |
42 |
-@@ -1227,19 +1227,42 @@ serialize_type (GIrTypelibBuild *build, |
43 |
- } |
44 |
- else if (node->tag == GI_TYPE_TAG_ARRAY) |
45 |
- { |
46 |
-- serialize_type (build, node->parameter_type1, str); |
47 |
-- g_string_append (str, "["); |
48 |
-+ if (node->array_type == GI_ARRAY_TYPE_C) |
49 |
-+ { |
50 |
-+ serialize_type (build, node->parameter_type1, str); |
51 |
-+ g_string_append (str, "["); |
52 |
- |
53 |
-- if (node->has_length) |
54 |
-- g_string_append_printf (str, "length=%d", node->length); |
55 |
-- else if (node->has_size) |
56 |
-- g_string_append_printf (str, "fixed-size=%d", node->size); |
57 |
-+ if (node->has_length) |
58 |
-+ g_string_append_printf (str, "length=%d", node->length); |
59 |
-+ else if (node->has_size) |
60 |
-+ g_string_append_printf (str, "fixed-size=%d", node->size); |
61 |
- |
62 |
-- if (node->zero_terminated) |
63 |
-- g_string_append_printf (str, "%szero-terminated=1", |
64 |
-- node->has_length ? "," : ""); |
65 |
-+ if (node->zero_terminated) |
66 |
-+ g_string_append_printf (str, "%szero-terminated=1", |
67 |
-+ node->has_length ? "," : ""); |
68 |
- |
69 |
-- g_string_append (str, "]"); |
70 |
-+ g_string_append (str, "]"); |
71 |
-+ } |
72 |
-+ else if (node->array_type == GI_ARRAY_TYPE_BYTE_ARRAY) |
73 |
-+ { |
74 |
-+ /* We on purpose skip serializing parameter_type1, which should |
75 |
-+ always be void* |
76 |
-+ */ |
77 |
-+ g_string_append (str, "GByteArray"); |
78 |
-+ } |
79 |
-+ else |
80 |
-+ { |
81 |
-+ if (node->array_type == GI_ARRAY_TYPE_ARRAY) |
82 |
-+ g_string_append (str, "GArray"); |
83 |
-+ else |
84 |
-+ g_string_append (str, "GPtrArray"); |
85 |
-+ if (node->parameter_type1) |
86 |
-+ { |
87 |
-+ g_string_append (str, "<"); |
88 |
-+ serialize_type (build, node->parameter_type1, str); |
89 |
-+ g_string_append (str, ">"); |
90 |
-+ } |
91 |
-+ } |
92 |
- } |
93 |
- else if (node->tag == GI_TYPE_TAG_INTERFACE) |
94 |
- { |
95 |
-@@ -1284,7 +1307,7 @@ serialize_type (GIrTypelibBuild *build, |
96 |
- } |
97 |
- else if (node->tag == GI_TYPE_TAG_GHASH) |
98 |
- { |
99 |
-- g_string_append (str, "GHashTable<"); |
100 |
-+ g_string_append (str, "GHashTable"); |
101 |
- if (node->parameter_type1) |
102 |
- { |
103 |
- g_string_append (str, "<"); |
104 |
--- |
105 |
-1.7.4 |
106 |
\ No newline at end of file |
107 |
|
108 |
diff --git a/dev-libs/gobject-introspection/gobject-introspection-0.10.2-r1.ebuild b/dev-libs/gobject-introspection/gobject-introspection-0.10.2-r1.ebuild |
109 |
deleted file mode 100644 |
110 |
index 7d016d5..0000000 |
111 |
--- a/dev-libs/gobject-introspection/gobject-introspection-0.10.2-r1.ebuild |
112 |
+++ /dev/null |
113 |
@@ -1,62 +0,0 @@ |
114 |
-# Copyright 1999-2011 Gentoo Foundation |
115 |
-# Distributed under the terms of the GNU General Public License v2 |
116 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/gobject-introspection/gobject-introspection-0.10.2.ebuild,v 1.1 2011/02/08 09:54:03 pacho Exp $ |
117 |
- |
118 |
-EAPI="3" |
119 |
-GCONF_DEBUG="no" |
120 |
-PYTHON_DEPEND="2:2.5" |
121 |
- |
122 |
-inherit eutils gnome2 python |
123 |
- |
124 |
-DESCRIPTION="Introspection infrastructure for gobject library bindings" |
125 |
-HOMEPAGE="http://live.gnome.org/GObjectIntrospection/" |
126 |
- |
127 |
-LICENSE="LGPL-2 GPL-2" |
128 |
-SLOT="0" |
129 |
-KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
130 |
-IUSE="doc test" |
131 |
- |
132 |
-RDEPEND=">=dev-libs/glib-2.24:2 |
133 |
- virtual/libffi" |
134 |
-DEPEND="${RDEPEND} |
135 |
- dev-util/pkgconfig |
136 |
- sys-devel/flex |
137 |
- doc? ( >=dev-util/gtk-doc-1.12 ) |
138 |
- test? ( x11-libs/cairo )" |
139 |
- |
140 |
-pkg_setup() { |
141 |
- DOCS="AUTHORS CONTRIBUTORS ChangeLog NEWS README TODO" |
142 |
- G2CONF="${G2CONF} |
143 |
- --disable-static |
144 |
- $(use_enable test tests)" |
145 |
- |
146 |
- python_set_active_version 2 |
147 |
-} |
148 |
- |
149 |
-src_prepare() { |
150 |
- # FIXME: Parallel compilation failure with USE=doc |
151 |
- use doc && MAKEOPTS="-j1" |
152 |
- |
153 |
- # Don't pre-compile .py |
154 |
- ln -sf $(type -P true) py-compile |
155 |
- |
156 |
- # Fix https://bugzilla.gnome.org/show_bug.cgi?id=642300 |
157 |
- # causes problems with binding NMConnection from latest NM trunk |
158 |
- epatch "${FILESDIR}/${P}-fix-lookup-of-cached-type-nodes.patch" |
159 |
-} |
160 |
- |
161 |
-src_install() { |
162 |
- gnome2_src_install |
163 |
- python_convert_shebangs 2 "${ED}"usr/bin/g-ir-scanner |
164 |
- python_convert_shebangs 2 "${ED}"usr/bin/g-ir-annotation-tool |
165 |
- find "${ED}" -name "*.la" -delete || die "la files removal failed" |
166 |
-} |
167 |
- |
168 |
-pkg_postinst() { |
169 |
- python_mod_optimize /usr/$(get_libdir)/${PN}/giscanner |
170 |
- python_need_rebuild |
171 |
-} |
172 |
- |
173 |
-pkg_postrm() { |
174 |
- python_mod_cleanup /usr/lib*/${PN}/giscanner |
175 |
-} |
176 |
|
177 |
diff --git a/net-misc/networkmanager/networkmanager-9999.ebuild b/net-misc/networkmanager/networkmanager-9999.ebuild |
178 |
index 686bad1..eed1a6a 100644 |
179 |
--- a/net-misc/networkmanager/networkmanager-9999.ebuild |
180 |
+++ b/net-misc/networkmanager/networkmanager-9999.ebuild |
181 |
@@ -27,7 +27,7 @@ else |
182 |
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
183 |
fi |
184 |
|
185 |
-# gobject-introspection-0.10.2-r1 is needed due to gnome bug 642300 |
186 |
+# gobject-introspection-0.10.3 is needed due to gnome bug 642300 |
187 |
RDEPEND=">=sys-apps/dbus-1.2 |
188 |
>=dev-libs/dbus-glib-0.75 |
189 |
>=net-wireless/wireless-tools-28_pre9 |
190 |
@@ -49,7 +49,7 @@ RDEPEND=">=sys-apps/dbus-1.2 |
191 |
dhcpcd? ( >=net-misc/dhcpcd-4.0.0_rc3 ) |
192 |
!dhcpcd? ( net-misc/dhcp ) ) |
193 |
!dhclient? ( >=net-misc/dhcpcd-4.0.0_rc3 ) |
194 |
- introspection? ( >=dev-libs/gobject-introspection-0.10.2-r1 ) |
195 |
+ introspection? ( >=dev-libs/gobject-introspection-0.10.3 ) |
196 |
resolvconf? ( net-dns/openresolv ) |
197 |
connection-sharing? ( |
198 |
net-dns/dnsmasq |