From ba8b8370d7fd0120d273f13572cdbd21e5b32c16a504ff1c171c6220f1e56452 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Tue, 12 Sep 2023 08:20:36 +0000 Subject: [PATCH] Accepting request 1109817 from GNOME:Next Pushing GNOME 45.rc packages OBS-URL: https://build.opensuse.org/request/show/1109817 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-control-center?expand=0&rev=516 --- _service | 2 +- gnome-control-center-44.3.obscpio | 3 - gnome-control-center-45.rc.obscpio | 3 + ...-center-disable-error-message-for-NM.patch | 57 +++-- gnome-control-center.changes | 229 ++++++++++++++++++ gnome-control-center.obsinfo | 6 +- gnome-control-center.spec | 12 +- 7 files changed, 269 insertions(+), 43 deletions(-) delete mode 100644 gnome-control-center-44.3.obscpio create mode 100644 gnome-control-center-45.rc.obscpio diff --git a/_service b/_service index 65a01fe..57ba63a 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ git https://gitlab.gnome.org/GNOME/gnome-control-center.git - refs/tags/44.3 + refs/tags/45.rc @PARENT_TAG@+@TAG_OFFSET@ (.*)\+0 \1 diff --git a/gnome-control-center-44.3.obscpio b/gnome-control-center-44.3.obscpio deleted file mode 100644 index c89f5b3..0000000 --- a/gnome-control-center-44.3.obscpio +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6d6fc8d1acbb38616fc798e0e910bd35c8f35123a5d1a5d468b1584e4107edcd -size 46091277 diff --git a/gnome-control-center-45.rc.obscpio b/gnome-control-center-45.rc.obscpio new file mode 100644 index 0000000..28aad62 --- /dev/null +++ b/gnome-control-center-45.rc.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6822798c3a740ee914a1356fead7c11e2e992ddb076fea2b78c0256a5b41830b +size 46176781 diff --git a/gnome-control-center-disable-error-message-for-NM.patch b/gnome-control-center-disable-error-message-for-NM.patch index 35e59be..1d0ec57 100644 --- a/gnome-control-center-disable-error-message-for-NM.patch +++ b/gnome-control-center-disable-error-message-for-NM.patch @@ -1,7 +1,7 @@ -diff --git a/panels/network/cc-network-panel.c b/panels/network/cc-network-panel.c -index 6a3074ce..40fb0283 100644 ---- a/panels/network/cc-network-panel.c -+++ b/panels/network/cc-network-panel.c +Index: gnome-control-center-45.alpha/panels/network/cc-network-panel.c +=================================================================== +--- gnome-control-center-45.alpha.orig/panels/network/cc-network-panel.c ++++ gnome-control-center-45.alpha/panels/network/cc-network-panel.c @@ -659,10 +659,24 @@ static void panel_check_network_manager_version (CcNetworkPanel *self) { @@ -28,10 +28,10 @@ index 6a3074ce..40fb0283 100644 GtkWidget *status_page; status_page = adw_status_page_new (); -@@ -674,9 +688,23 @@ panel_check_network_manager_version (CcNetworkPanel *self) - _("NetworkManager needs to be running to view or make " - "connections. Contact a system administrator or the " - "software vendor.")); +@@ -674,9 +688,23 @@ panel_check_network_manager_version (CcN + _("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; + @@ -52,11 +52,11 @@ index 6a3074ce..40fb0283 100644 } static void -diff --git a/panels/network/cc-wifi-panel.c b/panels/network/cc-wifi-panel.c -index 8e0b17b0..495b5616 100644 ---- a/panels/network/cc-wifi-panel.c -+++ b/panels/network/cc-wifi-panel.c -@@ -302,21 +302,41 @@ static void +Index: gnome-control-center-45.alpha/panels/network/cc-wifi-panel.c +=================================================================== +--- gnome-control-center-45.alpha.orig/panels/network/cc-wifi-panel.c ++++ gnome-control-center-45.alpha/panels/network/cc-wifi-panel.c +@@ -299,21 +299,41 @@ static void check_main_stack_page (CcWifiPanel *self) { const gchar *nm_version; @@ -99,14 +99,14 @@ index 8e0b17b0..495b5616 100644 } static void -diff --git a/panels/network/cc-wifi-panel.ui b/panels/network/cc-wifi-panel.ui -index 722ca3d4..c196f984 100644 ---- a/panels/network/cc-wifi-panel.ui -+++ b/panels/network/cc-wifi-panel.ui -@@ -226,6 +226,50 @@ Error details: NetworkManager not running. - - - +Index: gnome-control-center-45.alpha/panels/network/cc-wifi-panel.ui +=================================================================== +--- gnome-control-center-45.alpha.orig/panels/network/cc-wifi-panel.ui ++++ gnome-control-center-45.alpha/panels/network/cc-wifi-panel.ui +@@ -220,3 +220,47 @@ Error details: NetworkManager not runnin + + + + + + @@ -151,13 +151,10 @@ index 722ca3d4..c196f984 100644 + + + - - - -diff --git a/tests/meson.build b/tests/meson.build -index 69667acb..5f6a932d 100644 ---- a/tests/meson.build -+++ b/tests/meson.build +Index: gnome-control-center-45.alpha/tests/meson.build +=================================================================== +--- gnome-control-center-45.alpha.orig/tests/meson.build ++++ gnome-control-center-45.alpha/tests/meson.build @@ -1,8 +1,11 @@ subdir('common') #subdir('datetime') @@ -168,5 +165,5 @@ index 69667acb..5f6a932d 100644 endif +endif - subdir('interactive-panels') - + # FIXME: this is a workaround because interactive-tests don't work with libadwaita as a subproject. See !1754 + if not libadwaita_is_subproject diff --git a/gnome-control-center.changes b/gnome-control-center.changes index 1f01d50..fdf12c2 100644 --- a/gnome-control-center.changes +++ b/gnome-control-center.changes @@ -1,3 +1,232 @@ +------------------------------------------------------------------- +Fri Aug 25 18:17:07 UTC 2023 - Bjørn Lie + +- Update to version 45.rc: + + About: + - Port to AdwToolbarView + - Make System Details window more compact + - Port System Details window to AdwBreakpoint + - Port System Details window to AdwToolbarView + + Accessibility: Port to AdwToolbarView + + Applications: + - Make panel fit on narrow widths + - Port deprecated GtkDialogs to AdwWindow + + Background: Port to AdwToolbarView + + Bluetooth: Port to AdwToolbarView + + Color: Port to AdwToolbarView + + Date and Time: + - Port to AdwToolbarView + - Port dialog to AdwWindow + + Default Apps: Port to AdwToolbarView + + Display: + - Port to AdwNavigationView and AdwtoolbarView + - Reduce the size of the preview width + + Keyboard: + - Port to AdwToolbarView + - Port keyboard shortcuts dialog to AdwNavigationView + - Fix criticals when inpuit chooser is destroyed + - Write to mru-sources setting if it has never been set before + + Mouse: + - Make adaptative + - Port to AdwToolbarView + - Port the test dialog to AdwToolbarView + - Stop leaking the test window + + Multitasking: Port to AdwToolbarView + + Network: + - Port to AdwNavigationView and AdwToolbarView + - Port the Wi-Fi panel to AdwToolbarView + - Stop leaking the hotspot dialog + + Notifications: + - Port to AdwToolbarView + - Port dialog to AdwWindow and AdwToolbarView + + Online Accounts: Port to AdwToolbarView + + Power: + - Port to AdwToolbarView + - Port the suspend dialog to AdwWindow and AdwToolbarView + + Printers: + - Port to AdwToolbarView + - Make the panel adaptative + - Move search bar above the banner + - Port dialogs to AdwWindow and AdwToolbarView + - Fix size calculation for normalized printer name + + Removable Media: + - Port the dialog to AdwWindow + - Port to AdwToolbarView + + Region: Port to AdwToolbarView + + Search: Port to AdwToolbarView + + Sharing: + - Port to AdwToolbarView + - Port dialogs to AdwWindow and AdwToolbarView + - Port Remote Login row to AdwSwitchRow + + Sound: + - Port to AdwToolbarView + - Port dialogs to AdwWindow and AdwToolbarView + + User Accounts: + - Fix account type row sensitivity + - Port to AdwToolbarView + - Port Add User dialog from deprecated GtkDialog to AdwWindow + - Update status page text when no accountsservice is available + - Show label when another user is logged in + - Port error message dialogs to AdwToasts + - Port deprecated GtkMessageDialogs to AdwMessageDialog + - Add "loading" page at startup + + Wacom: Port to AdwToolbarView + + WWAN: Port to AdwToolbarView +- Pass tests=false to meson, we are not running tests, so lets not + build them either (avoids a dependency on setxkbmap). + +------------------------------------------------------------------- +Mon Aug 7 12:46:15 UTC 2023 - Bjørn Lie + +- Update to version 45.beta: + + Prevent loading last-panel unconditionally on startup + + Multiple settings rows got ported to use the AdwSwitchRow + widget + + Various accessibility label fixes + + Various memory leak fixes + + About: New About panel displaying system information in a more + compact way + + Applications: Fix crash when opening the Apps panel as the + last-opened panel + + Datetime: Add description explaining the "Clock & Calendar" + settings + + Displays: Replace deprecated GtkComboBox with AdwComboRow + + Keyboard: + - Fix "Move up/down" movement options in the input list + - Spawn "tecla" app to display the keyboard map (replaces + gkbd-keyboard-display) + - Fix alignment of the "Set Shorcut..." button + + Network: Use an AdwSwitchRow widget to enable/disable Wi-Fi + + Online Accounts: + - Improve "offiline" message text + - Use banner to indicate when the system is offline + - Add panel description text and section titles + + Sound: + - Make output test whell smaller + - Ellipsize long device name label + + Printers: Use the "card" style for printer entries + + Privacy: New Privacy panel containing all the panels under the + Privacy category + + Region: Fix preview buttoins in the format chooser + + Search: Fix "Move up/down" movement options in the app search + list + + Users: + - Show "Other Users" section only when there are users to show + - Make entire panel insensitive when the user has no permission + to make changes + - Fix focus issues when selecting avatar image from a file + - Fix g_critical errors when loading file metadata for avatars +- Replace gnomekbd-tools Requires with tecla-keyboard-layout-viewer + Requires following upstream changes. + +------------------------------------------------------------------- +Fri Jul 14 13:55:51 UTC 2023 - Bjørn Lie + +- Update to version 45.alpha: + + Add placeholder text to various search entries + + Set a minimum size for various dialogs + + Make dialogs close when pressing the Escape key + + Replace deprecated GTK4 methods with new replacements + + Depend on snapd-glib-2 (soup3 version) + + Accessibility improvements + + Common: + - Fix time entry for RTL languages + - Use ToastOverlay + - Show start title buttons in header bar + - Allow more theming of rows + - Only return to last panel if it didn't crash + - Improvements to panel activation + - Improvements to panel searching + + About: + - Show only the GNOME major version + - Update hostname only after apply is clicked + + Accessibility: Present the checked state on the list row itself + + Appearance: Clear out dconf if user picks defaults + + Applications: + - Always use bold for app name in dialogs + - Use header capitalization in the "No apps" AdwStatusPage + + Color: + - Do not try to access to null pointer in destruction + - Dim information text & fix "Learn more" link alignment + + Date and Time: + - Fix NTP switch getting out of sync + - Add top bar clock and calendar switches + - Move "Time Format" row out of "Clock" section + - Merge "Clock" and "Calendar" sections + + Default Apps: Don't crash when there are no apps for a mimetype + + Device Security: + - Skip security attributes that have been obsoleted by others + - Ddon't translate technical report + + Display: + - Allow configuring all monitors and apply settings at once + - Try snapping all the displays after a config change + - Don't leak config manager proxy + - Use AdwPreferencesPage + - Fix display enabled toggle visibility + - Fix gaps when numbering unusable displays + - Fix stuck window subtitle + - Fix invalid panel state after canceling changes + - Check best_mode exist before adding flag + + Info: Show each GPU in it's own line + + Mouse: + - Prevent infinite loop on settings changes + - Do not bind sensitivity to touchpad settings + - Simplify binding of touchpad sensitive widgets + - Hide entire "Touchpad" row when touchpad cannot be disabled + + Keyboard: + - Fix cancel button issue + - Add "Compose" and "Character" keywords + - Add ellipsis to the "Add Shortcut" button label + - Fix "Add Custom Shortcut" in others sections + - Drop "Left Alt" as compose key option + + Network: + - Validate max length of hotspot SSID + - Keep current mode when enabling proxy + - Increase maximum MTU value from 10000 to 65536 + - Fix incorrect styling in WiFi list + - Make the security status and signal strength read by screen + readers + - Add a confirmation dialog when forgetting a connection + - Center panel title when subtitle isn't visible + - Rename "Other Devices" to "Bluetooth" + - Fix crash when importing wrong vpn file + - Drop legacy vpn_export function + - Close Connection Editor dialog when clicking Apply button + - Add delete icon in saved WiFi connections list + - Move WiFi controls out of headerbar + + Notifications: Replace "Applications" with "App Notifications" + + Power: + - Label the main "battery" as UPS if that's what it is + - Hide automatic suspend row in VM + + Region: Fix label of formats for the login screen + + Sharing: + - Disable AdwActionRow markup for networks + - Fix network row visible name bug + - Remove global master switch + - Fix visual bug for active indicators + - Add icons next to each row + - Add subtitle to each panel row + + Sound: + - Make bass audible on low quality hardware + - Prevent duplicate sound device entries + + Thunderbolt: + - Update page to be more similar to other pages + - Modernize Device Dialog UI + + Usage: Fix confirmation dialog when clearing history + + Users: + - Remove account activity window + - Set language-chooser to hide on close + - Add popover explaining about the "Administrator" option + - Add a popover describing the autologin functionality + - Move "Add User" button out of the user listbox + - Improve avatar crop mechanics + - Improve rounding of avatar crop edges + - Draw avatar crop corners to inside of crop + + Wacom: Rename "Test Your Settings" button to "Test Settings" + + Updated translations. +- Rebase patch with quilt, but still disable it, breaks build in + current form, so needs reworking or possibly dropping. + ------------------------------------------------------------------- Fri Jun 30 07:54:43 UTC 2023 - Bjørn Lie diff --git a/gnome-control-center.obsinfo b/gnome-control-center.obsinfo index b9ffc91..5175cf6 100644 --- a/gnome-control-center.obsinfo +++ b/gnome-control-center.obsinfo @@ -1,4 +1,4 @@ name: gnome-control-center -version: 44.3 -mtime: 1688079082 -commit: 6af9a48c3238114dab6480f1fb3bdc818dc4a647 +version: 45.rc +mtime: 1692956383 +commit: c065cdda5a5832f8c31ce8ff6de1beb9251944bf diff --git a/gnome-control-center.spec b/gnome-control-center.spec index 7292a76..4f3f1ad 100644 --- a/gnome-control-center.spec +++ b/gnome-control-center.spec @@ -26,7 +26,7 @@ %endif Name: gnome-control-center -Version: 44.3 +Version: 45.rc Release: 0 Summary: The GNOME Control Center License: GPL-2.0-or-later @@ -35,7 +35,7 @@ URL: https://apps.gnome.org/app/org.gnome.Settings Source0: %{name}-%{version}.tar.xz 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 WAS:PATCH-FIX-OPENSUSE +# 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 Patch1: gnome-control-center-disable-error-message-for-NM.patch ### patches for Leap >= 15 plus SLE >= 15, but not TW @@ -113,9 +113,8 @@ Requires: gnome-settings-daemon >= 41 Requires: gnome-themes-accessibility Requires: gnome-version Requires: iso-codes -# Needed for showing keyboard layout, boo#898096 -# Require the package providing /usr/bin/gkbd-keyboard-display -Requires: gnomekbd-tools +# Needed for showing keyboard layout +Requires: tecla-keyboard-layout-viewer # For the thunderbolt panel Recommends: bolt Recommends: %{name}-user-faces @@ -181,7 +180,7 @@ GNOME control center. %prep %setup -q -%patch1 -p1 +#patch1 -p1 # patches for Leap >= 15 plus SLE >= 15, but not TW %if 0%{?sle_version} >= 150000 @@ -195,6 +194,7 @@ GNOME control center. -Ddocumentation=true \ %{!?with_ibus: -Dibus=false} \ -Dmalcontent=true \ + -Dtests=false \ %{nil} %meson_build