mc/mc-ext-audio.patch
Dirk Mueller 34a0b02861 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

51 lines
1.3 KiB
Diff

Index: misc/mc.ext.in
===================================================================
--- misc/mc.ext.in.orig
+++ misc/mc.ext.in
@@ -573,17 +573,20 @@ shell/i/.svg
### Sound files ###
regex/i/\.(wav|snd|voc|au|smp|aiff|snd|m4a|ape|aac|wv)$
- Open=@EXTHELPERSDIR@/sound.sh open common
+ Include=audio
View=%view{ascii} @EXTHELPERSDIR@/sound.sh view common
regex/i/\.(mod|s3m|xm|it|mtm|669|stm|ult|far)$
Open=@EXTHELPERSDIR@/sound.sh open mod
+ View=%view{ascii} @EXTHELPERSDIR@/sound.sh view mod
shell/i/.waw22
Open=@EXTHELPERSDIR@/sound.sh open wav22
+ View=%view{ascii} @EXTHELPERSDIR@/sound.sh view wav22
shell/i/.mp3
Open=@EXTHELPERSDIR@/sound.sh open mp3
+ Include=audio
View=%view{ascii} @EXTHELPERSDIR@/sound.sh view mp3
regex/i/\.og[gax]$
@@ -595,15 +598,22 @@ shell/i/.opus
View=%view{ascii} @EXTHELPERSDIR@/sound.sh view opus
regex/i/\.(spx|flac)$
- Open=@EXTHELPERSDIR@/sound.sh open common
+ Include=audio
regex/i/\.(midi?|rmid?)$
Open=@EXTHELPERSDIR@/sound.sh open midi
+ View=%view{ascii} @EXTHELPERSDIR@/sound.sh view midi
shell/i/.wma
Open=@EXTHELPERSDIR@/sound.sh open wma
View=%view{ascii} @EXTHELPERSDIR@/sound.sh view wma
+shell/i/.mka
+ Include=audio
+
+include/audio
+ Open=@EXTHELPERSDIR@/sound.sh open common
+ View=%view{ascii} @EXTHELPERSDIR@/sound.sh view common
### Play lists ###