Hello community,

here is the log from the commit of package NetworkManager-gnome for 
openSUSE:Factory checked in at 2013-02-05 11:45:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/NetworkManager-gnome (Old)
 and      /work/SRC/openSUSE:Factory/.NetworkManager-gnome.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "NetworkManager-gnome", Maintainer is "[email protected]"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/NetworkManager-gnome/NetworkManager-gnome.changes    
    2012-10-31 07:00:23.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.NetworkManager-gnome.new/NetworkManager-gnome.changes
   2013-02-05 11:45:19.000000000 +0100
@@ -1,0 +2,7 @@
+Mon Feb  4 19:54:42 UTC 2013 - [email protected]
+
+- Fix nm-applet-private-connection.patch: Allow to select a BT
+  paired devices a PAN/NAP device. Without this fix,
+  gnome-control-center crashes at that moment.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ NetworkManager-gnome.spec ++++++
--- /var/tmp/diff_new_pack.htKXWP/_old  2013-02-05 11:45:23.000000000 +0100
+++ /var/tmp/diff_new_pack.htKXWP/_new  2013-02-05 11:45:23.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package NetworkManager-gnome
 #
-# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed


++++++ nm-applet-private-connection.patch ++++++
--- /var/tmp/diff_new_pack.htKXWP/_old  2013-02-05 11:45:23.000000000 +0100
+++ /var/tmp/diff_new_pack.htKXWP/_new  2013-02-05 11:45:23.000000000 +0100
@@ -24,10 +24,10 @@
  src/utils/utils.h                 |    2 +
  12 files changed, 190 insertions(+), 1 deletions(-)
 
-Index: network-manager-applet-0.9.6.2/src/applet-device-cdma.c
+Index: network-manager-applet-0.9.6.4/src/applet-device-cdma.c
 ===================================================================
---- network-manager-applet-0.9.6.2.orig/src/applet-device-cdma.c
-+++ network-manager-applet-0.9.6.2/src/applet-device-cdma.c
+--- network-manager-applet-0.9.6.4.orig/src/applet-device-cdma.c
++++ network-manager-applet-0.9.6.4/src/applet-device-cdma.c
 @@ -145,6 +145,12 @@ mobile_wizard_done (NMAMobileWizard *wiz
                              NULL);
                g_free (uuid);
@@ -41,10 +41,10 @@
                nm_connection_add_setting (connection, setting);
        }
  
-Index: network-manager-applet-0.9.6.2/src/applet-device-gsm.c
+Index: network-manager-applet-0.9.6.4/src/applet-device-gsm.c
 ===================================================================
---- network-manager-applet-0.9.6.2.orig/src/applet-device-gsm.c
-+++ network-manager-applet-0.9.6.2/src/applet-device-gsm.c
+--- network-manager-applet-0.9.6.4.orig/src/applet-device-gsm.c
++++ network-manager-applet-0.9.6.4/src/applet-device-gsm.c
 @@ -175,6 +175,12 @@ mobile_wizard_done (NMAMobileWizard *wiz
                              NULL);
                g_free (uuid);
@@ -58,10 +58,10 @@
                nm_connection_add_setting (connection, setting);
        }
  
-Index: network-manager-applet-0.9.6.2/src/applet-device-wifi.c
+Index: network-manager-applet-0.9.6.4/src/applet-device-wifi.c
 ===================================================================
---- network-manager-applet-0.9.6.2.orig/src/applet-device-wifi.c
-+++ network-manager-applet-0.9.6.2/src/applet-device-wifi.c
+--- network-manager-applet-0.9.6.4.orig/src/applet-device-wifi.c
++++ network-manager-applet-0.9.6.4/src/applet-device-wifi.c
 @@ -460,6 +460,18 @@ _do_new_auto_connection (NMApplet *apple
                nm_connection_add_setting (connection, NM_SETTING (s_8021x));
        }
@@ -81,10 +81,10 @@
        /* If it's an 802.1x connection, we need more information, so pop up the
         * Dialog Of Doom.
         */
-Index: network-manager-applet-0.9.6.2/src/applet-device-wimax.c
+Index: network-manager-applet-0.9.6.4/src/applet-device-wimax.c
 ===================================================================
---- network-manager-applet-0.9.6.2.orig/src/applet-device-wimax.c
-+++ network-manager-applet-0.9.6.2/src/applet-device-wimax.c
+--- network-manager-applet-0.9.6.4.orig/src/applet-device-wimax.c
++++ network-manager-applet-0.9.6.4/src/applet-device-wimax.c
 @@ -94,6 +94,12 @@ wimax_new_auto_connection (NMDevice *dev
                                  NM_SETTING_CONNECTION_UUID, uuid,
                                  NULL);
@@ -98,10 +98,10 @@
  
        nm_connection_add_setting (connection, NM_SETTING (s_con));
  
-Index: network-manager-applet-0.9.6.2/src/applet-device-wired.c
+Index: network-manager-applet-0.9.6.4/src/applet-device-wired.c
 ===================================================================
---- network-manager-applet-0.9.6.2.orig/src/applet-device-wired.c
-+++ network-manager-applet-0.9.6.2/src/applet-device-wired.c
+--- network-manager-applet-0.9.6.4.orig/src/applet-device-wired.c
++++ network-manager-applet-0.9.6.4/src/applet-device-wired.c
 @@ -86,6 +86,12 @@ wired_new_auto_connection (NMDevice *dev
                      NM_SETTING_CONNECTION_UUID, uuid,
                      NULL);
@@ -115,10 +115,10 @@
  
        nm_connection_add_setting (connection, NM_SETTING (s_con));
  
-Index: network-manager-applet-0.9.6.2/src/connection-editor/Makefile.am
+Index: network-manager-applet-0.9.6.4/src/connection-editor/Makefile.am
 ===================================================================
---- network-manager-applet-0.9.6.2.orig/src/connection-editor/Makefile.am
-+++ network-manager-applet-0.9.6.2/src/connection-editor/Makefile.am
+--- network-manager-applet-0.9.6.4.orig/src/connection-editor/Makefile.am
++++ network-manager-applet-0.9.6.4/src/connection-editor/Makefile.am
 @@ -12,6 +12,7 @@ nm_connection_editor_CPPFLAGS = \
        -DDATADIR=\""$(datadir)"\" \
        -DNMALOCALEDIR=\"$(datadir)/locale\" \
@@ -135,10 +135,10 @@
        -lm
  
  uidir = $(datadir)/nm-applet
-Index: network-manager-applet-0.9.6.2/src/connection-editor/ce-page.c
+Index: network-manager-applet-0.9.6.4/src/connection-editor/ce-page.c
 ===================================================================
---- network-manager-applet-0.9.6.2.orig/src/connection-editor/ce-page.c
-+++ network-manager-applet-0.9.6.2/src/connection-editor/ce-page.c
+--- network-manager-applet-0.9.6.4.orig/src/connection-editor/ce-page.c
++++ network-manager-applet-0.9.6.4/src/connection-editor/ce-page.c
 @@ -29,6 +29,8 @@
  
  #include <glib/gi18n.h>
@@ -207,10 +207,10 @@
        return connection;
  }
  
-Index: network-manager-applet-0.9.6.2/src/gnome-bluetooth/Makefile.am
+Index: network-manager-applet-0.9.6.4/src/gnome-bluetooth/Makefile.am
 ===================================================================
---- network-manager-applet-0.9.6.2.orig/src/gnome-bluetooth/Makefile.am
-+++ network-manager-applet-0.9.6.2/src/gnome-bluetooth/Makefile.am
+--- network-manager-applet-0.9.6.4.orig/src/gnome-bluetooth/Makefile.am
++++ network-manager-applet-0.9.6.4/src/gnome-bluetooth/Makefile.am
 @@ -7,6 +7,7 @@ INCLUDES = \
        -I${top_srcdir}/src/utils \
        -I${top_srcdir}/src/libnm-gtk \
@@ -227,10 +227,10 @@
        $(GNOME_BLUETOOTH_LIBS)
  endif
  
-Index: network-manager-applet-0.9.6.2/src/gnome-bluetooth/bt-widget.c
+Index: network-manager-applet-0.9.6.4/src/gnome-bluetooth/bt-widget.c
 ===================================================================
---- network-manager-applet-0.9.6.2.orig/src/gnome-bluetooth/bt-widget.c
-+++ network-manager-applet-0.9.6.2/src/gnome-bluetooth/bt-widget.c
+--- network-manager-applet-0.9.6.4.orig/src/gnome-bluetooth/bt-widget.c
++++ network-manager-applet-0.9.6.4/src/gnome-bluetooth/bt-widget.c
 @@ -34,6 +34,7 @@
  #include <bluetooth-client.h>
  #include <nm-remote-settings.h>
@@ -285,10 +285,10 @@
  /*******************************************************************/
  
  static void
-Index: network-manager-applet-0.9.6.2/src/utils/utils.c
+Index: network-manager-applet-0.9.6.4/src/utils/utils.c
 ===================================================================
---- network-manager-applet-0.9.6.2.orig/src/utils/utils.c
-+++ network-manager-applet-0.9.6.2/src/utils/utils.c
+--- network-manager-applet-0.9.6.4.orig/src/utils/utils.c
++++ network-manager-applet-0.9.6.4/src/utils/utils.c
 @@ -27,6 +27,8 @@
  #include <glib/gi18n.h>
  #include <gtk/gtk.h>
@@ -340,10 +340,10 @@
 +
 +      return is_authorized;
 +}
-Index: network-manager-applet-0.9.6.2/src/utils/utils.h
+Index: network-manager-applet-0.9.6.4/src/utils/utils.h
 ===================================================================
---- network-manager-applet-0.9.6.2.orig/src/utils/utils.h
-+++ network-manager-applet-0.9.6.2/src/utils/utils.h
+--- network-manager-applet-0.9.6.4.orig/src/utils/utils.h
++++ network-manager-applet-0.9.6.4/src/utils/utils.h
 @@ -61,5 +61,7 @@ typedef enum  {
        NMA_ERROR_GENERIC
  } NMAError;
@@ -352,11 +352,11 @@
 +
  #endif /* UTILS_H */
  
-Index: network-manager-applet-0.9.6.2/configure.ac
+Index: network-manager-applet-0.9.6.4/configure.ac
 ===================================================================
---- network-manager-applet-0.9.6.2.orig/configure.ac
-+++ network-manager-applet-0.9.6.2/configure.ac
-@@ -135,6 +135,10 @@ older (< 0.9) nm-applet releases.])])
+--- network-manager-applet-0.9.6.4.orig/configure.ac
++++ network-manager-applet-0.9.6.4/configure.ac
+@@ -138,6 +138,10 @@ older (< 0.9) nm-applet releases.])])
  fi
  AM_CONDITIONAL(BUILD_MIGRATION_TOOL, test "$enable_migration" = "yes")
  
@@ -367,10 +367,10 @@
  PKG_CHECK_MODULES(GNOME_KEYRING, [gnome-keyring-1])
  AC_SUBST(GNOME_KEYRING_CFLAGS)
  AC_SUBST(GNOME_KEYRING_LIBS)
-Index: network-manager-applet-0.9.6.2/src/utils/Makefile.am
+Index: network-manager-applet-0.9.6.4/src/utils/Makefile.am
 ===================================================================
---- network-manager-applet-0.9.6.2.orig/src/utils/Makefile.am
-+++ network-manager-applet-0.9.6.2/src/utils/Makefile.am
+--- network-manager-applet-0.9.6.4.orig/src/utils/Makefile.am
++++ network-manager-applet-0.9.6.4/src/utils/Makefile.am
 @@ -11,8 +11,9 @@ libutils_la_SOURCES = \
  libutils_la_CPPFLAGS = \
        $(GTK_CFLAGS) \
@@ -382,10 +382,10 @@
  
 -libutils_la_LIBADD = $(GTK_LIBS) $(NMA_LIBS)
 +libutils_la_LIBADD = $(GTK_LIBS) $(NMA_LIBS) $(POLKIT_LIBS)
-Index: network-manager-applet-0.9.6.2/src/gnome-bluetooth/nma-bt-device.c
+Index: network-manager-applet-0.9.6.4/src/gnome-bluetooth/nma-bt-device.c
 ===================================================================
---- network-manager-applet-0.9.6.2.orig/src/gnome-bluetooth/nma-bt-device.c
-+++ network-manager-applet-0.9.6.2/src/gnome-bluetooth/nma-bt-device.c
+--- network-manager-applet-0.9.6.4.orig/src/gnome-bluetooth/nma-bt-device.c
++++ network-manager-applet-0.9.6.4/src/gnome-bluetooth/nma-bt-device.c
 @@ -34,6 +34,8 @@
  #include <glib.h>
  #include <glib/gi18n-lib.h>
@@ -395,7 +395,52 @@
  #include <nm-remote-settings.h>
  #include <nm-remote-connection.h>
  
-@@ -362,6 +364,12 @@ dun_new_cdma (NMAMobileWizardAccessMetho
+@@ -227,6 +229,44 @@ recheck_services_enabled (NmaBtDevice *s
+ 
+ /*********************************************************************/
+ 
++polkit_system_connection_authorized ()
++{
++      PolkitSubject *subject;
++      PolkitAuthority *authority;
++      PolkitAuthorizationResult *result;
++      GError *error = NULL;
++      static gboolean is_checked = FALSE;
++      static gboolean is_authorized = FALSE;
++
++      if (is_checked)
++              return is_authorized;
++
++      /* Check the polkit authorization */
++      authority = polkit_authority_get_sync (NULL, NULL);
++      subject = polkit_unix_process_new (getpid ());
++      result = polkit_authority_check_authorization_sync (authority,
++                                                          subject,
++                                                          
"org.freedesktop.NetworkManager.settings.modify.system",
++                                                          NULL,
++                                                          
POLKIT_CHECK_AUTHORIZATION_FLAGS_NONE,
++                                                          NULL,
++                                                          &error);
++      if (error || !result) {
++              g_warning ("%s: failed to check polkit authorization! %s", 
__func__,
++                         error ? error->message : "(unknown)");
++              g_clear_error (&error);
++      } else if (polkit_authorization_result_get_is_authorized (result)) {
++              is_authorized = TRUE;
++      }
++      g_object_unref (result);
++      g_object_unref (authority);
++      g_object_unref (subject);
++
++      is_checked = TRUE;
++
++      return is_authorized;
++}
++
+ const char *
+ nma_bt_device_get_bdaddr (NmaBtDevice *device)
+ {
+@@ -362,6 +402,12 @@ dun_new_cdma (NMAMobileWizardAccessMetho
                      NULL);
        g_free (uuid);
        g_free (id);
@@ -408,7 +453,7 @@
        nm_connection_add_setting (connection, setting);
  
        return connection;
-@@ -408,6 +416,12 @@ dun_new_gsm (NMAMobileWizardAccessMethod
+@@ -408,6 +454,12 @@ dun_new_gsm (NMAMobileWizardAccessMethod
                      NULL);
        g_free (uuid);
        g_free (id);
@@ -421,7 +466,7 @@
        nm_connection_add_setting (connection, setting);
  
        return connection;
-@@ -859,6 +873,12 @@ add_pan_connection (NmaBtDevice *self)
+@@ -859,6 +911,12 @@ add_pan_connection (NmaBtDevice *self)
                      NULL);
        g_free (id);
        g_free (uuid);

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to