Package: avahi-sharp Version: 0.6.19-3 Severity: serious Tags: patch User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu jaunty ubuntu-patch
Hi, It appears the build system of avahi-sharp doesn't respect the passed variables. I found this while attempting to sync to Jaunty - there was a build failure. I'm not sure why it doesn't fail on sid (possibly mcs gets pulled in some other way), but in any case the transition is not complete. Attached is a patch to fix the build system to actually do the right thing. You will need to autoreconf to get the change picked up (I did it in rules in Jaunty, but haven't attached that here incase you prefer to do it differently). * debian/patches/01_configurable_compiler.patch, debian/rules, debian/control Patch to make build system actually respect passed compiler variables. Thanks, Iain -- System Information: Debian Release: 5.0 APT prefers jaunty-updates APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 'jaunty-proposed'), (500, 'jaunty-backports'), (500, 'jaunty') Architecture: amd64 (x86_64) Kernel: Linux 2.6.28-8-generic (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_GB.UTF-8) Shell: /bin/sh linked to /bin/dash
--- avahi-sharp-0.6.19.orig/debian/patches/01_configurable_compiler.patch +++ avahi-sharp-0.6.19/debian/patches/01_configurable_compiler.patch @@ -0,0 +1,24 @@ +diff -Nur -x '*.orig' -x '*~' avahi-sharp-0.6.19/avahi-sharp/Makefile.am avahi-sharp-0.6.19.new/avahi-sharp/Makefile.am +--- avahi-sharp-0.6.19/avahi-sharp/Makefile.am 2007-05-17 13:19:48.000000000 +0100 ++++ avahi-sharp-0.6.19.new/avahi-sharp/Makefile.am 2009-03-05 23:57:27.000000000 +0000 +@@ -47,7 +47,7 @@ + $(srcdir)/en/*/*.xml + + $(ASSEMBLY): $(AVAHISOURCES) +- mcs -keyfile:$(srcdir)/avahi.snk -target:library -out:$@ -debug $(AVAHISOURCES) -r:Mono.Posix ++ $(MCS) -keyfile:$(srcdir)/avahi.snk -target:library -out:$@ -debug $(AVAHISOURCES) -r:Mono.Posix + + all: $(ASSEMBLY) $(ASSEMBLY).config + +diff -Nur -x '*.orig' -x '*~' avahi-sharp-0.6.19/avahi-ui-sharp/Makefile.am avahi-sharp-0.6.19.new/avahi-ui-sharp/Makefile.am +--- avahi-sharp-0.6.19/avahi-ui-sharp/Makefile.am 2007-05-17 13:57:31.000000000 +0100 ++++ avahi-sharp-0.6.19.new/avahi-ui-sharp/Makefile.am 2009-03-05 23:58:10.000000000 +0000 +@@ -33,7 +33,7 @@ + $(srcdir)/zssh.cs + + $(ASSEMBLY): $(AVAHISOURCES) +- mcs -keyfile:$(top_srcdir)/avahi-sharp/avahi.snk -target:library -out:$@ -debug $(AVAHISOURCES) -pkg:gtk-sharp-2.0 -r:$(top_builddir)/avahi-sharp/avahi-sharp.dll -r:Mono.Posix ++ $(MCS) -keyfile:$(top_srcdir)/avahi-sharp/avahi.snk -target:library -out:$@ -debug $(AVAHISOURCES) -pkg:gtk-sharp-2.0 -r:$(top_builddir)/avahi-sharp/avahi-sharp.dll -r:Mono.Posix + + all: $(ASSEMBLY) $(ASSEMBLY).config +