diff --git a/eog-defaults.list b/eog-defaults.list new file mode 100644 index 0000000000000000000000000000000000000000..b480a97b30ad68a7efa8b5de6ecb177cffbe7818 --- /dev/null +++ b/eog-defaults.list @@ -0,0 +1,23 @@ +image/bmp=org.gnome.eog.desktop; +image/gif=org.gnome.eog.desktop; +image/jpeg=org.gnome.eog.desktop; +image/jpg=org.gnome.eog.desktop; +image/pjpeg=org.gnome.eog.desktop; +image/png=org.gnome.eog.desktop; +image/tiff=org.gnome.eog.desktop; +image/x-bmp=org.gnome.eog.desktop; +image/x-gray=org.gnome.eog.desktop; +image/x-icb=org.gnome.eog.desktop; +image/x-ico=org.gnome.eog.desktop; +image/x-png=org.gnome.eog.desktop; +image/x-portable-anymap=org.gnome.eog.desktop; +image/x-portable-bitmap=org.gnome.eog.desktop; +image/x-portable-graymap=org.gnome.eog.desktop; +image/x-portable-pixmap=org.gnome.eog.desktop; +image/x-xbitmap=org.gnome.eog.desktop; +image/x-xpixmap=org.gnome.eog.desktop; +image/x-pcx=org.gnome.eog.desktop; +image/svg+xml=org.gnome.eog.desktop; +image/svg+xml-compressed=org.gnome.eog.desktop; +image/vnd.wap.wbmp=org.gnome.eog.desktop; +image/x-icns=org.gnome.eog.desktop; diff --git a/evince-defaults.list b/evince-defaults.list new file mode 100644 index 0000000000000000000000000000000000000000..788246ced993efec2ebe87e00f83cca6657c37ac --- /dev/null +++ b/evince-defaults.list @@ -0,0 +1,34 @@ +application/pdf=org.gnome.Evince.desktop; +application/x-bzpdf=org.gnome.Evince.desktop; +application/x-gzpdf=org.gnome.Evince.desktop; +application/x-xzpdf=org.gnome.Evince.desktop; +application/x-ext-pdf=org.gnome.Evince.desktop; +application/postscript=org.gnome.Evince.desktop; +application/x-bzpostscript=org.gnome.Evince.desktop; +application/x-gzpostscript=org.gnome.Evince.desktop; +image/x-eps=org.gnome.Evince.desktop; +image/x-bzeps=org.gnome.Evince.desktop; +image/x-gzeps=org.gnome.Evince.desktop; +application/x-ext-ps=org.gnome.Evince.desktop; +application/x-ext-eps=org.gnome.Evince.desktop; +application/illustrator=org.gnome.Evince.desktop; +application/x-dvi=org.gnome.Evince.desktop; +application/x-bzdvi=org.gnome.Evince.desktop; +application/x-gzdvi=org.gnome.Evince.desktop; +application/x-ext-dvi=org.gnome.Evince.desktop; +image/vnd.djvu+multipage=org.gnome.Evince.desktop; +application/x-ext-djv=org.gnome.Evince.desktop; +application/x-ext-djvu=org.gnome.Evince.desktop; +image/tiff=org.gnome.Evince.desktop; +application/x-cbr=org.gnome.Evince.desktop; +application/x-cbz=org.gnome.Evince.desktop; +application/x-cb7=org.gnome.Evince.desktop; +application/x-cbt=org.gnome.Evince.desktop; +application/x-ext-cbr=org.gnome.Evince.desktop; +application/x-ext-cbz=org.gnome.Evince.desktop; +application/x-ext-cb7=org.gnome.Evince.desktop; +application/x-ext-cbt=org.gnome.Evince.desktop; +application/vnd.comicbook+zip=org.gnome.Evince.desktop; +application/vnd.comicbook-rar=org.gnome.Evince.desktop; +application/oxps=org.gnome.Evince.desktop; +application/vnd.ms-xpsdocument=org.gnome.Evince.desktop; diff --git a/file-roller-defaults.list b/file-roller-defaults.list new file mode 100644 index 0000000000000000000000000000000000000000..162040efb6a7a3acef120e2d1fedda734f63d29c --- /dev/null +++ b/file-roller-defaults.list @@ -0,0 +1,58 @@ +application/bzip2=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/gzip=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/vnd.android.package-archive=org.gnome.FileRoller.desktop; +application/vnd.ms-cab-compressed=org.gnome.FileRoller.desktop; +application/vnd.debian.binary-package=org.gnome.FileRoller.desktop; +application/x-7z-compressed=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/x-7z-compressed-tar=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/x-ace=org.gnome.FileRoller.desktop; +application/x-alz=org.gnome.FileRoller.desktop; +application/x-ar=org.gnome.FileRoller.desktop; +application/x-archive=org.gnome.FileRoller.desktop; +application/x-arj=org.gnome.FileRoller.desktop; +application/x-brotli=org.gnome.FileRoller.desktop; +application/x-bzip-brotli-tar=org.gnome.FileRoller.desktop; +application/x-bzip=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/x-bzip-compressed-tar=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/x-bzip1=org.gnome.FileRoller.desktop; +application/x-bzip1-compressed-tar=org.gnome.FileRoller.desktop; +application/x-cabinet=org.gnome.FileRoller.desktop; +application/x-compress=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/x-compressed-tar=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/x-cpio=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/x-chrome-extension=org.gnome.FileRoller.desktop; +application/x-deb=org.gnome.FileRoller.desktop; +application/x-ear=org.gnome.FileRoller.desktop; +application/x-ms-dos-executable=org.gnome.FileRoller.desktop; +application/x-gtar=org.gnome.FileRoller.desktop; +application/x-gzip=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/x-java-archive=org.gnome.FileRoller.desktop; +application/x-lha=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/x-lhz=org.gnome.FileRoller.desktop; +application/x-lrzip=org.gnome.FileRoller.desktop; +application/x-lrzip-compressed-tar=org.gnome.FileRoller.desktop; +application/x-lz4=org.gnome.FileRoller.desktop; +application/x-lzip=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/x-lzip-compressed-tar=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/x-lzma=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/x-lzma-compressed-tar=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/x-lzop=org.gnome.FileRoller.desktop; +application/x-lz4-compressed-tar=org.gnome.FileRoller.desktop; +application/x-lzop-compressed-tar=org.gnome.FileRoller.desktop; +application/x-ms-wim=org.gnome.FileRoller.desktop; +application/x-rar=org.gnome.FileRoller.desktop; +application/x-rar-compressed=org.gnome.FileRoller.desktop; +application/x-source-rpm=org.gnome.FileRoller.desktop; +application/x-rzip=org.gnome.FileRoller.desktop; +application/x-rzip-compressed-tar=org.gnome.FileRoller.desktop; +application/x-tar=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/x-tarz=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/x-stuffit=org.gnome.FileRoller.desktop; +application/x-war=org.gnome.FileRoller.desktop; +application/x-xar=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/x-xz=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/x-xz-compressed-tar=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; +application/x-zip=org.gnome.FileRoller.desktop; +application/x-zip-compressed=org.gnome.FileRoller.desktop; +application/x-zoo=org.gnome.FileRoller.desktop; +application/zip=org.gnome.Nautilus.desktop;org.gnome.FileRoller.desktop; diff --git a/gnome-desktop-3.38.6-sw.patch b/gnome-desktop-3.38.6-sw.patch new file mode 100644 index 0000000000000000000000000000000000000000..8352017e2394234a3fef962a395706330ac3c996 --- /dev/null +++ b/gnome-desktop-3.38.6-sw.patch @@ -0,0 +1,45 @@ +diff -Naur gnome-desktop-3.38.6.org/libgnome-desktop/gnome-desktop-thumbnail-script.c gnome-desktop-3.38.6.sw/libgnome-desktop/gnome-desktop-thumbnail-script.c +--- gnome-desktop-3.38.6.org/libgnome-desktop/gnome-desktop-thumbnail-script.c 2022-08-19 15:09:31.100000000 +0000 ++++ gnome-desktop-3.38.6.sw/libgnome-desktop/gnome-desktop-thumbnail-script.c 2022-08-19 15:11:51.660000000 +0000 +@@ -152,7 +152,7 @@ + } + + /* From https://github.com/flatpak/flatpak/blob/master/common/flatpak-utils.c */ +-#if !defined(__i386__) && !defined(__x86_64__) && !defined(__aarch64__) && !defined(__arm__) ++#if !defined(__i386__) && !defined(__x86_64__) && !defined(__aarch64__) && !defined(__arm__) && !defined(__sw_64__) + static const char * + flatpak_get_kernel_arch (void) + { +@@ -226,6 +226,8 @@ + return "x86_64"; + #elif defined(__aarch64__) + return "aarch64"; ++#elif defined(__sw_64__) ++ return "sw_64"; + #elif defined(__arm__) + #if G_BYTE_ORDER == G_LITTLE_ENDIAN + return "arm"; +@@ -243,6 +245,9 @@ + #ifdef SCMP_ARCH_AARCH64 + static const guint32 seccomp_aarch64_extra_arches[] = { SCMP_ARCH_ARM, 0 }; + #endif ++#ifdef SCMP_ARCH_SW_64 ++static const guint32 seccomp_sw_64_extra_arches[] = { SCMP_ARCH_SW_64, 0 }; ++#endif + + static inline void + cleanup_seccomp (void *p) +@@ -402,6 +407,13 @@ + extra_arches = seccomp_aarch64_extra_arches; + } + #endif ++#ifdef SCMP_ARCH_SW_64 ++ else if (strcmp (arch, "sw_64") == 0) ++ { ++ arch_id = SCMP_ARCH_SW_64; ++ extra_arches = seccomp_sw_64_extra_arches; ++ } ++#endif + + /* We only really need to handle arches on multiarch systems. + * If only one arch is supported the default is fine */ diff --git a/gnome-desktop-3.38.6.tar.xz b/gnome-desktop-3.38.6.tar.xz deleted file mode 100644 index 17108e38d06fe1f43d9044360586d883f24268f1..0000000000000000000000000000000000000000 Binary files a/gnome-desktop-3.38.6.tar.xz and /dev/null differ diff --git a/gnome-desktop-44.0.tar.xz b/gnome-desktop-44.0.tar.xz new file mode 100644 index 0000000000000000000000000000000000000000..7c3dfbd81fb7202935d16bc678015d8606895da0 Binary files /dev/null and b/gnome-desktop-44.0.tar.xz differ diff --git a/gnome-desktop3.spec b/gnome-desktop3.spec index ffb3bd0cf05d68823b4e8c083dc4b9cb5ab24a60..12d8ef8632f751f0e63991e6f9b6c853eb0c03bf 100644 --- a/gnome-desktop3.spec +++ b/gnome-desktop3.spec @@ -1,22 +1,49 @@ +%global gdk_pixbuf2_version 2.36.5 +%global gtk3_version 3.3.6 +%global gtk4_version 4.4.0 +%global glib2_version 2.53.0 +%global gsettings_desktop_schemas_version 3.27.0 +%global po_package gnome-desktop-3.0 + Name: gnome-desktop3 -Version: 3.38.6 +Version: 44.0 Release: 1 Summary: GNOME is designed to help you use your computer in control. License: GPLv2+ and LGPLv2+ -URL: http://www.gnome.org -Source0: http://download.gnome.org/sources/gnome-desktop/3.38/gnome-desktop-%{version}.tar.xz - -BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.36.5 pkgconfig(gio-2.0) >= 2.53.0 pkgconfig(libudev) -BuildRequires: pkgconfig(glib-2.0) >= 2.53.0 pkgconfig(gobject-introspection-1.0) gtk-doc >= 1.14 -BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 3.27.0 pkgconfig(iso-codes) gettext itstool -BuildRequires: pkgconfig(gtk+-3.0) >= 3.3.6 pkgconfig(libseccomp) pkgconfig(xkeyboard-config) -BuildRequires: gtk-doc meson - -Requires: bubblewrap glib2 >= 2.53.0 -Requires: gdk-pixbuf2 >= 2.36.5 gsettings-desktop-schemas >= 3.27.0 - -Conflicts: gnome-shell < 3.7.90 -Obsoletes: compat-gnome-desktop310 < 3.12 +URL: https://gitlab.gnome.org/GNOME/gnome-desktop +Source0: https://download.gnome.org/sources/gnome-desktop/44/gnome-desktop-%{version}.tar.xz +Source1: gnome-mimeapps.list +Source2: totem-defaults.list +Source3: file-roller-defaults.list +Source4: eog-defaults.list +Source5: evince-defaults.list + +Patch0: make-inscript2-default-for-indic-languages.patch +Patch1: gnome-desktop-3.38.6-sw.patch + +BuildRequires: gcc gettext gtk-doc itstool meson +BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= %{gdk_pixbuf2_version} +BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version} +BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version} +BuildRequires: pkgconfig(gobject-introspection-1.0) +BuildRequires: pkgconfig(gsettings-desktop-schemas) >= %{gsettings_desktop_schemas_version} +BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version} +BuildRequires: pkgconfig(gtk4) >= %{gtk4_version} +BuildRequires: pkgconfig(libudev) pkgconfig(iso-codes) +BuildRequires: pkgconfig(libseccomp) pkgconfig(xkeyboard-config) + +Conflicts: shared-mime-info < 2.0-4 +Requires: shared-mime-info + +Requires: bubblewrap +Requires: gdk-pixbuf2%{?_isa} >= %{gdk_pixbuf2_version} +Requires: glib2%{?_isa} >= %{glib2_version} +Requires: gsettings-desktop-schemas >= %{gsettings_desktop_schemas_version} + +Conflicts: gnome-shell < 3.33.4 + +Provides: gnome-desktop4 +Provides: gnome-desktop4%{?_isa} = %{version}-%{release} %description The gnome-desktop3 package has been designed from the ground up to help you have @@ -30,8 +57,12 @@ Requires: %{name} = %{version}-%{release} Provides: %{name}-tests = %{version}-%{release} Obsoletes: %{name}-tests < %{version}-%{release} +Provides: gnome-desktop4-devel +Provides: gnome-desktop4-devel%{?_isa} = %{version}-%{release} + + %description devel -Development files for gnome-desktop3. +Development files for gnome-desktop. %prep %autosetup -n gnome-desktop-%{version} -p1 @@ -42,30 +73,64 @@ Development files for gnome-desktop3. %install %meson_install +%delete_la_and_a + +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/applications +install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-mimeapps.list +cat %SOURCE2 >> $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-mimeapps.list +cat %SOURCE3 >> $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-mimeapps.list +cat %SOURCE4 >> $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-mimeapps.list +cat %SOURCE5 >> $RPM_BUILD_ROOT/%{_datadir}/applications/gnome-mimeapps.list -%find_lang gnome-desktop-3.0 --all-name --with-gnome +%find_lang %{po_package} --all-name --with-gnome -%files -f gnome-desktop-3.0.lang -%doc AUTHORS NEWS README +%files -f %{po_package}.lang +%doc AUTHORS NEWS README.md %license COPYING COPYING.LIB -%{_datadir}/gnome/gnome-version.xml -%{_libexecdir}/gnome-rr-debug -%{_libdir}/libgnome-desktop-3.so.* +%{_datadir}/applications/gnome-mimeapps.list +# LGPL +%{_libdir}/libgnome-desktop-3.so.20{,.*} %{_libdir}/girepository-1.0/GnomeDesktop-3.0.typelib +%{_libexecdir}/gnome-desktop-debug/ +%{_libdir}/libgnome-bg-4.so.2{,.*} +%{_libdir}/libgnome-desktop-4.so.2{,.*} +%{_libdir}/libgnome-rr-4.so.2{,.*} +%{_libdir}/girepository-1.0/Gnome*-4.0.typelib %files devel -%{_libdir}/lib*.so -%{_libdir}/pkgconfig/* -%{_includedir}/* - -%{_libexecdir}/installed-tests/gnome-desktop - -%{_datadir}/installed-tests +%{_libdir}/libgnome-desktop-3.so +%{_libdir}/pkgconfig/gnome-desktop-3.0.pc +%{_includedir}/gnome-desktop-3.0 %{_datadir}/gir-1.0/GnomeDesktop-3.0.gir +%dir %{_datadir}/gtk-doc/ +%dir %{_datadir}/gtk-doc/html/ %doc %{_datadir}/gtk-doc/html/gnome-desktop3/ -%exclude %{_libdir}/*.la +%{_libdir}/libgnome-*-4.so +%{_libdir}/pkgconfig/gnome-*-4.pc +%{_includedir}/gnome-desktop-4.0 +%{_datadir}/gir-1.0/Gnome*-4.0.gir +%{_libexecdir}/installed-tests/gnome-desktop +%{_datadir}/installed-tests %changelog +* Thu Nov 23 2023 lwg - 44.0-1 +- update to version 44.0 + +* Mon Jan 2 2023 lin zhang - 43-1 +- Upgrade to 43 + +-* Thu Oct 20 2022 wuzx - 42.2-2 +-- add sw64 patch + +* Wed Jun 8 2022 lin zhang - 42.2-1 +- Upgrade to 42.2 + +* Mon Jun 6 2022 lin zhang - 42.1-1 +- Upgrade to 42.1 + +* Mon Mar 28 2022 lin zhang - 42.0-1 +- Update to 42.0 + * Mon May 24 2021 weijin deng - 3.38.6-1 - Upgrade to 3.38.6 - Update Version, BuildRequires, stage install diff --git a/gnome-desktop3.yaml b/gnome-desktop3.yaml index 0e61b94e661bb247853c74b86acd6f37669055b9..7ef8cb7a2a0b5ee8f7888dcca2d56cd1b8e6a57a 100644 --- a/gnome-desktop3.yaml +++ b/gnome-desktop3.yaml @@ -1,4 +1,4 @@ version_control: github src_repo: GNOME/gnome-desktop tag_prefix: "^" -seperator: "." +separator: "." diff --git a/gnome-mimeapps.list b/gnome-mimeapps.list new file mode 100644 index 0000000000000000000000000000000000000000..d412f3d21e138010b3575c34081959326ee05c41 --- /dev/null +++ b/gnome-mimeapps.list @@ -0,0 +1,77 @@ +[Default Applications] +application/x-dia-diagram=dia.desktop +text/x-vcard=evolution.desktop +text/directory=evolution.desktop +text/calendar=evolution.desktop +application/x-cd-image=gnome-disk-image-mounter.desktop +application/x-raw-disk-image=gnome-disk-image-writer.desktop +application/x-raw-disk-image-xz-compressed=gnome-disk-image-writer.desktop +image/x-compressed-xcf=gimp.desktop +image/x-xcf=gimp.desktop +image/x-psd=gimp.desktop +image/x-fits=gimp.desktop +application/vnd.ms-word=libreoffice-writer.desktop +application/vnd.wordperfect=libreoffice-writer.desktop +application/vnd.sun.xml.writer=libreoffice-writer.desktop +application/vnd.sun.xml.writer.global=libreoffice-writer.desktop +application/vnd.sun.xml.writer.template=libreoffice-writer.desktop +application/vnd.stardivision.writer=libreoffice-writer.desktop +application/vnd.oasis.opendocument.text=libreoffice-writer.desktop +application/vnd.oasis.opendocument.text-template=libreoffice-writer.desktop +application/vnd.oasis.opendocument.text-web=libreoffice-writer.desktop +application/vnd.oasis.opendocument.text-master=libreoffice-writer.desktop +application/vnd.openxmlformats-officedocument.wordprocessingml.document=libreoffice-writer.desktop +application/vnd.openxmlformats-officedocument.wordprocessingml.template=libreoffice-writer.desktop +application/vnd.ms-excel=libreoffice-calc.desktop +application/vnd.stardivision.calc=libreoffice-calc.desktop +application/vnd.sun.xml.calc=libreoffice-calc.desktop +application/vnd.sun.xml.calc.template=libreoffice-calc.desktop +application/vnd.openxmlformats-officedocument.spreadsheetml.sheet=libreoffice-calc.desktop +application/vnd.openxmlformats-officedocument.spreadsheetml.template=libreoffice-calc.desktop +application/vnd.oasis.opendocument.spreadsheet=libreoffice-calc.desktop +application/vnd.oasis.opendocument.spreadsheet-template=libreoffice-calc.desktop +application/vnd.ms-powerpoint=libreoffice-impress.desktop +application/vnd.stardivision.impress=libreoffice-impress.desktop +application/vnd.sun.xml.impress=libreoffice-impress.desktop +application/vnd.sun.xml.impress.template=libreoffice-impress.desktop +application/vnd.oasis.opendocument.presentation=libreoffice-impress.desktop +application/vnd.oasis.opendocument.presentation-template=libreoffice-impress.desktop +application/vnd.openxmlformats-officedocument.presentationml.presentation=libreoffice-impress.desktop +application/vnd.openxmlformats-officedocument.presentationml.template=libreoffice-impress.desktop +application/vnd.stardivision.draw=libreoffice-draw.desktop +application/vnd.sun.xml.draw=libreoffice-draw.desktop +application/vnd.sun.xml.draw.template=libreoffice-draw.desktop +application/vnd.oasis.opendocument.graphics=libreoffice-draw.desktop +application/vnd.oasis.opendocument.graphics-template=libreoffice-draw.desktop +application/vnd.oasis.opendocument.formula=libreoffice-math.desktop +application/vnd.sun.xml.math=libreoffice-math.desktop +application/vnd.stardivision.math=libreoffice-math.desktop +application/vnd.oasis.opendocument.database=libreoffice-base.desktop +application/vnd.sun.xml.base=libreoffice-base.desktop +application/x-qw=gnome-gnucash.desktop +application/x-gnucash=gnome-gnucash.desktop +application/vnd.lotus-1-2-3=gnumeric.desktop +application/x-oleo=gnumeric.desktop +application/x-gnumeric=gnumeric.desktop +application/x-xbase=gnumeric.desktop +application/x-abiword=abiword.desktop +application/x-catalog=gpk-install-catalog.desktop +application/x-rpm=gpk-install-local-file.desktop +text/csv=libreoffice-calc.desktop +text/plain=org.gnome.TextEditor.desktop +text/html=firefox.desktop +application/xhtml+xml=firefox.desktop +inode/directory=org.gnome.Nautilus.desktop +x-content/blank-cd=brasero-nautilus.desktop +x-content/blank-dvd=brasero-nautilus.desktop +x-content/blank-bd=brasero-nautilus.desktop +x-content/blank-hddvd=brasero-nautilus.desktop +x-content/audio-cdda=rhythmbox.desktop +x-content/audio-dvd=rhythmbox.desktop +x-content/audio-player=rhythmbox.desktop +x-content/image-dcf=shotwell.desktop +x-content/image-picturecd=shotwell.desktop +# URI scheme handlers +x-scheme-handler/mailto=evolution.desktop +x-scheme-handler/http=firefox.desktop +x-scheme-handler/https=firefox.desktop diff --git a/make-inscript2-default-for-indic-languages.patch b/make-inscript2-default-for-indic-languages.patch new file mode 100644 index 0000000000000000000000000000000000000000..7f9ed9d7b4ad96026d7b899ddfa604f5f95062fa --- /dev/null +++ b/make-inscript2-default-for-indic-languages.patch @@ -0,0 +1,72 @@ +From 334dd1e558ecced106f6c5ecacae687279904b54 Mon Sep 17 00:00:00 2001 +From: David King +Date: Fri, 18 Feb 2022 09:52:46 +0000 +Subject: [PATCH] Use inscript as default Indic IM + +https://src.fedoraproject.org/rpms/gnome-desktop3/pull-request/6 +--- + libgnome-desktop/default-input-sources.h | 26 ++++++++++++------------ + 1 file changed, 13 insertions(+), 13 deletions(-) + +diff --git a/libgnome-desktop/default-input-sources.h b/libgnome-desktop/default-input-sources.h +index 1e02bce1..00072687 100644 +--- a/libgnome-desktop/default-input-sources.h ++++ b/libgnome-desktop/default-input-sources.h +@@ -8,12 +8,12 @@ typedef struct + static DefaultInputSource default_input_sources[] = + { + { "ar_DZ", "xkb", "ara+azerty" }, +- { "as_IN", "ibus", "m17n:as:phonetic" }, ++ { "as_IN", "ibus", "m17n:as:inscript2" }, + { "ast_ES", "xkb", "es+ast" }, + { "az_AZ", "xkb", "az" }, + { "be_BY", "xkb", "by" }, + { "bg_BG", "xkb", "bg+phonetic" }, +- { "bn_IN", "ibus", "m17n:bn:inscript" }, ++ { "bn_IN", "ibus", "m17n:bn:inscript2" }, + { "cat_ES", "xkb", "es+cat" }, + { "cs_CZ", "xkb", "cz" }, + { "de_CH", "xkb", "ch" }, +@@ -31,28 +31,28 @@ static DefaultInputSource default_input_sources[] = + { "fr_CH", "xkb", "ch+fr" }, + { "fr_FR", "xkb", "fr+oss" }, + { "gl_ES", "xkb", "es" }, +- { "gu_IN", "ibus", "m17n:gu:inscript" }, ++ { "gu_IN", "ibus", "m17n:gu:inscript2" }, + { "he_IL", "xkb", "il" }, +- { "hi_IN", "ibus", "m17n:hi:inscript" }, ++ { "hi_IN", "ibus", "m17n:hi:inscript2" }, + { "id_ID", "xkb", "us" }, + { "it_IT", "xkb", "it" }, + { "ja_JP", "ibus", "anthy" }, +- { "kn_IN", "ibus", "m17n:kn:kgp" }, ++ { "kn_IN", "ibus", "m17n:kn:inscript2" }, + { "ko_KR", "ibus", "hangul" }, +- { "mai_IN", "ibus", "m17n:mai:inscript" }, +- { "ml_IN", "ibus", "m17n:ml:inscript" }, +- { "mr_IN", "ibus", "m17n:mr:inscript" }, ++ { "mai_IN", "ibus", "m17n:mai:inscript2" }, ++ { "ml_IN", "ibus", "m17n:ml:inscript2" }, ++ { "mr_IN", "ibus", "m17n:mr:inscript2" }, + { "nl_NL", "xkb", "us+altgr-intl" }, +- { "or_IN", "ibus", "m17n:or:inscript" }, +- { "pa_IN", "ibus", "m17n:pa:inscript" }, ++ { "or_IN", "ibus", "m17n:or:inscript2" }, ++ { "pa_IN", "ibus", "m17n:pa:inscript2-guru" }, + { "pl_PL", "xkb", "pl" }, + { "pt_BR", "xkb", "br" }, + { "pt_PT", "xkb", "pt" }, + { "ru_RU", "xkb", "ru" }, +- { "sd_IN", "ibus", "m17n:sd:inscript" }, ++ { "sd_IN", "ibus", "m17n:sd:inscript2-deva" }, + { "sk_SK", "xkb", "sk" }, +- { "ta_IN", "ibus", "m17n:ta:tamil99" }, +- { "te_IN", "ibus", "m17n:te:inscript" }, ++ { "ta_IN", "ibus", "m17n:ta:inscript2" }, ++ { "te_IN", "ibus", "m17n:te:inscript2" }, + { "tr_TR", "xkb", "tr" }, + { "ur_IN", "ibus", "m17n:ur:phonetic" }, + { "zh_CN", "ibus", "libpinyin" }, +-- +2.40.0 + diff --git a/totem-defaults.list b/totem-defaults.list new file mode 100644 index 0000000000000000000000000000000000000000..c2c3ccdca95a30e82d8b5083573b2071270ec00b --- /dev/null +++ b/totem-defaults.list @@ -0,0 +1,151 @@ +application/mxf=org.gnome.Totem.desktop; +application/ogg=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +application/ram=org.gnome.Totem.desktop; +application/sdp=org.gnome.Totem.desktop; +application/smil=org.gnome.Totem.desktop; +application/smil+xml=org.gnome.Totem.desktop; +application/vnd.apple.mpegurl=org.gnome.Totem.desktop; +application/vnd.ms-asf=org.gnome.Totem.desktop; +application/vnd.ms-wpl=org.gnome.Totem.desktop; +application/vnd.rn-realmedia=org.gnome.Totem.desktop; +application/vnd.rn-realmedia-vbr=org.gnome.Totem.desktop; +application/x-extension-m4a=org.gnome.Totem.desktop; +application/x-extension-mp4=org.gnome.Totem.desktop; +application/x-flac=org.gnome.Totem.desktop; +application/x-flash-video=org.gnome.Totem.desktop; +application/x-matroska=org.gnome.Totem.desktop; +application/x-netshow-channel=org.gnome.Totem.desktop; +application/x-ogg=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +application/x-quicktime-media-link=org.gnome.Totem.desktop; +application/x-quicktimeplayer=org.gnome.Totem.desktop; +application/x-shorten=org.gnome.Totem.desktop; +application/x-smil=org.gnome.Totem.desktop; +application/xspf+xml=org.gnome.Totem.desktop; +audio/3gpp=org.gnome.Totem.desktop; +audio/3gpp2=org.gnome.Totem.desktop; +audio/aac=org.gnome.Totem.desktop; +audio/ac3=org.gnome.Totem.desktop; +audio/AMR=org.gnome.Totem.desktop; +audio/AMR-WB=org.gnome.Totem.desktop; +audio/basic=org.gnome.Totem.desktop; +audio/dv=org.gnome.Totem.desktop; +audio/eac3=org.gnome.Totem.desktop; +audio/m4a=org.gnome.Totem.desktop; +audio/midi=org.gnome.Totem.desktop; +audio/mp1=org.gnome.Totem.desktop; +audio/mp2=org.gnome.Totem.desktop; +audio/mp3=org.gnome.Totem.desktop; +audio/mp4=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/mpeg=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/mpegurl=org.gnome.Totem.desktop; +audio/mpg=org.gnome.Totem.desktop; +audio/ogg=org.gnome.Totem.desktop; +audio/opus=org.gnome.Totem.desktop; +audio/prs.sid=org.gnome.Totem.desktop; +audio/scpls=org.gnome.Totem.desktop; +audio/vnd.rn-realaudio=org.gnome.Totem.desktop; +audio/wav=org.gnome.Totem.desktop; +audio/webm=org.gnome.Totem.desktop; +audio/x-aac=org.gnome.Totem.desktop; +audio/x-aiff=org.gnome.Totem.desktop; +audio/x-ape=org.gnome.Totem.desktop; +audio/x-flac=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-gsm=org.gnome.Totem.desktop; +audio/x-it=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-m4a=org.gnome.Totem.desktop; +audio/x-m4b=org.gnome.Totem.desktop; +audio/x-matroska=org.gnome.Totem.desktop; +audio/x-mod=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-mp1=org.gnome.Totem.desktop; +audio/x-mp2=org.gnome.Totem.desktop; +audio/x-mp3=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-mpg=org.gnome.Totem.desktop; +audio/x-mpeg=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-mpegurl=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-ms-asf=org.gnome.Totem.desktop; +audio/x-ms-asx=org.gnome.Totem.desktop; +audio/x-ms-wax=org.gnome.Totem.desktop; +audio/x-ms-wma=org.gnome.Totem.desktop; +audio/x-musepack=org.gnome.Totem.desktop; +audio/x-opus+ogg=org.gnome.Totem.desktop; +audio/x-pn-aiff=org.gnome.Totem.desktop; +audio/x-pn-au=org.gnome.Totem.desktop; +audio/x-pn-realaudio=org.gnome.Totem.desktop; +audio/x-pn-realaudio-plugin=org.gnome.Totem.desktop; +audio/x-pn-wav=org.gnome.Totem.desktop; +audio/x-pn-windows-acm=org.gnome.Totem.desktop; +audio/x-realaudio=org.gnome.Totem.desktop; +audio/x-real-audio=org.gnome.Totem.desktop; +audio/x-s3m=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-sbc=org.gnome.Totem.desktop; +audio/x-scpls=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-shorten=org.gnome.Totem.desktop; +audio/x-speex=org.gnome.Totem.desktop; +audio/x-stm=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-tta=org.gnome.Totem.desktop; +audio/x-wav=org.gnome.Totem.desktop; +audio/x-wavpack=org.gnome.Totem.desktop; +audio/x-vorbis=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-vorbis+ogg=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +audio/x-xm=org.gnome.Rhythmbox3.desktop;rhythmbox.desktop;org.gnome.Totem.desktop; +image/vnd.rn-realpix=org.gnome.Totem.desktop; +image/x-pict=org.gnome.Totem.desktop; +misc/ultravox=org.gnome.Totem.desktop; +text/google-video-pointer=org.gnome.Totem.desktop; +text/x-google-video-pointer=org.gnome.Totem.desktop; +video/3gp=org.gnome.Totem.desktop; +video/3gpp=org.gnome.Totem.desktop; +video/3gpp2=org.gnome.Totem.desktop; +video/dv=org.gnome.Totem.desktop; +video/divx=org.gnome.Totem.desktop; +video/fli=org.gnome.Totem.desktop; +video/flv=org.gnome.Totem.desktop; +video/mp2t=org.gnome.Totem.desktop; +video/mp4=org.gnome.Totem.desktop; +video/mp4v-es=org.gnome.Totem.desktop; +video/mpeg=org.gnome.Totem.desktop; +video/mpeg-system=org.gnome.Totem.desktop; +video/msvideo=org.gnome.Totem.desktop; +video/ogg=org.gnome.Totem.desktop; +video/quicktime=org.gnome.Totem.desktop; +video/vivo=org.gnome.Totem.desktop; +video/vnd.divx=org.gnome.Totem.desktop; +video/vnd.mpegurl=org.gnome.Totem.desktop; +video/vnd.rn-realvideo=org.gnome.Totem.desktop; +video/vnd.vivo=org.gnome.Totem.desktop; +video/webm=org.gnome.Totem.desktop; +video/x-anim=org.gnome.Totem.desktop; +video/x-avi=org.gnome.Totem.desktop; +video/x-flc=org.gnome.Totem.desktop; +video/x-fli=org.gnome.Totem.desktop; +video/x-flic=org.gnome.Totem.desktop; +video/x-flv=org.gnome.Totem.desktop; +video/x-m4v=org.gnome.Totem.desktop; +video/x-matroska=org.gnome.Totem.desktop; +video/x-mjpeg=org.gnome.Totem.desktop; +video/x-mpeg=org.gnome.Totem.desktop; +video/x-mpeg2=org.gnome.Totem.desktop; +video/x-ms-asf=org.gnome.Totem.desktop; +video/x-ms-asf-plugin=org.gnome.Totem.desktop; +video/x-ms-asx=org.gnome.Totem.desktop; +video/x-msvideo=org.gnome.Totem.desktop; +video/x-ms-wm=org.gnome.Totem.desktop; +video/x-ms-wmv=org.gnome.Totem.desktop; +video/x-ms-wmx=org.gnome.Totem.desktop; +video/x-ms-wvx=org.gnome.Totem.desktop; +video/x-nsv=org.gnome.Totem.desktop; +video/x-ogm+ogg=org.gnome.Totem.desktop; +video/x-theora=org.gnome.Totem.desktop; +video/x-theora+ogg=org.gnome.Totem.desktop; +video/x-totem-stream=org.gnome.Totem.desktop; +x-content/video-dvd=org.gnome.Totem.desktop; +x-scheme-handler/pnm=org.gnome.Totem.desktop; +x-scheme-handler/mms=org.gnome.Totem.desktop; +x-scheme-handler/net=org.gnome.Totem.desktop; +x-scheme-handler/rtp=org.gnome.Totem.desktop; +x-scheme-handler/rtmp=org.gnome.Totem.desktop; +x-scheme-handler/rtsp=org.gnome.Totem.desktop; +x-scheme-handler/mmsh=org.gnome.Totem.desktop; +x-scheme-handler/uvox=org.gnome.Totem.desktop; +x-scheme-handler/icy=org.gnome.Totem.desktop; +x-scheme-handler/icyx=org.gnome.Totem.desktop;