You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/gimp/files/gimp-2.7.4-no-deprecation.p...

37 lines
1.0 KiB

--- configure.ac 2012-01-02 13:15:53.695067626 +0100
+++ configure.ac 2012-01-02 13:21:49.161623684 +0100
@@ -1943,33 +1943,6 @@
AC_SUBST(MIME_TYPES)
-#########################
-# Disable deprecated APIs
-#########################
-
-CPPFLAGS="${CPPFLAGS} -DGIMP_DISABLE_DEPRECATED -DBABL_DISABLE_DEPRECATED -DGSEAL_ENABLE"
-
-# Make sure not to disable deprecated APIs for unreleased versions.
-# We must build without problems with future releases of libraries
-# and disabling deprecated API risks breaking the build
-
-if test "x$have_glib_2_31" != "xyes"; then
- CPPFLAGS="${CPPFLAGS} -DG_DISABLE_DEPRECATED"
-fi
-
-if test "x$have_gtk_2_26" != "xyes"; then
- CPPFLAGS="${CPPFLAGS} -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
-fi
-
-if test "x$have_gdk_pixbuf_2_26" != "xyes"; then
- CPPFLAGS="${CPPFLAGS} -DGDK_PIXBUF_DISABLE_DEPRECATED"
-fi
-
-if test "x$have_pango_1_32" != "xyes"; then
- CPPFLAGS="${CPPFLAGS} -DPANGO_DISABLE_DEPRECATED"
-fi
-
-
############################
# Require multihead safe API
############################