Accepting request 128303 from home:Gankov:branches:GNOME:Factory

Fix encoding of cyrillic filenames in zip, created under Windows (bnc#767386)

OBS-URL: https://build.opensuse.org/request/show/128303
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/file-roller?expand=0&rev=139
This commit is contained in:
Dominique Leuenberger 2012-07-21 15:12:19 +00:00 committed by Git OBS Bridge
parent 2fb13a867a
commit c72f3f9d73
3 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,20 @@
Index: src/fr-init.c
===================================================================
--- src/fr-init.c.orig
+++ src/fr-init.c
@@ -339,6 +339,7 @@ register_commands (void)
register_command (FR_TYPE_COMMAND_TAR);
register_command (FR_TYPE_COMMAND_CFILE);
+ register_command (FR_TYPE_COMMAND_ZIP);
register_command (FR_TYPE_COMMAND_7Z);
register_command (FR_TYPE_COMMAND_DPKG);
@@ -353,7 +354,6 @@ register_commands (void)
register_command (FR_TYPE_COMMAND_RAR);
register_command (FR_TYPE_COMMAND_RPM);
register_command (FR_TYPE_COMMAND_UNSTUFF);
- register_command (FR_TYPE_COMMAND_ZIP);
register_command (FR_TYPE_COMMAND_LRZIP);
register_command (FR_TYPE_COMMAND_ZOO);
}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jun 17 17:29:05 UTC 2012 - gankov@opensuse.org
- Add file-roller-3.4-change-archiver-priority.patch : Fix encoding
of cyrillic filenames in zip, created under Windows (bnc#767386)
-------------------------------------------------------------------
Mon May 14 20:41:44 UTC 2012 - vuntz@opensuse.org

View File

@ -24,6 +24,8 @@ License: GPL-2.0+
Group: Productivity/Archiving/Compression
Url: http://fileroller.sourceforge.net
Source: http://download.gnome.org/sources/file-roller/3.4/%{name}-%{version}.tar.xz
# PATCH-FIX-OPENSUSE file-roller-3.4-change-archiver-priority.patch [bnc#767386]
Patch0: file-roller-3.4-change-archiver-priority.patch
# Needed for directory ownership
BuildRequires: dbus-1
BuildRequires: fdupes
@ -89,6 +91,7 @@ This package contains a plugin to integrate File Roller into Nautilus.
%lang_package
%prep
%setup -q
%patch0
translation-update-upstream
%build