Sync from SUSE:ALP:Source:Standard:1.0 gsettings-desktop-schemas revision c403a3f51187424fb4d6df02afb24620

This commit is contained in:
Adrian Schröter 2024-10-14 14:23:54 +02:00
commit 376e4cdeca
6 changed files with 1296 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

View File

@ -0,0 +1,2 @@
[org.gnome.desktop.peripherals.touchpad]
click-method='default'

BIN
gsettings-desktop-schemas-44.0.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,97 @@
From 96436417da5d1f8912042124bd2a8b98f091f280 Mon Sep 17 00:00:00 2001
From: Chingkai <chuchingkai@gmail.com>
Date: Fri, 19 Oct 2018 13:37:15 +0800
Subject: [PATCH] schemas: Add settings for
org.gnome.desktop.background.lockdialog
This key is for the background of lockDialogGroup which makes login
and lock background configurable. The default behavior will be
retained to what it is currently.
https://gitlab.gnome.org/GNOME/gnome-shell/issues/680
---
schemas/meson.build | 1 +
...me.desktop.background.lockdialog.gschema.xml.in | 59 ++++++++++++++++++++++
2 files changed, 60 insertions(+)
create mode 100644 schemas/org.gnome.desktop.background.lockdialog.gschema.xml.in
diff --git a/schemas/meson.build b/schemas/meson.build
index 69a3f98..4e8c8f9 100644
--- a/schemas/meson.build
+++ b/schemas/meson.build
@@ -15,6 +15,7 @@ schemas = [
'org.gnome.desktop.thumbnailers.gschema.xml',
'org.gnome.desktop.session.gschema.xml',
'org.gnome.desktop.background.gschema.xml',
+ 'org.gnome.desktop.background.lockdialog.gschema.xml',
'org.gnome.desktop.calendar.gschema.xml',
'org.gnome.desktop.datetime.gschema.xml',
'org.gnome.desktop.media-handling.gschema.xml',
diff --git a/schemas/org.gnome.desktop.background.lockdialog.gschema.xml.in b/schemas/org.gnome.desktop.background.lockdialog.gschema.xml.in
new file mode 100644
index 0000000..b38e699
--- /dev/null
+++ b/schemas/org.gnome.desktop.background.lockdialog.gschema.xml.in
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<schemalist gettext-domain="gsettings-desktop-schemas">
+ <schema id="org.gnome.desktop.background.lockdialog" path="/org/gnome/desktop/background/lockdialog/">
+ <key name="picture-options" enum="org.gnome.desktop.GDesktopBackgroundStyle">
+ <default>'wallpaper'</default>
+ <summary>Picture Options</summary>
+ <description>
+ Determines how the image set by wallpaper_filename is rendered.
+ Possible values are “none”, “wallpaper”, “centered”, “scaled”,
+ “stretched”, “zoom”, “spanned”.
+ </description>
+ </key>
+ <key name="picture-uri" type="s">
+ <default>'resource:///org/gnome/shell/theme/noise-texture.png'</default>
+ <summary>Picture URI</summary>
+ <description>
+ URI to use for the background image. Note that the backend only supports
+ local (file://) URIs.
+ </description>
+ </key>
+ <key name="picture-opacity" type="i">
+ <range min="0" max="100"/>
+ <default>100</default>
+ <summary>Picture Opacity</summary>
+ <description>
+ Opacity with which to draw the background picture.
+ </description>
+ </key>
+ <key name="primary-color" type="s">
+ <default>'#677378'</default>
+ <summary>Primary Color</summary>
+ <description>
+ Left or Top color when drawing gradients, or the solid color.
+ </description>
+ </key>
+ <key name="secondary-color" type="s">
+ <default>'#677378'</default>
+ <summary>Secondary Color</summary>
+ <description>
+ Right or Bottom color when drawing gradients, not used for solid color.
+ </description>
+ </key>
+ <key name="color-shading-type" enum="org.gnome.desktop.GDesktopBackgroundShading">
+ <default>'solid'</default>
+ <summary>Color Shading Type</summary>
+ <description>
+ How to shade the background color. Possible values are “horizontal”,
+ “vertical”, and “solid”.
+ </description>
+ </key>
+ <key name="show-desktop-icons" type="b">
+ <default>false</default>
+ <summary>Have file manager handle the desktop</summary>
+ <description>
+ If set to true, then file manager will draw the icons on the desktop.
+ </description>
+ </key>
+ </schema>
+</schemalist>
--
2.16.4

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,130 @@
#
# spec file for package gsettings-desktop-schemas
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: gsettings-desktop-schemas
Version: 44.0
Release: 0
Summary: Shared GSettings Schemas for the Desktop
License: LGPL-2.1-or-later
Group: System/GUI/GNOME
URL: https://gnome.org/
Source0: https://download.gnome.org/sources/gsettings-desktop-schemas/44/%{name}-%{version}.tar.xz
# SOURCE-FIX-SLE 00_org.gnome.desktop.peripherals.gschema.override bsc#1171593 alynx.zhou@suse.com -- Change touchpad click method to default
Source1: 00_org.gnome.desktop.peripherals.gschema.override
# PATCH-FEATURE-OPENSUSE gsettings-desktop-schemas-fate324570-Add-key-for-GDM-background-configuration.patch fate#324570, glgo#GNOME/gnome-shell#680 qkzhu@suse.com -- This key is used by gnome-shell-fate324570-Make-GDM-background-image-configurable.patch
Patch0: gsettings-desktop-schemas-fate324570-Add-key-for-GDM-background-configuration.patch
BuildRequires: gobject-introspection-devel >= 1.31.0
BuildRequires: meson >= 0.50.0
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gio-2.0) >= 2.31.0
# Default fonts in the schemas
Recommends: cantarell-fonts
Recommends: adobe-sourcecodepro-fonts
%description
A collection of GSettings schemas for settings shared by various
components of a desktop.
%package devel
Summary: Shared GSettings Schemas for the Desktop -- Development Files
License: GPL-2.0-or-later
Group: Development/Languages/C and C++
Requires: %{name} = %{version}
%description devel
A collection of GSettings schemas for settings shared by various
components of a desktop.
This package contains development files.
%lang_package
%prep
%setup -q
%patch0 -p1
%if 0%{?sle_version}
cp -a %{SOURCE1} .
%endif
%build
%meson \
%{nil}
%meson_build
%install
%meson_install
%if 0%{?sle_version}
install -D -m0644 00_org.gnome.desktop.peripherals.gschema.override %{buildroot}%{_datadir}/glib-2.0/schemas/00_org.gnome.desktop.peripherals.gschema.override
%endif
%find_lang %{name} %{?no_lang_C}
%files
%license COPYING
%doc NEWS README
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.a11y.applications.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.a11y.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.a11y.interface.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.a11y.keyboard.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.a11y.magnifier.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.a11y.mouse.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.app-folders.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.background.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.background.lockdialog.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.calendar.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.datetime.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.default-applications.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.enums.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.input-sources.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.interface.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.lockdown.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.media-handling.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.notifications.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.peripherals.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.privacy.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.screensaver.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.search-providers.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.session.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.sound.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.thumbnail-cache.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.thumbnailers.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.wm.keybindings.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.desktop.wm.preferences.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.system.locale.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.system.location.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.system.proxy.gschema.xml
%if 0%{?sle_version}
%{_datadir}/glib-2.0/schemas/00_org.gnome.desktop.peripherals.gschema.override
%endif
%dir %{_datadir}/GConf
%dir %{_datadir}/GConf/gsettings
%{_datadir}/GConf/gsettings/gsettings-desktop-schemas.convert
%{_datadir}/GConf/gsettings/wm-schemas.convert
%{_libdir}/girepository-1.0/GDesktopEnums-3.0.typelib
%files devel
%doc AUTHORS ChangeLog HACKING MAINTAINERS
%{_includedir}/%{name}/
%{_datadir}/pkgconfig/%{name}.pc
%{_datadir}/gir-1.0/GDesktopEnums-3.0.gir
%files lang -f %{name}.lang
%changelog