mc/mc-ext-audio.patch

62 lines
1.6 KiB
Diff
Raw Normal View History

Index: mc-4.8.31/misc/mc.ext.ini.in
Accepting request 915746 from home:ecsos Security-Update: - 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) - 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) - 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. OBS-URL: https://build.opensuse.org/request/show/915746 OBS-URL: https://build.opensuse.org/package/show/Base:System/mc?expand=0&rev=138
2021-10-16 09:58:20 +00:00
===================================================================
--- mc-4.8.31.orig/misc/mc.ext.ini.in
+++ mc-4.8.31/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 #########