Package: google-gadgets
Version: 0.10.5-0.3
Severity: wishlist
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd

Hi,

the current version fails to build on GNU/Hurd.

It needs two small tweaks, attached as patches:
- debian.diff: to exclude network-manager-dev from the build-depends
- 04_hurd.diff: making the gnu os being recognized by GG as "linux";
  please note applying this patch requires relibtoolization, likewise it has
  been done for the kfreebsd patch (you can just edit the 99_relibtoolize.patch
  and apply the change there)

Thanks,
-- 
Pino

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (850, 'testing'), (800, 'unstable'), (750, 'experimental'), (750, 
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Index: google-gadgets-0.10.5/debian/control
===================================================================
--- google-gadgets-0.10.5.orig/debian/control	2009-09-06 15:26:33.000000000 +0200
+++ google-gadgets-0.10.5/debian/control	2009-09-06 15:27:02.000000000 +0200
@@ -5,7 +5,7 @@
 Build-Depends: debhelper (>= 5), zlib1g-dev, libgtk2.0-dev, zip, chrpath, quilt (>= 0.46-7~),
  libxml2-dev, libdbus-1-dev, librsvg2-dev, libqt4-dev, libltdl3-dev,
  libcurl4-gnutls-dev | libcurl4-openssl-dev, libgstreamer-plugins-base0.10-dev, 
- xulrunner-dev | xulrunner-1.9-dev, network-manager-dev [!kfreebsd-amd64 !kfreebsd-i386], 
+ xulrunner-dev | xulrunner-1.9-dev, network-manager-dev [!kfreebsd-amd64 !kfreebsd-i386 !hurd-i386], 
  libstartup-notification0-dev
 Standards-Version: 3.8.0
 Vcs-Svn: http://google-gadgets-for-linux.googlecode.com/svn/trunk/packaging/debian
Index: google-gadgets-0.10.5/configure.ac
===================================================================
--- google-gadgets-0.10.5.orig/configure.ac	2009-09-06 15:26:49.000000000 +0200
+++ google-gadgets-0.10.5/configure.ac	2009-09-06 15:27:02.000000000 +0200
@@ -415,7 +415,7 @@
     GGL_PLATFORM_SHORT="\"mac\""
     GGL_PLATFORM="\"mac\""
     ;;
-  *linux* | *kfreebsd*-gnu* )
+  *linux* | *kfreebsd*-gnu* | gnu* )
     ggl_host_type=linux
     PREDEFINED_MACROS="$PREDEFINED_MACROS -DGGL_HOST_LINUX=1"
     SMJS_CFLAGS="-DXP_UNIX"

Reply via email to