diff mbox series

[meta-gnome,16/23] gnome-control-center: update 46.2 -> 47.0.1

Message ID 20240920150822.1131707-16-f_l_k@t-online.de
State Under Review
Headers show
Series [meta-gnome,01/23] xdg-desktop-portal-gnome: update 46.2 -> 47.1 | expand

Commit Message

Markus Volk Sept. 20, 2024, 3:08 p.m. UTC
- inherit gi-docgen to make api-documentation available
- Add missing dependencies to build documentation
- Temporary switch to gitsm, because gnomebase.bbclass does not
  work, if package contains patch version number
- Remove PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
  Seems to be unneeded by now

===============
Version 47.beta
===============

- Various translation updates
- 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

================
Version 47.alpha
================

- Various translation updates
- Various CI fixes
- Various dialogs have been ported to subpages
- Add CcNumberRow to ease the mapping of settings to combo rows
- Skip tests if we don't have Xvfb or setxkbmap
- Various ports of rows to AdwButtonRow
- Various ports of dialogs to AdwDialog
- Various ports to AdwAlertDialog
- Various row changes to use the "property" style
- Improve padding of some search entries
- Fix Flatpak Development build manifest
- Reorganize various icon assets

Accessibility
- Add "Activate Windows on Hover" setting
- Move "Screen Reader" settings to the top
- Use same size for cursors settings interface
- Port Cursor Size dialog to AdwDialog
- Various icon artwork updates

Apps
- Improve description of "Default Apps" settings
- Turn app settings dialogs into subpages
- Fix "No Search Results" page
- Don't show "Open" button for Settings itself
- Show the number of static permissions in the "Required Access" row
- Indicate when no apps are available for a mime type in "Default Apps"

Background
- Implement accent colors
- Improve window preview style
- Improve a11y of the accent color toggles

Color
- Modernize looks of the Color settings
- Capitalize "Built-In Webcam"
- Rename "Laptop Screen" to "Built-In Screen"

Displays
- Fix panel crash when closing laptop lid
- Add icon to the Night Light settings

Keyboard
- Allow previewing keyboard layouts in Input Sources dialog
- Turn CcXkbModifierDialog into a subpage

Mouse
- Remove primary indicator delay for Mouse Test dialog
- Make Mouse Test not respond to middle click

Network
- Make the QR Code dialog contents readable by screen readers
- Use property rows to show Wi-Fi hotspot information
- Add 6GHz to "Supported Frequencies"
- Sort VPNs list
- Fix row removal when Bluetooth wifi is removed
- Add stable-ssid support for cloned-mac

Online Accounts
- Rename Windows Live provider to "Microsoft"
- Rename MS365 provider
- Close new account dialog when account creation is complete

Printers
- Modernize Printer Jobs dialog
- Modernize Printer Details dialog
- Fix spelling inconsistency for the word "Cancelled"
- Close "Add Printer" dialog when pressing "Escape" key
- Port "Undo" feature to AdwToast

Power
- Add suspend time options for mobile devices

Privacy
- Port to CcNumberRow

Search
- Port "Search Locations" page to a subpage

Sharing
- Improve text description of the Sharing features
- Add DAV address in the File Sharing dialog
- Add notice about shared files not being encrypted
- Hide panel when none of the Sharing features are available in the system

Sound
- Use AppInfo to get app icons and fallback to icon-theme
- Try to use AppInfo icon for stream icons
- Turn volume levels dialog into a subpage
- Adjust sound of the "Click" effect closer to the freedesktop.org bell sound
- Make sound setting sliders more accessible with keyboard

System
- Load subpages on demand to speed up panel load
- Avoid re-setting Remote Desktop credentials when they haven't changed

Users
- Don't show unwanted system accounts
- Fix parental controls settings visibility
- Rename "Add Enterprise User" to "Add Enterprise Login"

Wacom
- Always allow calibration for display tablets
- Enforce a Z-shape sequence of calibration points
- Fix wrong alignment detection in the calibrator
- Reset the clock after any click on the calibrator
- Up the calibrator threshold to 50 pixels
- Simplify the calibrator code
- Fall back to the generic tablet provided by libwacom
- If we have two identical monitors, suffix the connector name

Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 ...001-Add-meson-option-to-pass-sysroot.patch | 25 ++++++++++---------
 ...46.2.bb => gnome-control-center_47.0.1.bb} | 10 +++++---
 2 files changed, 19 insertions(+), 16 deletions(-)
 rename meta-gnome/recipes-gnome/gnome-control-center/{gnome-control-center_46.2.bb => gnome-control-center_47.0.1.bb} (78%)
diff mbox series

Patch

diff --git a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch
index c1bd34d14..851537563 100644
--- a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch
+++ b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center/0001-Add-meson-option-to-pass-sysroot.patch
@@ -13,7 +13,7 @@  Upstream-Status: Inappropriate [OE specific]
  3 files changed, 3 insertions(+), 2 deletions(-)
 
 diff --git a/meson_options.txt b/meson_options.txt
-index b2302bf..5b9baf5 100644
+index 9aeeed313..6097263a6 100644
 --- a/meson_options.txt
 +++ b/meson_options.txt
 @@ -1,3 +1,4 @@
@@ -22,28 +22,29 @@  index b2302bf..5b9baf5 100644
  option('documentation', type: 'boolean', value: false, description: 'build documentation')
  option('location-services', type: 'feature', value: 'enabled', description: 'build with location services')
 diff --git a/panels/background/meson.build b/panels/background/meson.build
-index 6ced050..df1f808 100644
+index 8f9cbecdf..17f17d395 100644
 --- a/panels/background/meson.build
 +++ b/panels/background/meson.build
-@@ -24,7 +24,7 @@ common_sources += gnome.mkenums_simple(
+@@ -23,7 +23,7 @@ common_sources += gnome.mkenums_simple(
+ )
  
- enums = 'gdesktop-enums-types'
- enums_header = files(
+ gdesktop_enums_header = files(
 -  gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h'
-+  get_option('oe_sysroot') + gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h'
++  get_option('oe_sysroot') + gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h',
  )
  
- common_sources += gnome.mkenums(
+ common_sources += gnome.mkenums_simple(
 diff --git a/panels/system/meson.build b/panels/system/meson.build
-index 4fee822..979332a 100644
+index bbe004837..92e809fbe 100644
 --- a/panels/system/meson.build
 +++ b/panels/system/meson.build
-@@ -73,7 +73,7 @@ sources += gnome.compile_resources(
+@@ -68,7 +68,7 @@ sources += gnome.compile_resources(
  )
  
- enums_header = files(
--  gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h',
+ gdesktop_enums_header = files(
+-  gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h'
 +  get_option('oe_sysroot') + gsettings_desktop_dep.get_variable(pkgconfig: 'prefix') + '/include/gsettings-desktop-schemas/gdesktop-enums.h',
-   'datetime/cc-datetime-page.h'
  )
  
+ sources += gnome.mkenums_simple(
+ 
diff --git a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_46.2.bb b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_47.0.1.bb
similarity index 78%
rename from meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_46.2.bb
rename to meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_47.0.1.bb
index ae96caf94..f2b0d09d5 100644
--- a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_46.2.bb
+++ b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_47.0.1.bb
@@ -31,14 +31,17 @@  DEPENDS = " \
     tecla \
     udisks2 \
     upower \
+    ${@' libxslt-native docbook-xsl-stylesheets-native' if d.getVar('GIDOCGEN_ENABLED') == 'True' else ''} \
 "
 
-inherit gtk-icon-cache pkgconfig gnomebase gsettings gettext upstream-version-is-even bash-completion features_check
+inherit gtk-icon-cache pkgconfig gnomebase gsettings gettext gi-docgen upstream-version-is-even bash-completion features_check
 
 REQUIRED_DISTRO_FEATURES += "opengl polkit pulseaudio systemd x11"
+SRC_URI = "gitsm://gitlab.gnome.org/GNOME/gnome-control-center.git;protocol=https;nobranch=1"
 
+S = "${WORKDIR}/git"
 SRC_URI += "file://0001-Add-meson-option-to-pass-sysroot.patch"
-SRC_URI[archive.sha256sum] = "6335c6cb8164e574db521fff61cfa3dfaa55f1db66ae3bca02750a193e1c4f3d"
+SRCREV = "adb035fa5c61cdcff622536fde9456e3859211fd"
 
 PACKAGECONFIG ??= "ibus ${@bb.utils.filter('DISTRO_FEATURES', 'wayland', d)}"
 PACKAGECONFIG[cups] = ",,cups,cups system-config-printer cups-pk-helper"
@@ -49,11 +52,10 @@  PACKAGECONFIG[media-share] = ",,,rygel-meta tumbler"
 PACKAGECONFIG[malcontent] = "-Dmalcontent=true,-Dmalcontent=false,malcontent,malcontent-ui"
 
 EXTRA_OEMESON += "-Doe_sysroot=${STAGING_DIR_HOST}"
+GIDOCGEN_MESON_OPTION = 'documentation'
 
 export XDG_DATA_DIRS = "${STAGING_DATADIR}"
 
-PACKAGE_DEBUG_SPLIT_STYLE = "debug-without-src"
-
 FILES:${PN} += " \
     ${datadir}/dbus-1 \
     ${datadir}/gnome-shell \