Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2013 08:09:34 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r315009 - in head/net/gupnp: . files
Message-ID:  <201303230809.r2N89YYG043697@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat Mar 23 08:09:34 2013
New Revision: 315009
URL: http://svnweb.freebsd.org/changeset/ports/315009

Log:
  - Update to 0.20.1
  - Use USES=pathfix
  - Cleanup Makefile header
  
  Changes:	http://git.gnome.org/browse/gupnp/tree/NEWS

Modified:
  head/net/gupnp/Makefile
  head/net/gupnp/distinfo   (contents, props changed)
  head/net/gupnp/files/patch-libgupnp_gupnp-control-point.c   (contents, props changed)
  head/net/gupnp/files/patch-libgupnp_gupnp-services.c   (contents, props changed)

Modified: head/net/gupnp/Makefile
==============================================================================
--- head/net/gupnp/Makefile	Sat Mar 23 08:07:56 2013	(r315008)
+++ head/net/gupnp/Makefile	Sat Mar 23 08:09:34 2013	(r315009)
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	gupnp
-# Date created:		2009-12-26
-# Whom:			Martin Wilke <miwi@FreeBSD.org>
-#
+# Created by: Martin Wilke <miwi@FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	gupnp
-PORTVERSION=	0.18.4
+PORTVERSION=	0.20.1
 CATEGORIES=	net
 MASTER_SITES=	GNOME
 
@@ -21,15 +17,16 @@ LIB_DEPENDS=	gssdp-1.0:${PORTSDIR}/net/g
 		uuid:${PORTSDIR}/misc/e2fsprogs-libuuid
 
 CONFIGURE_ARGS=	--enable-introspection=yes
+CONFIGURE_ENV=	VAPIGEN=""
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
-USE_GNOME=	glib20 gnomehack
+USE_GNOME=	glib20
 USE_LDCONFIG=	yes
 USE_PYTHON=	yes
 USE_XZ=		yes
+USES=		pathfix
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' \
-		${WRKSRC}/tools/gupnp-binding-tool
+	@${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' ${WRKSRC}/tools/gupnp-binding-tool
 
 .include <bsd.port.mk>

Modified: head/net/gupnp/distinfo
==============================================================================
--- head/net/gupnp/distinfo	Sat Mar 23 08:07:56 2013	(r315008)
+++ head/net/gupnp/distinfo	Sat Mar 23 08:09:34 2013	(r315009)
@@ -1,2 +1,2 @@
-SHA256 (gupnp-0.18.4.tar.xz) = 6b437d5711b212292c6080626b97480268310da636a6cf937ad6119291af78a1
-SIZE (gupnp-0.18.4.tar.xz) = 361524
+SHA256 (gupnp-0.20.1.tar.xz) = a98ab69289742a075c9a7655650e0d1944a3886bb7851bf40ed82608a9ddac61
+SIZE (gupnp-0.20.1.tar.xz) = 368108

Modified: head/net/gupnp/files/patch-libgupnp_gupnp-control-point.c
==============================================================================
--- head/net/gupnp/files/patch-libgupnp_gupnp-control-point.c	Sat Mar 23 08:07:56 2013	(r315008)
+++ head/net/gupnp/files/patch-libgupnp_gupnp-control-point.c	Sat Mar 23 08:09:34 2013	(r315009)
@@ -1,6 +1,6 @@
---- libgupnp/gupnp-control-point.c.orig	2009-08-24 18:29:33.000000000 +0200
-+++ libgupnp/gupnp-control-point.c	2009-12-26 14:32:06.000000000 +0100
-@@ -658,7 +658,7 @@
+--- libgupnp/gupnp-control-point.c.orig	2012-11-29 07:13:43.000000000 +0800
++++ libgupnp/gupnp-control-point.c	2013-03-15 16:00:16.921426942 +0800
+@@ -692,7 +692,7 @@
          /* Count elements */
          count = g_strv_length (bits);
  

Modified: head/net/gupnp/files/patch-libgupnp_gupnp-services.c
==============================================================================
--- head/net/gupnp/files/patch-libgupnp_gupnp-services.c	Sat Mar 23 08:07:56 2013	(r315008)
+++ head/net/gupnp/files/patch-libgupnp_gupnp-services.c	Sat Mar 23 08:09:34 2013	(r315009)
@@ -1,26 +1,30 @@
---- libgupnp/gupnp-service.c.orig	2009-12-02 15:27:43.000000000 +0100
-+++ libgupnp/gupnp-service.c	2009-12-26 14:30:23.000000000 +0100
-@@ -30,7 +30,11 @@
+--- libgupnp/gupnp-service.c.orig	2013-02-20 20:35:57.000000000 +0800
++++ libgupnp/gupnp-service.c	2013-03-15 16:04:28.277418472 +0800
+@@ -30,6 +30,7 @@
  #include <gobject/gvaluecollector.h>
  #include <gmodule.h>
  #include <libsoup/soup-date.h>
-+#if defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__)
-+#include <uuid.h>
-+#else
- #include <uuid/uuid.h>
-+#endif
++#include <libsoup/soup-date.h>
  #include <string.h>
  #include "gupnp-service.h"
  #include "gupnp-root-device.h"
-@@ -867,9 +871,19 @@
- {
+@@ -43,6 +44,8 @@
+ 
+ #ifdef G_OS_WIN32
+ #include <rpc.h>
++#elsif defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__)
++#include <uuid.h>
+ #else
+ #include <uuid/uuid.h>
+ #endif
+@@ -1100,9 +1103,19 @@
+ #else
          uuid_t id;
          char out[39];
--
 +#if defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__)
 +	char *myout;
 +#endif
-+
+ 
 +#if defined(__NetBSD__) || defined(__DragonFly__) || defined(__FreeBSD__)
 +	uuid_create(&id, 0);
 +	uuid_to_string(&id, &myout, 0);
@@ -32,4 +36,4 @@
 +#endif
  
          return g_strdup_printf ("uuid:%s", out);
- }
+ #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303230809.r2N89YYG043697>