Hello community,

here is the log from the commit of package xarchiver for openSUSE:11.4
checked in at Thu Jan 12 15:57:55 CET 2012.



--------
--- old-versions/11.4/all/xarchiver/xarchiver.changes   2011-02-18 
00:15:03.000000000 +0100
+++ 11.4/xarchiver/xarchiver.changes    2012-01-10 17:04:09.000000000 +0100
@@ -1,0 +2,7 @@
+Tue Jan 10 16:02:58 UTC 2012 - [email protected]
+
+- added xarchiver-fix-double-escaping.patch in order to fix double
+  escaping of filenames passed to the --add-to commandline option
+  (bnc#723170)
+
+-------------------------------------------------------------------

Package does not exist at destination yet. Using Fallback 
old-versions/11.4/all/xarchiver
Destination is old-versions/11.4/UPDATES/all/xarchiver
calling whatdependson for 11.4-i586


New:
----
  xarchiver-fix-double-escaping.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xarchiver.spec ++++++
--- /var/tmp/diff_new_pack.sWeIw7/_old  2012-01-12 15:57:31.000000000 +0100
+++ /var/tmp/diff_new_pack.sWeIw7/_new  2012-01-12 15:57:31.000000000 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xarchiver
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,23 +19,25 @@
 
 Name:           xarchiver
 Version:        0.5.2+20090319
-Release:        9.<RELEASE3>
-License:        GPLv2+
+Release:        9.<RELEASE14>
 Summary:        Lightweight, desktop-independent archive manager
-Url:            http://xarchiver.sourceforge.net/
+License:        GPL-2.0+
 Group:          Productivity/Archiving/Compression
+Url:            http://xarchiver.sourceforge.net/
 Source0:        %{name}-%{version}.tar.bz2
 Source1:        %{name}.1
 Patch0:         xarchiver-0.5.2+20090319-honor-docdir.patch
+# PATCH-FIX-UPSTREAM xarchiver-fix-double-escaping.patch bnc#723170 
[email protected] -- Fix double escaping of filenames passed to the --add-to 
commandline option
+Patch1:         xarchiver-fix-double-escaping.patch
 BuildRequires:  fdupes
 BuildRequires:  intltool
+BuildRequires:  startup-notification
+BuildRequires:  update-desktop-files
+BuildRequires:  xfce4-dev-tools
 BuildRequires:  pkgconfig(dbus-1)
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gtk+-2.0)
 BuildRequires:  pkgconfig(pango)
-BuildRequires:  startup-notification
-BuildRequires:  update-desktop-files
-BuildRequires:  xfce4-dev-tools
 Recommends:     bzip2
 Recommends:     gzip
 Recommends:     p7zip
@@ -54,6 +56,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 # fix spurious executable permissions of some debug files
 chmod -x src/mime.*
 

++++++ xarchiver-fix-double-escaping.patch ++++++
diff --git a/src/main.c b/src/main.c
index a13d737..07b4824 100644
--- a/src/main.c
+++ b/src/main.c
@@ -208,13 +208,13 @@ int main (int argc, char **argv)
                                g_free(_current_dir);
                                GSList *files = NULL;
                                _current_dir = g_path_get_basename(add_files);
-                               files = 
g_slist_append(files,xa_escape_filename(_current_dir,"$'`\"\\!?* ()[]&|:;<>#"));
+                               files = 
g_slist_append(files,g_strdup(_current_dir));
                                g_free(_current_dir);
                                g_free(add_files);
                                for (x = 1; x< argc; x++)
                                {
                                        _current_dir = 
g_path_get_basename(argv[x]);
-                                       files = 
g_slist_append(files,xa_escape_filename(_current_dir,"$'`\"\\!?* ()[]&|:;<>#"));
+                                       files = 
g_slist_append(files,g_strdup(_current_dir));
                                        g_free (_current_dir);
                                }
                                xa_execute_add_commands(archive,files,NULL);
continue with "q"...



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to