Commit 3b34311c authored by Mark McLoughlin's avatar Mark McLoughlin Committed by Mark McLoughlin
Browse files

add a --enable-deprecations flag.

2003-11-11  Mark McLoughlin  <mark@skynet.ie>

        * configure.in: add a --enable-deprecations flag.
parent 322efc61
2003-11-11 Mark McLoughlin <mark@skynet.ie>
* configure.in: add a --enable-deprecations flag.
2003-10-28 Mark McLoughlin <mark@skynet.ie>
* configure.in: require libglade and gtk+ 2.3.0.
......
2003-11-11 Mark McLoughlin <mark@skynet.ie>
* Makefile.am: use $(DISABLE_DEPRECATED_CFLAGS).
2003-10-31 Arvind Samptur <arvind.samptur@wipro.com>
* Makefile.am: Temporarily disabling the deprecated flags.
......
......@@ -11,14 +11,6 @@ INCLUDES = \
-DPREFIX=\""$(prefix)"\" \
-DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\"
# Flags to make sure we're not using any deprecated function
#DISABLE_DEPRECATED_CFLAGS = \
# -DG_DISABLE_DEPRECATED \
# -DGDK_DISABLE_DEPRECATED \
# -DGTK_DISABLE_DEPRECATED \
# -DGDK_PIXBUF_DISABLE_DEPRECATED \
# -DGNOME_DISABLE_DEPRECATED
EGGFILES = \
egg-screen-exec.h \
egg-screen-exec.c \
......
2003-11-11 Mark McLoughlin <mark@skynet.ie>
* Makefile.am: use $(DISABLE_DEPRECATED_CFLAGS).
2003-11-06 Vincent Untz <vincent@vuntz.net>
* fish.schemas.in: rotate pref default is false because it looks better
......
......@@ -6,6 +6,7 @@ INCLUDES = \
-DGNOME_ICONDIR=\""$(datadir)/pixmaps\"" \
-DFISH_GLADEDIR=\""$(gladedir)"\" \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED_CFLAGS) \
$(FISH_CFLAGS)
libexec_PROGRAMS = fish-applet-2
......
2003-11-11 Mark McLoughlin <mark@skynet.ie>
* Makefile.am: use $(DISABLE_DEPRECATED_CFLAGS).
2003-10-20 Vincent Untz <vincent@vuntz.net>
* main.c: (help_cb): use the help from the user guide.
......
......@@ -6,6 +6,7 @@ INCLUDES = \
-DGNOME_ICONDIR=\""$(datadir)/pixmaps\"" \
$(GNOME_INCLUDEDIR) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED_CFLAGS) \
$(PANEL_CFLAGS) \
$(APPLET_CFLAGS) \
-DG_LOG_DOMAIN=\""notification-area-applet"\" \
......
2003-11-11 Mark McLoughlin <mark@skynet.ie>
* Makefile.am: use $(DISABLE_DEPRECATED_CFLAGS).
2003-10-31 Arvind Samptur <arvind.samptur@wipro.com>
* Makefile.am: Temporarily disabling the deprecated flags.
......
......@@ -2,22 +2,12 @@ SUBDIRS = eel
libexec_PROGRAMS = wnck-applet
# Flags to make sure we're not using any deprecated function
#DISABLE_DEPRECATED = \
# -DG_DISABLE_DEPRECATED \
# -DGDK_DISABLE_DEPRECATED \
# -DGDK_PIXBUF_DISABLE_DEPRECATED \
# -DGTK_DISABLE_DEPRECATED \
# -DGNOME_VFS_DISABLE_DEPRECATED \
# -DGNOME_DISABLE_DEPRECATED \
# -DBONOBO_DISABLE_DEPRECATED
INCLUDES = \
-I$(top_builddir) \
-I$(top_srcdir)/libpanel-applet \
-I$(top_builddir)/libpanel-applet \
$(WNCKLET_CFLAGS) \
$(DISABLE_DEPRECATED) \
$(DISABLE_DEPRECATED_CFLAGS) \
$(WARN_CFLAGS) \
-DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
-DGNOME_ICONDIR=\""$(datadir)/pixmaps\"" \
......
......@@ -37,6 +37,21 @@ fi
GNOME_COMPILE_WARNINGS(yes)
AC_ARG_ENABLE(deprecations,
[AC_HELP_STRING([--enable-deprecations],
[warn about deprecated usages [default=no]])],,
[enable_deprecations=no])
if test "x$enable_deprecations" = "xyes"; then
DISABLE_DEPRECATED_CFLAGS="\
-DG_DISABLE_DEPRECATED \
-DGDK_DISABLE_DEPRECATED \
-DGTK_DISABLE_DEPRECATED \
-DGDK_PIXBUF_DISABLE_DEPRECATED \
-DGNOME_DISABLE_DEPRECATED"
AC_SUBST(DISABLE_DEPRECATED_CFLAGS)
fi
dnl If you add a version number here, you *must* add an AC_SUBST line for
dnl it too, or it will never make it into the spec file!
......
2003-11-11 Mark McLoughlin <mark@skynet.ie>
* Makefile.am: use $(DISABLE_DEPRECATED_CFLAGS).
2003-11-07 Arvind Samptur <arvind.samptur@wipro.com>
* panel-properties-dialog.c: (panel_properties_dialog_new) :
......
......@@ -23,15 +23,6 @@ INCLUDES = \
# using deprecated gtk+ internals
ALLOW_CRACKPOT_MENU_CODE=-DGTK_MENU_INTERNALS
# Flags to make sure we're not using any deprecated functions
#DISABLE_DEPRECATED_CFLAGS = \
# -DG_DISABLE_DEPRECATED \
# -DGDK_DISABLE_DEPRECATED \
# -DGTK_DISABLE_DEPRECATED \
# -DGDK_PIXBUF_DISABLE_DEPRECATED \
# -DGNOME_DISABLE_DEPRECATED \
# $(NULL)
# Used by the GNOME_PROGRAM_STANDARD_PROPERTIES macros
STANDARD_PROPERTIES_CFLAGS = \
-DPREFIX=\""$(prefix)"\" \
......
2003-11-11 Mark McLoughlin <mark@skynet.ie>
* Makefile.am: use $(DISABLE_DEPRECATED_CFLAGS).
2003-11-03 Vincent Untz <vincent@vuntz.net>
Based on a patch from John Ellis <johne@bellatlantic.net>.
......
......@@ -4,6 +4,7 @@ INCLUDES = \
-DPANEL_APPLET_GLADEDIR=\""$(gladedir)"\" \
-DGNOMELOCALEDIR=\""$(prefix)/$(DATADIRNAME)/locale"\" \
$(LIBPANEL_APPLET_CFLAGS) \
$(DISABLE_DEPRECATED_CFLAGS) \
$(WARN_CFLAGS)
lib_LTLIBRARIES = libpanel-applet-2.la
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment