- Update to version 47.0+14:

* nautilus-tag-manager: Drop tinysparql 2to3 migration
  * Updated translations.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/nautilus?expand=0&rev=404
This commit is contained in:
Bjørn Lie 2024-10-21 18:07:24 +00:00 committed by Git OBS Bridge
commit 626d74995b
13 changed files with 6251 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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

19
_service Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/nautilus.git</param>
<param name="revision">e4ec762f7401619e6f27c1816063265eac6bab76</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual" />
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://gitlab.gnome.org/GNOME/nautilus.git</param>
<param name="changesrevision">e4ec762f7401619e6f27c1816063265eac6bab76</param></service></servicedata>

3
nautilus-46.2.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e1c74d4e8881fe4893346be58f5314e2f4d7c626d21d38a26cf4cdf32318f7b3
size 33234957

3
nautilus-47.0+14.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:336154ddd71316138a6da3b73624f9fd3088124e2a246690b998221249b33826
size 33340429

3
nautilus-47.0+8.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:28335e8279ed54b6c9ac2f06b5a193aa64da1ebcfc8d10b3f605e741337d833e
size 33310221

5952
nautilus.changes Normal file

File diff suppressed because it is too large Load Diff

4
nautilus.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: nautilus
version: 47.0+14
mtime: 1729307074
commit: e4ec762f7401619e6f27c1816063265eac6bab76

193
nautilus.spec Normal file
View File

@ -0,0 +1,193 @@
#
# spec file for package nautilus
#
# Copyright (c) 2024 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: nautilus
Version: 47.0+14
Release: 0
Summary: File Manager for the GNOME Desktop
License: GPL-3.0-or-later AND LGPL-2.1-or-later
Group: Productivity/File utilities
URL: https://wiki.gnome.org/Apps/Nautilus
Source0: %{name}-%{version}.tar.zst
Source1: set_trusted.desktop
Source2: set_trusted.sh
# PATCH-FIX-OPENSUSE revert-post-release-bump.patch -- Allow us to ship a git checkout, drop on next stable bump
Patch: revert-post-release-bump.patch
# needed for directory ownership
BuildRequires: dbus-1
BuildRequires: fdupes
BuildRequires: gettext-devel
BuildRequires: gobject-introspection-devel
BuildRequires: meson >= 0.59.0
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: (python3-dataclasses if python3-base < 3.7)
BuildRequires: pkgconfig(cloudproviders)
BuildRequires: pkgconfig(gail-3.0)
BuildRequires: pkgconfig(gexiv2) >= 0.14.0
BuildRequires: pkgconfig(gi-docgen)
BuildRequires: pkgconfig(gio-2.0) >= 2.79.0
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.79.0
BuildRequires: pkgconfig(glib-2.0) >= 2.79.0
BuildRequires: pkgconfig(gmodule-no-export-2.0) >= 2.79.0
BuildRequires: pkgconfig(gnome-autoar-0) >= 0.3.0
BuildRequires: pkgconfig(gnome-desktop-4) >= 1.0.0
BuildRequires: pkgconfig(gsettings-desktop-schemas) >= 42
BuildRequires: pkgconfig(gstreamer-tag-1.0)
BuildRequires: pkgconfig(gtk4) >= 4.13.6
BuildRequires: pkgconfig(libadwaita-1) >= 1.4.0
BuildRequires: pkgconfig(libportal)
BuildRequires: pkgconfig(libportal-gtk4)
BuildRequires: pkgconfig(libseccomp)
BuildRequires: pkgconfig(libselinux)
BuildRequires: pkgconfig(libxml-2.0) >= 2.7.8
BuildRequires: pkgconfig(pango) >= 1.44.4
BuildRequires: pkgconfig(tinysparql-3.0)
# Needed for tests
BuildRequires: python3-gobject
BuildRequires: localsearch
#BuildRequires: tracker-testutils-3.0
#
Requires: localsearch
Recommends: gvfs
%description
Nautilus is the file manager for the GNOME desktop.
%package -n libnautilus-extension4
Summary: File Manager for the GNOME Desktop -- Extension Library
Group: System/Libraries
Conflicts: nautilus-totem < 3.31.91
%description -n libnautilus-extension4
Nautilus is the file manager for the GNOME desktop.
This package contains the library used by nautilus extensions.
%package -n typelib-1_0-Nautilus-4_0
Summary: File Manager for the GNOME Desktop -- Introspection bindings
Group: System/Libraries
%description -n typelib-1_0-Nautilus-4_0
Nautilus is the file manager for the GNOME desktop.
This package provides the GObject Introspection bindings for the library
used by nautilus extensions.
%package -n gnome-shell-search-provider-nautilus
Summary: File Manager for the GNOME Desktop -- Search Provider for GNOME Shell
Group: Productivity/File utilities
BuildArch: noarch
Requires: %{name} = %{version}
Requires: gnome-shell
Supplements: (%{name} and gnome-shell)
%description -n gnome-shell-search-provider-nautilus
Nautilus is the file manager for the GNOME desktop.
This package contains a search provider to enable GNOME Shell to get
search results from Files (nautilus)
%package devel
Summary: File Manager for the GNOME Desktop -- Development Files
Group: Development/Libraries/GNOME
Requires: %{name} = %{version}
Requires: libnautilus-extension4 = %{version}
Requires: typelib-1_0-Nautilus-4_0 = %{version}
%description devel
Nautilus is the file manager for the GNOME desktop.
This package contains development files for nautilus.
%lang_package
%prep
%autosetup -p1
%build
%meson \
-D docs=true \
-D tests=headless \
%{nil}
%meson_build
%install
%meson_install
%suse_update_desktop_file org.gnome.Nautilus
%suse_update_desktop_file nautilus-autorun-software
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}%{_prefix}
%if 0%{?sle_version}
install -m0644 -D %{SOURCE1} %{buildroot}%{_sysconfdir}/skel/.config/autostart/set_trusted.desktop
install -m0755 -D %{SOURCE2} %{buildroot}%{_bindir}/set_trusted.sh
%endif
%check
%meson_test
%ldconfig_scriptlets -n libnautilus-extension4
%files
%license LICENSE
%doc NEWS README.md
%{_bindir}/nautilus
%{_bindir}/nautilus-autorun-software
%{_datadir}/applications/*.desktop
%{_datadir}/dbus-1/services/org.freedesktop.FileManager1.service
%{_datadir}/dbus-1/services/org.gnome.Nautilus.Tracker3.Miner.Extract.service
%{_datadir}/dbus-1/services/org.gnome.Nautilus.Tracker3.Miner.Files.service
%{_datadir}/dbus-1/services/org.gnome.Nautilus.service
%{_datadir}/glib-2.0/schemas/org.gnome.nautilus.gschema.xml
%{_datadir}/icons/hicolor/*/apps/org.gnome.Nautilus*
%{_datadir}/metainfo/org.gnome.Nautilus.metainfo.xml
%{_datadir}/%{name}/
%{_datadir}/localsearch3/domain-ontologies/org.gnome.Nautilus.domain.rule
%{_mandir}/man1/nautilus*.1%{?ext_man}
%if 0%{?sle_version}
%{_sysconfdir}/skel/.config/autostart
%{_sysconfdir}/skel/.config/autostart/set_trusted.desktop
%{_bindir}/set_trusted.sh
%endif
%files -n libnautilus-extension4
%{_libdir}/libnautilus-extension.so.4*
%dir %{_libdir}/nautilus
%dir %{_libdir}/nautilus/extensions-4
%{_libdir}/nautilus/extensions-4/*.so
%files -n typelib-1_0-Nautilus-4_0
%{_libdir}/girepository-1.0/Nautilus-4.0.typelib
%files -n gnome-shell-search-provider-nautilus
%dir %{_datadir}/gnome-shell
%dir %{_datadir}/gnome-shell/search-providers
%{_datadir}/gnome-shell/search-providers/org.gnome.Nautilus.search-provider.ini
%files devel
%{_libdir}/*.so
%{_includedir}/*
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gir-1.0/*.gir
%{_datadir}/doc/%{name}/
%files lang -f %{name}.lang
%changelog

View File

@ -0,0 +1,24 @@
diff -Nur nautilus/data/org.gnome.Nautilus.metainfo.xml.in.in patched-nautilus/data/org.gnome.Nautilus.metainfo.xml.in.in
--- nautilus/data/org.gnome.Nautilus.metainfo.xml.in.in 2024-09-27 19:35:59.251268108 +0200
+++ patched-nautilus/data/org.gnome.Nautilus.metainfo.xml.in.in 2024-09-28 10:18:24.361946027 +0200
@@ -40,7 +40,7 @@
<release version="@release-version@" date="@build-date@"/>
-->
<releases>
- <release version="@release-version@" date="@build-date@"/>
+ <release version="@release-version@" type="stable" date="2024-09-28"/>
</releases>
<project_group>GNOME</project_group>
<project_license>GPL-3.0-or-later</project_license>
diff -Nur nautilus/meson.build patched-nautilus/meson.build
--- nautilus/meson.build 2024-09-27 19:36:06.654623675 +0200
+++ patched-nautilus/meson.build 2024-09-28 09:58:33.792262099 +0200
@@ -3,7 +3,7 @@
# Do not forget when releasing:
# * Set release date in data/org.gnome.Nautilus.metainfo.xml.in.in
- version: '47.1',
+ version: '47.0',
meson_version: '>= 0.59.0',
license: 'GPL-3.0-or-later'

9
set_trusted.desktop Normal file
View File

@ -0,0 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Exec=/usr/bin/set_trusted.sh
Name=Set trusted
Comment=Set desktop file trusted
Terminal=false
OnlyShowIn=GNOME
Type=Application
X-GNOME-Autostart-enabled=true

13
set_trusted.sh Normal file
View File

@ -0,0 +1,13 @@
#!/bin/bash
DIR=$HOME/Desktop
for f in $(ls $DIR)
do
gio set -t string $DIR/$f "metadata::trusted" true
done
if [ -f $HOME/.config/autostart/set_trusted.desktop ]; then
rm $HOME/.config/autostart/set_trusted.desktop
fi