[gimp/metadata-browser] Make 'make check' compile



commit 5a5c8167b722c57a6975c40774072eebbcd137cb
Author: Martin Nordholts <martinn src gnome org>
Date:   Wed May 2 21:53:38 2012 +0200

    Make 'make check' compile

 app/config/Makefile.am           |   17 +++++++++--------
 app/tests/test-core.c            |    3 ++-
 app/tests/test-xcf.c             |    4 +++-
 libgimpcolor/Makefile.am         |    2 +-
 libgimpcolor/test-color-parser.c |    2 ++
 5 files changed, 17 insertions(+), 11 deletions(-)
---
diff --git a/app/config/Makefile.am b/app/config/Makefile.am
index dd49d18..6a936c9 100644
--- a/app/config/Makefile.am
+++ b/app/config/Makefile.am
@@ -76,14 +76,15 @@ test_config_DEPENDENCIES = $(gimpconfig_libs)
 # We need this due to circular dependencies, see more detailed
 # comments about it in app/Makefile.am
 test_config_LDFLAGS = \
-	-u $(SYMPREFIX)xcf_init				\
-	-u $(SYMPREFIX)gimp_pdb_new			\
-	-u $(SYMPREFIX)internal_procs_init		\
-	-u $(SYMPREFIX)gimp_plug_in_manager_restore	\
-	-u $(SYMPREFIX)plug_in_icc_profile_apply_rgb	\
-	-u $(SYMPREFIX)gimp_vectors_undo_get_type	\
-	-u $(SYMPREFIX)gimp_vectors_mod_undo_get_type	\
-	-u $(SYMPREFIX)gimp_vectors_prop_undo_get_type	\
+	-u $(SYMPREFIX)gimp_cairo_image_surface_create_buffer	\
+	-u $(SYMPREFIX)xcf_init					\
+	-u $(SYMPREFIX)gimp_pdb_new				\
+	-u $(SYMPREFIX)internal_procs_init			\
+	-u $(SYMPREFIX)gimp_plug_in_manager_restore		\
+	-u $(SYMPREFIX)plug_in_icc_profile_apply_rgb		\
+	-u $(SYMPREFIX)gimp_vectors_undo_get_type		\
+	-u $(SYMPREFIX)gimp_vectors_mod_undo_get_type		\
+	-u $(SYMPREFIX)gimp_vectors_prop_undo_get_type		\
 	-u $(SYMPREFIX)gimp_image_map_config_get_type
 
 test_config_LDADD = \
diff --git a/app/tests/test-core.c b/app/tests/test-core.c
index 659c996..69dc724 100644
--- a/app/tests/test-core.c
+++ b/app/tests/test-core.c
@@ -79,7 +79,8 @@ gimp_test_image_setup (GimpTestFixture *fixture,
   fixture->image = gimp_image_new (gimp,
                                    GIMP_TEST_IMAGE_SIZE,
                                    GIMP_TEST_IMAGE_SIZE,
-                                   GIMP_RGB);
+                                   GIMP_RGB,
+                                   GIMP_PRECISION_FLOAT);
 }
 
 /**
diff --git a/app/tests/test-xcf.c b/app/tests/test-xcf.c
index 22e2eaf..0e29165 100644
--- a/app/tests/test-xcf.c
+++ b/app/tests/test-xcf.c
@@ -62,6 +62,7 @@
 #define GIMP_MAINIMAGE_WIDTH            100
 #define GIMP_MAINIMAGE_HEIGHT           90
 #define GIMP_MAINIMAGE_TYPE             GIMP_RGB
+#define GIMP_MAINIMAGE_PRECISION        GIMP_PRECISION_FLOAT
 
 #define GIMP_MAINIMAGE_LAYER1_NAME      "layer1"
 #define GIMP_MAINIMAGE_LAYER1_WIDTH     50
@@ -362,7 +363,8 @@ gimp_create_mainimage (Gimp     *gimp,
   image = gimp_image_new (gimp,
                           GIMP_MAINIMAGE_WIDTH,
                           GIMP_MAINIMAGE_HEIGHT,
-                          GIMP_MAINIMAGE_TYPE);
+                          GIMP_MAINIMAGE_TYPE,
+                          GIMP_MAINIMAGE_PRECISION);
 
   /* Layers */
   layer = gimp_layer_new (image,
diff --git a/libgimpcolor/Makefile.am b/libgimpcolor/Makefile.am
index 7afd916..daf5d3b 100644
--- a/libgimpcolor/Makefile.am
+++ b/libgimpcolor/Makefile.am
@@ -52,7 +52,7 @@ AM_CPPFLAGS = \
 
 INCLUDES = \
 	-I$(top_srcdir)	\
-	$(BABL_CFLAGS)	\
+	$(GEGL_CFLAGS)	\
 	$(CAIRO_CFLAGS)	\
 	$(GLIB_CFLAGS)	\
 	-I$(includedir)
diff --git a/libgimpcolor/test-color-parser.c b/libgimpcolor/test-color-parser.c
index 5191894..8a05f9c 100644
--- a/libgimpcolor/test-color-parser.c
+++ b/libgimpcolor/test-color-parser.c
@@ -5,6 +5,8 @@
 
 #include <stdlib.h>
 
+#include <gegl.h>
+
 #include <glib-object.h>
 #include <cairo.h>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]