8 Commits

Author SHA256 Message Date
fad2d34f8f Accepting request 1326268 from Base:System
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1326268
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mc?expand=0&rev=96
2026-01-09 16:03:08 +00:00
Adam Mizerski
839af35411 - run obs/service/source_validators/helpers/fix_changelog
OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=168
2026-01-07 15:40:10 +00:00
4f53ca36d9 Accepting request 1248797 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1248797
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mc?expand=0&rev=95
2025-02-27 13:50:26 +00:00
Adam Mizerski
5ba915ac25 Update to 4.8.33
OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=166
2025-02-26 20:28:04 +00:00
9d7ce9a1df Accepting request 1228570 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1228570
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mc?expand=0&rev=94
2024-12-06 13:25:22 +00:00
f1b234770f - 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
2024-12-05 17:21:00 +00:00
01bb0ae3d5 Accepting request 1220049 from Base:System
OBS-URL: https://build.opensuse.org/request/show/1220049
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mc?expand=0&rev=93
2024-11-02 15:11:37 +00:00
Adam Mizerski
e56f4cedf4 Added patch 4575-fix-wrapper.patch - fixes boo#1203617
OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=162
2024-11-01 11:35:36 +00:00
15 changed files with 267 additions and 228 deletions

View File

@@ -1,2 +0,0 @@
51a039ebd15d5e442312a7053a4ca28276b7f241050b7714d5bae5362ecd3319 mc-4.8.32.tar.bz2
4ddc83d1ede9af2363b3eab987f54b87cf6619324110ce2d3a0e70944d1359fe mc-4.8.32.tar.xz

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4ddc83d1ede9af2363b3eab987f54b87cf6619324110ce2d3a0e70944d1359fe
size 2385648

2
mc-4.8.33.sha256 Normal file
View File

@@ -0,0 +1,2 @@
a3ceb0af84226fedfe5f339464ff2849c3f6bf0321b72027c47b2c10e66a6dba mc-4.8.33.tar.bz2
cae149d42f844e5185d8c81d7db3913a8fa214c65f852200a9d896b468af164c mc-4.8.33.tar.xz

3
mc-4.8.33.tar.xz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cae149d42f844e5185d8c81d7db3913a8fa214c65f852200a9d896b468af164c
size 2424476

View File

@@ -2,11 +2,13 @@
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)
;
Index: mc-4.8.33/lib/util.c
===================================================================
--- mc-4.8.33.orig/lib/util.c
+++ mc-4.8.33/lib/util.c
@@ -783,6 +783,8 @@ strip_ctrl_codes (char *s)
while (*r != '\0' && (*r < 0x40 || *r > 0x7E))
++r;
}
+ else if (*r == '(')
+ r++;

43
mc-ext-obscpio.patch Normal file
View File

@@ -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

View File

@@ -8,8 +8,8 @@
fi
;;
msdoc)
- if which wvHtml >/dev/null 2>&1; then
+ if which wvHtml >/dev/null 2>&1 && which elinks >/dev/null 2>&1; then
- if command -v wvHtml >/dev/null 2>&1; then
+ if command -v wvHtml >/dev/null 2>&1 && command -v 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"
@@ -17,8 +17,8 @@
fi
;;
msxls)
- if which xlhtml >/dev/null 2>&1; then
+ if which xlhtml >/dev/null 2>&1 && which elinks >/dev/null 2>&1; then
- if command -v xlhtml >/dev/null 2>&1; then
+ if command -v xlhtml >/dev/null 2>&1 && command -v 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"

View File

@@ -1,21 +0,0 @@
---
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 || \

View File

@@ -1,27 +1,8 @@
---
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
+}
Index: mc-4.8.33/misc/ext.d/sound.sh
===================================================================
--- mc-4.8.33.orig/misc/ext.d/sound.sh
+++ mc-4.8.33/misc/ext.d/sound.sh
@@ -13,6 +13,11 @@ fi
do_view_action() {
filetype=$1
@@ -33,35 +14,12 @@
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 | \
@@ -33,7 +38,7 @@ do_view_action() {
tail +13 || file "${MC_EXT_FILENAME}"
- ;;
- *)
;;
*)
- cat "${MC_EXT_FILENAME}"
+ return $?
+ file "${MC_EXT_FILENAME}"
;;
esac
+
+ mplayer -identify -vo null -ao null -frames 0 "${MC_EXT_FILENAME}" 2>&1 | sed -n '/^ID_/p'
}
do_open_action() {

View File

@@ -2,35 +2,18 @@
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
Index: mc-4.8.33/misc/ext.d/video.sh
===================================================================
--- mc-4.8.33.orig/misc/ext.d/video.sh
+++ mc-4.8.33/misc/ext.d/video.sh
@@ -15,7 +15,9 @@ do_view_action() {
case "${filetype}" in
*)
- if which mplayer >/dev/null 2>&1; then
+ if type -p mediainfo >/dev/null 2>&1 ; then
- if command -v mplayer >/dev/null 2>&1; then
+ if command -v mediainfo >/dev/null 2>&1 ; then
+ mediainfo "${MC_EXT_FILENAME}"
+ elif which mplayer >/dev/null 2>&1; then
+ elif command -v 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
elif command -v mpv_identify.sh >/dev/null 2>&1; then

View File

@@ -7,11 +7,13 @@
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 +-
misc/ext.d/web.sh | 2 +-
9 files changed, 9 insertions(+), 9 deletions(-)
--- a/misc/ext.d/archive.sh
+++ b/misc/ext.d/archive.sh
Index: mc-4.8.33/misc/ext.d/archive.sh
===================================================================
--- mc-4.8.33.orig/misc/ext.d/archive.sh
+++ mc-4.8.33/misc/ext.d/archive.sh
@@ -210,7 +210,7 @@ view)
do_view_action "${filetype}"
;;
@@ -21,8 +23,10 @@
do_open_action "${filetype}" "${pager}"
;;
*)
--- a/misc/ext.d/doc.sh.in
+++ b/misc/ext.d/doc.sh.in
Index: mc-4.8.33/misc/ext.d/doc.sh.in
===================================================================
--- mc-4.8.33.orig/misc/ext.d/doc.sh.in
+++ mc-4.8.33/misc/ext.d/doc.sh.in
@@ -210,7 +210,7 @@ view)
do_view_action "${filetype}"
;;
@@ -32,9 +36,11 @@
do_open_action "${filetype}"
;;
*)
--- a/misc/ext.d/image.sh
+++ b/misc/ext.d/image.sh
@@ -64,7 +64,7 @@ view)
Index: mc-4.8.33/misc/ext.d/image.sh
===================================================================
--- mc-4.8.33.orig/misc/ext.d/image.sh
+++ mc-4.8.33/misc/ext.d/image.sh
@@ -72,7 +72,7 @@ view)
do_view_action "${filetype}"
;;
open)
@@ -43,9 +49,11 @@
do_open_action "${filetype}"
;;
*)
--- a/misc/ext.d/misc.sh.in
+++ b/misc/ext.d/misc.sh.in
@@ -102,7 +102,7 @@ view)
Index: mc-4.8.33/misc/ext.d/misc.sh.in
===================================================================
--- mc-4.8.33.orig/misc/ext.d/misc.sh.in
+++ mc-4.8.33/misc/ext.d/misc.sh.in
@@ -96,7 +96,7 @@ view)
do_view_action "${filetype}"
;;
open)
@@ -54,8 +62,10 @@
do_open_action "${filetype}"
;;
*)
--- a/misc/ext.d/package.sh
+++ b/misc/ext.d/package.sh
Index: mc-4.8.33/misc/ext.d/package.sh
===================================================================
--- mc-4.8.33.orig/misc/ext.d/package.sh
+++ mc-4.8.33/misc/ext.d/package.sh
@@ -51,7 +51,7 @@ view)
do_view_action "${filetype}"
;;
@@ -65,9 +75,11 @@
do_open_action "${filetype}"
;;
*)
--- a/misc/ext.d/sound.sh
+++ b/misc/ext.d/sound.sh
@@ -116,7 +116,7 @@ view)
Index: mc-4.8.33/misc/ext.d/sound.sh
===================================================================
--- mc-4.8.33.orig/misc/ext.d/sound.sh
+++ mc-4.8.33/misc/ext.d/sound.sh
@@ -105,7 +105,7 @@ view)
do_view_action "${filetype}"
;;
open)
@@ -76,8 +88,10 @@
do_open_action "${filetype}"
;;
*)
--- a/misc/ext.d/text.sh.in
+++ b/misc/ext.d/text.sh.in
Index: mc-4.8.33/misc/ext.d/text.sh.in
===================================================================
--- mc-4.8.33.orig/misc/ext.d/text.sh.in
+++ mc-4.8.33/misc/ext.d/text.sh.in
@@ -147,7 +147,7 @@ view)
do_view_action "${filetype}"
;;
@@ -87,9 +101,11 @@
do_open_action "${filetype}" "${pager}"
;;
*)
--- a/misc/ext.d/video.sh
+++ b/misc/ext.d/video.sh
@@ -66,7 +66,7 @@ view)
Index: mc-4.8.33/misc/ext.d/video.sh
===================================================================
--- mc-4.8.33.orig/misc/ext.d/video.sh
+++ mc-4.8.33/misc/ext.d/video.sh
@@ -50,7 +50,7 @@ view)
do_view_action "${filetype}"
;;
open)
@@ -98,9 +114,11 @@
do_open_action "${filetype}"
;;
*)
--- a/misc/ext.d/web.sh.in
+++ b/misc/ext.d/web.sh.in
@@ -47,7 +47,7 @@ view)
Index: mc-4.8.33/misc/ext.d/web.sh
===================================================================
--- mc-4.8.33.orig/misc/ext.d/web.sh
+++ mc-4.8.33/misc/ext.d/web.sh
@@ -52,7 +52,7 @@ view)
do_view_action "${filetype}"
;;
open)

View File

@@ -1,50 +1,16 @@
---
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;
}
Index: mc-4.8.33/src/vfs/shell/helpers/send
===================================================================
--- mc-4.8.33.orig/src/vfs/shell/helpers/send
+++ mc-4.8.33/src/vfs/shell/helpers/send
@@ -1,7 +1,10 @@
FILENAME="/${SHELL_FILENAME}"
echo "### 001"
{
- > "${FILENAME}"
+ if ! > "${FILENAME}"; then
+ echo "### 500"
+ exit
+ fi
bss=4096
bsl=4095
if [ $SHELL_FILESIZE -lt $bss ]; then

View File

@@ -1,3 +1,75 @@
-------------------------------------------------------------------
Wed Dec 31 01:14:34 UTC 2025 - J Santel <jsantel@automated.computer>
- run obs/service/source_validators/helpers/fix_changelog
-------------------------------------------------------------------
Mon Jan 27 21:01:26 UTC 2025 - Adam Mizerski <adam@mizerski.pl>
- Update to 4.8.33:
- Core
* Minimal version of Automake is 1.14 (#4604)
* Upgrade C standard to C99 (#4604)
* Support ksh variants as subshell (#3748)
* Improve fish 4.0 shell support (#4597)
* Add support for bash PROMPT_COMMAND being an array (#4599)
* Don't override ENV variable for ash/dash subshell (#4605)
* Don't disable verbose mode if tty baudrate can't be reliably determined (#2452)
* New keymap for vim users (#4588)
- VFS
* extfs vfs: chmod/chown inside extfs (e.g. zip archive) silently fails (#4629)
* Add embedded torrent viewer/vfs (#3100)
- Misc
* Code cleanup (#4572, #4593, #4595, #4598)
* Adjust mc-wrappers to work with the new MC_TMPDIR creation logic (#4575)
* Prefer console players for sound, images and video in non-graphical sessions (#4479, #4596)
* Support `TERM=xterm-clear` for FreeBSD users (#2633)
* mc.ext.ini:
- Support for Rust crates file format (#4609)
- Support for OpenEmbedded ipk archives (#4626)
* ext.d: select browser at runtime (#4615)
* Move CI from Travis to GitHub Actions (#4170, #3738, #4602)
- Fixes
* Segfault if filter makes file panel empty (#4600)
* Segfault in built-in help when going to the previous topic (#4627)
* Incorrect handling of ext2 attributes of a directory (#4590)
* Failed copy/move operations make ETA inaccurate (#3205, #4613, #4623)
* Hotlist: use after free (#4621)
* mc.ext.ini: typo for apt view command line (#4583)
* mcedit: visual glitches if built with aspell, but libraries not installed (#4576)
* mcedit: segfault on new file creation (#4580)
* mcedit: PageDown skips lines in edit window (#4617)
* mcedit: cursor jumps during PageDown in edit window (#4618)
* mvciew: false-positive regex search of BOL (#4587)
* mcdiff: segmentation fault on empty files merge (#4608)
* tar vfs: double free (#4616)
* sftpfs vfs: use after free (#4620)
* tests: fix charset-related code on non-glibc platforms (Alpine, Illumos) (#3972, #4495)
* tests: use weak symbols instead of symbol duplication to support non-GNU linkers / macOS (#4584, #3542)
- Removed patches:
- 4575-fix-wrapper.patch - merged upstream
- mc-extd-misc.patch - reslved upstream
- mc-vfs-fish-deleted_source_file.patch - resolved upstream TODO verify
- Refreshed patches:
- mc-esc-seq.patch
- mc-extd-doc.patch
- mc-extd-sound.patch
- mc-extd-video.patch
- mc-extd-xdg.patch
- xls2csv_update.patch
- Rewrote patch mc-vfs-fish-deleted_source_file.patch
-------------------------------------------------------------------
Tue Dec 3 12:13:23 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Add mc-ext-obscpio.patch making mc handle SUSE *.obscpio
archives (bsc#1233006).
-------------------------------------------------------------------
Mon Sep 23 20:12:03 UTC 2024 - Adam Mizerski <adam@mizerski.pl>
- Added patch 4575-fix-wrapper.patch - fixes boo#1203617
-------------------------------------------------------------------
Tue Sep 17 15:04:39 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
@@ -811,8 +883,8 @@ Tue Mar 24 18:45:13 UTC 2015 - astieger@suse.com
+ 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
@@ -841,6 +913,7 @@ Sat Mar 15 15:35:23 UTC 2014 - dnh@opensuse.org
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
@@ -1161,6 +1234,7 @@ 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
@@ -2099,49 +2173,49 @@ 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

72
mc.spec
View File

@@ -1,7 +1,7 @@
#
# spec file for package mc
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: mc
Version: 4.8.32
Version: 4.8.33
Release: 0
Summary: Midnight Commander
License: GPL-3.0-or-later
@@ -48,12 +48,14 @@ 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
@@ -71,7 +73,6 @@ BuildRequires: pkgconfig(x11)
Requires(pre): permissions
Recommends: %{name}-lang = %{version}
Enhances: fish
Recommends: mkisofs
Recommends: xorriso
%description
@@ -123,8 +124,9 @@ 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
mkdir -p %{buildroot}%{_datadir}/pixmaps/
ln -s ../icons/hicolor/32x32/apps/%{name}.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
# Fish wrapper script
install -D -m 644 %{SOURCE7} \
@@ -146,11 +148,7 @@ rm -rf %{buildroot}%{_datadir}/locale/be@tarask
%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
@@ -169,6 +167,7 @@ rm -rf %{buildroot}%{_datadir}/locale/be@tarask
%config %{_sysconfdir}/mc/mc.keymap
%config %{_sysconfdir}/mc/mc.default.keymap
%config %{_sysconfdir}/mc/mc.emacs.keymap
%config %{_sysconfdir}/mc/mc.vim.keymap
%config %{_sysconfdir}/mc/edit.indent.rc
%dir %{_libexecdir}/mc
%{_libexecdir}/mc/ext.d
@@ -178,13 +177,8 @@ rm -rf %{buildroot}%{_datadir}/locale/be@tarask
%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
@@ -199,33 +193,53 @@ rm -rf %{buildroot}%{_datadir}/locale/be@tarask
%{_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(es) %{_mandir}/es/man1/mc.1.gz
%lang(hu) %{_mandir}/hu/man1/mc.1.gz
%lang(pl) %dir %{_mandir}/pl/
%lang(pl) %dir %{_mandir}/pl/man1/
%lang(it) %{_mandir}/it/man1/mc.1.gz
%lang(pl) %{_mandir}/pl/man1/mc.1.gz
%lang(sr) %dir %{_mandir}/sr/
%lang(sr) %dir %{_mandir}/sr/man1/
%lang(ru) %{_mandir}/ru/man1/mc.1.gz
%if 0%{?suse_version} < 1600 && 0%{?is_opensuse}
%lang(sr) %dir %{_mandir}/sr
%lang(sr) %dir %{_mandir}/sr/man1
%endif
%lang(sr) %{_mandir}/sr/man1/mc.1.gz
%lang(be) %doc %{_datadir}/mc/*/mc.*.be
%lang(bg) %doc %{_datadir}/mc/*/mc.*.bg
%lang(ca) %doc %{_datadir}/mc/*/mc.*.ca
%lang(cs) %doc %{_datadir}/mc/*/mc.*.cs
%lang(da) %doc %{_datadir}/mc/*/mc.*.da
%lang(de) %doc %{_datadir}/mc/*/mc.*.de
%lang(el) %doc %{_datadir}/mc/*/mc.*.el
%lang(en_GB) %doc %{_datadir}/mc/*/mc.*.en_GB
%lang(eo) %doc %{_datadir}/mc/*/mc.*.eo
%lang(es) %doc %{_datadir}/mc/*/mc.*.es
%lang(et) %doc %{_datadir}/mc/*/mc.*.et
%lang(eu) %doc %{_datadir}/mc/*/mc.*.eu
%lang(fa) %doc %{_datadir}/mc/*/mc.*.fa
%lang(fr) %doc %{_datadir}/mc/*/mc.*.fr
%lang(ga) %doc %{_datadir}/mc/*/mc.*.ga
%lang(gl) %doc %{_datadir}/mc/*/mc.*.gl
%lang(hu) %doc %{_datadir}/mc/*/mc.*.hu
%lang(id) %doc %{_datadir}/mc/*/mc.*.id
%lang(it) %doc %{_datadir}/mc/*/mc.*.it
%lang(ja) %doc %{_datadir}/mc/*/mc.*.ja
%lang(ka) %doc %{_datadir}/mc/*/mc.*.ka
%lang(ko) %doc %{_datadir}/mc/*/mc.*.ko
%lang(lt) %doc %{_datadir}/mc/*/mc.*.lt
%lang(nb) %doc %{_datadir}/mc/*/mc.*.nb
%lang(nl) %doc %{_datadir}/mc/*/mc.*.nl
%lang(pl) %doc %{_datadir}/mc/*/mc.*.pl
%lang(pt) %doc %{_datadir}/mc/*/mc.*.pt
%lang(pt_BR) %doc %{_datadir}/mc/*/mc.*.pt_BR
%lang(ro) %doc %{_datadir}/mc/*/mc.*.ro
%lang(ru) %doc %{_datadir}/mc/*/mc.*.ru
%lang(sk) %doc %{_datadir}/mc/*/mc.*.sk
%lang(sr) %doc %{_datadir}/mc/*/mc.*.sr
%lang(sv) %doc %{_datadir}/mc/*/mc.*.sv
%lang(tr) %doc %{_datadir}/mc/*/mc.*.tr
%lang(uk) %doc %{_datadir}/mc/*/mc.*.uk
%lang(zh_CN) %doc %{_datadir}/mc/*/mc.*.zh_CN
%lang(zh_TW) %doc %{_datadir}/mc/*/mc.*.zh_TW
%changelog

View File

@@ -6,12 +6,14 @@ 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
Index: mc-4.8.33/misc/ext.d/doc.sh.in
===================================================================
--- mc-4.8.33.orig/misc/ext.d/doc.sh.in
+++ mc-4.8.33/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
elif command -v xls2csv >/dev/null 2>&1; then
- xls2csv "${MC_EXT_FILENAME}"
+ xls2csv -c - -x "${MC_EXT_FILENAME}"
else