From 40e9abd81b6c63716aef27e23e2c022d756fcc50 Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 20 Nov 2024 13:40:15 +0000 Subject: [PATCH] import RHEL 10 Beta gsettings-desktop-schemas-47~alpha-1.el10 --- .gitignore | 2 +- .gsettings-desktop-schemas.metadata | 1 - ...-Add-a-setting-for-overlay-scrolling.patch | 32 --- ...hemas-Add-enable-hot-corners-setting.patch | 37 --- ...ockdown-setting-for-password-showing.patch | 35 --- ...-storage-devices-as-read-only-option.patch | 34 --- ...g.gnome.desktop.interface.gschema.override | 2 - ...mas.spec => gsettings-desktop-schemas.spec | 271 +++++++++++++++--- ...me.desktop.interface.rhel.gschema.override | 4 + sources | 1 + 10 files changed, 234 insertions(+), 185 deletions(-) delete mode 100644 .gsettings-desktop-schemas.metadata delete mode 100644 SOURCES/0001-Add-a-setting-for-overlay-scrolling.patch delete mode 100644 SOURCES/0001-schemas-Add-enable-hot-corners-setting.patch delete mode 100644 SOURCES/0001-schemas-Add-new-lockdown-setting-for-password-showing.patch delete mode 100644 SOURCES/add-mount-removable-storage-devices-as-read-only-option.patch delete mode 100644 SOURCES/org.gnome.desktop.interface.gschema.override rename SPECS/gsettings-desktop-schemas.spec => gsettings-desktop-schemas.spec (58%) create mode 100644 org.gnome.desktop.interface.rhel.gschema.override create mode 100644 sources diff --git a/.gitignore b/.gitignore index 08f08e4..d896981 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/gsettings-desktop-schemas-3.32.0.tar.xz +gsettings-desktop-schemas-47.alpha.tar.xz diff --git a/.gsettings-desktop-schemas.metadata b/.gsettings-desktop-schemas.metadata deleted file mode 100644 index 04517f0..0000000 --- a/.gsettings-desktop-schemas.metadata +++ /dev/null @@ -1 +0,0 @@ -628a2d779ff1cce0574febeff5cfed165de231e5 SOURCES/gsettings-desktop-schemas-3.32.0.tar.xz diff --git a/SOURCES/0001-Add-a-setting-for-overlay-scrolling.patch b/SOURCES/0001-Add-a-setting-for-overlay-scrolling.patch deleted file mode 100644 index 44bf518..0000000 --- a/SOURCES/0001-Add-a-setting-for-overlay-scrolling.patch +++ /dev/null @@ -1,32 +0,0 @@ -From b94d2334fe6e2578aec32f97b9c3bd0d7709ad12 Mon Sep 17 00:00:00 2001 -From: Matthias Clasen -Date: Wed, 22 May 2019 15:51:19 -0400 -Subject: [PATCH] Add a setting for overlay scrolling - -This setting will be used by GTK. ---- - schemas/org.gnome.desktop.interface.gschema.xml.in | 9 +++++++++ - 1 file changed, 9 insertions(+) - -diff --git a/schemas/org.gnome.desktop.interface.gschema.xml.in b/schemas/org.gnome.desktop.interface.gschema.xml.in -index 22ef50d..680ac4c 100644 ---- a/schemas/org.gnome.desktop.interface.gschema.xml.in -+++ b/schemas/org.gnome.desktop.interface.gschema.xml.in -@@ -242,5 +242,14 @@ - If true, gtk+ uses the primary paste selection, usually triggered by a middle mouse button click. - - -+ -+ true -+ Allow overlay scrolling -+ -+ Whether scrollbars should be overlayed as indicators. Depending -+ on input devices in use, permanent scrollbars may still be -+ displayed. -+ -+ - - --- -2.23.0 - diff --git a/SOURCES/0001-schemas-Add-enable-hot-corners-setting.patch b/SOURCES/0001-schemas-Add-enable-hot-corners-setting.patch deleted file mode 100644 index 29612f9..0000000 --- a/SOURCES/0001-schemas-Add-enable-hot-corners-setting.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 1e254151b13dbba244a2c8982c4e160a67f7b41b Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Florian=20M=C3=BCllner?= -Date: Thu, 13 Jun 2019 14:40:56 +0000 -Subject: [PATCH] schemas: Add 'enable-hot-corners' setting - -Whether people love or hate gnome-shell's hot corner depends to large -extents on hardware sensitivity and habits, which is hard to get right -universally. So bite the bullet and add an option to enable or disable -hot corners ... - -https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/merge_requests/26 ---- - schemas/org.gnome.desktop.interface.gschema.xml.in | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/schemas/org.gnome.desktop.interface.gschema.xml.in b/schemas/org.gnome.desktop.interface.gschema.xml.in -index 22ef50d..1e47888 100644 ---- a/schemas/org.gnome.desktop.interface.gschema.xml.in -+++ b/schemas/org.gnome.desktop.interface.gschema.xml.in -@@ -228,6 +228,14 @@ - If true, display weekday in the clock, in addition to time. - - -+ -+ true -+ Enable hot corners -+ -+ If true, the activities overview can be accessed by moving the -+ mouse to the top-left corner. -+ -+ - - false - Show battery percentage --- -2.21.0 - diff --git a/SOURCES/0001-schemas-Add-new-lockdown-setting-for-password-showing.patch b/SOURCES/0001-schemas-Add-new-lockdown-setting-for-password-showing.patch deleted file mode 100644 index 07fe550..0000000 --- a/SOURCES/0001-schemas-Add-new-lockdown-setting-for-password-showing.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 7cb02a1c179e163170b58e3cbd94584624d996c0 Mon Sep 17 00:00:00 2001 -From: Ray Strode -Date: Wed, 21 Aug 2019 13:41:08 -0400 -Subject: [PATCH] schemas: Add new lockdown setting for password showing - -A convenient feature of many password entries is the -"Show Password" menu that lets the user see what password -is hidden behind the bullets they're typing. - -While certainly useful, it can also be problematic in some -deployments, and violate security policies. - -This commit adds a new setting to rid users of that "Show Password" -menu item. ---- - schemas/org.gnome.desktop.lockdown.gschema.xml.in | 7 +++++++ - 1 file changed, 7 insertions(+) - -diff --git a/schemas/org.gnome.desktop.lockdown.gschema.xml.in b/schemas/org.gnome.desktop.lockdown.gschema.xml.in -index d31fb77..e5e408e 100644 ---- a/schemas/org.gnome.desktop.lockdown.gschema.xml.in -+++ b/schemas/org.gnome.desktop.lockdown.gschema.xml.in -@@ -79,5 +79,12 @@ - devices (i.e. flash disks, mobile phones, cameras). - - -+ -+ false -+ Disable password showing -+ -+ Disable the "Show Password" menu item in password entries. -+ -+ - - diff --git a/SOURCES/add-mount-removable-storage-devices-as-read-only-option.patch b/SOURCES/add-mount-removable-storage-devices-as-read-only-option.patch deleted file mode 100644 index 2f333a9..0000000 --- a/SOURCES/add-mount-removable-storage-devices-as-read-only-option.patch +++ /dev/null @@ -1,34 +0,0 @@ -From 1dec88b007a13860ae8da33687fe4d496053ec98 Mon Sep 17 00:00:00 2001 -From: Ondrej Holy -Date: Tue, 14 May 2019 08:12:59 +0200 -Subject: [PATCH] schemas: Add "mount-removable-storage-devices-as-read-only" - option - -Add lockdown option to prevent users from writing or modifying files -on removable storage devices. If enabled, gvfs is going to mount removable -storage devices (i.e. flashdisks, mobile phones, cameras) as read-only. ---- - schemas/org.gnome.desktop.lockdown.gschema.xml.in | 8 ++++++++ - 1 file changed, 8 insertions(+) - -diff --git a/schemas/org.gnome.desktop.lockdown.gschema.xml.in b/schemas/org.gnome.desktop.lockdown.gschema.xml.in -index 0150b32..d31fb77 100644 ---- a/schemas/org.gnome.desktop.lockdown.gschema.xml.in -+++ b/schemas/org.gnome.desktop.lockdown.gschema.xml.in -@@ -71,5 +71,13 @@ - and removing users, as well as changing other users settings. - - -+ -+ false -+ Mount removable storage devices as read-only -+ -+ Prevent users from writing or modifying files on removable storage -+ devices (i.e. flash disks, mobile phones, cameras). -+ -+ - - --- -2.21.0 - diff --git a/SOURCES/org.gnome.desktop.interface.gschema.override b/SOURCES/org.gnome.desktop.interface.gschema.override deleted file mode 100644 index f474a79..0000000 --- a/SOURCES/org.gnome.desktop.interface.gschema.override +++ /dev/null @@ -1,2 +0,0 @@ -[org.gnome.desktop.interface] -monospace-font-name='Monospace 11' diff --git a/SPECS/gsettings-desktop-schemas.spec b/gsettings-desktop-schemas.spec similarity index 58% rename from SPECS/gsettings-desktop-schemas.spec rename to gsettings-desktop-schemas.spec index 4f46d8c..e22aee8 100644 --- a/SPECS/gsettings-desktop-schemas.spec +++ b/gsettings-desktop-schemas.spec @@ -1,39 +1,43 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 1; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + %global debug_package %{nil} +%global tarball_version %%(echo %{version} | tr '~' '.') + Name: gsettings-desktop-schemas -Version: 3.32.0 -Release: 6%{?dist} +Version: 47~alpha +Release: %autorelease Summary: A collection of GSettings schemas -License: LGPLv2+ +License: LGPL-2.1-or-later # no homepage exists for this component -URL: http://bugzilla.gnome.org/enter_bug.cgi?product=gsettings-desktop-schemas -Source0: http://download.gnome.org/sources/%{name}/3.32/%{name}-%{version}.tar.xz -Source1: org.gnome.desktop.interface.gschema.override - -# https://bugzilla.redhat.com/show_bug.cgi?id=1709937 -Patch0: add-mount-removable-storage-devices-as-read-only-option.patch -# Backport from 3.33.1 -Patch1: 0001-schemas-Add-enable-hot-corners-setting.patch -Patch2: 0001-Add-a-setting-for-overlay-scrolling.patch -Patch3: 0001-schemas-Add-new-lockdown-setting-for-password-showing.patch +URL: https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas +Source0: https://download.gnome.org/sources/%{name}/46/%{name}-%{tarball_version}.tar.xz +Source1: org.gnome.desktop.interface.rhel.gschema.override BuildRequires: gettext BuildRequires: glib2-devel >= 2.31.0 BuildRequires: gobject-introspection-devel BuildRequires: meson -# Older versions need the "scroll-method" key that was removed in 3.19.3 -Conflicts: control-center < 1:3.19.3 -Conflicts: gnome-settings-daemon < 3.19.3 -Conflicts: mutter < 3.19.3 - Requires: glib2 >= 2.31.0 # Recommend the default fonts set in the schemas +%if 0%{?rhel} && 0%{?rhel} >= 10 +Recommends: font(redhattextvf) +Recommends: font(redhatmonovf) +%else Recommends: font(cantarell) Recommends: font(sourcecodepro) -Recommends: font(dejavusansmono) +%endif %description gsettings-desktop-schemas contains a collection of GSettings schemas for @@ -50,7 +54,7 @@ and header files for developing applications that use %{name}. %prep -%autosetup -p1 +%autosetup -p1 -n %{name}-%{tarball_version} %build @@ -61,15 +65,16 @@ and header files for developing applications that use %{name}. %install %meson_install -# Restore old monospace default -cp -a %{SOURCE1} %{buildroot}%{_datadir}/glib-2.0/schemas +%if 0%{?rhel} && 0%{?rhel} >= 10 +cp %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas +%endif %find_lang %{name} --with-gnome %check # Test that the schemas compile -glib-compile-schemas --dry-run --strict $RPM_BUILD_ROOT%{_datadir}/glib-2.0/schemas +glib-compile-schemas --dry-run --strict %{buildroot}%{_datadir}/glib-2.0/schemas %files -f %{name}.lang @@ -88,37 +93,215 @@ glib-compile-schemas --dry-run --strict $RPM_BUILD_ROOT%{_datadir}/glib-2.0/sche %changelog -* Tue Jul 20 2021 Ray Strode - 3.32.0-6 -- Add setting for locking down Show Password in entries - Related: #1770302 +## START: Generated by rpmautospec +* Tue Jul 16 2024 Felipe Borges - 47~alpha-1 +- Update to 47.alpha -* Mon Jun 29 2020 Carlos Garnacho - 3.32.0-5 -- Recommend DejaVu Sans Mono font as the default monospace font - Resolves: #1656262 +* Mon Jun 24 2024 Troy Dawson - 46.0-5 +- Bump release for June 2024 mass rebuild -* Thu Nov 21 2019 Benjamin Otte - 3.32-0-4 -- Backport setting for overlay scrolling - Resolves: #1723464 +* Wed Jun 05 2024 Tomas Popela - 46.0-4 +- Use variable fonts -* Tue Jul 23 2019 Florian Müllner - 3.32-0-3 -- Backport 'enable-hot-corners' setting - Resolves: #1704355 +* Tue Apr 09 2024 Tomas Popela - 46.0-3 +- Move to the Red Hat fonts family for RHEL 10 -* Tue Jun 04 2019 Florian Müllner - 3.32.0-2 -- Restore previous monospace font default - Resolves: #1715761 +* Tue Apr 09 2024 Tomas Pelka - 46.0-2 +- enable gating -* Thu May 23 2019 Florian Müllner - 3.32.0-1 +* Thu Mar 28 2024 Felipe Borges - 46.0-1 +- Update to 46.0 + +* Wed Jan 24 2024 Fedora Release Engineering - 46~alpha-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Jan 23 2024 David King - 46~alpha-1 +- Fix version + +* Mon Jan 22 2024 Nieves Montero - 46.alpha-1 +- Update to 46.alpha + +* Sat Jan 20 2024 Fedora Release Engineering - 45.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Sep 16 2023 Kalev Lember - 45.0-1 +- Update to 45.0 + +* Wed Sep 06 2023 Kalev Lember - 45~rc-1 +- Update to 45.rc + +* Fri Aug 11 2023 Kalev Lember - 45~beta-1 +- Update to 45.beta + +* Thu Jul 20 2023 Fedora Release Engineering - 45~alpha-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jul 04 2023 Kalev Lember - 45~alpha-1 +- Update to 45.alpha + +* Mon Mar 20 2023 David King - 44.0-1 +- Update to 44.0 + +* Wed Feb 15 2023 David King - 44~beta-1 +- Update to 44.beta + +* Thu Jan 19 2023 Fedora Release Engineering - 43.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Sep 19 2022 Kalev Lember - 43.0-1 +- Update to 43.0 + +* Tue Sep 06 2022 Kalev Lember - 43~rc.1-1 +- Update to 43.rc.1 + +* Thu Jul 21 2022 Fedora Release Engineering - 43~alpha-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jul 15 2022 Kalev Lember - 43~alpha-1 +- Update to 43.alpha + +* Sun Mar 20 2022 David King - 42.0-1 +- Update to 42.0 + +* Tue Mar 08 2022 David King - 42~rc-1 +- Update to 42.rc + +* Mon Feb 14 2022 David King - 42~beta-1 +- Update to 42.beta + +* Thu Jan 20 2022 Fedora Release Engineering - 42~alpha-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Jan 10 2022 David King - 42~alpha-1 +- Update to 42.alpha + +* Sat Sep 18 2021 Kalev Lember - 41.0-1 +- Update to 41.0 + +* Wed Sep 08 2021 Kalev Lember - 41~rc-1 +- Update to 41.rc + +* Wed Aug 18 2021 Florian Müllner - 41~alpha-1 +- Update to 40.alpha + +* Thu Jul 22 2021 Fedora Release Engineering - 40.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Mon Jul 19 2021 Michael Catanzaro - 40.0-2 +- Override default monospace font in RHEL + +* Mon Mar 22 2021 Kalev Lember - 40.0-1 +- Update to 40.0 + +* Mon Mar 15 2021 Kalev Lember - 40~rc-1 +- Update to 40.rc + +* Wed Feb 17 2021 Kalev Lember - 40~beta-1 +- Update to 40.beta + +* Tue Feb 02 2021 Florian Müllner - 40~alpha-2.20210202git8c395d5 +- Build snapshot of current upstream + +* Tue Jan 26 2021 Fedora Release Engineering - 40~alpha-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Thu Jan 14 2021 Kalev Lember - 40~alpha-1 +- Update to 40.alpha + +* Thu Dec 03 2020 Adam Williamson - 3.38.0-2 +- Backport an upstream addition of a key GNOME Shell 40 alpha expects + +* Mon Sep 14 2020 Kalev Lember - 3.38.0-1 +- Update to 3.38.0 + +* Mon Sep 07 2020 Kalev Lember - 3.37.92-1 +- Update to 3.37.92 + +* Tue Jul 28 2020 Fedora Release Engineering - 3.37.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jul 21 2020 Kalev Lember - 3.37.2-1 +- Update to 3.37.2 + +* Tue May 05 2020 Kalev Lember - 3.37.1-1 +- Update to 3.37.1 + +* Thu Apr 30 2020 Kalev Lember - 3.36.1-1 +- Update to 3.36.1 + +* Mon Mar 09 2020 Kalev Lember - 3.36.0-1 +- Update to 3.36.0 + +* Mon Feb 17 2020 Kalev Lember - 3.35.91-1 +- Update to 3.35.91 + +* Wed Jan 29 2020 Fedora Release Engineering - 3.34.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Mon Sep 09 2019 Kalev Lember - 3.34.0-1 +- Update to 3.34.0 + +* Fri Sep 06 2019 Kalev Lember - 3.33.92-1 +- Update to 3.33.92 + +* Mon Aug 12 2019 Kalev Lember - 3.33.90-1 +- Update to 3.33.90 + +* Thu Jul 25 2019 Fedora Release Engineering - 3.33.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Thu Jul 18 2019 David King - 3.33.1-1 +- Update to 3.33.1 +- Update URLs +- Remove some old Conflicts +- Use autosetup and buildroot macros + +* Mon Jun 24 2019 Kalev Lember - 3.33.0-1 +- Update to 3.33.0 + +* Mon Mar 11 2019 Kalev Lember - 3.32.0-1 - Update to 3.32.0 - Resolves: #1698930 -* Wed May 15 2019 Ondrej Holy - 3.28.1-2 -- Add mount-removable-storage-devices-as-read-only option -- Resovles: #1709937 +* Wed Mar 06 2019 Kalev Lember - 3.31.92-1 +- Update to 3.31.92 + +* Mon Feb 25 2019 Kalev Lember - 3.31.91-2 +- Use fonts() provides instead of requiring specific package names (#1677056) + +* Wed Feb 20 2019 Kalev Lember - 3.31.91-1 +- Update to 3.31.91 + +* Tue Feb 19 2019 Kalev Lember - 3.31.90-2 +- Recommend the default fonts set in the schemas: + abattis-cantarell-fonts and adobe-source-code-pro-fonts (#1677056) + +* Wed Feb 06 2019 Kalev Lember - 3.31.90-1 +- Update to 3.31.90 + +* Fri Feb 01 2019 Fedora Release Engineering - 3.31.0.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Tue Jan 15 2019 Kalev Lember - 3.31.0.2-1 +- Update to 3.31.0.2 +- Switch to meson once again now that enums generation is fixed + +* Thu Jan 10 2019 Kalev Lember - 3.31.0.1-2 +- Switch back to autotools to fix missing org.gnome.desktop.enums.xml +- Add a test to verify that the schemas compile + +* Wed Jan 09 2019 Kalev Lember - 3.31.0.1-1 +- Update to 3.31.0.1 +- Switch to the meson build system + +* Fri Sep 07 2018 Kalev Lember - 3.28.1-2 +- Rebuilt against fixed atk (#1626575) * Tue Sep 04 2018 Kalev Lember - 3.28.1-1 - Update to 3.28.1 +* Fri Jul 13 2018 Fedora Release Engineering - 3.28.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Mon Mar 12 2018 Kalev Lember - 3.28.0-1 - Update to 3.28.0 @@ -442,3 +625,5 @@ glib-compile-schemas --dry-run --strict $RPM_BUILD_ROOT%{_datadir}/glib-2.0/sche * Tue Aug 3 2010 Tomas Bzatek - 0.0.1-1.git20100729 - Initial packaging + +## END: Generated by rpmautospec diff --git a/org.gnome.desktop.interface.rhel.gschema.override b/org.gnome.desktop.interface.rhel.gschema.override new file mode 100644 index 0000000..2ad14e3 --- /dev/null +++ b/org.gnome.desktop.interface.rhel.gschema.override @@ -0,0 +1,4 @@ +[org.gnome.desktop.interface] +document-font-name='Red Hat Text Regular 11' +font-name='Red Hat Text Regular 11' +monospace-font-name='Red Hat Mono Regular 10' diff --git a/sources b/sources new file mode 100644 index 0000000..d68e77f --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (gsettings-desktop-schemas-47.alpha.tar.xz) = 5e767f66abacce9bdb99b1e5c088d7283d7d3b735e4258fc4d44eae8481c883abb5781c1c13825502355816fee6634944c0b79815318c1445c56cfdfcad5b952