[gnome-applets/wip/muktupavels/werror] build: disable deprecation warnings



commit b2aec6ef595352eca27a9d556cd6a71588d648ac
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Sat Apr 4 16:05:34 2020 +0300

    build: disable deprecation warnings

 gnome-applets/accessx-status/Makefile.am     | 2 ++
 gnome-applets/battstat/Makefile.am           | 2 ++
 gnome-applets/brightness/Makefile.am         | 2 ++
 gnome-applets/charpick/Makefile.am           | 2 ++
 gnome-applets/cpufreq/Makefile.am            | 2 ++
 gnome-applets/drivemount/Makefile.am         | 2 ++
 gnome-applets/geyes/Makefile.am              | 2 ++
 gnome-applets/gweather/Makefile.am           | 2 ++
 gnome-applets/mini-commander/Makefile.am     | 2 ++
 gnome-applets/multiload/Makefile.am          | 2 ++
 gnome-applets/netspeed/Makefile.am           | 2 ++
 gnome-applets/sticky-notes/Makefile.am       | 2 ++
 gnome-applets/tracker-search-bar/Makefile.am | 2 ++
 gnome-applets/window-buttons/Makefile.am     | 2 ++
 gnome-applets/window-picker/Makefile.am      | 2 ++
 gnome-applets/window-title/Makefile.am       | 2 ++
 16 files changed, 32 insertions(+)
---
diff --git a/gnome-applets/accessx-status/Makefile.am b/gnome-applets/accessx-status/Makefile.am
index e7102e465..e718541b4 100644
--- a/gnome-applets/accessx-status/Makefile.am
+++ b/gnome-applets/accessx-status/Makefile.am
@@ -3,6 +3,8 @@ NULL =
 noinst_LTLIBRARIES = libaccessx-status-applet.la
 
 libaccessx_status_applet_la_CPPFLAGS = \
+       -DGDK_DISABLE_DEPRECATION_WARNINGS \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS \
        -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.accessx-status\" \
        -DG_LOG_USE_STRUCTURED=1 \
        $(NULL)
diff --git a/gnome-applets/battstat/Makefile.am b/gnome-applets/battstat/Makefile.am
index 90077558d..da4856afd 100644
--- a/gnome-applets/battstat/Makefile.am
+++ b/gnome-applets/battstat/Makefile.am
@@ -3,6 +3,8 @@ NULL =
 noinst_LTLIBRARIES = libbattery-status-applet.la
 
 libbattery_status_applet_la_CPPFLAGS = \
+       -DGDK_DISABLE_DEPRECATION_WARNINGS \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS \
        -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.battery-status\" \
        -DG_LOG_USE_STRUCTURED=1 \
        $(NULL)
diff --git a/gnome-applets/brightness/Makefile.am b/gnome-applets/brightness/Makefile.am
index 2efbea1b2..43f6735a4 100644
--- a/gnome-applets/brightness/Makefile.am
+++ b/gnome-applets/brightness/Makefile.am
@@ -4,6 +4,8 @@ noinst_LTLIBRARIES = libbrightness-applet.la
 
 libbrightness_applet_la_CPPFLAGS = \
        -DPKG_DATA_DIR=\""$(pkgdatadir)"\" \
+       -DGDK_DISABLE_DEPRECATION_WARNINGS \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS \
        -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.brightness\" \
        -DG_LOG_USE_STRUCTURED=1 \
        $(NULL)
diff --git a/gnome-applets/charpick/Makefile.am b/gnome-applets/charpick/Makefile.am
index f438a9c18..117eae2af 100644
--- a/gnome-applets/charpick/Makefile.am
+++ b/gnome-applets/charpick/Makefile.am
@@ -3,6 +3,8 @@ NULL =
 noinst_LTLIBRARIES = libcharacter-picker-applet.la
 
 libcharacter_picker_applet_la_CPPFLAGS = \
+       -DGDK_DISABLE_DEPRECATION_WARNINGS \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS \
        -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.character-picker\" \
        -DG_LOG_USE_STRUCTURED=1 \
        $(NULL)
diff --git a/gnome-applets/cpufreq/Makefile.am b/gnome-applets/cpufreq/Makefile.am
index 4fe929993..0921c770f 100644
--- a/gnome-applets/cpufreq/Makefile.am
+++ b/gnome-applets/cpufreq/Makefile.am
@@ -6,6 +6,8 @@ if BUILD_CPUFREQ_APPLET
 noinst_LTLIBRARIES = libcpu-frequency-applet.la
 
 libcpu_frequency_applet_la_CPPFLAGS = \
+       -DGDK_DISABLE_DEPRECATION_WARNINGS \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS \
        -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.cpu-frequency\" \
        -DG_LOG_USE_STRUCTURED=1 \
        $(NULL)
diff --git a/gnome-applets/drivemount/Makefile.am b/gnome-applets/drivemount/Makefile.am
index dd37480ba..af1f4b276 100644
--- a/gnome-applets/drivemount/Makefile.am
+++ b/gnome-applets/drivemount/Makefile.am
@@ -3,6 +3,8 @@ NULL =
 noinst_LTLIBRARIES = libdrive-mount-applet.la
 
 libdrive_mount_applet_la_CPPFLAGS = \
+       -DGDK_DISABLE_DEPRECATION_WARNINGS \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS \
        -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.drive-mount\" \
        -DG_LOG_USE_STRUCTURED=1 \
        $(NULL)
diff --git a/gnome-applets/geyes/Makefile.am b/gnome-applets/geyes/Makefile.am
index c46a8f5a7..78ee455b1 100644
--- a/gnome-applets/geyes/Makefile.am
+++ b/gnome-applets/geyes/Makefile.am
@@ -6,6 +6,8 @@ noinst_LTLIBRARIES = libgeyes-applet.la
 
 libgeyes_applet_la_CPPFLAGS = \
        -DGEYES_THEMES_DIR=\""$(pkgdatadir)/geyes/"\" \
+       -DGDK_DISABLE_DEPRECATION_WARNINGS \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS \
        -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.geyes\" \
        -DG_LOG_USE_STRUCTURED=1 \
        $(NULL)
diff --git a/gnome-applets/gweather/Makefile.am b/gnome-applets/gweather/Makefile.am
index 5305eb7c2..0c8bb1932 100644
--- a/gnome-applets/gweather/Makefile.am
+++ b/gnome-applets/gweather/Makefile.am
@@ -3,6 +3,8 @@ NULL =
 noinst_LTLIBRARIES = libgweather-applet.la
 
 libgweather_applet_la_CPPFLAGS = \
+       -DGDK_DISABLE_DEPRECATION_WARNINGS \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS \
        -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.gweather\" \
        -DG_LOG_USE_STRUCTURED=1 \
        $(NULL)
diff --git a/gnome-applets/mini-commander/Makefile.am b/gnome-applets/mini-commander/Makefile.am
index e0e99e689..9ada8c1a6 100644
--- a/gnome-applets/mini-commander/Makefile.am
+++ b/gnome-applets/mini-commander/Makefile.am
@@ -3,6 +3,8 @@ NULL =
 noinst_LTLIBRARIES = libmini-commander-applet.la
 
 libmini_commander_applet_la_CPPFLAGS = \
+       -DGDK_DISABLE_DEPRECATION_WARNINGS \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS \
        -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.mini-commander\" \
        -DG_LOG_USE_STRUCTURED=1 \
        $(NULL)
diff --git a/gnome-applets/multiload/Makefile.am b/gnome-applets/multiload/Makefile.am
index d690d76c4..8c0e7703d 100644
--- a/gnome-applets/multiload/Makefile.am
+++ b/gnome-applets/multiload/Makefile.am
@@ -3,6 +3,8 @@ NULL =
 noinst_LTLIBRARIES = libmultiload-applet.la
 
 libmultiload_applet_la_CPPFLAGS = \
+       -DGDK_DISABLE_DEPRECATION_WARNINGS \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS \
        -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.multiload\" \
        -DG_LOG_USE_STRUCTURED=1 \
        $(NULL)
diff --git a/gnome-applets/netspeed/Makefile.am b/gnome-applets/netspeed/Makefile.am
index 2f6b83887..c84b18374 100644
--- a/gnome-applets/netspeed/Makefile.am
+++ b/gnome-applets/netspeed/Makefile.am
@@ -3,6 +3,8 @@ NULL =
 noinst_LTLIBRARIES = libnet-speed-applet.la
 
 libnet_speed_applet_la_CPPFLAGS = \
+       -DGDK_DISABLE_DEPRECATION_WARNINGS \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS \
        -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.net-speed\" \
        -DG_LOG_USE_STRUCTURED=1 \
        -DPKG_DATA_DIR=\""$(pkgdatadir)"\" \
diff --git a/gnome-applets/sticky-notes/Makefile.am b/gnome-applets/sticky-notes/Makefile.am
index 3db9068fc..f7f8e9157 100644
--- a/gnome-applets/sticky-notes/Makefile.am
+++ b/gnome-applets/sticky-notes/Makefile.am
@@ -3,6 +3,8 @@ NULL =
 noinst_LTLIBRARIES = libsticky-notes-applet.la
 
 libsticky_notes_applet_la_CPPFLAGS = \
+       -DGDK_DISABLE_DEPRECATION_WARNINGS \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS \
        -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.sticky-notes\" \
        -DG_LOG_USE_STRUCTURED=1 \
        $(NULL)
diff --git a/gnome-applets/tracker-search-bar/Makefile.am b/gnome-applets/tracker-search-bar/Makefile.am
index 80d941b45..33ad8113c 100644
--- a/gnome-applets/tracker-search-bar/Makefile.am
+++ b/gnome-applets/tracker-search-bar/Makefile.am
@@ -4,6 +4,8 @@ if HAVE_TRACKER_SEARCH_BAR
 noinst_LTLIBRARIES=libtracker-search-bar-applet.la
 
 libtracker_search_bar_applet_la_CPPFLAGS = \
+       -DGDK_DISABLE_DEPRECATION_WARNINGS \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS \
        -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.tracker-search-bar\" \
        -DG_LOG_USE_STRUCTURED=1 \
        $(NULL)
diff --git a/gnome-applets/window-buttons/Makefile.am b/gnome-applets/window-buttons/Makefile.am
index d87d94dc4..d87479fe9 100755
--- a/gnome-applets/window-buttons/Makefile.am
+++ b/gnome-applets/window-buttons/Makefile.am
@@ -5,6 +5,8 @@ SUBDIRS = themes
 noinst_LTLIBRARIES = libwindow-buttons-applet.la
 
 libwindow_buttons_applet_la_CPPFLAGS = \
+       -DGDK_DISABLE_DEPRECATION_WARNINGS \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS \
        -DWB_DATA_DIR=\""$(pkgdatadir)/window-buttons-applet"\" \
        $(NULL)
 
diff --git a/gnome-applets/window-picker/Makefile.am b/gnome-applets/window-picker/Makefile.am
index bb4417bf2..e2c82b7b2 100644
--- a/gnome-applets/window-picker/Makefile.am
+++ b/gnome-applets/window-picker/Makefile.am
@@ -4,6 +4,8 @@ noinst_LTLIBRARIES=libwindow-picker-applet.la
 
 libwindow_picker_applet_la_CFLAGS = \
        -D_GNU_SOURCE \
+       -DGDK_DISABLE_DEPRECATION_WARNINGS \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS \
        -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.window-picker\" \
        -DG_LOG_USE_STRUCTURED=1 \
        -DWNCK_I_KNOW_THIS_IS_UNSTABLE=1 \
diff --git a/gnome-applets/window-title/Makefile.am b/gnome-applets/window-title/Makefile.am
index 743034f2b..3df715ee3 100755
--- a/gnome-applets/window-title/Makefile.am
+++ b/gnome-applets/window-title/Makefile.am
@@ -3,6 +3,8 @@ NULL =
 noinst_LTLIBRARIES = libwindow-title-applet.la
 
 libwindow_title_applet_la_CPPFLAGS = \
+       -DGDK_DISABLE_DEPRECATION_WARNINGS \
+       -DGLIB_DISABLE_DEPRECATION_WARNINGS \
        -DG_LOG_DOMAIN=\"org.gnome.gnome-applets.window-title\" \
        -DG_LOG_USE_STRUCTURED=1 \
        $(NULL)


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