From f1b234770fb2726b3faeed720f7b78b1266f4225d927b26740c45987b5a83a4a Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Thu, 5 Dec 2024 17:21:00 +0000 Subject: [PATCH] - Add mc-ext-obscpio.patch making mc handle SUSE *.obscpio archives (bsc#1233006). OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=164 --- .gitattributes | 23 + .gitignore | 1 + 20_wrong_path_to_wrappers.patch | 26 + 4258-fish-subshell-prompt.patch | 15 + 4575-fix-wrapper.patch | 97 ++ cmake.syntax | 499 ++++++ mc-4.8.31.sha256 | 2 + mc-4.8.31.tar.xz | 3 + mc-4.8.32.sha256 | 2 + mc-4.8.32.tar.xz | 3 + mc-esc-seq.patch | 15 + mc-ext-audio.patch | 63 + mc-ext-obscpio.patch | 43 + mc-extd-doc.patch | 24 + mc-extd-misc.patch | 21 + mc-extd-sound.patch | 67 + mc-extd-video.patch | 36 + mc-extd-xdg.patch | 111 ++ mc-extfs-helpers-deb.patch | 43 + mc-extfs-iso9660-xorriso.patch | 16 + mc-f-keys.patch | 18 + mc-fix_lib_search_path.patch | 32 + mc-multi-press-f-keys.patch | 59 + mc-pie.patch | 14 + mc-vfs-fish-deleted_source_file.patch | 50 + mc-wrapper.patch | 34 + mc.changes | 2160 +++++++++++++++++++++++++ mc.desktop | 8 + mc.fish | 25 + mc.png | 3 + mc.spec | 237 +++ x11_browser | 66 + xls2csv_update.patch | 19 + 33 files changed, 3835 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 20_wrong_path_to_wrappers.patch create mode 100644 4258-fish-subshell-prompt.patch create mode 100644 4575-fix-wrapper.patch create mode 100644 cmake.syntax create mode 100644 mc-4.8.31.sha256 create mode 100644 mc-4.8.31.tar.xz create mode 100644 mc-4.8.32.sha256 create mode 100644 mc-4.8.32.tar.xz create mode 100644 mc-esc-seq.patch create mode 100644 mc-ext-audio.patch create mode 100644 mc-ext-obscpio.patch create mode 100644 mc-extd-doc.patch create mode 100644 mc-extd-misc.patch create mode 100644 mc-extd-sound.patch create mode 100644 mc-extd-video.patch create mode 100644 mc-extd-xdg.patch create mode 100644 mc-extfs-helpers-deb.patch create mode 100644 mc-extfs-iso9660-xorriso.patch create mode 100644 mc-f-keys.patch create mode 100644 mc-fix_lib_search_path.patch create mode 100644 mc-multi-press-f-keys.patch create mode 100644 mc-pie.patch create mode 100644 mc-vfs-fish-deleted_source_file.patch create mode 100644 mc-wrapper.patch create mode 100644 mc.changes create mode 100644 mc.desktop create mode 100644 mc.fish create mode 100644 mc.png create mode 100644 mc.spec create mode 100644 x11_browser create mode 100644 xls2csv_update.patch diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/20_wrong_path_to_wrappers.patch b/20_wrong_path_to_wrappers.patch new file mode 100644 index 0000000..8e15c96 --- /dev/null +++ b/20_wrong_path_to_wrappers.patch @@ -0,0 +1,26 @@ +Description: Fix wrong path to the wrapper script +Bug-Debian: http://bugs.debian.org/540238 +Author: Denis Briand +Author: Jindřich Makovička + +--- + contrib/Makefile.am | 2 +- + contrib/mc.csh.in | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +--- a/contrib/Makefile.am ++++ b/contrib/Makefile.am +@@ -5,7 +5,7 @@ SCRIPTS_IN = mc.csh.in mc.sh.in mc-wrapp + SCRIPTS_OUT = mc.csh mc.sh mc-wrapper.csh mc-wrapper.sh + + pkglibexec_SCRIPTS = $(SCRIPTS_OUT) +-pkglibexecdir = $(libexecdir)/@PACKAGE@ ++pkglibexecdir = $(datadir)/@PACKAGE@ + + cfgdir = $(sysconfdir)/@PACKAGE@ + cfg_DATA = \ +--- a/contrib/mc.csh.in ++++ b/contrib/mc.csh.in +@@ -1 +1 @@ +-alias mc 'source @pkglibexecdir@/mc-wrapper.csh' ++alias mc 'source @datadir@/mc/mc-wrapper.csh' diff --git a/4258-fish-subshell-prompt.patch b/4258-fish-subshell-prompt.patch new file mode 100644 index 0000000..da43174 --- /dev/null +++ b/4258-fish-subshell-prompt.patch @@ -0,0 +1,15 @@ +--- + src/subshell/common.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/src/subshell/common.c ++++ b/src/subshell/common.c +@@ -715,7 +715,7 @@ parse_subshell_prompt_string (const char + + /* Extract the prompt from the shell output */ + for (i = 0; i < bytes; i++) +- if (buffer[i] == '\n' || buffer[i] == '\r') ++ if (buffer[i] == '\n') + g_string_set_size (subshell_prompt_temp_buffer, 0); + else if (buffer[i] != '\0') + g_string_append_c (subshell_prompt_temp_buffer, buffer[i]); diff --git a/4575-fix-wrapper.patch b/4575-fix-wrapper.patch new file mode 100644 index 0000000..c683647 --- /dev/null +++ b/4575-fix-wrapper.patch @@ -0,0 +1,97 @@ +From e2d96fa802abebf888dcc2cc938cfd06abca8eb0 Mon Sep 17 00:00:00 2001 +From: "Yury V. Zaytsev" +Date: Sun, 1 Sep 2024 12:01:37 +0200 +Subject: [PATCH] Ticket #4575: adjust mc-wrapper to fit changes in #4535. + +Signed-off-by: Yury V. Zaytsev +--- + contrib/mc-wrapper.csh.in | 13 ++++++------- + contrib/mc-wrapper.sh.in | 13 +++++++++---- + 2 files changed, 15 insertions(+), 11 deletions(-) + +diff --git a/contrib/mc-wrapper.csh.in b/contrib/mc-wrapper.csh.in +index 1eca8e7b71..1b00491bc4 100644 +--- a/contrib/mc-wrapper.csh.in ++++ b/contrib/mc-wrapper.csh.in +@@ -1,9 +1,9 @@ +-set MC_USER=`whoami` +- +-if ($?TMPDIR) then +- setenv MC_PWD_FILE $TMPDIR/mc-$MC_USER/mc.pwd.$$ ++if ($?MC_TMPDIR) then ++ setenv MC_PWD_FILE "`mktemp '$MC_TMPDIR/mc.pwd.XXXXXX'`" ++else if ($?TMPDIR) then ++ setenv MC_PWD_FILE "`mktemp '$TMPDIR/mc.pwd.XXXXXX'`" + else +- setenv MC_PWD_FILE /tmp/mc-$MC_USER/mc.pwd.$$ ++ setenv MC_PWD_FILE "`mktemp '/tmp/mc.pwd.XXXXXX'`" + endif + + @bindir@/mc -P "$MC_PWD_FILE" $* +@@ -11,11 +11,10 @@ endif + if (-r "$MC_PWD_FILE") then + setenv MC_PWD "`cat '$MC_PWD_FILE'`" + if ("$MC_PWD" != "$cwd" && -d "$MC_PWD") then +- cd "$MC_PWD" ++ cd "$MC_PWD" || true + endif + unsetenv MC_PWD + endif + + rm -f "$MC_PWD_FILE" + unsetenv MC_PWD_FILE +-unsetenv MC_USER +diff --git a/contrib/mc-wrapper.sh.in b/contrib/mc-wrapper.sh.in +index 3905be4800..3d929b3485 100644 +--- a/contrib/mc-wrapper.sh.in ++++ b/contrib/mc-wrapper.sh.in +@@ -1,15 +1,20 @@ +-MC_USER=`whoami` +-MC_PWD_FILE="${TMPDIR-/tmp}/mc-$MC_USER/mc.pwd.$$" ++if test -n "$MC_TMPDIR"; then ++ MC_PWD_FILE="`mktemp "${MC_TMPDIR}/mc.pwd.XXXXXX"`" ++elif test -n "$TMPDIR"; then ++ MC_PWD_FILE="`mktemp "${TMPDIR}/mc.pwd.XXXXXX"`" ++else ++ MC_PWD_FILE="`mktemp "/tmp/mc.pwd.XXXXXX"`" ++fi ++ + @bindir@/mc -P "$MC_PWD_FILE" "$@" + + if test -r "$MC_PWD_FILE"; then + MC_PWD="`cat "$MC_PWD_FILE"`" + if test -n "$MC_PWD" && test "$MC_PWD" != "$PWD" && test -d "$MC_PWD"; then +- cd "$MC_PWD" ++ cd "$MC_PWD" || true + fi + unset MC_PWD + fi + + rm -f "$MC_PWD_FILE" + unset MC_PWD_FILE +-unset MC_USER +From d081bc68aa6ad3ded515ea490118b0a38a1ec204 Mon Sep 17 00:00:00 2001 +From: "Yury V. Zaytsev" +Date: Mon, 2 Sep 2024 16:51:17 +0200 +Subject: [PATCH] main: remove `O_EXCL` for wd-file since creation is now + managed by wrapper + +Signed-off-by: Yury V. Zaytsev +--- + src/main.c | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/src/main.c b/src/main.c +index 803cec146e..02a49ba20e 100644 +--- a/src/main.c ++++ b/src/main.c +@@ -509,8 +509,7 @@ main (int argc, char *argv[]) + { + int last_wd_fd; + +- last_wd_fd = open (mc_args__last_wd_file, O_WRONLY | O_CREAT | O_TRUNC | O_EXCL, +- S_IRUSR | S_IWUSR); ++ last_wd_fd = open (mc_args__last_wd_file, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); + if (last_wd_fd != -1) + { + ssize_t ret1; diff --git a/cmake.syntax b/cmake.syntax new file mode 100644 index 0000000..1ee7941 --- /dev/null +++ b/cmake.syntax @@ -0,0 +1,499 @@ +# CMake syntax +# Author: Henrik Pauli +# Author: Emil Biserov + +caseinsensitive + +context default + keyword \( brightcyan + keyword \) brightcyan + +### Commands ################################################################## + keyword whole add_custom_command yellow + keyword whole add_custom_target yellow + keyword whole add_definitions yellow + keyword whole add_dependencies yellow + keyword whole add_executable yellow + keyword whole add_library yellow + keyword whole add_subdirectory yellow + keyword whole add_test yellow + keyword whole aux_source_directory yellow + keyword whole break magenta + keyword whole build_command yellow + keyword whole cmake_minimum_required yellow + keyword whole cmake_policy yellow + keyword whole configure_file yellow + keyword whole create_test_sourcelist yellow + keyword whole define_property yellow + keyword whole else magenta + keyword whole elseif magenta + keyword whole enable_language yellow + keyword whole enable_testing yellow + keyword whole endforeach magenta + keyword whole endfunction magenta + keyword whole endif magenta + keyword whole endmacro magenta + keyword whole endwhile magenta + keyword whole execute_process yellow + keyword whole export yellow + keyword whole file yellow + keyword whole find_file yellow + keyword whole find_library yellow + keyword whole find_package yellow + keyword whole find_path yellow + keyword whole find_program yellow + keyword whole fltk_wrap_ui yellow + keyword whole foreach magenta + keyword whole function magenta + keyword whole get_cmake_property yellow + keyword whole get_directory_property yellow + keyword whole get_filename_component yellow + keyword whole get_property yellow + keyword whole get_source_file_property yellow + keyword whole get_target_property yellow + keyword whole get_test_property yellow + keyword whole if magenta + keyword whole include yellow + keyword whole include_directories yellow + keyword whole include_external_msproject yellow + keyword whole include_regular_expression yellow + keyword whole install yellow + keyword whole link_directories yellow + keyword whole list yellow + keyword whole load_cache yellow + keyword whole load_command yellow + keyword whole macro magenta + keyword whole mark_as_advanced yellow + keyword whole math yellow + keyword whole message yellow + keyword whole option yellow + keyword whole project yellow + keyword whole qt_wrap_cpp yellow + keyword whole qt_wrap_ui yellow + keyword whole remove_definitions yellow + keyword whole return yellow + keyword whole separate_arguments yellow + keyword whole set yellow + keyword whole set_directory_properties yellow + keyword whole set_property yellow + keyword whole set_source_files_properties yellow + keyword whole set_target_properties yellow + keyword whole set_tests_properties yellow + keyword whole site_name yellow + keyword whole source_group yellow + keyword whole string yellow + keyword whole target_link_libraries yellow + keyword whole try_compile yellow + keyword whole try_run yellow + keyword whole unset yellow + keyword whole variable_watch yellow + keyword whole while magenta +############################################################################### + + keyword ${\[^}\]+} brightgreen + +# keyword whole cpack_+ yellow +# keyword whole get_+ yellow +# keyword whole set_+ yellow +# keyword whole target_+ yellow +# keyword whole find_+ yellow +# keyword whole file_+ yellow +# keyword whole configure_+ yellow +# keyword whole install yellow +# keyword whole qt4_+ yellow + + keyword whole ON brightcyan + keyword whole OFF brightcyan + keyword whole TRUE brightcyan + keyword whole FALSE brightcyan + +############################################################################### + +###context exclusive add_custom_command\( \) + keyword whole OUTPUT white + keyword whole COMMAND white + keyword whole MAIN_DEPENDENCY white + keyword whole DEPENDS white + keyword whole IMPLICIT_DEPENDS white + keyword whole WORKING_DIRECTORY white + keyword whole COMMENT white + keyword whole VERBATIM white + keyword whole APPEND white + +###context exclusive add_custom_target\( \) + keyword whole ALL white + keyword whole COMMAND white + keyword whole DEPENDS white + keyword whole WORKING_DIRECTORY white + keyword whole COMMENT white + keyword whole VERBATIM white + keyword whole SOURCES white + +###context exclusive add_executable\( \) + keyword whole WIN32 white + keyword whole MACOSX_BUNDLE white + keyword whole EXCLUDE_FROM_ALL white + + keyword whole IMPORTED white + keyword whole GLOBAL white + +###context exclusive add_library\( \) + keyword whole STATIC white + keyword whole SHARED white + keyword whole MODULE white + keyword whole EXCLUDE_FROM_ALL white + + keyword whole UNKNOWN white + keyword whole IMPORTED white + keyword whole GLOBAL white + + keyword whole OBJECT white + +###context exclusive add_subdirectory\( \) + keyword whole EXCLUDE_FROM_ALL white + +### context exclusive add_test\( \) + keyword whole NAME white + keyword whole CONFIGURATIONS white + keyword whole WORKING_DIRECTORY white + keyword whole COMMAND white + +# build_command +# cmake_minimum_required +# cmake_policy + +### context exclusive configure_file\( \) + keyword whole COPYONLY white + keyword whole ESCAPE_QUOTES white + keyword whole @ONLY white + keyword whole NEWLINE_STYLE white + keyword whole UNIX white + keyword whole DOS white + keyword whole WIN32 white + keyword whole LF white + keyword whole CRLF white + +# create_test_sourcelist + +### context exclusive define_property\( \) + keyword whole GLOBAL white + keyword whole DIRECTORY white + keyword whole TARGET white + keyword whole SOURCE white + keyword whole TEST white + keyword whole VARIABLE white + keyword whole CACHED_VARIABLE white + keyword whole PROPERTY white + keyword whole INHERITED white + keyword whole BRIEF_DOCS white + keyword whole FULL_DOCS white + +### context exclusive enable_language\( \) + keyword whole OPTIONAL white + +### context exclusive execute_process\( \) + keyword whole COMMAND white + keyword whole WORKING_DIRECTORY white + keyword whole TIMEOUT white + keyword whole RESULT_VARIABLE white + keyword whole OUTPUT_VARIABLE white + keyword whole ERROR_VARIABLE white + keyword whole INPUT_FILE white + keyword whole OUTPUT_FILE white + keyword whole ERROR_FILE white + keyword whole OUTPUT_QUIET white + keyword whole ERROR_QUIET white + keyword whole OUTPUT_STRIP_TRAILING_WHITESPACE white + keyword whole ERROR_STRIP_TRAILING_WHITESPACE white + +### context exclusive export\( \) + keyword whole TARGETS white + keyword whole NAMESPACE white + keyword whole APPEND white + keyword whole FILE white + +### context exclusive file\( \) + keyword whole WRITE white + keyword whole APPEND white + keyword whole READ white + keyword whole LIMIT white + keyword whole OFFSET white + keyword whole HEX white + + keyword whole MD5 white + keyword whole SHA1 white + keyword whole SHA224 white + keyword whole SHA256 white + keyword whole SHA384 white + keyword whole SHA512 white + + keyword whole STRINGS white + keyword whole LIMIT_COUNT white + keyword whole LIMIT_INPUT white + keyword whole LIMIT_OUTPUT white + keyword whole LENGTH_MINIMUM white + keyword whole LENGTH_MAXIMUM white + keyword whole NEWLINE_CONSUME white + keyword whole REGEX white + keyword whole NO_HEX_CONVERSION white + + keyword whole GLOB white + keyword whole GLOB_RECURSE white + keyword whole RELATIVE white + keyword whole FOLLOW_SYMLINKS white + + keyword whole RENAME white + keyword whole REMOVE white + keyword whole REMOVE_RECURSE white + keyword whole MAKE_DIRECTORY white + keyword whole RELATIVE_PATH white + keyword whole TO_CMAKE_PATH white + keyword whole TO_NATIVE_PATH white + + keyword whole DOWNLOAD white + keyword whole INACTIVITY_TIMEOUT white + keyword whole TIMEOUT white + keyword whole STATUS white + keyword whole LOG white + keyword whole SHOW_PROGRESS white + keyword whole EXPECTED_MD5 white + keyword whole UPLOAD white + + keyword whole COPY white + keyword whole INSTALL white + keyword whole DESTINATION white + keyword whole FILE_PERMISSIONS white + keyword whole DIRECTORY_PERMISSIONS white + keyword whole NO_SOURCE_PERMISSIONS white + keyword whole USE_SOURCE_PERMISSIONS white + keyword whole FILES_MATCHING white + keyword whole PATTERN white + keyword whole REGEX white + keyword whole EXCLUDE white + keyword whole PERMISSIONS white + +# find_file +# find_library +# find_package +# find_path +# find_program +# fltk_wrap_ui +# get_cmake_property +# get_directory_property + +### context exclusive get_filename_component\( \) + keyword whole PATH white + keyword whole ABSOLUTE white + keyword whole NAME white + keyword whole EXT white + keyword whole NAME_WE white + keyword whole REALPATH white + keyword whole CACHE white + + keyword whole PROGRAM white + keyword whole PROGRAM_ARGS white + +# get_property +# get_source_file_property +# get_target_property +# get_test_property + +### context exclusive if\( \) + keyword whole NOT brightcyan + keyword whole AND brightcyan + keyword whole OR brightcyan + keyword whole COMMAND brightcyan + keyword whole POLICY brightcyan + keyword whole TARGET brightcyan + keyword whole EXISTS brightcyan + + keyword whole IS_NEWER_THAN brightcyan + keyword whole IS_DIRECTORY brightcyan + keyword whole IS_SYMLINK brightcyan + keyword whole IS_ABSOLUTE brightcyan + + keyword whole MATCHES brightcyan + + keyword whole LESS brightcyan + keyword whole GREATER brightcyan + keyword whole EQUAL brightcyan + + keyword whole STRLESS brightcyan + keyword whole STRGREATER brightcyan + keyword whole STREQUAL brightcyan + + keyword whole VERSION_LESS brightcyan + keyword whole VERSION_EQUAL brightcyan + keyword whole VERSION_GREATER brightcyan + + keyword whole DEFINED brightcyan + +### context exclusive include\( \) + keyword whole OPTIONAL white + keyword whole RESULT_VARIABLE white + keyword whole NO_POLICY_SCOPE white + +# include_directories +# include_external_msproject +# include_regular_expression + +###context exclusive install\( \) + keyword whole TARGETS white + keyword whole EXPORT white + keyword whole ARCHIVE white + keyword whole LIBRARY white + keyword whole RUNTIME white + keyword whole FRAMEWORK white + keyword whole BUNDLE white + keyword whole PRIVATE_HEADER white + keyword whole PUBLIC_HEADER white + keyword whole RESOURCE white + keyword whole DESTINATION white + keyword whole PERMISSIONS white + keyword whole CONFIGURATIONS white + keyword whole COMPONENT white + keyword whole OPTIONAL white + keyword whole NAMELINK_ONLY white + keyword whole NAMELINK_SKIP white + + keyword whole FILES white + keyword whole DESTINATION white + keyword whole PERMISSIONS white + keyword whole CONFIGURATIONS white + keyword whole COMPONENT white + keyword whole RENAME white + keyword whole OPTIONAL white + + keyword whole OWNER_READ brightcyan + keyword whole OWNER_WRITE brightcyan + keyword whole OWNER_EXECUTE brightcyan + keyword whole GROUP_READ brightcyan + keyword whole GROUP_WRITE brightcyan + keyword whole GROUP_EXECUTE brightcyan + keyword whole WORLD_READ brightcyan + keyword whole WORLD_WRITE brightcyan + keyword whole WORLD_EXECUTE brightcyan + keyword whole SETUID brightcyan + keyword whole SETGID brightcyan +### FIXME: !!! install unfinished !!! + +# link_directories + +###context exclusive list\( \) + keyword whole LENGTH white + keyword whole GET white + keyword whole APPEND white + keyword whole FIND white + keyword whole INSERT white + keyword whole REMOVE_ITEM white + keyword whole REMOVE_AT white + keyword whole REMOVE_DUPLICATES white + keyword whole REVERSE white + keyword whole SORT white + +# load_cache +# load_command + +### context exclusive mark_as_advanced\( \) + keyword whole CLEAR white + keyword whole FORCE white + +### context exclusive math\( \) + keyword whole EXPR white + +### context exclusive message\( \) + keyword whole STATUS white + keyword whole WARNING white + keyword whole AUTHOR_WARNING white + keyword whole FATAL_ERROR white + keyword whole SEND_ERROR white + +# qt_wrap_cpp +# qt_wrap_ui +# remove_definitions +# separate_arguments + +### context exclusive set\( \) + keyword whole CACHE white + keyword whole FORCE white + keyword whole PARENT_SCOPE white + +# types + keyword whole FILEPATH cyan + keyword whole PATH cyan + keyword whole STRING cyan + keyword whole BOOL cyan + keyword whole INTERNAL cyan + +# set_directory_properties +# set_property +# set_source_files_properties +# set_target_properties +# set_tests_properties +# site_name +# source_group + +### context exclusive string\( \) + keyword whole REGEX white + keyword whole MATCH white + keyword whole MATCHALL white + keyword whole REPLACE white + + keyword whole MD5 white + keyword whole SHA1 white + keyword whole SHA224 white + keyword whole SHA256 white + keyword whole SHA384 white + keyword whole SHA512 white + + keyword whole COMPARE white + keyword whole EQUAL white + keyword whole NOTEQUAL white + keyword whole LESS white + keyword whole GREATER white + + keyword whole ASCII white + + keyword whole CONFIGURE white + keyword whole \@ONLY white + keyword whole ESCAPE_QUOTES white + + keyword whole TOUPPER white + keyword whole TOLOWER white + keyword whole LENGTH white + keyword whole SUBSTRING white + keyword whole STRIP white + + keyword whole RANDOM white + keyword whole LENGTH white + keyword whole ALPHABET white + keyword whole RANDOM_SEED white + + keyword whole FIND white + keyword whole REVERSE white + +### context exclusive target_link_libraries\( \) + +### context exclusive try_compile\( \) + keyword whole CMAKE_FLAGS white + keyword whole OUTPUT_VARIABLE white + keyword whole COMPILE_DEFINITIONS white + keyword whole OUTPUT_VARIABLE white + keyword whole COPY_FILE white + +### context exclusive try_run\( \) + keyword whole CMAKE_FLAGS white + keyword whole COMPILE_DEFINITIONS white + keyword whole COMPILE_OUTPUT_VARIABLE white + keyword whole RUN_OUTPUT_VARIABLE white + keyword whole OUTPUT_VARIABLE white + keyword whole ARGS white + +### context exclusive unset\( \) + keyword whole CACHE white + +context # \n brown + +context " " green + keyword ${\[^}\]+} brightgreen + spellcheck diff --git a/mc-4.8.31.sha256 b/mc-4.8.31.sha256 new file mode 100644 index 0000000..bc85b72 --- /dev/null +++ b/mc-4.8.31.sha256 @@ -0,0 +1,2 @@ +f42f4114ed42f6cf9995f1d896fa6c797ccb36dac57760dda8dd9f78ac462841 mc-4.8.31.tar.bz2 +24191cf8667675b8e31fc4a9d18a0a65bdc0598c2c5c4ea092494cd13ab4ab1a mc-4.8.31.tar.xz diff --git a/mc-4.8.31.tar.xz b/mc-4.8.31.tar.xz new file mode 100644 index 0000000..70931ed --- /dev/null +++ b/mc-4.8.31.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:24191cf8667675b8e31fc4a9d18a0a65bdc0598c2c5c4ea092494cd13ab4ab1a +size 2385632 diff --git a/mc-4.8.32.sha256 b/mc-4.8.32.sha256 new file mode 100644 index 0000000..13b0644 --- /dev/null +++ b/mc-4.8.32.sha256 @@ -0,0 +1,2 @@ +51a039ebd15d5e442312a7053a4ca28276b7f241050b7714d5bae5362ecd3319 mc-4.8.32.tar.bz2 +4ddc83d1ede9af2363b3eab987f54b87cf6619324110ce2d3a0e70944d1359fe mc-4.8.32.tar.xz diff --git a/mc-4.8.32.tar.xz b/mc-4.8.32.tar.xz new file mode 100644 index 0000000..b5f3dc2 --- /dev/null +++ b/mc-4.8.32.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4ddc83d1ede9af2363b3eab987f54b87cf6619324110ce2d3a0e70944d1359fe +size 2385648 diff --git a/mc-esc-seq.patch b/mc-esc-seq.patch new file mode 100644 index 0000000..ce7c93f --- /dev/null +++ b/mc-esc-seq.patch @@ -0,0 +1,15 @@ +--- + lib/util.c | 2 ++ + 1 file changed, 2 insertions(+) + +--- a/lib/util.c ++++ b/lib/util.c +@@ -762,6 +762,8 @@ strip_ctrl_codes (char *s) + while (*(++r) != '\0' && strchr ("0123456789;:?", *r) != NULL) + ; + } ++ else if (*r == '(') ++ r++; + else if (*r == ']') + { + /* diff --git a/mc-ext-audio.patch b/mc-ext-audio.patch new file mode 100644 index 0000000..ce98057 --- /dev/null +++ b/mc-ext-audio.patch @@ -0,0 +1,63 @@ +--- + misc/mc.ext.ini.in | 13 ++++++++++++- + 1 file changed, 12 insertions(+), 1 deletion(-) + +--- a/misc/mc.ext.ini.in ++++ b/misc/mc.ext.ini.in +@@ -591,23 +591,26 @@ Open=@EXTHELPERSDIR@/image.sh open avif + [sound] + Regex=\\.(wav|snd|voc|au|smp|aiff|snd|m4a|ape|aac|wv|spx|flac)$ + RegexIgnoreCase=true +-Open=@EXTHELPERSDIR@/sound.sh open common ++Include=audio + View=%view{ascii} @EXTHELPERSDIR@/sound.sh view common + + [mod] + Regex=\\.(mod|s3m|xm|it|mtm|669|stm|ult|far)$ + RegexIgnoreCase=true + Open=@EXTHELPERSDIR@/sound.sh open mod ++View=%view{ascii} @EXTHELPERSDIR@/sound.sh view mod + + [wav22] + Shell=.waw22 + ShellIgnoreCase=true + Open=@EXTHELPERSDIR@/sound.sh open wav22 ++View=%view{ascii} @EXTHELPERSDIR@/sound.sh view mod + + [mp3] + Shell=.mp3 + ShellIgnoreCase=true + Open=@EXTHELPERSDIR@/sound.sh open mp3 ++Include=audio + View=%view{ascii} @EXTHELPERSDIR@/sound.sh view mp3 + + [ogg] +@@ -626,6 +629,7 @@ View=%view{ascii} @EXTHELPERSDIR@/sound. + Regex=\\.(midi?|rmid?)$ + RegexIgnoreCase=true + Open=@EXTHELPERSDIR@/sound.sh open midi ++View=%view{ascii} @EXTHELPERSDIR@/sound.sh view midi + + [wma] + Shell=.wma +@@ -633,6 +637,10 @@ ShellIgnoreCase=true + Open=@EXTHELPERSDIR@/sound.sh open wma + View=%view{ascii} @EXTHELPERSDIR@/sound.sh view wma + ++[mka] ++Shell=.mka ++Include=audio ++ + # Play list + [playlist] + Regex=\\.(m3u|pls)$ +@@ -1159,6 +1167,9 @@ View=%view{ascii} @EXTHELPERSDIR@/image. + Open=@EXTHELPERSDIR@/video.sh open ALL_FORMATS + View=%view{ascii} @EXTHELPERSDIR@/video.sh view ALL_FORMATS + ++[Include/audio] ++Open=@EXTHELPERSDIR@/sound.sh open common ++View=%view{ascii} @EXTHELPERSDIR@/sound.sh view common + + ######### Default ######### + diff --git a/mc-ext-obscpio.patch b/mc-ext-obscpio.patch new file mode 100644 index 0000000..fa49d10 --- /dev/null +++ b/mc-ext-obscpio.patch @@ -0,0 +1,43 @@ +--- + misc/ext.d/archive.sh | 3 +++ + misc/filehighlight.ini | 2 +- + misc/mc.ext.ini.in | 5 +++++ + 3 files changed, 9 insertions(+), 1 deletion(-) + +--- a/misc/ext.d/archive.sh ++++ b/misc/ext.d/archive.sh +@@ -136,6 +136,9 @@ do_view_action() { + cpio) + cpio -itv < "${MC_EXT_FILENAME}" 2>/dev/null + ;; ++ obscpio) ++ cpio -itv < "${MC_EXT_FILENAME}" 2>/dev/null ++ ;; + 7z) + 7za l "${MC_EXT_FILENAME}" 2>/dev/null || + 7z l "${MC_EXT_FILENAME}" +--- a/misc/filehighlight.ini ++++ b/misc/filehighlight.ini +@@ -25,7 +25,7 @@ + regexp=(^#.*|.*~$) + + [archive] +- extensions=7z;Z;ace;apk;arc;arj;ark;bz2;cab;cpio;deb;gz;lha;lz;lz4;lzh;lzma;lzo;rar;rpm;tar;tbz;tbz2;tgz;tlz;txz;tzo;tzst;vsix;xz;zip;zoo;zst ++ extensions=7z;Z;ace;apk;arc;arj;ark;bz2;cab;cpio;obscpio;deb;gz;lha;lz;lz4;lzh;lzma;lzo;rar;rpm;tar;tbz;tbz2;tgz;tlz;txz;tzo;tzst;vsix;xz;zip;zoo;zst + + [doc] + extensions=chm;css;ctl;diz;doc;docm;docx;dtd;fodg;fodp;fods;fodt;htm;html;json;letter;lsm;mail;man;markdown;md;me;mkd;msg;nroff;odg;odp;ods;odt;pdf;po;ppt;pptm;pptx;ps;rtf;sgml;shtml;tex;text;txt;xls;xlsm;xlsx;xml;xsd;xslt +--- a/misc/mc.ext.ini.in ++++ b/misc/mc.ext.ini.in +@@ -349,6 +349,11 @@ Shell=.cpio + ShellIgnoreCase=true + Include=cpio + ++[obscpio] ++Shell=.obscpio ++Open=%cd %p/ucpio:// ++View=%view{ascii} @EXTHELPERSDIR@/archive.sh view obscpio ++ + [initrd] + Regex=^(initramfs.*\\.img|initrd(-.+)?\\.img(-.+)?)$ + Include=cpio diff --git a/mc-extd-doc.patch b/mc-extd-doc.patch new file mode 100644 index 0000000..e059d6d --- /dev/null +++ b/mc-extd-doc.patch @@ -0,0 +1,24 @@ +--- + misc/ext.d/doc.sh.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +--- a/misc/ext.d/doc.sh.in ++++ b/misc/ext.d/doc.sh.in +@@ -52,7 +52,7 @@ do_view_action() { + fi + ;; + msdoc) +- if which wvHtml >/dev/null 2>&1; then ++ if which wvHtml >/dev/null 2>&1 && which elinks >/dev/null 2>&1; then + tmp=`mktemp -d ${TMPDIR:-/tmp}/%p.XXXXXX` + wvHtml "${MC_EXT_FILENAME}" --targetdir="$tmp" page.html + elinks -dump "$tmp/page.html" +@@ -68,7 +68,7 @@ do_view_action() { + fi + ;; + msxls) +- if which xlhtml >/dev/null 2>&1; then ++ if which xlhtml >/dev/null 2>&1 && which elinks >/dev/null 2>&1; then + tmp=`mktemp -d ${TMPDIR:-/tmp}/%p.XXXXXX` + xlhtml -a "${MC_EXT_FILENAME}" > "$tmp/page.html" + elinks -dump "$tmp/page.html" diff --git a/mc-extd-misc.patch b/mc-extd-misc.patch new file mode 100644 index 0000000..f9c9877 --- /dev/null +++ b/mc-extd-misc.patch @@ -0,0 +1,21 @@ +--- + misc/ext.d/misc.sh.in | 8 +++++++- + 1 file changed, 7 insertions(+), 1 deletion(-) + +--- a/misc/ext.d/misc.sh.in ++++ b/misc/ext.d/misc.sh.in +@@ -52,7 +52,13 @@ do_view_action() { + lyxcat "${MC_EXT_FILENAME}" + ;; + 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 + ;; + javaclass) + jad -p "${MC_EXT_FILENAME}" 2>/dev/null || \ diff --git a/mc-extd-sound.patch b/mc-extd-sound.patch new file mode 100644 index 0000000..faa0d26 --- /dev/null +++ b/mc-extd-sound.patch @@ -0,0 +1,67 @@ +--- + misc/ext.d/sound.sh | 34 ++++++++++++++++++++++++++-------- + 1 file changed, 26 insertions(+), 8 deletions(-) + +--- a/misc/ext.d/sound.sh ++++ b/misc/ext.d/sound.sh +@@ -6,22 +6,40 @@ + 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 + common) + mediainfo "${MC_EXT_FILENAME}" + ;; +- + 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 + ;; + opus) + opusinfo "${MC_EXT_FILENAME}" +@@ -29,11 +47,11 @@ do_view_action() { + 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() { diff --git a/mc-extd-video.patch b/mc-extd-video.patch new file mode 100644 index 0000000..54a0cf9 --- /dev/null +++ b/mc-extd-video.patch @@ -0,0 +1,36 @@ +--- + misc/ext.d/video.sh | 17 +++++++++++++++-- + 1 file changed, 15 insertions(+), 2 deletions(-) + +--- a/misc/ext.d/video.sh ++++ b/misc/ext.d/video.sh +@@ -6,14 +6,27 @@ + 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 + + case "${filetype}" in + *) +- if which mplayer >/dev/null 2>&1; then ++ if type -p mediainfo >/dev/null 2>&1 ; then ++ mediainfo "${MC_EXT_FILENAME}" ++ elif which mplayer >/dev/null 2>&1; then + mplayer -identify -vo null -ao null -frames 0 "${MC_EXT_FILENAME}" 2>&1 | \ + sed -n 's/^ID_//p' + elif which mpv_identify.sh >/dev/null 2>&1; then diff --git a/mc-extd-xdg.patch b/mc-extd-xdg.patch new file mode 100644 index 0000000..c08894c --- /dev/null +++ b/mc-extd-xdg.patch @@ -0,0 +1,111 @@ +--- + misc/ext.d/archive.sh | 2 +- + misc/ext.d/doc.sh.in | 2 +- + misc/ext.d/image.sh | 2 +- + misc/ext.d/misc.sh.in | 2 +- + misc/ext.d/package.sh | 2 +- + misc/ext.d/sound.sh | 2 +- + misc/ext.d/text.sh.in | 2 +- + misc/ext.d/video.sh | 2 +- + misc/ext.d/web.sh.in | 2 +- + 9 files changed, 9 insertions(+), 9 deletions(-) + +--- a/misc/ext.d/archive.sh ++++ b/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}" + ;; + *) +--- a/misc/ext.d/doc.sh.in ++++ b/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}" + ;; + *) +--- a/misc/ext.d/image.sh ++++ b/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}" + ;; + *) +--- a/misc/ext.d/misc.sh.in ++++ b/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}" + ;; + *) +--- a/misc/ext.d/package.sh ++++ b/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}" + ;; + *) +--- a/misc/ext.d/sound.sh ++++ b/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}" + ;; + *) +--- a/misc/ext.d/text.sh.in ++++ b/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}" + ;; + *) +--- a/misc/ext.d/video.sh ++++ b/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}" + ;; + *) +--- a/misc/ext.d/web.sh.in ++++ b/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}" + ;; + *) diff --git a/mc-extfs-helpers-deb.patch b/mc-extfs-helpers-deb.patch new file mode 100644 index 0000000..13fe6e2 --- /dev/null +++ b/mc-extfs-helpers-deb.patch @@ -0,0 +1,43 @@ +--- + src/vfs/extfs/helpers/deb.in | 23 +++++++++++++++++++++++ + 1 file changed, 23 insertions(+) + +--- a/src/vfs/extfs/helpers/deb.in ++++ b/src/vfs/extfs/helpers/deb.in +@@ -179,6 +179,15 @@ sub mcdebfs_run + } + } + ++sub _which ++{ ++ my $app = shift; ++ foreach my $dir (split/:/, $ENV{'PATH'}) { ++ return "$dir/$app" if -x "$dir/$app"; ++ } ++ return undef; ++} ++ + $pressinstall=< header file.]) diff --git a/mc-multi-press-f-keys.patch b/mc-multi-press-f-keys.patch new file mode 100644 index 0000000..f64949b --- /dev/null +++ b/mc-multi-press-f-keys.patch @@ -0,0 +1,59 @@ +http://www.midnight-commander.org/ticket/287 +--- + lib/tty/key.c | 17 +++++++++++++++-- + lib/tty/tty-slang.h | 1 + + 2 files changed, 16 insertions(+), 2 deletions(-) + +--- a/lib/tty/key.c ++++ b/lib/tty/key.c +@@ -1060,10 +1060,13 @@ correct_key_code (int code) + mod = KEY_M_SHIFT; + } + +- /* F0 is the same as F10 for out purposes */ ++ /* F0 is the same as F10 for our purposes */ + if (c == KEY_F (0)) + c = KEY_F (10); + ++ if (c == KEY_F_IMMUTABLE (0)) ++ c = KEY_F_IMMUTABLE (10); ++ + /* + * We are not interested if Ctrl was pressed when entering control + * characters, so assume that it was. When checking for such keys, +@@ -1136,6 +1139,16 @@ correct_key_code (int code) + if (c >= KEY_F (1) && c <= KEY_F (20)) + mod &= ~KEY_M_SHIFT; + ++ /* ++ * Numerals may require modifilers with some keymaps or on obscure ++ * keyboards (e. g. F4 = Esc Shift+4). We have to ignore all ++ * modifiers while interpreting Esc + Numeral. ++ */ ++ if (c >= KEY_F_IMMUTABLE (1) && c <= KEY_F_IMMUTABLE (10)) { ++ c += KEY_F (0) - KEY_F_IMMUTABLE (0); ++ mod &= ~KEY_M_MASK; ++ } ++ + if (!mc_global.tty.alternate_plus_minus) + switch (c) + { +@@ -1889,7 +1902,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 +--- a/lib/tty/tty-slang.h ++++ b/lib/tty/tty-slang.h +@@ -7,6 +7,7 @@ + /*** typedefs(not structures) and defined constants **********************************************/ + + #define KEY_F(x) (1000 + x) ++#define KEY_F_IMMUTABLE(x) (970+x) + + #define ACS_VLINE SLSMG_VLINE_CHAR + #define ACS_HLINE SLSMG_HLINE_CHAR diff --git a/mc-pie.patch b/mc-pie.patch new file mode 100644 index 0000000..45c8df5 --- /dev/null +++ b/mc-pie.patch @@ -0,0 +1,14 @@ +--- + src/consaver/Makefile.am | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +--- a/src/consaver/Makefile.am ++++ b/src/consaver/Makefile.am +@@ -4,4 +4,6 @@ pkglibexec_PROGRAMS = cons.saver + + cons_saver_SOURCES = cons.saver.c + +-AM_CPPFLAGS = -I$(top_srcdir) ++AM_CPPFLAGS = -fpie -I$(top_srcdir) ++ ++cons_saver_LDFLAGS= -pie diff --git a/mc-vfs-fish-deleted_source_file.patch b/mc-vfs-fish-deleted_source_file.patch new file mode 100644 index 0000000..1c8072e --- /dev/null +++ b/mc-vfs-fish-deleted_source_file.patch @@ -0,0 +1,50 @@ +--- + src/filemanager/file.c | 12 ++++++++---- + 1 file changed, 8 insertions(+), 4 deletions(-) + +--- a/src/filemanager/file.c ++++ b/src/filemanager/file.c +@@ -2802,6 +2802,8 @@ copy_file_file (file_op_total_context_t + continue; + if (temp_status == FILE_ABORT) + return_status = temp_status; ++ if (temp_status == FILE_SKIP) ++ return_status = temp_status; + if (temp_status == FILE_SKIPALL) + ctx->skip_all = TRUE; + break; +@@ -2812,6 +2814,8 @@ copy_file_file (file_op_total_context_t + temp_status = file_error (TRUE, _("Cannot close target file \"%s\"\n%s"), dst_path); + if (temp_status == FILE_RETRY) + continue; ++ if (temp_status == FILE_SKIP) ++ return_status = temp_status; + if (temp_status == FILE_SKIPALL) + ctx->skip_all = TRUE; + return_status = temp_status; +@@ -2843,10 +2847,10 @@ copy_file_file (file_op_total_context_t + if (temp_status == FILE_SKIPALL) + { + ctx->skip_all = TRUE; +- return_status = FILE_CONT; ++ return_status = FILE_SKIPALL; + } + if (temp_status == FILE_SKIP) +- return_status = FILE_CONT; ++ return_status = FILE_SKIP; + break; + } + +@@ -2859,10 +2863,10 @@ copy_file_file (file_op_total_context_t + if (temp_status == FILE_SKIPALL) + { + ctx->skip_all = TRUE; +- return_status = FILE_CONT; ++ return_status = FILE_SKIPALL; + } + if (temp_status == FILE_SKIP) +- return_status = FILE_CONT; ++ return_status = FILE_SKIP; + break; + } + diff --git a/mc-wrapper.patch b/mc-wrapper.patch new file mode 100644 index 0000000..8615970 --- /dev/null +++ b/mc-wrapper.patch @@ -0,0 +1,34 @@ +--- + contrib/Makefile.am | 4 ++-- + contrib/mc.sh.in | 9 ++++++++- + 2 files changed, 10 insertions(+), 3 deletions(-) + +--- a/contrib/Makefile.am ++++ b/contrib/Makefile.am +@@ -19,10 +19,10 @@ EXTRA_DIST = \ + $(noinst_DATA) + + mc.csh: $(top_builddir)/config.status $(srcdir)/mc.csh.in +- $(SED) "s%@""pkglibexecdir@%$(pkglibexecdir)%" $(srcdir)/mc.csh.in > mc.csh ++ $(SED) "s%@""datadir@%$(datadir)%" $(srcdir)/mc.csh.in > mc.csh + + mc.sh: $(top_builddir)/config.status $(srcdir)/mc.sh.in +- $(SED) "s%@""pkglibexecdir@%$(pkglibexecdir)%" $(srcdir)/mc.sh.in > mc.sh ++ $(SED) "s%@""datadir@%$(datadir)%" $(srcdir)/mc.sh.in > mc.sh + + mc-wrapper.csh: $(top_builddir)/config.status $(srcdir)/mc-wrapper.csh.in + $(SED) "s%@""bindir@%$(bindir)%" $(srcdir)/mc-wrapper.csh.in > mc-wrapper.csh +--- a/contrib/mc.sh.in ++++ b/contrib/mc.sh.in +@@ -1,3 +1,10 @@ + # Don't define aliases in plain Bourne shell + [ -n "${BASH_VERSION}${KSH_VERSION}${ZSH_VERSION}" ] || return 0 +-alias mc='. @pkglibexecdir@/mc-wrapper.sh' ++mc() ++{ ++. @datadir@/mc/mc-wrapper.sh ++} ++if [ -n "$BASH_VERSION" ] ++then ++ export -f mc ++fi diff --git a/mc.changes b/mc.changes new file mode 100644 index 0000000..6a87504 --- /dev/null +++ b/mc.changes @@ -0,0 +1,2160 @@ +------------------------------------------------------------------- +Tue Dec 3 12:13:23 UTC 2024 - Matej Cepl + +- Add mc-ext-obscpio.patch making mc handle SUSE *.obscpio + archives (bsc#1233006). + +------------------------------------------------------------------- +Mon Sep 23 20:12:03 UTC 2024 - Adam Mizerski + +- Added patch 4575-fix-wrapper.patch - fixes boo#1203617 + +------------------------------------------------------------------- +Tue Sep 17 15:04:39 UTC 2024 - Matej Cepl + +- Update to 4.8.32: + - Core + - Tell the current directory to the terminal using OSC 7 sequence (so it can open new tabs there) (#3088) + - Preserve ext2fs attributes on copy/move operations (#4532) + - Change name of temporary directory: make it unique for each run (#4535) + - Hide password in file operation progress dialog (#4541) + - Support reget in file move operation (#4563) + - Implement nanosecond precision timestamps on non-Linux (macOS, BSD, AIX, Solaris) (#4563) + - Remove remaining mmap code to simplify maintenance (#3960) + - VFS + - extfs: support unrar-7 (#4518) + - Editor + - Improve syntax highlighting: + - C and C++ (MidnightCommander?/mc#195, #4556) + - Viewer + - Diff viewer + - Add man page mcdiff.1 (#4224) + - Misc + - Code cleanup (#4524) + - New skins + - xoria256-thin, xoria256root-thin (#4530) + - modarcon16-defbg-thin, modarcon16-thin, modarcon16root-defbg-thin, modarcon16root-thin (#4530) + - modarin256-defbg-thin, modarin256-thin, modarin256root-defbg-thin, modarin256root-thin (#4530) + - julia256root (#4536) + - mc.ext.ini: clarify escaping of spaces and parenthesis (#4502) + - Fixes + - External editor does not work with arguments in $EDITOR (#4533) + - fish shell: strings " cd (printf '%b' ... " in history (#4521) + - Redundant back slashes for autocomplete (#4292) + - subshell: call execl with argv[0] that is not an actual path to Bash (#4549) + - mcedit: php.syntax: comment highlight from start of light only (#4519) + - mcedit: wrong replacement using regular expressions with begin or end of line (#4525, #4526) + - mcedit: losing column position when navigating up/down (MidnightCommander?/mc#194) + - mcedit: macro deletes text (#4540) + - mcedit: macros are applied to the pasted text (#4562) + - extfs: iso9660: xorriso is slow to open an ISO image (#3570, #4567) + - extfs: u7z: wrong add of nested directories to archive (#4559) + - extfs: segfault on enter to deleted archive (#4560) + - tar: segfault on copy files from archive (#4561) + - man: typo (#4550) +- Remove mc-extfs-iso9660-xorriso.patch patch which doesn't apply anymore. +- Other patches reapplied. + +------------------------------------------------------------------- +Mon Mar 18 10:37:48 UTC 2024 - pgajdos@suse.com + +- remove dependency on /usr/bin/python3 using + %python3_fix_shebang_path macro, [bsc#1212476] + +------------------------------------------------------------------- +Mon Mar 4 12:49:30 UTC 2024 - Adam Mizerski + +- fix python3 dependency (boo#1220900) + +------------------------------------------------------------------- +Fri Feb 23 11:00:04 UTC 2024 - pgajdos@suse.com + +- Use %patch -P N instead of deprecated %patchN. + +------------------------------------------------------------------- +Mon Jan 29 06:42:45 UTC 2024 - ecsos + +- 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 + +------------------------------------------------------------------- +Tue Aug 15 09:25:39 UTC 2023 - ecsos + +- Update to 4.8.30 + - Core + * Support PCRE2 as search engine (via ----with-search-engine=pcre2) (#4450) + * Implement panelization buffers for both file panels (#4370) + - VFS + * tar: support extended headers (including long file names and sparse files) (#1952, #2201) + * extfs helpers: replace "perl -w" with "use warnings" (MidnightCommander/mc#174) + * extfs/patchfs: be more specific in error message (#4485) + - Editor + * Add syntax highlighting: + - Jenkinsfiles (#4469) + - B language (#4470) + * Improve syntax highlighting: + - ECMAScript (MidnightCommander/mc#172) + - ECMAScript in TypeScript (MidnightCommander/mc#172) + - use diff syntax highlighting for git commit messages (COMMIT_EDITMSG) (MidnightCommander/mc#85) + - Misc + * Code cleanup (#4426, #4438) + * Filehighlight: + - recognize vsix files as zip files (MidnightCommander/mc#171) + * Skin updates: + - julia256 (#4441, #4445) + - Fixes + * Usage of 'sed' in build system/makefiles is not portable (#4459, #4466) + * Unportable '$<' in Makefiles (#4460) + * FTBFS if ncurses used without --with-ncurses-includes= configure parameter (#4462) + * Ncurses library is duplicated in MCLIBS (#4463, #4465) + * FTBFS without ext2fs attributes support (#4464) + * Wrong sort order after swapping panels (#4432) + * Incorrect time delimiter in the copy/move progress window (#4437) + * Incorrect redraw of overlapped file panels (#4408) + * Subshell/Command line prompt is empty/missing (#3121) + * Find file: relative ignore directory is applied to the start search directory (#4235) + * Diff viewer: options are not applied on second run (#4486) + * mc.ext.ini: 'Edit' command from 'Default' section is ignored (#4434) + * mc.ext.ini: .md files are not recognized as Markdown ones by extension (#4444) + * mcedit: off-by-one error in paragraph formatting (#4446) + * ftp: incomplete file listing: block and character devices, pipes, sockets are missed (#4472) + * Various typos in the source code (MidnightCommander/mc#177, MidnightCommander/mc#178) + +------------------------------------------------------------------- +Wed Apr 26 18:30:03 UTC 2023 - Jan Engelhardt + +- Replace xorg-x11-devel by pkgconfig(...) + +------------------------------------------------------------------- +Thu Mar 23 11:23:59 UTC 2023 - Adam Majer + +- mc-ext-audio.patch: refresh patch + +------------------------------------------------------------------- +Sun Mar 19 09:44:44 UTC 2023 - Dirk Müller + +- update to 4.8.29: + * Add more options for panel filter (#1373): + * "Files only" + * "Case sensitive" + * "Using shell patterns" + * Continue copy after interrupt + * Restore menu accelerator for "Sort order": back to "S"; + change menu accelerator for "SFTP link" to "N" + * Add support for cross-compilation with PERL path different + between --build and --host + * Bootstrap with autotools providing direct support for Apple + M1 + * Port mc.ext to INI format and rename to mc.ext.ini + * Implement compound (AND) conditions (Type/Shell and + Type/Regex pairs) to disambiguate overloaded extensions + * There is no fallback to previous mc.ext format + * Editor + + Change location of all user's syntax related stuff to + ~/.local/share/mc/syntax/ directory + + syntax/Syntax: document location of syntax files + + Improvements of syntax highlighting: + + YAML: improve multiline blocks highliting + + New syntax highlighting: + + Privoxy (https://www.privoxy.org) actions files + + TOML (Tom's Obvious Minimal Language) + + sqlite3 view: use 'immutable=1' URI parameter to prevent + leaving wal/shm files after viewing sqlite database + + Support of contour terminal emulator + (https://github.com/contour-terminal/contour) + + mc.ext.ini: clarify regex for makefiles + + Remove empty hints translations by setting 5% threshold + + Fixes + + Fail to build with only SFTP network VFS is enabled + + Crash on quick view of archives + + Wrong description of --enable-configure-args option + + Wrong version sort + + No subshell if subshell is initializing more than 1 second + + Filter keyboard shortcut only affects left panel + + File type check does not work with special character in + filename + + Select files keeping the right mouse button pressed doesn't + select all files + + Cannot scroll panel listing upwards using mouse + + "Directory Compare" doesn't correct work with panelization + + Wrong decompressing of zip files in quick view panel + + mc.ext: 'include' keyword (for command class def) have no + effect if it was defined before 'Include' keyword (for + command def) + + mcedit: infinite loop when deleting a macro + + mcviewer: segfault when switching from raw to parsed mode and + back + + Broken handling of zip archives + + FISH subshell: commands don't work after window resize + + FTP VFS: doesn't reconnect to server after timeout + + FISH VFS: cannot remove non-empty directory + + EXTFS VFS: segfault if archive contains file(s) in the parent + directory + + Tests: variable redeclaration in filevercmp_test5 + +------------------------------------------------------------------- +Mon Jun 27 19:36:16 UTC 2022 - Matej Cepl + +- Include review comments: don't depend on fish. + +------------------------------------------------------------------- +Wed Jun 15 15:05:02 UTC 2022 - Matej Cepl + +- Add 4258-fish-subshell-prompt.patch fixing + https://midnight-commander.org/ticket/4258 stopping fish from sending + \r while printing prompt and mc erases prompt buffer. +- Add mc.fish, which the fish equivalent of /usr/share/mc/mc-wrapper.sh + +------------------------------------------------------------------- +Sun Mar 27 19:39:05 UTC 2022 - Andreas Stieger + +- Update to 4.8.28: + * Remove SMB support + * Add syntax highlighting for Ngspice/SPICE and DOT/Graphviz + * Support file/dir macros from mc.ect for standalone viewer + * Support Shift+Fn keys for KiTTY + * Filehighlight: graphical formats: avif, jp2, jxl, heic, heif, + psb, psd, Markdown + * bug fixes +- drop mc-startup-timeout.patch + +------------------------------------------------------------------- +Thu Sep 2 11:06:43 UTC 2021 - ecsos + +- Midnight Commander 4.8.27: + * Core + - Minimal version of Autoconf is 2.64 (#3603) + - Minimal version of Automake is 1.12 (#3986) + - Minimal version of Gettext is 0.18.2 (#3603) + - Minimal version of libssh2 is 1.2.8 (#4259) + - Reimplement version detection (#3603, #4249) + - Significantly reduce rebuilt time after version change (#2252, #4266) + - Drop automatic migration of configuration from ~/.mc to XDG-based directories (#3682) + - zsh: support custom configuration file: ~/.local/share/mc/.zshrc (#4203) + - Widgets: implement WST_VISIBLE state to show/hide widgets (#2919) + - Find File: add Follow symlinks option (#2020) + * VFS + - extfs: support unrar-6 (#4154) + - extfs: support official 7z binary (7zz) (#4239) + - ftpfs: apply file list parser from lftp project (#2841, #3174) + * Editor + - Word completion: get candidates from all open files (#4160) + - etags: get rid of hardcoded list length and window width (#4132) + - Update syntax files: + - python (#4140) + - Add syntax highlighting: + - Verilog and SystemVerilog? header files (#4215) + - JSON (#4250) + - openrc-run scripts (#4246) + * Viewer + * Diff viewer + * Misc + - Code clean up (#4179, #4173, #4269) + - Filehighlight of c++ and h++ files as sources (#4194) + - Filehighlight of JSON files as documents (#4250) + - Support of alacritty terminal emulator (​https://github.com/alacritty/alacritty) (#4248) + - Support of foot terminal emulator (​https://codeberg.org/dnkl/foot) (#4251) + - Support of (alt+)shift+arrow keys in st terminal emulator (st.suckless.org) (#4267) + - Mouse support in screen: don't check variable (#4233) + - mc.ext: support fb2 e-books (#4167) + - ext.d: use mediainfo to view info about various media files (#4167) + - Remove OS/distro-specific package-related stuff from source tree (#4217) + * Fixes + - FTBFS against NCurses on OS X 10.9.5 (#4181) + - Segfault on dialog before panels get visible (#4244) + - Crash if shadow is out of screen (build against NCurses) (#4192) + - Crash in search (#4222) + - Crash on startup with enabled subshell in FreeBSD (workaround) (#4213) + - Hang on start randomly with zsh as subshell (#4198) + - If command line is invisible it's partially displayed (#4182) + - Broken handling of zip archives (#4180, #4183) (bsc#1187583) + - Broken handling of jar files as zip archives (#4223) + - Timestamps of symlinks, sockets, fifos, etc are not preserved after copy/move (#3985) + - %view action in the user menu doesn't work on no-exec filesystem (#4242) + - Hardlinks are not colored by file type or extension (#3375) + - mcedit: silent macro makes terminal disrupted (#4171) + - mcedit: disrupting of TAGS file path (#4207) + - vfs: unable to browse compressed tar archives (#4191) + - sftpfs vfs: CVE-2021-36370: server fingerprint isn't verified + (discovered by AUT-milCERT during an audit of open source software) (#4259) + (bsc#1190180) + - ftpfs vfs: month of file is always January (#4260) + - Tests: log files are written by libcheck and automake simultaneously (#3986) +- Rebase mc-ext-audio.patch. +- Rebase mc-extd-sound.patch. + +------------------------------------------------------------------- +Sun Mar 14 17:21:31 UTC 2021 - Andreas Stieger + +- Midnight Commander 4.8.26: + * Support file names of any length + * Implement persistent command line buffer for subshell + (bash >= 4, zsh and fish are supported) + * Implement shadows of dialog windows and menus + * Allow running clipboard commands if DISPLAY is not set + * Add support of "alacritty", "tmux", and "tmux-256color" terminals + * VFS: Support wim archive format (using wimtools) + * VFS: Support pak archive format (using unar) + * Editor: Add Swift syntax highlighting + * Various bug fixes + +------------------------------------------------------------------- +Mon Jul 27 15:00:00 UTC 2020 - Andre C. Barros + +- Update to 4.8.25 + * Avoid subshell warning for standalone mcedit/mcview/mcdiffview run from mc + * Implement chattr command (change ext{2,3,4}fs extended attributes) + * New syntax highlighting: Kotlin and ino + * File highlighting updates + * Lots of other fixes + +- Updated mc-ext-audio.patch +- Updated mc-extd-sound.patch +- Removed mc-rpm.patch + +------------------------------------------------------------------- +Tue Mar 17 07:57:20 UTC 2020 - Paolo Stivanin + +- Update to 4.8.24 + * Implement the file edit and view history + * sftpfs: support keyborad interactive authentication + * add yabasic (Yet Another BASIC) syntax highlighting + * File highlighting updates + * New skins + * Lots of other fixes + +- Remove sftp_interactive_password.patch +- Remove mc-no-common.patch + +------------------------------------------------------------------- +Wed Jan 15 10:11:03 UTC 2020 - Adam Majer + +- mc-no-common.patch: fix compilation on Tumbleweed (bsc#1160401) + +------------------------------------------------------------------- +Thu Aug 1 07:21:35 UTC 2019 - Tomáš Chvátal + +- Use python3 instead of python as we do not need to depend on + python2 +- Format with spec-cleaner +- update to 4.8.23: + * Modify "File exists" query dialog (#3935): + * Speed up of large directory structures delete (#3958) + * Support key binding for menu (#212) + * Syntax updates: + + shell (#3981) + + ebuild (#3988) + + RPM spec (#3991) + * Code cleanup (#3955) + * Use Geeqie (a fork of GQview) as main image viewer, fallback to GQview (#3962) + * various small fixes +- Refresh patches: + * mc-multi-press-f-keys.patch + * sftp_interactive_password.patch + +------------------------------------------------------------------- +Tue Jan 15 13:37:27 UTC 2019 - adam.majer@suse.de + +- update to 4.8.22 + * Core + - Support BTRFS's file clone operation + - Find file: show pattern and content in the results window title + - Find file: remember state (empty or not) of Content field + - Improve support IBM i + - Improve handling of hard link creation errors + - Support user-defined prompt in the Fish subshell + + * VFS - sftp: preserve atime and mtime (#3917) + + * Editor + - man page cleanup (#3918) + - syntax: + PHP - highlight keyword 'null' (#3920) + Meson - initial implementation (#3940) + * Misc + - ext.d: use MPV as a fallback for mplayer -identify (#3919) + - ext.d: improve recognition of MS Office formats (#3929) + + * Fixes + - "Cannot create target file" when target has backslash space + in the name (#3923) + - Quiet single file overwrite (#3908) + - Show error message for each not-installed program when view + documents in MS Word and Excel formats (#3926) + - Crash when trying some sftp connections (#3937) + - Crash when return to filemanager from subshell (#3943) + +- mc-extd-doc.patch: refreshed +- mc-extd-video.patch: refreshed +- mc-vfs-fish-deleted_source_file.patch: refreshed +- xls2csv_update.patch: refreshed + +------------------------------------------------------------------- +Tue Jun 26 10:33:31 UTC 2018 - adam.majer@suse.de + +- sftp_interactive_password.patch: Fixes logins to remote SSH + sessions where only Keyboard-Interactive password is available + and tunneled password is disabled (bsc#1098235) +- mc-rpmlintrc: removed + +------------------------------------------------------------------- +Tue Jun 5 17:27:40 UTC 2018 - ecsos@opensuse.org + +- update to 4.8.21 + ** Core + * Cancel Chmod/Chown/Advanced chown operation for large group of files when operation is not permitted (#3850) + * Mouse support in the "Advanced chown" dialog window (#3148) + * File highlighting by extension is case insensitive by default (#1620) + * Safe file overwrite (#3913) + ** VFS + * Support zstd compression format (#3906) + ** Editor + * Syntax: + - Rust support (#3884) + - JavaScript modules support (#3890) + - Improve Markdown support (#3893) + ** Viewer + ** Diff viewer + ** Misc + * Add JavaScript module support to filehighlight.ini (MidnightCommander/mc#132) + * Add Excel xlsx file format support to mc.ext.in (MidnightCommander/mc#135) + * i18n of argument type names in --help blocks (#3879) + * Code cleanup: (#3857, #3914) + ** Fixes + * Fail to link to ncurses built as two libraries: ncurses+tinfo (#3880) + * Garbage in displaying of summary of file sizes for selected files (#3883) + * "Compute totals" unnecessarily done for moves (#3149, #3908) + * mc.ext: allow Java class files to be viewed even if JAD isn't on PATH (MidnightCommander/mc#134) + * mcedit: broken extended key mode (#3897) + * mcedit doesn't save all opened files (#3898) + * extfs: sftps: -31 SFTP Protocol Error when transferring file + (#3406, bsc#1119302) + * extfs: rpm: truncated script content in the viewer (#3865) + * extfs: rpm helper misses CONFLICTS field (#3789) + +------------------------------------------------------------------- +Fri Apr 13 12:39:06 UTC 2018 - adam.majer@suse.de + +- Remove some unused BuildRequires, enabling building on SLE-15 +- Drop fdupes usage as difference is only 1 file smaller than 1kB. + +------------------------------------------------------------------- +Tue Apr 10 11:57:16 UTC 2018 - adam.majer@suse.de + +- xls2csv_update.patch: fix mc to call xls2csv correctly + (bsc#1087708) + +------------------------------------------------------------------- +Tue Nov 28 16:42:07 UTC 2017 - ecsos@opensuse.org + +- Update to Version 4.8.20 + +** Core + * Rename key bindings: + - [main].PanelListingSwitch -> [panel].CycleListingFormat + - [main].PanelListingChange -> [main].SetupListingFormat + *Speed up of UTF-8 normalization for frequent cases (#3616) + +** VFS + * extfs helpers tester: + - diff of failed tests is now included in output to ease bug reporting (#3784) + +** Editor + * Syntax: + - ES2015 support (#3793) + - TypeScript support (#3794) + - Ada 95 updates (#3804) + - Apache Hive QL support (#3828) + - SQL & PHP keyword updates (MidnightCommander/mc#129) + - Simplification of case insensitive file name patterns in /usr/share/mc/syntax/Syntax file (#3829) + - Markdown (initial support) (#3864) + - Protocol Buffers and gRPC support (#3868) + * Add %c (cursor offset from BOF) support for user menu macros (#3867) + +** Viewer + +** Diff viewer + +** Misc + * Unify curses initialization for various curses implementations (#3697) + * Highlight txz extension as archive like tgz, etc. (#3782) + * Add new media extensions to filehighlight.ini (#3834) + +** Fixes + * Wrong --help message for mcview, mcedit and mcdiff (#3805) + * Compression from menu broken due to bad quoting (#3840) + * --with-homedir gives "yes" as config directory (#3836) + * External panelize: opening a file with an absolute path fails (#2942) + * Filter isn't cleared when entering empty string (#3813) + * Panelization is not kept while switching panel listing mode (#3810) + * Cannot tab out of a QuickView panel (#3815) + * Cannot use the F10 key in a QuickView panel (#3816) + * Wromg INPUT_COMPLETE_CD flag handling in the QuickDialog? engine (#3870) + * mcview: file interpreted as latin1 instead of utf8 (#3783) + * mcview: incomplete read of filtering data (#3817) + * mcview: search doesn't grow file as much as needed (#3819, #3855) + * mcview: goto doesn't grow file as much as needed (#3826) + * mcview: quick view panel: crash on slow startup while switching panel mode (#3846) + * mcedit: fix broken encoding into UTF-8 for 8-bit displays (#3843) + * mcedit: incorrect %f macro substitution in the user menu (#3861) + * man pages: wrong paths of mc.hint and mc.hlp (#3806) + * subshell: fix broken tcsh 6.20+ cd escaping (#3852) + * VFS: incremental tar doesn't contain empty directories (#2297) + * VFS: incremental tar: wrong directories owner for tar --numeric-owner -g (#3709) + * VFS: timestamps not being preserved due to uninitialized struct stat st_[acm]tim.tv_nsec (#3821) + * VFS: ftp: can't retrieve password from .netrc when user is in URL (#3869) + * VFS: tests: locale issue causing helpers using 'sort' to fail (#3787) + * VFS: tests: unportable 'echo' use causing one rpm helper test to fail (#3786) + * Spelling errors in the manual page (#3839) + +------------------------------------------------------------------- +Mon Mar 6 12:22:38 UTC 2017 - dnh@opensuse.org + +- Update to Version 4.8.19 + +** Core + * Replace $MC_HOME with $MC_PROFILE_ROOT (#3684) + * Allow rebind TAB key to change panel (#3672) + * Support for True Color (16 millions colors) (#3145) + * Color aliases in skin files (#3711) + +** VFS + * Support timestamps with nanosecond precision for copy/move operations (#3575) + * Introduce EXTFS helpers tester (#3730, #3744, #3752, #3753, #3751) + * Teach u7z to parse archive listings w/o sizes and/or dates (#2707) + * Teach rpm helper about transaction scripts (#3750) + * Fix hp48, uace & uarc extfs which used an obsolete date format (#3729, #3747) + +** Editor + * Syntax: + - updates of HTML and ebuild highlighting + - highlight *.t (Perl test) files as Perl scripts + - disassociate .cl file extension from LISP syntax (#3691) + * Add syntax highlighting: + - OpenCL (#3690) + - OpenShadingLanguage (#3762) + - R + - YAML (#3293) + +** Misc + * Code cleanup (#3693, #3703, #3721, #3763) + * Add true color skins: 'Four seasons' (#3724) + * Activate `--enable-tests` by default if `check` is found (#3708) + * Added new skin: YADT (MidnightCommander/mc#115) + +** Fixes + * Segfault on switching left panel to Info (#3700) + * Broken compatibility with ncurses (#3697) + * Setting MC_HOME makes mc ignore ~/.bashrc (#3684) + * mc_tmpdir() use a buffer of only 64 characters (#3736) + * Some bugs in the parsing of hexadecimal search patterns (#3694) + * Hexadecimal search fails on binary data (#3589) + * Broken file list resorting on double click on panel header line (#3715) + * Wrong dialog resizing and positioning (#3714, #3723) + * Widget's 'disabled' status is not toggled immediately (#3716) + * Last item of 'Options/Layout/Horizontal' radiobuttons remains highlighted (#3717) + * 'Options/Layout/Equal split' checkbox gets reverted (#3718) + * Panels: cannot show more than one "column" in user defined listing mode (#3757) + * Mix of MSG_NOTIFY and MSG_FOCUS messages (#3731) + * skins: 'window-state-char' and 'window-close-char' are parsed as colors (#3710) + * Pressing and in the hotlist dialog doesn't refresh it (#3775) + * mcview: an error message about bad regexp isn't shown (#3720) + * mcedit: fix etags filenames parsing (#3698) + * mcedit: fix mouse active area for maximize / close buttons (#3774) + * mcedit: frames (MDI interface) don't reflect the focus state (#3766) + * mcedit: frames (MDI interface) sometimes obscure the buttonbar (#3760) + * mcedit doesn't show search error messages when searching backwards (#3735) + * help viewer: tab characters handled incorrectly (#3754) + * VFS: incorrect zoo archive listing (#3696) + * VFS: segfault in VFSs not setting block size in stat (#3749) + +- removed obsolete 02_ignore_ftp_chmod_error.patch + if ignore_ftp_chattr_errors=true (the default?) in + ~/.config/mc/ini, errors are ignored anyway, and if if set to false, + the user get the error (e.g. permission denied). With the patch, the + user never will see an error and wonder, why it's not working. It + might have been, that this option has not worked in (much) older + versions and the patch introduced because of this. + +- removed obsolete 09_uzip_broken_528239.patch + it is correctly detected during configure + +- rebased mc-rpm.patch + +------------------------------------------------------------------- +Mon Oct 3 02:59:40 UTC 2016 - dnh@opensuse.org + +- Update to Version 4.8.18 + +- Core + * Alt-Enter, Ctrl-Enter and Ctrl-Shift-Enter shortcuts are bindable in file manager (#3075) + * Internals: + * Refactoring of widget subsystem (#2919, #3632) + +- Editor + * Add syntax highlighting: + * GLSL (#3683) + * CUDA (#3686) + +- Misc + * Code cleanup (#3641, #3652) + +- Fixes + * Build failure on FreeBSD (#3643) + * Incompatibility with NetBSD curses (#3665) + * Memory leaks (#3637) + * Subshell output lost on window resize under tmux, GNU screen (#3639) + * --with-subshell=optional does not work (#3642) + * Backward search is not interruptible (#3648) + * "Output lines" has no effect (#3655) + * Wrong handling of mouse clicks in long listing mode (#3661) + * Panelize resets marks on marked files in many cases (#3663) + * Cannot change directory in the active panel in some cases (#3669) + * Filtered View doesn't work (#3646, #3660) + * mcedit: don't kill bookmarks when open file from "Find File" dialog (#3668) + * man pages use "the MC" instead of "MC" (#3644) + + +------------------------------------------------------------------- +Mon May 9 19:05:12 UTC 2016 - dnh@opensuse.org + +- Update to 4.8.17: + +=== Core === + * Minimal version of Gettext is 0.18.1 (#1885) + * Optimization of copy/move operations (use adaptive buffer as in coreutils) (#2193) + * Recognize csh as tcsh (#2742) + * Сentered scrolling of file panel (#3130) + * Internals: + * Switch to new high-level mouse API (#3571) + +=== VFS === + * FISH helpers: remove executable bit (#3610) + +=== Editor === + * Improvements of syntax highlighting: + * F90 (#3618) + * Java (MidnightCommander/mc#95) + +=== Misc === + * Code cleanup (#3598, #3607) + * Install mc.keymap as a symlink to mc.default.keymap (#3609) + * File highlight: add more common file formats + +=== Fixes === + * Segfault due to incorrect value of SHELL environment variable (#3606) + * Segfault when copying files under FreeBSD 9.3 (#3617) + * Segfault when entering into some cpio archives (#3621) + * Subshell output lost on window resize under tmux, GNU screen (#3639) + * Subshell cursor position lost after window resizing (#3640) + * Listbox no longer scrolls when dragging outside widget (#3559) + * VFS: extfs: incorrect date parsing in unzip (#3622) + * VFS: extfs: buffer overflow (#3605) + * VFS: patchfs: syntax error (#3620) + * VFS: fish: mistakes in ls Perl helper (#3611) + +- remove upstreamed Patch99: mc-patchfs_lzip-syntax-error.patch + +------------------------------------------------------------------- +Fri Apr 1 07:41:30 CEST 2016 - dnh@opensuse.org + +- Add no-brainer patch mc-patchfs_lzip-syntax-error.patch from upstream + that fixes a syntax error in the patchfs helper script (bsc#972789). + +------------------------------------------------------------------- +Mon Mar 14 03:27:15 UTC 2016 - dnh@opensuse.org + +- Update to 4.8.16: + +Core + + Support for ash + bugfixes for bash, fish (#2742) + Find file: empty file name matches any file name (#3593) + Find file: empty value of "Content" is used instead of "Search for content" checkbox to disable search for content (#3594) + Listbox: don't wraparound on mouse scroll (#3554) + Internals: + Listbox: various fixups (#3569: #3562, #3563, #3565, #3161) + Split MSG_ACTION into MSG_ACTION and MSG_NOTIFY (#3566) + +VFS + + Support lzip compression format (#2673, #1541) + Support lz4 compression format (#3523) + patchfs: support xz compression (#3443) + Update uc1541 version (#3527) + Add mc.ext patterns for initramfs / initrd (#3115) + +Editor + + Add golang syntax (MidnightCommander?/mc#84) + Update Puppet syntax (MidnightCommander?/mc#86) + +Misc + + Code cleanup (#3555, #3547, #3587) + Better subshell documentation (#3556) + Fixes to the English man pages by Denys Vlasenko + +Fixes + + Insufficient quoting in mc.menu (#2947) + Broken ./configure --without-internal-edit (#3601) + Memory leaks (#3547, #3561, #3567, #3572) + No preallocation if appending during file copy (#3577) + Cannot set mini-format for "brief" listing type (#3588) + Info panel: incorrect inode information in some cases (#3214) + Info panel: wrong device name with symbolic link (#3412) + Info panel: buffer overflow (#3582) + Regression: match filename, not full path in mc.ext (#3578) + Broken case insensitive search in non-unicode locale (#3491) + Error message prefixed with no sense "0:" (#3269) + mcedit: buffer overflow (#3579) + mcedit: "Lower case selection" command in User Menu (#3586) + mcedit: close on ctrl-g (#3557) + mcview: "Not found" result isn't reported in some cases (#3543) + VFS: isofs doesn't show .dotfiles (#3537) + VFS: isofs: cannot copy file from iso when Joliet without RockRidge? is used (#2851) + VFS: extfs/unzip: enter into zip file fails with "inconsistent extfs archive" (#3433) + VFS: SFTP: various bugs (#3581) + VFS: FISH: provide major/minor info for block/char devices (#3599) + Bashism in gitfs+ extfs helper (#3379) + Non-portable invocation of man (#3509) + mc-wrapper leaves MC_USER set (#3550) + Broken silent opening of files in background (#3574) + Run identify on JPEGs even if exif is not installed (#3568) + +- rebased a bunch of patches + +------------------------------------------------------------------- +Mon Nov 9 12:14:47 UTC 2015 - astieger@suse.com + +- verify the sha256 hash during build + +------------------------------------------------------------------- +Mon Nov 9 12:05:44 CET 2015 - pth@suse.de + +- Tag .sha256 file as source. + +------------------------------------------------------------------- +Mon Nov 9 05:26:47 UTC 2015 - dnh@opensuse.org + +- Update to 4.8.15: + +* Core: + Minimal version of GLib is 2.26.0 + Use the PATH environment variable to search for the executable when opening pipe (#3444) + Support more than 2 (up to 9) columns in file panel in brief mode (#3212) + Clarify file sorting in "Unsorted" mode (#3496) + WGroupbox: respect dialog's colors (#3468) + Highlight find file's result in internal viewer (#3530) +* VFS: + s3 extfs vfs: bugfixes and improvements (#3470, #3502) +* Editor: + Add hidden option to choose full or base file name in the status line (#3445) + Improvements of syntax highlighting: + Lua (#3471) + PKGBUILD (#3484) +* Misc: + Text alignment in Info panel (#3155) + Select of menu file edit: change default button to "User" (#3493) + Recognize .gmo files as well as .mo ones (#3422) + Fix mc.pot comment tripping up Transifex and unportable inplace sed (#3479) + A lot of code clean up (#3420, #3424, #3426, #3427, #3428, #3429, #3430, #3431, #3434, #3435, #3437, #3463, #3464, #3465, #3466, #3467, #3494, #3495, #3539) + Documentation updates: + Spanish man and help: Diff Viewer section and minor fixes (#3477) + VFS garbage collection (#3472) + +* Fixes: + Various memory leaks (#3438, #3439, #3440, #3457, #3458, #3459, #3460, #3461, #3462, #3475, #3520, #3521, #3522) + Linux kernel-specific segfault on startup (#3441) + Lost of Panelize contents in some cases (#3032, #3489, #3498, #3507) + Wrong highlight of search result in case of "Regular expression" and "Whole words" (#3524) + "Whole words" search works only in Normal mode (#3525) + SFTP VFS: segfault (#3456) + Segfault in "Find file" due to invalid UTF-8 sequences (#3449) + Bash variable 'PROMPT_COMMAND' in pantheon-terminal (#3534) + +- rebased mc-extd-xdg.patch against upstream changes + +------------------------------------------------------------------- +Tue Mar 24 18:45:13 UTC 2015 - astieger@suse.com + +- GNU Midnight Commander 4.8.14: + * Core: + + Minimal version of GLib is 2.14.0 + + Add new panel binding "SelectExt" to select/unselect files + with the same extension as the current file + + Speed up of directory size calculation + + Support of italic text + * Editor: + + New syntax highlighting support: puppet + * Viewer: + + Rewrite mcview's rendering and scrolling + + Use VIEW_SELECTED_COLOR in plain mode + + In QuickView panel, don't pass any chars to command line to + avoid unexpected command execution + * Misc: + + Code cleanup + + Bind poedit to Edit action for .po files + + Better grammar mcedit user menu + * Various bug fixes + +------------------------------------------------------------------- + +Sat Sep 6 01:40:44 UTC 2014 - dnh@opensuse.org + +- remove file mc-Syntax.cmake.patch / cmds in .spec +- remove file mc-vfs_fish_helpers_ls-formatstring.diff + (extraneous patches seem to cause factory-auto to decline the submit) + cf. e.g. https://build.opensuse.org/request/show/247789 + +------------------------------------------------------------------- +Fri Sep 5 18:37:47 UTC 2014 - dnh@opensuse.org + +- update to 4.8.13 + various bugfixes and minor improvements, see NEWS file for details +- comment out mc-Syntax.cmake.patch, fixed upstream, to be removed + +------------------------------------------------------------------- +Wed Apr 2 19:35:48 UTC 2014 - dnh@opensuse.org + +- update to 4.8.12 +- remove mc-vfs_fish_helpers_ls-formatstring.diff (fixed upstream) +- change mc-extfs-iso9660-xorriso.patch to work with upstream fix + +------------------------------------------------------------------- +Sat Mar 15 15:35:23 UTC 2014 - dnh@opensuse.org + +- fix bug ("%i" is not an appropriate format for off_t) in + mc-vfs_fish_helpers_ls-formatstring.diff, thanks to andrew_b + of upstream in mc-ticket:2983 + +Sat Mar 15 13:58:42 UTC 2014 - dnh@opensuse.org + +- add mc-vfs_fish_helpers_ls-formatstring.diff + fixing possible format-string attack via filename + http://www.midnight-commander.org/ticket/2983 + until http://www.midnight-commander.org/ticket/3128 + is fixed, fish should stay disabled though! + +------------------------------------------------------------------- +Thu Jan 30 21:47:13 UTC 2014 - jengelh@inai.de + +- Spec metadata update, remove redundant %clean section, + do parallel build with %_smp_mflags + +------------------------------------------------------------------- +Tue Jan 14 03:37:35 UTC 2014 - dnh@opensuse.org + +- add preliminary patch by Sebastian Siebert + mc-vfs-fish-deleted_source_file.patch + bnc#856501 and http://www.midnight-commander.org/ticket/3128 + +------------------------------------------------------------------- +Fri Jan 10 20:51:29 UTC 2014 - dnh@opensuse.org + +- disable the ssh/fish vfs due to + http://www.midnight-commander.org/ticket/3128 and + https://bugzilla.novell.com/show_bug.cgi?id=856501 +- remove unneccessary build-dep on recode + +------------------------------------------------------------------- +Wed Jan 1 19:48:54 UTC 2014 - andreas.stieger@gmx.de + +- update to 4.8.11: + - Core + * Live update of panels size when editing layout + * Support "Compute totals" option in move file operation + - VFS + * rpm extfs + - show dependency version + - support tar payload + - improve support for EPOCH tag + - add support for PREINPROG/POSTINPROG/PREUNPROG/POSTUNPROG, + VERIFYSCRIPTPROG and TRIGGERSCRIPTS/TRIGGERSCRIPTPROG tags + - Editor + * Support "bracketed paste mode" of xterm + * Clarify Java syntax highlighting + - Misc + * Print warnings about unknown '--with-' / '--enable-' configure options + * Code cleanup and refactoring + - Fixes: + * Segfault while moving files + * Broken handling of mc command line arguments + * Copy/move doesn't work if num_history_items_recorded=0 + * No subdir path completion in current dir, if stub is not starting with './' + * Deprecated "find -perm +xxx" syntax is used + * Home, End, Shift-Fn keys don't work in tmux + * Improper [en|dis]abling of layout dialog split adjustment buttons + * Bogus strings in 'Confirmation' config dialog + * "Configure options" first entry not highlighted + * "Setup saved to ~/.config/mc/ini" message is misleading + * Typo in mc.lib: "less=%filename +%linenog" instead of "+%lineno" + * Wrong order of filename and line number for external editor + * mcedit: tabs are lost when text is pasted + * mcedit: question on large file treats Escape as Yes + * Broken case-sensitive search in editor/viewer/diffviewer + * Changes to files in nested .zip archives are lost + * Incorrect handling of filenames with spaces with unrar v5 + * iso9660 VFS: filenames truncating in ISO file listing + * vfs_path_from_str_flags() doesn't support VPF_STRIP_HOME + * Bright colors are used as background colors in 16-color skins + * Various defects in documentation +- removed patches: + * mc-extfs-helpers-urar.patch, committed upstream +- modified patches: + * mc-extfs-iso9660-xorriso.patch, adjust for upstream change + * mc-multi-press-f-keys.patch, remove fuzz + * mc-rpm.patch, adjust for upstream change in context + +------------------------------------------------------------------- +Thu Dec 12 12:10:32 UTC 2013 - dnh@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 - dnh@opensuse.org + +- add mc-extfs-iso9660-xorriso.patch + fixing iso9660 extfs directory handling using xorriso + see http://www.midnight-commander.org/ticket/3122 + +------------------------------------------------------------------- +Thu Nov 28 12:27:16 UTC 2013 - dnh@opensuse.org + +- Reimplementation of mcrar5fs_list in vfs/extfs/helpers/urar using + 'unrar vt' fixing the "trailing space" problem with 'unrar [lv]' + closing http://www.midnight-commander.org/ticket/3073 and bnc#849082 + +------------------------------------------------------------------- +Mon Nov 25 22:45:29 UTC 2013 - dnh@opensuse.org + +- What a ghastly %description ... Where'd that come from? ;) Fixed + with text from the README and a little added mention of Norton Cmdr + +------------------------------------------------------------------- +Mon Nov 25 22:12:19 UTC 2013 - dnh@opensuse.org + +- What's with those "trailing spaces" for filenames with length <13? + +------------------------------------------------------------------- +Mon Nov 25 03:47:18 UTC 2013 - dnh@opensuse.org + +- fix the urar patch (add trailing whitespace) (thanks to D. Werner again) + +------------------------------------------------------------------- +Sat Nov 23 18:11:35 UTC 2013 - dnh@opensuse.org + +- fix the urar patch (thanks to D. Werner again) + +------------------------------------------------------------------- +Sat Nov 23 05:42:12 UTC 2013 - dnh@opensuse.org + +- fix SLE* %post scriptlet error (%set_permissions not available) + +------------------------------------------------------------------- +Fri Nov 22 18:34:57 UTC 2013 - dnh@opensuse.org + +- make urar-helper patch portable (tested with busybox awk) + +------------------------------------------------------------------- +Fri Nov 15 07:31:20 UTC 2013 - dnh@opensuse.org + +- four argument ("seps") gawk split() is new in 4.0.0, so explicitly + require a gawk new enough + +------------------------------------------------------------------- +Tue Nov 12 21:09:36 UTC 2013 - dnh@opensuse.org + +- add mc-extfs-helpers-urar.patch to fix urar extfs failing on files + with spaces when unrar5 is used (bnc#849082). Thanks to D. Werner + for finding the problem and proposing the fix. + +------------------------------------------------------------------- +Mon Sep 30 17:23:48 CEST 2013 - sbrabec@suse.cz + +- Fix invalid mc.png (IDAT TFB error). + +------------------------------------------------------------------- +Fri Sep 27 12:10:18 UTC 2013 - nadvornik@suse.com + +- mc-startup-timeout.patch: reduce the timeout when a dns server does + not respond (bnc#824729) + +------------------------------------------------------------------- +Fri Aug 23 18:10:44 UTC 2013 - dnh@opensuse.org + +- update to 4.8.10 +- remove patch90 mc-bf3034-zip_in_tar.diff, fixed upstream +- remove patch91 mc-bf3040-mcedit_fd_leak.diff, fixed upstream +- more bugfixes: #3041, #3043, #3047, #2713, #3036 + see https://www.midnight-commander.org/ticket/ +- add libssh2 for sftp + +------------------------------------------------------------------- +Thu Jul 18 16:50:05 UTC 2013 - subchaser1@gmail.com + +- most annoying bug fixes imported from upcomming 4.8.10 + * add mc-bf3034-zip_in_tar.diff: Cannot enter into zip archive + in tar one (mc#3034) + * add mc-bf3034-editor-fd-leak.diff: file descriptor leak in + mcedit (mc#3040) + +------------------------------------------------------------------- +Wed Jul 17 10:24:58 UTC 2013 - subchaser1@gmail.com + +- 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 + +------------------------------------------------------------------- +Thu Mar 7 06:10:19 UTC 2013 - subchaser1@gmail.com + +- Update to 4.8.1.7 (latest stable release): + The changes since 4.8.1.4 are to numerous to list here. + Please see the file NEWS in the documentation for a complete list. + +------------------------------------------------------------------- +Mon Jul 23 13:35:04 UTC 2012 - subchaser1@gmail.com + +- extfs deb helper: execute uar helper as fall-back if deb utilities is not installed + +------------------------------------------------------------------- +Sat Jul 21 10:54:16 UTC 2012 - subchaser1@gmail.com + +- fixed deb file extension support, use dpkg-deb from 'deb' package + if installed + +------------------------------------------------------------------- +Sat Jul 21 09:39:11 UTC 2012 - subchaser1@gmail.com + +Updated to version 4.8.1.4 + +- Misc + * Tweak and cleanup of code in case of --disable-charset option usage (#2827) + * File extension support: + - .gem - rubygems (#2797) + - .cpio.xz - compressed cpio archives (#2798) + +- Fixes + * Build failure on FreeBSD 6 (#2808) + * src/filemanager/filegui.c does not compile on Solaris due to missing macros (#2825) + * Loss of data on copy to full partition (#2829) + * Misinterpretation of dirs as command line arguments (#2783, #2805) + * Number of panelized files was limited to 127 (#2813) + * URL with port was stored wrong in history (#2833) + * Can't find 00 (zeroes) in patterns in hex search (#2795) + * Hotkey conflicts in 'Search' dialog (#2843) + * Garbage directory listing in ftpfs (#2800) + * Incomplete sand256 skin (#2807) + * mcedit scripts are installed as data files (#1437) + * Tests failure on PowerPC,S390,S390x (#2804) + * Fail to compile if --without-vfs configure option specified (#2834) + * do_panel_cd: FTBFS with --enable-tests on [kfreebsd-i386,kfreebsd-amd64,ia64,armhf] (#2803) + +------------------------------------------------------------------- +Mon May 28 09:37:28 UTC 2012 - subchaser1@gmail.com + +- cmake syntax revisited + +------------------------------------------------------------------- +Thu May 10 07:06:53 UTC 2012 - subchaser1@gmail.com + +- Samba VFS restored, fixed path to smb.conf + +------------------------------------------------------------------- +Thu Apr 26 11:30:00 UTC 2012 - subchaser1@gmail.com + +- Update to 4.8.1.3 (regression fix release): + This release fixes two regressions in the just-released + previous stable version: a crash in the chown and symlink dialogs, + and an erroneous error popup when entering a tar archive. + +------------------------------------------------------------------- +Mon Apr 23 08:55:27 UTC 2012 - subchaser1@gmail.com + +- Update to 4.8.1.2 (bugfix release): + The changes since 4.8.1.1 are to numerous to list here. + Please see the file NEWS in the documentation for a complete list. + +- mc-mcviewsegfault.patch removed, fixed in changeset 95fdd2 + +------------------------------------------------------------------- +Wed Apr 4 15:53:44 UTC 2012 - subchaser1@gmail.com + +- .torrent extension viewer fixed + +------------------------------------------------------------------- +Sat Mar 24 08:54:23 UTC 2012 - subchaser1@gmail.com + +- x11_browser issues fixed + * use xdg-open if it possible + * HTML-files openning fixed + * firefox & chromium detection added + +------------------------------------------------------------------- +Wed Mar 21 06:33:55 UTC 2012 - subchaser1@gmail.com + +- Update to 4.8.1.1. Major changes is: + * License version updated to GPL3+ (#1551) + * Configuration files was moved from your $HOME/.mc directory into + XDG_CONFIG_* directories to respect FDO standard + * VFS structure and paths is changed + * keybinding names was renamed to provide some unification + The changes since 4.7.5 are to numerous to list here. + Please see the file NEWS in the documentation for a complete list. +- an CMake language syntax highlighting for mcedit added +- added .torrent extension +- use meadiainfo (if exists) to view multimemedia files + +------------------------------------------------------------------- +Fri Feb 3 09:00:29 UTC 2012 - dlovasko@suse.com + +- Fixed rpmlint warning - added -fpie and -pie to compilation and linking of consaver + +------------------------------------------------------------------- +Wed Nov 23 09:28:21 UTC 2011 - coolo@suse.com + +- add libtool as buildrequire to avoid implicit dependency + +Thu Aug 11 08:44:25 UTC 2011 - vladspbru@gmail.com + +- update to 4.7.5.3 + * numerous changes and enhancements, see + /usr/share/doc/packages/mc/NEWS + +------------------------------------------------------------------- +Mon Apr 25 08:25:11 UTC 2011 - lazy.kent@opensuse.org + +- Don't convert Russian and Ukrainian docs. They have been already + in UTF-8 (bnc#686483). +- Install help and hints for non-english locales (bnc#681060). + +------------------------------------------------------------------- +Wed Mar 23 08:19:15 UTC 2011 - pcerny@novell.com + +- keep english version of help and hints in the main package + +------------------------------------------------------------------- +Wed Feb 9 13:21:08 UTC 2011 - vcizek@novell.com + +- update to 4.7.5.1 + * numerous changes and enhancements, see + /usr/share/doc/packages/mc/NEWS + +------------------------------------------------------------------- +Wed Dec 29 22:14:04 UTC 2010 - aj@suse.de + +- Delete be@tarask translation. + +------------------------------------------------------------------- +Tue Sep 14 15:45:42 CEST 2010 - pth@suse.de + +- Fix wrapper script for sh, change Makefile to substitute + datadir (bnc#639044). +- Update to 4.7.0.9. Changes since 4.7.0.7: + * Translation updates. + * Added Galician translation. + * Fix potential division by zero in Info panel. + * Regexp replace only transforms the first occurence correctly. + * Fix remaining plain int types in VFS. + * Add "Toggle syntax highlighting" menu item. + * Fix restoring of signals even if fork() fails. + * Fix Segfault in replacement confirmation in editor. + +------------------------------------------------------------------- +Thu Sep 9 08:00:14 UTC 2010 - aj@suse.de + +- BuildRequire gpm-devel + +------------------------------------------------------------------- +Wed Sep 8 15:50:28 UTC 2010 - pth@novell.com + +- Add missing changes entry. +- Update to 4.7.0.7. The changes since 4.6.2 are to numerous to + list here. Please see the file NEWS in the documentation for + a complete list. +- Remove unneeded patches. + +------------------------------------------------------------------- +Tue Jul 13 11:57:31 CEST 2010 - pth@suse.de + +- Fix pointer <-> int casts. +- Install x11_browser to _datadir/mc. + +------------------------------------------------------------------- +Thu Mar 18 07:35:09 UTC 2010 - prusnak@suse.cz + +- little cleanup + +------------------------------------------------------------------- +Sun Oct 11 10:16:07 UTC 2009 - mseben@novell.com + +- added mc-mkdir_mc_home.patch - create .mc home dir at startup (bnc#533262) + +------------------------------------------------------------------- +Mon Jul 13 21:22:27 CEST 2009 - coolo@novell.com + +- only things that can be split into bundles can go into -lang +- do not require but recommend the -lang package + +------------------------------------------------------------------- +Wed May 20 14:47:14 CEST 2009 - nadvornik@suse.cz + +- really apply 05_add_lzma_xz_support.patch + +------------------------------------------------------------------- +Wed May 6 16:17:17 CEST 2009 - nadvornik@suse.cz + +- fixed crash in utf-8 patch [bnc#500516] +- allow to specify port number in the shell link [bnc#483249] + +------------------------------------------------------------------- +Thu Mar 12 16:35:18 CET 2009 - prusnak@suse.cz + +- added xz support (05_add_lzma_xz_support.patch) + +------------------------------------------------------------------- +Wed Feb 25 16:45:41 CET 2009 - sbrabec@suse.cz + +- Fixed Esc + Numeral F-key emulation (mc#287). +- Convert Serbian files to UTF-8. +- UTF-8 conversion moved to %prep. +- Locale specific files moved to -lang package. + +------------------------------------------------------------------- +Thu Feb 12 14:42:05 CET 2009 - nadvornik@suse.cz + +- updated to final 4.6.2: + * many patches mentioned bellow were included upstream + +------------------------------------------------------------------- +Thu Nov 27 11:14:29 CET 2008 - nadvornik@suse.cz + +- added desktop file [bnc#434809] + +------------------------------------------------------------------- +Thu Oct 9 11:57:28 CEST 2008 - nadvornik@suse.cz + +- fixed dynamic loading of X11 library + [http://savannah.gnu.org/bugs/index.php?24505] + +------------------------------------------------------------------- +Tue Sep 9 18:05:39 CEST 2008 - nadvornik@suse.cz + +- added bugfixes from upstream cvs and from debian package for + * preserve Attributes checkbox [bnc#419832] + * fish filesystem [bnc#400515] + * regexp matching + * lzma support [bnc#400388] + * other fixes and improvements +- fixed information displayed for rpm files [bnc#410704] +- partialy fixed SHIFT-Fn key behavior [bnc#400552] + +------------------------------------------------------------------- +Mon Mar 31 18:30:47 CEST 2008 - nadvornik@suse.cz + +- fixed cursor appearance on visible tabs + +------------------------------------------------------------------- +Mon Nov 5 13:31:25 CET 2007 - nadvornik@suse.cz + +- updated to 4.6.2-pre1 + * improved subshell handling + * improved fish filesystem + * a lot of other fixes and enhancements +- updated UTF-8 patches using Fedora package +- added support for weak rpm dependencies in VFS + +------------------------------------------------------------------- +Tue Aug 28 16:38:08 CEST 2007 - nadvornik@suse.cz + +- link duplicate files only inside /usr [#304167] + +------------------------------------------------------------------- +Sat Aug 11 10:49:20 CEST 2007 - olh@suse.de + +- remove umode_t checks + use offsetof() in vfs-impl.h + build parallel + move iconv updates to build section to fix quilt setup -v *.spec + +------------------------------------------------------------------- +Tue Aug 7 23:54:20 CEST 2007 - maw@suse.de + +- Use %fdupes +- Split off a -lang subpackage. + +------------------------------------------------------------------- +Tue Jul 17 17:03:06 CEST 2007 - nadvornik@suse.cz + +- fixed terminal escape sequences parsing (#253401) + +------------------------------------------------------------------- +Mon Apr 2 14:45:10 CEST 2007 - rguenther@suse.de + +- add gpm BuildRequires + +------------------------------------------------------------------- +Mon Jan 15 16:32:49 CET 2007 - nadvornik@suse.cz + +- fixed special characters quoting for bash 3.2 [#232411] + +------------------------------------------------------------------- +Wed Oct 4 15:34:51 CEST 2006 - nadvornik@suse.cz + +- built with --with-samba [#207643] +- fixed displaying of nlink column in utf8 mode [#194715] +- spec file cleanup [#194392] + +------------------------------------------------------------------- +Wed Jun 7 12:30:32 CEST 2006 - nadvornik@suse.cz + +- fixes for Slang2 [#177920, #176327] + +------------------------------------------------------------------- +Tue Apr 18 15:03:49 CEST 2006 - schwab@suse.de + +- Revert last change, kernel headers have been fixed. + +------------------------------------------------------------------- +Tue Apr 18 13:09:49 CEST 2006 - nadvornik@suse.cz + +- fixed check for umode_t; it fixes compilation on ppc64 + +------------------------------------------------------------------- +Fri Apr 7 12:28:29 CEST 2006 - lmichnovic@suse.cz + +- adjusted ogg file opening (updated apps.patch) + +------------------------------------------------------------------- +Mon Mar 13 15:50:32 CET 2006 - nadvornik@suse.cz + +- make sure that backgrounded applications do not write + to terminal [#153178] +- use realplay if available +- recognize .hpp files + +------------------------------------------------------------------- +Tue Mar 7 19:28:34 CET 2006 - lmichnovic@suse.cz + +- fixed bash specific syntax in /etc/profile.d/mc.sh [#155644] + (updated wrapper.patch) +- changed default application to open images with from xv to display + (updated apps.patch) + +------------------------------------------------------------------- +Thu Feb 9 17:23:10 CET 2006 - nadvornik@suse.cz + +- fixed switching long panels [143265] +- fixed crash on error in getpwuid + +------------------------------------------------------------------- +Tue Feb 7 01:55:08 CET 2006 - ro@suse.de + +- fix build for < 10.1 + +------------------------------------------------------------------- +Fri Jan 27 02:12:15 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Tue Jan 24 16:55:56 CET 2006 - nadvornik@suse.cz + +- used exported bash function in mc wrapper [#127769] +- fixed crash during renaming UTF-8 filenames [#131997] + +------------------------------------------------------------------- +Thu Jan 12 16:31:10 CET 2006 - nadvornik@suse.cz + +- compile with -fstack-protector + +------------------------------------------------------------------- +Wed Oct 12 14:04:16 CEST 2005 - nadvornik@suse.cz + +- added patch for slang2 + +------------------------------------------------------------------- +Wed Aug 10 11:15:24 CEST 2005 - nadvornik@suse.cz + +- added .tbz2 and .djvu extension [fixes #98447] + +------------------------------------------------------------------- +Mon Aug 1 14:34:19 CEST 2005 - nadvornik@suse.cz + +- updated to final 4.6.1 + +------------------------------------------------------------------- +Thu Apr 14 17:17:06 CEST 2005 - sbrabec@suse.cz + +- Added audiofile-devel to neededforbuild. + +------------------------------------------------------------------- +Mon Mar 7 12:20:39 CET 2005 - nadvornik@suse.cz + +- updated external applications + +------------------------------------------------------------------- +Mon Jan 24 10:21:20 CET 2005 - meissner@suse.de + +- 0 -> NULL in one glib call. + +------------------------------------------------------------------- +Fri Jan 21 12:39:04 CET 2005 - nadvornik@suse.cz + +- updated to 4.6.1-pre3 + +------------------------------------------------------------------- +Fri Nov 12 14:36:08 CET 2004 - ro@suse.de + +- correct permissions handling for /usr/lib/mc/cons.saver + +------------------------------------------------------------------- +Sat Oct 23 15:48:38 CEST 2004 - mmj@suse.de + +- rename no til nb + +------------------------------------------------------------------- +Fri Sep 10 11:59:41 CEST 2004 - nadvornik@suse.cz + +- fixed quoting in extfs script CAN-2004-0494 [#43151] +- fixed show_output_starts_shell option [#44777] +- fixed mcedit crash [#43178] + +------------------------------------------------------------------- +Wed Jun 30 12:28:00 CEST 2004 - nadvornik@suse.cz + +- many fixes in UTF8 patches +- fixed freeze on rar archives with password [#41591] +- allow large screen size [#41475] + +------------------------------------------------------------------- +Fri Apr 23 12:16:56 CEST 2004 - nadvornik@suse.cz + +- fixed various buffer overflows and temp file handling [#38577] +- fixed crash on broken UTF-8 characters in directory name [#39309] + +------------------------------------------------------------------- +Wed Mar 31 17:12:28 CEST 2004 - nadvornik@suse.cz + +- fixed sort options in mc-posix_options.diff + +------------------------------------------------------------------- +Wed Mar 31 11:08:02 CEST 2004 - nadvornik@suse.cz + +- do not strip UTF-8 characters from prompt and xterm title [#37542] + +------------------------------------------------------------------- +Thu Mar 25 15:28:13 CET 2004 - nadvornik@suse.cz + +- fixed crash with NULL return from getpwuid [#36867] + +------------------------------------------------------------------- +Thu Mar 18 15:24:29 CET 2004 - nadvornik@suse.cz + +- fixed another crash in slang + +------------------------------------------------------------------- +Mon Mar 15 12:16:16 CET 2004 - nadvornik@suse.cz + +- fixed external applications + +------------------------------------------------------------------- +Thu Mar 11 12:11:15 CET 2004 - nadvornik@suse.cz + +- better fix for the crash is slang +- various fixes in utf8 patch + +------------------------------------------------------------------- +Tue Mar 09 11:33:34 CET 2004 - nadvornik@suse.cz + +- fixed crash if TERM is unset +- fixed viewing files in tar archives + +------------------------------------------------------------------- +Mon Mar 08 17:41:36 CET 2004 - nadvornik@suse.cz + +- fixed forward/backward word functions in utf8 patch + +------------------------------------------------------------------- +Fri Mar 05 18:51:45 CET 2004 - nadvornik@suse.cz + +- fixes in utf8 patches +- do not let XOpenDisplay exit [#31960] + +------------------------------------------------------------------- +Mon Mar 01 17:55:14 CET 2004 - nadvornik@suse.cz + +- added utf8 support in commandline, viewer and editor + +------------------------------------------------------------------- +Wed Feb 18 17:42:19 CET 2004 - sbrabec@suse.cz + +- Added all available UTF-8 patches (mostly from from Jakub Jelinek + ). + +------------------------------------------------------------------- +Sat Jan 10 12:54:19 CET 2004 - adrian@suse.de + +- build as user + +------------------------------------------------------------------- +Thu Jan 8 12:14:26 CET 2004 - pthomas@suse.de + +- Fix the handling of symlinks inside tarballs which would lead + to a segfault with suitably constructed tarballs. + +------------------------------------------------------------------- +Fri Aug 29 15:52:15 CEST 2003 - pthomas@suse.de + +- Change extfs commands to use posix conforming options + for head and sort. (#29657) + +------------------------------------------------------------------- +Tue Jul 15 16:39:50 CEST 2003 - sbrabec@suse.cz + +- Autoreconf with GNOME prefix. + +------------------------------------------------------------------- +Fri Jun 13 08:31:45 CEST 2003 - kukuk@suse.de + +- Fix filelist + +------------------------------------------------------------------- +Fri Apr 4 11:56:21 CEST 2003 - pthomas@suse.de + +- Enable character set conversion by compiling with + --enable-charset. + +------------------------------------------------------------------- +Wed Feb 26 16:03:46 CET 2003 - pthomas@suse.de + +- Fix the bug that leads to a segfault when viewing + files and simplify the range check. +- Get rid of the caddr_t anachronism. +- Use g_try_malloc when using glib2, as g_malloc terminates + the application when it fails ..... + +------------------------------------------------------------------- +Mon Feb 17 19:17:22 CET 2003 - pthomas@suse.de + +- Update to 4.6.0 which officially removes gmc. +- Get rid of now obsolete patches and adapt those that + still apply. + +------------------------------------------------------------------- +Tue Feb 4 11:12:45 CET 2003 - pthomas@suse.de + +- Only include %{_libdir}/mc in files on biarch platforms. + +------------------------------------------------------------------- +Mon Jan 27 15:27:51 CET 2003 - pthomas@suse.de + +- Drop gmc sub package. +- Also check for ksh in mc.sh to decide whether or not to use + 'export -f' + +------------------------------------------------------------------- +Mon Nov 11 11:26:13 CET 2002 - ro@suse.de + +- changed neededforbuild to +- changed neededforbuild to +- changed neededforbuild to <> + +------------------------------------------------------------------- +Wed Oct 23 19:04:57 CEST 2002 - sbrabec@suse.cz + +- Fixed dangling symlink for mcview. + +------------------------------------------------------------------- +Fri Sep 27 14:34:17 CEST 2002 - ro@suse.de + +- Added alsa alsa-devel to neededforbuild (esound) + +------------------------------------------------------------------- +Mon Sep 16 12:18:03 CEST 2002 - pthomas@suse.de + +- Make mc use the system supplied slang library. + +------------------------------------------------------------------- +Wed Sep 11 13:36:00 CEST 2002 - pthomas@suse.de + +- Make full eight bits input the default (bug #15721). +- Use the gnome macros supplied with gnome-common. +- Use file type rather then regex to identify Word documents. +- Use wvText instead of word2x for displaying MS Word documents. + +------------------------------------------------------------------- +Tue Aug 20 02:24:54 CEST 2002 - mmj@suse.de + +- Correct PreReq + +------------------------------------------------------------------- +Fri Aug 2 17:33:37 CEST 2002 - pthomas@suse.de + +- Fix building with older versions of ext2fs lib + (AKA older distributions): + - Make configure check for presence of ext2_ino_t in ext2fs.h. + - Use test result in vfs/undelfs.c + +------------------------------------------------------------------- +Sat Jul 27 15:43:47 CEST 2002 - adrian@suse.de + +- fix %pre script and neededforbuild + +------------------------------------------------------------------- +Fri May 31 15:57:21 CEST 2002 - ro@suse.de + +- changed neededforbuild to + +------------------------------------------------------------------- +Mon Apr 8 15:26:06 CEST 2002 - ro@suse.de + +- run gettextize + +------------------------------------------------------------------- +Fri Mar 15 13:26:57 CET 2002 - pthomas@suse.de + +- Use w3m instead of lynx for html. Fixes #15012 + +------------------------------------------------------------------- +Thu Feb 7 12:10:40 MET 2002 - mmj@suse.de + +- ... and then fix a stupid typo in the below fix... + +------------------------------------------------------------------- +Thu Feb 7 11:40:16 MET 2002 - mmj@suse.de + +- Fixed the below thing in a more POSIX compliant way + +------------------------------------------------------------------- +Tue Feb 5 17:20:14 CET 2002 - mmj@suse.de + +- Added missing function to ms.sh + +------------------------------------------------------------------- +Fri Feb 1 00:26:05 CET 2002 - ro@suse.de + +- changed neededforbuild to + +------------------------------------------------------------------- +Thu Jan 24 12:16:05 CET 2002 - okir@suse.de + +- fixed various tempfile races (mostly with unpacking/packing + of compressed files for editing) + +------------------------------------------------------------------- +Mon Jan 14 18:08:58 CET 2002 - egmont@suselinux.hu + +- Removed rpmview patch, no longer needed since 4.5.55. + +------------------------------------------------------------------- +Thu Dec 6 18:44:51 CET 2001 - pthomas@suse.de + +- Include *all* gnome autoconf macros needed to + rebuild aclocal.m4. + +------------------------------------------------------------------- +Fri Nov 30 15:08:32 CET 2001 - ro@suse.de + +- changed neededforbuild to + +------------------------------------------------------------------- +Mon Nov 26 15:54:59 CET 2001 - pthomas@suse.de + +- Update to 4.5.55. +- Enable large file support. +- Gracefully handle the case when file size exceeds what + g_malloc can handle. +- Don't hard-code the GUI web browser but call a script that + uses whatever's installed. +- Use ext2_ino_t instead of ino_t. +- Add German hints. + +------------------------------------------------------------------- +Thu Oct 18 15:52:35 CEST 2001 - egmont@suselinux.hu + +- F3 on an RPM shows sane output (kind of rpm -qilp) instead of raw + binary. + +------------------------------------------------------------------- +Thu Sep 20 20:57:05 CEST 2001 - pthomas@suse.de + +- Fix handling of RPMs. This isn't a final fix, but at least + avoids the error. + +------------------------------------------------------------------- +Tue Sep 4 11:10:21 CEST 2001 - kukuk@suse.de + +- Removed smbclnt requires + +------------------------------------------------------------------- +Mon Aug 27 10:52:21 CEST 2001 - kukuk@suse.de + +- Removed samba-client, not need any longer + +------------------------------------------------------------------- +Mon Aug 27 10:02:15 CEST 2001 - ro@suse.de + +- replaced by in neededforbuild + +------------------------------------------------------------------- +Wed Aug 15 04:28:20 CEST 2001 - pthomas@suse.de + +- Redo declaration fixes. +- Drop samba support, it's dependencies cause too much trouble. +- Reduce compiler warnings. +- Require autoconf 2.53 as this allows use of AC_CHECK_DECLS +- Use AC_CHECK_DECLS to properly control local prototypes. + +------------------------------------------------------------------- +Mon Aug 13 15:51:56 CEST 2001 - ro@suse.de + +- changed neededforbuild to + +------------------------------------------------------------------- +Sat Aug 11 17:25:44 CEST 2001 - schwab@suse.de + +- Fix missing declarations *again*. + +------------------------------------------------------------------- +Tue Jul 31 17:40:25 CEST 2001 - cstein@suse.de + +- wrote an assembly language syntax highlighting for mcedit + (Intel syntax) + +------------------------------------------------------------------- +Sat Jul 7 16:50:21 MEST 2001 - egger@suse.de + +- Updated to version 4.5.54. +- Had to remove a few patches to make it build. +- Buildproofed on all architectures. + +------------------------------------------------------------------- +Wed Jun 27 11:10:39 CEST 2001 - cstein@suse.de + +- Modified mc to include some helpful functions for palm pilot + users; modifications added as patch 30 (see spec file) + +------------------------------------------------------------------- +Mon Jun 11 17:24:50 CEST 2001 - pthomas@suse.de + +- Create missing stamp-h.in that prevented mc to build. +- Don't use --with-gpm-mouse on s390 + +------------------------------------------------------------------- +Sat May 12 17:54:24 CEST 2001 - schwab@suse.de + +- Fix missing declarations. + +------------------------------------------------------------------- +Wed May 9 16:58:37 CEST 2001 - pthomas@suse.de + +- remove samba codepages and require smbclnt. + Fixes Bug #7924 +- compress sources with bzip2 + +------------------------------------------------------------------- +Tue May 8 16:13:34 CEST 2001 - pthomas@suse.de + +- Include codepages from samba package and modify source to + search them in /usr/lib/mc/codepages. Fixes bug #7647 + +------------------------------------------------------------------- +Fri Apr 20 15:17:26 CEST 2001 - pthomas@suse.de + +- Fix call of suse_update_config macro. +- Remove offending multibyte sequence from Korean message + catalog and reenable building it. + +------------------------------------------------------------------- +Wed Apr 18 10:49:41 CEST 2001 - pthomas@suse.de + +- Disable building of the korean message catalog because + gettext 0.10.36 rejects it. + +------------------------------------------------------------------- +Sat Apr 7 19:53:06 CEST 2001 - schwab@suse.de + +- Correct handling of filenames in zoo and zip files. + Fixes Bug #6846. +- Add %suse_update_config. +- Fix configure check for off64_t and ino64_t. + +------------------------------------------------------------------- +Sat Apr 7 06:38:35 CEST 2001 - pthomas@suse.de + +- Remove regex match for *,[Dd]oc files and just rely on the + file type check. Add a second file type check as file(1) now + reports 'Microsoft office document'. Fixes Bug #6861 + +------------------------------------------------------------------- +Tue Mar 27 12:08:51 CEST 2001 - ro@suse.de + +- changed neededforbuild to + +------------------------------------------------------------------- +Tue Mar 20 04:09:56 CET 2001 - pthomas@suse.de + +- Compile with samba and ext2 undelete support +- Add esound-devel and e2fsprogs-devel to neededforbuild +- Remove unnecessary checks from samba configure +- Add security fix for subshell +- Add security fix for cons.saver + +------------------------------------------------------------------- +Tue Mar 13 12:58:39 CET 2001 - ro@suse.de + +- added xf86 to neededforbuild + +------------------------------------------------------------------- +Tue Mar 13 01:12:28 CET 2001 - ro@suse.de + +- changed neededforbuild to + +------------------------------------------------------------------- +Sun Feb 25 18:28:47 MET 2001 - egger@suse.de + +- Remove unnecessary dependencies from #neededforbuild, + especially imlib-config. + +------------------------------------------------------------------- +Fri Feb 23 00:10:25 CET 2001 - ro@suse.de + +- added readline/readline-devel to neededforbuild (split from bash) + +------------------------------------------------------------------- +Tue Feb 20 15:11:12 CET 2001 - uli@suse.de + +- fixed for new glibc + +------------------------------------------------------------------- +Tue Jan 30 23:35:00 CET 2001 - ro@suse.de + +- changed neededforbuild to + +------------------------------------------------------------------- +Sun Jan 21 11:04:06 CET 2001 - violiet@suse.de + +- added eightbit-clean.patch to view/edit for Japanese and + Korean characters. +- added improvement Japanese latest .po from CVS. +- added improvement Korean .po and mc hint message file. + +------------------------------------------------------------------- +Fri Dec 15 15:29:31 CET 2000 - hhetter@suse.de + +- fix for dead link on startup-links, fixing bug id#4700 +- changed startup-link URLs + +------------------------------------------------------------------- +Tue Nov 21 17:46:13 CET 2000 - werner@suse.de + +- Add kvt and gnome as valid TERMinals +- Add some newer xterm escape sequences (oldFunctionsKeys) +- console, linux xterm-color, kvt, and gnome are colored TERMinals + +------------------------------------------------------------------- +Mon Nov 6 06:10:19 MET 2000 - pthomas@suse.de + +- Remove version number from spec file name +- Add additional key definitions for mc.lib +- Clean up the spec file a bit. + +------------------------------------------------------------------- +Sun Nov 5 15:20:14 CET 2000 - kukuk@suse.de + +- adjust neededforbuild + +------------------------------------------------------------------- +Wed Nov 1 01:21:05 MET 2000 - egger@suse.de + +- Updated specfile to new long packagenames. +- Reworked specfile. +- Probably needs some more work; I'm taking care of that. + +------------------------------------------------------------------- +Mon Sep 25 17:06:29 MEST 2000 - egger@suse.de + +- Updated to 4.5.51. +- Buildproofed on i386. + +------------------------------------------------------------------- +Wed May 31 01:06:40 CEST 2000 - baulig@suse.de + +- update: 4.5.50. + +------------------------------------------------------------------- +Sun May 28 03:18:02 CEST 2000 - baulig@suse.de + +- update: 4.5.49. +- use %{ver} instead of the direct version number in tarball name. + +------------------------------------------------------------------- +Mon Dec 13 16:07:55 MET 1999 - ke@suse.de + +- update: 4.5.42. + +------------------------------------------------------------------- +Thu Nov 18 13:51:38 CET 1999 - ke@suse.de + +- update: 4.5.41. +- create HTML documentation (add SGML packages to neededfoarbuild...). +- add SuSE startup-link ;) + +------------------------------------------------------------------- +Fri Oct 29 19:17:59 CEST 1999 - ke@suse.de + +- fix /etc/opt/gnome vs. /opt/gnome/etc. + +------------------------------------------------------------------- +Thu Oct 14 14:07:51 CEST 1999 - ke@suse.de + +- update: 4.5.40. +- add some RH patches. + +------------------------------------------------------------------- +Mon Sep 27 16:31:01 CEST 1999 - bs@suse.de + +- fixed requirements for sub packages + +------------------------------------------------------------------- +Fri Sep 24 17:56:53 MEST 1999 - ke@suse.de + +- update: version 4.5.39. + +------------------------------------------------------------------- +Fri Sep 17 13:56:05 MEST 1999 - ke@suse.de + +- update: version 4.5.38. + +------------------------------------------------------------------- +Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de + +- ran old prepare_spec on spec file to switch to new prepare_spec. + +------------------------------------------------------------------- +Thu Jul 15 19:26:11 MEST 1999 - ke@suse.de + +- update: version 4.5.37. + +------------------------------------------------------------------- +Tue Jul 13 12:42:22 MEST 1999 - bs@suse.de + +- use gtk and glib instead of gtkn and glibn + +------------------------------------------------------------------- +Mon Jul 12 10:02:58 MEST 1999 - ke@suse.de + +- update: version 4.5.36. + +------------------------------------------------------------------- +Tue Jun 8 18:20:36 MEST 1999 - kukuk@suse.de + +- Add pam to needforbuild + +------------------------------------------------------------------- +Sun May 30 15:55:33 MEST 1999 - ke@suse.de + +- update: version 4.5.33. + +------------------------------------------------------------------- +Tue Apr 13 14:01:38 MEST 1999 - ke@suse.de + +- update: version 4.5.30 (security fixes - /tmp exploids...). + +------------------------------------------------------------------- +Tue Apr 6 15:08:24 MEST 1999 - ro@suse.de + +- only link gmc.gnorba for /etc/opt/gnome/CORBA/servers + +------------------------------------------------------------------- +Mon Apr 5 14:26:29 MEST 1999 - bs@suse.de + +- fixed date strings in .changes. + +------------------------------------------------------------------- +Mon Apr 5 13:50:27 MEST 1999 - bs@suse.de + +- use absolute links to prevent problems with a symlinked /opt. + +------------------------------------------------------------------- +Sun Mar 14 13:29:52 MET 1999 - ke@suse.de + +- update: version 4.5.25. + +------------------------------------------------------------------- +Wed Mar 10 15:05:18 MET 1999 - ke@suse.de + +- update: version 4.5.24. + +------------------------------------------------------------------- +Thu Mar 4 09:36:07 MET 1999 - ke@suse.de + +- update: version 4.5.23 (bugfix release). +- filelist. + +------------------------------------------------------------------- +Sat Feb 27 15:57:05 MET 1999 - ke@suse.de + +- update: version 4.5.22 (bugfix release). + +------------------------------------------------------------------- +Fri Feb 26 15:51:18 MET 1999 - ke@suse.de + +- update: version 4.5.21 (bugfix release). +- --disable-nls (it makes mc segfault). +- now, the text oriented part of the package (mc.rpm) lives under /usr + again. + +------------------------------------------------------------------- +Wed Feb 17 09:05:02 MET 1999 - ke@suse.de + +- update: version 4.5.17 (bugfix release). +- use sysconfdir=/etc/opt/gnome. +- #neededforbuild: add esound and audiofil. + +------------------------------------------------------------------- +Sun Feb 14 10:39:24 MET 1999 - ke@suse.de + +- update: version 4.5.14 (bugfix release). + +------------------------------------------------------------------- +Thu Feb 11 10:53:07 MET 1999 - ke@suse.de + +- update: version 4.5.13. + +------------------------------------------------------------------- +Sat Feb 6 01:23:59 MET 1999 - ro@suse.de + +- fixed neededforbuild + +------------------------------------------------------------------- +Thu Feb 4 10:40:51 MET 1999 - ke@suse.de + +- update: version 4.5.10. +- now, there's the subpackage `gmc' containing the GNOME compliant version + of mc. +- make the package BuildRoot capable. + +------------------------------------------------------------------- +Wed Dec 9 12:47:08 MET 1998 - ke@suse.de + +- update to mc 4.1.36 (bugfix release). + +------------------------------------------------------------------- +Thu Sep 24 21:18:27 MEST 1998 - ke@suse.de + +- enable NLS. +- install documentation and COPYING via the %doc macro. + +------------------------------------------------------------------- +Tue Sep 22 17:51:18 MEST 1998 - ro@suse.de + +- update to mc 4.1.35 using diff from jurix mirror + merged changes to mc.lib from mc-4.1.11-suse and current (+ibmpc3) + +---------------------------------------------------------------------------- +Wed Nov 19 13:01:54 MET 1997 - florian@suse.de + +- update to mc 4.1.11 + +---------------------------------------------------------------------------- +Sun Nov 16 23:10:51 MET 1997 - florian@suse.de + +- oops, forgot mc.lib-changes from Werner + +---------------------------------------------------------------------------- +Fri Oct 10 13:16:04 MEST 1997 - florian@suse.de + +- update to version 4.1.4 + +---------------------------------------------------------------------------- +Sun Jun 22 18:57:49 MEST 1997 - florian@suse.de + +- update to version 4.0 + +---------------------------------------------------------------------------- +Wed May 28 17:03:24 MET DST 1997 - werner@suse.de + +- new mc.lib added + +---------------------------------------------------------------------------- +Wed Jan 22 22:24:11 CET 1997 - florian@suse.de + +- enable gpm support + +---------------------------------------------------------------------------- +Tue Nov 26 20:15:03 CET 1996 - florian@suse.de + +- update to version 3.2.11 + +---------------------------------------------------------------------------- +Mon Sep 2 17:49:41 MET DST 1996 - florian@suse.de + +- Es wird nicht mehr mit libgpm-Unterstuetzung kompiliert, da slang + und libgpm sich nicht vertragen. (libgpm laed libncurses, das geht + mit libslang.a nicht...) + +---------------------------------------------------------------------- +Sun Aug 25 19:28:50 MET DST 1996 - florian@suse.de + +- new version 3.2.7 +- for screen output, mc now uses the slang library and not the ncurses functions + directly diff --git a/mc.desktop b/mc.desktop new file mode 100644 index 0000000..0843b5b --- /dev/null +++ b/mc.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Type=Application +Name=Midnight Commander +GenericName=File Manager +Exec=mc +Terminal=true +Icon=mc + diff --git a/mc.fish b/mc.fish new file mode 100644 index 0000000..affeabe --- /dev/null +++ b/mc.fish @@ -0,0 +1,25 @@ +function mc --description='Midnight Commander' + set -q TMPDIR || set -gx TMPDIR /tmp + set -gx _fish_MC_PWD_FILE $TMPDIR/mc-(id -un)/mc.pwd.$fish_pid + command mc -P "$_fish_MC_PWD_FILE" $argv + + if test -r $_fish_MC_PWD_FILE + set -gx _fish_MC_PWD (cat $_fish_MC_PWD_FILE) + if test -n $_fish_MC_PWD && test $_fish_MC_PWD != $PWD && test -d $_fish_MC_PWD + cd $_fish_MC_PWD + end + set -e _fish_MC_PWD + end + + set -e _fish_MC_PWD_FILE + set -e _fish_MC_USER + + function _remove_tmp --on-job-exit caller --inherit-variable _fish_MC_PWD_FILE + command rm $_fish_MC_PWD_FILE + set -f dirn (dirname $_fish_MC_PWD_FILE) + if test -d "$dirn" + rm -f $dirn + end + functions -e _remove_tmp + end +end diff --git a/mc.png b/mc.png new file mode 100644 index 0000000..dbf8ddf --- /dev/null +++ b/mc.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0bca715a4e2cc6f5f582b2a49596e4d52802d1e400b5bb1c185d044d4dcd56fc +size 923 diff --git a/mc.spec b/mc.spec new file mode 100644 index 0000000..6e85ac5 --- /dev/null +++ b/mc.spec @@ -0,0 +1,237 @@ +# +# spec file for package mc +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: mc +Version: 4.8.32 +Release: 0 +Summary: Midnight Commander +License: GPL-3.0-or-later +Group: Productivity/File utilities +URL: https://midnight-commander.org/ +Source0: http://ftp.midnight-commander.org/mc-%{version}.tar.xz +Source1: x11_browser +Source2: %{name}.desktop +Source3: %{name}.png +Source4: cmake.syntax +Source6: http://ftp.midnight-commander.org/%{name}-%{version}.sha256 +Source7: mc.fish +Patch0: mc-fix_lib_search_path.patch +Patch12: mc-wrapper.patch +# PATCH-FIX-UPSTREAM 4575-fix-wrapper.patch https://midnight-commander.org/ticket/4575 -- fix mc-wrapper (already merged for next release) +# + https://github.com/MidnightCommander/mc/commit/d081bc68aa6ad3ded515ea490118b0a38a1ec204 +Patch13: 4575-fix-wrapper.patch +Patch16: mc-esc-seq.patch +Patch20: mc-f-keys.patch +Patch21: mc-extfs-helpers-deb.patch +# add patch. bnc#856501 +# http://www.midnight-commander.org/ticket/3128 +Patch22: mc-vfs-fish-deleted_source_file.patch +#Debian fixes +Patch32: 20_wrong_path_to_wrappers.patch +# PATCH-FIX-UPSTREAM mc-multi-press-f-keys.patch mc287 sbrabec@suse.cz - Fixed Esc + Numeral F-key emulation. +Patch41: mc-multi-press-f-keys.patch +# PATCH-FIX-UPSTREAM 4258-fish-subshell-prompt.patch https://midnight-commander.org/ticket/4258 mcepl@suse.com +# don't send \r while printing prompt +Patch42: 4258-fish-subshell-prompt.patch +# Patches from Fedora +#Patch adding -fpie and -pie to compilation and linking of setuid binaries +Patch52: mc-pie.patch +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 +# PATCH-FEATURE-OPENSUSE mc-ext-obscpio.patch bsc#1233006 mcepl@suse.com +# mc can now handle SUSE *.obscpio archives +Patch72: mc-ext-obscpio.patch +Patch100: xls2csv_update.patch +BuildRequires: audiofile-devel +BuildRequires: e2fsprogs-devel +BuildRequires: gettext >= 0.18.1 +BuildRequires: glib2-devel >= 2.32.0 +BuildRequires: gpm-devel +BuildRequires: libssh2-devel +BuildRequires: libtool +BuildRequires: readline-devel +BuildRequires: slang-devel +BuildRequires: update-desktop-files +BuildRequires: xdg-utils +BuildRequires: xz +BuildRequires: pkgconfig(x11) +Requires(pre): permissions +Recommends: %{name}-lang = %{version} +Enhances: fish +Recommends: mkisofs +Recommends: xorriso + +%description +GNU Midnight Commander (also referred to as MC) is a user shell much +like the (in)famous Norton Commander with text-mode full-screen +interface. It can be run on the OS console, in xterm and other +terminal emulators. + +GNU Midnight Commander allows you to manage files while making most of +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 +echo "`grep %{name}-%{version}.tar.xz %{SOURCE6} | head -n1 | cut -c1-64` %{SOURCE0}" | sha256sum -c +%autosetup -p1 + +%build +%{?!make_build:%define make_build make -O %_smp_mflags V=1 VERBOSE=1} +autoreconf -fvi +%define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wformat-security -Wno-unused-parameter +export CFLAGS="%{optflags} %{warn_flags}" + +export X11_WWW="%{_datadir}/mc/x11_browser" + +export PYTHON=%{_bindir}/python3 + +%configure \ + --localstatedir=%{_localstatedir}/lib \ + --enable-charset \ + --disable-vfs-fish + +%make_build + +%install +%make_install + +# clean up this setuid problem for now +chmod 755 %{buildroot}/%{_libexecdir}/mc/cons.saver + +install -m 0644 %{SOURCE4} %{buildroot}%{_datadir}/mc/syntax/ + +#install the shell functions for bourne shell and csh +mkdir -p %{buildroot}%{_sysconfdir}/profile.d +ln -fs -t %{buildroot}%{_sysconfdir}/profile.d %{_datadir}/mc/mc.{,c}sh +#support script for calling available GUI webbrosers +install -m 755 %{SOURCE1} %{buildroot}%{_datadir}/mc/ +install -D -m 644 %{SOURCE3} %{buildroot}%{_datadir}/pixmaps/%{name}.png +install -D -m 644 %{SOURCE3} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png + +# Fish wrapper script +install -D -m 644 %{SOURCE7} \ + %{buildroot}%{_datadir}/fish/vendor_functions.d/mc.fish + +for f in ext.d/misc.sh ext.d/sound.sh ext.d/video.sh \ + extfs.d/gitfs+ extfs.d/uace extfs.d/uarc ; +do + sed -i -e '1s@bin/sh@bin/bash@' "%{buildroot}%{_libexecdir}/mc/${f}" +done + +%suse_update_desktop_file -i %{name} System FileManager +# Remove not supported language +rm -rf %{buildroot}%{_datadir}/locale/be@tarask + +%find_lang %{name} +%if %{suse_version} >= 1600 +%python3_fix_shebang_path %{buildroot}%{_libexecdir}/mc/extfs.d/* +%endif + +%post +%if 0%{?suse_version} >= 1140 +%set_permissions %{_libexecdir}/mc/cons.saver +%else +%run_permissions +%endif + +%verifyscript +%verify_permissions -e %{_libexecdir}/mc/cons.saver + +%files +%doc ABOUT-NLS NEWS README +%license COPYING +%config %{_sysconfdir}/profile.d/* +%{_bindir}/mc* +%dir %{_sysconfdir}/mc/ +%config %{_sysconfdir}/mc/filehighlight.ini +%config %{_sysconfdir}/mc/sfs.ini +%config %{_sysconfdir}/mc/mc.menu +%config %{_sysconfdir}/mc/mc.ext.ini +%config %{_sysconfdir}/mc/mcedit.menu +%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 +%{_libexecdir}/mc/ext.d +%{_libexecdir}/mc/extfs.d +%{_libexecdir}/mc/shell +%verify(not mode) %{_libexecdir}/mc/cons.saver +%exclude %{_mandir}/*/man1/* +%{_mandir}/man1/* +%{_datadir}/mc +%{_datadir}/mc/syntax/Syntax +%{_datadir}/mc/mc.charsets +%{_datadir}/mc/mc.lib +%exclude %{_datadir}/mc/hints/mc.hint.* +%{_datadir}/mc/hints/mc.hint +%exclude %{_datadir}/mc/help/mc.hlp.* +%{_datadir}/mc/help/mc.hlp +%exclude %{_datadir}/locale/*/LC_MESSAGES/mc.mo + +%dir %{_datadir}/fish +%dir %{_datadir}/fish/vendor_functions.d +%{_datadir}/fish/vendor_functions.d/mc.fish + +%{_datadir}/applications/%{name}.desktop +%{_datadir}/pixmaps/%{name}.png +%dir %{_datadir}/icons/hicolor +%dir %{_datadir}/icons/hicolor/32x32 +%dir %{_datadir}/icons/hicolor/32x32/apps +%{_datadir}/icons/hicolor/32x32/apps/%{name}.png + +%files lang -f %{name}.lang +%if 0%{?suse_version} < 1140 || 0%{?sles_version} && 0%{?sles_version} <= 11 +%lang(sv) %dir %{_datadir}/locale/sv_SE +%lang(sv) %dir %{_datadir}/locale/sv_SE/LC_MESSAGES +%lang(szl) %dir %{_datadir}/locale/szl +%lang(szl) %dir %{_datadir}/locale/szl/LC_MESSAGES +%endif + +%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 +%lang(it) %doc %{_datadir}/mc/*/mc.*.it +%lang(nl) %doc %{_datadir}/mc/*/mc.*.nl +%lang(pl) %doc %{_datadir}/mc/*/mc.*.pl +%lang(ru) %doc %{_datadir}/mc/*/mc.*.ru +%lang(sr) %doc %{_datadir}/mc/*/mc.*.sr +%lang(uk) %doc %{_datadir}/mc/*/mc.*.uk + +%changelog diff --git a/x11_browser b/x11_browser new file mode 100644 index 0000000..cf861a0 --- /dev/null +++ b/x11_browser @@ -0,0 +1,66 @@ +#!/bin/bash +# +# Call appropriate brower +# +# Copyright (c) 2001 Philipp Thomas +# +# Borrowed heavily from url_handler.sh by Werner Fink +# + +url="$1" +method="${1%%:*}" + +if test -n "$DISPLAY" -a -x /usr/bin/xdg-open ; then + exec /usr/bin/xdg-open "$url" +fi + +if test "$url" = "$method" ; then + case "${url}" in + */*.htm|*/*.html) method=http ;; + */*.htmls) method=https ;; + /*) if test -r "${url}" ; then + method=file + fi ;; + *) if test -r "$PWD/${url}" ; then + method=file + url="$PWD/${url}" + fi ;; + esac + + case "$method" in + file) url="${method}:$url" ;; + *) url="${method}://$url" ;; + esac +fi + +shift + +case "$method" in + file|http|https) + http= + type -p lynx >& /dev/null && http=lynx + type -p links >& /dev/null && http=links + type -p w3m >& /dev/null && http=w3m + test -n "$DISPLAY" && type -p netscape >& /dev/null && http=netscape + test -n "$DISPLAY" && type -p Netscape >& /dev/null && http=Netscape + test -n "$DISPLAY" && type -p opera >& /dev/null && http=opera + test -n "$DISPLAY" && type -p mozilla >& /dev/null && http=mozilla + test -n "$DISPLAY" && type -p firefox >& /dev/null && http=firefox + test -n "$DISPLAY" && type -p chromium >& /dev/null && http=chromium + case "$http" in + chromium) $http "$url" >/dev/null 2>&1 & ;; + [nN]etscape|opera|mozilla|firefox) ($http -remote "openURL($url)" || $http "$url") >/dev/null 2>&1 & ;; + lynx|w3m|links) exec $http "$url" ;; + *) + echo "No HTTP browser found." + read -p "Press return to continue: " + exit 0 # No error return + ;; + esac + ;; + *) + echo "URL type \"$method\" not known" + read -p "Press return to continue: " + exit 0 # No error return + ;; +esac diff --git a/xls2csv_update.patch b/xls2csv_update.patch new file mode 100644 index 0000000..d71d996 --- /dev/null +++ b/xls2csv_update.patch @@ -0,0 +1,19 @@ +Author: Adam Majer +Upstream: http://midnight-commander.org/ticket/3912 +Bugzilla: 1087708 + +--- + misc/ext.d/doc.sh.in | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/misc/ext.d/doc.sh.in ++++ b/misc/ext.d/doc.sh.in +@@ -74,7 +74,7 @@ do_view_action() { + elinks -dump "$tmp/page.html" + rm -rf "$tmp" + elif which xls2csv >/dev/null 2>&1; then +- xls2csv "${MC_EXT_FILENAME}" ++ xls2csv -c - -x "${MC_EXT_FILENAME}" + else + strings "${MC_EXT_FILENAME}" + fi