Sync from SUSE:SLFO:Main gnome-desktop revision 5389ef7ee4ad96630be783f311a6ad65

This commit is contained in:
Adrian Schröter 2024-05-03 12:59:25 +02:00
commit 2869912546
5 changed files with 3623 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

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

Binary file not shown.

View File

@ -0,0 +1,13 @@
Index: gnome-desktop-40.alpha.0/libgnome-desktop/default-input-sources.h
===================================================================
--- gnome-desktop-40.alpha.0.orig/libgnome-desktop/default-input-sources.h
+++ gnome-desktop-40.alpha.0/libgnome-desktop/default-input-sources.h
@@ -35,7 +35,7 @@ static DefaultInputSource default_input_
{ "hi_IN", "ibus", "m17n:hi:inscript" },
{ "id_ID", "xkb", "us" },
{ "it_IT", "xkb", "it" },
- { "ja_JP", "ibus", "anthy" },
+ { "ja_JP", "ibus", "Japanese (Mozc)" },
{ "kn_IN", "ibus", "m17n:kn:kgp" },
{ "ko_KR", "ibus", "hangul" },
{ "mai_IN", "ibus", "m17n:mai:inscript" },

3328
gnome-desktop.changes Normal file

File diff suppressed because it is too large Load Diff

256
gnome-desktop.spec Normal file
View File

@ -0,0 +1,256 @@
#
# spec file for package gnome-desktop
#
# Copyright (c) 2023 SUSE LLC
#
# 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: gnome-desktop
Version: 44.0
Release: 0
Summary: The GNOME Desktop API Library
License: LGPL-2.1-or-later
Group: System/GUI/GNOME
URL: https://www.gnome.org
Source0: https://download.gnome.org/sources/gnome-desktop/44/%{name}-%{version}.tar.xz
# PATCH-FIX-OPENSUSE gnome-desktop-switch-Japanese-default-input-to-mozc.patch bnc#1029083 boo#1056289 qzhao@suse.com -- Switch new user's default input engine from "anthy" to "mozc" in gnome-desktop with Japanese language and ibus input frame-work condition.
Patch1: gnome-desktop-switch-Japanese-default-input-to-mozc.patch
BuildRequires: fdupes
BuildRequires: gobject-introspection-devel
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: libxkbregistry0
BuildRequires: meson >= 0.49.0
BuildRequires: pkgconfig
BuildRequires: yelp-tools
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.36.5
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.53.0
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.31.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.6
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(iso-codes)
BuildRequires: pkgconfig(libseccomp)
BuildRequires: pkgconfig(libsystemd)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(xkbfile)
BuildRequires: pkgconfig(xkbregistry)
BuildRequires: pkgconfig(xkeyboard-config)
%description
This package contains the desktop-wide files.
%package -n libgnome-desktop-3_0-common
Summary: Common data files for the GNOME Desktop API library
Group: System/Libraries
%description -n libgnome-desktop-3_0-common
The libgnome-desktop library provides API shared by several applications
on the desktop, but that cannot live in the platform for various
reasons.
This package contains data files used by libgnome-dekstop.
%package -n libgnome-desktop-3-20
Summary: The GNOME Desktop API Library
# the library calls out to bwrap in order to fire up thumbnailers in a secure container
Group: System/Libraries
Requires: bubblewrap
Requires: gsettings-desktop-schemas
# Data files for libgnome-desktop, split in an own package for SLPP compliancy
Requires: libgnome-desktop-3_0-common >= %{version}
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
Provides: gnome-version = %{version}
Obsoletes: gnome-version < %{version}
%description -n libgnome-desktop-3-20
The libgnome-desktop library provides API shared by several applications
on the desktop, but that cannot live in the platform for various
reasons.
%package -n typelib-1_0-GnomeDesktop-3_0
Summary: Introspection bindings for the GNOME Desktop API library
Group: System/Libraries
%description -n typelib-1_0-GnomeDesktop-3_0
The libgnome-desktop library provides API shared by several applications
on the desktop, but that cannot live in the platform for various
reasons.
This package provides the GObject Introspection bindings for
libgnome-desktop.
%package -n libgnome-desktop-3-devel
Summary: Development files for the GNOME Desktop API library
Group: Development/Libraries/GNOME
Requires: libgnome-desktop-3-20 = %{version}
# Needed as /usr/include/gnome-desktop-3.0/libgnome-desktop/gnome-xkb-info.h includes X11/extensions/XKBrules.h
Requires: libxkbfile-devel
Requires: typelib-1_0-GnomeDesktop-3_0 = %{version}
Provides: %{name}-devel = %{version}
Obsoletes: %{name}-devel < %{version}
Provides: %{name}-doc = %{version}
Obsoletes: %{name}-doc < %{version}
%description -n libgnome-desktop-3-devel
The libgnome-desktop library provides API shared by several applications
on the desktop, but that cannot live in the platform for various
reasons.
%package -n libgnome-desktop-4-devel
Summary: Development files for the GNOME Desktop API library
Group: Development/Libraries/GNOME
Requires: libgnome-desktop-4-2 = %{version}
Requires: typelib-1_0-GnomeBG-4_0 = %{version}
Requires: typelib-1_0-GnomeDesktop-4_0 = %{version}
Requires: typelib-1_0-GnomeRR-4_0 = %{version}
%description -n libgnome-desktop-4-devel
The libgnome-desktop library provides API shared by several applications
on the desktop, but that cannot live in the platform for various
reasons.
%package -n libgnome-desktop-4-2
Summary: The GNOME Desktop API Library
Group: System/Libraries
# the library calls out to bwrap in order to fire up thumbnailers in a secure container
Requires: bubblewrap
Requires: gsettings-desktop-schemas
# Data files for libgnome-desktop, split in an own package for SLPP compliancy
Requires: libgnome-desktop-3_0-common >= %{version}
Provides: %{name} = %{version}
Obsoletes: %{name} < %{version}
%description -n libgnome-desktop-4-2
The libgnome-desktop library provides API shared by several applications
on the desktop, but that cannot live in the platform for various
reasons.
%package -n typelib-1_0-GnomeDesktop-4_0
Summary: Introspection bindings for the GNOME Desktop API library
Group: System/Libraries
%description -n typelib-1_0-GnomeDesktop-4_0
The libgnome-desktop library provides API shared by several applications
on the desktop, but that cannot live in the platform for various
reasons.
This package provides the GObject Introspection bindings for
libgnome-desktop.
%package -n typelib-1_0-GnomeBG-4_0
Summary: Introspection bindings for the GNOME Desktop API library
Group: System/Libraries
%description -n typelib-1_0-GnomeBG-4_0
The libgnome-desktop library provides API shared by several applications
on the desktop, but that cannot live in the platform for various
reasons.
This package provides the GObject Introspection bindings for
libgnome-desktop.
%package -n typelib-1_0-GnomeRR-4_0
Summary: Introspection bindings for the GNOME Desktop API library
Group: System/Libraries
%description -n typelib-1_0-GnomeRR-4_0
The libgnome-desktop library provides API shared by several applications
on the desktop, but that cannot live in the platform for various
reasons.
This package provides the GObject Introspection bindings for
libgnome-desktop.
%lang_package
%prep
%autosetup -p1
%build
%meson \
-Ddesktop_docs=true \
-Dgtk_doc=true \
%{nil}
%meson_build
%install
%meson_install
%find_lang %{name}-3.0 %{?no_lang_C}
%find_lang fdl %{?no_lang_C} %{name}-3.0.lang
%find_lang gpl %{?no_lang_C} %{name}-3.0.lang
%find_lang lgpl %{?no_lang_C} %{name}-3.0.lang
%fdupes %{buildroot}/%{_prefix}
%ldconfig_scriptlets -n libgnome-desktop-3-20
%ldconfig_scriptlets -n libgnome-desktop-4-2
%files -n libgnome-desktop-3-20
%license COPYING.LIB
%doc AUTHORS NEWS
%{_libdir}/libgnome-desktop-3.so.*
%files -n libgnome-desktop-3_0-common
%doc %{_datadir}/help/C/fdl/
%doc %{_datadir}/help/C/gpl/
%doc %{_datadir}/help/C/lgpl/
%{_libexecdir}/gnome-desktop-debug/
%{_datadir}/locale/en/
%files -n typelib-1_0-GnomeDesktop-3_0
%{_libdir}/girepository-1.0/GnomeDesktop-3.0.typelib
%files -n libgnome-desktop-3-devel
%{_includedir}/gnome-desktop-3.0/
%{_libdir}/libgnome-desktop-3.so
%{_libdir}/pkgconfig/gnome-desktop-3.0.pc
%{_datadir}/gir-1.0/GnomeDesktop-3.0.gir
%doc %{_datadir}/gtk-doc/html/gnome-desktop3/
%files lang -f %{name}-3.0.lang
# english locale should be in the main package
%exclude %{_datadir}/locale/en
%files -n libgnome-desktop-4-devel
%{_datadir}/gir-1.0/GnomeBG-4.0.gir
%{_datadir}/gir-1.0/GnomeDesktop-4.0.gir
%{_datadir}/gir-1.0/GnomeRR-4.0.gir
%{_includedir}/gnome-desktop-4.0
%{_libdir}/libgnome-bg-4.so
%{_libdir}/libgnome-desktop-4.so
%{_libdir}/libgnome-rr-4.so
%{_libdir}/pkgconfig/gnome-bg-4.pc
%{_libdir}/pkgconfig/gnome-desktop-4.pc
%{_libdir}/pkgconfig/gnome-rr-4.pc
%files -n typelib-1_0-GnomeBG-4_0
%{_libdir}/girepository-1.0/GnomeBG-4.0.typelib
%files -n typelib-1_0-GnomeDesktop-4_0
%{_libdir}/girepository-1.0/GnomeDesktop-4.0.typelib
%files -n typelib-1_0-GnomeRR-4_0
%{_libdir}/girepository-1.0/GnomeRR-4.0.typelib
%files -n libgnome-desktop-4-2
%{_libdir}/libgnome-desktop-4.so.2*
%{_libdir}/libgnome-bg-4.so.2*
%{_libdir}/libgnome-rr-4.so.2*
%changelog