[gnome-applets/wip/segeiger/in-process: 25/25] enable structured logging and set log domain
- From: Sebastian Geiger <segeiger src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-applets/wip/segeiger/in-process: 25/25] enable structured logging and set log domain
- Date: Tue, 13 Sep 2016 11:47:36 +0000 (UTC)
commit 1ad143c35d9afe55b52f05bb88767d23e86cf021
Author: Sebastian Geiger <sbastig gmx net>
Date: Wed Sep 7 13:20:19 2016 +0200
enable structured logging and set log domain
modem-lights/src/Makefile.am | 2 ++
netspeed/src/Makefile.am | 2 ++
sticky-notes/src/Makefile.am | 2 ++
timer/src/Makefile.am | 2 ++
tracker-search-bar/src/Makefile.am | 2 ++
trash/src/Makefile.am | 2 ++
windowpicker/src/Makefile.am | 2 ++
7 files changed, 14 insertions(+), 0 deletions(-)
---
diff --git a/modem-lights/src/Makefile.am b/modem-lights/src/Makefile.am
index 38b62a0..e5d5e2e 100644
--- a/modem-lights/src/Makefile.am
+++ b/modem-lights/src/Makefile.am
@@ -8,6 +8,8 @@ modem_lights_appletlib_LTLIBRARIES = libmodem-lights-applet.la
libmodem_lights_applet_la_CPPFLAGS = \
-I. \
-I$(srcdir) \
+ -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.modem-lights\" \
+ -DG_LOG_USE_STRUCTURED=1 \
-DMODEM_MENU_UI_DIR=\""$(uidir)"\" \
-DGNOMELOCALEDIR=\""$(localedir)"\" \
-DGTK_BUILDERDIR=\""$(pkgdatadir)/builder"\" \
diff --git a/netspeed/src/Makefile.am b/netspeed/src/Makefile.am
index d2c7f26..9be8cc8 100644
--- a/netspeed/src/Makefile.am
+++ b/netspeed/src/Makefile.am
@@ -6,6 +6,8 @@ netspeed_applet_libdir = $(pkglibdir)/$(LIBPANEL_APPLET_API_VERSION)
netspeed_applet_lib_LTLIBRARIES = libnet-speed-applet.la
libnet_speed_applet_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.net-speed\" \
+ -DG_LOG_USE_STRUCTURED=1 \
-DGNOMELOCALEDIR=\""$(localedir)"\" \
-DNETSPEED_MENU_UI_DIR=\""$(uidir)"\" \
-I$(top_srcdir) \
diff --git a/sticky-notes/src/Makefile.am b/sticky-notes/src/Makefile.am
index feecef6..8f5f2c8 100644
--- a/sticky-notes/src/Makefile.am
+++ b/sticky-notes/src/Makefile.am
@@ -8,6 +8,8 @@ stickynotes_applet_lib_LTLIBRARIES = libsticky-notes-applet.la
libsticky_notes_applet_la_CPPFLAGS = \
-I. \
-I$(srcdir) \
+ -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.sticky-notes\" \
+ -DG_LOG_USE_STRUCTURED=1 \
-DGNOMELOCALEDIR=\""$(localedir)"\" \
-DPKG_DATA_DIR=\""$(pkgdatadir)"\" \
-DSTICKYNOTES_MENU_UI_DIR=\""$(uidir)"\" \
diff --git a/timer/src/Makefile.am b/timer/src/Makefile.am
index 6ef703b..a4a9d89 100644
--- a/timer/src/Makefile.am
+++ b/timer/src/Makefile.am
@@ -6,6 +6,8 @@ timer_applet_lib_LTLIBRARIES = libtimer-applet.la
libtimer_applet_la_CPPFLAGS = \
-I. \
-I$(srcdir) \
+ -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.timer\" \
+ -DG_LOG_USE_STRUCTURED=1 \
-DGNOMELOCALEDIR=\""$(localedir)"\" \
-DPKG_DATA_DIR=\""$(pkgdatadir)"\" \
$(NULL)
diff --git a/tracker-search-bar/src/Makefile.am b/tracker-search-bar/src/Makefile.am
index 06036a9..205356c 100644
--- a/tracker-search-bar/src/Makefile.am
+++ b/tracker-search-bar/src/Makefile.am
@@ -8,6 +8,8 @@ libtracker_search_bar_applet_la_CPPFLAGS = \
-DPKG_DATA_DIR=\""$(pkgdatadir)"\" \
-I. \
-I$(srcdir) \
+ -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.tracker-search-bar\" \
+ -DG_LOG_USE_STRUCTURED=1 \
$(NULL)
libtracker_search_bar_applet_la_CFLAGS = \
diff --git a/trash/src/Makefile.am b/trash/src/Makefile.am
index 43341ae..f9c6f73 100644
--- a/trash/src/Makefile.am
+++ b/trash/src/Makefile.am
@@ -7,6 +7,8 @@ libtrash_applet_la_CPPFLAGS = \
-DGNOMELOCALEDIR=\""$(localedir)"\" \
-I$(top_builddir) \
-I$(top_srcdir) \
+ -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.trash\" \
+ -DG_LOG_USE_STRUCTURED=1 \
$(NULL)
libtrash_applet_la_CFLAGS = \
diff --git a/windowpicker/src/Makefile.am b/windowpicker/src/Makefile.am
index 1e227ad..9597586 100644
--- a/windowpicker/src/Makefile.am
+++ b/windowpicker/src/Makefile.am
@@ -5,6 +5,8 @@ window_picker_lib_LTLIBRARIES=libwindow-picker-applet.la
libwindow_picker_applet_la_CFLAGS = \
-D_GNU_SOURCE \
+ -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.window-picker\" \
+ -DG_LOG_USE_STRUCTURED=1 \
-DGNOMELOCALEDIR=\""$(localedir)"\" \
-DWNCK_I_KNOW_THIS_IS_UNSTABLE=1 \
-I$(top_builddir) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]