Hello community,

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



--------
--- old-versions/11.3/all/xarchiver/xarchiver.changes   2010-03-28 
12:47:03.000000000 +0200
+++ 11.3/xarchiver/xarchiver.changes    2012-01-10 17:03:57.000000000 +0100
@@ -1,0 +2,7 @@
+Tue Jan 10 16:02:28 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.3/all/xarchiver
Destination is old-versions/11.3/UPDATES/all/xarchiver
calling whatdependson for 11.3-i586


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

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

Other differences:
------------------
++++++ xarchiver.spec ++++++
--- /var/tmp/diff_new_pack.xwRHUw/_old  2012-01-12 15:51:58.000000000 +0100
+++ /var/tmp/diff_new_pack.xwRHUw/_new  2012-01-12 15:51:58.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package xarchiver (Version 0.5.2+20090319)
+# spec file for package xarchiver
 #
-# Copyright (c) 2010 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
@@ -15,22 +15,28 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
 
 
 Name:           xarchiver
 Summary:        Archiver front-end
+License:        GPL-2.0+
+Group:          Productivity/Archiving/Compression
 Version:        0.5.2+20090319
-Release:        1
-License:        GPLv2+
+Release:        2.<RELEASE2>
 Url:            http://www.xfce.org/
 Source0:        %{name}-%{version}.tar.bz2
 Source1:        %{name}.1
-Group:          Productivity/Archiving/Compression
+# PATCH-FIX-UPSTREAM xarchiver-fix-double-escaping.patch bnc#723170 
[email protected] -- Fix double escaping of filenames passed to the --add-to 
commandline option
+Patch0:         xarchiver-fix-double-escaping.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  dbus-1-devel glib2-devel pango-devel startup-notification
-BuildRequires:  fdupes intltool update-desktop-files
+BuildRequires:  dbus-1-devel
+BuildRequires:  fdupes
+BuildRequires:  glib2-devel
 BuildRequires:  gtk2-devel >= 2.14.0
+BuildRequires:  intltool
+BuildRequires:  pango-devel
+BuildRequires:  startup-notification
+BuildRequires:  update-desktop-files
 Recommends:     xdg-utils bzip2 unzip zip p7zip gzip unrar
 
 %description
@@ -40,6 +46,7 @@
 
 %prep
 %setup -q
+%patch0 -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