- Update to version 44.4:
+ Features: - Added bzip3 support. - File selector: show volumes and allow to mount unmounted volumes. - New archive dialog: allow to use all the possible extensions a mime type supports, and allow to specify a name without extension, which will be concatenated to the selected extension to get the full name. - File selector: save and restore the sort order. - Properties dialog: show an icon, make the headerbar flat. + Bugfixes: - Error opening rar archive in RAR4 format and password protected. - Rar: fixed file list parsing for some encrypted archives. - Fixed error when renaming a file inside an encrypted archive. - Disabled the native appchooser by default. - 'Show destination' sometimes opens the wrong folder. - 'Show destination' sometimes doesn't show anything. - Use the native appchooser only for a single file. - Show flat headerbar in empty state. - Fixed error messages impossible to close. - Fixed segfaults when opening an empty .deb file. - --extract-to keeps asking to create a directory. - Fixed wrong context menu item activation. - Avoid the exit timeout unless file-roller was launched with `--service`. - Error when opening the created archive after saving as 7zip multi-volume. + Updated translations. OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/file-roller?expand=0&rev=323
This commit is contained in:
commit
dd655afbc6
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
19
_service
Normal file
19
_service
Normal 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/file-roller.git</param>
|
||||||
|
<param name="revision">44.4</param>
|
||||||
|
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
|
||||||
|
<param name="versionrewrite-pattern">v?(.*)\+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>
|
||||||
|
|
20
file-roller-3.4-change-archiver-priority.patch
Normal file
20
file-roller-3.4-change-archiver-priority.patch
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
Index: file-roller-43.alpha/src/fr-init.c
|
||||||
|
===================================================================
|
||||||
|
--- file-roller-43.alpha.orig/src/fr-init.c
|
||||||
|
+++ file-roller-43.alpha/src/fr-init.c
|
||||||
|
@@ -345,6 +345,7 @@ register_archives (void)
|
||||||
|
|
||||||
|
register_archive (fr_command_tar_get_type ());
|
||||||
|
register_archive (fr_command_cfile_get_type ());
|
||||||
|
+ register_archive (fr_command_zip_get_type ());
|
||||||
|
register_archive (fr_command_7z_get_type ());
|
||||||
|
register_archive (fr_command_dpkg_get_type ());
|
||||||
|
|
||||||
|
@@ -360,7 +361,6 @@ register_archives (void)
|
||||||
|
register_archive (fr_command_rpm_get_type ());
|
||||||
|
register_archive (fr_command_unsquashfs_get_type ());
|
||||||
|
register_archive (fr_command_unstuff_get_type ());
|
||||||
|
- register_archive (fr_command_zip_get_type ());
|
||||||
|
register_archive (fr_command_lrzip_get_type ());
|
||||||
|
register_archive (fr_command_zoo_get_type ());
|
||||||
|
#if HAVE_JSON_GLIB
|
3
file-roller-44.3.obscpio
Normal file
3
file-roller-44.3.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:da78563a8dd00445d6704e79b1e72315f41f9e226628d954a30e7fb9bca620a4
|
||||||
|
size 8160269
|
3
file-roller-44.4.obscpio
Normal file
3
file-roller-44.4.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e3ed17d2395943433b355fd68c5f222718a475199b405f106fc8fdd9bd4d5765
|
||||||
|
size 8195085
|
53
file-roller-ignore-unrar-if-wrapper.patch
Normal file
53
file-roller-ignore-unrar-if-wrapper.patch
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
Index: file-roller-43.alpha/src/fr-command-rar.c
|
||||||
|
===================================================================
|
||||||
|
--- file-roller-43.alpha.orig/src/fr-command-rar.c
|
||||||
|
+++ file-roller-43.alpha/src/fr-command-rar.c
|
||||||
|
@@ -766,6 +766,39 @@ fr_command_rar_get_mime_types (FrArchive
|
||||||
|
return rar_mime_type;
|
||||||
|
}
|
||||||
|
|
||||||
|
+static gboolean
|
||||||
|
+unrar_is_suse_wrapper ()
|
||||||
|
+{
|
||||||
|
+ const gchar *path = g_getenv ("PATH");
|
||||||
|
+ gchar **paths;
|
||||||
|
+ gchar **pp;
|
||||||
|
+ gchar *p;
|
||||||
|
+ gchar *full_name;
|
||||||
|
+ FILE *fp;
|
||||||
|
+ char bytes[2];
|
||||||
|
+ gboolean ret = FALSE;
|
||||||
|
+
|
||||||
|
+ if (!path)
|
||||||
|
+ path = "/usr/bin";
|
||||||
|
+
|
||||||
|
+ paths = g_strsplit (path, ":", 0);
|
||||||
|
+ for (pp = paths; *pp; pp++)
|
||||||
|
+ {
|
||||||
|
+ p = *pp;
|
||||||
|
+ full_name = g_strconcat (p, "/unrar", NULL);
|
||||||
|
+ fp = fopen (full_name, "r");
|
||||||
|
+ g_free (full_name);
|
||||||
|
+ if (!fp)
|
||||||
|
+ continue;
|
||||||
|
+ bytes[0] = bytes[1] = 0;
|
||||||
|
+ fread (bytes, 2, 1, fp);
|
||||||
|
+ fclose (fp);
|
||||||
|
+ ret = (bytes[0] == '#' && bytes[1] == '!');
|
||||||
|
+ break;
|
||||||
|
+ }
|
||||||
|
+ g_strfreev (paths);
|
||||||
|
+ return ret;
|
||||||
|
+}
|
||||||
|
|
||||||
|
static FrArchiveCaps
|
||||||
|
fr_command_rar_get_capabilities (FrArchive *archive,
|
||||||
|
@@ -777,7 +810,7 @@ fr_command_rar_get_capabilities (FrArchi
|
||||||
|
capabilities = FR_ARCHIVE_CAN_STORE_MANY_FILES | FR_ARCHIVE_CAN_ENCRYPT | FR_ARCHIVE_CAN_ENCRYPT_HEADER;
|
||||||
|
if (_g_program_is_available ("rar", check_command))
|
||||||
|
capabilities |= FR_ARCHIVE_CAN_READ_WRITE | FR_ARCHIVE_CAN_CREATE_VOLUMES;
|
||||||
|
- else if (_g_program_is_available ("unrar", check_command))
|
||||||
|
+ else if (_g_program_is_available ("unrar", check_command) && !unrar_is_suse_wrapper ())
|
||||||
|
capabilities |= FR_ARCHIVE_CAN_READ;
|
||||||
|
|
||||||
|
/* multi-volumes are read-only */
|
11
file-roller-pkg-match.patch
Normal file
11
file-roller-pkg-match.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- file-roller-43.alpha-orig/data/packages.match 2022-08-18 22:17:26.000000000 +0200
|
||||||
|
+++ file-roller-43.alpha/data/packages.match 2022-08-20 15:08:13.767734154 +0200
|
||||||
|
@@ -10,7 +10,7 @@
|
||||||
|
dpkg=
|
||||||
|
genisoimage=
|
||||||
|
gzip=
|
||||||
|
-lha=
|
||||||
|
+lha=lhasa
|
||||||
|
lrzip=
|
||||||
|
lz4=
|
||||||
|
lzip=
|
2864
file-roller.changes
Normal file
2864
file-roller.changes
Normal file
File diff suppressed because it is too large
Load Diff
4
file-roller.obsinfo
Normal file
4
file-roller.obsinfo
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
name: file-roller
|
||||||
|
version: 44.4
|
||||||
|
mtime: 1732478052
|
||||||
|
commit: 3d6c44e7aac7a610da98a9ef95965ea1a2c3a399
|
134
file-roller.spec
Normal file
134
file-roller.spec
Normal file
@ -0,0 +1,134 @@
|
|||||||
|
#
|
||||||
|
# spec file for package file-roller
|
||||||
|
#
|
||||||
|
# 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: file-roller
|
||||||
|
Version: 44.4
|
||||||
|
Release: 0
|
||||||
|
Summary: An Archive Manager for GNOME
|
||||||
|
License: GPL-2.0-or-later
|
||||||
|
Group: Productivity/Archiving/Compression
|
||||||
|
URL: https://wiki.gnome.org/Apps/FileRoller
|
||||||
|
Source0: %{name}-%{version}.tar.zst
|
||||||
|
|
||||||
|
# PATCH-FIX-OPENSUSE file-roller-3.4-change-archiver-priority.patch bnc#767386 gankov@opensuse.org -- Give unzip a higher priority than 7z when unpackging zip files. Gives better results for non-latin charsets.
|
||||||
|
Patch0: file-roller-3.4-change-archiver-priority.patch
|
||||||
|
# PATCH-FEATURE-OPENSUSE file-roller-pkg-match.patch bnc#696530 dimstar@opensuse.org -- List package match names for automatic installation using PK.
|
||||||
|
Patch1: file-roller-pkg-match.patch
|
||||||
|
# PATCH-FIX-OPENSUSE file-roller-ignore-unrar-if-wrapper.patch bsc#1072118 mgorse@suse.com -- if unrar is a wrapper script for unar, then ignore it, and use unar instead.
|
||||||
|
Patch2: file-roller-ignore-unrar-if-wrapper.patch
|
||||||
|
|
||||||
|
# Needed for directory ownership
|
||||||
|
BuildRequires: dbus-1
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: file-devel
|
||||||
|
BuildRequires: meson >= 0.50
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: yelp-tools
|
||||||
|
BuildRequires: pkgconfig(glib-2.0) >= 2.38.0
|
||||||
|
BuildRequires: pkgconfig(gthread-2.0)
|
||||||
|
BuildRequires: pkgconfig(gtk4)
|
||||||
|
BuildRequires: pkgconfig(json-glib-1.0) >= 0.14.0
|
||||||
|
BuildRequires: pkgconfig(libadwaita-1)
|
||||||
|
BuildRequires: pkgconfig(libarchive) >= 3.0.0
|
||||||
|
BuildRequires: pkgconfig(libnautilus-extension-4)
|
||||||
|
BuildRequires: pkgconfig(libportal)
|
||||||
|
BuildRequires: pkgconfig(libportal-gtk4)
|
||||||
|
# Formats that we likely want to support by default
|
||||||
|
Recommends: bzip2
|
||||||
|
Recommends: 7zip
|
||||||
|
Recommends: cpio
|
||||||
|
Recommends: gzip
|
||||||
|
Recommends: rpm
|
||||||
|
Recommends: unar
|
||||||
|
Recommends: unzip
|
||||||
|
Recommends: xz
|
||||||
|
Recommends: zip
|
||||||
|
# Additional formats that are supported
|
||||||
|
Suggests: lzip
|
||||||
|
Suggests: lzop
|
||||||
|
Suggests: rzip
|
||||||
|
Suggests: zoo
|
||||||
|
Suggests: lhasa
|
||||||
|
Suggests: arj
|
||||||
|
# FIXME: Formats for which we don't have packages. Some are free software that
|
||||||
|
# we could package.
|
||||||
|
#Suggests: lrzip
|
||||||
|
#Suggests: ncompress
|
||||||
|
#Suggests: rar
|
||||||
|
#Suggests: theunarchiver
|
||||||
|
#Suggests: unace
|
||||||
|
#Suggests: unalz
|
||||||
|
#Suggests: unstuff
|
||||||
|
DocDir: %{_defaultdocdir}
|
||||||
|
|
||||||
|
%description
|
||||||
|
File Roller is an archive manager for GNOME. With it, you can create
|
||||||
|
and modify archives, view the contents of an archive, view a file
|
||||||
|
contained in the archive, and extract files from the archive.
|
||||||
|
|
||||||
|
%package -n nautilus-file-roller
|
||||||
|
Summary: File-roller extension for Nautilus
|
||||||
|
Group: Productivity/Archiving/Compression
|
||||||
|
BuildRequires: pkgconfig(gtk4)
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Requires: nautilus
|
||||||
|
|
||||||
|
%description -n nautilus-file-roller
|
||||||
|
File Roller is an archive manager for GNOME. With it, you can create
|
||||||
|
and modify archives, view the contents of an archive, view a file
|
||||||
|
contained in the archive, and extract files from the archive.
|
||||||
|
|
||||||
|
%lang_package
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
%meson \
|
||||||
|
-D notification=enabled \
|
||||||
|
-D libarchive=enabled \
|
||||||
|
%{nil}
|
||||||
|
%meson_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%meson_install
|
||||||
|
%find_lang %{name} %{?no_lang_C}
|
||||||
|
%fdupes %{buildroot}%{_datadir}
|
||||||
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%doc AUTHORS NEWS
|
||||||
|
%{_bindir}/file-roller
|
||||||
|
%{_datadir}/file-roller/
|
||||||
|
%{_libexecdir}/file-roller/
|
||||||
|
%dir %{_datadir}/metainfo
|
||||||
|
%{_datadir}/metainfo/org.gnome.FileRoller.appdata.xml
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/*
|
||||||
|
%{_datadir}/applications/*.desktop
|
||||||
|
%{_datadir}/dbus-1/services/org.gnome.FileRoller.service
|
||||||
|
%{_datadir}/dbus-1/services/org.gnome.ArchiveManager1.service
|
||||||
|
%doc %{_datadir}/help/C/%{name}/
|
||||||
|
%{_datadir}/glib-2.0/schemas/org.gnome.FileRoller.gschema.xml
|
||||||
|
|
||||||
|
%files -n nautilus-file-roller
|
||||||
|
%{_libdir}/nautilus/extensions-4/libnautilus-fileroller.so
|
||||||
|
|
||||||
|
%files lang -f %{name}.lang
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user