[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#587187: timidity: MIME types not installed, .mod missing

Package: timidity
Severity: normal
Tags: patch

*** Please type your report below this line ***

The current testing version does not install
/usr/lib/mime/packages/timidity, in contrast to the one in lenny.
I don't know why it was dropped. Since I don't see anything about it
in the changelog, I suppose it was not intentional.

The follwoing patch (tested) puts it back. Also it registers for
".mod" files in addition to ".midi", since timidity can handle both
file types.

--- timidity-2.13.2/debian/rules.orig	2010-06-26 00:14:32.000000000 +0200
+++ timidity-2.13.2/debian/rules	2010-06-26 00:14:33.000000000 +0200
@@ -181,6 +181,7 @@
 binary-arch: build install
 	dh_testdir -a
 	dh_testroot -a
+	dh_installmime -a
 	dh_strip -a
 	dh_link -a
 	dh_compress -a
--- timidity-2.13.2/debian/timidity.mime.orig	2010-06-26 00:14:21.000000000 +0200
+++ timidity-2.13.2/debian/timidity.mime	2010-06-26 00:14:22.000000000 +0200
@@ -2,3 +2,5 @@
 audio/midi; /usr/bin/timidity -id %s; description=A MIDI file; nametemplate=%s.mid; priority=5
 audio/x-midi; /usr/bin/timidity -ia %s; test=test -n "$DISPLAY"; description=A MIDI file; nametemplate=%s.mid; priority=7
 audio/x-midi; /usr/bin/timidity -id %s; description=A MIDI file; nametemplate=%s.mid; priority=5
+audio/mod; /usr/bin/timidity -ia %s; test=test -n "$DISPLAY"; description=A MOD file; nametemplate=%s.mid; priority=7
+audio/mod; /usr/bin/timidity -id %s; description=A MOD file; nametemplate=%s.mid; priority=5

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Reply to: