Hello community,

here is the log from the commit of package mc for openSUSE:Factory checked in 
at 2013-12-13 13:09:31
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/mc (Old)
 and      /work/SRC/openSUSE:Factory/.mc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "mc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/mc/mc.changes    2013-11-30 07:36:41.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.mc.new/mc.changes       2013-12-13 
13:09:32.000000000 +0100
@@ -1,0 +2,13 @@
+Thu Dec 12 12:10:32 UTC 2013 - d...@opensuse.org
+
+- fix the iso9660 some more and fall back from xorriso to isoinfo as
+  xorriso fails on many DVD-iso files (well, that's UDF actually ..)
+
+-------------------------------------------------------------------
+Thu Dec 12 10:02:02 UTC 2013 - d...@opensuse.org
+
+- add mc-extfs-iso9660-xorriso.patch
+  fixing iso9660 extfs directory handling using xorriso
+  see http://www.midnight-commander.org/ticket/3122
+
+-------------------------------------------------------------------

New:
----
  mc-extfs-iso9660-xorriso.patch

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

Other differences:
------------------
++++++ mc.spec ++++++
--- /var/tmp/diff_new_pack.e3ORlx/_old  2013-12-13 13:09:33.000000000 +0100
+++ /var/tmp/diff_new_pack.e3ORlx/_new  2013-12-13 13:09:33.000000000 +0100
@@ -47,6 +47,10 @@
 # extfs failing on files with spaces (bnc#849082). Forwarded to upstream.
 # see http://www.midnight-commander.org/ticket/3073
 Patch22:        mc-extfs-helpers-urar.patch
+# add mc-extfs-iso9660-xorriso.patch
+# fixing iso9660 extfs directory handling using xorriso
+# http://www.midnight-commander.org/ticket/3122
+Patch23:        mc-extfs-iso9660-xorriso.patch
 
 #debian fixes for vfs
 Patch24:        02_ignore_ftp_chmod_error.patch
@@ -86,6 +90,7 @@
 BuildRequires:  xz
 Requires(pre):  permissions
 Recommends:     %{name}-lang = %{version}
+Recommends:     mkisofs xorriso
 
 %description
 GNU Midnight Commander (also referred to as MC) is a user shell much
@@ -97,6 +102,8 @@
 your screen and giving you a clear representation of the filesystem, yet
 it's simple enough to be run over a telnet or ssh session.
 
+MC needs several other programs for its various extfs extensions, e.g. 
+isoinfo (from mkisofs) or xorriso for the iso:// extension.
 
 %lang_package
 %prep
@@ -115,6 +122,7 @@
 %patch20
 %patch21
 %patch22 -p1
+%patch23 -p1
 %patch24
 %patch31
 %patch32

++++++ mc-extfs-iso9660-xorriso.patch ++++++
--- mc-4.8.11/src/vfs/extfs/helpers/iso9660.in.orig     2013-12-12 
10:57:16.000000000 +0100
+++ mc-4.8.11/src/vfs/extfs/helpers/iso9660.in  2013-12-12 13:04:28.000000000 
+0100
@@ -38,13 +38,16 @@
         return 1
     fi
     local dir attr ln usr gr sz dt1 dt2 dt3 nm len name
-    dir="$2"
-    $XORRISO -dev stdio:"$1" -cd "$dir" -lsl 2> /dev/null | @GREP@ "^[-d]" | \
+    dir="${2:-/}"
+    lsl=$( $XORRISO -abort_on FATAL -dev stdio:"$1" -cd "$dir" -lsl 2> 
/dev/null )
+    r=$?
+    test $r -gt 0 && return $r
+    echo "$lsl" | /usr/bin/grep "^[-d]" | \
     while read attr ln usr gr sz dt1 dt2 dt3 nm ; do
-        len=$((${#nm} - 2))
-        name=$(printf "$nm" | cut -c2-$len)  # remove quotes
-        if test $(printf "$nm" | cut -c1-2) != "d"; then
-            printf "%s %s %s %s %s %s %s %s %s/%s\n" "$attr" "$ln" "$usr" 
"$gr" "$sz" "$dt1" "$dt2" "$dt3" "$dir" "$name"
+        len=$((${#nm} - 1))
+        name=$(printf -- '%s' "$nm" | cut -c2-$len)  # remove quotes
+        if test $(printf -- '%s' "$attr" | cut -c1) != "d"; then
+            printf -- "%s %s %s %s %s %s %s %s %s/%s\n" "$attr" "$ln" "$usr" 
"$gr" "$sz" "$dt1" "$dt2" "$dt3" "$dir" "$name"
         else
             xorriso_list "$1" "$dir/$name"
         fi

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to