From 03ec6d8f01368a41630ad200a5353052d5afcf75 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 20 Jan 2010 13:44:26 +0000 Subject: Update to 0.13.2: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 0.13.2 ====== Changes since 0.13.1: - Utilize libconic (Maemo5) if available. - Unix context manager must signal the unavailibility of all contexts when disposed. - Enable silent build rules if they are available. - Fix race-conditions in client-side notification handling. - Unix context manager ignores point-to-point interfaces. - Context manager ignores interfaces without IP addresses. - Don't require timeouts to be specified in subscription requests. - Fix build against gcc 4.[1,2]. - Make network manager thread-safe. - Remove idle source on dispose in context manager implementations. - Warn in docs that gupnp_service_info_get_introspection() is evil and why. - Service retrieves introspection data in truly async way. - Fix some leaks. - A bunch of code clean-ups. All contributors: Olivier CrĂȘte Zeeshan Ali (Khattak) Ross Burton Jens Georg Cem Eliguzel Bugs fixed: 1890 - Timeout parsing problem with SUBSCRIBE method 1880 - subscription/notification handling is racy 1906 - Tests failed with gupnp 0.13 1849 - Compile error when using gcc 4.[1,2] and strict aliasing 1494 - Ability to deal with multiple network interfaces 1881 - networkmanager interaction should use its own dbus connection 0.13.1 ====== Changes since 0.13: - Use unix context manager if NetworkManager service is not available. - Fix some minor leaks. All contributors: Zeeshan Ali (Khattak) Ross Burton 0.13 ==== Changes since 0.12.8: - Print reason when fail to fetch description doc - Support for dynamic/multiple networks through a new class, ContextManager. This class creates/destroys new context as new network interfaces go up/down. It also provides two convenient methods to take care of control point and device reference managment for you. Currently we have two implementations of context manager: * unix: The static but guaranteed to work on Unix, implementation. This is the default if none chosen at configure-time. * network-manager: A NetworkManager based implementation. - Idle handlers should use the assigned GMainContext. - Gracefully handle 'no root element in description' scenerio. - "host-ip" property moved from GUPnPContext to parent GSSDPClient. - ControlPoint set itself inactive before getting disposed. - New function to retrieve the capabilities of a DLNA device as announced in the device description. - New function to retrieve the content of arbitrary elements in the device description. - Fixed a crash that happens when service-proxy goes down before subscribtion to it completes. - Correct condition for SID being NULL. - Don't create redundant proxies. - Must not announce earlier versions of resources. This is strictly forbidden according to the latest UPnP specs. Instead GSSDP now handles M-SEARCH requests independent of version requested. - Free app developer from hosting of description documents. - New API to get SoupMessage associated with ServiceAction. - Handle the SOAPAction header being missing. - Fixed strrchr result checking. - Provide and use a wrapper class for xmlDoc objects, GUPnPXMLDoc that is a first-class gobject. - New domains for XML errors. - Many other minor fixes. Bugs fixed: 1626 - Print reason when fail to fetch description doc 1769 - audit issues 1760 - missing/invalid SOAPAction header crashes gupnp 1705 - Provide a public API to get information about a GUPnPServiceAction's HTTP request Dependencies changed: - gssdp >= 0.7 All contributors: Zeeshan Ali (Khattak) Ross Burton Sven Neumann Jens Georg Steven Dorigotti WARNING: This release is API and ABI incompatible with previous releases. --- net/gupnp/Makefile | 5 ++-- net/gupnp/PLIST | 6 +++- net/gupnp/buildlink3.mk | 4 +-- net/gupnp/distinfo | 11 ++++---- net/gupnp/patches/patch-ac | 70 ++++++++++++++++++++-------------------------- 5 files changed, 45 insertions(+), 51 deletions(-) diff --git a/net/gupnp/Makefile b/net/gupnp/Makefile index c5b65f9d7cb..d4221ccf0c7 100644 --- a/net/gupnp/Makefile +++ b/net/gupnp/Makefile @@ -1,13 +1,14 @@ -# $NetBSD: Makefile,v 1.1.1.1 2009/08/02 11:35:26 drochner Exp $ +# $NetBSD: Makefile,v 1.2 2010/01/20 13:44:26 wiz Exp $ # -DISTNAME= gupnp-0.12.8 +DISTNAME= gupnp-0.13.2 CATEGORIES= net MASTER_SITES= http://www.gupnp.org/sources/gupnp/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.gupnp.org/ COMMENT= Framework for UPnP devices +LICENSE= gnu-lgpl-v2 GNU_CONFIGURE= yes USE_LIBTOOL= yes diff --git a/net/gupnp/PLIST b/net/gupnp/PLIST index 1985b503cd1..17714cfbe14 100644 --- a/net/gupnp/PLIST +++ b/net/gupnp/PLIST @@ -1,5 +1,6 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/02 11:35:26 drochner Exp $ +@comment $NetBSD: PLIST,v 1.2 2010/01/20 13:44:26 wiz Exp $ bin/gupnp-binding-tool +include/gupnp-1.0/libgupnp/gupnp-context-manager.h include/gupnp-1.0/libgupnp/gupnp-context.h include/gupnp-1.0/libgupnp/gupnp-control-point.h include/gupnp-1.0/libgupnp/gupnp-device-info.h @@ -13,10 +14,12 @@ include/gupnp-1.0/libgupnp/gupnp-service-introspection.h include/gupnp-1.0/libgupnp/gupnp-service-proxy.h include/gupnp-1.0/libgupnp/gupnp-service.h include/gupnp-1.0/libgupnp/gupnp-types.h +include/gupnp-1.0/libgupnp/gupnp-xml-doc.h include/gupnp-1.0/libgupnp/gupnp.h lib/libgupnp-1.0.la lib/pkgconfig/gupnp-1.0.pc share/gtk-doc/html/gupnp/GUPnPContext.html +share/gtk-doc/html/gupnp/GUPnPContextManager.html share/gtk-doc/html/gupnp/GUPnPControlPoint.html share/gtk-doc/html/gupnp/GUPnPDevice.html share/gtk-doc/html/gupnp/GUPnPDeviceInfo.html @@ -27,6 +30,7 @@ share/gtk-doc/html/gupnp/GUPnPService.html share/gtk-doc/html/gupnp/GUPnPServiceInfo.html share/gtk-doc/html/gupnp/GUPnPServiceIntrospection.html share/gtk-doc/html/gupnp/GUPnPServiceProxy.html +share/gtk-doc/html/gupnp/GUPnPXMLDoc.html share/gtk-doc/html/gupnp/api-device-control.html share/gtk-doc/html/gupnp/api-device-impl.html share/gtk-doc/html/gupnp/api-device-info.html diff --git a/net/gupnp/buildlink3.mk b/net/gupnp/buildlink3.mk index ea1a6ef5a77..ea521d89dbe 100644 --- a/net/gupnp/buildlink3.mk +++ b/net/gupnp/buildlink3.mk @@ -1,11 +1,11 @@ -# $NetBSD: buildlink3.mk,v 1.1.1.1 2009/08/02 11:35:26 drochner Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2010/01/20 13:44:26 wiz Exp $ BUILDLINK_TREE+= gupnp .if !defined(GUPNP_BUILDLINK3_MK) GUPNP_BUILDLINK3_MK:= -BUILDLINK_API_DEPENDS.gupnp+= gupnp>=0.12.6 +BUILDLINK_API_DEPENDS.gupnp+= gupnp>=0.13.2 BUILDLINK_PKGSRCDIR.gupnp?= ../../net/gupnp .include "../../devel/glib2/buildlink3.mk" diff --git a/net/gupnp/distinfo b/net/gupnp/distinfo index b0636d1d287..dc3f39325b3 100644 --- a/net/gupnp/distinfo +++ b/net/gupnp/distinfo @@ -1,10 +1,9 @@ -$NetBSD: distinfo,v 1.3 2009/09/19 14:18:31 sno Exp $ +$NetBSD: distinfo,v 1.4 2010/01/20 13:44:26 wiz Exp $ -SHA1 (gupnp-0.12.8.tar.gz) = b64bea62856b25e4c7f93faa32829f7bd3700aac -RMD160 (gupnp-0.12.8.tar.gz) = f2732d85d600b2f485ee69cd4169183728d881d9 -Size (gupnp-0.12.8.tar.gz) = 475001 bytes -SHA1 (patch-aa) = 2c63c7406ddb08cf5fa8d707fbe51e6405e5546b +SHA1 (gupnp-0.13.2.tar.gz) = 8c81b083668cafc4747a3b6741615992f2438abb +RMD160 (gupnp-0.13.2.tar.gz) = 5140a1d9dd02212b3fba6f0507fd76ad23b263fd +Size (gupnp-0.13.2.tar.gz) = 548808 bytes SHA1 (patch-ab) = e43380eac64d815fff1a1b62f73e35e1bdfb9633 -SHA1 (patch-ac) = 6d33a9c2fd175ad7a8cbb49f55ddccf58009f1ad +SHA1 (patch-ac) = efba7d55b3508ca97bae6d6f7caca6a7d50ad52e SHA1 (patch-ad) = 4e6066594153e3ca10b32618fc3afb1144d50d54 SHA1 (patch-ae) = 4601bc1d9c56a509241c99e529ea65fe5bf7986c diff --git a/net/gupnp/patches/patch-ac b/net/gupnp/patches/patch-ac index 0599c8003a8..cb4ab599f7f 100644 --- a/net/gupnp/patches/patch-ac +++ b/net/gupnp/patches/patch-ac @@ -1,28 +1,28 @@ -$NetBSD: patch-ac,v 1.1.1.1 2009/08/02 11:35:26 drochner Exp $ +$NetBSD: patch-ac,v 1.2 2010/01/20 13:44:26 wiz Exp $ ---- configure.orig 2009-06-02 14:25:31.000000000 +0200 +--- configure.orig 2009-12-04 15:26:48.000000000 +0000 +++ configure -@@ -12882,15 +12882,13 @@ if test -n "$LIBGUPNP_CFLAGS"; then +@@ -11679,15 +11679,13 @@ if test -n "$PKG_CONFIG"; then gmodule-2.0 \\ - gssdp-1.0 >= 0.6 \\ + gssdp-1.0 >= 0.7 \\ libsoup-2.4 >= 2.4.1 \\ - libxml-2.0 \\ -- uuid\"") >&5 -+ libxml-2.0\"") >&5 +- uuid\""; } >&5 ++ libxml-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.18 \ gobject-2.0 >= 2.18 \ gmodule-2.0 \ - gssdp-1.0 >= 0.6 \ + gssdp-1.0 >= 0.7 \ libsoup-2.4 >= 2.4.1 \ - libxml-2.0 \ - uuid") 2>&5 + libxml-2.0") 2>&5 ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then -@@ -12899,8 +12897,7 @@ if test -n "$LIBGUPNP_CFLAGS"; then + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +@@ -11696,8 +11694,7 @@ if test -n "$PKG_CONFIG"; then gmodule-2.0 \ - gssdp-1.0 >= 0.6 \ + gssdp-1.0 >= 0.7 \ libsoup-2.4 >= 2.4.1 \ - libxml-2.0 \ - uuid" 2>/dev/null` @@ -30,27 +30,27 @@ $NetBSD: patch-ac,v 1.1.1.1 2009/08/02 11:35:26 drochner Exp $ else pkg_failed=yes fi -@@ -12916,15 +12913,13 @@ if test -n "$LIBGUPNP_LIBS"; then +@@ -11715,15 +11712,13 @@ if test -n "$PKG_CONFIG"; then gmodule-2.0 \\ - gssdp-1.0 >= 0.6 \\ + gssdp-1.0 >= 0.7 \\ libsoup-2.4 >= 2.4.1 \\ - libxml-2.0 \\ -- uuid\"") >&5 -+ libxml-2.0\"") >&5 +- uuid\""; } >&5 ++ libxml-2.0\""; } >&5 ($PKG_CONFIG --exists --print-errors "glib-2.0 >= 2.18 \ gobject-2.0 >= 2.18 \ gmodule-2.0 \ - gssdp-1.0 >= 0.6 \ + gssdp-1.0 >= 0.7 \ libsoup-2.4 >= 2.4.1 \ - libxml-2.0 \ - uuid") 2>&5 + libxml-2.0") 2>&5 ac_status=$? - $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; then -@@ -12933,8 +12928,7 @@ if test -n "$LIBGUPNP_LIBS"; then + $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 + test $ac_status = 0; }; then +@@ -11732,8 +11727,7 @@ if test -n "$PKG_CONFIG"; then gmodule-2.0 \ - gssdp-1.0 >= 0.6 \ + gssdp-1.0 >= 0.7 \ libsoup-2.4 >= 2.4.1 \ - libxml-2.0 \ - uuid" 2>/dev/null` @@ -58,38 +58,28 @@ $NetBSD: patch-ac,v 1.1.1.1 2009/08/02 11:35:26 drochner Exp $ else pkg_failed=yes fi -@@ -12957,16 +12951,14 @@ fi +@@ -11757,16 +11751,14 @@ fi gmodule-2.0 \ - gssdp-1.0 >= 0.6 \ + gssdp-1.0 >= 0.7 \ libsoup-2.4 >= 2.4.1 \ - libxml-2.0 \ -- uuid" 2>&1` -+ libxml-2.0" 2>&1` +- uuid"` ++ libxml-2.0"` else - LIBGUPNP_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0 >= 2.18 \ + LIBGUPNP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0 >= 2.18 \ gobject-2.0 >= 2.18 \ gmodule-2.0 \ - gssdp-1.0 >= 0.6 \ + gssdp-1.0 >= 0.7 \ libsoup-2.4 >= 2.4.1 \ - libxml-2.0 \ -- uuid" 2>&1` -+ libxml-2.0" 2>&1` +- uuid"` ++ libxml-2.0"` fi # Put the nasty error message in config.log where it belongs echo "$LIBGUPNP_PKG_ERRORS" >&5 -@@ -12976,8 +12968,7 @@ fi +@@ -11776,8 +11768,7 @@ fi gmodule-2.0 \ - gssdp-1.0 >= 0.6 \ - libsoup-2.4 >= 2.4.1 \ -- libxml-2.0 \ -- uuid) were not met: -+ libxml-2.0) were not met: - - $LIBGUPNP_PKG_ERRORS - -@@ -12993,8 +12984,7 @@ $as_echo "$as_me: error: Package require - gmodule-2.0 \ - gssdp-1.0 >= 0.6 \ + gssdp-1.0 >= 0.7 \ libsoup-2.4 >= 2.4.1 \ - libxml-2.0 \ - uuid) were not met: -- cgit v1.2.3