tags 473959 + patch
kthxbye

Hi.

I attach an NMU to fix this FTBFS.

Thanks,

-- 
Jonny Lamb, UK                                   [EMAIL PROTECTED]
http://jonnylamb.com                                     GPG: 0x2E039402
diff -Nru gupnp-tools-0.2.orig/debian/changelog gupnp-tools-0.2/debian/changelog
--- gupnp-tools-0.2.orig/debian/changelog	2008-04-06 13:39:51.000000000 +0100
+++ gupnp-tools-0.2/debian/changelog	2008-04-06 13:51:04.000000000 +0100
@@ -1,3 +1,11 @@
+gupnp-tools (0.2-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/patches/473959-update-to-libgupnp.diff: Added patch to fix
+    behaviour with libgupnp 0.8.
+
+ -- Jonny Lamb <[EMAIL PROTECTED]>  Sun, 06 Apr 2008 13:49:23 +0100
+
 gupnp-tools (0.2-1) unstable; urgency=low
 
   * New upstream release.
diff -Nru gupnp-tools-0.2.orig/debian/patches/473959-update-to-libgupnp.diff gupnp-tools-0.2/debian/patches/473959-update-to-libgupnp.diff
--- gupnp-tools-0.2.orig/debian/patches/473959-update-to-libgupnp.diff	1970-01-01 01:00:00.000000000 +0100
+++ gupnp-tools-0.2/debian/patches/473959-update-to-libgupnp.diff	2008-04-06 13:52:21.000000000 +0100
@@ -0,0 +1,37 @@
+Fix behaviour with libgupnp 0.8. This has been fixed upstream. This patch is to fix #473959.
+
+Upstream commit:
+http://svn.o-hand.com/view/gupnp/trunk/gupnp-tools/src/universal-cp/action-dialog.c?rev=799&r1=586&r2=799
+
+diff -Nru gupnp-tools-0.2.orig/src/universal-cp-actiondialog.c gupnp-tools-0.2/src/universal-cp-actiondialog.c
+--- gupnp-tools-0.2.orig/src/universal-cp-actiondialog.c	2008-04-06 13:39:51.000000000 +0100
++++ gupnp-tools-0.2/src/universal-cp-actiondialog.c	2008-04-06 13:44:35.000000000 +0100
+@@ -704,7 +704,6 @@
+         GUPnPServiceIntrospection *introspection;
+         GUPnPServiceActionInfo    *action_info;
+         GHashTable                *in_args;
+-        GError                    *error = NULL;
+ 
+         action_info = get_selected_action (&proxy, &introspection);
+         if (action_info == NULL)
+@@ -717,20 +716,7 @@
+                                               action_info->name,
+                                               on_action_complete,
+                                               NULL,
+-                                              &error,
+                                               in_args);
+-        if (error) {
+-                gchar *id;
+-
+-                id = gupnp_service_info_get_id (GUPNP_SERVICE_INFO (proxy));
+-                g_warning ("Failed to send action '%s' to service '%s': %s\n",
+-                           action_info->name,
+-                           id,
+-                           error->message);
+-
+-                g_free (id);
+-                g_error_free (error);
+-        }
+ 
+         g_hash_table_destroy (in_args);
+         g_object_unref (proxy);
diff -Nru gupnp-tools-0.2.orig/debian/rules gupnp-tools-0.2/debian/rules
--- gupnp-tools-0.2.orig/debian/rules	2008-04-06 13:39:51.000000000 +0100
+++ gupnp-tools-0.2/debian/rules	2008-04-06 13:53:13.000000000 +0100
@@ -3,5 +3,6 @@
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
 include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
 DEB_DH_MAKESHLIBS_ARGS_ALL := -V

Attachment: signature.asc
Description: Digital signature

Reply via email to