Hello community,

here is the log from the commit of package xarchiver for 
openSUSE:12.1:Update:Test checked in at 2012-01-12 16:02:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:12.1:Update:Test/xarchiver (Old)
 and      /work/SRC/openSUSE:12.1:Update:Test/.xarchiver.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xarchiver", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:12.1:Update:Test/xarchiver/xarchiver.changes     
2012-01-12 16:02:11.000000000 +0100
+++ /work/SRC/openSUSE:12.1:Update:Test/.xarchiver.new/xarchiver.changes        
2012-01-12 16:02:12.000000000 +0100
@@ -1,0 +2,7 @@
+Tue Jan 10 16:03:14 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)
+
+-------------------------------------------------------------------

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

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

Other differences:
------------------
++++++ xarchiver.spec ++++++
--- /var/tmp/diff_new_pack.Ur02sd/_old  2012-01-12 16:02:12.000000000 +0100
+++ /var/tmp/diff_new_pack.Ur02sd/_new  2012-01-12 16:02:12.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
@@ -15,28 +15,28 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-
-
 Name:           xarchiver
 Version:        0.5.2+20090319
-Release:        11
-License:        GPLv2+
+Release:        0
 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
 # PATCH-FIX-OPENSUSE xarchiver-0.5.2+20090319-honor-docdir.patch 
[email protected] -- Install documentation under docdir and do not install 
README, ChangeLog etc.
 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
@@ -55,6 +55,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);
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to