1 |
commit: 4cfb1f149d2496792a3b0320ac7f8c35725bdafd |
2 |
Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 29 19:57:25 2011 +0000 |
4 |
Commit: Alexandre Restovtsev <tetromino <AT> gmail <DOT> com> |
5 |
CommitDate: Sat Oct 29 19:59:43 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=4cfb1f14 |
7 |
|
8 |
networkmanager, nm-applet, gsettings-destkop-schemas, gnome-control-center: moved to gx86 |
9 |
|
10 |
--- |
11 |
.../gnome-control-center-3.2.1.ebuild | 116 --------------- |
12 |
...tings-desktop-schemas-3.2.0-unix-software.patch | 26 ---- |
13 |
.../gsettings-desktop-schemas-3.2.0-r1.ebuild | 37 ----- |
14 |
.../gsettings-desktop-schemas-9999.ebuild | 2 +- |
15 |
gnome-extra/nm-applet/nm-applet-0.9.1.90.ebuild | 47 ------ |
16 |
...ktop.NetworkManager.settings.modify.system.pkla | 6 - |
17 |
.../networkmanager-0.9.1.90-force-libnl1.1.patch | 33 ---- |
18 |
.../files/networkmanager-0.9.1.90-if.h.patch | 117 --------------- |
19 |
.../files/networkmanager-0.9.1.90-rfkill.patch | 133 ----------------- |
20 |
.../files/networkmanager-0.9_rc3-fix-tests.patch | 18 --- |
21 |
.../files/nm-system-settings.conf-ifnet | 6 - |
22 |
.../networkmanager-0.9.1.90-r3.ebuild | 157 -------------------- |
23 |
12 files changed, 1 insertions(+), 697 deletions(-) |
24 |
|
25 |
diff --git a/gnome-base/gnome-control-center/gnome-control-center-3.2.1.ebuild b/gnome-base/gnome-control-center/gnome-control-center-3.2.1.ebuild |
26 |
deleted file mode 100644 |
27 |
index a094f13..0000000 |
28 |
--- a/gnome-base/gnome-control-center/gnome-control-center-3.2.1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,116 +0,0 @@ |
31 |
-# Copyright 1999-2011 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-control-center/gnome-control-center-2.32.1.ebuild,v 1.1 2010/12/04 00:46:57 pacho Exp $ |
34 |
- |
35 |
-EAPI="4" |
36 |
-GCONF_DEBUG="yes" |
37 |
-GNOME2_LA_PUNT="yes" # gmodule is used, which uses dlopen |
38 |
- |
39 |
-inherit autotools gnome2 |
40 |
-if [[ ${PV} = 9999 ]]; then |
41 |
- inherit gnome2-live |
42 |
-fi |
43 |
- |
44 |
-DESCRIPTION="GNOME Desktop Configuration Tool" |
45 |
-HOMEPAGE="http://www.gnome.org/" |
46 |
- |
47 |
-LICENSE="GPL-2" |
48 |
-SLOT="2" |
49 |
-IUSE="+cheese +colord +cups +networkmanager +socialweb" |
50 |
-if [[ ${PV} = 9999 ]]; then |
51 |
- KEYWORDS="" |
52 |
-else |
53 |
- KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" |
54 |
-fi |
55 |
- |
56 |
-# XXX: gnome-desktop-2.91.5 is needed for upstream commit c67f7efb |
57 |
-# XXX: NetworkManager-0.9 support is automagic, make hard-dep once it's released |
58 |
-# |
59 |
-# gnome-session-2.91.6-r1 is needed so that 10-user-dirs-update is run at login |
60 |
-# Latest gsettings-desktop-schemas is neededfor commit 73f9bffb |
61 |
-# gnome-settings-daemon-3.1.4 is needed for power panel (commit 4f08a325) |
62 |
-COMMON_DEPEND=" |
63 |
- >=dev-libs/glib-2.29.14:2 |
64 |
- >=x11-libs/gdk-pixbuf-2.23.0:2 |
65 |
- >=x11-libs/gtk+-3.1.19:3 |
66 |
- >=gnome-base/gsettings-desktop-schemas-3.0.2 |
67 |
- >=gnome-base/gconf-2.0:2 |
68 |
- >=dev-libs/dbus-glib-0.73 |
69 |
- >=gnome-base/gnome-desktop-3.1.0:3 |
70 |
- >=gnome-base/gnome-settings-daemon-3.1.4[colord(+)?] |
71 |
- >=gnome-base/libgnomekbd-2.91.91 |
72 |
- |
73 |
- app-text/iso-codes |
74 |
- dev-libs/libxml2:2 |
75 |
- gnome-base/gnome-menus:3 |
76 |
- gnome-base/libgtop:2 |
77 |
- media-libs/fontconfig |
78 |
- net-libs/gnome-online-accounts |
79 |
- |
80 |
- >=media-libs/libcanberra-0.13[gtk3] |
81 |
- >=media-sound/pulseaudio-0.9.16[glib] |
82 |
- >=sys-auth/polkit-0.97 |
83 |
- >=sys-power/upower-0.9.1 |
84 |
- >=x11-libs/libnotify-0.7.3 |
85 |
- |
86 |
- x11-apps/xmodmap |
87 |
- x11-libs/libX11 |
88 |
- x11-libs/libXxf86misc |
89 |
- >=x11-libs/libxklavier-5.1 |
90 |
- >=x11-libs/libXi-1.2 |
91 |
- |
92 |
- cheese? ( |
93 |
- media-libs/gstreamer:0.10 |
94 |
- >=media-video/cheese-2.91.91.1 ) |
95 |
- colord? ( >=x11-misc/colord-0.1.8 ) |
96 |
- cups? ( >=net-print/cups-1.4[dbus] ) |
97 |
- networkmanager? ( |
98 |
- >=gnome-extra/nm-applet-0.9.1.90 |
99 |
- >=net-misc/networkmanager-0.8.997 ) |
100 |
- socialweb? ( net-libs/libsocialweb )" |
101 |
-# <gnome-color-manager-3.1.2 has file collisions with g-c-c-3.1.x |
102 |
-RDEPEND="${COMMON_DEPEND} |
103 |
- app-admin/apg |
104 |
- sys-apps/accountsservice |
105 |
- cups? ( net-print/cups-pk-helper ) |
106 |
- |
107 |
- !<gnome-extra/gnome-color-manager-3.1.2 |
108 |
- !gnome-extra/gnome-media[pulseaudio] |
109 |
- !<gnome-extra/gnome-media-2.32.0-r300 |
110 |
- !<gnome-base/gdm-2.91.94" |
111 |
-# PDEPEND to avoid circular dependency |
112 |
-PDEPEND=">=gnome-base/gnome-session-2.91.6-r1" |
113 |
-DEPEND="${COMMON_DEPEND} |
114 |
- x11-proto/xproto |
115 |
- x11-proto/xf86miscproto |
116 |
- x11-proto/kbproto |
117 |
- |
118 |
- >=sys-devel/gettext-0.17 |
119 |
- >=dev-util/intltool-0.40.1 |
120 |
- >=dev-util/pkgconfig-0.19 |
121 |
- |
122 |
- app-text/scrollkeeper |
123 |
- >=app-text/gnome-doc-utils-0.10.1 |
124 |
- |
125 |
- cups? ( sys-apps/sed )" |
126 |
-# Needed for autoreconf |
127 |
-# gnome-base/gnome-common |
128 |
- |
129 |
-pkg_setup() { |
130 |
- G2CONF="${G2CONF} |
131 |
- --disable-update-mimedb |
132 |
- --disable-static |
133 |
- $(use_with cheese) |
134 |
- $(use_enable colord color) |
135 |
- $(use_enable cups) |
136 |
- $(use_with socialweb libsocialweb)" |
137 |
- DOCS="AUTHORS ChangeLog NEWS README TODO" |
138 |
-} |
139 |
- |
140 |
-src_prepare() { |
141 |
- # Make colord plugin optional; requires eautoreconf |
142 |
- epatch "${FILESDIR}/${PN}-3.2.1-optional-colord.patch" |
143 |
- eautoreconf |
144 |
- |
145 |
- gnome2_src_prepare |
146 |
-} |
147 |
|
148 |
diff --git a/gnome-base/gsettings-desktop-schemas/files/gsettings-desktop-schemas-3.2.0-unix-software.patch b/gnome-base/gsettings-desktop-schemas/files/gsettings-desktop-schemas-3.2.0-unix-software.patch |
149 |
deleted file mode 100644 |
150 |
index 428f5ac..0000000 |
151 |
--- a/gnome-base/gsettings-desktop-schemas/files/gsettings-desktop-schemas-3.2.0-unix-software.patch |
152 |
+++ /dev/null |
153 |
@@ -1,26 +0,0 @@ |
154 |
-From 96bf58048800f1336aa8424c475f951702ce4858 Mon Sep 17 00:00:00 2001 |
155 |
-From: Cosimo Cecchi <cosimoc@×××××.org> |
156 |
-Date: Mon, 03 Oct 2011 19:56:46 +0000 |
157 |
-Subject: media: change x-content/software to x-content/unix-software |
158 |
- |
159 |
-The Nautilus handler doesn't claim x-content/software at all now, and |
160 |
-we're really interested in autorunning UNIX software rather than Win32 |
161 |
-one anyway. |
162 |
- |
163 |
-https://bugzilla.gnome.org/show_bug.cgi?id=660803 |
164 |
---- |
165 |
-diff --git a/schemas/org.gnome.desktop.media-handling.gschema.xml.in.in b/schemas/org.gnome.desktop.media-handling.gschema.xml.in.in |
166 |
-index a1bd398..1df7aea 100644 |
167 |
---- a/schemas/org.gnome.desktop.media-handling.gschema.xml.in.in |
168 |
-+++ b/schemas/org.gnome.desktop.media-handling.gschema.xml.in.in |
169 |
-@@ -16,7 +16,7 @@ |
170 |
- <_description>If set to true, then Nautilus will never prompt nor autorun/autostart programs when a medium is inserted.</_description> |
171 |
- </key> |
172 |
- <key name="autorun-x-content-start-app" type="as"> |
173 |
-- <default>[ 'x-content/software' ]</default> |
174 |
-+ <default>[ 'x-content/unix-software' ]</default> |
175 |
- <_summary>List of x-content/* types where the preferred application will be launched</_summary> |
176 |
- <_description>List of x-content/* types for which the user have chosen to start an application in the preference capplet. The preferred application for the given type will be started on insertion on media matching these types.</_description> |
177 |
- </key> |
178 |
--- |
179 |
-cgit v0.9.0.2 |
180 |
|
181 |
diff --git a/gnome-base/gsettings-desktop-schemas/gsettings-desktop-schemas-3.2.0-r1.ebuild b/gnome-base/gsettings-desktop-schemas/gsettings-desktop-schemas-3.2.0-r1.ebuild |
182 |
deleted file mode 100644 |
183 |
index 590c405..0000000 |
184 |
--- a/gnome-base/gsettings-desktop-schemas/gsettings-desktop-schemas-3.2.0-r1.ebuild |
185 |
+++ /dev/null |
186 |
@@ -1,37 +0,0 @@ |
187 |
-# Copyright 1999-2011 Gentoo Foundation |
188 |
-# Distributed under the terms of the GNU General Public License v2 |
189 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gsettings-desktop-schemas/gsettings-desktop-schemas-0.1.5.ebuild,v 1.1 2011/02/02 05:53:24 nirbheek Exp $ |
190 |
- |
191 |
-EAPI="4" |
192 |
-GCONF_DEBUG="no" |
193 |
- |
194 |
-inherit eutils gnome2 |
195 |
-if [[ ${PV} = 9999 ]]; then |
196 |
- inherit gnome2-live |
197 |
-fi |
198 |
- |
199 |
-DESCRIPTION="Collection of GSettings schemas for GNOME desktop" |
200 |
-HOMEPAGE="http://www.gnome.org/" |
201 |
- |
202 |
-LICENSE="GPL-2" |
203 |
-SLOT="0" |
204 |
-IUSE="" |
205 |
-if [[ ${PV} = 9999 ]]; then |
206 |
- KEYWORDS="" |
207 |
-else |
208 |
- KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris" |
209 |
-fi |
210 |
- |
211 |
-RDEPEND=">=dev-libs/glib-2.21:2" |
212 |
-DEPEND="${RDEPEND} |
213 |
- sys-devel/gettext |
214 |
- >=dev-util/intltool-0.40" |
215 |
- |
216 |
-DOCS="AUTHORS HACKING NEWS README" |
217 |
- |
218 |
-src_prepare() { |
219 |
- # Upstream patch to use x-content/unix-software like all of gnome-3.2.1, |
220 |
- # will be in next release |
221 |
- epatch "${FILESDIR}/${P}-unix-software.patch" |
222 |
- gnome2_src_prepare |
223 |
-} |
224 |
|
225 |
diff --git a/gnome-base/gsettings-desktop-schemas/gsettings-desktop-schemas-9999.ebuild b/gnome-base/gsettings-desktop-schemas/gsettings-desktop-schemas-9999.ebuild |
226 |
index 19a7e3a..820f2fa 100644 |
227 |
--- a/gnome-base/gsettings-desktop-schemas/gsettings-desktop-schemas-9999.ebuild |
228 |
+++ b/gnome-base/gsettings-desktop-schemas/gsettings-desktop-schemas-9999.ebuild |
229 |
@@ -19,7 +19,7 @@ IUSE="" |
230 |
if [[ ${PV} = 9999 ]]; then |
231 |
KEYWORDS="" |
232 |
else |
233 |
- KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~x86-solaris" |
234 |
+ KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" |
235 |
fi |
236 |
|
237 |
RDEPEND=">=dev-libs/glib-2.21:2" |
238 |
|
239 |
diff --git a/gnome-extra/nm-applet/nm-applet-0.9.1.90.ebuild b/gnome-extra/nm-applet/nm-applet-0.9.1.90.ebuild |
240 |
deleted file mode 100644 |
241 |
index a54f0b7..0000000 |
242 |
--- a/gnome-extra/nm-applet/nm-applet-0.9.1.90.ebuild |
243 |
+++ /dev/null |
244 |
@@ -1,47 +0,0 @@ |
245 |
-# Copyright 1999-2011 Gentoo Foundation |
246 |
-# Distributed under the terms of the GNU General Public License v2 |
247 |
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nm-applet/nm-applet-0.9.0.ebuild,v 1.1 2011/08/23 23:18:30 nirbheek Exp $ |
248 |
- |
249 |
-EAPI="4" |
250 |
-GCONF_DEBUG="no" |
251 |
-GNOME2_LA_PUNT="yes" |
252 |
-GNOME_ORG_MODULE="network-manager-applet" |
253 |
- |
254 |
-inherit gnome2 |
255 |
- |
256 |
-DESCRIPTION="GNOME applet for NetworkManager" |
257 |
-HOMEPAGE="http://projects.gnome.org/NetworkManager/" |
258 |
- |
259 |
-LICENSE="GPL-2" |
260 |
-SLOT="0" |
261 |
-IUSE="bluetooth" |
262 |
-KEYWORDS="~amd64 ~ppc ~x86" |
263 |
- |
264 |
-RDEPEND=">=dev-libs/glib-2.16:2 |
265 |
- >=dev-libs/dbus-glib-0.88 |
266 |
- >=gnome-base/gconf-2.20:2 |
267 |
- >=gnome-base/gnome-keyring-2.20 |
268 |
- >=sys-apps/dbus-1.4.1 |
269 |
- >=sys-auth/polkit-0.96-r1 |
270 |
- >=x11-libs/gtk+-2.91.4:3 |
271 |
- >=x11-libs/libnotify-0.7.0 |
272 |
- |
273 |
- app-text/iso-codes |
274 |
- >=net-misc/networkmanager-${PV} |
275 |
- net-misc/mobile-broadband-provider-info |
276 |
- |
277 |
- bluetooth? ( >=net-wireless/gnome-bluetooth-2.27.6 )" |
278 |
- |
279 |
-DEPEND="${RDEPEND} |
280 |
- dev-util/pkgconfig |
281 |
- >=dev-util/intltool-0.40" |
282 |
- |
283 |
-pkg_setup() { |
284 |
- DOCS="AUTHORS ChangeLog NEWS README" |
285 |
- G2CONF="${G2CONF} |
286 |
- --with-gtkver=3 |
287 |
- --disable-more-warnings |
288 |
- --disable-static |
289 |
- --localstatedir=/var |
290 |
- $(use_with bluetooth)" |
291 |
-} |
292 |
|
293 |
diff --git a/net-misc/networkmanager/files/01-org.freedesktop.NetworkManager.settings.modify.system.pkla b/net-misc/networkmanager/files/01-org.freedesktop.NetworkManager.settings.modify.system.pkla |
294 |
deleted file mode 100644 |
295 |
index d443327..0000000 |
296 |
--- a/net-misc/networkmanager/files/01-org.freedesktop.NetworkManager.settings.modify.system.pkla |
297 |
+++ /dev/null |
298 |
@@ -1,6 +0,0 @@ |
299 |
-[Let users in plugdev group modify NetworkManager] |
300 |
-Identity=unix-group:plugdev |
301 |
-Action=org.freedesktop.NetworkManager.settings.modify.system |
302 |
-ResultAny=no |
303 |
-ResultInactive=no |
304 |
-ResultActive=yes |
305 |
\ No newline at end of file |
306 |
|
307 |
diff --git a/net-misc/networkmanager/files/networkmanager-0.9.1.90-force-libnl1.1.patch b/net-misc/networkmanager/files/networkmanager-0.9.1.90-force-libnl1.1.patch |
308 |
deleted file mode 100644 |
309 |
index e4da7b3..0000000 |
310 |
--- a/net-misc/networkmanager/files/networkmanager-0.9.1.90-force-libnl1.1.patch |
311 |
+++ /dev/null |
312 |
@@ -1,33 +0,0 @@ |
313 |
-Build against libnl:1.1 only. Otherwise, networkmanager will link to |
314 |
-libnl-3.so and to libiWmxSdk (from wimax-1.5.2) which links to libnl.so, |
315 |
-and then explode spectacularly at runtime due to symbol collisions. |
316 |
- |
317 |
-diff --git a/configure.ac b/configure.ac |
318 |
-index 117dd91..b8b11de 100644 |
319 |
---- a/configure.ac |
320 |
-+++ b/configure.ac |
321 |
-@@ -323,24 +323,6 @@ if (test "${have_libnl1}" = "yes"); then |
322 |
- have_libnl="yes" |
323 |
- fi |
324 |
- |
325 |
--PKG_CHECK_MODULES(LIBNL2, libnl-2.0, [have_libnl2=yes], [have_libnl2=no]) |
326 |
--if (test "${have_libnl2}" = "yes"); then |
327 |
-- AC_DEFINE(HAVE_LIBNL2, 1, [Define if you require specific libnl-2 support]) |
328 |
-- LIBNL_CFLAGS="$LIBNL2_CFLAGS" |
329 |
-- LIBNL_LIBS="$LIBNL2_LIBS" |
330 |
-- libnl_version="2" |
331 |
-- have_libnl="yes" |
332 |
--fi |
333 |
-- |
334 |
--PKG_CHECK_MODULES(LIBNL3, libnl-3.0, [have_libnl2=yes], [have_libnl2=no]) |
335 |
--if (test "${have_libnl2}" = "yes"); then |
336 |
-- AC_DEFINE(HAVE_LIBNL3, 1, [Define if you require specific libnl-3 support]) |
337 |
-- LIBNL_CFLAGS="$LIBNL3_CFLAGS" |
338 |
-- LIBNL_LIBS="$LIBNL3_LIBS" |
339 |
-- libnl_version="3" |
340 |
-- have_libnl="yes" |
341 |
--fi |
342 |
-- |
343 |
- if (test "${have_libnl}" = "no"); then |
344 |
- AC_MSG_ERROR([libnl development header are required]) |
345 |
- fi |
346 |
|
347 |
diff --git a/net-misc/networkmanager/files/networkmanager-0.9.1.90-if.h.patch b/net-misc/networkmanager/files/networkmanager-0.9.1.90-if.h.patch |
348 |
deleted file mode 100644 |
349 |
index 2078569..0000000 |
350 |
--- a/net-misc/networkmanager/files/networkmanager-0.9.1.90-if.h.patch |
351 |
+++ /dev/null |
352 |
@@ -1,117 +0,0 @@ |
353 |
-commit 00f2b0a9bb806be64c5868af44f43dbe55bdd75b |
354 |
-Author: Thomas Graf <tgraf@××××××.com> |
355 |
-Date: Fri Sep 23 13:46:41 2011 +0200 |
356 |
- |
357 |
- core: Include <linux/if.h> instead of <net/if.h> |
358 |
- |
359 |
- NM already includes <linux/if.h> in some places, f.e. nm-netlink-monitor and |
360 |
- we can't mix usage of the two. Stick to using <linux/if.h> as it provides |
361 |
- additional flag definitions such as operational link state and link mode. |
362 |
- |
363 |
- Signed-off-by: Thomas Graf <tgraf@××××××.com> |
364 |
- |
365 |
- [ Alexandre Rostovtsev <tetromino@g.o>: remove parts of commit |
366 |
- unrelated to if.h changes. ] |
367 |
- |
368 |
-diff --git a/include/wireless-helper.h b/include/wireless-helper.h |
369 |
-index d150ef7..2e4509a 100644 |
370 |
---- a/include/wireless-helper.h |
371 |
-+++ b/include/wireless-helper.h |
372 |
-@@ -27,6 +27,6 @@ |
373 |
- #include <sys/types.h> |
374 |
- #include <linux/types.h> |
375 |
- #include <sys/socket.h> |
376 |
--#include <net/if.h> |
377 |
-+#include <linux/if.h> |
378 |
- #include <wireless.h> |
379 |
- |
380 |
-diff --git a/src/nm-device.c b/src/nm-device.c |
381 |
-index c0b1b87..559606c 100644 |
382 |
---- a/src/nm-device.c |
383 |
-+++ b/src/nm-device.c |
384 |
-@@ -25,7 +25,6 @@ |
385 |
- #include <dbus/dbus.h> |
386 |
- #include <netinet/in.h> |
387 |
- #include <string.h> |
388 |
--#include <net/if.h> |
389 |
- #include <unistd.h> |
390 |
- #include <errno.h> |
391 |
- #include <sys/ioctl.h> |
392 |
-@@ -34,6 +33,7 @@ |
393 |
- #include <sys/wait.h> |
394 |
- #include <arpa/inet.h> |
395 |
- #include <fcntl.h> |
396 |
-+#include <linux/if.h> |
397 |
- |
398 |
- #include "nm-glib-compat.h" |
399 |
- #include "nm-device-interface.h" |
400 |
-diff --git a/src/nm-system.c b/src/nm-system.c |
401 |
-index 0b29468..473fcec 100644 |
402 |
---- a/src/nm-system.c |
403 |
-+++ b/src/nm-system.c |
404 |
-@@ -40,7 +40,7 @@ |
405 |
- #include <netdb.h> |
406 |
- #include <glib.h> |
407 |
- #include <ctype.h> |
408 |
--#include <net/if.h> |
409 |
-+#include <linux/if.h> |
410 |
- |
411 |
- #include "nm-system.h" |
412 |
- #include "nm-device.h" |
413 |
-diff --git a/src/ppp-manager/nm-ppp-manager.c b/src/ppp-manager/nm-ppp-manager.c |
414 |
-index 522c075..3546f8d 100644 |
415 |
---- a/src/ppp-manager/nm-ppp-manager.c |
416 |
-+++ b/src/ppp-manager/nm-ppp-manager.c |
417 |
-@@ -32,7 +32,7 @@ |
418 |
- #include <sys/socket.h> |
419 |
- #include <sys/ioctl.h> |
420 |
- #include <asm/types.h> |
421 |
--#include <net/if.h> |
422 |
-+#include <linux/if.h> |
423 |
- #include <sys/stat.h> |
424 |
- |
425 |
- #include <linux/ppp_defs.h> |
426 |
-diff --git a/src/settings/plugins/ifcfg-rh/reader.c b/src/settings/plugins/ifcfg-rh/reader.c |
427 |
-index 691a176..910cca3 100644 |
428 |
---- a/src/settings/plugins/ifcfg-rh/reader.c |
429 |
-+++ b/src/settings/plugins/ifcfg-rh/reader.c |
430 |
-@@ -28,10 +28,10 @@ |
431 |
- #include <ctype.h> |
432 |
- #include <sys/inotify.h> |
433 |
- #include <errno.h> |
434 |
--#include <net/if.h> |
435 |
- #include <sys/ioctl.h> |
436 |
- #include <unistd.h> |
437 |
- #include <netinet/ether.h> |
438 |
-+#include <linux/if.h> |
439 |
- |
440 |
- #ifndef __user |
441 |
- #define __user |
442 |
-diff --git a/src/wimax/iwmxsdk.c b/src/wimax/iwmxsdk.c |
443 |
-index ff6b553..9c3a78b 100644 |
444 |
---- a/src/wimax/iwmxsdk.c |
445 |
-+++ b/src/wimax/iwmxsdk.c |
446 |
-@@ -27,7 +27,8 @@ |
447 |
- #include <stdlib.h> |
448 |
- #include <errno.h> |
449 |
- #include <string.h> |
450 |
--#include <net/if.h> |
451 |
-+#include <sys/socket.h> |
452 |
-+#include <linux/if.h> |
453 |
- |
454 |
- #include <glib.h> |
455 |
- |
456 |
-diff --git a/src/wimax/nm-device-wimax.c b/src/wimax/nm-device-wimax.c |
457 |
-index b6afc27..6654140 100644 |
458 |
---- a/src/wimax/nm-device-wimax.c |
459 |
-+++ b/src/wimax/nm-device-wimax.c |
460 |
-@@ -23,7 +23,8 @@ |
461 |
- #include <unistd.h> |
462 |
- #include <sys/ioctl.h> |
463 |
- #include <net/ethernet.h> |
464 |
--#include <net/if.h> |
465 |
-+#include <sys/socket.h> |
466 |
-+#include <linux/if.h> |
467 |
- |
468 |
- #include <WiMaxAPI.h> |
469 |
- #include <WiMaxAPIEx.h> |
470 |
|
471 |
diff --git a/net-misc/networkmanager/files/networkmanager-0.9.1.90-rfkill.patch b/net-misc/networkmanager/files/networkmanager-0.9.1.90-rfkill.patch |
472 |
deleted file mode 100644 |
473 |
index 0ddf3ad..0000000 |
474 |
--- a/net-misc/networkmanager/files/networkmanager-0.9.1.90-rfkill.patch |
475 |
+++ /dev/null |
476 |
@@ -1,133 +0,0 @@ |
477 |
-From 339229e4c698c61e20a28bfc33d8501490891427 Mon Sep 17 00:00:00 2001 |
478 |
-From: Gary Ching-Pang Lin <chingpang@×××××.com> |
479 |
-Date: Tue, 20 Sep 2011 08:36:35 +0000 |
480 |
-Subject: core: improving handling of rfkill (bgo #655773) |
481 |
- |
482 |
-This commit improves the handling of rfkill. |
483 |
- |
484 |
-- The original two passes check gathers the states of platform |
485 |
- and non-platform switches in two separate loops. Now we gather |
486 |
- the both states in one loop and determine the final states later. |
487 |
- |
488 |
-- A new rule is used to determine the states of switches. |
489 |
- |
490 |
- if (platform_state == UNBLOCKED) |
491 |
- choose non_platform_state; |
492 |
- else |
493 |
- choose platform_state; |
494 |
- |
495 |
- The state is UNBLOCKED if and only if both the platform and |
496 |
- non-platform switches are unblocked, so the ambiguous state in |
497 |
- bgo#655773 will not happen. |
498 |
- |
499 |
- Original code always preferred the platform switch state over |
500 |
- the device switch state, so if the platform switch was UNBLOCKED |
501 |
- but the device was BLOCKED, NM would treat the device as |
502 |
- UNBLOCKED and try to activate it, and obviously fail. |
503 |
---- |
504 |
-diff --git a/src/nm-udev-manager.c b/src/nm-udev-manager.c |
505 |
-index 72501c2..3e855b7 100644 |
506 |
---- a/src/nm-udev-manager.c |
507 |
-+++ b/src/nm-udev-manager.c |
508 |
-@@ -195,78 +195,50 @@ recheck_killswitches (NMUdevManager *self) |
509 |
- NMUdevManagerPrivate *priv = NM_UDEV_MANAGER_GET_PRIVATE (self); |
510 |
- GSList *iter; |
511 |
- RfKillState poll_states[RFKILL_TYPE_MAX]; |
512 |
-+ RfKillState platform_states[RFKILL_TYPE_MAX]; |
513 |
- gboolean platform_checked[RFKILL_TYPE_MAX]; |
514 |
- int i; |
515 |
- |
516 |
- /* Default state is unblocked */ |
517 |
- for (i = 0; i < RFKILL_TYPE_MAX; i++) { |
518 |
- poll_states[i] = RFKILL_UNBLOCKED; |
519 |
-+ platform_states[i] = RFKILL_UNBLOCKED; |
520 |
- platform_checked[i] = FALSE; |
521 |
- } |
522 |
- |
523 |
-- /* Perform two passes here; the first pass is for non-platform switches, |
524 |
-- * which typically if hardkilled cannot be changed except by a physical |
525 |
-- * hardware switch. The second pass checks platform killswitches, which |
526 |
-- * take precedence over device killswitches, because typically platform |
527 |
-- * killswitches control device killswitches. That is, a hardblocked device |
528 |
-- * switch can often be unblocked by a platform switch. Thus if we have |
529 |
-- * a hardblocked device switch and a softblocked platform switch, the |
530 |
-- * combined state should be softblocked since the platform switch can be |
531 |
-- * unblocked to change the device switch. |
532 |
-- */ |
533 |
-- |
534 |
-- /* Device switches first */ |
535 |
-+ /* Poll the states of all killswitches */ |
536 |
- for (iter = priv->killswitches; iter; iter = g_slist_next (iter)) { |
537 |
- Killswitch *ks = iter->data; |
538 |
- GUdevDevice *device; |
539 |
- RfKillState dev_state; |
540 |
- int sysfs_state; |
541 |
- |
542 |
-- if (ks->platform == FALSE) { |
543 |
-- device = g_udev_client_query_by_subsystem_and_name (priv->client, "rfkill", ks->name); |
544 |
-- if (device) { |
545 |
-- sysfs_state = g_udev_device_get_property_as_int (device, "RFKILL_STATE"); |
546 |
-- dev_state = sysfs_state_to_nm_state (sysfs_state); |
547 |
-+ device = g_udev_client_query_by_subsystem_and_name (priv->client, "rfkill", ks->name); |
548 |
-+ if (device) { |
549 |
-+ sysfs_state = g_udev_device_get_property_as_int (device, "RFKILL_STATE"); |
550 |
-+ dev_state = sysfs_state_to_nm_state (sysfs_state); |
551 |
-+ if (ks->platform == FALSE) { |
552 |
- if (dev_state > poll_states[ks->rtype]) |
553 |
- poll_states[ks->rtype] = dev_state; |
554 |
-- g_object_unref (device); |
555 |
-- } |
556 |
-- } |
557 |
-- } |
558 |
-- |
559 |
-- /* Platform switches next; their state overwrites device state */ |
560 |
-- for (iter = priv->killswitches; iter; iter = g_slist_next (iter)) { |
561 |
-- Killswitch *ks = iter->data; |
562 |
-- GUdevDevice *device; |
563 |
-- RfKillState dev_state; |
564 |
-- int sysfs_state; |
565 |
-- |
566 |
-- if (ks->platform == TRUE) { |
567 |
-- device = g_udev_client_query_by_subsystem_and_name (priv->client, "rfkill", ks->name); |
568 |
-- if (device) { |
569 |
-- sysfs_state = g_udev_device_get_property_as_int (device, "RFKILL_STATE"); |
570 |
-- dev_state = sysfs_state_to_nm_state (sysfs_state); |
571 |
-- |
572 |
-- if (platform_checked[ks->rtype] == FALSE) { |
573 |
-- /* Overwrite device state with platform state for first |
574 |
-- * platform switch found. |
575 |
-- */ |
576 |
-- poll_states[ks->rtype] = dev_state; |
577 |
-- platform_checked[ks->rtype] = TRUE; |
578 |
-- } else { |
579 |
-- /* If there are multiple platform switches of the same type, |
580 |
-- * take the "worst" state for all of that type. |
581 |
-- */ |
582 |
-- if (dev_state > poll_states[ks->rtype]) |
583 |
-- poll_states[ks->rtype] = dev_state; |
584 |
-- } |
585 |
-- g_object_unref (device); |
586 |
-+ } else { |
587 |
-+ platform_checked[ks->rtype] = TRUE; |
588 |
-+ if (dev_state > platform_states[ks->rtype]) |
589 |
-+ platform_states[ks->rtype] = dev_state; |
590 |
- } |
591 |
-+ g_object_unref (device); |
592 |
- } |
593 |
- } |
594 |
- |
595 |
- /* Log and emit change signal for final rfkill states */ |
596 |
- for (i = 0; i < RFKILL_TYPE_MAX; i++) { |
597 |
-+ if (platform_checked[i] == TRUE) { |
598 |
-+ /* blocked platform switch state overrides device state, otherwise |
599 |
-+ * let the device state stand. (bgo #655773) |
600 |
-+ */ |
601 |
-+ if (platform_states[i] != RFKILL_UNBLOCKED) |
602 |
-+ poll_states[i] = platform_states[i]; |
603 |
-+ } |
604 |
-+ |
605 |
- if (poll_states[i] != priv->rfkill_states[i]) { |
606 |
- nm_log_dbg (LOGD_RFKILL, "%s rfkill state now '%s'", |
607 |
- rfkill_type_to_desc (i), |
608 |
--- |
609 |
-cgit v0.9.0.2-2-gbebe |
610 |
|
611 |
diff --git a/net-misc/networkmanager/files/networkmanager-0.9_rc3-fix-tests.patch b/net-misc/networkmanager/files/networkmanager-0.9_rc3-fix-tests.patch |
612 |
deleted file mode 100644 |
613 |
index 7bd8a2b..0000000 |
614 |
--- a/net-misc/networkmanager/files/networkmanager-0.9_rc3-fix-tests.patch |
615 |
+++ /dev/null |
616 |
@@ -1,18 +0,0 @@ |
617 |
---- configure.ac |
618 |
-+++ configure.ac |
619 |
-@@ -577,7 +577,6 @@ |
620 |
- src/settings/plugins/ifupdown/Makefile |
621 |
- src/settings/plugins/ifupdown/tests/Makefile |
622 |
- src/settings/plugins/ifnet/Makefile |
623 |
--src/settings/plugins/ifnet/tests/Makefile |
624 |
- src/settings/plugins/ifcfg-rh/Makefile |
625 |
- src/settings/plugins/ifcfg-rh/tests/Makefile |
626 |
- src/settings/plugins/ifcfg-rh/tests/network-scripts/Makefile |
627 |
---- src/settings/plugins/ifnet/Makefile.am |
628 |
-+++ src/settings/plugins/ifnet/Makefile.am |
629 |
-@@ -1,4 +1,4 @@ |
630 |
--SUBDIRS = . tests |
631 |
-+SUBDIRS = . |
632 |
- INCLUDES = \ |
633 |
- -I$(top_srcdir)/src/settings \ |
634 |
- -I$(top_srcdir)/include \ |
635 |
|
636 |
diff --git a/net-misc/networkmanager/files/nm-system-settings.conf-ifnet b/net-misc/networkmanager/files/nm-system-settings.conf-ifnet |
637 |
deleted file mode 100644 |
638 |
index 4d14ee7..0000000 |
639 |
--- a/net-misc/networkmanager/files/nm-system-settings.conf-ifnet |
640 |
+++ /dev/null |
641 |
@@ -1,6 +0,0 @@ |
642 |
-[main] |
643 |
-plugins=ifnet,keyfile |
644 |
- |
645 |
-[ifnet] |
646 |
-managed=true |
647 |
-auto_refresh=false |
648 |
|
649 |
diff --git a/net-misc/networkmanager/networkmanager-0.9.1.90-r3.ebuild b/net-misc/networkmanager/networkmanager-0.9.1.90-r3.ebuild |
650 |
deleted file mode 100644 |
651 |
index 496b53b..0000000 |
652 |
--- a/net-misc/networkmanager/networkmanager-0.9.1.90-r3.ebuild |
653 |
+++ /dev/null |
654 |
@@ -1,157 +0,0 @@ |
655 |
-# Copyright 1999-2011 Gentoo Foundation |
656 |
-# Distributed under the terms of the GNU General Public License v2 |
657 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/networkmanager/networkmanager-0.9.0.ebuild,v 1.1 2011/08/23 23:17:09 nirbheek Exp $ |
658 |
- |
659 |
-EAPI="4" |
660 |
-GNOME_ORG_MODULE="NetworkManager" |
661 |
- |
662 |
-inherit autotools eutils gnome.org linux-info systemd |
663 |
- |
664 |
-DESCRIPTION="Network configuration and management in an easy way. Desktop environment independent." |
665 |
-HOMEPAGE="http://www.gnome.org/projects/NetworkManager/" |
666 |
- |
667 |
-LICENSE="GPL-2" |
668 |
-SLOT="0" |
669 |
-IUSE="avahi bluetooth doc +nss gnutls dhclient +dhcpcd +introspection |
670 |
- kernel_linux +ppp resolvconf connection-sharing wimax" |
671 |
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86" |
672 |
- |
673 |
-REQUIRED_USE=" |
674 |
- ^^ ( nss gnutls ) |
675 |
- ^^ ( dhclient dhcpcd )" |
676 |
- |
677 |
-# gobject-introspection-0.10.3 is needed due to gnome bug 642300 |
678 |
-# wpa_supplicant-0.7.3-r3 is needed due to bug 359271 |
679 |
-# libnl:1.1 is needed for linking to net-wireless/wimax libraries |
680 |
-# XXX: on bump, check that net-wireless/wimax is still using libnl:1.1 ! |
681 |
-# TODO: Qt support? |
682 |
-COMMON_DEPEND=">=sys-apps/dbus-1.2 |
683 |
- >=dev-libs/dbus-glib-0.75 |
684 |
- >=net-wireless/wireless-tools-28_pre9 |
685 |
- || ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-147[extras] ) |
686 |
- >=dev-libs/glib-2.26 |
687 |
- >=sys-auth/polkit-0.97 |
688 |
- dev-libs/libnl:1.1 |
689 |
- >=net-wireless/wpa_supplicant-0.7.3-r3[dbus] |
690 |
- bluetooth? ( >=net-wireless/bluez-4.82 ) |
691 |
- avahi? ( net-dns/avahi[autoipd] ) |
692 |
- gnutls? ( |
693 |
- dev-libs/libgcrypt |
694 |
- net-libs/gnutls ) |
695 |
- nss? ( >=dev-libs/nss-3.11 ) |
696 |
- dhclient? ( net-misc/dhcp ) |
697 |
- dhcpcd? ( >=net-misc/dhcpcd-4.0.0_rc3 ) |
698 |
- introspection? ( >=dev-libs/gobject-introspection-0.10.3 ) |
699 |
- ppp? ( |
700 |
- >=net-misc/modemmanager-0.4 |
701 |
- >=net-dialup/ppp-2.4.5 ) |
702 |
- resolvconf? ( net-dns/openresolv ) |
703 |
- connection-sharing? ( |
704 |
- net-dns/dnsmasq |
705 |
- net-firewall/iptables ) |
706 |
- wimax? ( >=net-wireless/wimax-1.5.1 )" |
707 |
- |
708 |
-RDEPEND="${COMMON_DEPEND} |
709 |
- sys-auth/consolekit" |
710 |
- |
711 |
-DEPEND="${COMMON_DEPEND} |
712 |
- dev-util/pkgconfig |
713 |
- >=dev-util/intltool-0.40 |
714 |
- >=sys-devel/gettext-0.17 |
715 |
- doc? ( >=dev-util/gtk-doc-1.8 )" |
716 |
- |
717 |
-sysfs_deprecated_check() { |
718 |
- ebegin "Checking for SYSFS_DEPRECATED support" |
719 |
- |
720 |
- if { linux_chkconfig_present SYSFS_DEPRECATED_V2; }; then |
721 |
- eerror "Please disable SYSFS_DEPRECATED_V2 support in your kernel config and recompile your kernel" |
722 |
- eerror "or NetworkManager will not work correctly." |
723 |
- eerror "See http://bugs.gentoo.org/333639 for more info." |
724 |
- die "CONFIG_SYSFS_DEPRECATED_V2 support detected!" |
725 |
- fi |
726 |
- eend $? |
727 |
-} |
728 |
- |
729 |
-pkg_pretend() { |
730 |
- if use kernel_linux; then |
731 |
- get_version |
732 |
- if linux_config_exists; then |
733 |
- sysfs_deprecated_check |
734 |
- else |
735 |
- ewarn "Was unable to determine your kernel .config" |
736 |
- ewarn "Please note that if CONFIG_SYSFS_DEPRECATED_V2 is set in your kernel .config, NetworkManager will not work correctly." |
737 |
- ewarn "See http://bugs.gentoo.org/333639 for more info." |
738 |
- fi |
739 |
- |
740 |
- fi |
741 |
-} |
742 |
- |
743 |
-pkg_setup() { |
744 |
- enewgroup plugdev |
745 |
-} |
746 |
- |
747 |
-src_prepare() { |
748 |
- # Don't build tests |
749 |
- epatch "${FILESDIR}/${PN}-0.9_rc3-fix-tests.patch" |
750 |
- # Build against libnl:1.1 for net-wireless/wimax-1.5.2 compatibility |
751 |
- epatch "${FILESDIR}/${P}-force-libnl1.1.patch" |
752 |
- # Fix <linux/if.h> & <net/if.h> conflict, in next release (bug #388609) |
753 |
- epatch "${FILESDIR}/${P}-if.h.patch" |
754 |
- # Fix rfkill handling, will be in next release |
755 |
- epatch "${FILESDIR}/${P}-rfkill.patch" |
756 |
- eautoreconf |
757 |
- default |
758 |
-} |
759 |
- |
760 |
-src_configure() { |
761 |
- ECONF="--disable-more-warnings |
762 |
- --disable-static |
763 |
- --localstatedir=/var |
764 |
- --with-distro=gentoo |
765 |
- --with-dbus-sys-dir=/etc/dbus-1/system.d |
766 |
- --with-udev-dir=/lib/udev |
767 |
- --with-iptables=/sbin/iptables |
768 |
- $(use_enable doc gtk-doc) |
769 |
- $(use_enable introspection) |
770 |
- $(use_enable ppp) |
771 |
- $(use_enable wimax) |
772 |
- $(use_with dhclient) |
773 |
- $(use_with dhcpcd) |
774 |
- $(use_with doc docs) |
775 |
- $(use_with resolvconf) |
776 |
- $(systemd_with_unitdir)" |
777 |
- |
778 |
- if use nss ; then |
779 |
- ECONF="${ECONF} $(use_with nss crypto=nss)" |
780 |
- else |
781 |
- ECONF="${ECONF} $(use_with gnutls crypto=gnutls)" |
782 |
- fi |
783 |
- |
784 |
- econf ${ECONF} |
785 |
-} |
786 |
- |
787 |
-src_install() { |
788 |
- default |
789 |
- # Need to keep the /var/run/NetworkManager directory |
790 |
- keepdir /var/run/NetworkManager |
791 |
- |
792 |
- # Need to keep the /etc/NetworkManager/dispatched.d for dispatcher scripts |
793 |
- keepdir /etc/NetworkManager/dispatcher.d |
794 |
- |
795 |
- # Add keyfile plugin support |
796 |
- keepdir /etc/NetworkManager/system-connections |
797 |
- insinto /etc/NetworkManager |
798 |
- newins "${FILESDIR}/nm-system-settings.conf-ifnet" nm-system-settings.conf |
799 |
- |
800 |
- # Allow users in plugdev group to modify system connections |
801 |
- insinto /etc/polkit-1/localauthority/10-vendor.d |
802 |
- doins "${FILESDIR}/01-org.freedesktop.NetworkManager.settings.modify.system.pkla" |
803 |
- |
804 |
- # Remove useless .la files |
805 |
- find "${D}" -name '*.la' -exec rm -f {} + || die "la file removal failed" |
806 |
-} |
807 |
- |
808 |
-pkg_postinst() { |
809 |
- elog "To modify system network connections without needing to enter the" |
810 |
- elog "root password, add your user account to the 'plugdev' group." |
811 |
-} |