pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/gupnp-tools add gupnp-tools-0.7.1, some tools for ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/64fe62f6efd7
branches:  trunk
changeset: 396746:64fe62f6efd7
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Sun Aug 02 11:41:49 2009 +0000

description:
add gupnp-tools-0.7.1, some tools for UPnP devices

The gupnp-av-cp tool can be used, together with "coherence", to
remote-control the "rhythmbox" audio player, also with seperate
media stores like "mediatomb".

diffstat:

 net/gupnp-tools/DESCR            |   1 +
 net/gupnp-tools/Makefile         |  23 +++++++++++++++++++++
 net/gupnp-tools/PLIST            |  26 ++++++++++++++++++++++++
 net/gupnp-tools/distinfo         |   6 +++++
 net/gupnp-tools/patches/patch-aa |  42 ++++++++++++++++++++++++++++++++++++++++
 5 files changed, 98 insertions(+), 0 deletions(-)

diffs (118 lines):

diff -r 50a83d3923a6 -r 64fe62f6efd7 net/gupnp-tools/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gupnp-tools/DESCR     Sun Aug 02 11:41:49 2009 +0000
@@ -0,0 +1,1 @@
+GUPnP Tools are free replacements of Intel UPnP tools that use GUPnP.
diff -r 50a83d3923a6 -r 64fe62f6efd7 net/gupnp-tools/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gupnp-tools/Makefile  Sun Aug 02 11:41:49 2009 +0000
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/02 11:41:49 drochner Exp $
+#
+
+DISTNAME=      gupnp-tools-0.7.1
+CATEGORIES=    net
+MASTER_SITES=  http://www.gupnp.org/sources/gupnp-tools/
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.gupnp.org/
+COMMENT=       Framework for UPnP devices
+
+GNU_CONFIGURE= yes
+USE_LIBTOOL=   yes
+USE_TOOLS+=    pkg-config
+PKG_DESTDIR_SUPPORT= user-destdir
+
+.include "../../net/gupnp/buildlink3.mk"
+.include "../../net/gupnp-av/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../devel/libglade/buildlink3.mk"
+.include "../../graphics/gnome-icon-theme/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 50a83d3923a6 -r 64fe62f6efd7 net/gupnp-tools/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gupnp-tools/PLIST     Sun Aug 02 11:41:49 2009 +0000
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/02 11:41:49 drochner Exp $
+bin/gupnp-av-cp
+bin/gupnp-network-light
+bin/gupnp-universal-cp
+bin/gupnp-upload
+share/applications/gupnp-av-cp.desktop
+share/applications/gupnp-network-light.desktop
+share/applications/gupnp-universal-cp.desktop
+share/gupnp-tools/gupnp-av-cp.ui
+share/gupnp-tools/gupnp-network-light.ui
+share/gupnp-tools/gupnp-universal-cp.ui
+share/gupnp-tools/pixmaps/av-cp.png
+share/gupnp-tools/pixmaps/media-renderer.png
+share/gupnp-tools/pixmaps/network-light-22x22.png
+share/gupnp-tools/pixmaps/network-light-256x256.png
+share/gupnp-tools/pixmaps/network-light-off.png
+share/gupnp-tools/pixmaps/network-light-on.png
+share/gupnp-tools/pixmaps/universal-cp.png
+share/gupnp-tools/pixmaps/upnp-action-arg-in.png
+share/gupnp-tools/pixmaps/upnp-action-arg-out.png
+share/gupnp-tools/pixmaps/upnp-device.png
+share/gupnp-tools/pixmaps/upnp-service.png
+share/gupnp-tools/pixmaps/upnp-state-variable.png
+share/gupnp-tools/xml/Dimming-scpd.xml
+share/gupnp-tools/xml/SwitchPower-scpd.xml
+share/gupnp-tools/xml/network-light-desc.xml
diff -r 50a83d3923a6 -r 64fe62f6efd7 net/gupnp-tools/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gupnp-tools/distinfo  Sun Aug 02 11:41:49 2009 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/02 11:41:49 drochner Exp $
+
+SHA1 (gupnp-tools-0.7.1.tar.gz) = 2dbfc6b09eebe00c6584bffc1fcd1eb5e38074b7
+RMD160 (gupnp-tools-0.7.1.tar.gz) = bd960e5e961288e66c8110c6639e8ed8709c2e00
+Size (gupnp-tools-0.7.1.tar.gz) = 580161 bytes
+SHA1 (patch-aa) = 28b9d70d6bfc2696c7ea8b6bcde6da083abca64b
diff -r 50a83d3923a6 -r 64fe62f6efd7 net/gupnp-tools/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/gupnp-tools/patches/patch-aa  Sun Aug 02 11:41:49 2009 +0000
@@ -0,0 +1,42 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/08/02 11:41:49 drochner Exp $
+
+--- src/network-light/upnp.c.orig      2009-04-30 14:30:23.000000000 +0200
++++ src/network-light/upnp.c
+@@ -25,7 +25,11 @@
+ #include <stdio.h>
+ #include <locale.h>
+ #include <string.h>
++#if defined(__NetBSD__)
++#include <uuid.h>
++#else
+ #include <uuid/uuid.h>
++#endif
+ #include <glib/gstdio.h>
+ 
+ #include "gui.h"
+@@ -265,6 +269,9 @@ change_uuid (xmlDoc *doc)
+         xmlNode *uuid_node;
+         uuid_t uuid;
+         char *udn, uuidstr[37];
++#if defined(__NetBSD__)
++      char *myuuidstr;
++#endif
+ 
+         uuid_node = xml_util_get_element ((xmlNode *) doc,
+                                           "root",
+@@ -278,8 +285,15 @@ change_uuid (xmlDoc *doc)
+                 return NULL;
+         }
+ 
++#if defined(__NetBSD__)
++      uuid_create(&uuid, 0);
++      uuid_to_string(&uuid, &myuuidstr, 0);
++      strncpy(uuidstr, myuuidstr, sizeof(uuidstr));
++      free(myuuidstr);
++#else
+         uuid_generate (uuid);
+         uuid_unparse (uuid, uuidstr);
++#endif
+ 
+         if (uuidstr == NULL) {
+                 udn = (char *) xmlNodeGetContent (uuid_node);



Home | Main Index | Thread Index | Old Index