import gsettings-desktop-schemas-3.32.0-3.el8

This commit is contained in:
CentOS Sources 2019-11-05 14:41:21 -05:00 committed by Andrew Lukoshko
parent 5a9ca686b4
commit 23239e91ae
6 changed files with 121 additions and 12 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/gsettings-desktop-schemas-3.28.1.tar.xz
SOURCES/gsettings-desktop-schemas-3.32.0.tar.xz

View File

@ -1 +1 @@
18458ea98fa1170b8d71d79107d28252e508c4af SOURCES/gsettings-desktop-schemas-3.28.1.tar.xz
628a2d779ff1cce0574febeff5cfed165de231e5 SOURCES/gsettings-desktop-schemas-3.32.0.tar.xz

View File

@ -0,0 +1,37 @@
From 1e254151b13dbba244a2c8982c4e160a67f7b41b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Florian=20M=C3=BCllner?= <fmuellner@gnome.org>
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.
</description>
</key>
+ <key name="enable-hot-corners" type="b">
+ <default>true</default>
+ <summary>Enable hot corners</summary>
+ <description>
+ If true, the activities overview can be accessed by moving the
+ mouse to the top-left corner.
+ </description>
+ </key>
<key name="show-battery-percentage" type="b">
<default>false</default>
<summary>Show battery percentage</summary>
--
2.21.0

View File

@ -0,0 +1,34 @@
From 1dec88b007a13860ae8da33687fe4d496053ec98 Mon Sep 17 00:00:00 2001
From: Ondrej Holy <oholy@redhat.com>
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.
</description>
</key>
+ <key name="mount-removable-storage-devices-as-read-only" type="b">
+ <default>false</default>
+ <summary>Mount removable storage devices as read-only</summary>
+ <description>
+ Prevent users from writing or modifying files on removable storage
+ devices (i.e. flash disks, mobile phones, cameras).
+ </description>
+ </key>
</schema>
</schemalist>
--
2.21.0

View File

@ -0,0 +1,2 @@
[org.gnome.desktop.interface]
monospace-font-name='Monospace 11'

View File

@ -1,18 +1,25 @@
%global debug_package %{nil}
Name: gsettings-desktop-schemas
Version: 3.28.1
Release: 1%{?dist}
Version: 3.32.0
Release: 3%{?dist}
Summary: A collection of GSettings schemas
License: LGPLv2+
# 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.28/%{name}-%{version}.tar.xz
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
BuildRequires: gettext
BuildRequires: glib2-devel >= 2.31.0
BuildRequires: intltool
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
@ -21,10 +28,15 @@ Conflicts: mutter < 3.19.3
Requires: glib2 >= 2.31.0
# Recommend the default fonts set in the schemas
Recommends: font(cantarell)
Recommends: font(sourcecodepro)
%description
gsettings-desktop-schemas contains a collection of GSettings schemas for
settings shared by various components of a desktop.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -35,20 +47,28 @@ and header files for developing applications that use %{name}.
%prep
%setup -q
%autosetup -p1
%build
%configure --disable-schemas-compile --enable-introspection=yes
make %{?_smp_mflags}
%meson
%meson_build
%install
%make_install
%meson_install
# Restore old monospace default
cp -a %{SOURCE1} %{buildroot}%{_datadir}/glib-2.0/schemas
%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
%files -f %{name}.lang
%doc AUTHORS MAINTAINERS NEWS README
%license COPYING
@ -65,6 +85,22 @@ make %{?_smp_mflags}
%changelog
* Tue Jul 23 2019 Florian Müllner <fmuellner@redhat.com> - 3.32-0-3
- Backport 'enable-hot-corners' setting
Resolves: #1704355
* Tue Jun 04 2019 Florian Müllner <fmuellner@redhat.com> - 3.32.0-2
- Restore previous monospace font default
Resolves: #1715761
* Thu May 23 2019 Florian Müllner <fmuellner@redhat.com> - 3.32.0-1
- Update to 3.32.0
Resolves: #1698930
* Wed May 15 2019 Ondrej Holy <oholy@redhat.com> - 3.28.1-2
- Add mount-removable-storage-devices-as-read-only option
- Resovles: #1709937
* Tue Sep 04 2018 Kalev Lember <klember@redhat.com> - 3.28.1-1
- Update to 3.28.1