Accepting request 963584 from GNOME:Factory

GNOME 42 - ready for impact

OBS-URL: https://build.opensuse.org/request/show/963584
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-control-center?expand=0&rev=210
This commit is contained in:
Dominique Leuenberger 2022-03-23 19:16:16 +00:00 committed by Git OBS Bridge
commit 4e11e5ef54
6 changed files with 83 additions and 86 deletions

View File

@ -1,23 +0,0 @@
From 496c719d7b1492b54c34ace648feb3802f34f774 Mon Sep 17 00:00:00 2001
From: Jeremy Bicha <jbicha@ubuntu.com>
Date: Sun, 26 Sep 2021 08:08:49 -0400
Subject: [PATCH] wwan: Remove duplicate line from .desktop
---
panels/wwan/gnome-wwan-panel.desktop.in.in | 1 -
1 file changed, 1 deletion(-)
diff --git a/panels/wwan/gnome-wwan-panel.desktop.in.in b/panels/wwan/gnome-wwan-panel.desktop.in.in
index 351a8edde..d46359755 100644
--- a/panels/wwan/gnome-wwan-panel.desktop.in.in
+++ b/panels/wwan/gnome-wwan-panel.desktop.in.in
@@ -11,6 +11,5 @@ NoDisplay=true
StartupNotify=true
Categories=GNOME;GTK;Settings;X-GNOME-NetworkSettings;HardwareSettings;X-GNOME-Settings-Panel;X-GNOME-ConnectivitySettings;
OnlyShowIn=GNOME;Unity;
-StartupNotify=true
# Translators: Search terms to find the WWAN panel. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=cellular;wwan;telephony;sim;mobile;
--
GitLab

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d6db0c4cb70857becf48ac5007f12b5f63b9d5d7e80ea7ee57d3be512669f7c9
size 6616908

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0732efa7c4171ce0a0ed4106580b4ce35a57b10152c0ea36d239134913777eda
size 6238096

View File

@ -1,28 +0,0 @@
From cb4d444ac1b46c3ea92dbb803d02de832ed4a9d9 Mon Sep 17 00:00:00 2001
From: Chingkai Chu <3013329+chuchingkai@users.noreply.github.com>
Date: Wed, 27 Oct 2021 16:52:41 +0800
Subject: [PATCH] user-accounts: Make autologin_switch a activatable_widget
If we don't add this property for autologin_row, the shortcut to
toggle the GtkSwitch won't work.
See: https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/1501
---
panels/user-accounts/cc-user-panel.ui | 1 +
1 file changed, 1 insertion(+)
diff --git a/panels/user-accounts/cc-user-panel.ui b/panels/user-accounts/cc-user-panel.ui
index 134a9a39a..060bbaf5d 100644
--- a/panels/user-accounts/cc-user-panel.ui
+++ b/panels/user-accounts/cc-user-panel.ui
@@ -414,6 +414,7 @@
<property name="visible">True</property>
<property name="title" translatable="yes">A_utomatic Login</property>
<property name="use_underline">True</property>
+ <property name="activatable_widget">autologin_switch</property>
<child>
<object class="GtkSwitch" id="autologin_switch">
<property name="visible">True</property>
--
2.33.1

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Mar 18 21:53:18 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 42.0:
+ Updated AppData screenshots.
+ Re-enable tests.
+ Updated translations.
- Disable tests for now, needs display, and that is somewhat hard
to get during build on obs.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 16 06:47:50 UTC 2022 - Jonathan Kang <songchuan.kang@suse.com> Wed Mar 16 06:47:50 UTC 2022 - Jonathan Kang <songchuan.kang@suse.com>
@ -5,6 +15,49 @@ Wed Mar 16 06:47:50 UTC 2022 - Jonathan Kang <songchuan.kang@suse.com>
network/connection-editor: always load all available VPN plugins network/connection-editor: always load all available VPN plugins
(glgo#GNOME/gnome-control-center!1263). (glgo#GNOME/gnome-control-center!1263).
-------------------------------------------------------------------
Mon Mar 7 18:22:33 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 42.rc:
+ Keyboard: Restore _GNOME_WM_KEYBINDINGS support.
+ User Accounts:
- Bring back Fingerprint dialog.
- Fix avatar loading.
+ Wacom: Bring back empty state.
+ Updated translations.
- Add pkgconfig(gnutls) BuildRequires: New dependency.
-------------------------------------------------------------------
Tue Feb 15 22:03:27 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 42.beta:
+ Port to GTK4
+ Various UI polish changes
+ New symbolic icons for panels
+ Application: Implement new design
+ Background:
- Introduce dark & light mode selector
- Rename to Appearance
+ Display: Implement new design
+ Region & Language: Implement new design
+ User Accounts: New design for the User Accounts panel
+ Wacom: Implement new design
+ Updated translations.
- Drop pkgconfig(cheese) and pkgconfig(cheese-gtk) BuildRequires.
- Replace the following BuildRequires:
+ pkgconfig(colord-gtk) with pkgconfig(colord-gtk4)
+ pkgconfig(gnome-bluetooth-1.0) with
pkgconfig(gnome-bluetooth-3.0)
+ pkgconfig(gnome-desktop-3.0) with pkgconfig(gnome-desktop-4)
+ pkgconfig(gtk+-3.0) with pkgconfig(gtk4)
+ pkgconfig(libhandy-1) with pkgconfig(libadwaita-1)
+ pkgconfig(libnma) with pkgconfig(libnma-gtk4)
- Disable patch that need rebase:
+ gnome-control-center-disable-error-message-for-NM.patch
- Drop patches fixed upstream:
+ gnome-control-center-fix-autologin-shortcut.patch
+ 496c719d7b1492b54c34ace648feb3802f34f774.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 14 09:05:02 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com> Mon Feb 14 09:05:02 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
@ -450,6 +503,8 @@ Mon Mar 30 08:25:49 UTC 2020 - dimstar@opensuse.org
gnome-control-center-Initialize-GError-to-NULL-before-use.patch: gnome-control-center-Initialize-GError-to-NULL-before-use.patch:
fixed upstream. fixed upstream.
- Switch back to regular release tarballs. - Switch back to regular release tarballs.
- Disable gnome-control-center-disable-error-message-for-NM.patch:
Needs rebase.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Mar 30 08:25:48 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com> Mon Mar 30 08:25:48 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -26,20 +26,16 @@
%endif %endif
Name: gnome-control-center Name: gnome-control-center
Version: 41.4 Version: 42.0
Release: 0 Release: 0
Summary: The GNOME Control Center Summary: The GNOME Control Center
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: System/GUI/GNOME Group: System/GUI/GNOME
URL: https://www.gnome.org URL: https://www.gnome.org
Source0: https://download.gnome.org/sources/gnome-control-center/41/%{name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/gnome-control-center/42/%{name}-%{version}.tar.xz
# 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 # PATCH-NEEDS-REBASE 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 Was:PATCH-FIX-OPENSUSE
Patch0: gnome-control-center-disable-error-message-for-NM.patch Patch0: gnome-control-center-disable-error-message-for-NM.patch
# PATCH-FIX-UPSTREAM gnome-control-center-fix-autologin-shortcut.patch glgo#GNOME/gnome-control-center!1084 bsc#1191887 qkzhu@suse.com -- Make autologin_switch a activatable_widget
Patch1: gnome-control-center-fix-autologin-shortcut.patch
# PATCH-FIX-UPSTREAM 496c719d7b1492b54c34ace648feb3802f34f774.patch -- Remove duplicate line from .desktop file
Patch2: https://gitlab.gnome.org/GNOME/gnome-control-center/-/commit/496c719d7b1492b54c34ace648feb3802f34f774.patch
# PATCH-FIX-UPSTREAM gnome-control-center-reload-vpn-plugins.patch glgo#GNOME/gnome-control-center!1263 sckang@suse.com -- network/connection-editor: always load all available VPN plugins # PATCH-FIX-UPSTREAM gnome-control-center-reload-vpn-plugins.patch glgo#GNOME/gnome-control-center!1263 sckang@suse.com -- network/connection-editor: always load all available VPN plugins
Patch3: gnome-control-center-reload-vpn-plugins.patch Patch3: gnome-control-center-reload-vpn-plugins.patch
@ -63,10 +59,8 @@ BuildRequires: python3-dbusmock
BuildRequires: xsltproc BuildRequires: xsltproc
BuildRequires: pkgconfig(accountsservice) >= 0.6.39 BuildRequires: pkgconfig(accountsservice) >= 0.6.39
BuildRequires: pkgconfig(cairo-gobject) BuildRequires: pkgconfig(cairo-gobject)
BuildRequires: pkgconfig(cheese) >= 3.28.0
BuildRequires: pkgconfig(cheese-gtk) >= 3.5.91
BuildRequires: pkgconfig(colord) >= 0.1.34 BuildRequires: pkgconfig(colord) >= 0.1.34
BuildRequires: pkgconfig(colord-gtk) >= 0.1.24 BuildRequires: pkgconfig(colord-gtk4)
BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(gcr-3) BuildRequires: pkgconfig(gcr-3)
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.23.0 BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.23.0
@ -75,9 +69,10 @@ BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glib-2.0) >= 2.68.0 BuildRequires: pkgconfig(glib-2.0) >= 2.68.0
BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gnome-bluetooth-1.0) >= 3.18.2 BuildRequires: pkgconfig(gnome-bluetooth-3.0)
BuildRequires: pkgconfig(gnome-desktop-3.0) >= 3.33.4 BuildRequires: pkgconfig(gnome-desktop-4)
BuildRequires: pkgconfig(gnome-settings-daemon) >= 3.25.90 BuildRequires: pkgconfig(gnome-settings-daemon) >= 41
BuildRequires: pkgconfig(gnutls)
BuildRequires: pkgconfig(goa-1.0) >= 3.25.3 BuildRequires: pkgconfig(goa-1.0) >= 3.25.3
BuildRequires: pkgconfig(goa-backend-1.0) BuildRequires: pkgconfig(goa-backend-1.0)
BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gobject-2.0)
@ -85,12 +80,12 @@ BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 40.alpha BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 40.alpha
BuildRequires: pkgconfig(gsound) BuildRequires: pkgconfig(gsound)
BuildRequires: pkgconfig(gthread-2.0) BuildRequires: pkgconfig(gthread-2.0)
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22.20 BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(gudev-1.0) BuildRequires: pkgconfig(gudev-1.0)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(libgtop-2.0) BuildRequires: pkgconfig(libgtop-2.0)
BuildRequires: pkgconfig(libhandy-1) >= 1.2.0
BuildRequires: pkgconfig(libnm) >= 1.24.0 BuildRequires: pkgconfig(libnm) >= 1.24.0
BuildRequires: pkgconfig(libnma) >= 1.8.0 BuildRequires: pkgconfig(libnma-gtk4)
BuildRequires: pkgconfig(libpulse) >= 2.0 BuildRequires: pkgconfig(libpulse) >= 2.0
BuildRequires: pkgconfig(libpulse-mainloop-glib) BuildRequires: pkgconfig(libpulse-mainloop-glib)
BuildRequires: pkgconfig(libsecret-1) BuildRequires: pkgconfig(libsecret-1)
@ -102,12 +97,12 @@ BuildRequires: pkgconfig(polkit-gobject-1) >= 0.103
BuildRequires: pkgconfig(pwquality) >= 1.2.2 BuildRequires: pkgconfig(pwquality) >= 1.2.2
BuildRequires: pkgconfig(smbclient) BuildRequires: pkgconfig(smbclient)
BuildRequires: pkgconfig(udisks2) >= 2.8.2 BuildRequires: pkgconfig(udisks2) >= 2.8.2
BuildRequires: pkgconfig(upower-glib) >= 0.99.6 BuildRequires: pkgconfig(upower-glib) >= 0.99.8
BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xcursor) BuildRequires: pkgconfig(xcursor)
BuildRequires: pkgconfig(xft) BuildRequires: pkgconfig(xft)
BuildRequires: pkgconfig(xi) >= 1.2 BuildRequires: pkgconfig(xi) >= 1.2
Requires: gnome-settings-daemon Requires: gnome-settings-daemon >= 41
# needed for universal access panel # needed for universal access panel
Requires: gnome-themes-accessibility Requires: gnome-themes-accessibility
Requires: gnome-version Requires: gnome-version
@ -183,11 +178,10 @@ GNOME control center.
%prep %prep
%setup -q %setup -q
# Patch needs rebase
%patch0 -p1 #%%patch0 -p1
%patch1 -p1
%patch2 -p1
%patch3 -p1 %patch3 -p1
# patches for Leap >= 15 plus SLE >= 15, but not TW # patches for Leap >= 15 plus SLE >= 15, but not TW
%if 0%{?sle_version} >= 150000 %if 0%{?sle_version} >= 150000
%patch1001 -p1 %patch1001 -p1
@ -197,21 +191,20 @@ GNOME control center.
%build %build
%meson \ %meson \
-Dcheese=true \
-Ddocumentation=true \ -Ddocumentation=true \
%{!?with_ibus: -Dibus=false} \ %{!?with_ibus: -Dibus=false} \
-Dmalcontent=true \ -Dmalcontent=true \
%{nil} %{nil}
%meson_build %meson_build
%check #%%check
%meson_test #%%meson_test
%install %install
%meson_install %meson_install
%find_lang %{name}-2.0 %{?no_lang_C} %find_lang %{name}-2.0 %{?no_lang_C}
%find_lang %{name}-2.0-timezones %{name}-2.0.lang %find_lang %{name}-2.0-timezones %{name}-2.0.lang
%fdupes %{buildroot}/%{_prefix} %fdupes %{buildroot}%{_prefix}
# We do not package gnome-control-center.rules (bnc#804966) # We do not package gnome-control-center.rules (bnc#804966)
rm %{buildroot}%{_datadir}/polkit-1/rules.d/gnome-control-center.rules rm %{buildroot}%{_datadir}/polkit-1/rules.d/gnome-control-center.rules
@ -220,19 +213,18 @@ rm %{buildroot}%{_datadir}/polkit-1/rules.d/gnome-control-center.rules
%license COPYING %license COPYING
%doc NEWS README.md %doc NEWS README.md
%{_bindir}/* %{_bindir}/*
%{_datadir}/metainfo/gnome-control-center.appdata.xml %{_datadir}/metainfo/org.gnome.Settings.appdata.xml
%exclude %{_datadir}/applications/gnome-color-panel.desktop %exclude %{_datadir}/applications/gnome-color-panel.desktop
%exclude %{_datadir}/applications/gnome-online-accounts-panel.desktop %exclude %{_datadir}/applications/gnome-online-accounts-panel.desktop
%{_datadir}/applications/*.desktop %{_datadir}/applications/*.desktop
%{_datadir}/bash-completion/completions/gnome-control-center %{_datadir}/bash-completion/completions/gnome-control-center
%{_datadir}/dbus-1/services/org.gnome.ControlCenter.service %{_datadir}/dbus-1/services/org.gnome.Settings.service
%{_datadir}/dbus-1/services/org.gnome.ControlCenter.SearchProvider.service %{_datadir}/dbus-1/services/org.gnome.Settings.SearchProvider.service
%{_datadir}/glib-2.0/schemas/org.gnome.ControlCenter.gschema.xml %{_datadir}/glib-2.0/schemas/org.gnome.Settings.gschema.xml
%{_datadir}/gnome-control-center/ %{_datadir}/gnome-control-center/
%dir %{_datadir}/gnome-shell/ %dir %{_datadir}/gnome-shell/
%dir %{_datadir}/gnome-shell/search-providers/ %dir %{_datadir}/gnome-shell/search-providers/
%{_datadir}/gnome-shell/search-providers/gnome-control-center-search-provider.ini %{_datadir}/gnome-shell/search-providers/org.gnome.Settings.search-provider.ini
%{_datadir}/icons/hicolor/*/*/*.png
%{_datadir}/icons/hicolor/*/*/*.svg %{_datadir}/icons/hicolor/*/*/*.svg
%{_datadir}/icons/gnome-logo-text-dark.svg %{_datadir}/icons/gnome-logo-text-dark.svg
%{_datadir}/icons/gnome-logo-text.svg %{_datadir}/icons/gnome-logo-text.svg
@ -247,6 +239,7 @@ rm %{buildroot}%{_datadir}/polkit-1/rules.d/gnome-control-center.rules
%dir %{_datadir}/sounds/gnome/default/alerts %dir %{_datadir}/sounds/gnome/default/alerts
%{_datadir}/sounds/gnome/default/alerts/*.ogg %{_datadir}/sounds/gnome/default/alerts/*.ogg
%{_libexecdir}/cc-remote-login-helper %{_libexecdir}/cc-remote-login-helper
%{_libexecdir}/gnome-control-center-goa-helper
%{_libexecdir}/gnome-control-center-print-renderer %{_libexecdir}/gnome-control-center-print-renderer
%{_libexecdir}/gnome-control-center-search-provider %{_libexecdir}/gnome-control-center-search-provider
%{_mandir}/man1/gnome-control-center.1%{?ext_man} %{_mandir}/man1/gnome-control-center.1%{?ext_man}