Package: timidity
Version: 2.13.2-39+b1
Severity: normal
timidity does not update system wide mailcup database to play .midi files:
I have installed timidity. Then I run:
$ run-mailcap --debug=1 drums-11.midi
- parsing parameter "drums-11.midi"
- Reading mime.types file "/etc/mime.types"...
- extension "midi" maps to mime-type "audio/midi"
- Reading mailcap file "/home/user/.mailcap"...
- Reading mailcap file "/etc/mailcap"...
Processing file "drums-11.midi" of type "audio/midi" (encoding=none)...
- checking mailcap entry "audio/midi; pmidi '%s'; test=test -n
"$ALSA_OUTPUT_PORTS""
- program to execute: pmidi '%s'
- running test: test -n "$ALSA_OUTPUT_PORTS" (result=1=false)
Error: no "view" rule for type "audio/midi" passed its test case
(for more information, add "--debug=1" on the command line)
$ grep audio/midi /etc/mailcap
audio/midi; pmidi '%s'; test=test -n "$ALSA_OUTPUT_PORTS"
As you see there are no attempt to use timidity as MIDI file viewer.
To fix this issue maintainer must create:
$ cat /usr/lib/mime/packages/timidity
audio/midi; timidity %s; description=MIDI file
and use update-mime(8) utility in postinstall script as say man page...
-- System Information:
Debian Release: 6.0.3
APT prefers stable
APT policy: (990, 'stable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages timidity depends on:
ii libasound2 1.0.24.1-4 shared library for ALSA applicatio
ii libaudio2 1.9.2-4 Network Audio System - shared libr
ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii libesd0 0.2.41-8 Enlightened Sound Daemon - Shared
ii libflac8 1.2.1-2+b1 Free Lossless Audio Codec - runtim
ii libice6 2:1.0.6-2 X11 Inter-Client Exchange library
ii libjack0 [libjack-0.11 1:0.118+svn3796-7 JACK Audio Connection Kit (librari
ii libncurses5 5.7+20100313-5 shared libraries for terminal hand
ii libogg0 1.2.0~dfsg-1 Ogg bitstream library
ii libpng12-0 1.2.44-1+squeeze1 PNG library - runtime
ii libsm6 2:1.1.1-1 X11 Session Management library
ii libvorbis0a 1.3.1-1 The Vorbis General Audio Compressi
ii libvorbisenc2 1.3.1-1 The Vorbis General Audio Compressi
ii libx11-6 2:1.3.3-4 X11 client-side library
ii libxaw7 2:1.0.7-1 X11 Athena Widget library
ii libxext6 2:1.1.2-1 X11 miscellaneous extension librar
ii libxmu6 2:1.0.5-2 X11 miscellaneous utility library
ii libxt6 1:1.0.7-1 X11 toolkit intrinsics library
ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages timidity recommends:
ii freepats 20060219-1 Free patch set for MIDI audio synt
ii timidity-daemon 2.13.2-39 runs TiMidity++ as a system-wide M
Versions of packages timidity suggests:
ii fluid-soundfont-gm 3.1-5 Fluid (R3) General MIDI SoundFont
ii fluid-soundfont-gs 3.1-5 Fluid (R3) General MIDI SoundFont
ii pmidi 1.6.0-5 A command line midi player for ALS
-- no debconf information
--
Best regards!
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]