import gnome-control-center-40.0-23.el9_0
This commit is contained in:
commit
4b00ec33a1
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
SOURCES/gnome-control-center-40.0.tar.xz
|
1
.gnome-control-center.metadata
Normal file
1
.gnome-control-center.metadata
Normal file
@ -0,0 +1 @@
|
|||||||
|
06a456d779b174a29ea65801133d2b85fcc02732 SOURCES/gnome-control-center-40.0.tar.xz
|
@ -0,0 +1,189 @@
|
|||||||
|
From f6e0cba768d376a7f710dd8a69c17ec50c7a13a9 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Jonas=20=C3=85dahl?= <jadahl@gmail.com>
|
||||||
|
Date: Fri, 4 Feb 2022 11:09:24 +0100
|
||||||
|
Subject: [PATCH] display: Only display configuration options if apply is
|
||||||
|
allowed
|
||||||
|
|
||||||
|
org.gnome.Mutter.DisplayConfig contains a new property that tells
|
||||||
|
whether apply will be allowed to be called or not. Whether it is true or
|
||||||
|
not depends on policy stored in any of its monitors.xml configuration
|
||||||
|
files.
|
||||||
|
|
||||||
|
In order to make it clearer that configuration is not possible, except
|
||||||
|
for night light, make sure to hide the unconfigurable parts, leaving
|
||||||
|
only night light.
|
||||||
|
---
|
||||||
|
.../display/cc-display-config-manager-dbus.c | 36 +++++++++++++++++++
|
||||||
|
panels/display/cc-display-config-manager.c | 6 ++++
|
||||||
|
panels/display/cc-display-config-manager.h | 3 ++
|
||||||
|
panels/display/cc-display-panel.c | 11 ++++++
|
||||||
|
panels/display/cc-display-panel.ui | 2 +-
|
||||||
|
5 files changed, 57 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/panels/display/cc-display-config-manager-dbus.c b/panels/display/cc-display-config-manager-dbus.c
|
||||||
|
index 653bea0b5..392140101 100644
|
||||||
|
--- a/panels/display/cc-display-config-manager-dbus.c
|
||||||
|
+++ b/panels/display/cc-display-config-manager-dbus.c
|
||||||
|
@@ -31,6 +31,8 @@ struct _CcDisplayConfigManagerDBus
|
||||||
|
guint monitors_changed_id;
|
||||||
|
|
||||||
|
GVariant *current_state;
|
||||||
|
+
|
||||||
|
+ gboolean apply_allowed;
|
||||||
|
};
|
||||||
|
|
||||||
|
G_DEFINE_TYPE (CcDisplayConfigManagerDBus,
|
||||||
|
@@ -118,6 +120,8 @@ bus_gotten (GObject *object,
|
||||||
|
CcDisplayConfigManagerDBus *self;
|
||||||
|
GDBusConnection *connection;
|
||||||
|
g_autoptr(GError) error = NULL;
|
||||||
|
+ g_autoptr(GDBusProxy) proxy = NULL;
|
||||||
|
+ g_autoptr(GVariant) variant = NULL;
|
||||||
|
|
||||||
|
connection = g_bus_get_finish (result, &error);
|
||||||
|
if (!connection)
|
||||||
|
@@ -143,12 +147,35 @@ bus_gotten (GObject *object,
|
||||||
|
monitors_changed,
|
||||||
|
self,
|
||||||
|
NULL);
|
||||||
|
+
|
||||||
|
+ proxy = g_dbus_proxy_new_sync (self->connection,
|
||||||
|
+ G_DBUS_PROXY_FLAGS_NONE,
|
||||||
|
+ NULL,
|
||||||
|
+ "org.gnome.Mutter.DisplayConfig",
|
||||||
|
+ "/org/gnome/Mutter/DisplayConfig",
|
||||||
|
+ "org.gnome.Mutter.DisplayConfig",
|
||||||
|
+ NULL,
|
||||||
|
+ &error);
|
||||||
|
+ if (!proxy)
|
||||||
|
+ {
|
||||||
|
+ g_warning ("Failed to create D-Bus proxy to \"org.gnome.Mutter.DisplayConfig\": %s",
|
||||||
|
+ error->message);
|
||||||
|
+ return;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
+ variant = g_dbus_proxy_get_cached_property (proxy, "ApplyMonitorsConfigAllowed");
|
||||||
|
+ if (variant)
|
||||||
|
+ self->apply_allowed = g_variant_get_boolean (variant);
|
||||||
|
+ else
|
||||||
|
+ g_warning ("Missing property 'ApplyMonitorsConfigAllowed' on DisplayConfig API");
|
||||||
|
+
|
||||||
|
get_current_state (self);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
cc_display_config_manager_dbus_init (CcDisplayConfigManagerDBus *self)
|
||||||
|
{
|
||||||
|
+ self->apply_allowed = TRUE;
|
||||||
|
self->cancellable = g_cancellable_new ();
|
||||||
|
g_bus_get (G_BUS_TYPE_SESSION, self->cancellable, bus_gotten, self);
|
||||||
|
}
|
||||||
|
@@ -170,6 +197,14 @@ cc_display_config_manager_dbus_finalize (GObject *object)
|
||||||
|
G_OBJECT_CLASS (cc_display_config_manager_dbus_parent_class)->finalize (object);
|
||||||
|
}
|
||||||
|
|
||||||
|
+static gboolean
|
||||||
|
+cc_display_config_manager_dbus_get_apply_allowed (CcDisplayConfigManager *pself)
|
||||||
|
+{
|
||||||
|
+ CcDisplayConfigManagerDBus *self = CC_DISPLAY_CONFIG_MANAGER_DBUS (pself);
|
||||||
|
+
|
||||||
|
+ return self->apply_allowed;
|
||||||
|
+}
|
||||||
|
+
|
||||||
|
static void
|
||||||
|
cc_display_config_manager_dbus_class_init (CcDisplayConfigManagerDBusClass *klass)
|
||||||
|
{
|
||||||
|
@@ -179,6 +214,7 @@ cc_display_config_manager_dbus_class_init (CcDisplayConfigManagerDBusClass *klas
|
||||||
|
gobject_class->finalize = cc_display_config_manager_dbus_finalize;
|
||||||
|
|
||||||
|
parent_class->get_current = cc_display_config_manager_dbus_get_current;
|
||||||
|
+ parent_class->get_apply_allowed = cc_display_config_manager_dbus_get_apply_allowed;
|
||||||
|
}
|
||||||
|
|
||||||
|
CcDisplayConfigManager *
|
||||||
|
diff --git a/panels/display/cc-display-config-manager.c b/panels/display/cc-display-config-manager.c
|
||||||
|
index 0da298a29..3d683c53d 100644
|
||||||
|
--- a/panels/display/cc-display-config-manager.c
|
||||||
|
+++ b/panels/display/cc-display-config-manager.c
|
||||||
|
@@ -59,3 +59,9 @@ cc_display_config_manager_get_current (CcDisplayConfigManager *self)
|
||||||
|
{
|
||||||
|
return CC_DISPLAY_CONFIG_MANAGER_GET_CLASS (self)->get_current (self);
|
||||||
|
}
|
||||||
|
+
|
||||||
|
+gboolean
|
||||||
|
+cc_display_config_manager_get_apply_allowed (CcDisplayConfigManager *self)
|
||||||
|
+{
|
||||||
|
+ return CC_DISPLAY_CONFIG_MANAGER_GET_CLASS (self)->get_apply_allowed (self);
|
||||||
|
+}
|
||||||
|
diff --git a/panels/display/cc-display-config-manager.h b/panels/display/cc-display-config-manager.h
|
||||||
|
index 1e1b36373..64f0775e9 100644
|
||||||
|
--- a/panels/display/cc-display-config-manager.h
|
||||||
|
+++ b/panels/display/cc-display-config-manager.h
|
||||||
|
@@ -34,10 +34,13 @@ struct _CcDisplayConfigManagerClass
|
||||||
|
GObjectClass parent_class;
|
||||||
|
|
||||||
|
CcDisplayConfig * (*get_current) (CcDisplayConfigManager *self);
|
||||||
|
+ gboolean (* get_apply_allowed) (CcDisplayConfigManager *self);
|
||||||
|
};
|
||||||
|
|
||||||
|
CcDisplayConfig * cc_display_config_manager_get_current (CcDisplayConfigManager *self);
|
||||||
|
|
||||||
|
+gboolean cc_display_config_manager_get_apply_allowed (CcDisplayConfigManager *self);
|
||||||
|
+
|
||||||
|
void _cc_display_config_manager_emit_changed (CcDisplayConfigManager *self);
|
||||||
|
|
||||||
|
G_END_DECLS
|
||||||
|
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
|
||||||
|
index 93c983f89..2cfd714d3 100644
|
||||||
|
--- a/panels/display/cc-display-panel.c
|
||||||
|
+++ b/panels/display/cc-display-panel.c
|
||||||
|
@@ -69,6 +69,8 @@ struct _CcDisplayPanel
|
||||||
|
|
||||||
|
gint rebuilding_counter;
|
||||||
|
|
||||||
|
+ GtkWidget *displays_page;
|
||||||
|
+
|
||||||
|
CcDisplayArrangement *arrangement;
|
||||||
|
CcDisplaySettings *settings;
|
||||||
|
|
||||||
|
@@ -691,6 +693,7 @@ cc_display_panel_class_init (CcDisplayPanelClass *klass)
|
||||||
|
gtk_widget_class_bind_template_child (widget_class, CcDisplayPanel, current_output_label);
|
||||||
|
gtk_widget_class_bind_template_child (widget_class, CcDisplayPanel, display_settings_frame);
|
||||||
|
gtk_widget_class_bind_template_child (widget_class, CcDisplayPanel, multi_selection_box);
|
||||||
|
+ gtk_widget_class_bind_template_child (widget_class, CcDisplayPanel, displays_page);
|
||||||
|
gtk_widget_class_bind_template_child (widget_class, CcDisplayPanel, night_light_page);
|
||||||
|
gtk_widget_class_bind_template_child (widget_class, CcDisplayPanel, output_enabled_switch);
|
||||||
|
gtk_widget_class_bind_template_child (widget_class, CcDisplayPanel, output_selection_combo);
|
||||||
|
@@ -779,8 +782,16 @@ rebuild_ui (CcDisplayPanel *panel)
|
||||||
|
GList *outputs, *l;
|
||||||
|
CcDisplayConfigType type;
|
||||||
|
|
||||||
|
+ if (!cc_display_config_manager_get_apply_allowed (panel->manager))
|
||||||
|
+ {
|
||||||
|
+ gtk_widget_set_visible (panel->displays_page, FALSE);
|
||||||
|
+ return;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
panel->rebuilding_counter++;
|
||||||
|
|
||||||
|
+ gtk_widget_set_visible (panel->displays_page, TRUE);
|
||||||
|
+
|
||||||
|
g_list_store_remove_all (panel->primary_display_list);
|
||||||
|
gtk_list_store_clear (panel->output_selection_list);
|
||||||
|
|
||||||
|
diff --git a/panels/display/cc-display-panel.ui b/panels/display/cc-display-panel.ui
|
||||||
|
index 855b34814..80fd63ace 100644
|
||||||
|
--- a/panels/display/cc-display-panel.ui
|
||||||
|
+++ b/panels/display/cc-display-panel.ui
|
||||||
|
@@ -47,7 +47,7 @@
|
||||||
|
|
||||||
|
<!-- Displays page -->
|
||||||
|
<child>
|
||||||
|
- <object class="GtkScrolledWindow">
|
||||||
|
+ <object class="GtkScrolledWindow" id="displays_page">
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">False</property>
|
||||||
|
<property name="hscrollbar_policy">never</property>
|
||||||
|
--
|
||||||
|
2.33.1
|
||||||
|
|
59
SOURCES/0001-network-Fix-OWE-settings.patch
Normal file
59
SOURCES/0001-network-Fix-OWE-settings.patch
Normal file
@ -0,0 +1,59 @@
|
|||||||
|
From 43bb1d9200554527cefaa2ce969bebc80d781c73 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ana Cabral <acabral@redhat.com>
|
||||||
|
Date: Mon, 21 Feb 2022 21:49:29 +0100
|
||||||
|
Subject: [PATCH] network: Fix OWE settings
|
||||||
|
|
||||||
|
Enhanced Open (OWE) is not being saved properly from connection-editor.
|
||||||
|
When we create a Wi-Fi connection using Enhanced Open (OWE) Security
|
||||||
|
from nm-connection-editor and save it, it was not being saved and the
|
||||||
|
security was being set as "None", with Wireless Security Setting
|
||||||
|
being discarded. This is fixed by this commit. The fix is also being
|
||||||
|
done in libnma (implementing OWE in libnma,
|
||||||
|
https://gitlab.gnome.org/GNOME/libnma/-/issues/9), but this commit
|
||||||
|
fixes meanwhile it gets ready.
|
||||||
|
|
||||||
|
It was solved by adding treatment for the case in which owe was set.
|
||||||
|
OWE is not treated anymore in the same case as None.
|
||||||
|
|
||||||
|
https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1521
|
||||||
|
---
|
||||||
|
.../connection-editor/ce-page-security.c | 23 +++++++++++++++----
|
||||||
|
1 file changed, 19 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/panels/network/connection-editor/ce-page-security.c b/panels/network/connection-editor/ce-page-security.c
|
||||||
|
index a63b9394a..c7cd7d940 100644
|
||||||
|
--- a/panels/network/connection-editor/ce-page-security.c
|
||||||
|
+++ b/panels/network/connection-editor/ce-page-security.c
|
||||||
|
@@ -460,10 +460,25 @@ ce_page_security_validate (CEPage *page,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
- /* No security, unencrypted */
|
||||||
|
- nm_connection_remove_setting (connection, NM_TYPE_SETTING_WIRELESS_SECURITY);
|
||||||
|
- nm_connection_remove_setting (connection, NM_TYPE_SETTING_802_1X);
|
||||||
|
- valid = TRUE;
|
||||||
|
+
|
||||||
|
+ if (gtk_combo_box_get_active ((CE_PAGE_SECURITY (self))->security_combo) == 0) {
|
||||||
|
+ /* No security, unencrypted */
|
||||||
|
+ nm_connection_remove_setting (connection, NM_TYPE_SETTING_WIRELESS_SECURITY);
|
||||||
|
+ nm_connection_remove_setting (connection, NM_TYPE_SETTING_802_1X);
|
||||||
|
+ valid = TRUE;
|
||||||
|
+ } else {
|
||||||
|
+ /* owe case:
|
||||||
|
+ * fill the connection manually until libnma implements OWE wireless security
|
||||||
|
+ */
|
||||||
|
+ NMSetting *sws;
|
||||||
|
+
|
||||||
|
+ sws = nm_setting_wireless_security_new ();
|
||||||
|
+ g_object_set (sws, NM_SETTING_WIRELESS_SECURITY_KEY_MGMT, "owe", NULL);
|
||||||
|
+ nm_connection_add_setting (connection, sws);
|
||||||
|
+ nm_connection_remove_setting (connection, NM_TYPE_SETTING_802_1X);
|
||||||
|
+ valid = TRUE;
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
}
|
||||||
|
|
||||||
|
return valid;
|
||||||
|
--
|
||||||
|
2.35.1
|
||||||
|
|
42
SOURCES/application-use-icon-name-that-exists.patch
Normal file
42
SOURCES/application-use-icon-name-that-exists.patch
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
From 0e2562c2c5ff081561424c625b090f089ef45fe7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Felipe Borges <felipeborges@gnome.org>
|
||||||
|
Date: Fri, 14 Jan 2022 13:28:24 +0100
|
||||||
|
Subject: [PATCH] applications: Set the Icon key in desktop file to a icon that
|
||||||
|
exists
|
||||||
|
|
||||||
|
While we dynamically append --symbolic to the icons while creating
|
||||||
|
the sidebar model in
|
||||||
|
https://gitlab.gnome.org/GNOME/gnome-control-center/-/blob/master/shell/cc-shell-model.c#L270
|
||||||
|
There are automation tools (such as rpmdiff) that parse desktop files
|
||||||
|
and verify whether their Icon= matches to an existing file in the
|
||||||
|
icon theme package.
|
||||||
|
|
||||||
|
preferences-desktop-apps doesn't exist in adwaita-icon-theme but
|
||||||
|
preferences-desktop-apps-symbolic does.
|
||||||
|
---
|
||||||
|
panels/applications/gnome-applications-panel.desktop.in.in | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/panels/applications/gnome-applications-panel.desktop.in.in b/panels/applications/gnome-applications-panel.desktop.in.in
|
||||||
|
index 86e816645..83616c89e 100644
|
||||||
|
--- a/panels/applications/gnome-applications-panel.desktop.in.in
|
||||||
|
+++ b/panels/applications/gnome-applications-panel.desktop.in.in
|
||||||
|
@@ -4,7 +4,7 @@ Comment=Control various application permissions and settings
|
||||||
|
Exec=gnome-control-center applications
|
||||||
|
# FIXME
|
||||||
|
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
|
||||||
|
-Icon=preferences-desktop-apps
|
||||||
|
+Icon=preferences-desktop-apps-symbolic
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
NoDisplay=true
|
||||||
|
@@ -13,4 +13,4 @@ Categories=GNOME;GTK;Settings;DesktopSettings;X-GNOME-Settings-Panel;X-GNOME-Acc
|
||||||
|
OnlyShowIn=GNOME;Unity;
|
||||||
|
# Translators: Search terms to find the Privacy panel. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
|
||||||
|
Keywords=application;flatpak;permission;setting;
|
||||||
|
-X-GNOME-ControlCenter-HasSidebar=true
|
||||||
|
\ No newline at end of file
|
||||||
|
+X-GNOME-ControlCenter-HasSidebar=true
|
||||||
|
--
|
||||||
|
2.33.1
|
||||||
|
|
15005
SOURCES/backport-multitasking-panel.patch
Normal file
15005
SOURCES/backport-multitasking-panel.patch
Normal file
File diff suppressed because it is too large
Load Diff
195
SOURCES/distro-logo.patch
Normal file
195
SOURCES/distro-logo.patch
Normal file
@ -0,0 +1,195 @@
|
|||||||
|
From 4369e31ec541172e1c0d7c64645c7990e413bbca Mon Sep 17 00:00:00 2001
|
||||||
|
From: Michael Catanzaro <mcatanzaro@gnome.org>
|
||||||
|
Date: Tue, 9 Mar 2021 14:51:54 -0600
|
||||||
|
Subject: [PATCH 1/3] info-overview: add build option to control distributor
|
||||||
|
logo
|
||||||
|
|
||||||
|
Currently, we display a 256x256 version of the OS icon from
|
||||||
|
/etc/os-release. This is too big for my taste, and it's also not
|
||||||
|
sufficient for distros that want to display a logo that is not an icon.
|
||||||
|
For instance, because we no longer display the operating system name
|
||||||
|
immediately beneath the logo, it may be desirable to use a logo variant
|
||||||
|
that includes text. This patch adds a meson build option that
|
||||||
|
distributions can use to override the logo.
|
||||||
|
|
||||||
|
Because the logo might include text, distributions may want to vary the
|
||||||
|
logo used in dark mode. A subsequent commit will add a second option for
|
||||||
|
this.
|
||||||
|
---
|
||||||
|
meson.build | 6 ++++++
|
||||||
|
meson_options.txt | 1 +
|
||||||
|
panels/info-overview/cc-info-overview-panel.c | 4 ++++
|
||||||
|
3 files changed, 11 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/meson.build b/meson.build
|
||||||
|
index e8333c0da..1661caa4b 100644
|
||||||
|
--- a/meson.build
|
||||||
|
+++ b/meson.build
|
||||||
|
@@ -50,6 +50,12 @@ foreach define: set_defines
|
||||||
|
config_h.set_quoted(define[0], define[1])
|
||||||
|
endforeach
|
||||||
|
|
||||||
|
+distributor_logo = get_option('distributor_logo')
|
||||||
|
+if (distributor_logo != '')
|
||||||
|
+ config_h.set_quoted('DISTRIBUTOR_LOGO', distributor_logo,
|
||||||
|
+ description: 'Define to absolute path of distributor logo')
|
||||||
|
+endif
|
||||||
|
+
|
||||||
|
# meson does not support octal values, so it must be handled as a
|
||||||
|
# string. See: https://github.com/mesonbuild/meson/issues/2047
|
||||||
|
config_h.set('USER_DIR_MODE', '0700',
|
||||||
|
diff --git a/meson_options.txt b/meson_options.txt
|
||||||
|
index 1b7b54810..93e551373 100644
|
||||||
|
--- a/meson_options.txt
|
||||||
|
+++ b/meson_options.txt
|
||||||
|
@@ -8,3 +8,4 @@ option('tracing', type: 'boolean', value: false, description: 'add extra debuggi
|
||||||
|
option('wayland', type: 'boolean', value: true, description: 'build with Wayland support')
|
||||||
|
option('profile', type: 'combo', choices: ['default','development'], value: 'default')
|
||||||
|
option('malcontent', type: 'boolean', value: false, description: 'build with malcontent support')
|
||||||
|
+option('distributor_logo', type: 'string', description: 'absolute path to distributor logo for the About panel')
|
||||||
|
diff --git a/panels/info-overview/cc-info-overview-panel.c b/panels/info-overview/cc-info-overview-panel.c
|
||||||
|
index bd0e07762..95a5904df 100644
|
||||||
|
--- a/panels/info-overview/cc-info-overview-panel.c
|
||||||
|
+++ b/panels/info-overview/cc-info-overview-panel.c
|
||||||
|
@@ -869,6 +869,9 @@ cc_info_panel_row_activated_cb (CcInfoOverviewPanel *self,
|
||||||
|
static void
|
||||||
|
setup_os_logo (CcInfoOverviewPanel *panel)
|
||||||
|
{
|
||||||
|
+#ifdef DISTRIBUTOR_LOGO
|
||||||
|
+ gtk_image_set_from_file (panel->os_logo, DISTRIBUTOR_LOGO);
|
||||||
|
+#else
|
||||||
|
g_autofree char *logo_name = g_get_os_info ("LOGO");
|
||||||
|
if (logo_name != NULL)
|
||||||
|
{
|
||||||
|
@@ -879,6 +882,7 @@ setup_os_logo (CcInfoOverviewPanel *panel)
|
||||||
|
{
|
||||||
|
gtk_image_set_from_resource (panel->os_logo, "/org/gnome/control-center/info-overview/GnomeLogoVerticalMedium.svg");
|
||||||
|
}
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
static void
|
||||||
|
--
|
||||||
|
GitLab
|
||||||
|
|
||||||
|
|
||||||
|
From f08669767ca87ff99fc08e1a7334c8f2e7f18f0b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Michael Catanzaro <mcatanzaro@gnome.org>
|
||||||
|
Date: Tue, 9 Mar 2021 16:02:46 -0600
|
||||||
|
Subject: [PATCH 2/3] info-overview: add build option to specify a dark mode
|
||||||
|
logo variant
|
||||||
|
|
||||||
|
Let's allow distributions to specify a different logo to use when using
|
||||||
|
a dark GTK theme. This is best-effort only since it relies on the
|
||||||
|
convention that dark themes must end with "dark" and therefore will fail
|
||||||
|
for a theme named "midnight" or anything that doesn't match convention.
|
||||||
|
---
|
||||||
|
meson.build | 5 ++++
|
||||||
|
meson_options.txt | 1 +
|
||||||
|
panels/info-overview/cc-info-overview-panel.c | 27 +++++++++++++++++++
|
||||||
|
3 files changed, 33 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/meson.build b/meson.build
|
||||||
|
index 1661caa4b..124171626 100644
|
||||||
|
--- a/meson.build
|
||||||
|
+++ b/meson.build
|
||||||
|
@@ -54,6 +54,11 @@ distributor_logo = get_option('distributor_logo')
|
||||||
|
if (distributor_logo != '')
|
||||||
|
config_h.set_quoted('DISTRIBUTOR_LOGO', distributor_logo,
|
||||||
|
description: 'Define to absolute path of distributor logo')
|
||||||
|
+ dark_mode_distributor_logo = get_option('dark_mode_distributor_logo')
|
||||||
|
+ if (dark_mode_distributor_logo != '')
|
||||||
|
+ config_h.set_quoted('DARK_MODE_DISTRIBUTOR_LOGO', dark_mode_distributor_logo,
|
||||||
|
+ description: 'Define to absolute path of distributor logo for use in dark mode')
|
||||||
|
+ endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
# meson does not support octal values, so it must be handled as a
|
||||||
|
diff --git a/meson_options.txt b/meson_options.txt
|
||||||
|
index 93e551373..5305c8606 100644
|
||||||
|
--- a/meson_options.txt
|
||||||
|
+++ b/meson_options.txt
|
||||||
|
@@ -9,3 +9,4 @@ option('wayland', type: 'boolean', value: true, description: 'build with Wayland
|
||||||
|
option('profile', type: 'combo', choices: ['default','development'], value: 'default')
|
||||||
|
option('malcontent', type: 'boolean', value: false, description: 'build with malcontent support')
|
||||||
|
option('distributor_logo', type: 'string', description: 'absolute path to distributor logo for the About panel')
|
||||||
|
+option('dark_mode_distributor_logo', type: 'string', description: 'absolute path to distributor logo dark mode variant')
|
||||||
|
diff --git a/panels/info-overview/cc-info-overview-panel.c b/panels/info-overview/cc-info-overview-panel.c
|
||||||
|
index 95a5904df..cb20e16b1 100644
|
||||||
|
--- a/panels/info-overview/cc-info-overview-panel.c
|
||||||
|
+++ b/panels/info-overview/cc-info-overview-panel.c
|
||||||
|
@@ -866,10 +866,37 @@ cc_info_panel_row_activated_cb (CcInfoOverviewPanel *self,
|
||||||
|
open_software_update (self);
|
||||||
|
}
|
||||||
|
|
||||||
|
+#ifdef DARK_MODE_DISTRIBUTOR_LOGO
|
||||||
|
+static gboolean
|
||||||
|
+is_dark_mode (CcInfoOverviewPanel *panel)
|
||||||
|
+{
|
||||||
|
+ GdkScreen *screen;
|
||||||
|
+ GtkSettings *settings;
|
||||||
|
+ g_autofree char *theme_name = NULL;
|
||||||
|
+
|
||||||
|
+ theme_name = g_strdup (g_getenv ("GTK_THEME"));
|
||||||
|
+ if (theme_name != NULL)
|
||||||
|
+ return g_str_has_suffix (theme_name, "dark");
|
||||||
|
+
|
||||||
|
+ screen = gtk_widget_get_screen (GTK_WIDGET (panel));
|
||||||
|
+ settings = gtk_settings_get_for_screen (screen);
|
||||||
|
+
|
||||||
|
+ g_object_get (settings, "gtk-theme-name", &theme_name, NULL);
|
||||||
|
+ return theme_name != NULL && g_str_has_suffix (theme_name, "dark");
|
||||||
|
+}
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
static void
|
||||||
|
setup_os_logo (CcInfoOverviewPanel *panel)
|
||||||
|
{
|
||||||
|
#ifdef DISTRIBUTOR_LOGO
|
||||||
|
+#ifdef DARK_MODE_DISTRIBUTOR_LOGO
|
||||||
|
+ if (is_dark_mode (panel))
|
||||||
|
+ {
|
||||||
|
+ gtk_image_set_from_file (panel->os_logo, DARK_MODE_DISTRIBUTOR_LOGO);
|
||||||
|
+ return;
|
||||||
|
+ }
|
||||||
|
+#endif
|
||||||
|
gtk_image_set_from_file (panel->os_logo, DISTRIBUTOR_LOGO);
|
||||||
|
#else
|
||||||
|
g_autofree char *logo_name = g_get_os_info ("LOGO");
|
||||||
|
--
|
||||||
|
GitLab
|
||||||
|
|
||||||
|
|
||||||
|
From c379ccc4e8f0bcdee78361f134ba29d3a25f7528 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Michael Catanzaro <mcatanzaro@gnome.org>
|
||||||
|
Date: Wed, 10 Mar 2021 11:30:57 -0600
|
||||||
|
Subject: [PATCH 3/3] info-overview: reduce size of logo when using icon from
|
||||||
|
/etc/os-release
|
||||||
|
|
||||||
|
When using the icon from /etc/os-release, display it as 128x128 rather
|
||||||
|
than 256x256. In distributions that don't ship a 128x128, such as
|
||||||
|
Fedora, this results in the 256x256 icon being scaled down to a
|
||||||
|
reasonable size. 256x256 is so large here as to be clearly undesirable.
|
||||||
|
128x128 is also the size that Ubuntu uses in its downstream patch. Might
|
||||||
|
as well reduce the need for patching as far as possible, even though
|
||||||
|
Fedora doesn't plan to use this codepath.
|
||||||
|
---
|
||||||
|
panels/info-overview/cc-info-overview-panel.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/panels/info-overview/cc-info-overview-panel.c b/panels/info-overview/cc-info-overview-panel.c
|
||||||
|
index cb20e16b1..3575b90c5 100644
|
||||||
|
--- a/panels/info-overview/cc-info-overview-panel.c
|
||||||
|
+++ b/panels/info-overview/cc-info-overview-panel.c
|
||||||
|
@@ -903,7 +903,7 @@ setup_os_logo (CcInfoOverviewPanel *panel)
|
||||||
|
if (logo_name != NULL)
|
||||||
|
{
|
||||||
|
gtk_image_set_from_icon_name (panel->os_logo, logo_name, GTK_ICON_SIZE_INVALID);
|
||||||
|
- gtk_image_set_pixel_size (panel->os_logo, 256);
|
||||||
|
+ gtk_image_set_pixel_size (panel->os_logo, 128);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
--
|
||||||
|
GitLab
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
5102
SOURCES/power-profiles-backport.patch
Normal file
5102
SOURCES/power-profiles-backport.patch
Normal file
File diff suppressed because it is too large
Load Diff
64
SOURCES/rpminspect-desktop-fixes.patch
Normal file
64
SOURCES/rpminspect-desktop-fixes.patch
Normal file
@ -0,0 +1,64 @@
|
|||||||
|
diff -up gnome-control-center-40.0/panels/bluetooth/gnome-bluetooth-panel.desktop.in.in.rpminspect-desktop-fixes gnome-control-center-40.0/panels/bluetooth/gnome-bluetooth-panel.desktop.in.in
|
||||||
|
--- gnome-control-center-40.0/panels/bluetooth/gnome-bluetooth-panel.desktop.in.in.rpminspect-desktop-fixes 2022-02-02 14:10:24.722557740 +0100
|
||||||
|
+++ gnome-control-center-40.0/panels/bluetooth/gnome-bluetooth-panel.desktop.in.in 2022-02-02 14:10:41.756366100 +0100
|
||||||
|
@@ -2,7 +2,7 @@
|
||||||
|
Name=Bluetooth
|
||||||
|
Comment=Turn Bluetooth on and off and connect your devices
|
||||||
|
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
|
||||||
|
-Icon=bluetooth
|
||||||
|
+Icon=bluetooth-symbolic
|
||||||
|
Exec=gnome-control-center bluetooth
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
diff -up gnome-control-center-40.0/panels/location/gnome-location-panel.desktop.in.in.rpminspect-desktop-fixes gnome-control-center-40.0/panels/location/gnome-location-panel.desktop.in.in
|
||||||
|
--- gnome-control-center-40.0/panels/location/gnome-location-panel.desktop.in.in.rpminspect-desktop-fixes 2022-02-02 14:11:08.849061293 +0100
|
||||||
|
+++ gnome-control-center-40.0/panels/location/gnome-location-panel.desktop.in.in 2022-02-02 14:11:20.606929011 +0100
|
||||||
|
@@ -4,7 +4,7 @@ Comment=Protect your location informatio
|
||||||
|
Exec=gnome-control-center location
|
||||||
|
# FIXME
|
||||||
|
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
|
||||||
|
-Icon=location-services-active
|
||||||
|
+Icon=location-services-active-symbolic
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
NoDisplay=true
|
||||||
|
diff -up gnome-control-center-40.0/panels/microphone/gnome-microphone-panel.desktop.in.in.rpminspect-desktop-fixes gnome-control-center-40.0/panels/microphone/gnome-microphone-panel.desktop.in.in
|
||||||
|
--- gnome-control-center-40.0/panels/microphone/gnome-microphone-panel.desktop.in.in.rpminspect-desktop-fixes 2022-02-02 14:12:15.652309721 +0100
|
||||||
|
+++ gnome-control-center-40.0/panels/microphone/gnome-microphone-panel.desktop.in.in 2022-02-02 14:12:28.849161249 +0100
|
||||||
|
@@ -4,7 +4,7 @@ Comment=Protect your conversations
|
||||||
|
Exec=gnome-control-center microphone
|
||||||
|
# FIXME
|
||||||
|
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
|
||||||
|
-Icon=audio-input-microphone
|
||||||
|
+Icon=audio-input-microphone-symbolic
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
NoDisplay=true
|
||||||
|
diff -up gnome-control-center-40.0/panels/thunderbolt/gnome-thunderbolt-panel.desktop.in.in.rpminspect-desktop-fixes gnome-control-center-40.0/panels/thunderbolt/gnome-thunderbolt-panel.desktop.in.in
|
||||||
|
--- gnome-control-center-40.0/panels/thunderbolt/gnome-thunderbolt-panel.desktop.in.in.rpminspect-desktop-fixes 2022-02-02 14:12:50.891913256 +0100
|
||||||
|
+++ gnome-control-center-40.0/panels/thunderbolt/gnome-thunderbolt-panel.desktop.in.in 2022-02-02 14:12:59.811812903 +0100
|
||||||
|
@@ -3,7 +3,7 @@ Name=Thunderbolt
|
||||||
|
Comment=Manage Thunderbolt devices
|
||||||
|
Exec=gnome-control-center thunderbolt
|
||||||
|
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
|
||||||
|
-Icon=thunderbolt
|
||||||
|
+Icon=thunderbolt-symbolic
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
NoDisplay=true
|
||||||
|
diff -up gnome-control-center-40.0/panels/wwan/gnome-wwan-panel.desktop.in.in.rpminspect-desktop-fixes gnome-control-center-40.0/panels/wwan/gnome-wwan-panel.desktop.in.in
|
||||||
|
--- gnome-control-center-40.0/panels/wwan/gnome-wwan-panel.desktop.in.in.rpminspect-desktop-fixes 2022-02-02 14:09:27.862197449 +0100
|
||||||
|
+++ gnome-control-center-40.0/panels/wwan/gnome-wwan-panel.desktop.in.in 2022-02-02 14:13:34.301424876 +0100
|
||||||
|
@@ -4,11 +4,10 @@ Comment=Configure Telephony and mobile d
|
||||||
|
Exec=gnome-control-center wwan
|
||||||
|
# FIXME
|
||||||
|
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
|
||||||
|
-Icon=network-cellular-signal-excellent
|
||||||
|
+Icon=network-cellular-signal-excellent-symbolic
|
||||||
|
Terminal=false
|
||||||
|
Type=Application
|
||||||
|
NoDisplay=true
|
||||||
|
-StartupNotify=true
|
||||||
|
Categories=GNOME;GTK;Settings;X-GNOME-NetworkSettings;HardwareSettings;X-GNOME-Settings-Panel;X-GNOME-ConnectivitySettings;
|
||||||
|
OnlyShowIn=GNOME;Unity;
|
||||||
|
StartupNotify=true
|
2564
SOURCES/subscription-manager-support.patch
Normal file
2564
SOURCES/subscription-manager-support.patch
Normal file
File diff suppressed because it is too large
Load Diff
9200
SOURCES/wwan-backport-gnome-40.patch
Normal file
9200
SOURCES/wwan-backport-gnome-40.patch
Normal file
File diff suppressed because it is too large
Load Diff
540
SPECS/gnome-control-center.spec
Normal file
540
SPECS/gnome-control-center.spec
Normal file
@ -0,0 +1,540 @@
|
|||||||
|
%define gnome_online_accounts_version 3.25.3
|
||||||
|
%define glib2_version 2.56.0
|
||||||
|
%define gnome_desktop_version 3.35.4
|
||||||
|
%define gsd_version 3.35.0
|
||||||
|
%define gsettings_desktop_schemas_version 3.37.1
|
||||||
|
%define upower_version 0.99.8
|
||||||
|
%define gtk3_version 3.22.20
|
||||||
|
%define cheese_version 3.28.0
|
||||||
|
%define gnome_bluetooth_version 3.18.2
|
||||||
|
%define nm_version 1.24
|
||||||
|
%define power_profiles_daemon_version 0.9.0
|
||||||
|
|
||||||
|
%global tarball_version %%(echo %{version} | tr '~' '.')
|
||||||
|
|
||||||
|
Name: gnome-control-center
|
||||||
|
Version: 40.0
|
||||||
|
Release: 23%{?dist}
|
||||||
|
Summary: Utilities to configure the GNOME desktop
|
||||||
|
|
||||||
|
License: GPLv2+ and CC-BY-SA
|
||||||
|
URL: http://www.gnome.org
|
||||||
|
Source0: https://download.gnome.org/sources/gnome-control-center/40/gnome-control-center-%{tarball_version}.tar.xz
|
||||||
|
|
||||||
|
# https://gitlab.gnome.org/GNOME/gnome-control-center/-/merge_requests/965
|
||||||
|
Patch0: distro-logo.patch
|
||||||
|
|
||||||
|
# Customized for RHEL 9 to skip the .gitlab-ci.yml file
|
||||||
|
# https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1345
|
||||||
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1952274
|
||||||
|
Patch1: gnome-control-center-Drop-the-unused-build-dependency-on-Grilo.patch
|
||||||
|
Patch2: power-profiles-backport.patch
|
||||||
|
Patch3: wwan-backport-gnome-40.patch
|
||||||
|
Patch4: subscription-manager-support.patch
|
||||||
|
Patch5: application-use-icon-name-that-exists.patch
|
||||||
|
Patch6: backport-multitasking-panel.patch
|
||||||
|
Patch7: rpminspect-desktop-fixes.patch
|
||||||
|
|
||||||
|
# Backport monitor config policy (#2046159)
|
||||||
|
Patch8: 0001-display-Only-display-configuration-options-if-apply-.patch
|
||||||
|
|
||||||
|
# Workaround for libnma not handling OWE https://gitlab.gnome.org/GNOME/libnma/-/issues/9
|
||||||
|
Patch9: 0001-network-Fix-OWE-settings.patch
|
||||||
|
|
||||||
|
BuildRequires: chrpath
|
||||||
|
BuildRequires: cups-devel
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: docbook-style-xsl libxslt
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: gettext
|
||||||
|
BuildRequires: meson
|
||||||
|
BuildRequires: pkgconfig(accountsservice)
|
||||||
|
BuildRequires: pkgconfig(cheese) >= %{cheese_version}
|
||||||
|
BuildRequires: pkgconfig(cheese-gtk)
|
||||||
|
BuildRequires: pkgconfig(clutter-gtk-1.0)
|
||||||
|
BuildRequires: pkgconfig(colord)
|
||||||
|
BuildRequires: pkgconfig(colord-gtk)
|
||||||
|
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||||
|
BuildRequires: pkgconfig(gdk-wayland-3.0)
|
||||||
|
BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
|
||||||
|
BuildRequires: pkgconfig(gnome-desktop-3.0) >= %{gnome_desktop_version}
|
||||||
|
BuildRequires: pkgconfig(gnome-settings-daemon) >= %{gsd_version}
|
||||||
|
BuildRequires: pkgconfig(goa-1.0) >= %{gnome_online_accounts_version}
|
||||||
|
BuildRequires: pkgconfig(goa-backend-1.0)
|
||||||
|
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= %{gsettings_desktop_schemas_version}
|
||||||
|
BuildRequires: pkgconfig(gsound)
|
||||||
|
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version}
|
||||||
|
BuildRequires: pkgconfig(gudev-1.0)
|
||||||
|
BuildRequires: pkgconfig(ibus-1.0)
|
||||||
|
BuildRequires: pkgconfig(libcanberra-gtk3)
|
||||||
|
BuildRequires: pkgconfig(libgtop-2.0)
|
||||||
|
BuildRequires: pkgconfig(libhandy-1)
|
||||||
|
BuildRequires: pkgconfig(libnm) >= %{nm_version}
|
||||||
|
BuildRequires: pkgconfig(libnma)
|
||||||
|
BuildRequires: pkgconfig(libpulse)
|
||||||
|
BuildRequires: pkgconfig(libpulse-mainloop-glib)
|
||||||
|
BuildRequires: pkgconfig(libsecret-1)
|
||||||
|
BuildRequires: pkgconfig(libsoup-2.4)
|
||||||
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
|
BuildRequires: pkgconfig(mm-glib)
|
||||||
|
BuildRequires: pkgconfig(polkit-gobject-1)
|
||||||
|
BuildRequires: pkgconfig(pwquality)
|
||||||
|
BuildRequires: pkgconfig(smbclient)
|
||||||
|
BuildRequires: pkgconfig(upower-glib) >= %{upower_version}
|
||||||
|
BuildRequires: pkgconfig(x11)
|
||||||
|
BuildRequires: pkgconfig(xi)
|
||||||
|
BuildRequires: pkgconfig(udisks2)
|
||||||
|
BuildRequires: pkgconfig(gcr-3)
|
||||||
|
%ifnarch s390 s390x
|
||||||
|
BuildRequires: pkgconfig(gnome-bluetooth-1.0) >= %{gnome_bluetooth_version}
|
||||||
|
BuildRequires: pkgconfig(libwacom)
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# Versioned library deps
|
||||||
|
Requires: cheese-libs%{?_isa} >= %{cheese_version}
|
||||||
|
Requires: glib2%{?_isa} >= %{glib2_version}
|
||||||
|
Requires: gnome-desktop3%{?_isa} >= %{gnome_desktop_version}
|
||||||
|
Requires: gnome-online-accounts%{?_isa} >= %{gnome_online_accounts_version}
|
||||||
|
Requires: gnome-settings-daemon%{?_isa} >= %{gsd_version}
|
||||||
|
# For g-s-d subscription manager patches
|
||||||
|
Requires: gnome-settings-daemon%{?_isa} >= 40.0.1-4
|
||||||
|
Requires: gsettings-desktop-schemas%{?_isa} >= %{gsettings_desktop_schemas_version}
|
||||||
|
Requires: gtk3%{?_isa} >= %{gtk3_version}
|
||||||
|
Requires: upower%{?_isa} >= %{upower_version}
|
||||||
|
Requires: power-profiles-daemon >= %{power_profiles_daemon_version}
|
||||||
|
%ifnarch s390 s390x
|
||||||
|
Requires: gnome-bluetooth%{?_isa} >= 1:%{gnome_bluetooth_version}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Requires: %{name}-filesystem = %{version}-%{release}
|
||||||
|
# For user accounts
|
||||||
|
Requires: accountsservice
|
||||||
|
Requires: alsa-lib
|
||||||
|
# For the thunderbolt panel
|
||||||
|
Recommends: bolt
|
||||||
|
# For the color panel
|
||||||
|
Requires: colord
|
||||||
|
# For the printers panel
|
||||||
|
Requires: cups-pk-helper
|
||||||
|
Requires: dbus
|
||||||
|
# For the info/details panel
|
||||||
|
Requires: glx-utils
|
||||||
|
# For the user languages
|
||||||
|
Requires: iso-codes
|
||||||
|
# For the network panel
|
||||||
|
Recommends: NetworkManager-wifi
|
||||||
|
Recommends: nm-connection-editor
|
||||||
|
# For Show Details in the color panel
|
||||||
|
Recommends: gnome-color-manager
|
||||||
|
# For the sharing panel
|
||||||
|
Recommends: gnome-remote-desktop
|
||||||
|
%if 0%{?fedora}
|
||||||
|
Recommends: rygel
|
||||||
|
%endif
|
||||||
|
# For the info/details panel
|
||||||
|
Recommends: switcheroo-control
|
||||||
|
# For the keyboard panel
|
||||||
|
Requires: /usr/bin/gkbd-keyboard-display
|
||||||
|
%if 0%{?fedora} >= 35 || 0%{?rhel} >= 9
|
||||||
|
# For the power panel
|
||||||
|
Recommends: power-profiles-daemon
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# Renamed in F28
|
||||||
|
Provides: control-center = 1:%{version}-%{release}
|
||||||
|
Provides: control-center%{?_isa} = 1:%{version}-%{release}
|
||||||
|
Obsoletes: control-center < 1:%{version}-%{release}
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package contains configuration utilities for the GNOME desktop, which
|
||||||
|
allow to configure accessibility options, desktop fonts, keyboard and mouse
|
||||||
|
properties, sound setup, desktop theme and background, user interface
|
||||||
|
properties, screen resolution, and other settings.
|
||||||
|
|
||||||
|
%package filesystem
|
||||||
|
Summary: GNOME Control Center directories
|
||||||
|
# NOTE: this is an "inverse dep" subpackage. It gets pulled in
|
||||||
|
# NOTE: by the main package and MUST not depend on the main package
|
||||||
|
BuildArch: noarch
|
||||||
|
# Renamed in F28
|
||||||
|
Provides: control-center-filesystem = 1:%{version}-%{release}
|
||||||
|
Obsoletes: control-center-filesystem < 1:%{version}-%{release}
|
||||||
|
|
||||||
|
%description filesystem
|
||||||
|
The GNOME control-center provides a number of extension points
|
||||||
|
for applications. This package contains directories where applications
|
||||||
|
can install configuration files that are picked up by the control-center
|
||||||
|
utilities.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n gnome-control-center-%{tarball_version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%meson \
|
||||||
|
-Ddocumentation=true \
|
||||||
|
%if 0%{?fedora}
|
||||||
|
-Ddistributor_logo=%{_datadir}/pixmaps/fedora_logo_med.png \
|
||||||
|
-Ddark_mode_distributor_logo=%{_datadir}/pixmaps/fedora_whitelogo_med.png \
|
||||||
|
%endif
|
||||||
|
%if 0%{?rhel}
|
||||||
|
-Ddistributor_logo=%{_datadir}/pixmaps/fedora-logo.png \
|
||||||
|
-Ddark_mode_distributor_logo=%{_datadir}/pixmaps/system-logo-white.png \
|
||||||
|
%endif
|
||||||
|
%{nil}
|
||||||
|
%meson_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%meson_install
|
||||||
|
|
||||||
|
# We do want this
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/gnome/wm-properties
|
||||||
|
|
||||||
|
# We don't want these
|
||||||
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/autostart
|
||||||
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/cursor-fonts
|
||||||
|
|
||||||
|
# Remove rpath
|
||||||
|
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/gnome-control-center
|
||||||
|
|
||||||
|
%find_lang %{name} --all-name --with-gnome
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%license COPYING
|
||||||
|
%doc NEWS README.md
|
||||||
|
%{_bindir}/gnome-control-center
|
||||||
|
%{_datadir}/applications/*.desktop
|
||||||
|
%{_datadir}/bash-completion/completions/gnome-control-center
|
||||||
|
%{_datadir}/dbus-1/services/org.gnome.ControlCenter.SearchProvider.service
|
||||||
|
%{_datadir}/dbus-1/services/org.gnome.ControlCenter.service
|
||||||
|
%{_datadir}/gettext/
|
||||||
|
%{_datadir}/glib-2.0/schemas/org.gnome.ControlCenter.gschema.xml
|
||||||
|
%{_datadir}/gnome-control-center/keybindings/*.xml
|
||||||
|
%{_datadir}/gnome-control-center/pixmaps
|
||||||
|
%{_datadir}/gnome-shell/search-providers/gnome-control-center-search-provider.ini
|
||||||
|
%{_datadir}/icons/hicolor/*/*/*
|
||||||
|
%{_datadir}/man/man1/gnome-control-center.1*
|
||||||
|
%{_datadir}/metainfo/gnome-control-center.appdata.xml
|
||||||
|
%{_datadir}/pixmaps/faces
|
||||||
|
%{_datadir}/pkgconfig/gnome-keybindings.pc
|
||||||
|
%{_datadir}/polkit-1/actions/org.gnome.controlcenter.*.policy
|
||||||
|
%{_datadir}/polkit-1/rules.d/gnome-control-center.rules
|
||||||
|
%{_datadir}/sounds/gnome/default/*/*.ogg
|
||||||
|
%{_libexecdir}/cc-remote-login-helper
|
||||||
|
%{_libexecdir}/gnome-control-center-search-provider
|
||||||
|
%{_libexecdir}/gnome-control-center-print-renderer
|
||||||
|
|
||||||
|
%files filesystem
|
||||||
|
%dir %{_datadir}/gnome-control-center
|
||||||
|
%dir %{_datadir}/gnome-control-center/keybindings
|
||||||
|
%dir %{_datadir}/gnome/wm-properties
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Mar 14 2022 Felipe Borges <feborges@redhat.com> - 40.0-23
|
||||||
|
- Backport translations for Multitasking panel
|
||||||
|
- Make Multitasking panel capable of handling Right-to-Left locales
|
||||||
|
Resolves: #2049524
|
||||||
|
|
||||||
|
* Thu Feb 24 2022 Benjamin Berg <bberg@redhat.com> - 40.0-22
|
||||||
|
- Work around libnma not handling OWE
|
||||||
|
Resolves: #2058163
|
||||||
|
|
||||||
|
* Fri Feb 04 2022 Jonas Ådahl <tpopela@redhat.com> - 40.0-21
|
||||||
|
- Backport monitor config policy
|
||||||
|
Resolves: #2046159
|
||||||
|
|
||||||
|
* Wed Feb 02 2022 Tomas Popela <tpopela@redhat.com> - 40.0-20
|
||||||
|
- Fix rpminspect desktop files warnings
|
||||||
|
- Resolves: #2041348
|
||||||
|
|
||||||
|
* Fri Jan 28 2022 Felipe Borges <feborges@redhat.com> - 40.0-19
|
||||||
|
- Backport Multitasking panel
|
||||||
|
- Resolves: #2047723
|
||||||
|
|
||||||
|
* Thu Jan 20 2022 Felipe Borges <feborges@redhat.com> - 40.0-18
|
||||||
|
- Fix typo in the previous patch
|
||||||
|
- Resolves: #2041348
|
||||||
|
|
||||||
|
* Fri Jan 14 2022 Felipe Borges <feborges@redhat.com> - 40.0-17
|
||||||
|
- Set an existing Icon name in the Applications' panel desktop file
|
||||||
|
- Resolves: #2041348
|
||||||
|
|
||||||
|
* Tue Sep 07 2021 Kalev Lember <klember@redhat.com> - 40.0-16
|
||||||
|
- Add desktop file keywords for subscription support
|
||||||
|
- Resolves: #1937113
|
||||||
|
|
||||||
|
* Thu Sep 02 2021 Kalev Lember <klember@redhat.com> - 40.0-15
|
||||||
|
- Forward port subscription manager support from RHEL 8
|
||||||
|
- Resolves: #1937113
|
||||||
|
|
||||||
|
* Wed Aug 25 2021 Carlos Garnacho <cgarnach@redhat.com> - 40.0-14
|
||||||
|
- Backport WWAN panel
|
||||||
|
Resolves: #1995559
|
||||||
|
|
||||||
|
* Fri Aug 20 2021 Carlos Garnacho <cgarnach@redhat.com> - 40.0.13
|
||||||
|
- Backport power profile changes
|
||||||
|
Resolves: #1994475
|
||||||
|
|
||||||
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 40.0-12
|
||||||
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
||||||
|
Related: rhbz#1991688
|
||||||
|
|
||||||
|
* Tue Apr 27 2021 Debarshi Ray <rishi@fedoraproject.org> - 40.0-11
|
||||||
|
- Drop the unused build dependency on Grilo
|
||||||
|
Resolves: #1952274
|
||||||
|
|
||||||
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 40.0-10
|
||||||
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
||||||
|
|
||||||
|
* Fri Apr 02 2021 Kalev Lember <klember@redhat.com> - 40.0-9
|
||||||
|
- Only enable power-profiles-daemon on F35+ and RHEL 9+
|
||||||
|
|
||||||
|
* Wed Mar 31 2021 Pete Walter <pwalter@fedoraproject.org> - 40.0-8
|
||||||
|
- Add back power-profiles-daemon once more
|
||||||
|
|
||||||
|
* Wed Mar 31 2021 Michael Catanzaro <mcatanzaro@redhat.com> - 40.0-7
|
||||||
|
- Drop Recommends: power-profiles-daemon for F34
|
||||||
|
|
||||||
|
* Tue Mar 30 2021 Pete Walter <pwalter@fedoraproject.org> - 40.0-6
|
||||||
|
- Use recommends for a few more things
|
||||||
|
|
||||||
|
* Tue Mar 30 2021 Bastien Nocera <bnocera@redhat.com> - 40.0-4
|
||||||
|
- Drag power-profiles-daemon in for the power panel
|
||||||
|
|
||||||
|
* Mon Mar 29 2021 Michael Catanzaro <mcatanzaro@redhat.com> - 40.0-3
|
||||||
|
- Update Fedora logos to larger versions
|
||||||
|
|
||||||
|
* Wed Mar 24 2021 Kalev Lember <klember@redhat.com> - 40.0-2
|
||||||
|
- Rebuilt
|
||||||
|
|
||||||
|
* Mon Mar 22 2021 Kalev Lember <klember@redhat.com> - 40.0-1
|
||||||
|
- Update to 40.0
|
||||||
|
|
||||||
|
* Mon Mar 15 2021 Kalev Lember <klember@redhat.com> - 40~rc-1
|
||||||
|
- Update to 40.rc
|
||||||
|
|
||||||
|
* Wed Mar 10 2021 Michael Catanzaro <mcatanzaro@redhat.com> - 40~beta-5
|
||||||
|
- Refresh distro logo patch
|
||||||
|
- Drop Recommends: vino, let vino die!
|
||||||
|
|
||||||
|
* Sun Mar 07 2021 Igor Raits <ignatenkobrain@fedoraproject.org> - 40~beta-4
|
||||||
|
- Fix modifications of the networks (Fixes: RHBZ#1932674)
|
||||||
|
|
||||||
|
* Wed Feb 24 2021 Felipe Borges <feborges@redhat.com> - 40~beta-3
|
||||||
|
- Include missing patch from 40~beta-2
|
||||||
|
|
||||||
|
* Tue Feb 23 2021 Felipe Borges <feborges@redhat.com> - 40~beta-2
|
||||||
|
- Fix error preventing the Region & Language panel from loading
|
||||||
|
|
||||||
|
* Sun Feb 21 2021 Kalev Lember <klember@redhat.com> - 40~beta-1
|
||||||
|
- Update to 40.beta
|
||||||
|
|
||||||
|
* Mon Feb 15 2021 Kalev Lember <klember@redhat.com> - 3.38.4-1
|
||||||
|
- Update to 3.38.4
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.38.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 16 2021 Kalev Lember <klember@redhat.com> - 3.38.3-1
|
||||||
|
- Update to 3.38.3
|
||||||
|
|
||||||
|
* Fri Nov 20 2020 Kalev Lember <klember@redhat.com> - 3.38.2-2
|
||||||
|
- search: Check for either tracker 2.x or 3.x schemas
|
||||||
|
|
||||||
|
* Fri Nov 20 2020 Kalev Lember <klember@redhat.com> - 3.38.2-1
|
||||||
|
- Update to 3.38.2
|
||||||
|
|
||||||
|
* Tue Oct 13 2020 Kalev Lember <klember@redhat.com> - 3.38.1-2
|
||||||
|
- Add Recommends: nm-connection-editor for the network panel (#1887891)
|
||||||
|
|
||||||
|
* Mon Oct 5 2020 Kalev Lember <klember@redhat.com> - 3.38.1-1
|
||||||
|
- Update to 3.38.1
|
||||||
|
|
||||||
|
* Sat Sep 19 2020 Yaroslav Fedevych <yaroslav@fedevych.name> - 3.38.0-2
|
||||||
|
- Specify the minimum libnm version needed to build the package
|
||||||
|
|
||||||
|
* Sat Sep 12 2020 Kalev Lember <klember@redhat.com> - 3.38.0-1
|
||||||
|
- Update to 3.38.0
|
||||||
|
|
||||||
|
* Sun Sep 06 2020 Kalev Lember <klember@redhat.com> - 3.37.92-1
|
||||||
|
- Update to 3.37.92
|
||||||
|
|
||||||
|
* Mon Aug 17 2020 Kalev Lember <klember@redhat.com> - 3.37.90-1
|
||||||
|
- Update to 3.37.90
|
||||||
|
|
||||||
|
* Tue Aug 04 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 3.37.3-4
|
||||||
|
- Add Recommends: gnome-color-manager for the color panel
|
||||||
|
|
||||||
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.37.3-3
|
||||||
|
- Second attempt - Rebuilt for
|
||||||
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.37.3-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 20 2020 Kalev Lember <klember@redhat.com> - 3.37.3-1
|
||||||
|
- Update to 3.37.3
|
||||||
|
|
||||||
|
* Mon Jul 20 2020 Kalev Lember <klember@redhat.com> - 3.36.4-1
|
||||||
|
- Update to 3.36.4
|
||||||
|
|
||||||
|
* Wed Jun 03 2020 Kalev Lember <klember@redhat.com> - 3.36.3-1
|
||||||
|
- Update to 3.36.3
|
||||||
|
|
||||||
|
* Fri May 01 2020 Kalev Lember <klember@redhat.com> - 3.36.2-1
|
||||||
|
- Update to 3.36.2
|
||||||
|
|
||||||
|
* Tue Apr 28 2020 Felipe Borges <feborges@redhat.com> - 3.36.1-2
|
||||||
|
- Add "Model" row info for Lenovo devices
|
||||||
|
|
||||||
|
* Fri Mar 27 2020 Kalev Lember <klember@redhat.com> - 3.36.1-1
|
||||||
|
- Update to 3.36.1
|
||||||
|
|
||||||
|
* Thu Mar 19 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 3.36.0-3
|
||||||
|
- No changes, bump revision to maintain upgrade path from F32
|
||||||
|
|
||||||
|
* Mon Mar 16 2020 Michael Catanzaro <mcatanzaro@redhat.com> - 3.36.0-2
|
||||||
|
- Update distro-logo.patch to use fedora_vertical version of logo.
|
||||||
|
|
||||||
|
* Sat Mar 07 2020 Kalev Lember <klember@redhat.com> - 3.36.0-1
|
||||||
|
- Update to 3.36.0
|
||||||
|
|
||||||
|
* Mon Mar 02 2020 Kalev Lember <klember@redhat.com> - 3.35.92-1
|
||||||
|
- Update to 3.35.92
|
||||||
|
|
||||||
|
* Mon Feb 17 2020 Kalev Lember <klember@redhat.com> - 3.35.91-1
|
||||||
|
- Update to 3.35.91
|
||||||
|
|
||||||
|
* Mon Feb 03 2020 Bastien Nocera <bnocera@redhat.com> - 3.35.90-1
|
||||||
|
+ gnome-control-center-3.35.90-1
|
||||||
|
- Update to 3.35.90
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.34.2-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jan 16 2020 Kalev Lember <klember@redhat.com> - 3.34.2-3
|
||||||
|
- Backport a patch to fix the build with latest libgnome-desktop
|
||||||
|
|
||||||
|
* Mon Dec 09 2019 Michael Catanzaro <mcatanzaro@gnome.org> - 3.34.2-2
|
||||||
|
- Drop nm-connection-editor requires, per gnome-control-center#512
|
||||||
|
- To edit mobile broadband connections, install nm-connection-editor
|
||||||
|
|
||||||
|
* Wed Nov 27 2019 Kalev Lember <klember@redhat.com> - 3.34.2-1
|
||||||
|
- Update to 3.34.2
|
||||||
|
|
||||||
|
* Thu Oct 10 2019 Adam Williamson <awilliam@redhat.com> - 3.34.1-4
|
||||||
|
- Add patch to fix crash when selecting display with no modes (rhbz#1756553)
|
||||||
|
|
||||||
|
* Wed Oct 09 2019 Felipe Borges <feborges@redhat.com> - 3.34.1-3
|
||||||
|
- Add patch to fix parsing of addresses while adding printers (rhbz#1750394)
|
||||||
|
|
||||||
|
* Mon Oct 07 2019 Benjamin Berg <bberg@redhat.com> - 3.34.1-2
|
||||||
|
- Add patch to fix resetting of system wide format locale (rhbz#1759221)
|
||||||
|
|
||||||
|
* Mon Oct 07 2019 Kalev Lember <klember@redhat.com> - 3.34.1-1
|
||||||
|
- Update to 3.34.1
|
||||||
|
|
||||||
|
* Sat Oct 05 2019 Michael Catanzaro <mcatanzaro@gnome.org> - 3.34.0.1-3
|
||||||
|
- Add patch to fix editing wired connection settings (rhbz#1750805)
|
||||||
|
- Remove broken remote printers patch
|
||||||
|
|
||||||
|
* Wed Oct 02 2019 Michael Catanzaro <mcatanzaro@gnome.org> - 3.34.0.1-2
|
||||||
|
- Add patch to fix crash when configuring remote printers
|
||||||
|
|
||||||
|
* Mon Sep 09 2019 Kalev Lember <klember@redhat.com> - 3.34.0.1-1
|
||||||
|
- Update to 3.34.0.1
|
||||||
|
|
||||||
|
* Mon Sep 09 2019 Kalev Lember <klember@redhat.com> - 3.34.0-1
|
||||||
|
- Update to 3.34.0
|
||||||
|
|
||||||
|
* Mon Aug 12 2019 Kalev Lember <klember@redhat.com> - 3.33.90-1
|
||||||
|
- Update to 3.33.90
|
||||||
|
|
||||||
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.33.3-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jul 21 2019 Kalev Lember <klember@redhat.com> - 3.33.3-2
|
||||||
|
- Remove libXxf86misc-devel BuildRequires as the package no longer exists
|
||||||
|
|
||||||
|
* Wed Jun 19 2019 Kalev Lember <klember@redhat.com> - 3.33.3-1
|
||||||
|
- Update to 3.33.3
|
||||||
|
|
||||||
|
* Fri May 24 2019 Kalev Lember <klember@redhat.com> - 3.32.2-1
|
||||||
|
- Update to 3.32.2
|
||||||
|
|
||||||
|
* Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 3.32.1-2
|
||||||
|
- Rebuild with Meson fix for #1699099
|
||||||
|
|
||||||
|
* Fri Mar 29 2019 Kalev Lember <klember@redhat.com> - 3.32.1-1
|
||||||
|
- Update to 3.32.1
|
||||||
|
|
||||||
|
* Mon Mar 11 2019 Kalev Lember <klember@redhat.com> - 3.32.0.1-1
|
||||||
|
- Update to 3.32.0.1
|
||||||
|
|
||||||
|
* Mon Mar 11 2019 Kalev Lember <klember@redhat.com> - 3.32.0-1
|
||||||
|
- Update to 3.32.0
|
||||||
|
|
||||||
|
* Mon Mar 04 2019 Kalev Lember <klember@redhat.com> - 3.31.92-1
|
||||||
|
- Update to 3.31.92
|
||||||
|
|
||||||
|
* Sat Feb 23 2019 Kevin Fenzi <kevin@scrye.com> - 3.31.90-2
|
||||||
|
- Add https://gitlab.gnome.org/GNOME/gnome-control-center/merge_requests/387.patch
|
||||||
|
to fix udisks crash
|
||||||
|
|
||||||
|
* Thu Feb 07 2019 Kalev Lember <klember@redhat.com> - 3.31.90-1
|
||||||
|
- Update to 3.31.90
|
||||||
|
|
||||||
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.31.4-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jan 09 2019 Kalev Lember <klember@redhat.com> - 3.31.4-1
|
||||||
|
- Update to 3.31.4
|
||||||
|
|
||||||
|
* Tue Nov 20 2018 Pete Walter <pwalter@fedoraproject.org> - 3.30.2-3
|
||||||
|
- Recommend gnome-remote-desktop for the sharing panel
|
||||||
|
|
||||||
|
* Sat Nov 17 2018 Pete Walter <pwalter@fedoraproject.org> - 3.30.2-2
|
||||||
|
- Change bolt requires to recommends (#1643709)
|
||||||
|
- Change rygel requires to recommends
|
||||||
|
|
||||||
|
* Thu Nov 01 2018 Kalev Lember <klember@redhat.com> - 3.30.2-1
|
||||||
|
- Update to 3.30.2
|
||||||
|
|
||||||
|
* Thu Oct 11 2018 David Herrmann <dh.herrmann@gmail.com> - 3.30.1-4
|
||||||
|
- Reduce 'dbus-x11' dependency to 'dbus'. The xinit scripts are no longer the
|
||||||
|
canonical way to start dbus, but the 'dbus' package is nowadays required to
|
||||||
|
provide a user and system bus to its dependents.
|
||||||
|
|
||||||
|
* Wed Oct 10 2018 Benjamin Berg <bberg@redhat.com> - 3.30.1-3
|
||||||
|
- Add patch to improve background loading. The patch is not acceptable
|
||||||
|
upstream as is, but is also a good improvement on the current situation
|
||||||
|
(#1631002)
|
||||||
|
|
||||||
|
* Sun Oct 07 2018 Kalev Lember <klember@redhat.com> - 3.30.1-2
|
||||||
|
- Backport an upstream fix for a crash in the online accounts panel
|
||||||
|
|
||||||
|
* Wed Sep 26 2018 Kalev Lember <klember@redhat.com> - 3.30.1-1
|
||||||
|
- Update to 3.30.1
|
||||||
|
|
||||||
|
* Thu Sep 06 2018 Kalev Lember <klember@redhat.com> - 3.30.0-1
|
||||||
|
- Update to 3.30.0
|
||||||
|
|
||||||
|
* Sun Aug 12 2018 Kalev Lember <klember@redhat.com> - 3.29.90-1
|
||||||
|
- Update to 3.29.90
|
||||||
|
|
||||||
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 3.28.2-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 29 2018 Kalev Lember <klember@redhat.com> - 3.28.2-1
|
||||||
|
- Update to 3.28.2
|
||||||
|
|
||||||
|
* Wed May 23 2018 Pete Walter <pwalter@fedoraproject.org> - 3.28.1-4
|
||||||
|
- Change NetworkManager-wifi requires to recommends (#1478661)
|
||||||
|
|
||||||
|
* Tue May 22 2018 Ray Strode <rstrode@redhat.com> - 3.28.1-3
|
||||||
|
- Change vino requires to a vino recommends
|
||||||
|
|
||||||
|
* Fri Apr 13 2018 Kalev Lember <klember@redhat.com> - 3.28.1-2
|
||||||
|
- Backport new thunderbolt panel
|
||||||
|
|
||||||
|
* Tue Apr 10 2018 Pete Walter <pwalter@fedoraproject.org> - 3.28.1-1
|
||||||
|
- Rename control-center to gnome-control-center
|
Loading…
Reference in New Issue
Block a user