Package: babl
Version: 0.1.10-1
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu quantal ubuntu-patch

Dear Maintainer,

gnome-scan makes use of the Babl objects directly; expecting to be working on a 
BablFormat object. This is required to port gnome-scan to the new 
libgegl/libbabl versions; and appears to require additional header files.

To successfully port gnome-scan to the new gegl and babl libraries I've needed 
as a minimum the additional babl-classes.h file which is required to properly 
define a Babl object as a union of the other Babl types (esp. BablFormat) and 
babl-format.h (defining BablFormat itself).

*** /tmp/tmpSu1h0T/bug_body
In Ubuntu, the attached patch was applied to achieve the following:

  * debian/babl-includes.patch: add all headers files as files to ship;
    otherwise some packages (gnome-scan) fail to build.

Thanks for considering the patch.


-- System Information:
Debian Release: wheezy/sid
  APT prefers quantal-updates
  APT policy: (500, 'quantal-updates'), (500, 'quantal-security'), (500, 
'quantal'), (100, 'quantal-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.4.0-3-generic (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
=== added directory 'debian/patches'
=== added file 'debian/patches/babl-includes.patch'
--- debian/patches/babl-includes.patch	1970-01-01 00:00:00 +0000
+++ debian/patches/babl-includes.patch	2012-05-31 12:14:34 +0000
@@ -0,0 +1,40 @@
+From: Mathieu Trudel-Lapierre <mathieu.trudel-lapie...@canonical.com>
+Subject: Add more headers to files to install to /usr/include/
+
+---
+ babl/Makefile.am |    5 +----
+ babl/Makefile.in |    5 +----
+ 2 files changed, 2 insertions(+), 8 deletions(-)
+
+Index: b/babl/Makefile.am
+===================================================================
+--- a/babl/Makefile.am
++++ b/babl/Makefile.am
+@@ -62,10 +62,7 @@ h_sources  =				\
+ 	babl-util.h
+ 
+ library_includedir=$(includedir)/babl-$(BABL_API_VERSION)/babl
+-libinc_hdrs = \
+-	babl-macros.h           \
+-	babl-types.h            \
+-	babl.h
++libinc_hdrs = $(h_sources)
+ libinc_generated_hdrs = \
+ 	babl-version.h
+ library_include_HEADERS = \
+Index: b/babl/Makefile.in
+===================================================================
+--- a/babl/Makefile.in
++++ b/babl/Makefile.in
+@@ -385,10 +385,7 @@ h_sources = \
+ 	babl-util.h
+ 
+ library_includedir = $(includedir)/babl-$(BABL_API_VERSION)/babl
+-libinc_hdrs = \
+-	babl-macros.h           \
+-	babl-types.h            \
+-	babl.h
++libinc_hdrs = $(h_sources)
+ 
+ libinc_generated_hdrs = \
+ 	babl-version.h

=== added file 'debian/patches/series'
--- debian/patches/series	1970-01-01 00:00:00 +0000
+++ debian/patches/series	2012-05-24 20:09:44 +0000
@@ -0,0 +1 @@
+babl-includes.patch

Reply via email to