Marcus Meissner
98b2ad1ede
- Update to 4.8.31 - Core * Minimal version of GLib is 2.32.0. - VFS * fish: drop support of native FISH server and protocol. Rename VFS to shell (#4232) * extfs; - uc1541 extfs: update up to 3.6 version (#4511) - s3+: port to Python3 (#4324) * Support for LZO/LZOP compression format (#4509) - Misc * Skins: add color for non-printable characters in editor (#4433) - Fixes * FTBFS on FreeBSD with ext2fs attribute support (#4493) * Broken stickchars (-a) mode (#4498) * Wrong timestamp after resuming of file copy operation (#4499) * Editor: wrong deletion of marked column (#3761) * Diff viewer: segfault when display of line numbers is enabled (#4500) * Tar VFS: broken handling of hard links (#4494) * Sftp VFS: failure establishing SSH session due hashed host names in ~/.ssh/known_hosts (#4506) * Shell VFS: incorrect file names with cyrillic or diacritic symbols (#4507) * mc.ext.ini: incorrect description of of how multiple sections and keys with same names are processed (#4497) * mc.ext.ini: unescaped backslash \ is treated as invalid escape sequence in glib-2.77.3 and glib-2.79 (#4502) * mc.ext.ini: file "Makefile.zip" is handled as Makefile not as zip-arhive (#4419) - Rebase mc-ext-audio.patch, mc-extd-xdg.patch and mc-vfs-fish-deleted_source_file.patch OBS-URL: https://build.opensuse.org/request/show/1142182 OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=152
118 lines
3.8 KiB
Diff
118 lines
3.8 KiB
Diff
Index: misc/ext.d/archive.sh
|
|
===================================================================
|
|
--- misc/ext.d/archive.sh.orig
|
|
+++ misc/ext.d/archive.sh
|
|
@@ -210,7 +210,7 @@ view)
|
|
do_view_action "${filetype}"
|
|
;;
|
|
open)
|
|
- ("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
|
+ test -n "$DISPLAY" && ("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
|
do_open_action "${filetype}" "${pager}"
|
|
;;
|
|
*)
|
|
Index: misc/ext.d/doc.sh.in
|
|
===================================================================
|
|
--- misc/ext.d/doc.sh.in.orig
|
|
+++ misc/ext.d/doc.sh.in
|
|
@@ -210,7 +210,7 @@ view)
|
|
do_view_action "${filetype}"
|
|
;;
|
|
open)
|
|
- ("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
|
+ test -n "$DISPLAY" && ("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
|
do_open_action "${filetype}"
|
|
;;
|
|
*)
|
|
Index: misc/ext.d/image.sh
|
|
===================================================================
|
|
--- misc/ext.d/image.sh.orig
|
|
+++ misc/ext.d/image.sh
|
|
@@ -64,7 +64,7 @@ view)
|
|
do_view_action "${filetype}"
|
|
;;
|
|
open)
|
|
- ("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
|
+ test -n "$DISPLAY" && ("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
|
do_open_action "${filetype}"
|
|
;;
|
|
*)
|
|
Index: misc/ext.d/misc.sh.in
|
|
===================================================================
|
|
--- misc/ext.d/misc.sh.in.orig
|
|
+++ misc/ext.d/misc.sh.in
|
|
@@ -102,7 +102,7 @@ view)
|
|
do_view_action "${filetype}"
|
|
;;
|
|
open)
|
|
- ("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
|
+ test -n "$DISPLAY" && ("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
|
do_open_action "${filetype}"
|
|
;;
|
|
*)
|
|
Index: misc/ext.d/package.sh
|
|
===================================================================
|
|
--- misc/ext.d/package.sh.orig
|
|
+++ misc/ext.d/package.sh
|
|
@@ -51,7 +51,7 @@ view)
|
|
do_view_action "${filetype}"
|
|
;;
|
|
open)
|
|
- ("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
|
+ test -n "$DISPLAY" && ("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
|
do_open_action "${filetype}"
|
|
;;
|
|
*)
|
|
Index: misc/ext.d/sound.sh
|
|
===================================================================
|
|
--- misc/ext.d/sound.sh.orig
|
|
+++ misc/ext.d/sound.sh
|
|
@@ -116,7 +116,7 @@ view)
|
|
do_view_action "${filetype}"
|
|
;;
|
|
open)
|
|
- ("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
|
+ test -n "$DISPLAY" && ("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
|
do_open_action "${filetype}"
|
|
;;
|
|
*)
|
|
Index: misc/ext.d/text.sh.in
|
|
===================================================================
|
|
--- misc/ext.d/text.sh.in.orig
|
|
+++ misc/ext.d/text.sh.in
|
|
@@ -147,7 +147,7 @@ view)
|
|
do_view_action "${filetype}"
|
|
;;
|
|
open)
|
|
- ("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
|
+ test -n "$DISPLAY" && ("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
|
do_open_action "${filetype}" "${pager}"
|
|
;;
|
|
*)
|
|
Index: misc/ext.d/video.sh
|
|
===================================================================
|
|
--- misc/ext.d/video.sh.orig
|
|
+++ misc/ext.d/video.sh
|
|
@@ -66,7 +66,7 @@ view)
|
|
do_view_action "${filetype}"
|
|
;;
|
|
open)
|
|
- ("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
|
+ test -n "$DISPLAY" && ("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
|
do_open_action "${filetype}"
|
|
;;
|
|
*)
|
|
Index: misc/ext.d/web.sh.in
|
|
===================================================================
|
|
--- misc/ext.d/web.sh.in.orig
|
|
+++ misc/ext.d/web.sh.in
|
|
@@ -47,7 +47,7 @@ view)
|
|
do_view_action "${filetype}"
|
|
;;
|
|
open)
|
|
- ("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
|
+ test -n "$DISPLAY" && ("${MC_XDG_OPEN}" "${MC_EXT_FILENAME}" >/dev/null 2>&1) || \
|
|
do_open_action "${filetype}"
|
|
;;
|
|
*)
|