rpms/NetworkManager/devel nm-applet-no-notifications.patch, NONE, 1.1 .cvsignore, 1.111, 1.112 NetworkManager.spec, 1.289, 1.290 sources, 1.152, 1.153

Daniel Williams dcbw at fedoraproject.org
Thu Oct 22 01:09:25 UTC 2009


Author: dcbw

Update of /cvs/pkgs/rpms/NetworkManager/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14437

Modified Files:
	.cvsignore NetworkManager.spec sources 
Added Files:
	nm-applet-no-notifications.patch 
Log Message:
* Wed Oct 21 2009 Dan Williams <dcbw at redhat.com> - 0.7.996-5.git20091021
- install: better fix for (rh #526519)
- install: don't build Bluetooth bits on s390 (rh #529854)
- nm: wired 802.1x connection activation fixes
- nm: fix crash after modifying default wired connections like "Auto eth0"
- nm: ensure VPN secrets are requested again after connection failure
- nm: reset 'accept_ra' to previous value after deactivating IPv6 connections
- nm: ensure random netlink events don't interfere with IPv6 connection activation
- ifcfg-rh: fix writing out LEAP connections
- ifcfg-rh: recognize 'static' as a valid BOOTPROTO (rh #528068)
- applet: fix "could not find required resources" error (rh #529766)



nm-applet-no-notifications.patch:
 nm-applet.schemas.in |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

--- NEW FILE nm-applet-no-notifications.patch ---
diff -up NetworkManager-0.7.996/network-manager-applet-0.7.996/nm-applet.schemas.in.foo NetworkManager-0.7.996/network-manager-applet-0.7.996/nm-applet.schemas.in
--- NetworkManager-0.7.996/network-manager-applet-0.7.996/nm-applet.schemas.in.foo	2009-10-21 17:23:29.480267635 -0700
+++ NetworkManager-0.7.996/network-manager-applet-0.7.996/nm-applet.schemas.in	2009-10-21 17:39:42.734142996 -0700
@@ -6,7 +6,7 @@
       <applyto>/apps/nm-applet/disable-connected-notifications</applyto>
       <owner>nm-applet</owner>
       <type>bool</type>
-      <default>FALSE</default>
+      <default>TRUE</default>
       <locale name="C">
         <short>Disable connected notifications</short>
         <long>
@@ -20,7 +20,7 @@
       <applyto>/apps/nm-applet/disable-disconnected-notifications</applyto>
       <owner>nm-applet</owner>
       <type>bool</type>
-      <default>FALSE</default>
+      <default>TRUE</default>
       <locale name="C">
         <short>Disable disconnected notifications</short>
         <long>
@@ -34,7 +34,7 @@
       <applyto>/apps/nm-applet/suppress-wireless-networks-available</applyto>
       <owner>nm-applet</owner>
       <type>bool</type>
-      <default>FALSE</default>
+      <default>TRUE</default>
       <locale name="C">
         <short>Suppress networks available notifications</short>
         <long>


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/NetworkManager/devel/.cvsignore,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -p -r1.111 -r1.112
--- .cvsignore	3 Oct 2009 01:05:26 -0000	1.111
+++ .cvsignore	22 Oct 2009 01:09:23 -0000	1.112
@@ -167,3 +167,5 @@ NetworkManager-0.7.996.git20090928.tar.b
 network-manager-applet-0.7.996.git20090928-menu-rework.tar.bz2
 NetworkManager-0.7.996.git20091002.tar.bz2
 network-manager-applet-0.7.996.git20091002.tar.bz2
+NetworkManager-0.7.996.git20091021.tar.bz2
+network-manager-applet-0.7.996.git20091021.tar.bz2


Index: NetworkManager.spec
===================================================================
RCS file: /cvs/pkgs/rpms/NetworkManager/devel/NetworkManager.spec,v
retrieving revision 1.289
retrieving revision 1.290
diff -u -p -r1.289 -r1.290
--- NetworkManager.spec	3 Oct 2009 01:05:26 -0000	1.289
+++ NetworkManager.spec	22 Oct 2009 01:09:23 -0000	1.290
@@ -9,14 +9,14 @@
 %define libnl_version 1.1
 %define ppp_version 2.2.4
 
-%define snapshot .git20091002
-%define applet_snapshot .git20091002
+%define snapshot .git20091021
+%define applet_snapshot .git20091021
 
 Name: NetworkManager
 Summary: Network connection manager and user applications
 Epoch: 1
 Version: 0.7.996
-Release: 4%{snapshot}%{?dist}
+Release: 5%{snapshot}%{?dist}
 Group: System Environment/Base
 License: GPLv2+
 URL: http://www.gnome.org/projects/NetworkManager/
@@ -26,6 +26,7 @@ Source1: network-manager-applet-%{versio
 Source2: nm-system-settings.conf
 Patch1: nm-applet-internal-buildfixes.patch
 Patch2: explain-dns1-dns2.patch
+Patch3: nm-applet-no-notifications.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 PreReq:   chkconfig
@@ -72,8 +73,11 @@ BuildRequires: dhclient
 BuildRequires: gtk-doc
 BuildRequires: libudev-devel
 BuildRequires: libuuid-devel
-BuildRequires: gnome-bluetooth-libs-devel >= 2.27.7.1-1
 BuildRequires: libgudev1-devel >= 143
+# No bluetooth on s390
+%ifnarch s390 s390x
+BuildRequires: gnome-bluetooth-libs-devel >= 2.27.7.1-1
+%endif
 
 %description
 NetworkManager attempts to keep an active network connection available at all
@@ -148,6 +152,7 @@ tar -xjf %{SOURCE1}
 
 %patch1 -p1 -b .buildfix
 %patch2 -p1 -b .explain-dns1-dns2
+%patch3 -p1 -b .no-notifications
 
 %build
 
@@ -163,15 +168,24 @@ autoreconf -i
 	--with-crypto=nss \
 	--enable-more-warnings=yes \
 	--with-docs=yes \
-	--with-system-ca-path=/etc/pki/tls/certs
-make
+	--with-system-ca-path=/etc/pki/tls/certs \
+	--with-tests=yes
+make %{?_smp_mflags}
+
+# intltool is too stupid to know that the network-manager-applet subdir
+# isn't part of the NetworkManager build, so punch it in the face, otherwise
+# its 'make check' hook will complain about applet translatables that aren't
+# listed in NetworkManager's po/POTFILES
+chmod -wrx network-manager-applet-%{version}
+make check
+chmod +wrx network-manager-applet-%{version}
 
 # build the applet
 pushd network-manager-applet-%{version}
 	autoreconf -i
 	intltoolize --force
 	%configure --disable-static --enable-more-warnings=yes
-	make
+	make %{?_smp_mflags}
 popd
 
 %install
@@ -239,13 +253,17 @@ exit 0
 %pre gnome
 if [ "$1" -gt 1 ]; then
   export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/nm-applet.schemas >/dev/null || :
+  if [ -f "%{_sysconfdir}/gconf/schemas/nm-applet.schemas" ]; then
+    gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/nm-applet.schemas >/dev/null
+  fi
 fi
 
 %preun gnome
 if [ "$1" -eq 0 ]; then
   export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-  gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/nm-applet.schemas >/dev/null
+  if [ -f "%{_sysconfdir}/gconf/schemas/nm-applet.schemas" ]; then
+    gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/nm-applet.schemas >/dev/null
+  fi
 fi
 
 %post gnome
@@ -254,7 +272,9 @@ if [ -x /usr/bin/gtk-update-icon-cache ]
   gtk-update-icon-cache -q %{_datadir}/icons/hicolor
 fi
 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/nm-applet.schemas >/dev/null
+if [ -f "%{_sysconfdir}/gconf/schemas/nm-applet.schemas" ]; then
+  gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/nm-applet.schemas >/dev/null
+fi
 
 %postun gnome
 touch --no-create %{_datadir}/icons/hicolor
@@ -316,8 +336,10 @@ fi
 %{_datadir}/icons/hicolor/scalable/apps/*.svg
 %{_sysconfdir}/xdg/autostart/nm-applet.desktop
 %dir %{_datadir}/gnome-vpn-properties
-%{_libdir}/gnome-bluetooth/plugins/*
 %{_sysconfdir}/gconf/schemas/nm-applet.schemas
+%ifnarch s390 s390x
+%{_libdir}/gnome-bluetooth/plugins/*
+%endif
 
 %files glib
 %defattr(-,root,root,0755)
@@ -342,6 +364,18 @@ fi
 %{_datadir}/gtk-doc/html/libnm-util/*
 
 %changelog
+* Wed Oct 21 2009 Dan Williams <dcbw at redhat.com> - 0.7.996-5.git20091021
+- install: better fix for (rh #526519)
+- install: don't build Bluetooth bits on s390 (rh #529854)
+- nm: wired 802.1x connection activation fixes
+- nm: fix crash after modifying default wired connections like "Auto eth0"
+- nm: ensure VPN secrets are requested again after connection failure
+- nm: reset 'accept_ra' to previous value after deactivating IPv6 connections
+- nm: ensure random netlink events don't interfere with IPv6 connection activation
+- ifcfg-rh: fix writing out LEAP connections
+- ifcfg-rh: recognize 'static' as a valid BOOTPROTO (rh #528068)
+- applet: fix "could not find required resources" error (rh #529766)
+
 * Fri Oct  2 2009 Dan Williams <dcbw at redhat.com> - 0.7.996-4.git20091002
 - install: fix -gnome package %pre script failures (rh #526519)
 - nm: fix failures validating private keys when using the NSS crypto backend


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/NetworkManager/devel/sources,v
retrieving revision 1.152
retrieving revision 1.153
diff -u -p -r1.152 -r1.153
--- sources	3 Oct 2009 01:05:26 -0000	1.152
+++ sources	22 Oct 2009 01:09:23 -0000	1.153
@@ -1,2 +1,2 @@
-9993745d9f39e4ae8a6b46b5b7a5a809  NetworkManager-0.7.996.git20091002.tar.bz2
-131b83c340764d648ccce44f56683394  network-manager-applet-0.7.996.git20091002.tar.bz2
+185b6c1d6571a489cd33806302d2815d  NetworkManager-0.7.996.git20091021.tar.bz2
+a1aa5d658725d86dfc1744769effee7c  network-manager-applet-0.7.996.git20091021.tar.bz2




More information about the fedora-extras-commits mailing list