Hello community,

here is the log from the commit of package gnome-control-center for 
openSUSE:Factory checked in at 2015-12-27 01:57:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-control-center (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-control-center.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-control-center"

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/gnome-control-center/gnome-control-center.changes    
    2015-11-15 12:45:50.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.gnome-control-center.new/gnome-control-center.changes
   2015-12-27 01:57:03.000000000 +0100
@@ -1,0 +2,19 @@
+Mon Dec 14 03:11:10 UTC 2015 - [email protected]
+
+- Rebase
+  gnome-control-center-follow-polkit-permissions-for-tz.patch to
+  apply cleanly against g-c-c 3.18.2; re-enable patch in specfile
+  (boo#956879).
+
+-------------------------------------------------------------------
+Mon Dec 14 02:54:57 UTC 2015 - [email protected]
+
+- Modify gnome-control-center-allow-extra-tools-in-shell.patch to
+  not include alacarte in the control center any longer, this
+  stopped working on gnome-shell a long time ago (boo#901843,
+  bgo#734237).
+- SLE still requires alacarte in their g-c-c, so add separate
+  patch gnome-control-center-add-alacarte-for-sle.patch and apply
+  it only for SLE 12 for now.
+
+-------------------------------------------------------------------

New:
----
  gnome-control-center-add-alacarte-for-sle.patch

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

Other differences:
------------------
++++++ gnome-control-center.spec ++++++
--- /var/tmp/diff_new_pack.9MiYFk/_old  2015-12-27 01:57:04.000000000 +0100
+++ /var/tmp/diff_new_pack.9MiYFk/_new  2015-12-27 01:57:04.000000000 +0100
@@ -39,6 +39,8 @@
 Source:         
http://download.gnome.org/sources/gnome-control-center/3.18/%{name}-%{version}.tar.xz
 # PATCH-FEATURE-OPENSUSE gnome-control-center-allow-extra-tools-in-shell.patch 
[email protected] -- Add dconf-editor, pkg-prefs, gnome-tweak-tool and 
tracker-preferences to gnome-control-center-allow-yast-in-shell.patch so that 
they can launch from g-c-c shell like YaST does. Also change the patch with a 
more generic name.
 Patch0:         gnome-control-center-allow-extra-tools-in-shell.patch
+# PATCH-FEATURE-SLE gnome-control-center-add-alacarte-for-sle.patch     
[email protected] -- Add back alacarte for SLE since they require it for 
their classic mode, on the other hand for TW and other openSUSE versions it 
should be enough that alacarte is still available from shell overview, just not 
in the g-c-c shell. This patch must be applied only if required and then 
immediately after gnome-control-center-allow-extra-tools-in-shell.patch
+Patch100:       gnome-control-center-add-alacarte-for-sle.patch
 # PATCH-FEATURE-OPENSUSE gnome-control-center-hide-firewall-zone-entry.patch 
bnc#894394 [email protected] -- network: hide the firewall zone entry for 
firewalld, which is not used in opensuse
 Patch1:         gnome-control-center-hide-firewall-zone-entry.patch
 # PATCH-FEATURE-OPENSUSE gnome-control-center-allow-yast-in-shell.patch 
[email protected] -- Allow the launch of the yast shell from the g-c-c shell; 
it's quite ugly, but on the other hand, we don't want to change the behavior of 
the shell except for yast...
@@ -48,7 +50,7 @@
 Patch15:        gcc-private-connection.patch
 # PATCH-FIX-UPSTREAM gnome-control-center-probe-radius-server-cert.patch 
bnc#574266 [email protected] -- network: Probe the RADIUS server certificate
 Patch16:        gnome-control-center-probe-radius-server-cert.patch
-# PATCH-NEEDS-REBASE was: PATCH-FEATURE-OPENSUSE 
gnome-control-center-follow-polkit-permissions-for-tz.patch boo#904058 
[email protected] -- Follow polkit permissions for allowing/locking timezone 
setting changes
+# PATCH-FEATURE-OPENSUSE 
gnome-control-center-follow-polkit-permissions-for-tz.patch boo#904058 
[email protected] -- Follow polkit permissions for allowing/locking timezone 
setting changes
 Patch17:        gnome-control-center-follow-polkit-permissions-for-tz.patch
 BuildRequires:  cups-devel
 BuildRequires:  desktop-file-utils
@@ -185,13 +187,17 @@
 %setup -q
 translation-update-upstream
 %patch0 -p1
+# PATCH100 ONLY NEEDED FOR SLES AND TO BE APPLIED IMMEIDATELY AFTER PATCH0
+%if 0%{?suse_version} == 1315 && 0%{?sle_version}
+%patch100 -p1
+%endif
 %patch1 -p1
 # PATCH-NEEDS-REBASE - and g-c-c code seems to be moving in "our" direction 
see bgo#751378
 #patch15 -p1
 %if %{with_cacert_patch}
 %patch16 -p1
 %endif
-#%%patch17 -p1
+%patch17 -p1
 #NEEDS-REBASE
 #patch14 -p1
 

++++++ gnome-control-center-add-alacarte-for-sle.patch ++++++
Index: gnome-control-center-3.18.2/shell/cc-panel-loader.c
===================================================================
--- gnome-control-center-3.18.2.orig/shell/cc-panel-loader.c
+++ gnome-control-center-3.18.2/shell/cc-panel-loader.c
@@ -103,6 +103,7 @@ static struct {
   PANEL_TYPE("wacom",               cc_wacom_panel_get_type        ),
 #endif
   PANEL_TYPE("ca.desrt.dconf-editor",        NULL                           ),
+  PANEL_TYPE("alacarte",            NULL                           ),
   PANEL_TYPE("gpk-prefs",           NULL                           ),
   PANEL_TYPE("tracker-preferences", NULL                           ),
   PANEL_TYPE("itweb-settings",      NULL                           ),
++++++ gnome-control-center-allow-extra-tools-in-shell.patch ++++++
--- /var/tmp/diff_new_pack.9MiYFk/_old  2015-12-27 01:57:04.000000000 +0100
+++ /var/tmp/diff_new_pack.9MiYFk/_new  2015-12-27 01:57:04.000000000 +0100
@@ -12,7 +12,7 @@
 ===================================================================
 --- gnome-control-center-3.17.90.orig/shell/cc-panel-loader.c
 +++ gnome-control-center-3.17.90/shell/cc-panel-loader.c
-@@ -73,35 +73,42 @@ static struct {
+@@ -73,35 +73,41 @@ static struct {
    GType (*get_type)(void);
  #endif
  } all_panels[] = {
@@ -67,7 +67,6 @@
 +  PANEL_TYPE("wacom",               cc_wacom_panel_get_type        ),
  #endif
 +  PANEL_TYPE("ca.desrt.dconf-editor",        NULL                           ),
-+  PANEL_TYPE("alacarte",            NULL                           ),
 +  PANEL_TYPE("gpk-prefs",           NULL                           ),
 +  PANEL_TYPE("tracker-preferences", NULL                           ),
 +  PANEL_TYPE("itweb-settings",      NULL                           ),

++++++ gnome-control-center-follow-polkit-permissions-for-tz.patch ++++++
--- /var/tmp/diff_new_pack.9MiYFk/_old  2015-12-27 01:57:04.000000000 +0100
+++ /var/tmp/diff_new_pack.9MiYFk/_new  2015-12-27 01:57:04.000000000 +0100
@@ -1,7 +1,7 @@
-Index: gnome-control-center-3.14.1/panels/datetime/cc-datetime-panel.c
+Index: gnome-control-center-3.18.2/panels/datetime/cc-datetime-panel.c
 ===================================================================
---- gnome-control-center-3.14.1.orig/panels/datetime/cc-datetime-panel.c
-+++ gnome-control-center-3.14.1/panels/datetime/cc-datetime-panel.c
+--- gnome-control-center-3.18.2.orig/panels/datetime/cc-datetime-panel.c
++++ gnome-control-center-3.18.2/panels/datetime/cc-datetime-panel.c
 @@ -59,6 +59,7 @@ enum {
  #define W(x) (GtkWidget*) gtk_builder_get_object (priv->builder, x)
  
@@ -33,8 +33,8 @@
 -  gboolean allowed, auto_timezone, using_ntp;
 +  gboolean allowed, tz_allowed, auto_timezone, using_ntp;
  
-   allowed = (priv->permission == NULL || g_permission_get_allowed 
(priv->permission));
-+  tz_allowed = (priv->tz_permission == NULL || g_permission_get_allowed 
(priv->tz_permission));
+   allowed = (priv->permission != NULL && g_permission_get_allowed 
(priv->permission));
++  tz_allowed = (priv->tz_permission != NULL && g_permission_get_allowed 
(priv->tz_permission));
    using_ntp = gtk_switch_get_active (GTK_SWITCH (W("network_time_switch")));
    auto_timezone = gtk_switch_get_active (GTK_SWITCH 
(W("auto_timezone_switch")));
  
@@ -70,8 +70,8 @@
 +  gboolean allowed;
 +
 +  active = g_value_get_boolean (source_value);
-+  allowed = (priv->permission == NULL || g_permission_get_allowed 
(priv->permission)) ||
-+            (priv->tz_permission == NULL || g_permission_get_allowed 
(priv->tz_permission));
++  allowed = (priv->permission != NULL && g_permission_get_allowed 
(priv->permission)) ||
++            (priv->tz_permission != NULL && g_permission_get_allowed 
(priv->tz_permission));
 +
 +  g_value_set_boolean (target_value, !active && allowed);
 +
@@ -82,7 +82,7 @@
  switch_to_row_transform_func (GBinding        *binding,
                                const GValue    *source_value,
                                GValue          *target_value,
-@@ -1241,6 +1263,7 @@ cc_date_time_panel_init (CcDateTimePanel
+@@ -1266,6 +1288,7 @@ cc_date_time_panel_init (CcDateTimePanel
  
    /* add the lock button */
    priv->permission = polkit_permission_new_sync (DATETIME_PERMISSION, NULL, 
NULL, NULL);
@@ -90,7 +90,7 @@
    if (priv->permission != NULL)
      {
        g_signal_connect (priv->permission, "notify",
-@@ -1278,9 +1301,11 @@ cc_date_time_panel_init (CcDateTimePanel
+@@ -1303,9 +1326,11 @@ cc_date_time_panel_init (CcDateTimePanel
    gtk_widget_set_visible (W ("auto-datetime-row"), is_ntp_available (self));
  
    /* Timezone settings */


Reply via email to