[gegl] gegl: properly set G_LOG_DOMAIN in every Makefile.



commit 1fa5946da26ba972a05d10940104ee7f20503814
Author: Jehan <jehan girinstud io>
Date:   Wed Jun 7 12:42:28 2017 +0200

    gegl: properly set G_LOG_DOMAIN in every Makefile.
    
    Since commit 81fb956b221e4b1f919788d8a5f6a3a5462b86ae, most log messages
    had no domains. If one wants to set it in the Makefile.am instead of the
    configure script, let's make sure the macro is set for every file where
    a message could be logged (i.e. basically nearly everywhere, I guess).

 gegl/Makefile.am                |    2 +-
 gegl/buffer/Makefile.am         |    3 ++-
 gegl/graph/Makefile.am          |    3 ++-
 gegl/module/Makefile.am         |    3 ++-
 gegl/opencl/Makefile.am         |    3 ++-
 gegl/operation/Makefile.am      |    3 ++-
 gegl/process/Makefile.am        |    3 ++-
 gegl/property-types/Makefile.am |    3 ++-
 8 files changed, 15 insertions(+), 8 deletions(-)
---
diff --git a/gegl/Makefile.am b/gegl/Makefile.am
index 276aafd..8da4e02 100644
--- a/gegl/Makefile.am
+++ b/gegl/Makefile.am
@@ -32,7 +32,7 @@ AM_CPPFLAGS = \
        -I$(top_builddir)/gegl/property-types \
        -I$(top_srcdir)/gegl/property-types \
        -DLIBDIR=\""$(libdir)"\" \
-        -DG_LOG_DOMAIN=\"GEGL\" \
+       -DG_LOG_DOMAIN=\"GEGL\" \
        -DGEGL_LOCALEDIR=\""$(GEGL_LOCALEDIR)"\"
 
 AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
diff --git a/gegl/buffer/Makefile.am b/gegl/buffer/Makefile.am
index b6f95c0..80ac65e 100644
--- a/gegl/buffer/Makefile.am
+++ b/gegl/buffer/Makefile.am
@@ -13,7 +13,8 @@ AM_CPPFLAGS = \
        -I$(top_builddir)/gegl/process \
        -I$(top_srcdir)/gegl/process \
        -I$(top_builddir)/gegl/property-types \
-       -I$(top_srcdir)/gegl/property-types
+       -I$(top_srcdir)/gegl/property-types     \
+       -DG_LOG_DOMAIN=\"GEGL\"
 
 
 AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
diff --git a/gegl/graph/Makefile.am b/gegl/graph/Makefile.am
index d02e7ad..9cbfc2b 100644
--- a/gegl/graph/Makefile.am
+++ b/gegl/graph/Makefile.am
@@ -13,7 +13,8 @@ AM_CPPFLAGS = \
        -I$(top_builddir)/gegl/process \
        -I$(top_srcdir)/gegl/process \
        -I$(top_builddir)/gegl/property-types \
-       -I$(top_srcdir)/gegl/property-types
+       -I$(top_srcdir)/gegl/property-types     \
+       -DG_LOG_DOMAIN=\"GEGL\"
 
 AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
 
diff --git a/gegl/module/Makefile.am b/gegl/module/Makefile.am
index 2f081cf..b81ab73 100644
--- a/gegl/module/Makefile.am
+++ b/gegl/module/Makefile.am
@@ -13,7 +13,8 @@ AM_CPPFLAGS = \
        -I$(top_builddir)/gegl/process \
        -I$(top_srcdir)/gegl/process \
        -I$(top_builddir)/gegl/property-types \
-       -I$(top_srcdir)/gegl/property-types
+       -I$(top_srcdir)/gegl/property-types     \
+       -DG_LOG_DOMAIN=\"GEGL\"
 
 AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
 
diff --git a/gegl/opencl/Makefile.am b/gegl/opencl/Makefile.am
index 9d8d8ad..1447c0b 100644
--- a/gegl/opencl/Makefile.am
+++ b/gegl/opencl/Makefile.am
@@ -13,7 +13,8 @@ AM_CPPFLAGS = \
        -I$(top_builddir)/gegl/process \
        -I$(top_srcdir)/gegl/process \
        -I$(top_builddir)/gegl/property-types \
-       -I$(top_srcdir)/gegl/property-types
+       -I$(top_srcdir)/gegl/property-types     \
+       -DG_LOG_DOMAIN=\"GEGL\"
 
 AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
 
diff --git a/gegl/operation/Makefile.am b/gegl/operation/Makefile.am
index 5eb9f89..c9aaaf5 100644
--- a/gegl/operation/Makefile.am
+++ b/gegl/operation/Makefile.am
@@ -13,7 +13,8 @@ AM_CPPFLAGS = \
        -I$(top_builddir)/gegl/process \
        -I$(top_srcdir)/gegl/process \
        -I$(top_builddir)/gegl/property-types \
-       -I$(top_srcdir)/gegl/property-types
+       -I$(top_srcdir)/gegl/property-types     \
+       -DG_LOG_DOMAIN=\"GEGL\"
 
 AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
 
diff --git a/gegl/process/Makefile.am b/gegl/process/Makefile.am
index 7a11de2..408cd03 100644
--- a/gegl/process/Makefile.am
+++ b/gegl/process/Makefile.am
@@ -13,7 +13,8 @@ AM_CPPFLAGS = \
        -I$(top_builddir)/gegl/process \
        -I$(top_srcdir)/gegl/process \
        -I$(top_builddir)/gegl/property-types \
-       -I$(top_srcdir)/gegl/property-types
+       -I$(top_srcdir)/gegl/property-types     \
+       -DG_LOG_DOMAIN=\"GEGL\"
 
 AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
 
diff --git a/gegl/property-types/Makefile.am b/gegl/property-types/Makefile.am
index 018f995..a562642 100644
--- a/gegl/property-types/Makefile.am
+++ b/gegl/property-types/Makefile.am
@@ -13,7 +13,8 @@ AM_CPPFLAGS = \
        -I$(top_builddir)/gegl/process \
        -I$(top_srcdir)/gegl/process \
        -I$(top_builddir)/gegl/property-types \
-       -I$(top_srcdir)/gegl/property-types
+       -I$(top_srcdir)/gegl/property-types     \
+       -DG_LOG_DOMAIN=\"GEGL\"
 
 AM_CFLAGS = $(DEP_CFLAGS) $(BABL_CFLAGS)
 


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