pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/multimedia/mediatomb Initial import of mediatomb-0.11....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d3ee98d6f40f
branches:  trunk
changeset: 540880:d3ee98d6f40f
user:      agc <agc%pkgsrc.org@localhost>
date:      Wed Apr 09 20:36:38 2008 +0000

description:
Initial import of mediatomb-0.11.0 into the packages collection.

        MediaTomb is an open source (GPL) UPnP MediaServer with a nice web
        user interface, it allows you to stream your digital media through
        your home network and listen to/watch it on a variety of UPnP
        compatible devices.

        MediaTomb implements the UPnP MediaServer V 1.0 specification that can
        be found on http://www.upnp.org/.  The current implementation focuses
        on parts that are required by the specification, however we look into
        extending the functionality to cover the optional parts of the spec as
        well.

        MediaTomb should work with any UPnP compliant MediaRenderer, please
        tell the authors if you experience difficulties with particular
        models, also take a look at the Supported Devices list for more
        information.

With thanks to Jared Macneill for the patches to make this compile on
NetBSD.

Oh, and works very nicely with my Archos 605 (not in the Supported Devices
list).

diffstat:

 multimedia/mediatomb/DESCR            |  15 +++++
 multimedia/mediatomb/Makefile         |  24 ++++++++
 multimedia/mediatomb/PLIST            |  97 +++++++++++++++++++++++++++++++++++
 multimedia/mediatomb/distinfo         |  10 +++
 multimedia/mediatomb/patches/patch-aa |  13 ++++
 multimedia/mediatomb/patches/patch-ab |  13 ++++
 multimedia/mediatomb/patches/patch-ac |  13 ++++
 multimedia/mediatomb/patches/patch-ad |  13 ++++
 multimedia/mediatomb/patches/patch-ae |  14 +++++
 9 files changed, 212 insertions(+), 0 deletions(-)

diffs (248 lines):

diff -r 110107b33c53 -r d3ee98d6f40f multimedia/mediatomb/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mediatomb/DESCR        Wed Apr 09 20:36:38 2008 +0000
@@ -0,0 +1,15 @@
+MediaTomb is an open source (GPL) UPnP MediaServer with a nice web
+user interface, it allows you to stream your digital media through
+your home network and listen to/watch it on a variety of UPnP
+compatible devices.
+
+MediaTomb implements the UPnP MediaServer V 1.0 specification that can
+be found on http://www.upnp.org/.  The current implementation focuses
+on parts that are required by the specification, however we look into
+extending the functionality to cover the optional parts of the spec as
+well.
+
+MediaTomb should work with any UPnP compliant MediaRenderer, please
+tell the authors if you experience difficulties with particular
+models, also take a look at the Supported Devices list for more
+information.
diff -r 110107b33c53 -r d3ee98d6f40f multimedia/mediatomb/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mediatomb/Makefile     Wed Apr 09 20:36:38 2008 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/04/09 20:36:38 agc Exp $
+
+DISTNAME=      mediatomb-0.11.0
+CATEGORIES=    multimedia
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=mediatomb/}
+
+MAINTAINER=    agc%NetBSD.org@localhost
+HOMEPAGE=      http://mediatomb.cc/
+COMMENT=       UPnP MediaServer with a web user interface
+
+GNU_CONFIGURE= yes
+
+USE_LANGUAGES+=        c c++
+USE_TOOLS+=    pkg-config
+
+PREFER.bind=   pkgsrc  # we need the package for the lwres lib
+
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../multimedia/ffmpeg/buildlink3.mk"
+.include "../../net/bind9/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../www/curl/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r 110107b33c53 -r d3ee98d6f40f multimedia/mediatomb/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mediatomb/PLIST        Wed Apr 09 20:36:38 2008 +0000
@@ -0,0 +1,97 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/09 20:36:38 agc Exp $
+bin/mediatomb
+man/man1/mediatomb.1
+share/mediatomb/js/common.js
+share/mediatomb/js/import.js
+share/mediatomb/js/playlists.js
+share/mediatomb/mappings.xml
+share/mediatomb/mysql.sql
+share/mediatomb/sqlite3.sql
+share/mediatomb/web/cds.xml
+share/mediatomb/web/cm.xml
+share/mediatomb/web/disabled.html
+share/mediatomb/web/favicon.ico
+share/mediatomb/web/icons/add_as_autoscan.png
+share/mediatomb/web/icons/autoscan_inotify_config_folder_open.png
+share/mediatomb/web/icons/autoscan_inotify_folder_open.png
+share/mediatomb/web/icons/autoscan_timed_config_folder_open.png
+share/mediatomb/web/icons/autoscan_timed_folder_open.png
+share/mediatomb/web/icons/blank.gif
+share/mediatomb/web/icons/blank.png
+share/mediatomb/web/icons/document-new.png
+share/mediatomb/web/icons/film.png
+share/mediatomb/web/icons/folder_new.png
+share/mediatomb/web/icons/folder_open.png
+share/mediatomb/web/icons/go-first.png
+share/mediatomb/web/icons/go-last.png
+share/mediatomb/web/icons/go-next.png
+share/mediatomb/web/icons/go-previous.png
+share/mediatomb/web/icons/mediatomb.png
+share/mediatomb/web/icons/mt-icon120.bmp
+share/mediatomb/web/icons/mt-icon120.jpg
+share/mediatomb/web/icons/mt-icon120.png
+share/mediatomb/web/icons/mt-icon32.bmp
+share/mediatomb/web/icons/mt-icon32.jpg
+share/mediatomb/web/icons/mt-icon32.png
+share/mediatomb/web/icons/mt-icon48.bmp
+share/mediatomb/web/icons/mt-icon48.jpg
+share/mediatomb/web/icons/mt-icon48.png
+share/mediatomb/web/icons/nanotree/images/autoscan_inotify_config_folder_closed.png
+share/mediatomb/web/icons/nanotree/images/autoscan_inotify_config_folder_open.png
+share/mediatomb/web/icons/nanotree/images/autoscan_inotify_folder_closed.png
+share/mediatomb/web/icons/nanotree/images/autoscan_inotify_folder_open.png
+share/mediatomb/web/icons/nanotree/images/autoscan_timed_config_folder_closed.png
+share/mediatomb/web/icons/nanotree/images/autoscan_timed_config_folder_open.png
+share/mediatomb/web/icons/nanotree/images/autoscan_timed_folder_closed.png
+share/mediatomb/web/icons/nanotree/images/autoscan_timed_folder_open.png
+share/mediatomb/web/icons/nanotree/images/folder_closed.png
+share/mediatomb/web/icons/nanotree/images/folder_open.png
+share/mediatomb/web/icons/nanotree/images/lastnode.png
+share/mediatomb/web/icons/nanotree/images/line.png
+share/mediatomb/web/icons/nanotree/images/minus.png
+share/mediatomb/web/icons/nanotree/images/minus_last.png
+share/mediatomb/web/icons/nanotree/images/minus_last_no_root.png
+share/mediatomb/web/icons/nanotree/images/minus_no_root.png
+share/mediatomb/web/icons/nanotree/images/plus.png
+share/mediatomb/web/icons/nanotree/images/plus_last.png
+share/mediatomb/web/icons/nanotree/images/plus_last_no_root.png
+share/mediatomb/web/icons/nanotree/images/plus_no_root.png
+share/mediatomb/web/icons/nanotree/images/t.png
+share/mediatomb/web/icons/nanotree/images/t_no_root.png
+share/mediatomb/web/icons/nanotree/images/white.png
+share/mediatomb/web/icons/remove_all.png
+share/mediatomb/web/icons/remove_autoscan.png
+share/mediatomb/web/icons/remove_this.png
+share/mediatomb/web/icons/status.png
+share/mediatomb/web/icons/status_loading.png
+share/mediatomb/web/icons/status_updates_pending.png
+share/mediatomb/web/icons/stock-add.png
+share/mediatomb/web/icons/stock_edit.png
+share/mediatomb/web/icons/stock_exit.png
+share/mediatomb/web/index.html
+share/mediatomb/web/js/auth.js
+share/mediatomb/web/js/autoscan.js
+share/mediatomb/web/js/icons.js
+share/mediatomb/web/js/iepngfix.htc
+share/mediatomb/web/js/items.js
+share/mediatomb/web/js/md5.js
+share/mediatomb/web/js/nanotree.js
+share/mediatomb/web/js/prototype.js
+share/mediatomb/web/js/tasks.js
+share/mediatomb/web/js/tools.js
+share/mediatomb/web/js/tree.js
+share/mediatomb/web/left.html
+share/mediatomb/web/main.css
+share/mediatomb/web/mr_reg.xml
+share/mediatomb/web/right.html
+share/mediatomb/web/std_treelook.css
+share/mediatomb/web/top.html
+share/mediatomb/web/topleft.html
+share/mediatomb/web/topright.html
+@dirrm share/mediatomb/web/js
+@dirrm share/mediatomb/web/icons/nanotree/images
+@dirrm share/mediatomb/web/icons/nanotree
+@dirrm share/mediatomb/web/icons
+@dirrm share/mediatomb/web
+@dirrm share/mediatomb/js
+@dirrm share/mediatomb
diff -r 110107b33c53 -r d3ee98d6f40f multimedia/mediatomb/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mediatomb/distinfo     Wed Apr 09 20:36:38 2008 +0000
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/04/09 20:36:38 agc Exp $
+
+SHA1 (mediatomb-0.11.0.tar.gz) = 1d7c86924686f9999a359ba96092aa36d30832a6
+RMD160 (mediatomb-0.11.0.tar.gz) = 11c53d5757da3a689c025107331526c0486befc4
+Size (mediatomb-0.11.0.tar.gz) = 1059429 bytes
+SHA1 (patch-aa) = 00bd9c244c4a4853e65a1430921ce7b170ce9373
+SHA1 (patch-ab) = c7ec78ca4fdae632b580487bf1451ed5f1370e82
+SHA1 (patch-ac) = 801ef3895fc848103f81433b066d6ae9fddccaf9
+SHA1 (patch-ad) = 6ab358d4ad7530a8337db154017024da8bf89fbf
+SHA1 (patch-ae) = d570d0f4e0038ed12666dd66882213ced8c78f3a
diff -r 110107b33c53 -r d3ee98d6f40f multimedia/mediatomb/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mediatomb/patches/patch-aa     Wed Apr 09 20:36:38 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/04/09 20:36:38 agc Exp $
+
+--- tombupnp/threadutil/inc/ithread.h  2008-03-01 22:48:51.000000000 +0000
++++ tombupnp/threadutil/inc/ithread.h  2008-03-21 20:18:37.000000000 +0000
+@@ -47,7 +47,7 @@
+  #include <unistd.h>
+ #endif
+ 
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #define PTHREAD_MUTEX_RECURSIVE_NP PTHREAD_MUTEX_RECURSIVE
+ #endif    
+ 
diff -r 110107b33c53 -r d3ee98d6f40f multimedia/mediatomb/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mediatomb/patches/patch-ab     Wed Apr 09 20:36:38 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2008/04/09 20:36:38 agc Exp $
+
+--- tombupnp/threadutil/src/ThreadPool.c       2008-03-01 22:48:51.000000000 +0000
++++ tombupnp/threadutil/src/ThreadPool.c       2008-03-21 20:18:54.000000000 +0000
+@@ -370,7 +370,7 @@
+     gettimeofday( &t, NULL );
+ #if defined(WIN32)
+     srand( ( unsigned int )(t.tv_usec/1000) + (unsigned int)ithread_get_current_thread_id(  ).p );
+-#elif defined(__FreeBSD__) || defined (__APPLE__)
++#elif defined(__FreeBSD__) || defined (__APPLE__) || defined(__NetBSD__)
+     srand( ( unsigned int )(t.tv_usec/1000) + (unsigned int)ithread_get_current_thread_id(  ) );
+ #else
+     srand( ( unsigned int )(t.tv_usec/1000) + ithread_get_current_thread_id(  ) );
diff -r 110107b33c53 -r d3ee98d6f40f multimedia/mediatomb/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mediatomb/patches/patch-ac     Wed Apr 09 20:36:38 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2008/04/09 20:36:38 agc Exp $
+
+--- tombupnp/upnp/inc/upnp.h   2008-03-01 22:48:51.000000000 +0000
++++ tombupnp/upnp/inc/upnp.h   2008-03-21 20:17:16.000000000 +0000
+@@ -58,7 +58,7 @@
+ //@{
+ 
+ #include <stdio.h>
+-#if defined(__FreeBSD__) || defined(__APPLE__)
++#if defined(__FreeBSD__) || defined(__APPLE__) || defined(__NetBSD__)
+ #include <time.h>
+ #include <sys/types.h>
+ #endif
diff -r 110107b33c53 -r d3ee98d6f40f multimedia/mediatomb/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mediatomb/patches/patch-ad     Wed Apr 09 20:36:38 2008 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1.1.1 2008/04/09 20:36:38 agc Exp $
+
+--- tombupnp/upnp/src/genlib/net/uri/uri.c     2008-03-01 22:48:50.000000000 +0000
++++ tombupnp/upnp/src/genlib/net/uri/uri.c     2008-03-21 20:18:05.000000000 +0000
+@@ -61,7 +61,7 @@
+ #include "config.h"
+ #include "uri.h"
+ 
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+     #ifdef HAVE_LWRES_NETDB_H
+         #include <lwres/netdb.h>
+     #endif
diff -r 110107b33c53 -r d3ee98d6f40f multimedia/mediatomb/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/multimedia/mediatomb/patches/patch-ae     Wed Apr 09 20:36:38 2008 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ae,v 1.1.1.1 2008/04/09 20:36:38 agc Exp $
+
+--- tombupnp/upnp/src/ssdp/ssdp_server.c       2008-03-01 22:48:51.000000000 +0000
++++ tombupnp/upnp/src/ssdp/ssdp_server.c       2008-03-21 20:17:43.000000000 +0000
+@@ -962,7 +962,7 @@
+         return UPNP_E_SOCKET_ERROR;
+     }
+     
+-    #ifdef __FreeBSD__
++    #if defined(__FreeBSD__) || defined(__NetBSD__)
+     if( setsockopt( ssdpSock, SOL_SOCKET, SO_REUSEPORT,
+                     ( char * )&onOff, sizeof( onOff ) ) != 0 ) {
+ 
+Only in jmediatomb-0.11.0/web: Makefile



Home | Main Index | Thread Index | Old Index