Package: bluetile
Version: 0.5.1-2
Severity: normal
Tags: upstream patch

Hi,

This bug doesn't affect sid yet, and probably won't as I can't see
gtk+2.0 being uploaded now that we are frozen.

I'm also ccing Jan (upstream) as the patch probably wants to be
applied there.

Ubuntu, following Debian (in experimental) recently split gdk-pixbuf
out from gtk+2.0 into its own separate package. This means that the
headers aren't found by simply including <gtk/gtk.h> any more. The
correct CFLAGS need to be used. This can be achieved in Cabal by
adding a pkgconfig-depends line, as in my attached patch.

I think this could be committed upstream, but I'm also sending the bug
report to the Debian BTS to keep track. I've uploaded a patched
package to Ubuntu with this fix in place.

Cheers,
Iain

-- System Information:
Debian Release: squeeze/sid
  APT prefers maverick-updates
  APT policy: (500, 'maverick-updates'), (500, 'maverick-proposed'), (500, 
'maverick')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-7-server (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
Description: Add missing pkgconfig dependency on gtk+-2.0 to ensure that 
 needed CFLAGS are set for the build
Origin: vendor
Forwarded: no
Reviewed-By: Iain Lane <la...@ubuntu.com>
Last-Update: 2010-08-08

--- bluetile-0.5.1.orig/bluetile.cabal
+++ bluetile-0.5.1/bluetile.cabal
@@ -86,6 +86,7 @@ Executable bluetiledock
   Hs-Source-Dirs:    bluetiledock
   Main-is:           BluetileDock.hs
   Build-Depends:     base>=3, base<5, unix, glade, gtk, X11>=1.4
+  pkgconfig-depends: gtk+-2.0
   C-sources:         bluetiledock/gdk_property_change_wrapper.c
   if true
     Ghc-Options:       -Wall

Reply via email to