[mediatomb] - Add patch to enable ogg metadata by default

rmattes rmattes at fedoraproject.org
Fri Nov 12 22:36:08 UTC 2010


commit 1df78bec736411651cfef102d54f37c056b13291
Author: Rich Mattes <jpgr87 at gmail.com>
Date:   Fri Nov 12 00:14:36 2010 -0500

    - Add patch to enable ogg metadata by default

 mediatomb-0.12.1.fixogg.patch |   12 ++++++++++++
 mediatomb.spec                |    7 ++++++-
 2 files changed, 18 insertions(+), 1 deletions(-)
---
diff --git a/mediatomb-0.12.1.fixogg.patch b/mediatomb-0.12.1.fixogg.patch
new file mode 100644
index 0000000..f3bccee
--- /dev/null
+++ b/mediatomb-0.12.1.fixogg.patch
@@ -0,0 +1,12 @@
+diff -up ./src/config_manager.cc.fixogg ./src/config_manager.cc
+--- ./src/config_manager.cc.fixogg	2010-09-11 16:37:55.952709762 -0400
++++ ./src/config_manager.cc	2010-09-11 16:39:14.832710263 -0400
+@@ -622,6 +622,8 @@ String ConfigManager::createDefaultConfi
+                                            _(CONTENT_TYPE_MP3)));
+     mtcontent->appendElementChild(treat_as(_("application/ogg"), 
+                                            _(CONTENT_TYPE_OGG)));
++    mtcontent->appendElementChild(treat_as(_("audio/ogg"),
++                                           _(CONTENT_TYPE_OGG)));
+     mtcontent->appendElementChild(treat_as(_("audio/x-flac"), 
+                                            _(CONTENT_TYPE_FLAC)));
+     mtcontent->appendElementChild(treat_as(_("image/jpeg"), 
diff --git a/mediatomb.spec b/mediatomb.spec
index d6da6af..bbc04dd 100644
--- a/mediatomb.spec
+++ b/mediatomb.spec
@@ -1,7 +1,7 @@
 Version: 0.12.1
 Summary: UPnP AV MediaServer 
 Name: mediatomb
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: MediaTomb - UPnP AV Mediaserver for Linux
 License: GPLv2
 Group: Applications/Multimedia
@@ -11,6 +11,7 @@ Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: sqlite-devel, mysql-devel, libexif-devel, id3lib-devel, file-devel, js-devel, zlib-devel, taglib-devel
 BuildRequires: expat-devel, libcurl-devel
 BuildRequires: libmp4v2-devel
+Patch0: mediatomb-0.12.1.fixogg.patch
 %if 0%{?fedora} >= 13
 %else
 %if 0%{?fedora} >= 9
@@ -34,6 +35,7 @@ MediaTomb implements the UPnP MediaServer V 1.0 specification that can
 be found on http://www.upnp.org/.
 %prep 
 %setup -q
+%patch0 -p0
 
 %build
 # Fedora 13 on use system jsapi.h
@@ -111,6 +113,9 @@ fi
 %{_initrddir}/mediatomb
 
 %changelog
+* Fri Nov 12 2010 Rich Mattes <richmattes at gmail.com> - 0.12.1-3
+- Add patch to enable ogg metadata by default
+
 * Sun Jun 20 2010 Rich Mattes <richmattes at gmail.com> - 0.12.1-2
 - Fixed specfile dependancies so configure only runs once
 - Removed dependency on xulrunner, use system jsapi.h


More information about the scm-commits mailing list