RSS/Atom feed Twitter
Site is read-only, email is disabled

Problem with babl.h when building Gimp - with patch

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

1 of 1 message available
Toggle history

Please log in to manage your subscriptions.

Problem with babl.h when building Gimp - with patch Jon Crowe 24 May 10:24
Jon Crowe
2013-05-24 10:24:49 UTC (over 11 years ago)

Problem with babl.h when building Gimp - with patch

Hi,

I'm building Gimp from latest GIT version. This failed in libgimpcolor when
compiling gimpadaptivesupersample.c. The error was:

gimpadaptivesupersample.c:21:23: fatal error: babl/babl.h: No such file or

directory

Rather than using pkg-config, I had passed the BABL_CFLAGS environment variable
when running autogen.sh, as suggested in configure --help.

I fixed this by adding $(BABL_CFLAGS) to INCLUDES at line 507 of the Makefile
in the libgimpcolor
directory.

This may be peculiar to my set up, but if it's useful, I have included a patch
to
Makefile.am

Thanks for all your work,

Jon.

From 0092746783f108883f5eb77f25213c36ed879680 Mon Sep 17 00:00:00 2001
From: Jon Crowe

Date: Fri, 24 May 2013 11:06:08 +0100
Subject: [PATCH] Added BABL_CFLAGS to INCLUDES

---

libgimpcolor/Makefile.am | 1 +
1 file changed, 1
insertion(+)

diff --git a/libgimpcolor/Makefile.am b/libgimpcolor/Makefile.am
index 20f43fa..306000e
100644
---
a/libgimpcolor/Makefile.am

+++ b/libgimpcolor/Makefile.am

@@ -53,6 +53,7 @@ AM_CPPFLAGS = \
INCLUDES =
\
-I$(top_srcdir)
\
$(GEGL_CFLAGS)
\
+ $(BABL_CFLAGS)
\
$(CAIRO_CFLAGS)
\
$(GDK_PIXBUF_CFLAGS)
\

-I$(includedir)

--

1.8.1.2