From 9814300b27fa946bdcc7573f72c88f946ad86b34 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Fri, 2 Aug 2019 04:25:11 -0400 Subject: [PATCH] import gsettings-desktop-schemas-3.32.0-2.el8 --- .gitignore | 1 + .gsettings-desktop-schemas.metadata | 1 + ...-storage-devices-as-read-only-option.patch | 34 ++ ...g.gnome.desktop.interface.gschema.override | 2 + SPECS/gsettings-desktop-schemas.spec | 423 ++++++++++++++++++ 5 files changed, 461 insertions(+) create mode 100644 .gitignore create mode 100644 .gsettings-desktop-schemas.metadata create mode 100644 SOURCES/add-mount-removable-storage-devices-as-read-only-option.patch create mode 100644 SOURCES/org.gnome.desktop.interface.gschema.override create mode 100644 SPECS/gsettings-desktop-schemas.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..08f08e4 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/gsettings-desktop-schemas-3.32.0.tar.xz diff --git a/.gsettings-desktop-schemas.metadata b/.gsettings-desktop-schemas.metadata new file mode 100644 index 0000000..04517f0 --- /dev/null +++ b/.gsettings-desktop-schemas.metadata @@ -0,0 +1 @@ +628a2d779ff1cce0574febeff5cfed165de231e5 SOURCES/gsettings-desktop-schemas-3.32.0.tar.xz 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 new file mode 100644 index 0000000..2f333a9 --- /dev/null +++ b/SOURCES/add-mount-removable-storage-devices-as-read-only-option.patch @@ -0,0 +1,34 @@ +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 new file mode 100644 index 0000000..f474a79 --- /dev/null +++ b/SOURCES/org.gnome.desktop.interface.gschema.override @@ -0,0 +1,2 @@ +[org.gnome.desktop.interface] +monospace-font-name='Monospace 11' diff --git a/SPECS/gsettings-desktop-schemas.spec b/SPECS/gsettings-desktop-schemas.spec new file mode 100644 index 0000000..f44364f --- /dev/null +++ b/SPECS/gsettings-desktop-schemas.spec @@ -0,0 +1,423 @@ +%global debug_package %{nil} + +Name: gsettings-desktop-schemas +Version: 3.32.0 +Release: 2%{?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.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 + +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 +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} + +%description devel +The %{name}-devel package contains libraries +and header files for developing applications that use %{name}. + + +%prep +%autosetup -p1 + + +%build +%meson +%meson_build + + +%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 +%{_datadir}/glib-2.0/schemas/* +%{_datadir}/GConf/gsettings/gsettings-desktop-schemas.convert +%{_datadir}/GConf/gsettings/wm-schemas.convert +%{_libdir}/girepository-1.0/GDesktopEnums-3.0.typelib + +%files devel +%doc HACKING +%{_includedir}/* +%{_datadir}/pkgconfig/* +%{_datadir}/gir-1.0/GDesktopEnums-3.0.gir + + +%changelog +* Tue Jun 04 2019 Florian Müllner - 3.32.0-2 +- Restore previous monospace font default + Resolves: #1715761 + +* Thu May 23 2019 Florian Müllner - 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 + +* Tue Sep 04 2018 Kalev Lember - 3.28.1-1 +- Update to 3.28.1 + +* Mon Mar 12 2018 Kalev Lember - 3.28.0-1 +- Update to 3.28.0 + +* Mon Mar 05 2018 Kalev Lember - 3.27.92-1 +- Update to 3.27.92 + +* Fri Feb 09 2018 Bastien Nocera - 3.27.90-1 ++ gsettings-desktop-schemas-3.27.90-1 +- Update to 3.27.90 + +* Wed Feb 07 2018 Fedora Release Engineering - 3.27.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Jan 06 2018 Igor Gnatenko - 3.27.1-2 +- Remove obsolete scriptlets + +* Thu Nov 02 2017 Kalev Lember - 3.27.1-1 +- Update to 3.27.1 + +* Mon Sep 04 2017 Kalev Lember - 3.24.1-1 +- Update to 3.24.1 + +* Wed Aug 02 2017 Fedora Release Engineering - 3.24.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 3.24.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Tue Mar 21 2017 Kalev Lember - 3.24.0-1 +- Update to 3.24.0 + +* Tue Feb 14 2017 Richard Hughes - 3.23.90-1 +- Update to 3.23.90 + +* Fri Feb 10 2017 Fedora Release Engineering - 3.23.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Jan 11 2017 Bastien Nocera - 3.23.3-1 ++ gsettings-desktop-schemas-3.23.3-1 +- Update to 3.23.3 + +* Wed Sep 21 2016 Kalev Lember - 3.22.0-1 +- Update to 3.22.0 +- Don't set group tags + +* Fri Aug 19 2016 Florian Müllner - 3.21.4-1 +- Update to 3.21.4 + +* Wed Jun 22 2016 Florian Müllner - 3.21.3-1 +- Update to 3.21.3 + +* Thu May 26 2016 Florian Müllner - 3.21.2-1 +- Update to 3.21.2 + +* Tue Mar 22 2016 Kalev Lember - 3.20.0-1 +- Update to 3.20.0 + +* Thu Mar 17 2016 Richard Hughes - 3.19.92-1 +- Update to 3.19.92 + +* Wed Feb 17 2016 Richard Hughes - 3.19.90-1 +- Update to 3.19.90 + +* Wed Feb 03 2016 Fedora Release Engineering - 3.19.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Dec 17 2015 Kalev Lember - 3.19.3-2 +- Conflict with mutter < 3.19.3 + +* Tue Dec 15 2015 Kalev Lember - 3.19.3-1 +- Update to 3.19.3 + +* Thu Dec 10 2015 Kalev Lember - 3.19.2-2 +- Revert natural scrolling for mice + +* Wed Nov 25 2015 Florian Müllner - 3.19.2-1 +- Update to 3.19.2 + +* Fri Oct 23 2015 Kalev Lember - 3.18.1-1 +- Update to 3.18.1 + +* Mon Sep 21 2015 Kalev Lember - 3.18.0-1 +- Update to 3.18.0 + +* Mon Sep 14 2015 Kalev Lember - 3.17.92-1 +- Update to 3.17.92 +- Use make_install macro + +* Wed Jun 17 2015 Fedora Release Engineering - 3.16.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Tue Apr 14 2015 Kalev Lember - 3.16.1-1 +- Update to 3.16.1 + +* Mon Mar 23 2015 Kalev Lember - 3.16.0-1 +- Update to 3.16.0 + +* Tue Mar 17 2015 Kalev Lember - 3.15.92-1 +- Update to 3.15.92 +- Use license macro for the COPYING file + +* Thu Feb 19 2015 Richard Hughes - 3.15.90-1 +- Update to 3.15.90 + +* Tue Jan 20 2015 Richard Hughes - 3.15.4-1 +- Update to 3.15.4 + +* Wed Oct 15 2014 Kalev Lember - 3.14.1-1 +- Update to 3.14.1 + +* Mon Sep 22 2014 Kalev Lember - 3.14.0-1 +- Update to 3.14.0 + +* Tue Sep 02 2014 Kalev Lember - 3.13.92-1 +- Update to 3.13.92 +- Tighten -devel subpackage deps + +* Tue Aug 19 2014 Kalev Lember - 3.13.91-1 +- Update to 3.13.91 + +* Mon Aug 18 2014 Kalev Lember - 3.13.90-1 +- Update to 3.13.90 + +* Sat Aug 16 2014 Fedora Release Engineering - 3.13.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Tue Jul 22 2014 Kalev Lember - 3.13.2-3 +- Rebuilt for gobject-introspection 1.41.4 + +* Sat Jun 07 2014 Fedora Release Engineering - 3.13.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed May 28 2014 Kalev Lember - 3.13.2-1 +- Update to 3.13.2 + +* Thu May 01 2014 Kalev Lember - 3.13.1-1 +- Update to 3.13.1 + +* Mon Mar 24 2014 Richard Hughes - 3.12.0-1 +- Update to 3.12.0 + +* Tue Mar 18 2014 Richard Hughes - 3.11.91-1 +- Update to 3.11.91 + +* Tue Feb 18 2014 Richard Hughes - 3.11.90-1 +- Update to 3.11.90 + +* Tue Feb 04 2014 Richard Hughes - 3.11.5-1 +- Update to 3.11.5 + +* Tue Jan 14 2014 Richard Hughes - 3.11.4-1 +- Update to 3.11.4 + +* Mon Dec 23 2013 Adam Williamson - 3.11.3-1 +- Update to 3.11.3 + +* Wed Oct 16 2013 Richard Hughes - 3.10.1-1 +- Update to 3.10.1 + +* Tue Sep 24 2013 Kalev Lember - 3.10.0-1 +- Update to 3.10.0 + +* Tue Sep 03 2013 Kalev Lember - 3.9.91-1 +- Update to 3.9.91 + +* Wed Aug 21 2013 Richard Hughes - 3.9.90-1 +- Update to 3.9.90 + +* Fri Aug 09 2013 Kalev Lember - 3.9.5-1 +- Update to 3.9.5 + +* Sat Aug 03 2013 Fedora Release Engineering - 3.9.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Jun 20 2013 Kalev Lember - 3.9.3-1 +- Update to 3.9.3 + +* Tue May 28 2013 Florian Müllner - 3.9.2-1 +- Update to 3.9.2 + +* Tue May 14 2013 Richard Hughes - 3.8.2-1 +- Update to 3.8.2 + +* Tue Mar 26 2013 Kalev Lember - 3.8.0-1 +- Update to 3.8.0 + +* Tue Mar 19 2013 Matthias Clasen - 3.7.92-1 +- Update to 3.7.92 + +* Thu Mar 7 2013 Matthias Clasen - 3.7.91-1 +- Update to 3.7.91 + +* Thu Feb 21 2013 Kalev Lember - 3.7.90-1 +- Update to 3.7.90 + +* Tue Feb 05 2013 Richard Hughes - 3.7.5-1 +- Update to 3.7.5 + +* Tue Jan 15 2013 Matthias Clasen - 3.7.4-1 +- Update to 3.7.4 + +* Thu Dec 20 2012 Kalev Lember - 3.7.3-1 +- Update to 3.7.3 + +* Tue Nov 20 2012 Richard Hughes - 3.7.2-1 +- Update to 3.7.2 + +* Tue Nov 13 2012 Kalev Lember - 3.6.1-1 +- Update to 3.6.1 + +* Tue Sep 25 2012 Richard Hughes - 3.6.0-1 +- Update to 3.6.0 + +* Wed Sep 19 2012 Richard Hughes - 3.5.92-1 +- Update to 3.5.92 + +* Thu Sep 06 2012 Richard Hughes - 3.5.91-1 +- Update to 3.5.91 + +* Wed Aug 22 2012 Richard Hughes - 3.5.90-1 +- Update to 3.5.90 + +* Wed Jul 18 2012 Debarshi Ray - 3.5.4-1 +- Update to 3.5.4 + +* Tue Jun 26 2012 Richard Hughes - 3.5.3-1 +- Update to 3.5.3 + +* Wed Jun 06 2012 Richard Hughes - 3.5.2-1 +- Update to 3.5.2 + +* Fri May 18 2012 Richard Hughes - 3.4.2-1 +- Update to 3.4.2 + +* Mon Apr 16 2012 Richard Hughes - 3.4.1-1 +- Update to 3.4.1 + +* Tue Mar 27 2012 Richard Hughes - 3.4.0-1 +- Update to 3.4.0 + +* Mon Mar 19 2012 Richard Hughes 3.3.92-1 +- Update to 3.3.92 + +* Wed Feb 22 2012 Bastien Nocera 3.3.90-1 +- Update to 3.3.90 + +* Fri Jan 13 2012 Fedora Release Engineering - 3.3.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Nov 23 2011 Ville Skyttä - 3.3.2-3 +- Disable empty -debuginfo package. +- Fix minimum required glib2 version. + +* Tue Nov 22 2011 Matthias Clasen - 3.3.2-2 +- Enable introspection +- Make the package archful, since we now install in libdir + +* Tue Nov 22 2011 Matthias Clasen - 3.3.2-1 +- Update to 3.3.2 + +* Mon Sep 26 2011 Bastien Nocera 3.2.0-1 +- Update to 3.2.0 + +* Tue Sep 6 2011 Matthias Clasen - 3.1.91-1 +- Update to 3.1.91 + +* Mon Jul 04 2011 Bastien Nocera 3.1.3-1 +- Update to 3.1.3 + +* Tue Apr 26 2011 Matthias Clasen 3.0.1-1 +- Update to 3.0.1 + +* Thu Apr 7 2011 Matthias Clasen 3.0.0-2 +- Don't perform questionable migrations + +* Mon Apr 04 2011 Bastien Nocera 3.0.0-1 +- Update to 3.0.0 + +* Mon Mar 21 2011 Matthias Clasen 2.91.92-1 +- Update to 2.91.92 + +* Wed Mar 09 2011 Bastien Nocera 2.91.91-2 +- Fix possible crasher when converting schemas + +* Tue Mar 08 2011 Bastien Nocera 2.91.91-1 +- Update to 2.91.91 + +* Thu Feb 24 2011 Colin Walters - 0.1.7-2 +- Add patch from git to disable a11y by default; it makes + gnome-shell totally unusable right now + +* Mon Feb 21 2011 Bastien Nocera 0.1.7-1 +- Update to 0.1.7 + +* Thu Feb 10 2011 Matthias Clasen - 0.1.5-3 +- Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 0.1.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Feb 2 2011 Matthias Clasen - 0.1.5-1 +- Update to 0.1.5 + +* Mon Jan 10 2011 Matthias Clasen - 0.1.4-1 +- Update to 0.1.4 + +* Sat Jan 8 2011 Matthias Clasen - 0.1.3-1 +- Update to 0.1.3 + +* Tue Nov 30 2010 Tomas Bzatek - 0.1.2-1 +- Update to 0.1.2 + +* Wed Nov 17 2010 Bastien Nocera 0.1.1-1 +- Update to 0.1.1 + +* Tue Nov 2 2010 Matthias Clasen - 0.1.0-1 +- Update to 0.1.0 + +* Tue Aug 24 2010 Matthias Clasen - 0.0.1-1 +- Update to 0.0.1 + +* Tue Aug 3 2010 Tomas Bzatek - 0.0.1-1.git20100729 +- Initial packaging