Package: nautilus-sendto
Version: 3.0.3-2
Severity: important

Dear Maintainer,

I'm filing this bug to make everyone aware that nautilus-sendto in
Debian Unstable will start to fail to build from source once
newer gupnp is uploaded, which I plan to do now.

The reason for the build failures is that nautilus-sendto relies
on gupnp leaking linker flags to gssdp, which it has stopped doing.

The fix is trivial, just add gssdp next to gupnp in configure.ac.
(The package already regenerates the files using dh-autoreconf.)

I'll do a team upload of nautilus-sendto and push the changes to SVN,
since I assume uploading the latest upstream version of nautilus-sendto
is a bit away (and probably needs a bit of discussion given that it has
ripped out all of the modules).
Please tell me right away if you want me to not do this!
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 37782)
+++ debian/changelog	(working copy)
@@ -1,3 +1,11 @@
+nautilus-sendto (3.0.3-3) unstable; urgency=low
+
+  * Team upload.
+  * Add debian/patches/fix-gssdp-linking.patch
+    - fixing linking now that gupnp no longer leaks linker flags to gssdp
+
+ -- Andreas Henriksson <andr...@fatal.se>  Sat, 18 May 2013 03:27:47 +0200
+
 nautilus-sendto (3.0.3-2) unstable; urgency=low
 
   * Drop debian/patches/01_fix_commandline.patch and
Index: debian/patches/fix-gssdp-linking.patch
===================================================================
--- debian/patches/fix-gssdp-linking.patch	(revision 0)
+++ debian/patches/fix-gssdp-linking.patch	(working copy)
@@ -0,0 +1,26 @@
+This patch is the equivanlent of the upstream commit listed below
+(which was never in any release, since all modules was ripped out).
+
+
+From c001500a185fc0e7082d2495b83456b5cc298abd Mon Sep 17 00:00:00 2001
+From: Andreas Henriksson <andr...@fatal.se>
+Date: Wed, 10 Oct 2012 11:29:32 +0000
+Subject: Fix building with new gupnp stack
+
+Since gupnp 0.19.0, internal linker flags are no longer leaked
+to users of this library.
+This means applications need to link to all libraries
+that it uses directly, and nautilus-sendto uses symbols
+from gssdp so should link to it.
+---
+--- a/configure.in
++++ b/configure.in
+@@ -197,7 +197,7 @@
+ 			fi
+ 		;;
+ 		upnp)
+-			PKG_CHECK_MODULES(UPNP, gupnp-1.0 >= $GUPNP_REQUIRED,
++			PKG_CHECK_MODULES(UPNP, gssdp-1.0 gupnp-1.0 >= $GUPNP_REQUIRED,
+ 					  enable_upnp=yes, enable_upnp=no)
+ 			if test "${enable_upnp}" != "yes" ; then
+ 				plugin_error_or_ignore "you need gupnp installed for the upnp plugin"
Index: debian/patches/series
===================================================================
--- debian/patches/series	(revision 0)
+++ debian/patches/series	(working copy)
@@ -0,0 +1 @@
+fix-gssdp-linking.patch

Reply via email to