pkgsrc/net/gupnp-tools/patches/patch-aa
ryoon 4200e94e41 Update to 0.8.4
0.8.4
=====

Changes since 0.8.3:

- Autotools use has been modernized.
- Minor code clean-up.

gupnp-av-cp:
  - Fix issue that DIDL dialog was empty on next usage when user pressed ESC
    to close it.
  - Add XML pretty-printing to DIDL dialog.
  - Use GtkSourceView for DIDL dialog when available during build-time.

gssdp-discover:
  - A new simple SSDP discovery tool.

gupnp-upload:
  - Fix compiling with -Wall.
  - Set empty item id as mandated by UPnP.

Bugs fixed:
 https://bugzilla.gnome.org/show_bug.cgi?id=655562
 https://bugzilla.gnome.org/show_bug.cgi?id=655563
 https://bugzilla.gnome.org/show_bug.cgi?id=655579
 https://bugzilla.gnome.org/show_bug.cgi?id=654979
 https://bugzilla.gnome.org/show_bug.cgi?id=659315
 https://bugzilla.gnome.org/show_bug.cgi?id=659316

All contributors:
 Jens Georg <mail@jensge.org>
 Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
 Thijs Vermeir <thijsvermeir@gmail.com>

0.8.3
=====

Another micro release that fixes all the UI issues introduce in the last release
due to port to newer gtk+/glade.

All contributors:

Jens Georg <mail@jensge.org>
Zeeshan Ali (Khattak) <zeeshanak@gnome.org>

0.8.2
=====

Changes since 0.8.1:

- Fix icon name in a warning message.
- Clear the (obsolete) ChangeLog file.

Dependencies changed:

- Require and adapt to gtk+ >= 3.0.0.

All contributors:

Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
Jens Georg <mail@jensge.org>
Sven Neumann <s.neumann@raumfeld.com>
Luis de Bethencourt <luis@debethencourt.com>

0.8.1
=====

Changes since 0.8:

- Make sure everything builds and runs on windows.
- Add popup menu to playlist treeview.
- Add UI for user to fetch and view the DIDL-Lite XML for media objects.
- Make it possible for user to select containers.
- Get rid of redundant newline in warning messages.
- Obey the ACLOCAL_FLAGS environment variable.
- Other non-functional improvements.

Dependencies changed:

- Require and adapt to gupnp-av >= 0.5.5

All contributors:

Zeeshan Ali (Khattak) <zeeshanak@gnome.org>
Ross Burton <ross@linux.intel.com>
Jens Georg <mail@jensge.org>
Neil Roberts <neil@linux.intel.com>
2012-10-06 08:21:00 +00:00

36 lines
883 B
Text

$NetBSD: patch-aa,v 1.4 2012/10/06 08:21:00 ryoon Exp $
--- src/network-light/upnp.c.orig 2011-07-30 07:39:56.000000000 +0000
+++ src/network-light/upnp.c
@@ -27,7 +27,11 @@
#include <string.h>
#include <gmodule.h>
#ifndef G_OS_WIN32
+#if defined(__NetBSD__) || defined(__DragonFly__)
+#include <uuid.h>
+#else
#include <uuid/uuid.h>
+#endif
#else
#include <rpc.h>
typedef UUID uuid_t;
@@ -335,8 +339,19 @@ static void init_uuid ()
char *udn;
#ifndef G_OS_WIN32
+#if defined(__NetBSD__) || defined(__DragonFly__)
+char *myuuidstr;
+#endif
+
+#if defined(__NetBSD__) || defined(__DragonFly__)
+ uuid_create(&uuid_context, 0);
+ uuid_to_string(&uuid_context, &myuuidstr, 0);
+ strncpy(uuid, myuuidstr, sizeof(uuid));
+ free(myuuidstr);
+#else
uuid_generate (uuid_context);
uuid_unparse (uuid_context, uuid);
+#endif
#else
{
gchar *tmp_uuid;