gegl r2987 - in trunk: . bin bindings/rgegl/src examples gegl gegl/buffer gegl/module operations/affine operations/common/perlin operations/external operations/external/v4lutils tests tests/buffer tools
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r2987 - in trunk: . bin bindings/rgegl/src examples gegl gegl/buffer gegl/module operations/affine operations/common/perlin operations/external operations/external/v4lutils tests tests/buffer tools
- Date: Thu, 26 Mar 2009 18:06:28 +0000 (UTC)
Author: martinn
Date: Thu Mar 26 18:06:28 2009
New Revision: 2987
URL: http://svn.gnome.org/viewvc/gegl?rev=2987&view=rev
Log:
config.h needs to be included at the top of every .c file
But don't do it for .c files that are not treated as separate
compilation units, i.e. the buffer test .c files.
Patch from Patch from Gary V. Vaughan.
Modified:
trunk/ChangeLog
trunk/bin/gegl-path-smooth.c
trunk/bin/gegl-path-spiro.c
trunk/bindings/rgegl/src/rgegl-color.c
trunk/bindings/rgegl/src/rgegl-node.c
trunk/bindings/rgegl/src/rgegl-processor.c
trunk/bindings/rgegl/src/rgegl-rectangle.c
trunk/bindings/rgegl/src/rgegl.c
trunk/examples/2geglbuffer.c
trunk/examples/gegl-slicer.c
trunk/examples/geglbuffer-add-image.c
trunk/examples/geglbuffer-clock.c
trunk/examples/hello-world-video.c
trunk/examples/hello-world.c
trunk/gegl/buffer/gegl-sampler-cubic.c
trunk/gegl/buffer/gegl-sampler-lanczos.c
trunk/gegl/buffer/gegl-sampler-linear.c
trunk/gegl/buffer/gegl-sampler-nearest.c
trunk/gegl/buffer/gegl-sampler-sharp.c
trunk/gegl/buffer/gegl-sampler-yafr.c
trunk/gegl/buffer/gegl-tile-backend.c
trunk/gegl/buffer/gegl-tile-handler-empty.c
trunk/gegl/buffer/gegl-tile-handler-log.c
trunk/gegl/buffer/gegl-tile-handler-zoom.c
trunk/gegl/buffer/gegl-tile-source.c
trunk/gegl/gegl-dot.c
trunk/gegl/gegl-instrument.c
trunk/gegl/gegl-matrix.c
trunk/gegl/module/geglmoduledb.c
trunk/operations/affine/module.c
trunk/operations/common/perlin/perlin.c
trunk/operations/external/openraw.c
trunk/operations/external/v4lutils/v4lutils.c
trunk/tests/buffer/buffer-test.c
trunk/tests/test-proxynop-processing.c
trunk/tools/introspect.c
Modified: trunk/bin/gegl-path-smooth.c
==============================================================================
--- trunk/bin/gegl-path-smooth.c (original)
+++ trunk/bin/gegl-path-smooth.c Thu Mar 26 18:06:28 2009
@@ -16,6 +16,7 @@
* Copyright (C) 2005, 2008 Ãyvind KolÃs
*/
+#include "config.h"
#include "gegl-path-smooth.h"
#include <gegl.h>
#include "gegl-path.h"
Modified: trunk/bin/gegl-path-spiro.c
==============================================================================
--- trunk/bin/gegl-path-spiro.c (original)
+++ trunk/bin/gegl-path-spiro.c Thu Mar 26 18:06:28 2009
@@ -16,6 +16,7 @@
* Copyright (C) 2003, 2004, 2006, 2007, 2008 Ãyvind KolÃs
*/
+#include "config.h"
#include "gegl-path-spiro.h"
#include <gegl.h>
#include <math.h>
Modified: trunk/bindings/rgegl/src/rgegl-color.c
==============================================================================
--- trunk/bindings/rgegl/src/rgegl-color.c (original)
+++ trunk/bindings/rgegl/src/rgegl-color.c Thu Mar 26 18:06:28 2009
@@ -18,6 +18,7 @@
* 2007 Â Ãyvind KolÃs.
*/
+#include "config.h"
#include "rgegl.h"
#define _SELF(self) GEGL_COLOR(RVAL2GOBJ(self))
Modified: trunk/bindings/rgegl/src/rgegl-node.c
==============================================================================
--- trunk/bindings/rgegl/src/rgegl-node.c (original)
+++ trunk/bindings/rgegl/src/rgegl-node.c Thu Mar 26 18:06:28 2009
@@ -18,6 +18,7 @@
* 2007 Â Ãyvind KolÃs, Kevin Cozens.
*/
+#include "config.h"
#include "rgegl.h"
#include "babl/babl.h"
Modified: trunk/bindings/rgegl/src/rgegl-processor.c
==============================================================================
--- trunk/bindings/rgegl/src/rgegl-processor.c (original)
+++ trunk/bindings/rgegl/src/rgegl-processor.c Thu Mar 26 18:06:28 2009
@@ -18,6 +18,7 @@
* 2007 Â Ãyvind KolÃs.
*/
+#include "config.h"
#include "rgegl.h"
#define _SELF(self) GEGL_PROCESSOR(RVAL2GOBJ(self))
Modified: trunk/bindings/rgegl/src/rgegl-rectangle.c
==============================================================================
--- trunk/bindings/rgegl/src/rgegl-rectangle.c (original)
+++ trunk/bindings/rgegl/src/rgegl-rectangle.c Thu Mar 26 18:06:28 2009
@@ -18,6 +18,7 @@
* 2007 Â Ãyvind KolÃs.
*/
+#include "config.h"
#include "rgegl.h"
/************************************************
Modified: trunk/bindings/rgegl/src/rgegl.c
==============================================================================
--- trunk/bindings/rgegl/src/rgegl.c (original)
+++ trunk/bindings/rgegl/src/rgegl.c Thu Mar 26 18:06:28 2009
@@ -17,6 +17,7 @@
*
* 2007 Â Ãyvind KolÃs.
*/
+#include "config.h"
#include "rgegl.h"
void
Modified: trunk/examples/2geglbuffer.c
==============================================================================
--- trunk/examples/2geglbuffer.c (original)
+++ trunk/examples/2geglbuffer.c Thu Mar 26 18:06:28 2009
@@ -1,3 +1,4 @@
+#include "config.h"
#include <stdlib.h>
#include <glib.h>
#include <gegl.h>
Modified: trunk/examples/gegl-slicer.c
==============================================================================
--- trunk/examples/gegl-slicer.c (original)
+++ trunk/examples/gegl-slicer.c Thu Mar 26 18:06:28 2009
@@ -1,3 +1,4 @@
+#include "config.h"
#include <stdlib.h>
#include <gegl.h>
#include <string.h>
Modified: trunk/examples/geglbuffer-add-image.c
==============================================================================
--- trunk/examples/geglbuffer-add-image.c (original)
+++ trunk/examples/geglbuffer-add-image.c Thu Mar 26 18:06:28 2009
@@ -1,3 +1,4 @@
+#include "config.h"
#include <gegl.h>
#include <glib/gprintf.h>
Modified: trunk/examples/geglbuffer-clock.c
==============================================================================
--- trunk/examples/geglbuffer-clock.c (original)
+++ trunk/examples/geglbuffer-clock.c Thu Mar 26 18:06:28 2009
@@ -1,3 +1,4 @@
+#include "config.h"
#include <stdlib.h>
#include <gegl.h>
#include <glib/gprintf.h>
Modified: trunk/examples/hello-world-video.c
==============================================================================
--- trunk/examples/hello-world-video.c (original)
+++ trunk/examples/hello-world-video.c Thu Mar 26 18:06:28 2009
@@ -1,3 +1,4 @@
+#include "config.h"
#include <gegl.h>
gint
Modified: trunk/examples/hello-world.c
==============================================================================
--- trunk/examples/hello-world.c (original)
+++ trunk/examples/hello-world.c Thu Mar 26 18:06:28 2009
@@ -1,3 +1,4 @@
+#include "config.h"
#include <gegl.h>
gint
Modified: trunk/gegl/buffer/gegl-sampler-cubic.c
==============================================================================
--- trunk/gegl/buffer/gegl-sampler-cubic.c (original)
+++ trunk/gegl/buffer/gegl-sampler-cubic.c Thu Mar 26 18:06:28 2009
@@ -14,6 +14,7 @@
* License along with GEGL; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "config.h"
#include <string.h>
#include <math.h>
Modified: trunk/gegl/buffer/gegl-sampler-lanczos.c
==============================================================================
--- trunk/gegl/buffer/gegl-sampler-lanczos.c (original)
+++ trunk/gegl/buffer/gegl-sampler-lanczos.c Thu Mar 26 18:06:28 2009
@@ -19,6 +19,7 @@
* currently not used by the rest of GeglBuffer */
+#include "config.h"
#include <string.h>
#include <math.h>
Modified: trunk/gegl/buffer/gegl-sampler-linear.c
==============================================================================
--- trunk/gegl/buffer/gegl-sampler-linear.c (original)
+++ trunk/gegl/buffer/gegl-sampler-linear.c Thu Mar 26 18:06:28 2009
@@ -58,6 +58,7 @@
#endif
#endif
+#include "config.h"
#include <glib-object.h>
#include <glib/gstdio.h>
#include <glib/gprintf.h>
Modified: trunk/gegl/buffer/gegl-sampler-nearest.c
==============================================================================
--- trunk/gegl/buffer/gegl-sampler-nearest.c (original)
+++ trunk/gegl/buffer/gegl-sampler-nearest.c Thu Mar 26 18:06:28 2009
@@ -15,6 +15,7 @@
*
*/
+#include "config.h"
#include <string.h>
#include <glib-object.h>
Modified: trunk/gegl/buffer/gegl-sampler-sharp.c
==============================================================================
--- trunk/gegl/buffer/gegl-sampler-sharp.c (original)
+++ trunk/gegl/buffer/gegl-sampler-sharp.c Thu Mar 26 18:06:28 2009
@@ -173,6 +173,7 @@
* of Canada) Discovery Grant.
*/
+#include "config.h"
#include <glib-object.h>
#include "gegl.h"
Modified: trunk/gegl/buffer/gegl-sampler-yafr.c
==============================================================================
--- trunk/gegl/buffer/gegl-sampler-yafr.c (original)
+++ trunk/gegl/buffer/gegl-sampler-yafr.c Thu Mar 26 18:06:28 2009
@@ -22,6 +22,7 @@
* Canada) Discovery Grant.
*/
+#include "config.h"
#include <glib-object.h>
#include "gegl.h"
Modified: trunk/gegl/buffer/gegl-tile-backend.c
==============================================================================
--- trunk/gegl/buffer/gegl-tile-backend.c (original)
+++ trunk/gegl/buffer/gegl-tile-backend.c Thu Mar 26 18:06:28 2009
@@ -15,6 +15,7 @@
*
* Copyright 2006, 2007 Ãyvind KolÃs <pippin gimp org>
*/
+#include "config.h"
#include <glib.h>
#include <glib-object.h>
#include <string.h>
Modified: trunk/gegl/buffer/gegl-tile-handler-empty.c
==============================================================================
--- trunk/gegl/buffer/gegl-tile-handler-empty.c (original)
+++ trunk/gegl/buffer/gegl-tile-handler-empty.c Thu Mar 26 18:06:28 2009
@@ -15,6 +15,7 @@
*
* Copyright 2006,2007 Ãyvind KolÃs <pippin gimp org>
*/
+#include "config.h"
#include <glib.h>
#include <glib-object.h>
#include <string.h>
Modified: trunk/gegl/buffer/gegl-tile-handler-log.c
==============================================================================
--- trunk/gegl/buffer/gegl-tile-handler-log.c (original)
+++ trunk/gegl/buffer/gegl-tile-handler-log.c Thu Mar 26 18:06:28 2009
@@ -15,6 +15,7 @@
*
* Copyright 2006, 2007 Ãyvind KolÃs <pippin gimp org>
*/
+#include "config.h"
#include <glib.h>
#include <glib-object.h>
#include <string.h>
Modified: trunk/gegl/buffer/gegl-tile-handler-zoom.c
==============================================================================
--- trunk/gegl/buffer/gegl-tile-handler-zoom.c (original)
+++ trunk/gegl/buffer/gegl-tile-handler-zoom.c Thu Mar 26 18:06:28 2009
@@ -15,6 +15,7 @@
*
* Copyright 2006,2007 Ãyvind KolÃs <pippin gimp org>
*/
+#include "config.h"
#include <glib.h>
#include <glib-object.h>
#include <string.h>
Modified: trunk/gegl/buffer/gegl-tile-source.c
==============================================================================
--- trunk/gegl/buffer/gegl-tile-source.c (original)
+++ trunk/gegl/buffer/gegl-tile-source.c Thu Mar 26 18:06:28 2009
@@ -15,6 +15,7 @@
*
* Copyright 2006,2007 Ãyvind KolÃs <pippin gimp org>
*/
+#include "config.h"
#include <glib.h>
#include <glib-object.h>
#include "gegl-tile-source.h"
Modified: trunk/gegl/gegl-dot.c
==============================================================================
--- trunk/gegl/gegl-dot.c (original)
+++ trunk/gegl/gegl-dot.c Thu Mar 26 18:06:28 2009
@@ -18,6 +18,7 @@
/* FIXME: this file should be implemented using public API only */
+#include "config.h"
#include <stdio.h>
#include <string.h>
#include <glib-object.h>
Modified: trunk/gegl/gegl-instrument.c
==============================================================================
--- trunk/gegl/gegl-instrument.c (original)
+++ trunk/gegl/gegl-instrument.c Thu Mar 26 18:06:28 2009
@@ -16,6 +16,7 @@
* Copyright 2006 Ãyvind KolÃs
*/
+#include "config.h"
#include <glib.h>
#include <string.h>
#include "gegl-instrument.h"
Modified: trunk/gegl/gegl-matrix.c
==============================================================================
--- trunk/gegl/gegl-matrix.c (original)
+++ trunk/gegl/gegl-matrix.c Thu Mar 26 18:06:28 2009
@@ -16,6 +16,7 @@
* Copyright 2006 Philip Lafleur
*/
+#include "config.h"
#include <math.h>
#include <string.h>
#include <stdlib.h>
Modified: trunk/gegl/module/geglmoduledb.c
==============================================================================
--- trunk/gegl/module/geglmoduledb.c (original)
+++ trunk/gegl/module/geglmoduledb.c Thu Mar 26 18:06:28 2009
@@ -14,6 +14,7 @@
* License along with GEGL; if not, see <http://www.gnu.org/licenses/>.
*/
+#include "config.h"
#include <string.h>
#include <glib-object.h>
Modified: trunk/operations/affine/module.c
==============================================================================
--- trunk/operations/affine/module.c (original)
+++ trunk/operations/affine/module.c Thu Mar 26 18:06:28 2009
@@ -16,6 +16,7 @@
* Copyright 2006 Philip Lafleur
*/
+#include "config.h"
#include <gegl-plugin.h>
#include "module.h"
#include "affine.h"
Modified: trunk/operations/common/perlin/perlin.c
==============================================================================
--- trunk/operations/common/perlin/perlin.c (original)
+++ trunk/operations/common/perlin/perlin.c Thu Mar 26 18:06:28 2009
@@ -1,6 +1,7 @@
/* Coherent noise function over 1, 2 or 3 dimensions */
/* (copyright Ken Perlin) */
+#include "config.h"
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
Modified: trunk/operations/external/openraw.c
==============================================================================
--- trunk/operations/external/openraw.c (original)
+++ trunk/operations/external/openraw.c Thu Mar 26 18:06:28 2009
@@ -27,6 +27,7 @@
#define GEGL_CHANT_TYPE_SOURCE
#define GEGL_CHANT_C_FILE "openraw.c"
+#include "config.h"
#include "gegl-chant.h"
#include <stdio.h>
#include <libopenraw/libopenraw.h>
Modified: trunk/operations/external/v4lutils/v4lutils.c
==============================================================================
--- trunk/operations/external/v4lutils/v4lutils.c (original)
+++ trunk/operations/external/v4lutils/v4lutils.c Thu Mar 26 18:06:28 2009
@@ -21,6 +21,7 @@
*
*/
+#include "config.h"
#include <stdio.h>
#include <assert.h>
#include <sys/ioctl.h>
Modified: trunk/tests/buffer/buffer-test.c
==============================================================================
--- trunk/tests/buffer/buffer-test.c (original)
+++ trunk/tests/buffer/buffer-test.c Thu Mar 26 18:06:28 2009
@@ -1,3 +1,4 @@
+#include "config.h"
#include <gegl.h>
#include <gegl-buffer.h>
#include <math.h>
Modified: trunk/tests/test-proxynop-processing.c
==============================================================================
--- trunk/tests/test-proxynop-processing.c (original)
+++ trunk/tests/test-proxynop-processing.c Thu Mar 26 18:06:28 2009
@@ -15,6 +15,7 @@
* Copyright (C) 2009 Martin Nordholts
*/
+#include "config.h"
#include <string.h>
#include "gegl.h"
Modified: trunk/tools/introspect.c
==============================================================================
--- trunk/tools/introspect.c (original)
+++ trunk/tools/introspect.c Thu Mar 26 18:06:28 2009
@@ -1,3 +1,4 @@
+#include "config.h"
#include <gegl.h> /* needed instead of gegl.h to be able to do full
introspection*/
#include <stdio.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]