Hello community,

here is the log from the commit of package mc for openSUSE:Factory checked in 
at 2013-07-19 11:14:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-03-08 09:22:48.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.mc.new/mc.changes       2013-07-19 
11:14:09.000000000 +0200
@@ -1,0 +2,38 @@
+Wed Jul 17 10:24:58 UTC 2013 - [email protected]
+
+- Update to new upstream release 4.8.9
+  * extfs: support unrar-5
+  * extfs: use xorriso (if exists) for writing into ISO images
+  * extfs: display additional info while vieweing .iso files
+    with F3
+  * mcedit: support unlimited file size
+- The changes since 4.8.1.7 are to numerous to list here,
+  please read the file /usr/share/doc/packages/mc/NEWS for
+  a complete list
+- modify mc-multi-press-f-keys.patch: adopted for changes in
+  sources
+- modify mc-esc-seq.patch: adopted for changes in sources
+- modify mc-rpm.patch: adopted for changes in sources
+- modify mc-Syntax.cmake.patch: added .cmake file ext for cmake
+  syntax highlighting
+- changes made for ext.d hanlers
+    * add mc-ext-audio.patch: view action added for all audio files
+    * add mc-extd-sound.patch: implement old functionality
+    * add mc-extd-video.patch: implement old functionality
+    * remove mc-apps-mediainfo.patch: implementation is moved to
+      mc-extd-sound.patch and mc-extd-video.patch
+    * add mc-extd-misc.patch: implement old functionality
+    * remove mc-apps-torrent.patch: moved to mc-extd-misc.patch
+    * add mc-extd-doc.patch: use elinks only when installed
+    * remove mc-word_docs.patch: Word docs now handled correctly
+      using xdg-open utility
+    * add mc-extd-xdg.patch: use xdg-open in X11 sessions only
+    * remove mc-apps.patch: re-implemented in patches for ext.d
+      handlers
+    * remove mc-extensions.patch: implementations is moved to
+      sound/video/doc patches for ext.d handlers
+    * remove mc-x11browser.diff: obsolated, implemented in ext.d/web.sh
+- remove mc-palmsupport.patch: Palm Pilot support removed from
+  system-wide menu file
+
+-------------------------------------------------------------------

Old:
----
  mc-4.8.1.7.tar.xz
  mc-apps-mediainfo.patch
  mc-apps-torrent.patch
  mc-apps.patch
  mc-extensions.patch
  mc-palmsupport.patch
  mc-word_docs.patch
  mc-x11browser.diff

New:
----
  mc-4.8.9.tar.xz
  mc-ext-audio.patch
  mc-extd-doc.patch
  mc-extd-misc.patch
  mc-extd-sound.patch
  mc-extd-video.patch
  mc-extd-xdg.patch

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

Other differences:
------------------
++++++ mc.spec ++++++
--- /var/tmp/diff_new_pack.BVdvZ0/_old  2013-07-19 11:14:10.000000000 +0200
+++ /var/tmp/diff_new_pack.BVdvZ0/_new  2013-07-19 11:14:10.000000000 +0200
@@ -21,9 +21,9 @@
 License:        GPL-3.0+
 Group:          Productivity/File utilities
 Url:            http://www.midnight-commander.org/
-Version:        4.8.1.7
+Version:        4.8.9
 Release:        0.0
-Source:         
https://www.midnight-commander.org/downloads/mc-%{version}.tar.xz
+Source:         http://ftp.midnight-commander.org/mc-%{version}.tar.xz
 Source1:        x11_browser
 Source2:        %{name}.desktop
 Source3:        %{name}.png
@@ -31,12 +31,12 @@
 Source5:        mc-rpmlintrc
 Patch18:        mc-Syntax.cmake.patch
 Patch0:         mc-fix_lib_search_path.patch
-Patch6:         mc-apps.patch
-Patch61:        mc-apps-mediainfo.patch
-Patch62:        mc-apps-torrent.patch
-Patch7:         mc-palmsupport.patch
-Patch8:         mc-word_docs.patch
-Patch9:         mc-x11browser.diff
+Patch61:        mc-extd-misc.patch
+Patch62:        mc-extd-video.patch
+Patch63:        mc-extd-doc.patch
+Patch64:        mc-extd-sound.patch
+Patch69:        mc-extd-xdg.patch
+Patch71:        mc-ext-audio.patch
 Patch12:        mc-wrapper.patch
 Patch16:        mc-esc-seq.patch
 Patch17:        mc-rpm.patch
@@ -50,7 +50,6 @@
 # PATCH-FIX-UPSTREAM mc-multi-press-f-keys.patch mc287 [email protected] - Fixed 
Esc + Numeral F-key emulation.
 Patch41:        mc-multi-press-f-keys.patch
 # Patches from Fedora
-Patch50:        mc-extensions.patch
 #Patch adding -fpie and -pie to compilation and linking of setuid binaries
 Patch52:        mc-pie.patch
 
@@ -105,12 +104,12 @@
 %prep
 %setup -q
 %patch0
-%patch6
 %patch61
 %patch62
-%patch7
-%patch8
-%patch9
+%patch63
+%patch64
+%patch69
+%patch71
 %patch12
 %patch16
 %patch17
@@ -121,13 +120,15 @@
 %patch31
 %patch32
 %patch41
-%patch50
 %patch52 -p1
 
 %build
 autoreconf --force --install
 %define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith 
-Wformat-security -Wno-unused-parameter
 export CFLAGS="$RPM_OPT_FLAGS %{warn_flags}"
+
+export X11_WWW="%{_datadir}/mc/x11_browser"
+
 %configure \
     --localstatedir=/var/lib \
     --enable-charset \
@@ -151,7 +152,9 @@
 %suse_update_desktop_file -i %name System FileManager
 # Remove not supported language
 rm -rf  %{buildroot}%{_datadir}/locale/be@tarask
-%{find_lang} %{name}
+
+%find_lang %name
+
 %fdupes -s %{buildroot}%{_prefix}
 
 %clean
@@ -168,20 +171,21 @@
 %doc ABOUT-NLS COPYING NEWS README
 %config %{_sysconfdir}/profile.d/*
 %{_bindir}/mc*
-%dir %{_sysconfdir}/mc
+%dir %{_sysconfdir}/mc/
 %config %{_sysconfdir}/mc/filehighlight.ini
 %config %{_sysconfdir}/mc/sfs.ini
 %config %{_sysconfdir}/mc/mc.menu
 %config %{_sysconfdir}/mc/mc.ext
-%config %{_sysconfdir}/mc/mc.keymap.emacs
-%config %{_sysconfdir}/mc/edit.spell.rc
+###config #{_sysconfdir}/mc/edit.spell.rc
 %config %{_sysconfdir}/mc/mcedit.menu
-%config %{_sysconfdir}/mc/mc.keymap.default
 %config %{_sysconfdir}/mc/mc.keymap
+%config %{_sysconfdir}/mc/mc.default.keymap
+%config %{_sysconfdir}/mc/mc.emacs.keymap
 %config %{_sysconfdir}/mc/edit.indent.rc
-%dir %{_libexecdir}/mc
+#(!)dir #{_libexecdir}/mc
 %verify(not mode) %{_libexecdir}/mc/cons.saver
 %{_mandir}/man1/*
+%exclude %{_mandir}/*/man1/*
 %{_datadir}/mc
 %{_datadir}/mc/syntax/Syntax
 %{_datadir}/mc/mc.charsets
@@ -192,18 +196,26 @@
 %{_datadir}/mc/help/mc.hlp
 %exclude %{_datadir}/mc/help/mc.hlp.*
 %exclude %{_sysconfdir}/mc/mc.menu.*
+%exclude %{_datadir}/locale/*/LC_MESSAGES/mc.mo
+
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/pixmaps/%{name}.png
 %exclude %{_sysconfdir}/mc/mc.menu.*
 
-%files lang -f %{name}.lang
+%files lang -f %name.lang
 %defattr(-, root, root)
-%lang(es) %doc %{_mandir}/es
-%lang(hu) %doc %{_mandir}/hu
-%lang(it) %doc %{_mandir}/it
-%lang(pl) %doc %{_mandir}/pl
-%lang(ru) %doc %{_mandir}/ru
-%lang(sr) %doc %{_mandir}/sr
+%lang(hu) %dir %{_mandir}/hu/
+%lang(hu) %dir %{_mandir}/hu/man1/
+%lang(hu) %{_mandir}/hu/man1/mc.1.gz
+
+%lang(pl) %dir %{_mandir}/pl/
+%lang(pl) %dir %{_mandir}/pl/man1/
+%lang(pl) %{_mandir}/pl/man1/mc.1.gz
+
+%lang(sr) %dir %{_mandir}/sr/
+%lang(sr) %dir %{_mandir}/sr/man1/
+%lang(sr) %{_mandir}/sr/man1/mc.1.gz
+
 %lang(cs) %doc %{_datadir}/mc/*/mc.*.cs
 %lang(es) %doc %{_datadir}/mc/*/mc.*.es
 %lang(hu) %doc %{_datadir}/mc/*/mc.*.hu

++++++ mc-4.8.1.7.tar.xz -> mc-4.8.9.tar.xz ++++++
++++ 259787 lines of diff (skipped)

++++++ mc-Syntax.cmake.patch ++++++
--- /var/tmp/diff_new_pack.BVdvZ0/_old  2013-07-19 11:14:12.000000000 +0200
+++ /var/tmp/diff_new_pack.BVdvZ0/_new  2013-07-19 11:14:12.000000000 +0200
@@ -1,11 +1,8 @@
 --- misc/syntax/Syntax.in.orig 2012-12-28 12:47:48.000000000 +0400
 +++ misc/syntax/Syntax.in      2013-03-07 09:36:14.233306543 +0400
-@@ -67,7 +67,7 @@
- file (.\*[Mm]akefile[\\\.A-Za-z0-9]\*|..\*\\.mk|Kbuild)$ Makefile
- include makefile.syntax
+@@ -69,4 +69,4 @@
  
 -file CMakeLists.txt$ CMake
 +file (\/CMakeLists.txt|.cmake)$ CMake
  include cmake.syntax
  
- file ..\*\\.(pp|PP|pas|PAS|dpr|DPR|inc|INC)$ Pascal\sProgram

++++++ mc-esc-seq.patch ++++++
--- /var/tmp/diff_new_pack.BVdvZ0/_old  2013-07-19 11:14:12.000000000 +0200
+++ /var/tmp/diff_new_pack.BVdvZ0/_new  2013-07-19 11:14:12.000000000 +0200
@@ -1,13 +1,11 @@
-Index: lib/util.c
-===================================================================
---- lib/util.c.orig    2010-07-05 21:12:51.000000000 +0200
-+++ lib/util.c 2010-07-06 19:19:06.919536838 +0200
-@@ -853,6 +853,8 @@ strip_ctrl_codes (char *s)
-                 /* strchr() matches trailing binary 0 */
-                 while (*(++r) && strchr ("0123456789;?", *r));
+--- lib/util.c.orig    2013-07-09 14:43:17.000000000 +0400
++++ lib/util.c 2013-07-11 18:48:01.258511499 +0400
+@@ -745,6 +745,8 @@
+                 while (*(++r) != '\0' && strchr ("0123456789;?", *r) != NULL)
+                     ;
              }
 +            else if (*r == '(')
-+                  r++;
++                r++;
              else if (*r == ']')
              {
                  /*

++++++ mc-ext-audio.patch ++++++
--- misc/mc.ext.in.orig 2012-12-11 01:04:32.000000000 +0400
+++ misc/mc.ext.in      2013-03-10 10:59:02.741159661 +0400
@@ -433,16 +433,19 @@
 ### Sound files ###
 
 regex/i/\.(wav|snd|voc|au|smp|aiff|snd|m4a|ape|aac|wv)$
-       Open=@EXTHELPERSDIR@/sound.sh open common
+       Include=audio
 
 regex/i/\.(mod|s3m|xm|it|mtm|669|stm|ult|far)$
        Open=@EXTHELPERSDIR@/sound.sh open mod
+       View=%view{ascii} @EXTHELPERSDIR@/sound.sh view mod
 
 shell/i/.waw22
        Open=@EXTHELPERSDIR@/sound.sh open wav22
+       View=%view{ascii} @EXTHELPERSDIR@/sound.sh view wav22
 
 shell/i/.mp3
        Open=@EXTHELPERSDIR@/sound.sh open mp3
+       Include=audio
        View=%view{ascii} @EXTHELPERSDIR@/sound.sh view mp3
 
 regex/i/\.og[gax]$
@@ -450,15 +453,22 @@
        View=%view{ascii} @EXTHELPERSDIR@/sound.sh view ogg
 
 regex/i/\.(spx|flac)$
-       Open=@EXTHELPERSDIR@/sound.sh open common
+       Include=audio
 
 regex/i/\.(midi?|rmid?)$
        Open=@EXTHELPERSDIR@/sound.sh open midi
+       View=%view{ascii} @EXTHELPERSDIR@/sound.sh view midi
 
 shell/i/.wma
        Open=@EXTHELPERSDIR@/sound.sh open wma
        View=%view{ascii} @EXTHELPERSDIR@/sound.sh view wma
 
+shell/i/.mka
+       Include=audio
+
+include/audio
+       Open=@EXTHELPERSDIR@/sound.sh open common
+       View=%view{ascii} @EXTHELPERSDIR@/sound.sh view common
 
 ### Play lists ###
 
++++++ mc-extd-doc.patch ++++++
--- misc/ext.d/doc.sh.in.orig   2012-12-27 12:13:20.000000000 +0400
+++ misc/ext.d/doc.sh.in        2013-03-10 08:03:31.889494487 +0400
@@ -50,3 +50,3 @@
     msdoc)
-        which wvHtml >/dev/null 2>&1 &&
+        which wvHtml >/dev/null 2>&1 && which elinks >/dev/null 2>&1 &&
         {
@@ -57,2 +57,3 @@
         } || \
+            wvText "${MC_EXT_FILENAME}" -  || \
             antiword -t "${MC_EXT_FILENAME}" || \
@@ -63,3 +64,3 @@
     msxls)
-        which xlHtml >/dev/null 2>&1 && {
+        which xlHtml >/dev/null 2>&1 && which elinks >/dev/null 2>&1 && {
             tmp=`mktemp -d ${TMPDIR:-/tmp}/%p.XXXXXX`
++++++ mc-extd-misc.patch ++++++
--- misc/ext.d/misc.sh.in.orig  2012-12-27 12:13:20.000000000 +0400
+++ misc/ext.d/misc.sh.in       2013-03-09 12:10:56.696615817 +0400
@@ -47,3 +47,9 @@
     torrent)
-        ctorrent -x "${MC_EXT_FILENAME}" 2>/dev/null
+        if type -p ctorrent >/dev/null 2>&1 ; then
+            ctorrent -x "${MC_EXT_FILENAME}" 2>/dev/null 
+        elif type -p transmission-show >/dev/null 2>&1 ; then
+            transmission-show "${MC_EXT_FILENAME}"
+        else
+            file "${MC_EXT_FILENAME}"
+        fi
         ;;
++++++ mc-extd-sound.patch ++++++
--- misc/ext.d/sound.sh.orig    2012-12-27 12:13:20.000000000 +0400
+++ misc/ext.d/sound.sh 2013-03-10 11:54:01.186301679 +0400
@@ -6,27 +6,46 @@
 action=$1
 filetype=$2
 
-[ -n "${MC_XDG_OPEN}" ] || MC_XDG_OPEN="xdg-open"
+[ -n "${MC_XDG_OPEN}" ] || MC_XDG_OPEN="_xdg_open"
+
+_xdg_open()
+{
+    if [ -n "$DISPLAY" ] && type -p gmplayer ; then
+        gmplayer "${MC_EXT_FILENAME}"
+    elif type -p mplayer ; then
+        mplayer "${MC_EXT_FILENAME}"
+    else
+        xdg-open "${MC_EXT_FILENAME}"
+    fi
+}
 
 do_view_action() {
     filetype=$1
 
+    if type -p mediainfo >/dev/null 2>&1 ; then
+        mediainfo "${MC_EXT_FILENAME}"
+        return $?
+    fi
+
     case "${filetype}" in
     mp3)
-        mpg123 -vtn1 "${MC_EXT_FILENAME}" 2>&1 | \
-            sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p'
+        if type -p mpg123 ; then
+            mpg123 -vtn1 "${MC_EXT_FILENAME}" 2>&1 | \
+                sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p'
+            return 0
+        fi
         ;;
     ogg)
-        ogginfo "${MC_EXT_FILENAME}"
+        type -p ogginfo && ogginfo "${MC_EXT_FILENAME}" && return 0
         ;;
     wma)
         mplayer -quiet -slave -frames 0 -vo null -ao null -identify 
"${MC_EXT_FILENAME}" 2>/dev/null | \
             tail +13 || file "${MC_EXT_FILENAME}"
-        ;;
-    *)
-        cat "${MC_EXT_FILENAME}"
+        return $?
         ;;
     esac
+
+    mplayer -identify -vo null -ao null -frames 0 "${MC_EXT_FILENAME}" 2>&1 | 
sed -n '/^ID_/p'
 }
 
 do_open_action() {
++++++ mc-extd-video.patch ++++++
--- misc/ext.d/video.sh.orig    2012-12-27 12:13:20.000000000 +0400
+++ misc/ext.d/video.sh 2013-03-09 12:29:54.845011661 +0400
@@ -6,7 +6,18 @@
 action=$1
 filetype=$2
 
-[ -n "${MC_XDG_OPEN}" ] || MC_XDG_OPEN="xdg-open"
+[ -n "${MC_XDG_OPEN}" ] || MC_XDG_OPEN="_xdg_open"
+
+_xdg_open()
+{
+    if [ -n "$DISPLAY" ] && type -p gmplayer ; then
+        gmplayer "${MC_EXT_FILENAME}"
+    elif type -p mplayer ; then
+        mplayer "${MC_EXT_FILENAME}"
+    else
+        xdg-open "${MC_EXT_FILENAME}"
+    fi
+}
 
 do_view_action() {
     filetype=$1
@@ -13,8 +13,14 @@
 
     case "${filetype}" in
     *)
-        mplayer -identify -vo null -ao null -frames 0 "${MC_EXT_FILENAME}" 
2>&1 | \
-            sed -n 's/^ID_//p'
+        if type -p mediainfo >/dev/null 2>&1 ; then
+            mediainfo "${MC_EXT_FILENAME}"
+        elif type -p mplayer >/dev/null 2>&1 ; then
+            mplayer -identify -vo null -ao null -frames 0 "${MC_EXT_FILENAME}" 
2>&1 | \
+                sed -n 's/^ID_//p'
+        else
+            file "${MC_EXT_FILENAME}"
+        fi
         ;;
     esac
 }
++++++ mc-extd-xdg.patch ++++++
diff -ru1 misc/ext.d.orig/archive.sh misc/ext.d/archive.sh
--- misc/ext.d.orig/archive.sh  2012-12-27 12:13:20.000000000 +0400
+++ misc/ext.d/archive.sh       2013-03-10 09:01:31.154705008 +0400
@@ -145,3 +145,3 @@
 open)
-    "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
+    [ -n "$DISPLAY" ] && "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
         do_open_action "${filetype}" "${pager}"
diff -ru1 misc/ext.d.orig/doc.sh.in misc/ext.d/doc.sh.in
--- misc/ext.d.orig/doc.sh.in   2012-12-27 12:13:20.000000000 +0400
+++ misc/ext.d/doc.sh.in        2013-03-10 09:01:48.230710602 +0400
@@ -189,3 +189,3 @@
 open)
-    "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
+    [ -n "$DISPLAY" ] && "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
         do_open_action "${filetype}"
diff -ru1 misc/ext.d.orig/image.sh misc/ext.d/image.sh
--- misc/ext.d.orig/image.sh    2012-12-27 12:13:20.000000000 +0400
+++ misc/ext.d/image.sh 2013-03-10 09:02:00.086714848 +0400
@@ -56,3 +56,3 @@
 open)
-    "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
+    [ -n "$DISPLAY" ] && "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
         do_open_action "${filetype}"
diff -ru1 misc/ext.d.orig/misc.sh.in misc/ext.d/misc.sh.in
--- misc/ext.d.orig/misc.sh.in  2012-12-27 12:13:20.000000000 +0400
+++ misc/ext.d/misc.sh.in       2013-03-10 09:02:13.470718625 +0400
@@ -90,3 +90,3 @@
 open)
-    "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
+    [ -n "$DISPLAY" ] && "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
         do_open_action "${filetype}"
diff -ru1 misc/ext.d.orig/package.sh misc/ext.d/package.sh
--- misc/ext.d.orig/package.sh  2012-12-27 12:13:20.000000000 +0400
+++ misc/ext.d/package.sh       2013-03-10 09:02:23.630723087 +0400
@@ -53,3 +53,3 @@
 open)
-    "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
+    [ -n "$DISPLAY" ] && "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
         do_open_action "${filetype}"
diff -ru1 misc/ext.d.orig/sound.sh misc/ext.d/sound.sh
--- misc/ext.d.orig/sound.sh    2012-12-27 12:13:20.000000000 +0400
+++ misc/ext.d/sound.sh 2013-03-10 09:02:31.222725342 +0400
@@ -86,3 +86,3 @@
 open)
-    "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
+    [ -n "$DISPLAY" ] && "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
         do_open_action "${filetype}"
diff -ru1 misc/ext.d.orig/text.sh.in misc/ext.d/text.sh.in
--- misc/ext.d.orig/text.sh.in  2012-12-27 12:13:20.000000000 +0400
+++ misc/ext.d/text.sh.in       2013-03-10 09:02:39.018727707 +0400
@@ -135,3 +135,3 @@
 open)
-    "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
+    [ -n "$DISPLAY" ] && "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
         do_open_action "${filetype}" "${pager}"
diff -ru1 misc/ext.d.orig/video.sh misc/ext.d/video.sh
--- misc/ext.d.orig/video.sh    2012-12-27 12:13:20.000000000 +0400
+++ misc/ext.d/video.sh 2013-03-10 09:02:48.414731630 +0400
@@ -45,3 +45,3 @@
 open)
-    "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
+    [ -n "$DISPLAY" ] && "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
         do_open_action "${filetype}"
diff -ru1 misc/ext.d.orig/web.sh.in misc/ext.d/web.sh.in
--- misc/ext.d.orig/web.sh.in   2012-12-27 12:13:20.000000000 +0400
+++ misc/ext.d/web.sh.in        2013-03-10 09:02:56.670734093 +0400
@@ -48,3 +48,3 @@
 open)
-    "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
+    [ -n "$DISPLAY" ] && "${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" 2>/dev/null || \
         do_open_action "${filetype}"
++++++ mc-multi-press-f-keys.patch ++++++
--- /var/tmp/diff_new_pack.BVdvZ0/_old  2013-07-19 11:14:12.000000000 +0200
+++ /var/tmp/diff_new_pack.BVdvZ0/_new  2013-07-19 11:14:12.000000000 +0200
@@ -34,15 +34,15 @@
      if (!mc_global.tty.alternate_plus_minus)
          switch (c)
          {
-@@ -1724,7 +1737,7 @@ get_key_code (int no_delay)
-                 {
-                     /* Convert escape-digits to F-keys */
-                     if (g_ascii_isdigit (c))
--                        c = KEY_F (c - '0');
-+                        c = KEY_F_IMMUTABLE (c - '0');
-                     else if (c == ' ')
-                         c = ESC_CHAR;
-                     else
+@@ -1928,7 +1928,7 @@ get_key_code (int no_delay)
+         {
+             /* Convert escape-digits to F-keys */
+             if (g_ascii_isdigit (c))
+-                c = KEY_F (c - '0');
++                c = KEY_F_IMMUTABLE (c - '0');
+             else if (c == ' ')
+                 c = ESC_CHAR;
+             else
 Index: lib/tty/tty-slang.h
 ===================================================================
 --- lib/tty/tty-slang.h.orig

++++++ mc-rpm.patch ++++++
--- /var/tmp/diff_new_pack.BVdvZ0/_old  2013-07-19 11:14:12.000000000 +0200
+++ /var/tmp/diff_new_pack.BVdvZ0/_new  2013-07-19 11:14:12.000000000 +0200
@@ -18,14 +18,14 @@
      echo "$FILEPREF 0 $DATE INFO/EPOCH"
      echo "$FILEPREF 0 $DATE INFO/LICENSE"
      echo "$FILEPREF 0 $DATE INFO/REQUIRENAME"
-+      echo "$FILEPREF 0 $DATE INFO/ENHANCES"
-+      echo "$FILEPREF 0 $DATE INFO/SUGGESTS"
++    echo "$FILEPREF 0 $DATE INFO/ENHANCES"
++    echo "$FILEPREF 0 $DATE INFO/SUGGESTS"
      echo "$FILEPREF 0 $DATE INFO/OBSOLETES"
      echo "$FILEPREF 0 $DATE INFO/PROVIDES"
-+      echo "$FILEPREF 0 $DATE INFO/ENHANCES"
-+      echo "$FILEPREF 0 $DATE INFO/SUGGESTS"
-+      echo "$FILEPREF 0 $DATE INFO/RECOMMENDS"
-+      echo "$FILEPREF 0 $DATE INFO/SUPPLEMENTS"
++    echo "$FILEPREF 0 $DATE INFO/ENHANCES"
++    echo "$FILEPREF 0 $DATE INFO/SUGGESTS"
++    echo "$FILEPREF 0 $DATE INFO/RECOMMENDS"
++    echo "$FILEPREF 0 $DATE INFO/SUPPLEMENTS"
      echo "$FILEPREF 0 $DATE INFO/CONFLICTS"
      echo "$FILEPREF 0 $DATE INFO/CHANGELOG"
  }


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

Reply via email to