Hello community,

here is the log from the commit of package xarchiver for openSUSE:Factory 
checked in at 2011-12-27 18:15:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xarchiver (Old)
 and      /work/SRC/openSUSE:Factory/.xarchiver.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

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

Changes:
--------
--- /work/SRC/openSUSE:Factory/xarchiver/xarchiver.changes      2011-10-28 
15:27:57.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.xarchiver.new/xarchiver.changes 2011-12-27 
18:15:55.000000000 +0100
@@ -1,0 +2,7 @@
+Mon Dec 19 17:20:38 UTC 2011 - [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.ZZUXh4/_old  2011-12-27 18:15:58.000000000 +0100
+++ /var/tmp/diff_new_pack.ZZUXh4/_new  2011-12-27 18:15:58.000000000 +0100
@@ -16,27 +16,28 @@
 #
 
 
-
 Name:           xarchiver
 Version:        0.5.2+20090319
-Release:        11
-License:        GPL-2.0+
+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 +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);
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to