[gnome-media/gnome-2-32] Add deprecation warnings (almost) everywhere
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-media/gnome-2-32] Add deprecation warnings (almost) everywhere
- Date: Wed, 4 Aug 2010 13:24:04 +0000 (UTC)
commit 9494b4c33d56e313e8aa3b15106db69e3e8c39e6
Author: Bastien Nocera <hadess hadess net>
Date: Thu Apr 15 15:44:53 2010 +0100
Add deprecation warnings (almost) everywhere
When in maintainer mode, enable the deprecation warnings.
configure.ac | 4 +
gnome-volume-control/src/Makefile.am | 1 +
grecord/src/Makefile.am | 1 +
gst-mixer/src/Makefile.am | 1 +
gstreamer-properties/Makefile.am | 3 +-
.../help/de/gstreamer-properties.xml | 183 --------------------
profiles/Makefile.am | 3 +-
profiles/glade/Makefile.am | 3 +-
sound-theme/Makefile.am | 1 +
9 files changed, 14 insertions(+), 186 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 7533e5e..ced0783 100644
--- a/configure.ac
+++ b/configure.ac
@@ -326,6 +326,10 @@ dnl ---------------------------------------------------------------------------
m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
+GNOME_MAINTAINER_MODE_DEFINES
+GNOME_COMPILE_WARNINGS([maximum])
+GNOME_CXX_WARNINGS
+
# Turn on the additional warnings last, so warnings don't affect other tests.
AC_ARG_ENABLE(more-warnings,
[AC_HELP_STRING([--enable-more-warnings],
diff --git a/gnome-volume-control/src/Makefile.am b/gnome-volume-control/src/Makefile.am
index 21462af..ad4073b 100644
--- a/gnome-volume-control/src/Makefile.am
+++ b/gnome-volume-control/src/Makefile.am
@@ -9,6 +9,7 @@ AM_CPPFLAGS = \
$(WARN_CFLAGS) \
-I$(top_srcdir)/sound-theme \
$(VOLUME_CONTROL_CFLAGS) \
+ $(DISABLE_DEPRECATED) \
$(PULSEAUDIO_CFLAGS) \
-DLOCALE_DIR=\""$(datadir)/locale"\" \
-DLIBEXECDIR=\"$(libexecdir)\" \
diff --git a/grecord/src/Makefile.am b/grecord/src/Makefile.am
index 1888273..313da42 100644
--- a/grecord/src/Makefile.am
+++ b/grecord/src/Makefile.am
@@ -5,6 +5,7 @@ AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/grecord/src/recent-files/ \
$(GSR_CFLAGS) \
+ $(DISABLE_DEPRECATED) \
-DDATADIR=\""$(datadir)"\" \
-DGSR_DATADIR=\""$(datadir)/gnome-sound-recorder"\" \
-DGSR_UIDIR=\""$(datadir)/gnome-sound-recorder/ui/"\"
diff --git a/gst-mixer/src/Makefile.am b/gst-mixer/src/Makefile.am
index 3801715..33250bf 100644
--- a/gst-mixer/src/Makefile.am
+++ b/gst-mixer/src/Makefile.am
@@ -6,6 +6,7 @@ endif
AM_CPPFLAGS = \
$(GSTMIXER_CFLAGS) \
+ $(DISABLE_DEPRECATED) \
-I$(top_srcdir)/sound-theme \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
-DDATA_DIR=\""$(pkgdatadir)"\" \
diff --git a/gstreamer-properties/Makefile.am b/gstreamer-properties/Makefile.am
index 521c1c2..b821a65 100644
--- a/gstreamer-properties/Makefile.am
+++ b/gstreamer-properties/Makefile.am
@@ -28,7 +28,8 @@ AM_CPPFLAGS = \
-DGSTPROPS_ICONDIR=\""$(iconsdir)"\" \
-DDATADIR=\""$(datadir)"\" \
-DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
- -DG_LOG_DOMAIN="\"gstreamer-properties\""
+ -DG_LOG_DOMAIN="\"gstreamer-properties\"" \
+ $(DISABLE_DEPRECATED)
CLEANFILES = $(GSTPROPS_CLEANFILES) $(desktop_DATA)
DISTCLEANFILES = $(Desktop_in_files:.desktop.in.in=.desktop.in)
diff --git a/profiles/Makefile.am b/profiles/Makefile.am
index f413161..2708463 100644
--- a/profiles/Makefile.am
+++ b/profiles/Makefile.am
@@ -5,7 +5,8 @@ defines = \
-DG_LOG_DOMAIN=\"gnome-media-profiles\" \
-DDATADIR="\"$(pkgdatadir)\"" \
-DGMP_UIDIR=\"$(uidir)\" \
- -DGNOMELOCALEDIR=\""$(datadir)/locale"\"
+ -DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
+ $(DISABLE_DEPRECATED)
if HAVE_GSTREAMER
noinst_PROGRAMS += gnome-audio-profiles-test
diff --git a/profiles/glade/Makefile.am b/profiles/glade/Makefile.am
index 4a7695e..9262f01 100644
--- a/profiles/glade/Makefile.am
+++ b/profiles/glade/Makefile.am
@@ -6,7 +6,8 @@ glademodule_LTLIBRARIES = libgnome-media-profiles.la
defines = \
-DG_LOG_DOMAIN=\"gnome-media-profiles\" \
- -DGNOMELOCALEDIR=\""$(prefix)/${DATADIRNAME}/locale"\"
+ -DGNOMELOCALEDIR=\""$(prefix)/${DATADIRNAME}/locale"\" \
+ $(DISABLE_DEPRECATED)
libgnome_media_profiles_la_SOURCES = gnome-media-profiles-catalog.c
libgnome_media_profiles_la_CFLAGS = $(GMP_CFLAGS) $(GLADEUI_CFLAGS) $(defines) -I$(top_srcdir)
diff --git a/sound-theme/Makefile.am b/sound-theme/Makefile.am
index 4bc398b..7a9cd4b 100644
--- a/sound-theme/Makefile.am
+++ b/sound-theme/Makefile.am
@@ -6,6 +6,7 @@ noinst_LTLIBRARIES = libsoundtheme.la
AM_CPPFLAGS = \
$(WARN_CFLAGS) \
+ $(DISABLE_DEPRECATED) \
$(SOUND_THEME_CFLAGS) \
-DSOUND_DATA_DIR="\"$(datadir)/sounds\"" \
-DSOUND_SET_DIR="\"$(pkgdatadir)/sounds\"" \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]