Compare commits

1 Commits
main ... 1.1

17 changed files with 425 additions and 869 deletions

View File

@@ -3,25 +3,17 @@
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/gnome-control-center.git</param>
<param name="revision">48.0</param>
<param name="revision">refs/tags/45.2</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">disable</param>
</service>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/libgxdp.git</param>
<param name="revision">e68375c7aced97705953b8e3b30af9f17991153b</param>
<param name="versionformat">0.gitmodule</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual">
<param name="basename">gnome-control-center</param>
</service>
<service name="set_version" mode="manual" />
</services>

BIN
gnome-control-center-45.2.obscpio (Stored with Git LFS) Normal file

Binary file not shown.

BIN
gnome-control-center-48.0.obscpio (Stored with Git LFS)

Binary file not shown.

View File

@@ -0,0 +1,13 @@
diff --git a/panels/user-accounts/cc-user-panel.c b/panels/user-accounts/cc-user-panel.c
index 3fdfe961e..fa3af01f8 100644
--- a/panels/user-accounts/cc-user-panel.c
+++ b/panels/user-accounts/cc-user-panel.c
@@ -830,7 +830,7 @@ show_user (ActUser *user, CcUserPanel *self)
gtk_widget_set_visible (GTK_WIDGET (self->back_button), !show);
show_or_hide_back_button(self);
gtk_widget_set_visible (GTK_WIDGET (self->other_users), other_user_show);
- gtk_widget_set_visible (GTK_WIDGET (self->add_user_button), show && is_admin);
+ gtk_widget_set_sensitive (GTK_WIDGET (self->add_user_button), is_admin);
on_permission_changed (self);
}

View File

@@ -1,24 +1,24 @@
From 493841c19ca1a006f8e040612918dd0942693566 Mon Sep 17 00:00:00 2001
From c7e0b3b8d993c2edaaafa54cd40da9378d641263 Mon Sep 17 00:00:00 2001
From: Jonathan Kang <jonathankang@gnome.org>
Date: Wed, 19 Mar 2025 10:09:42 +0800
Date: Fri, 27 Oct 2023 16:51:26 +0800
Subject: [PATCH] gnome-control-center-bring-back-firewall-zone.patch
---
.../connection-editor/ce-page-ethernet.c | 27 ++++
.../connection-editor/ce-page-security.c | 15 +++
.../network/connection-editor/ce-page-vpn.c | 9 ++
.../network/connection-editor/ce-page-vpn.c | 8 ++
.../connection-editor/ethernet-page.ui | 26 ++++
.../connection-editor/firewall-helpers.c | 125 ++++++++++++++++++
.../connection-editor/firewall-helpers.h | 33 +++++
panels/network/connection-editor/meson.build | 1 +
.../connection-editor/security-page.ui | 27 ++++
panels/network/connection-editor/vpn-page.ui | 24 ++++
9 files changed, 287 insertions(+)
9 files changed, 286 insertions(+)
create mode 100644 panels/network/connection-editor/firewall-helpers.c
create mode 100644 panels/network/connection-editor/firewall-helpers.h
diff --git a/panels/network/connection-editor/ce-page-ethernet.c b/panels/network/connection-editor/ce-page-ethernet.c
index e276b0d59..5c1114330 100644
index dce05a3..bba438f 100644
--- a/panels/network/connection-editor/ce-page-ethernet.c
+++ b/panels/network/connection-editor/ce-page-ethernet.c
@@ -27,6 +27,7 @@
@@ -108,7 +108,7 @@ index e276b0d59..5c1114330 100644
static void
@@ -213,6 +239,7 @@ ce_page_ethernet_new (NMConnection *connection,
self = g_object_new (CE_TYPE_PAGE_ETHERNET, NULL);
self = CE_PAGE_ETHERNET (g_object_new (ce_page_ethernet_get_type (), NULL));
self->client = client;
+ self->connection = g_object_ref (connection);
@@ -116,7 +116,7 @@ index e276b0d59..5c1114330 100644
self->setting_wired = nm_connection_get_setting_wired (connection);
diff --git a/panels/network/connection-editor/ce-page-security.c b/panels/network/connection-editor/ce-page-security.c
index 273ba8bc9..246be0315 100644
index ae6fbd4..b8a1b83 100644
--- a/panels/network/connection-editor/ce-page-security.c
+++ b/panels/network/connection-editor/ce-page-security.c
@@ -27,6 +27,7 @@
@@ -136,7 +136,7 @@ index 273ba8bc9..246be0315 100644
NMConnection *connection;
const gchar *security_setting;
@@ -164,6 +167,7 @@ security_combo_changed (CEPageSecurity *self)
@@ -165,6 +168,7 @@ security_combo_changed (CEPageSecurity *self)
gtk_box_remove (self->box, GTK_WIDGET (sec));
gtk_size_group_add_widget (self->group, GTK_WIDGET (self->security_label));
@@ -144,7 +144,7 @@ index 273ba8bc9..246be0315 100644
nma_ws_add_to_size_group (sec, self->group);
gtk_box_append (self->box, g_object_ref (GTK_WIDGET (sec)));
@@ -221,6 +225,7 @@ finish_setup (CEPageSecurity *self)
@@ -222,6 +226,7 @@ finish_setup (CEPageSecurity *self)
{
NMSettingWireless *sw;
NMSettingWirelessSecurity *sws;
@@ -152,7 +152,7 @@ index 273ba8bc9..246be0315 100644
gboolean is_adhoc = FALSE;
g_autoptr(GtkListStore) sec_model = NULL;
GtkTreeIter iter;
@@ -387,6 +392,10 @@ finish_setup (CEPageSecurity *self)
@@ -388,6 +393,10 @@ finish_setup (CEPageSecurity *self)
gtk_combo_box_set_active (self->security_combo, active < 0 ? 0 : (guint32) active);
@@ -163,7 +163,7 @@ index 273ba8bc9..246be0315 100644
security_combo_changed (self);
g_signal_connect_object (self->security_combo, "changed",
G_CALLBACK (security_combo_changed), self, G_CONNECT_SWAPPED);
@@ -422,6 +431,7 @@ ce_page_security_validate (CEPage *page,
@@ -423,6 +432,7 @@ ce_page_security_validate (CEPage *page,
{
CEPageSecurity *self = CE_PAGE_SECURITY (page);
NMSettingWireless *sw;
@@ -171,7 +171,7 @@ index 273ba8bc9..246be0315 100644
NMAWs *sec;
gboolean valid = FALSE;
const char *mode;
@@ -478,6 +488,9 @@ ce_page_security_validate (CEPage *page,
@@ -479,6 +489,9 @@ ce_page_security_validate (CEPage *page,
}
@@ -181,7 +181,7 @@ index 273ba8bc9..246be0315 100644
return valid;
}
@@ -500,6 +513,8 @@ ce_page_security_class_init (CEPageSecurityClass *klass)
@@ -501,6 +514,8 @@ ce_page_security_class_init (CEPageSecurityClass *klass)
gtk_widget_class_bind_template_child (widget_class, CEPageSecurity, box);
gtk_widget_class_bind_template_child (widget_class, CEPageSecurity, security_label);
gtk_widget_class_bind_template_child (widget_class, CEPageSecurity, security_combo);
@@ -191,19 +191,11 @@ index 273ba8bc9..246be0315 100644
static void
diff --git a/panels/network/connection-editor/ce-page-vpn.c b/panels/network/connection-editor/ce-page-vpn.c
index 48892b1b4..453d5b897 100644
index 36afde5..edbf331 100644
--- a/panels/network/connection-editor/ce-page-vpn.c
+++ b/panels/network/connection-editor/ce-page-vpn.c
@@ -27,6 +27,7 @@
@@ -35,6 +35,8 @@ struct _CEPageVpn
#include "ce-page.h"
#include "ce-page-vpn.h"
+#include "firewall-helpers.h"
#include "vpn-helpers.h"
struct _CEPageVpn
@@ -36,6 +37,8 @@ struct _CEPageVpn
GtkBox *box;
GtkLabel *failure_label;
GtkEntry *name_entry;
+ GtkLabel *firewall_heading;
@@ -211,7 +203,7 @@ index 48892b1b4..453d5b897 100644
NMConnection *connection;
NMSettingConnection *setting_connection;
@@ -124,6 +127,9 @@ connect_vpn_page (CEPageVpn *self)
@@ -123,6 +125,9 @@ connect_vpn_page (CEPageVpn *self)
name = nm_setting_connection_get_id (self->setting_connection);
gtk_editable_set_text (GTK_EDITABLE (self->name_entry), name);
g_signal_connect_object (self->name_entry, "changed", G_CALLBACK (ce_page_changed), self, G_CONNECT_SWAPPED);
@@ -221,7 +213,7 @@ index 48892b1b4..453d5b897 100644
}
static void
@@ -159,6 +165,7 @@ ce_page_vpn_validate (CEPage *page,
@@ -158,6 +163,7 @@ ce_page_vpn_validate (CEPage *page,
g_object_set (self->setting_connection,
NM_SETTING_CONNECTION_ID, gtk_editable_get_text (GTK_EDITABLE (self->name_entry)),
NULL);
@@ -229,8 +221,8 @@ index 48892b1b4..453d5b897 100644
if (!nm_setting_verify (NM_SETTING (self->setting_connection), NULL, error))
return FALSE;
@@ -188,6 +195,8 @@ ce_page_vpn_class_init (CEPageVpnClass *class)
gtk_widget_class_bind_template_child (widget_class, CEPageVpn, box);
@@ -186,6 +192,8 @@ ce_page_vpn_class_init (CEPageVpnClass *class)
gtk_widget_class_bind_template_child (widget_class, CEPageVpn, failure_label);
gtk_widget_class_bind_template_child (widget_class, CEPageVpn, name_entry);
+ gtk_widget_class_bind_template_child (widget_class, CEPageVpn, firewall_heading);
@@ -239,11 +231,11 @@ index 48892b1b4..453d5b897 100644
static void
diff --git a/panels/network/connection-editor/ethernet-page.ui b/panels/network/connection-editor/ethernet-page.ui
index 89cdf8f3d..d6c6ad085 100644
index e35a18a..c3618a9 100644
--- a/panels/network/connection-editor/ethernet-page.ui
+++ b/panels/network/connection-editor/ethernet-page.ui
@@ -127,5 +127,31 @@
</child>
@@ -117,5 +117,31 @@
</layout>
</object>
</child>
+ <child>
@@ -276,7 +268,7 @@ index 89cdf8f3d..d6c6ad085 100644
</interface>
diff --git a/panels/network/connection-editor/firewall-helpers.c b/panels/network/connection-editor/firewall-helpers.c
new file mode 100644
index 000000000..2e2c29f5a
index 0000000..2e2c29f
--- /dev/null
+++ b/panels/network/connection-editor/firewall-helpers.c
@@ -0,0 +1,125 @@
@@ -407,7 +399,7 @@ index 000000000..2e2c29f5a
+}
diff --git a/panels/network/connection-editor/firewall-helpers.h b/panels/network/connection-editor/firewall-helpers.h
new file mode 100644
index 000000000..213c515e8
index 0000000..213c515
--- /dev/null
+++ b/panels/network/connection-editor/firewall-helpers.h
@@ -0,0 +1,33 @@
@@ -445,10 +437,10 @@ index 000000000..213c515e8
+
+#endif /* _FIREWALL_HELPERS_H_ */
diff --git a/panels/network/connection-editor/meson.build b/panels/network/connection-editor/meson.build
index a9e14f594..73f2e8e59 100644
index c544b21..7377fc0 100644
--- a/panels/network/connection-editor/meson.build
+++ b/panels/network/connection-editor/meson.build
@@ -14,6 +14,7 @@ sources = files(
@@ -13,6 +13,7 @@ sources = files(
'ce-page-wireguard.c',
'ce-page-wifi.c',
'ce-page.c',
@@ -457,11 +449,11 @@ index a9e14f594..73f2e8e59 100644
'vpn-helpers.c'
)
diff --git a/panels/network/connection-editor/security-page.ui b/panels/network/connection-editor/security-page.ui
index affba837b..23c73ef12 100644
index 9a1c0de..ba31a81 100644
--- a/panels/network/connection-editor/security-page.ui
+++ b/panels/network/connection-editor/security-page.ui
@@ -51,5 +51,32 @@
</child>
@@ -41,5 +41,32 @@
</layout>
</object>
</child>
+ <child>
@@ -494,40 +486,40 @@ index affba837b..23c73ef12 100644
</template>
</interface>
diff --git a/panels/network/connection-editor/vpn-page.ui b/panels/network/connection-editor/vpn-page.ui
index d087e5e29..614e26582 100644
index 98f801b..73bbef8 100644
--- a/panels/network/connection-editor/vpn-page.ui
+++ b/panels/network/connection-editor/vpn-page.ui
@@ -34,6 +34,30 @@
</child>
</object>
</child>
+ <child>
+ <object class="GtkBox" id="box1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkLabel" id="firewall_heading">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Firewall _Zone</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">firewall_combo</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="firewall_combo">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="entry_text_column">0</property>
+ <property name="id_column">1</property>
+ </object>
+ </child>
+ </object>
+ </child>
<child>
<object class="GtkLabel" id="failure_label">
<property name="xalign">0</property>
@@ -28,6 +28,30 @@
</child>
</object>
</child>
+ <child>
+ <object class="GtkBox" id="box1">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkLabel" id="firewall_heading">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="label" translatable="yes">Firewall _Zone</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">firewall_combo</property>
+ </object>
+ </child>
+ <child>
+ <object class="GtkComboBoxText" id="firewall_combo">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="entry_text_column">0</property>
+ <property name="id_column">1</property>
+ </object>
+ </child>
+ </object>
+ </child>
<child>
<object class="GtkLabel" id="failure_label">
<property name="xalign">0</property>
--
2.48.1
2.42.0

View File

@@ -0,0 +1,114 @@
diff --git a/panels/datetime/cc-datetime-panel.c b/panels/datetime/cc-datetime-panel.c
index 3544411..87d8fbd 100644
--- a/panels/datetime/cc-datetime-panel.c
+++ b/panels/datetime/cc-datetime-panel.c
@@ -229,6 +229,10 @@ clock_settings_changed_cb (CcDateTimePanel *self,
g_signal_handlers_unblock_by_func (self->timeformat_row, change_clock_settings, self);
}
+static void on_month_selection_changed_cb (CcDateTimePanel *self);
+
+static void time_changed_cb (CcDateTimePanel *self,
+ CcTimeEditor *editor);
/* Update the widgets based on the system time */
static void
@@ -242,9 +246,11 @@ update_time (CcDateTimePanel *self)
else
use_ampm = FALSE;
+ g_signal_handlers_block_by_func (self->time_editor, time_changed_cb, self);
cc_time_editor_set_time (self->time_editor,
g_date_time_get_hour (self->date),
g_date_time_get_minute (self->date));
+ g_signal_handlers_unblock_by_func (self->time_editor, time_changed_cb, self);
/* Update the time on the listbow row */
if (use_ampm)
@@ -259,7 +265,9 @@ update_time (CcDateTimePanel *self)
}
self->month = g_date_time_get_month (self->date);
+ g_signal_handlers_block_by_func (self->month_model, on_month_selection_changed_cb, self);
gtk_single_selection_set_selected (self->month_model, self->month - 1);
+ g_signal_handlers_unblock_by_func (self->month_model, on_month_selection_changed_cb, self);
gtk_label_set_text (self->datetime_label, label);
}
@@ -327,6 +335,10 @@ queue_set_datetime (CcDateTimePanel *self)
{
gint64 unixtime;
+ /* Don't set the time if we are using network time (NTP). */
+ if (gtk_switch_get_active (self->network_time_switch))
+ return;
+
/* timedated expects number of microseconds since 1 Jan 1970 UTC */
unixtime = g_date_time_to_unix (self->date);
@@ -381,9 +393,11 @@ change_date (CcDateTimePanel *self)
g_date_time_get_hour (old_date),
g_date_time_get_minute (old_date),
g_date_time_get_second (old_date));
+ g_signal_handlers_block_by_func (self->time_editor, time_changed_cb, self);
cc_time_editor_set_time (self->time_editor,
g_date_time_get_hour (self->date),
g_date_time_get_minute (self->date));
+ g_signal_handlers_unblock_by_func (self->time_editor, time_changed_cb, self);
queue_set_datetime (self);
}
@@ -765,7 +779,9 @@ setup_datetime_dialog (CcDateTimePanel *self)
/* Month */
self->month = g_date_time_get_month (self->date);
+ g_signal_handlers_block_by_func (self->month_model, on_month_selection_changed_cb, self);
gtk_single_selection_set_selected (self->month_model, self->month - 1);
+ g_signal_handlers_unblock_by_func (self->month_model, on_month_selection_changed_cb, self);
}
static int
@@ -859,11 +875,9 @@ cc_date_time_panel_class_init (CcDateTimePanelClass *klass)
gtk_widget_class_bind_template_callback (widget_class, panel_tz_selection_changed_cb);
gtk_widget_class_bind_template_callback (widget_class, list_box_row_activated);
- gtk_widget_class_bind_template_callback (widget_class, time_changed_cb);
gtk_widget_class_bind_template_callback (widget_class, change_clock_settings);
gtk_widget_class_bind_template_callback (widget_class, format_clock_name_cb);
gtk_widget_class_bind_template_callback (widget_class, on_date_box_row_activated_cb);
- gtk_widget_class_bind_template_callback (widget_class, on_month_selection_changed_cb);
bind_textdomain_codeset (GETTEXT_PACKAGE_TIMEZONES, "UTF-8");
@@ -988,6 +1002,11 @@ cc_date_time_panel_init (CcDateTimePanel *self)
* the model is filled up */
get_initial_timezone (self);
+ g_signal_connect_object (self->time_editor, "time-changed",
+ G_CALLBACK (time_changed_cb), self, G_CONNECT_SWAPPED);
+ g_signal_connect_object (self->month_model, "selection-changed",
+ G_CALLBACK (on_month_selection_changed_cb), self, G_CONNECT_SWAPPED);
+
/* Watch changes of timedated remote service properties */
g_signal_connect_object (self->dtm, "g-properties-changed",
G_CALLBACK (on_timedated_properties_changed), self, G_CONNECT_SWAPPED);
diff --git a/panels/datetime/cc-datetime-panel.ui b/panels/datetime/cc-datetime-panel.ui
index ebdb078..1fbb52c 100644
--- a/panels/datetime/cc-datetime-panel.ui
+++ b/panels/datetime/cc-datetime-panel.ui
@@ -37,7 +37,6 @@
<child>
<object class="CcTimeEditor" id="time_editor">
<property name="halign">center</property>
- <signal name="time-changed" handler="time_changed_cb" swapped="yes"/>
</object>
</child>
@@ -312,7 +311,6 @@
<property name="model">
<object class="GtkSingleSelection" id="month_model">
<property name="autoselect">False</property>
- <signal name="selection-changed" handler="on_month_selection_changed_cb" swapped="yes"/>
<property name="model">
<object class="GtkStringList">
<items>

View File

@@ -1,8 +1,106 @@
Index: gnome-control-center-47.beta/panels/network/cc-wifi-panel.ui
===================================================================
--- gnome-control-center-47.beta.orig/panels/network/cc-wifi-panel.ui
+++ gnome-control-center-47.beta/panels/network/cc-wifi-panel.ui
@@ -217,6 +217,51 @@ Error details: NetworkManager not runnin
diff -uraBN temp/gnome-control-center-45.1/panels/network/cc-network-panel.c gnome-control-center-45.1/panels/network/cc-network-panel.c
--- temp/gnome-control-center-45.1/panels/network/cc-network-panel.c 2023-10-27 14:56:16.289319792 +0800
+++ gnome-control-center-45.1/panels/network/cc-network-panel.c 2023-10-27 15:42:47.030395835 +0800
@@ -653,10 +653,24 @@
panel_check_network_manager_version (CcNetworkPanel *self)
{
const gchar *version;
+ const gchar *state;
+ GDBusConnection *connection;
+ GDBusProxy *proxy;
+ GVariant *variant;
+
+ connection = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL, NULL);
+ proxy = g_dbus_proxy_new_sync (connection, G_DBUS_PROXY_FLAGS_NONE,
+ NULL,
+ "org.freedesktop.systemd1",
+ "/org/freedesktop/systemd1/unit/wickedd_2ddhcp6_2eservice",
+ "org.freedesktop.systemd1.Unit",
+ NULL, NULL);
+ variant = g_dbus_proxy_get_cached_property (proxy, "ActiveState");
+ state = g_variant_get_string (variant, NULL);
/* parse running version */
version = nm_client_get_version (self->client);
- if (version == NULL) {
+ if (version == NULL && g_strcmp0 (state, "inactive") == 0) {
GtkWidget *status_page;
status_page = adw_status_page_new ();
@@ -667,10 +681,23 @@
adw_status_page_set_description (ADW_STATUS_PAGE (status_page),
_("An error has occurred and network cannot be used."
"\n Error details: NetworkManager not running."));
+ } else if (version == NULL && g_strcmp0 (state, "active") == 0) {
+ GtkWidget *status_page;
+
+ status_page = adw_status_page_new ();
+ adw_toolbar_view_set_content (ADW_TOOLBAR_VIEW (self->toolbar_view), status_page);
+ adw_status_page_set_icon_name (ADW_STATUS_PAGE (status_page), "network-error-symbolic");
+ adw_status_page_set_title (ADW_STATUS_PAGE (status_page), _("Wicked is running"));
+ adw_status_page_set_description (ADW_STATUS_PAGE (status_page),
+ _("Please use YaST2 to configure your network."));
} else {
manager_running (self);
}
+
+ g_object_unref (connection);
+ g_object_unref (proxy);
+ g_variant_unref (variant);
}
static void
diff -uraBN temp/gnome-control-center-45.1/panels/network/cc-wifi-panel.c gnome-control-center-45.1/panels/network/cc-wifi-panel.c
--- temp/gnome-control-center-45.1/panels/network/cc-wifi-panel.c 2023-10-27 14:56:16.292653165 +0800
+++ gnome-control-center-45.1/panels/network/cc-wifi-panel.c 2023-10-27 15:05:30.805703042 +0800
@@ -298,21 +298,41 @@
check_main_stack_page (CcWifiPanel *self)
{
const gchar *nm_version;
+ const gchar *state;
gboolean airplane_mode_active;
gboolean wireless_enabled;
+ GDBusConnection *connection;
+ GDBusProxy *proxy;
+ GVariant *variant;
+
+ connection = g_bus_get_sync (G_BUS_TYPE_SYSTEM, NULL, NULL);
+ proxy = g_dbus_proxy_new_sync (connection, G_DBUS_PROXY_FLAGS_NONE,
+ NULL,
+ "org.freedesktop.systemd1",
+ "/org/freedesktop/systemd1/unit/wickedd_2ddhcp6_2eservice",
+ "org.freedesktop.systemd1.Unit",
+ NULL, NULL);
+ variant = g_dbus_proxy_get_cached_property (proxy, "ActiveState");
+ state = g_variant_get_string (variant, NULL);
nm_version = nm_client_get_version (self->client);
wireless_enabled = nm_client_wireless_get_enabled (self->client);
airplane_mode_active = adw_switch_row_get_active (self->rfkill_row);
- if (!nm_version)
+ if (!nm_version && g_strcmp0 (state, "inactive") == 0)
gtk_stack_set_visible_child_name (self->main_stack, "nm-not-running");
+ else if (!nm_version && g_strcmp0 (state, "active") == 0)
+ gtk_stack_set_visible_child_name (self->main_stack, "wicked-running");
else if (!wireless_enabled && airplane_mode_active)
gtk_stack_set_visible_child_name (self->main_stack, "airplane-mode");
else if (!wireless_enabled || self->devices->len == 0)
gtk_stack_set_visible_child_name (self->main_stack, "no-wifi-devices");
else
gtk_stack_set_visible_child_name (self->main_stack, "wifi-connections");
+
+ g_object_unref (connection);
+ g_object_unref (proxy);
+ g_variant_unref (variant);
}
static void
diff -uraBN temp/gnome-control-center-45.1/panels/network/cc-wifi-panel.ui gnome-control-center-45.1/panels/network/cc-wifi-panel.ui
--- temp/gnome-control-center-45.1/panels/network/cc-wifi-panel.ui 2023-10-27 14:56:16.292653165 +0800
+++ gnome-control-center-45.1/panels/network/cc-wifi-panel.ui 2023-10-27 14:49:00.914031545 +0800
@@ -197,6 +197,51 @@
</property>
</object>
</child>
@@ -54,12 +152,10 @@ Index: gnome-control-center-47.beta/panels/network/cc-wifi-panel.ui
</object>
</child>
</object>
Index: gnome-control-center-47.beta/tests/meson.build
===================================================================
--- gnome-control-center-47.beta.orig/tests/meson.build
+++ gnome-control-center-47.beta/tests/meson.build
@@ -3,9 +3,12 @@ Xvfb = find_program('Xvfb', required: fa
diff -uraBN temp/gnome-control-center-45.1/tests/meson.build gnome-control-center-45.1/tests/meson.build
--- temp/gnome-control-center-45.1/tests/meson.build 2023-10-27 14:56:16.545989479 +0800
+++ gnome-control-center-45.1/tests/meson.build 2023-10-27 14:49:56.034724339 +0800
@@ -1,8 +1,11 @@
subdir('common')
#subdir('datetime')
+# Disable tests for network panel, boo#1128195

View File

@@ -0,0 +1,51 @@
From d4a522277bcd1e172be57f3525c2d24831bb3cc5 Mon Sep 17 00:00:00 2001
From: Alynx Zhou <alynx.zhou@gmail.com>
Date: Thu, 4 Jan 2024 10:29:49 +0800
Subject: [PATCH] system/region: Prevent preview crash from accessing invalid
pointer
In !2051, we switch back to real locale before setting the label text,
however, according to nl_langinfo's manpage, the returned pointer could
be invalid after switching locale or creating new locale, so the program
may crash.
To fix this, we save the result before switching locale, so we won't
access the invalid pointer after switch locale.
---
panels/region/cc-format-preview.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/panels/region/cc-format-preview.c b/panels/region/cc-format-preview.c
index 7aea45511..e4f4afa32 100644
--- a/panels/region/cc-format-preview.c
+++ b/panels/region/cc-format-preview.c
@@ -69,6 +69,7 @@ update_format_examples (CcFormatPreview *self)
g_autofree gchar *s = NULL;
#ifdef LC_MEASUREMENT
const gchar *fmt;
+ gboolean is_imperial = FALSE;
#endif
g_autoptr(GtkPaperSize) paper = NULL;
@@ -133,6 +134,9 @@ update_format_examples (CcFormatPreview *self)
old_locale = uselocale (locale);
fmt = nl_langinfo (_NL_MEASUREMENT_MEASUREMENT);
+ /* The returned pointer of nl_langinfo could be invalid after switching
+ locale, so we must use it here. */
+ is_imperial = fmt && *fmt == 2;
if (locale != (locale_t) 0)
{
@@ -140,7 +144,7 @@ update_format_examples (CcFormatPreview *self)
freelocale (locale);
}
- if (fmt && *fmt == 2)
+ if (is_imperial)
gtk_label_set_text (GTK_LABEL (self->measurement_format_label), C_("measurement format", "Imperial"));
else
gtk_label_set_text (GTK_LABEL (self->measurement_format_label), C_("measurement format", "Metric"));
--
2.43.0

View File

@@ -0,0 +1,10 @@
--- a/panels/info-overview/cc-info-overview-panel.c 2022-05-27 06:08:12.000000000 +0300
+++ b/panels/info-overview/cc-info-overview-panel.c 2022-10-17 22:35:19.478332000 +0300
@@ -954,6 +954,7 @@
icon = g_themed_icon_new_from_names ((char **) array->pdata, array->len);
gtk_image_set_from_gicon (panel->os_logo, icon, GTK_ICON_SIZE_INVALID);
+ gtk_image_set_pixel_size (panel->os_logo, 148);
}
static void

View File

@@ -0,0 +1,15 @@
diff --git a/panels/info-overview/cc-info-overview-panel.c b/panels/info-overview/cc-info-overview-panel.c
index 700df61..846ac80 100644
--- a/panels/info-overview/cc-info-overview-panel.c
+++ b/panels/info-overview/cc-info-overview-panel.c
@@ -111,8 +111,8 @@ does_gnome_software_allow_updates (void)
static gboolean
does_gnome_software_exist (void)
{
- g_autofree gchar *path = g_find_program_in_path ("gnome-software");
- return path != NULL;
+ /* Don't use gnome-software in SLE. */
+ return FALSE;
}
static gboolean

View File

@@ -1,7 +1,8 @@
diff -urp gnome-control-center-47.rc.orig/panels/power/cc-power-panel.c gnome-control-center-47.rc/panels/power/cc-power-panel.c
--- gnome-control-center-47.rc.orig/panels/power/cc-power-panel.c 2024-09-10 10:09:29.314005144 -0500
+++ gnome-control-center-47.rc/panels/power/cc-power-panel.c 2024-09-10 10:10:46.471756741 -0500
@@ -433,7 +433,8 @@ populate_power_button_row (CcNumberRow *
diff --git a/panels/power/cc-power-panel.c b/panels/power/cc-power-panel.c
index 26e3837..3fa91db 100644
--- a/panels/power/cc-power-panel.c
+++ b/panels/power/cc-power-panel.c
@@ -680,7 +680,8 @@ populate_power_button_row (AdwComboRow *combo_row,
{ N_("Suspend"), GSD_POWER_BUTTON_ACTION_SUSPEND },
{ N_("Power Off"), GSD_POWER_BUTTON_ACTION_INTERACTIVE },
{ N_("Hibernate"), GSD_POWER_BUTTON_ACTION_HIBERNATE },
@@ -9,5 +10,5 @@ diff -urp gnome-control-center-47.rc.orig/panels/power/cc-power-panel.c gnome-co
+ { N_("Nothing"), GSD_POWER_BUTTON_ACTION_NOTHING },
+ { N_("Force Off"), GSD_POWER_BUTTON_ACTION_SHUTDOWN }
};
guint item_index = 0;
guint i;

View File

@@ -1,14 +0,0 @@
diff -urp gnome-control-center-46.3.orig/panels/system/cc-system-panel.c gnome-control-center-46.3/panels/system/cc-system-panel.c
--- gnome-control-center-46.3.orig/panels/system/cc-system-panel.c 2024-07-30 14:27:24.426647687 -0500
+++ gnome-control-center-46.3/panels/system/cc-system-panel.c 2024-07-30 14:36:02.188142991 -0500
@@ -77,8 +77,8 @@ gnome_software_allows_updates (void)
static gboolean
gnome_software_exists (void)
{
- g_autofree gchar *path = g_find_program_in_path ("gnome-software");
- return path != NULL;
+ /* Don't use gnome-software in SLE. */
+ return FALSE;
}
static gboolean

View File

@@ -1,550 +1,10 @@
-------------------------------------------------------------------
Thu Mar 20 01:15:04 UTC 2025 - Xiaoguang Wang <xiaoguang.wang@suse.com>
- Drop gnome-control-center-users-page-Don-t-show-the-system-accounts.patch:
fixed upstream.
-------------------------------------------------------------------
Wed Mar 19 03:35:30 UTC 2025 - Jonathan Kang <songchuan.kang@suse.com>
- Rebase gnome-control-center-bring-back-firewall-zone.patch
(bsc#1239711).
- Drop gnome-control-center-info-fix-distro-logo.patch: not needed
any more.
-------------------------------------------------------------------
Mon Mar 17 12:49:05 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 48.0
+ Display
- Improve accessibility of HDR Brightness row.
- Fix setting luminance scale adjustment on rebuild.
+ Power: Add power consumption notice when disabling suspend (EU
regulation).
+ Various translation updates.
+ Various CI fixes.
-------------------------------------------------------------------
Fri Mar 14 14:07:48 UTC 2025 - Michael Gorse <mgorse@suse.com>
- Drop use of sle_version in favor of is_opensuse and suse_version.
Sle_version is no longer used in SLE 16.
-------------------------------------------------------------------
Fri Mar 7 07:16:53 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 48.rc.1:
+ Include subprojects/libgxdp in the release tarball
+ Pin the revision of libgxdp wrap file
+ Wellbeing: Fix type in a gtk_widget_dispose_template() call
+ Updated translations.
-------------------------------------------------------------------
Tue Mar 4 14:42:55 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 48.rc:
+ Applications: Add Global Shortcuts Provider frontend dialog
+ Displays: Add HDR luminance settings UI
+ Power:
- Add a translator comment about "Battery Charging" string
- Use new UPower power-profiles-daemon DBus API
+ Sound: Fix styling of sound test button
+ Users: Synchronize fingerprint enrollment feedback strings with
fprintd
+ Wellbeing:
- Fix translatability of average $weekday strings
- Support locales where the week starts on a Saturday
- Add missing includes for _NL_TIME_FIRST_WEEKDAY code path
- Block settings change notifications while updating them
- Fix delayed-apply of movement break settings
+ Wifi: Disable activation for rows in Saved Wi-Fi Networks
dialog
+ Updated translations.
- Add new libgxdp-0 git submodule following upstream changes.
-------------------------------------------------------------------
Tue Feb 4 10:10:54 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 48.beta:
+ Make search bar always grab focus with shortcuts
+ Fix a memory leak in CcMaskPaintable (used for illustrations)
+ Fix missing icons in Mouse/Wacom/WWAN settings (ship our own
icons)
+ Add single-panel-mode for distros to launch Settings in a
single panel (without sidebar)
+ Use static hostname instead of pretty hostname (hostnamed) in
URLs
+ Dependency updates: gnome-settings-daemon >= 48.alpha.1
+ Device Security: Don't hardcode height of "help" dialog
+ Display: Add monitor HDR setting
+ Keyboard:
- Rename old "logout" media key name to "Power Off"
- Add new media keys shortcuts for "Restart" and "Logout"
- Port shortcuts dialog to AdwDialog
+ Mouse: Use AdwToggleGroup in the "Primary Button" settings
+ Region:
- Port Format Chooser to AdwPreferencesPage
- Inform accountsservice of all configured languages
+ Sound: Filter out NULL stream names in Volume Levels settings
+ Thunderbolt: Fix unescaped string in device status dialog
+ Wellbeing:
- Add screen time support
- Use gtk_widget_set_child_visible in allocate
- Various accessibility/navigation/esthetic improvements
- Split data collection and limits settings
+ Updated translations.
-------------------------------------------------------------------
Mon Feb 3 16:39:42 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 48.alpha:
+ Start using the new GNOME release service
+ Prevent crash on CcSplitRow related to Gtk size group changes
+ Use accessible-role=presentation for illustrative icons/images
+ Use gtk_list_box_remove_all instead of iterating GTK widget
children
+ Import developer docs from gitlab wiki to the docs/ source
folder
+ Various improvements to our development Flatpak build
+ Various style/consistency updates to gobject creations
+ Stop calling "gtk_widget_get_root()" incorrectly
+ Various improvements to CcPermissionInfobar
+ Use luminance masking for webm assets
+ Introduce follow-accent property to CcMaskPaintable
+ Allow FQDN hostnames
+ Dependency updates:
- upower >= 1.90.6
- gsettings-desktop-schema >= 47.0
- libadwaita >= 1.7.alpha
+ About:
- Fixes wrong GPU names when g-c-c is launched using dGPU
- Turn CcCursorSizeDialog into a page
- Remove "screen" mark labels in zoom page
- Simplify cursor size subtitle
+ Apps:
- Avoid crash when parsing invalid app permissions
- Handle Epiphany webapps
- Various memory leak fixes
- Remove .circular style class from some buttons
- Load GnomeBG thumbnails async
- Internally handle scale-factor
- Allow for concurrent cache updates
- Generate one background thumbnail at a time
- Don't accidentally reset accent colors
- Add "undo" option when deleting a wallpaper
- Load async wallpapers in order
- Fix "Show details" link on profile warning
- Fix row expansion and button visibility
- Port "Add Profile" to AdwDialog
- Rename "Color" panel to "Color Management"
- Various code style improvements
- Port add profile page from GtkTreeView to GtkListView
- Ensure profile is connected before setting system-wide
- Various fixes to the color calibration tool
+ Date and Time:
- Fix incorrect disabling of auto timezone without location
services
- Use AdwToggleGroup in the "Time Format" row
+ Display:
- Snap monitors after updating prefer mode to current config
when enable join mode
- Port "Scale" and "Multiple Displays" rows to AdwToggleGroup
- Use real color temp in night light scale widget
+ Keyboard:
- Port Shortcut editor to AdwDialog
- Use "--parent-handle" option when launching Tecla (keyboard
layout previewer)
- Fix compose key example string
+ Network:
- Make metered connection and hotspot settings adaptive to
small screens
- Fix memory leaks in wireguard page
+ Notifications: Update UI when underlying gsetting changes
+ Mouse:
- Convert VP9 webm with alpha to monochrome variants (so we
don't need gstreamer-bad-plugins)
- Update webm illustration assets to latest versions
- Fix status pages alignments
- Use header capitalization in the "Turn off Airplane Mode"
button
+ Multitasking: Make workspace settings insensitive for single
workspace
+ Online Accounts: Track goa changes in PresentationIdentity and
update the UI accordingly
+ Power:
- Add support for battery charge limiting
- Split panel into "General" and "Power Saving" pages
- Split "Black Screen" setting in switch and delay
- Remove separate dialog for "Automatic Suspend"
- Various improvements on code readability and refactors
- Fix conflicting mnemonics
- Handle when tuned-ppd has an unsupported power profile
- Remove "search as you type" feature as it conflicts with
global search
- Add a confirmation dialog when attempting to clear all jobs
- Add "No Results" page when nothing to show on search
- Use a consistent printer icon in several status pages
- Set "Driver" row after selecting ppd file in Printer Details
dialog
- Port "Install PPD" dialog to GtkFileDialog
+ Region:
- Update language row after closing lang selector
- Port format chooser dialog to AdwDialog
- Show locale name in format chooser preview
- Reset format chooser preview when uncollapsing
+ Sound:
- Turn sound alert dialog into a subpage
- Prevent crash in Volume Levels when stream has no name
+ Search: Add a button to open custom search locations
+ Sharing:
- Fix saving of new shared folders in "Media Sharing" settings
- Make "Media Sharing" dialog use GtkFileDialog for new folders
+ Tests:
- Disable randomly failing network panel test
- Improve waiting on NM device/client changes
- Add FQDN hostname tests
+ Thunderbolt:
- Use AdwToast to display transient notifications
- Use property-rows style in device dialog
+ Users:
- Use a dialog to confirm fingerprint removal
- Stop shipping legacy avatar images
- Fix conflicting mnemonic in "Add User" dialog
- Port "Remove User" button to AdwButtonRow
- Make screen reader read avatar file names when there are no
names
- Port fingerprint dialog to AdwDialog
- Do not crash when handling an unknown stylus ID
- Support hidpi for tablet/stylus images
- Make assets recolorable
- Rename visible entry to "Graphics Tablet"
- Change from "left handed orientation" to "location of
buttons"
- Various style tweaks to stylus page
+ Wellbeing: Add initial Wellbeing panel (disabled by default)
+ Wifi:
- Fix crash on wifi adapter removal
- Fix using wifi hotspot with multiple wifi adapters
- Don't disable wireless globally when toggling one Wifi
connection OFF
-------------------------------------------------------------------
Mon Feb 3 16:35:42 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 47.4:
+ Use static hostname instead of pretty hostname (hostnamed) in
URLs
+ Fix a memory leak in CcMaskPaintable (used for illustrations)
+ Region: Inform accountsservice of all configured languages
+ Updated translations.
-------------------------------------------------------------------
Fri Jan 17 12:48:05 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Recommend ppd-server instead of power-profiles-daemon: there is
also tuned-ppd, which provides the same dbus interface. If the
user does not chose between the two, we suggest the original
power-profiles-daemon.
-------------------------------------------------------------------
Tue Jan 14 13:29:35 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Fix escaping of commented out patch: with RPM 4.20, %patch
becomes a standard, expandable macro, that can span more than one
line. Commenting out with #%patch can thus lead to invalid
results.
-------------------------------------------------------------------
Thu Jan 9 17:48:23 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 47.3:
+ About: Fix wrong GPU names when g-c-c is launched using dGPU.
+ Color: Various fixes to the color calibration tool.
+ Notifications: Update UI when underlying gsetting changes.
+ Network: Make metered connection and hotspot settings adaptive
to small screens.
+ Power: Handle when tuned-ppd has an unsupported power profile.
+ Sound: Prevent crash in Volume Levels when stream has no name.
+ Users: Make screen reader read avatar file names when there are
no names.
+ Updated translations.
-------------------------------------------------------------------
Mon Nov 25 13:24:11 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 47.2:
+ Accessibility: Remove "screen" labels that take too much space
+ Appearance: Fix accidental reset of accent colors config
+ Apps: Fix some memory leaks
+ Color: Ensure profiles are connected before operating on them
+ Mobile Networks: Fix alignment of status pages
+ Mouse:
- Fix illustration assets requiring gstreamer-plugins-bad
- Update illustration assets
+ Printers: Remove wrong tooltip in the "Add Printer" button
+ Updated translations.
-------------------------------------------------------------------
Tue Oct 29 18:27:27 UTC 2024 - bjorn.lie@gmail.com
- Update to version 47.1.1+9:
* wwan: Fix status pages
* default-apps-row:
- Fix auto_ptr usage causing leaks
- Fix auto_ptr use-after-free
* Updated translations.
-------------------------------------------------------------------
Tue Oct 22 15:12:56 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 47.1.1:
+ Fix crash on display scales > 1 due to conflicting type
registration.
-------------------------------------------------------------------
Mon Oct 21 16:31:01 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 47.1:
+ About: Allow FQDN hostnames
+ Appearance: Fix thumbnailing of backgrounds causing OOM kills
+ Date and Time: Fix resize issue in the time format row when
shown in small window sizes
+ Online Accounts: Fix untranslated account provider info string
+ Region and Language: Update language row after closing language
selector
+ Remote Desktop: Hide "Remote Desktop" row when
gnome-remote-desktop is not available
+ Wacom:
- Don't crash when handling an unknown stylus ID
- Don't show Map Buttons for fallback devices
- Handle all external remotes like an external TV remote-like
device
- Make assets recolaborable, supporting dark-style,
high-contrast, and accent colors
- Support HDPI for tablet/stylus illustration images
+ Updated translations.
-------------------------------------------------------------------
Fri Sep 27 17:25:17 UTC 2024 - bjorn.lie@gmail.com
- Update to version 47.0.1+8:
* online-accounts: Fix gettext use for row
* online-accounts: fix gettext calls to static strings
* Updated translations.
-------------------------------------------------------------------
Mon Sep 16 10:09:03 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 47.0.1:
+ Fix invalid appstream release notes syntax.
- Changes from version 47.0:
+ Appearance: Fix accessibility regression on background names.
+ Apps: Handle opening details of Epiphany webapps.
+ Color:
- Fix visibility of control buttons when expanding rows.
- Fix "Show details" link on profile warning.
+ Sharing: Make "Media Sharing" dialog use GtkFileDialog for
adding new folders.
+ Updated translations.
-------------------------------------------------------------------
Tue Sep 10 15:16:21 UTC 2024 - Michael Gorse <mgorse@suse.com>
- Rebase gnome-control-center-more-power-button-actions.patch.
- Update some version requirements.
-------------------------------------------------------------------
Tue Sep 3 12:06:51 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 47.rc:
+ Various ports from deprecated GTK and Libadwaita APIs
+ Appearance: Improve performance when loading wallpapers
+ Apps: Fix crash when handling invalid app permissions
+ Date and Time: Fix "Auto Timezone" setting visibility when
Location Services are unavailable
+ Online Accounts: Update description of MS365 online account
provider
+ Sharing: Fix adding "Shared Media" folders
+ Users:
- Update feedback icons for validating username and passwords
- Use a dialog to confirm removable of user fingerprints
+ WiFi: Fix crash when unplugging removable WiFi adapters
+ Updated translations.
-------------------------------------------------------------------
Thu Aug 29 19:35:16 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 47.beta:
+ Various CI fixes
+ Various ports to modern libadwaita widgets
+ Various mnemonics additions
+ Use GtkWindow.set_default_icon_name for legacy sessions
+ Accessibility: Rename "Reduce Animation" setting to "Animation
Effects"
+ Apps:
- Rename "File and Link Associations" page to "Files and Links"
- Show status page when Parental Controls aren't available
- Don't show "App is not sandboxed" banner for system
components
+ Display:
- Adapt rotation labels to the screen ratio
- Don't set automatic Night Light when Location Services are
unavailable
+ Keyboard
- Load input choice locales asynchronously
- Fix "Move" buttons in input rows
+ Location: Remove reference to now retired Mozilla Location
Services
+ Mouse:
- Use monochrome assets to support different accent colors
- Separate "Touchpad" row into its own preferences row group
+ Network: Don't set empty ignored hosts
+ Notifications: Turn "App Notifications" dialog into a subpage
+ Online Accounts: Add a toast overlay for panel
notifications/error messages
+ Users:
- Modernize the "Add User" dialog
- Respect password "enforcing" based on
/etc/security/pwquality.conf
- Avoid user names with underscores being interpreted as
mnemonics
- Show correctly the remaining list of fingerprints to enroll
- Reverse sorting of finger names list to prioritize most used
ones
+ Printers:
- Various tweaks for the PPD Selection dialog
- Add button instead of link to open printer cups web page
+ Privacy:
- Don't leak Bolt and Location subpages
- Fix visibility of Bolt settings when Bolt isn't available
+ Remote Desktop:
- Fix loop resetting credentials
- Use new gnome-remote-desktop server configuration DBUs
interface
+ Sound: Add an empty state page for when no sound device is
available
+ Wacom: Set up Wacom stylus keyboard shortcuts and switch
monitor
+ WWAN: Fix crash preventing the load of the SIM Unlock dialog
+ Updated translations.
- Rebase patch, and disable patch 1, needs manual rebase.
-------------------------------------------------------------------
Sun Aug 11 13:10:26 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 46.4:
+ Accessibility: Fix enum value for follow centered
+ Apps: Fix memory leak for MMManager object in default apps page
+ Network: Don't set empty ignored hosts
+ Privacy: Fix visibility issue of Bolt settings when Bolt isn't
available
+ Users:
- Avoid accidental mnemonics for user name rows
- Show correctly the remaining list of fingerprints to enroll
+ WWAN: Fix crash on Unlock SIM dialog
-------------------------------------------------------------------
Tue Jul 30 19:37:27 UTC 2024 - Michael Gorse <mgorse@suse.com>
- Rebase gnome-control-center-info-never-use-gnome-software.patch
and rename to
gnome-control-center-system-never-use-gnome-software.patch
- Rebase gnome-control-center-bring-back-firewall-zone.patch.
-------------------------------------------------------------------
Fri Jun 28 20:33:21 UTC 2024 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 46.3:
+ CI fixes
+ Mouse: Make Mouse test click indicator not respond for middle
clicks
+ Network: Reference icon-name proper for wifi panel
+ Tests: Don't require Xvfb or setxkbmap for tests
+ Sharing: Make Orca read the "Add Folder" row in Media Sharing
settings
+ Update translations.
- Refresh patches with quilt.
-------------------------------------------------------------------
Tue Jun 4 09:31:03 UTC 2024 - Alynx Zhou <alynx.zhou@suse.com>
Tue May 21 08:42:35 UTC 2024 - Alynx Zhou <alynx.zhou@suse.com>
- Update gnome-control-center-disable-error-message-for-NM.patch:
Add info page to toolbar view instead of navigation page to
prevent hiding close button (bsc#1222099).
-------------------------------------------------------------------
Mon Jun 3 09:40:10 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 46.2:
+ Enable the "Location" settings panel by default.
+ Improve accessibility of some secondary-labels in settings
rows.
+ Increase default log verbosity level.
+ Accessibility:
- Fix icon name of accessibility panel desktop file.
- Fix flash area settings selection shown incorrectly.
+ Display: Fix crash when closing laptop lid.
+ Keyboard: Fix keyboard navigation of keyboard shortcuts dialog
categories.
+ Mouse and Touchpad: Remove unnecessary a11y label.
+ Network:
- Fix crash when removing bluetooth network adapter row.
- Sort VPN connections list alphabetically.
- Remove incorrect assertion that breaks proxy settings page.
+ Sound:
- Make sliders more accessible by keyboard.
- Remove need for translating speaker test button tooltip.
+ System:
- Improve accessibility of "Copy" buttons in Remote Desktop.
- Fix crash in Date And Time settings closing before async
calls finish.
- Fix reuse of remote-desktop verify encryption fingerprint
dialog.
+ Users: Fix visibility issue in parental controls row.
+ Updated translations.
-------------------------------------------------------------------
Fri May 24 02:33:07 UTC 2024 - Xiaoguang Wang <xiaoguang.wang@suse.com>
- Add gnome-control-center-users-page-Don-t-show-the-system-accounts.patch:
not show system account in Users panel
(bsc#1224199 glgo#GNOME/Settings#3066).
-------------------------------------------------------------------
Mon May 13 23:02:40 UTC 2024 - Richard Rahl <rrahl0@disroot.org>
- Re-Enable location-services support:
+ Pass -Dlocation-services=enabled to meson.
** Support had been disabled by upstream as the mozilla location
service will shut down. which in turn means location service
will not be very accurate anymore.
-------------------------------------------------------------------
Thu May 2 08:14:33 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 46.1:
+ Accessibility: Improve accessibility of "Typing" settings
sliders.
+ Display: Fix crash when pressing Escape in the display
settings.
+ Network: Add stable-ssid support for cloned-mac.
+ Privacy:
- Add build option to enable Location services
- Fix opening of Help pages while viewing Privacy settings
+ Sharing: Auto hide Sharing panel when Rygel AND
gnome-user-share are not available.
+ System:
- Don't show auto-timezone setting when Location services
unavailable.
- Avoid unnecessary time-change requests.
- Fix issue with sensitivity of "Add" and "Enroll" Enterprise
Login buttons.
- Improve generated passwords capacity in Remote Desktop
settings.
+ Wacom: Check for the right output connector name.
- Drop upstream merged
gnome-control-center-datetime-Avoid-emitting-the-time-changed-signal.patch.
-------------------------------------------------------------------
Mon Apr 8 03:14:11 UTC 2024 - Xiaoguang Wang <xiaoguang.wang@suse.com>
@@ -552,160 +12,6 @@ Mon Apr 8 03:14:11 UTC 2024 - Xiaoguang Wang <xiaoguang.wang@suse.com>
Avoid emitting the time-changed signal
(bsc#1222149, bsc#1221799, glgo#GNOME/gnome-control-center#2943).
-------------------------------------------------------------------
Wed Mar 27 18:23:40 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 46.0.1:
+ Handle legacy panel arguments
+ Accessibility: Allow launching subpages directly.
+ Privacy: Fix Thunderbolt panel not launching.
+ System:
- Avoid setting auto time sync when it isn't needed.
- Improve startup time by loading subpages on demand.
+ Updated translations.
-------------------------------------------------------------------
Tue Mar 19 08:48:25 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Split out users panel: it shall not be installed by default on
Aeon.
-------------------------------------------------------------------
Mon Mar 18 12:28:20 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 46.0:
+ Update links in appdata file
+ Improve sidebar search results
+ Appearance: Add a transition to the selected background check.
+ Color: Fix visibility of calibration button.
+ Online Accounts: Reorder online account providers list.
+ Privacy & Security: Allow launching subpages of the privacy
panel directly.
+ Wacom:
- Bump libwacom dependency requirement to >= 1.4.
- Add AES styli as separate stylus SVG.
- Accept eraser types of button when matching stylus IDs.
-------------------------------------------------------------------
Fri Mar 15 11:52:05 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 46.rc+75:
+ Allow launching some subpages from the command line.
+ Various ports of custom widgets to libadwaita widgets.
+ Appearance: Track current active background better.
+ Display:
- Add support for Variable Refresh Rate (VRR) modes.
- Show the full VRR range for a monitor when possible.
+ System:
- Introduce the "Remote Login" settings.
- Rename the old "Remote Desktop" settings to "Desktop
Sharing".
- Reintroduce some of "System" pages as search results.
+ Users:
- Fix issue with newly created user page showing other user's
info.
- Introduce a new "Add Enterprise User" dialog.
-------------------------------------------------------------------
Tue Feb 13 15:47:18 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 46.beta.2:
+ Exceptional release to fix translations.
-------------------------------------------------------------------
Tue Feb 13 11:48:39 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 46.beta.1:
+ Exceptional release to include gnome-online-accounts changes.
-------------------------------------------------------------------
Mon Feb 12 16:58:00 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 46.beta:
+ Drop pkexec dependency.
+ Bump gcr dependency to gcr4.
+ Reorder sidebar/panel list.
+ Use g_clear_handle_id with g_source_remove to remove GSources.
+ Add CcHostname as a wrapper to interact with system-hostnamed.
+ Remove periods in subtitles/descriptions/labels according to
the HIG.
+ Various string/sentence rewording (for clarity).
+ Various style changes in symbolic icons.
+ Various ports of custom widgets to modern libadwaita
alternatives.
+ Various new mnemonics added.
+ Accessibility:
- Expose new "show-status-shapes" setting.
- Rephrase overamplification string in the "Hearing" settings.
- Stop tracking old GTK theme.
- Stop forcing HighContrast icon theme (The theme is considered
deprecated).
+ Apps:
- Tweak headings & descriptions from Default Apps sections.
- Tweak the autorun-never option design (inverting the
autorun-never option logic).
- Use modern libadwaita widgets in the Removable Media
settings.
+ Keyboard: Use AdwActionRow to show the key modifier options.
+ Network: Fix missing VPN entries.
+ Mouse:
- Add "Test Settings" button to the body of the panel.
- Modernize mouse test dialog (adds secondary-click test).
+ Printers:
- Add padding to the sidebar items from "Printer Options".
- Add .suggested-action style class to "Test Page" button.
+ Privacy:
- Hide non-functional microphone panel.
+ Search:
- Add commandline parameter for opening the Search Locations
dialog directly.
- Stop removing non-existent folders from tracker.
- Expose single directory setting.
- Add placeholder for custom locations.
- Set title for non-existent bookmarks.
- Always show switch for default/bookmarks.
- Handle unset XDG dirs.
- Tweak search locations labels.
+ Sharing:
- Fix alignment of networks section in the File/Media sharing
dialogs.
- Use edit-delete-symbolic in networks list rather than
window-close-symbolic.
- Move main switches from dialog headerbars into the dialog's
content area.
+ Sound:
- Show radio buttons as prefix for the Alert Sound rows.
- Add tooltips to all speaker test buttons.
+ System:
- Move "Remote Login" from sharing panel to System (now named
"Secure Shell").
- Use polkit to request permissions to enable/disable sshd.
- Create CcSystemDetailsWindow upon opening (speed up System
panel startup time).
- Fix crash in About page after dark mode switch.
- Don't show Remote Desktop settings when backend is not
available.
- Show gnome-control-center version on the "GNOME Version" row
in the About page.
- Fix language chooser dialog not closing in Users page.
+ Wi-Fi:
- Show password when sharing QR Code.
- Fix crash with toast notifications in the Saved Networks
dialog.
+ Updated translations.
- Drop gnome-control-center-add-user-button.patch: no longer
applicable.
-------------------------------------------------------------------
Mon Feb 12 16:56:32 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 45.3:
+ Datetime: Fix build with -Wincompatible-pointer-types.
+ Region: Prevent preview crash from accessing invalid pointer.
+ Wifi: Fix build with -Wincompatible-pointer-types.
- Drop gnome-control-center-fix-region-preview-crash.patch: fixed
upstream.
-------------------------------------------------------------------
Thu Jan 4 02:08:39 UTC 2024 - Alynx Zhou <alynx.zhou@suse.com>

View File

@@ -1,4 +1,4 @@
name: gnome-control-center
version: 48.0
mtime: 1742214147
commit: 608bdf39d7e47e73abfb29573c91eb84bb12ea60
version: 45.2
mtime: 1701946236
commit: cc5da95fecaeb5486435c54917edf9633addc02d

View File

@@ -1,7 +1,7 @@
#
# spec file for package gnome-control-center
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,26 +26,33 @@
%endif
Name: gnome-control-center
Version: 48.0
Version: 45.2
Release: 0
Summary: The GNOME Control Center
License: GPL-2.0-or-later
Group: System/GUI/GNOME
URL: https://apps.gnome.org/app/org.gnome.Settings
Source0: %{name}-%{version}.tar.zst
Source1: libgxdp-0.gitmodule.tar.zst
Source99: %{name}-rpmlintrc
# PATCH-FIX-OPENSUSE gnome-control-center-disable-error-message-for-NM.patch bsc#989801 sckang@suse.com -- network: Improve the check for whether NM or wicked is running
Patch1: gnome-control-center-disable-error-message-for-NM.patch
# PATCH-FIX-UPSTREAM gnome-control-center-add-user-button.patch bsc#1215556 glgo#GNOME/Settings!1927 xwang@suse.com -- Show add user button
Patch2: gnome-control-center-add-user-button.patch
# PATCH-FIX-UPSTREAM gnome-control-center-fix-region-preview-crash.patch bsc#1218528 glgo#GNOME/gnome-control-center!2122 alynx.zhou@suse.com -- Fix crash of region preview dialog
Patch3: gnome-control-center-fix-region-preview-crash.patch
# PATCH-FIX-UPSTREAM gnome-control-center-datetime-Avoid-emitting-the-time-changed-signal.patch bsc#1222149 glgo#GNOME/gnome-control-center#2943 xwang@suse.com -- Avoid emitting the time-changed signal
Patch4: gnome-control-center-datetime-Avoid-emitting-the-time-changed-signal.patch
### patches for Leap >= 15 plus SLE >= 15, but not TW
# PATCH-FEATURE-SLE gnome-control-center-system-never-use-gnome-software.patch bsc#999336 fezhang@suse.com -- info: Never search for gnome-software as an option when checking for updates on SLE and Leap 42.2, because we use gpk-update-viewer.
Patch1001: gnome-control-center-system-never-use-gnome-software.patch
# PATCH-FEATURE-SLE gnome-control-center-info-never-use-gnome-software.patch bsc#999336 fezhang@suse.com -- info: Never search for gnome-software as an option when checking for updates on SLE and Leap 42.2, because we use gpk-update-viewer.
Patch1001: gnome-control-center-info-never-use-gnome-software.patch
# PATCH-FEATURE-SLE gnome-control-center-more-power-button-actions.patch bsc#993381 fezhang@suse.com -- power: Bring back the "shutdown" and "interactive" power button actions.
Patch1002: gnome-control-center-more-power-button-actions.patch
# PATCH-FEATURE-SLE gnome-control-center-bring-back-firewall-zone.patch fate#316719 sckang@suse.com -- network: Bring back the firewall zone combo box to select proper firewall zone for each connection.
Patch1003: gnome-control-center-bring-back-firewall-zone.patch
# PATCH-NEEDS-REBASE gnome-control-center-info-fix-distro-logo.patch boo#1200581 milachew@mail.lv -- Fix the size of logo icon in About system
Patch1004: gnome-control-center-info-fix-distro-logo.patch
BuildRequires: /usr/bin/Xvfb
BuildRequires: cups-devel >= 1.4
@@ -53,7 +60,7 @@ BuildRequires: desktop-file-utils
BuildRequires: fdupes
BuildRequires: intltool
BuildRequires: krb5-devel
BuildRequires: meson >= 0.58.0
BuildRequires: meson >= 0.57.0
BuildRequires: pkgconfig
BuildRequires: python3-dbusmock
BuildRequires: xsltproc
@@ -62,27 +69,27 @@ BuildRequires: pkgconfig(cairo-gobject)
BuildRequires: pkgconfig(colord) >= 0.1.34
BuildRequires: pkgconfig(colord-gtk4)
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(gcr-4) >= 4.1.0
BuildRequires: pkgconfig(gcr-base-3)
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.23.0
BuildRequires: pkgconfig(gdk-wayland-3.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glib-2.0) >= 2.76.6
BuildRequires: pkgconfig(glib-2.0) >= 2.68.0
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gnome-bluetooth-3.0)
BuildRequires: pkgconfig(gnome-desktop-4)
BuildRequires: pkgconfig(gnome-settings-daemon) >= 41
BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(goa-1.0) >= 3.51.0
BuildRequires: pkgconfig(goa-1.0) >= 3.25.3
BuildRequires: pkgconfig(goa-backend-1.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 47.0
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 40.alpha
BuildRequires: pkgconfig(gsound)
BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtk4) >= 4.15.2
BuildRequires: pkgconfig(gtk4) >= 4.8
BuildRequires: pkgconfig(gudev-1.0)
BuildRequires: pkgconfig(libadwaita-1) >= 1.6.beta
BuildRequires: pkgconfig(libadwaita-1) >= 1.2.alpha
BuildRequires: pkgconfig(libgtop-2.0)
BuildRequires: pkgconfig(libnm) >= 1.24.0
BuildRequires: pkgconfig(libnma-gtk4)
@@ -104,7 +111,7 @@ BuildRequires: pkgconfig(xft)
BuildRequires: pkgconfig(xi) >= 1.2
## CONDITIONAL BUILD REQUIREMENTS
%if %{with wacom}
BuildRequires: pkgconfig(libwacom) >= 1.4
BuildRequires: pkgconfig(libwacom) >= 0.7
%endif
%if %{with ibus}
BuildRequires: pkgconfig(ibus-1.0) >= 1.5.2
@@ -126,11 +133,7 @@ Recommends: dbus(com.intel.dleyna-server)
# the printers panel can use the dbus service
Recommends: system-config-printer-dbus-service
# For the power panel
# power-profile-daemon uses a dbus interface, which is provided by tuned-ppd and power-profiles-daemom
# Either one will do
Recommends: ppd-server
# If the user expresses no choice, we pick the original power-profiles-daemon for now
Suggests: power-profiles-daemon
Recommends: power-profiles-daemon
%description
The control center is GNOME's main interface for configuration of
@@ -182,30 +185,22 @@ BuildArch: noarch
This package provides the online accounts onfiguration panel for
GNOME control center.
%package users
Summary: Configuration panel for User accounts
Group: System/GUI/GNOME
Requires: %{name} = %{version}
Supplements: %{name}
BuildArch: noarch
%description users
This package provides the online accounts onfiguration panel for
GNOME control center.
%lang_package
%prep
%autosetup -N
pushd subprojects
tar xf %{SOURCE1}
mv libgxdp-0.gitmodule libgxdp
popd
%autopatch -p1 -M 999
%setup -q
%patch -P 1 -p1
%patch -P 2 -p1
%patch -P 3 -p1
%patch -P 4 -p1
# patches for Leap >= 15 plus SLE >= 15, but not TW
%if !0%{?is_opensuse} || 0%{?suse_version} <= 1600
%autopatch -p1 -m 1000
%if 0%{?sle_version} >= 150000
%patch -P 1001 -p1
%patch -P 1002 -p1
%patch -P 1003 -p1
# patch needs rebase
# %patch -P 1004 -p1
%endif
%build
@@ -214,11 +209,12 @@ popd
%{!?with_ibus: -Dibus=false} \
-Dmalcontent=true \
-Dtests=false \
-Dsnap=false \
-Dlocation-services=enabled \
%{nil}
%meson_build
#%%check
#%%meson_test
%install
%meson_install
%find_lang %{name}-2.0 %{?no_lang_C}
@@ -228,9 +224,6 @@ popd
# We do not package gnome-control-center.rules (bnc#804966)
rm %{buildroot}%{_datadir}/polkit-1/rules.d/gnome-control-center.rules
%check
%meson_test
%files
%license COPYING
%doc NEWS README.md
@@ -238,12 +231,8 @@ rm %{buildroot}%{_datadir}/polkit-1/rules.d/gnome-control-center.rules
%{_datadir}/metainfo/org.gnome.Settings.appdata.xml
%exclude %{_datadir}/applications/gnome-color-panel.desktop
%exclude %{_datadir}/applications/gnome-online-accounts-panel.desktop
%exclude %{_datadir}/applications/gnome-users-panel.desktop
%{_datadir}/applications/*.desktop
%{_datadir}/bash-completion/completions/gnome-control-center
%{_libexecdir}/gnome-control-center-global-shortcuts-provider
%{_datadir}/dbus-1/interfaces/org.gnome.GlobalShortcutsRebind.xml
%{_datadir}/dbus-1/services/org.gnome.Settings.GlobalShortcutsProvider.service
%{_datadir}/dbus-1/services/org.gnome.Settings.service
%{_datadir}/dbus-1/services/org.gnome.Settings.SearchProvider.service
%{_datadir}/glib-2.0/schemas/org.gnome.Settings.gschema.xml
@@ -255,9 +244,8 @@ rm %{buildroot}%{_datadir}/polkit-1/rules.d/gnome-control-center.rules
%{_datadir}/icons/gnome-logo-text-dark.svg
%{_datadir}/icons/gnome-logo-text.svg
%{_datadir}/locale/en/
%{_datadir}/polkit-1/actions/org.gnome.controlcenter.datetime.policy
%{_datadir}/polkit-1/actions/org.gnome.controlcenter.remote-login-helper.policy
%{_datadir}/polkit-1/actions/org.gnome.controlcenter.remote-session-helper.policy
%{_datadir}/polkit-1/actions/org.gnome.controlcenter.system.policy
%{_datadir}/polkit-1/actions/org.gnome.controlcenter.user-accounts.policy
# We do not package gnome-control-center.rules
#{_datadir}/polkit-1/rules.d/gnome-control-center.rules
@@ -265,6 +253,8 @@ rm %{buildroot}%{_datadir}/polkit-1/rules.d/gnome-control-center.rules
%dir %{_datadir}/sounds/gnome/default
%dir %{_datadir}/sounds/gnome/default/alerts
%{_datadir}/sounds/gnome/default/alerts/*.ogg
%{_libexecdir}/cc-remote-login-helper
%{_libexecdir}/gnome-control-center-goa-helper
%{_libexecdir}/gnome-control-center-print-renderer
%{_libexecdir}/gnome-control-center-search-provider
%{_mandir}/man1/gnome-control-center.1%{?ext_man}
@@ -278,9 +268,6 @@ rm %{buildroot}%{_datadir}/polkit-1/rules.d/gnome-control-center.rules
%files goa
%{_datadir}/applications/gnome-online-accounts-panel.desktop
%files users
%{_datadir}/applications/gnome-users-panel.desktop
%files devel
%doc gnome-control-center.doap
%{_datadir}/pkgconfig/gnome-keybindings.pc

BIN
libgxdp-0.gitmodule.obscpio (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,4 +0,0 @@
name: libgxdp
version: 0.gitmodule
mtime: 1739729993
commit: e68375c7aced97705953b8e3b30af9f17991153b