pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/multimedia/mediatomb Add two patches to recognise the ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/aa3d3158e9cc
branches: trunk
changeset: 540926:aa3d3158e9cc
user: agc <agc%pkgsrc.org@localhost>
date: Fri Apr 11 10:11:59 2008 +0000
description:
Add two patches to recognise the "mp4" file extension as a "video/mp4"
type, which lets mp4 files be added to the database, and get presented
via UPnP.
There are two files because the basic mappings are specified in the
config.xml file, which is generated by a C++ program, and there's a
corresponding change to the mappings.xml file which is kept around
as source.
With thanks to Jared for the mapping information.
diffstat:
multimedia/mediatomb/distinfo | 4 +++-
multimedia/mediatomb/patches/patch-af | 12 ++++++++++++
multimedia/mediatomb/patches/patch-ag | 12 ++++++++++++
3 files changed, 27 insertions(+), 1 deletions(-)
diffs (47 lines):
diff -r b905f215492b -r aa3d3158e9cc multimedia/mediatomb/distinfo
--- a/multimedia/mediatomb/distinfo Fri Apr 11 09:29:19 2008 +0000
+++ b/multimedia/mediatomb/distinfo Fri Apr 11 10:11:59 2008 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2008/04/10 09:09:37 agc Exp $
+$NetBSD: distinfo,v 1.3 2008/04/11 10:11:59 agc Exp $
SHA1 (mediatomb-0.11.0.tar.gz) = 1d7c86924686f9999a359ba96092aa36d30832a6
RMD160 (mediatomb-0.11.0.tar.gz) = 11c53d5757da3a689c025107331526c0486befc4
@@ -8,3 +8,5 @@
SHA1 (patch-ac) = 801ef3895fc848103f81433b066d6ae9fddccaf9
SHA1 (patch-ad) = 6ab358d4ad7530a8337db154017024da8bf89fbf
SHA1 (patch-ae) = dd75f7fd3d2794dd53062d5710285ed96d030c5b
+SHA1 (patch-af) = ec9261d2ec645a07144f8b927fd57a50175903ca
+SHA1 (patch-ag) = 932f8f4d2764c6cb098e0e78e7476527561b198e
diff -r b905f215492b -r aa3d3158e9cc multimedia/mediatomb/patches/patch-af
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mediatomb/patches/patch-af Fri Apr 11 10:11:59 2008 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-af,v 1.1 2008/04/11 10:11:59 agc Exp $
+
+--- config/mappings.xml 2008/04/11 09:24:50 1.1
++++ config/mappings.xml 2008/04/11 09:25:38
+@@ -13,6 +13,7 @@
+ <map from="m3u" to="audio/x-mpegurl"/>
+ <map from="pls" to="audio/x-scpls"/>
+ <map from="flv" to="video/x-flv"/>
++ <map from="mp4" to="video/mp4"/>
+ </extension-mimetype>
+ <mimetype-upnpclass>
+ <map from="audio/*" to="object.item.audioItem.musicTrack"/>
diff -r b905f215492b -r aa3d3158e9cc multimedia/mediatomb/patches/patch-ag
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mediatomb/patches/patch-ag Fri Apr 11 10:11:59 2008 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ag,v 1.1 2008/04/11 10:11:59 agc Exp $
+
+--- src/config_manager.cc 2008/04/11 09:51:48 1.1
++++ src/config_manager.cc 2008/04/11 09:52:52
+@@ -486,6 +486,7 @@
+ Ref<Element> ext2mt(new Element(_("extension-mimetype")));
+ ext2mt->setAttribute(_("ignore-unknown"), _(DEFAULT_IGNORE_UNKNOWN_EXTENSIONS));
+ ext2mt->appendElementChild(map_from_to(_("mp3"), _("audio/mpeg")));
++ ext2mt->appendElementChild(map_from_to(_("mp4"), _("video/mp4")));
+ ext2mt->appendElementChild(map_from_to(_("ogg"), _("application/ogg")));
+ ext2mt->appendElementChild(map_from_to(_("asf"), _("video/x-ms-asf")));
+ ext2mt->appendElementChild(map_from_to(_("asx"), _("video/x-ms-asf")));
Home |
Main Index |
Thread Index |
Old Index