[gimp/wip/Jehan/classy-GIMP: 13/58] plug-ins: keep building all plug-ins with old API.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/wip/Jehan/classy-GIMP: 13/58] plug-ins: keep building all plug-ins with old API.
- Date: Tue, 20 Aug 2019 08:44:45 +0000 (UTC)
commit 5cead807c0a48773abf575b756f4691e550f4c83
Author: Jehan <jehan girinstud io>
Date: Tue Aug 13 00:58:11 2019 +0200
plug-ins: keep building all plug-ins with old API.
Build existing plug-ins with -DGIMP_DEPRECATED_REPLACE_NEW_API.
We will port the plug-ins one at a time to the new GimpImage API.
plug-ins/common/Makefile.am | 148 ++++++++++++++++++++++++++++++++-
plug-ins/common/mkgen.pl | 14 +++-
plug-ins/common/plugin-defs.pl | 148 ++++++++++++++++-----------------
plug-ins/file-bmp/Makefile.am | 1 +
plug-ins/file-dds/Makefile.am | 1 +
plug-ins/file-exr/Makefile.am | 1 +
plug-ins/file-faxg3/Makefile.am | 1 +
plug-ins/file-fits/Makefile.am | 1 +
plug-ins/file-fli/Makefile.am | 1 +
plug-ins/file-ico/Makefile.am | 1 +
plug-ins/file-jpeg/Makefile.am | 1 +
plug-ins/file-psd/Makefile.am | 1 +
plug-ins/file-raw/Makefile.am | 1 +
plug-ins/file-sgi/Makefile.am | 1 +
plug-ins/file-tiff/Makefile.am | 1 +
plug-ins/file-webp/Makefile.am | 1 +
plug-ins/flame/Makefile.am | 1 +
plug-ins/fractal-explorer/Makefile.am | 1 +
plug-ins/gfig/Makefile.am | 1 +
plug-ins/gimpressionist/Makefile.am | 1 +
plug-ins/goat-exercises/Makefile.am | 1 +
plug-ins/gradient-flare/Makefile.am | 1 +
plug-ins/help-browser/Makefile.am | 1 +
plug-ins/help/Makefile.am | 1 +
plug-ins/ifs-compose/Makefile.am | 1 +
plug-ins/imagemap/Makefile.am | 1 +
plug-ins/lighting/Makefile.am | 1 +
plug-ins/map-object/Makefile.am | 1 +
plug-ins/metadata/Makefile.am | 1 +
plug-ins/pagecurl/Makefile.am | 1 +
plug-ins/print/Makefile.am | 1 +
plug-ins/pygimp/Makefile.am | 1 +
plug-ins/screenshot/Makefile.am | 1 +
plug-ins/script-fu/Makefile.am | 1 +
plug-ins/selection-to-path/Makefile.am | 1 +
plug-ins/twain/Makefile.am | 1 +
36 files changed, 267 insertions(+), 76 deletions(-)
---
diff --git a/plug-ins/common/Makefile.am b/plug-ins/common/Makefile.am
index 299be07e19..8c32729709 100644
--- a/plug-ins/common/Makefile.am
+++ b/plug-ins/common/Makefile.am
@@ -225,6 +225,8 @@ install-%: %
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p
$(DESTDIR)$(gimpplugindir)/plug-ins/$$p/$$f || exit 1; \
else :; fi
+align_layers_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
align_layers_SOURCES = \
align-layers.c
@@ -242,6 +244,8 @@ align_layers_LDADD = \
$(INTLLIBS) \
$(align_layers_RC)
+animation_optimize_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
animation_optimize_SOURCES = \
animation-optimize.c
@@ -258,6 +262,8 @@ animation_optimize_LDADD = \
$(INTLLIBS) \
$(animation_optimize_RC)
+animation_play_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
animation_play_SOURCES = \
animation-play.c
@@ -276,6 +282,8 @@ animation_play_LDADD = \
$(INTLLIBS) \
$(animation_play_RC)
+blinds_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
blinds_SOURCES = \
blinds.c
@@ -294,6 +302,8 @@ blinds_LDADD = \
$(INTLLIBS) \
$(blinds_RC)
+border_average_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
border_average_SOURCES = \
border-average.c
@@ -312,6 +322,8 @@ border_average_LDADD = \
$(INTLLIBS) \
$(border_average_RC)
+busy_dialog_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
busy_dialog_SOURCES = \
busy-dialog.c
@@ -330,6 +342,8 @@ busy_dialog_LDADD = \
$(INTLLIBS) \
$(busy_dialog_RC)
+checkerboard_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
checkerboard_SOURCES = \
checkerboard.c
@@ -348,6 +362,8 @@ checkerboard_LDADD = \
$(INTLLIBS) \
$(checkerboard_RC)
+cml_explorer_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
cml_explorer_SOURCES = \
cml-explorer.c
@@ -366,6 +382,8 @@ cml_explorer_LDADD = \
$(INTLLIBS) \
$(cml_explorer_RC)
+colormap_remap_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
colormap_remap_SOURCES = \
colormap-remap.c
@@ -384,6 +402,8 @@ colormap_remap_LDADD = \
$(INTLLIBS) \
$(colormap_remap_RC)
+compose_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
compose_SOURCES = \
compose.c
@@ -402,6 +422,8 @@ compose_LDADD = \
$(INTLLIBS) \
$(compose_RC)
+contrast_retinex_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
contrast_retinex_SOURCES = \
contrast-retinex.c
@@ -420,6 +442,8 @@ contrast_retinex_LDADD = \
$(INTLLIBS) \
$(contrast_retinex_RC)
+crop_zealous_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
crop_zealous_SOURCES = \
crop-zealous.c
@@ -436,6 +460,8 @@ crop_zealous_LDADD = \
$(INTLLIBS) \
$(crop_zealous_RC)
+curve_bend_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
curve_bend_SOURCES = \
curve-bend.c
@@ -454,6 +480,8 @@ curve_bend_LDADD = \
$(INTLLIBS) \
$(curve_bend_RC)
+decompose_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
decompose_SOURCES = \
decompose.c
@@ -472,6 +500,8 @@ decompose_LDADD = \
$(INTLLIBS) \
$(decompose_RC)
+depth_merge_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
depth_merge_SOURCES = \
depth-merge.c
@@ -490,6 +520,8 @@ depth_merge_LDADD = \
$(INTLLIBS) \
$(depth_merge_RC)
+despeckle_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
despeckle_SOURCES = \
despeckle.c
@@ -508,6 +540,8 @@ despeckle_LDADD = \
$(INTLLIBS) \
$(despeckle_RC)
+destripe_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
destripe_SOURCES = \
destripe.c
@@ -526,6 +560,8 @@ destripe_LDADD = \
$(INTLLIBS) \
$(destripe_RC)
+file_aa_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_aa_SOURCES = \
file-aa.c
@@ -545,6 +581,8 @@ file_aa_LDADD = \
$(INTLLIBS) \
$(file_aa_RC)
+file_cel_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_cel_SOURCES = \
file-cel.c
@@ -565,6 +603,8 @@ file_cel_LDADD = \
file_compressor_CFLAGS = $(LZMA_CFLAGS)
+file_compressor_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_compressor_SOURCES = \
file-compressor.c
@@ -584,6 +624,8 @@ file_compressor_LDADD = \
$(INTLLIBS) \
$(file_compressor_RC)
+file_csource_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_csource_SOURCES = \
file-csource.c
@@ -602,6 +644,8 @@ file_csource_LDADD = \
$(INTLLIBS) \
$(file_csource_RC)
+file_desktop_link_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_desktop_link_SOURCES = \
file-desktop-link.c
@@ -620,6 +664,8 @@ file_desktop_link_LDADD = \
file_dicom_CFLAGS = -fno-strict-aliasing
+file_dicom_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_dicom_SOURCES = \
file-dicom.c
@@ -638,6 +684,8 @@ file_dicom_LDADD = \
$(INTLLIBS) \
$(file_dicom_RC)
+file_gbr_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_gbr_SOURCES = \
file-gbr.c
@@ -656,6 +704,8 @@ file_gbr_LDADD = \
$(INTLLIBS) \
$(file_gbr_RC)
+file_gegl_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_gegl_SOURCES = \
file-gegl.c
@@ -674,6 +724,8 @@ file_gegl_LDADD = \
$(INTLLIBS) \
$(file_gegl_RC)
+file_gif_load_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_gif_load_SOURCES = \
file-gif-load.c
@@ -690,6 +742,8 @@ file_gif_load_LDADD = \
$(INTLLIBS) \
$(file_gif_load_RC)
+file_gif_save_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_gif_save_SOURCES = \
file-gif-save.c
@@ -708,6 +762,8 @@ file_gif_save_LDADD = \
$(INTLLIBS) \
$(file_gif_save_RC)
+file_gih_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_gih_SOURCES = \
file-gih.c
@@ -741,6 +797,8 @@ file_glob_LDADD = \
$(INTLLIBS) \
$(file_glob_RC)
+file_header_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_header_SOURCES = \
file-header.c
@@ -761,6 +819,8 @@ file_header_LDADD = \
file_heif_CFLAGS = $(LIBHEIF_CFLAGS)
+file_heif_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_heif_SOURCES = \
file-heif.c
@@ -780,6 +840,8 @@ file_heif_LDADD = \
$(INTLLIBS) \
$(file_heif_RC)
+file_html_table_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_html_table_SOURCES = \
file-html-table.c
@@ -800,6 +862,8 @@ file_html_table_LDADD = \
file_jp2_load_CFLAGS = $(OPENJPEG_CFLAGS)
+file_jp2_load_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_jp2_load_SOURCES = \
file-jp2-load.c
@@ -821,6 +885,8 @@ file_jp2_load_LDADD = \
file_mng_CFLAGS = $(MNG_CFLAGS)
+file_mng_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_mng_SOURCES = \
file-mng.c
@@ -840,6 +906,8 @@ file_mng_LDADD = \
$(INTLLIBS) \
$(file_mng_RC)
+file_pat_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_pat_SOURCES = \
file-pat.c
@@ -858,6 +926,8 @@ file_pat_LDADD = \
$(INTLLIBS) \
$(file_pat_RC)
+file_pcx_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_pcx_SOURCES = \
file-pcx.c
@@ -878,6 +948,8 @@ file_pcx_LDADD = \
file_pdf_load_CFLAGS = $(POPPLER_CFLAGS)
+file_pdf_load_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_pdf_load_SOURCES = \
file-pdf-load.c
@@ -899,6 +971,8 @@ file_pdf_load_LDADD = \
file_pdf_save_CFLAGS = $(CAIRO_PDF_CFLAGS)
+file_pdf_save_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_pdf_save_SOURCES = \
file-pdf-save.c
@@ -918,6 +992,8 @@ file_pdf_save_LDADD = \
$(INTLLIBS) \
$(file_pdf_save_RC)
+file_pix_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_pix_SOURCES = \
file-pix.c
@@ -938,6 +1014,8 @@ file_pix_LDADD = \
file_png_CFLAGS = $(PNG_CFLAGS)
+file_png_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_png_SOURCES = \
file-png.c
@@ -957,6 +1035,8 @@ file_png_LDADD = \
$(INTLLIBS) \
$(file_png_RC)
+file_pnm_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_pnm_SOURCES = \
file-pnm.c
@@ -975,6 +1055,8 @@ file_pnm_LDADD = \
$(INTLLIBS) \
$(file_pnm_RC)
+file_ps_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_ps_SOURCES = \
file-ps.c
@@ -994,6 +1076,8 @@ file_ps_LDADD = \
$(INTLLIBS) \
$(file_ps_RC)
+file_psp_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_psp_SOURCES = \
file-psp.c
@@ -1013,6 +1097,8 @@ file_psp_LDADD = \
$(INTLLIBS) \
$(file_psp_RC)
+file_raw_data_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_raw_data_SOURCES = \
file-raw-data.c
@@ -1031,6 +1117,8 @@ file_raw_data_LDADD = \
$(INTLLIBS) \
$(file_raw_data_RC)
+file_sunras_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_sunras_SOURCES = \
file-sunras.c
@@ -1051,6 +1139,8 @@ file_sunras_LDADD = \
file_svg_CFLAGS = $(SVG_CFLAGS)
+file_svg_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_svg_SOURCES = \
file-svg.c
@@ -1070,6 +1160,8 @@ file_svg_LDADD = \
$(INTLLIBS) \
$(file_svg_RC)
+file_tga_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_tga_SOURCES = \
file-tga.c
@@ -1090,6 +1182,8 @@ file_tga_LDADD = \
file_wmf_CFLAGS = $(WMF_CFLAGS)
+file_wmf_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_wmf_SOURCES = \
file-wmf.c
@@ -1109,6 +1203,8 @@ file_wmf_LDADD = \
$(INTLLIBS) \
$(file_wmf_RC)
+file_xbm_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_xbm_SOURCES = \
file-xbm.c
@@ -1127,6 +1223,8 @@ file_xbm_LDADD = \
$(INTLLIBS) \
$(file_xbm_RC)
+file_xmc_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_xmc_SOURCES = \
file-xmc.c
@@ -1146,6 +1244,8 @@ file_xmc_LDADD = \
$(INTLLIBS) \
$(file_xmc_RC)
+file_xpm_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_xpm_SOURCES = \
file-xpm.c
@@ -1165,6 +1265,8 @@ file_xpm_LDADD = \
$(INTLLIBS) \
$(file_xpm_RC)
+file_xwd_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
file_xwd_SOURCES = \
file-xwd.c
@@ -1183,6 +1285,8 @@ file_xwd_LDADD = \
$(INTLLIBS) \
$(file_xwd_RC)
+film_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
film_SOURCES = \
film.c
@@ -1201,6 +1305,8 @@ film_LDADD = \
$(INTLLIBS) \
$(film_RC)
+gradient_map_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
gradient_map_SOURCES = \
gradient-map.c
@@ -1217,6 +1323,8 @@ gradient_map_LDADD = \
$(INTLLIBS) \
$(gradient_map_RC)
+grid_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
grid_SOURCES = \
grid.c
@@ -1235,6 +1343,8 @@ grid_LDADD = \
$(INTLLIBS) \
$(grid_RC)
+guillotine_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
guillotine_SOURCES = \
guillotine.c
@@ -1250,6 +1360,8 @@ guillotine_LDADD = \
$(INTLLIBS) \
$(guillotine_RC)
+hot_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
hot_SOURCES = \
hot.c
@@ -1268,6 +1380,8 @@ hot_LDADD = \
$(INTLLIBS) \
$(hot_RC)
+jigsaw_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
jigsaw_SOURCES = \
jigsaw.c
@@ -1286,6 +1400,8 @@ jigsaw_LDADD = \
$(INTLLIBS) \
$(jigsaw_RC)
+mail_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
mail_SOURCES = \
mail.c
@@ -1303,6 +1419,8 @@ mail_LDADD = \
$(INTLLIBS) \
$(mail_RC)
+nl_filter_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
nl_filter_SOURCES = \
nl-filter.c
@@ -1321,6 +1439,8 @@ nl_filter_LDADD = \
$(INTLLIBS) \
$(nl_filter_RC)
+plugin_browser_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
plugin_browser_SOURCES = \
plugin-browser.c
@@ -1338,6 +1458,8 @@ plugin_browser_LDADD = \
$(INTLLIBS) \
$(plugin_browser_RC)
+procedure_browser_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
procedure_browser_SOURCES = \
procedure-browser.c
@@ -1355,6 +1477,8 @@ procedure_browser_LDADD = \
$(INTLLIBS) \
$(procedure_browser_RC)
+qbist_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
qbist_SOURCES = \
qbist.c
@@ -1373,6 +1497,8 @@ qbist_LDADD = \
$(INTLLIBS) \
$(qbist_RC)
+sample_colorize_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
sample_colorize_SOURCES = \
sample-colorize.c
@@ -1391,6 +1517,8 @@ sample_colorize_LDADD = \
$(INTLLIBS) \
$(sample_colorize_RC)
+smooth_palette_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
smooth_palette_SOURCES = \
smooth-palette.c
@@ -1409,6 +1537,8 @@ smooth_palette_LDADD = \
$(INTLLIBS) \
$(smooth_palette_RC)
+sparkle_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
sparkle_SOURCES = \
sparkle.c
@@ -1427,6 +1557,8 @@ sparkle_LDADD = \
$(INTLLIBS) \
$(sparkle_RC)
+sphere_designer_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
sphere_designer_SOURCES = \
sphere-designer.c
@@ -1445,6 +1577,8 @@ sphere_designer_LDADD = \
$(INTLLIBS) \
$(sphere_designer_RC)
+tile_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
tile_SOURCES = \
tile.c
@@ -1463,6 +1597,8 @@ tile_LDADD = \
$(INTLLIBS) \
$(tile_RC)
+tile_small_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
tile_small_SOURCES = \
tile-small.c
@@ -1481,6 +1617,8 @@ tile_small_LDADD = \
$(INTLLIBS) \
$(tile_small_RC)
+unit_editor_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
unit_editor_SOURCES = \
unit-editor.c
@@ -1498,6 +1636,8 @@ unit_editor_LDADD = \
$(INTLLIBS) \
$(unit_editor_RC)
+van_gogh_lic_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
van_gogh_lic_SOURCES = \
van-gogh-lic.c
@@ -1516,6 +1656,8 @@ van_gogh_lic_LDADD = \
$(INTLLIBS) \
$(van_gogh_lic_RC)
+warp_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
warp_SOURCES = \
warp.c
@@ -1534,6 +1676,8 @@ warp_LDADD = \
$(INTLLIBS) \
$(warp_RC)
+wavelet_decompose_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
wavelet_decompose_SOURCES = \
wavelet-decompose.c
@@ -1554,7 +1698,7 @@ wavelet_decompose_LDADD = \
web_browser_LDFLAGS = $(framework_cocoa)
-web_browser_CPPFLAGS = $(AM_CPPFLAGS) $(xobjective_c)
+web_browser_CPPFLAGS = $(AM_CPPFLAGS) $(xobjective_c) -DGIMP_DEPRECATED_REPLACE_NEW_API
web_browser_SOURCES = \
web-browser.c
@@ -1575,6 +1719,8 @@ web_browser_LDADD = \
web_page_CFLAGS = $(WEBKIT_CFLAGS)
+web_page_CPPFLAGS = $(AM_CPPFLAGS) -DGIMP_DEPRECATED_REPLACE_NEW_API
+
web_page_SOURCES = \
web-page.c
diff --git a/plug-ins/common/mkgen.pl b/plug-ins/common/mkgen.pl
index 1e95284057..aa428ccf48 100755
--- a/plug-ins/common/mkgen.pl
+++ b/plug-ins/common/mkgen.pl
@@ -187,10 +187,22 @@ EOT
if (exists $plugins{$_}->{cppflags}) {
my $cppflags = $plugins{$_}->{cppflags};
+ my $oldapiflags = '';
+ if (exists $plugins{$_}->{old_api}) {
+ $oldapiflags = ' -DGIMP_DEPRECATED_REPLACE_NEW_API';
+ }
print MK <<EOT;
-${makename}_CPPFLAGS = $cppflags
+${makename}_CPPFLAGS = $cppflags$oldapiflags
+EOT
+ }
+ elsif (exists $plugins{$_}->{old_api}) {
+ my $oldapiflags = '-DGIMP_DEPRECATED_REPLACE_NEW_API';
+
+ print MK <<EOT;
+
+${makename}_CPPFLAGS = \$(AM_CPPFLAGS) $oldapiflags
EOT
}
diff --git a/plug-ins/common/plugin-defs.pl b/plug-ins/common/plugin-defs.pl
index c7893e1bfe..24c39c2ada 100644
--- a/plug-ins/common/plugin-defs.pl
+++ b/plug-ins/common/plugin-defs.pl
@@ -1,77 +1,77 @@
%plugins = (
- 'align-layers' => { ui => 1 },
- 'animation-optimize' => { gegl => 1},
- 'animation-play' => { ui => 1, gegl => 1 },
- 'blinds' => { ui => 1, gegl => 1 },
- 'border-average' => { ui => 1, gegl => 1 },
- 'busy-dialog' => { ui => 1, gegl => 1 },
- 'checkerboard' => { ui => 1, gegl => 1 },
- 'cml-explorer' => { ui => 1, gegl => 1 },
- 'colormap-remap' => { ui => 1, gegl => 1 },
- 'compose' => { ui => 1, gegl => 1 },
- 'contrast-retinex' => { ui => 1, gegl => 1 },
- 'crop-zealous' => { gegl => 1 },
- 'curve-bend' => { ui => 1, gegl => 1 },
- 'decompose' => { ui => 1, gegl => 1 },
- 'depth-merge' => { ui => 1, gegl => 1 },
- 'despeckle' => { ui => 1, gegl => 1 },
- 'destripe' => { ui => 1, gegl => 1 },
- 'file-aa' => { ui => 1, gegl => 1, optional => 1, libs => 'AA_LIBS' },
- 'file-cel' => { ui => 1, gegl => 1 },
- 'file-csource' => { ui => 1, gegl => 1 },
- 'file-compressor' => { gio => 1, libdep => 'Z:BZIP2:LZMA', cflags => 'LZMA_CFLAGS' },
- 'file-desktop-link' => { gio => 1 },
- 'file-dicom' => { ui => 1, gegl => 1, cflags => '-fno-strict-aliasing' },
- 'file-gbr' => { ui => 1, gegl => 1 },
- 'file-gegl' => { ui => 1, gegl => 1 },
- 'file-gif-load' => { gegl => 1 },
- 'file-gif-save' => { ui => 1, gegl => 1 },
- 'file-gih' => { ui => 1, gegl => 1 },
+ 'align-layers' => { ui => 1, old_api => 1 },
+ 'animation-optimize' => { gegl => 1, old_api => 1 },
+ 'animation-play' => { ui => 1, gegl => 1, old_api => 1 },
+ 'blinds' => { ui => 1, gegl => 1, old_api => 1 },
+ 'border-average' => { ui => 1, gegl => 1, old_api => 1 },
+ 'busy-dialog' => { ui => 1, gegl => 1, old_api => 1 },
+ 'checkerboard' => { ui => 1, gegl => 1, old_api => 1 },
+ 'cml-explorer' => { ui => 1, gegl => 1, old_api => 1 },
+ 'colormap-remap' => { ui => 1, gegl => 1, old_api => 1 },
+ 'compose' => { ui => 1, gegl => 1, old_api => 1 },
+ 'contrast-retinex' => { ui => 1, gegl => 1, old_api => 1 },
+ 'crop-zealous' => { gegl => 1, old_api => 1 },
+ 'curve-bend' => { ui => 1, gegl => 1, old_api => 1 },
+ 'decompose' => { ui => 1, gegl => 1, old_api => 1 },
+ 'depth-merge' => { ui => 1, gegl => 1, old_api => 1 },
+ 'despeckle' => { ui => 1, gegl => 1, old_api => 1 },
+ 'destripe' => { ui => 1, gegl => 1, old_api => 1 },
+ 'file-aa' => { ui => 1, gegl => 1, optional => 1, libs => 'AA_LIBS', old_api => 1 },
+ 'file-cel' => { ui => 1, gegl => 1, old_api => 1 },
+ 'file-csource' => { ui => 1, gegl => 1, old_api => 1 },
+ 'file-compressor' => { gio => 1, libdep => 'Z:BZIP2:LZMA', cflags => 'LZMA_CFLAGS', old_api => 1 },
+ 'file-desktop-link' => { gio => 1, old_api => 1 },
+ 'file-dicom' => { ui => 1, gegl => 1, cflags => '-fno-strict-aliasing', old_api => 1 },
+ 'file-gbr' => { ui => 1, gegl => 1, old_api => 1 },
+ 'file-gegl' => { ui => 1, gegl => 1, old_api => 1 },
+ 'file-gif-load' => { gegl => 1, old_api => 1 },
+ 'file-gif-save' => { ui => 1, gegl => 1, old_api => 1 },
+ 'file-gih' => { ui => 1, gegl => 1, old_api => 1 },
'file-glob' => {},
- 'file-header' => { ui => 1, gegl => 1 },
- 'file-heif' => { ui => 1, optional => 1, gegl => 1, libs => 'LIBHEIF_LIBS', cflags => 'LIBHEIF_CFLAGS' },
- 'file-html-table' => { ui => 1, gegl => 1 },
- 'file-jp2-load' => { ui => 1, optional => 1, gegl => 1, libs => 'OPENJPEG_LIBS', cflags =>
'OPENJPEG_CFLAGS' },
- 'file-mng' => { ui => 1, gegl => 1, optional => 1, libs => 'MNG_LIBS', cflags => 'MNG_CFLAGS' },
- 'file-pat' => { ui => 1, gegl => 1 },
- 'file-pcx' => { ui => 1, gegl => 1 },
- 'file-pix' => { ui => 1, gegl => 1 },
- 'file-png' => { ui => 1, gegl => 1, libs => 'PNG_LIBS', cflags => 'PNG_CFLAGS' },
- 'file-pnm' => { ui => 1, gegl => 1 },
- 'file-pdf-load' => { ui => 1, gegl => 1, libs => 'POPPLER_LIBS', cflags => 'POPPLER_CFLAGS' },
- 'file-pdf-save' => { ui => 1, gegl => 1, optional => 1, libs => 'CAIRO_PDF_LIBS', cflags =>
'CAIRO_PDF_CFLAGS' },
- 'file-ps' => { ui => 1, gegl => 1, optional => 1, libs => 'GS_LIBS' },
- 'file-psp' => { ui => 1, gegl => 1, libs => 'Z_LIBS' },
- 'file-raw-data' => { ui => 1, gegl => 1 },
- 'file-sunras' => { ui => 1, gegl => 1 },
- 'file-svg' => { ui => 1, gegl => 1, libs => 'SVG_LIBS', cflags => 'SVG_CFLAGS' },
- 'file-tga' => { ui => 1, gegl => 1 },
- 'file-wmf' => { ui => 1, gegl => 1, optional => 1, libs => 'WMF_LIBS', cflags => 'WMF_CFLAGS' },
- 'file-xbm' => { ui => 1, gegl => 1 },
- 'file-xmc' => { ui => 1, gegl => 1, optional => 1, libs => 'XMC_LIBS' },
- 'file-xpm' => { ui => 1, gegl => 1, optional => 1, libs => 'XPM_LIBS' },
- 'file-xwd' => { ui => 1, gegl => 1 },
- 'film' => { ui => 1, gegl => 1 },
- 'gradient-map' => { gegl => 1 },
- 'grid' => { ui => 1, gegl => 1 },
- 'guillotine' => {},
- 'hot' => { ui => 1, gegl => 1 },
- 'jigsaw' => { ui => 1, gegl => 1 },
- 'mail' => { ui => 1, optional => 1 },
- 'nl-filter' => { ui => 1, gegl => 1 },
- 'plugin-browser' => { ui => 1 },
- 'procedure-browser' => { ui => 1 },
- 'qbist' => { ui => 1, gegl => 1 },
- 'sample-colorize' => { ui => 1, gegl => 1 },
- 'smooth-palette' => { ui => 1, gegl => 1 },
- 'sparkle' => { ui => 1, gegl => 1 },
- 'sphere-designer' => { ui => 1, gegl => 1 },
- 'tile' => { ui => 1, gegl => 1 },
- 'tile-small' => { ui => 1, gegl => 1 },
- 'unit-editor' => { ui => 1 },
- 'van-gogh-lic' => { ui => 1, gegl => 1 },
- 'warp' => { ui => 1, gegl => 1 },
- 'wavelet-decompose' => { ui => 1, gegl => 1 },
- 'web-browser' => { ui => 1, ldflags => '$(framework_cocoa)', cppflags => '$(AM_CPPFLAGS)
$(xobjective_c)' },
- 'web-page' => { ui => 1, optional => 1, libs => 'WEBKIT_LIBS', cflags => 'WEBKIT_CFLAGS' }
+ 'file-header' => { ui => 1, gegl => 1, old_api => 1 },
+ 'file-heif' => { ui => 1, optional => 1, gegl => 1, libs => 'LIBHEIF_LIBS', cflags => 'LIBHEIF_CFLAGS',
old_api => 1 },
+ 'file-html-table' => { ui => 1, gegl => 1, old_api => 1 },
+ 'file-jp2-load' => { ui => 1, optional => 1, gegl => 1, libs => 'OPENJPEG_LIBS', cflags =>
'OPENJPEG_CFLAGS', old_api => 1 },
+ 'file-mng' => { ui => 1, gegl => 1, optional => 1, libs => 'MNG_LIBS', cflags => 'MNG_CFLAGS', old_api
=> 1 },
+ 'file-pat' => { ui => 1, gegl => 1, old_api => 1 },
+ 'file-pcx' => { ui => 1, gegl => 1, old_api => 1 },
+ 'file-pix' => { ui => 1, gegl => 1, old_api => 1 },
+ 'file-png' => { ui => 1, gegl => 1, libs => 'PNG_LIBS', cflags => 'PNG_CFLAGS', old_api => 1 },
+ 'file-pnm' => { ui => 1, gegl => 1, old_api => 1 },
+ 'file-pdf-load' => { ui => 1, gegl => 1, libs => 'POPPLER_LIBS', cflags => 'POPPLER_CFLAGS', old_api =>
1 },
+ 'file-pdf-save' => { ui => 1, gegl => 1, optional => 1, libs => 'CAIRO_PDF_LIBS', cflags =>
'CAIRO_PDF_CFLAGS', old_api => 1 },
+ 'file-ps' => { ui => 1, gegl => 1, optional => 1, libs => 'GS_LIBS', old_api => 1 },
+ 'file-psp' => { ui => 1, gegl => 1, libs => 'Z_LIBS', old_api => 1 },
+ 'file-raw-data' => { ui => 1, gegl => 1, old_api => 1 },
+ 'file-sunras' => { ui => 1, gegl => 1, old_api => 1 },
+ 'file-svg' => { ui => 1, gegl => 1, libs => 'SVG_LIBS', cflags => 'SVG_CFLAGS', old_api => 1 },
+ 'file-tga' => { ui => 1, gegl => 1, old_api => 1 },
+ 'file-wmf' => { ui => 1, gegl => 1, optional => 1, libs => 'WMF_LIBS', cflags => 'WMF_CFLAGS', old_api
=> 1 },
+ 'file-xbm' => { ui => 1, gegl => 1, old_api => 1 },
+ 'file-xmc' => { ui => 1, gegl => 1, optional => 1, libs => 'XMC_LIBS', old_api => 1 },
+ 'file-xpm' => { ui => 1, gegl => 1, optional => 1, libs => 'XPM_LIBS', old_api => 1 },
+ 'file-xwd' => { ui => 1, gegl => 1, old_api => 1 },
+ 'film' => { ui => 1, gegl => 1, old_api => 1 },
+ 'gradient-map' => { gegl => 1, old_api => 1 },
+ 'grid' => { ui => 1, gegl => 1, old_api => 1 },
+ 'guillotine' => { old_api => 1 },
+ 'hot' => { ui => 1, gegl => 1, old_api => 1 },
+ 'jigsaw' => { ui => 1, gegl => 1, old_api => 1 },
+ 'mail' => { ui => 1, optional => 1, old_api => 1 },
+ 'nl-filter' => { ui => 1, gegl => 1, old_api => 1 },
+ 'plugin-browser' => { ui => 1, old_api => 1 },
+ 'procedure-browser' => { ui => 1, old_api => 1 },
+ 'qbist' => { ui => 1, gegl => 1, old_api => 1 },
+ 'sample-colorize' => { ui => 1, gegl => 1, old_api => 1 },
+ 'smooth-palette' => { ui => 1, gegl => 1, old_api => 1 },
+ 'sparkle' => { ui => 1, gegl => 1, old_api => 1 },
+ 'sphere-designer' => { ui => 1, gegl => 1, old_api => 1 },
+ 'tile' => { ui => 1, gegl => 1, old_api => 1 },
+ 'tile-small' => { ui => 1, gegl => 1, old_api => 1 },
+ 'unit-editor' => { ui => 1, old_api => 1 },
+ 'van-gogh-lic' => { ui => 1, gegl => 1, old_api => 1 },
+ 'warp' => { ui => 1, gegl => 1, old_api => 1 },
+ 'wavelet-decompose' => { ui => 1, gegl => 1, old_api => 1 },
+ 'web-browser' => { ui => 1, ldflags => '$(framework_cocoa)', cppflags => '$(AM_CPPFLAGS)
$(xobjective_c)', old_api => 1 },
+ 'web-page' => { ui => 1, optional => 1, libs => 'WEBKIT_LIBS', cflags => 'WEBKIT_CFLAGS', old_api => 1 }
);
diff --git a/plug-ins/file-bmp/Makefile.am b/plug-ins/file-bmp/Makefile.am
index 4dc09ec1c8..bfcb896b5f 100644
--- a/plug-ins/file-bmp/Makefile.am
+++ b/plug-ins/file-bmp/Makefile.am
@@ -32,6 +32,7 @@ file_bmp_SOURCES = \
bmp-save.h
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/file-dds/Makefile.am b/plug-ins/file-dds/Makefile.am
index 72fc5a7c0a..eb35d0bb7f 100644
--- a/plug-ins/file-dds/Makefile.am
+++ b/plug-ins/file-dds/Makefile.am
@@ -47,6 +47,7 @@ file_dds_SOURCES = \
vec.h
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/file-exr/Makefile.am b/plug-ins/file-exr/Makefile.am
index 5ad2b56659..9d5e1f66b5 100644
--- a/plug-ins/file-exr/Makefile.am
+++ b/plug-ins/file-exr/Makefile.am
@@ -22,6 +22,7 @@ AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins/file-exr
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/file-faxg3/Makefile.am b/plug-ins/file-faxg3/Makefile.am
index b528d6a401..d724480bbd 100644
--- a/plug-ins/file-faxg3/Makefile.am
+++ b/plug-ins/file-faxg3/Makefile.am
@@ -29,6 +29,7 @@ file_faxg3_SOURCES = \
g3.h
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(CAIRO_CFLAGS) \
$(GDK_PIXBUF_CFLAGS) \
diff --git a/plug-ins/file-fits/Makefile.am b/plug-ins/file-fits/Makefile.am
index 0ea58fea99..8e9d770844 100644
--- a/plug-ins/file-fits/Makefile.am
+++ b/plug-ins/file-fits/Makefile.am
@@ -30,6 +30,7 @@ file_fits_SOURCES = \
fits-io.h
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/file-fli/Makefile.am b/plug-ins/file-fli/Makefile.am
index 55e63229cd..3e1eed8f31 100644
--- a/plug-ins/file-fli/Makefile.am
+++ b/plug-ins/file-fli/Makefile.am
@@ -29,6 +29,7 @@ file_fli_SOURCES = \
fli-gimp.c
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/file-ico/Makefile.am b/plug-ins/file-ico/Makefile.am
index 0bc5bbfd2d..44bf64dbf0 100644
--- a/plug-ins/file-ico/Makefile.am
+++ b/plug-ins/file-ico/Makefile.am
@@ -36,6 +36,7 @@ file_ico_SOURCES = \
ico-save.h
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/file-jpeg/Makefile.am b/plug-ins/file-jpeg/Makefile.am
index 20a307ee34..007ac53ab7 100644
--- a/plug-ins/file-jpeg/Makefile.am
+++ b/plug-ins/file-jpeg/Makefile.am
@@ -22,6 +22,7 @@ AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins/file-jpeg
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(EXIF_CFLAGS) \
diff --git a/plug-ins/file-psd/Makefile.am b/plug-ins/file-psd/Makefile.am
index d8f4f3577e..709fd74f05 100644
--- a/plug-ins/file-psd/Makefile.am
+++ b/plug-ins/file-psd/Makefile.am
@@ -45,6 +45,7 @@ EXTRA_DIST = \
new-resource-ids.txt
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-DG_LOG_DOMAIN=\"file-psd\" \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
diff --git a/plug-ins/file-raw/Makefile.am b/plug-ins/file-raw/Makefile.am
index 934ae6187a..c2d88fae0c 100644
--- a/plug-ins/file-raw/Makefile.am
+++ b/plug-ins/file-raw/Makefile.am
@@ -25,6 +25,7 @@ rt_libexecdir = $(gimpplugindir)/plug-ins/file-rawtherapee
rp_libexecdir = $(gimpplugindir)/plug-ins/file-raw-placeholder
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
-I$(includedir) \
$(GTK_CFLAGS) \
diff --git a/plug-ins/file-sgi/Makefile.am b/plug-ins/file-sgi/Makefile.am
index 2dd6a6f303..3e9560bd7e 100644
--- a/plug-ins/file-sgi/Makefile.am
+++ b/plug-ins/file-sgi/Makefile.am
@@ -29,6 +29,7 @@ file_sgi_SOURCES = \
sgi-lib.h
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/file-tiff/Makefile.am b/plug-ins/file-tiff/Makefile.am
index 8969040675..7c669f832a 100644
--- a/plug-ins/file-tiff/Makefile.am
+++ b/plug-ins/file-tiff/Makefile.am
@@ -22,6 +22,7 @@ AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins/file-tiff
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(EXIF_CFLAGS) \
diff --git a/plug-ins/file-webp/Makefile.am b/plug-ins/file-webp/Makefile.am
index 20bb79b3b9..b190b547f5 100644
--- a/plug-ins/file-webp/Makefile.am
+++ b/plug-ins/file-webp/Makefile.am
@@ -22,6 +22,7 @@ AM_LDFLAGS = $(mwindows)
libexecdir = $(gimpplugindir)/plug-ins/file-webp
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(EXIF_CFLAGS) \
diff --git a/plug-ins/flame/Makefile.am b/plug-ins/flame/Makefile.am
index 4171d894af..da008f8ad9 100644
--- a/plug-ins/flame/Makefile.am
+++ b/plug-ins/flame/Makefile.am
@@ -36,6 +36,7 @@ flame_SOURCES = \
rect.h
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/fractal-explorer/Makefile.am b/plug-ins/fractal-explorer/Makefile.am
index 2905f1f6e5..d961e7bc92 100644
--- a/plug-ins/fractal-explorer/Makefile.am
+++ b/plug-ins/fractal-explorer/Makefile.am
@@ -34,6 +34,7 @@ fractal_explorer_SOURCES = \
fractal-explorer.h
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/gfig/Makefile.am b/plug-ins/gfig/Makefile.am
index 266ebbc323..8942ff9063 100644
--- a/plug-ins/gfig/Makefile.am
+++ b/plug-ins/gfig/Makefile.am
@@ -65,6 +65,7 @@ gfig_SOURCES = \
EXTRA_DIST = README
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/gimpressionist/Makefile.am b/plug-ins/gimpressionist/Makefile.am
index 9262dcb7f9..f84eb5637d 100644
--- a/plug-ins/gimpressionist/Makefile.am
+++ b/plug-ins/gimpressionist/Makefile.am
@@ -22,6 +22,7 @@ gimpressionist_RC = gimpressionist.rc.o
endif
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-DDEFAULTPATH=\""~/$(gimpdir)/gimpressionist:$(gimpdatadir)/gimpressionist"\" \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
diff --git a/plug-ins/goat-exercises/Makefile.am b/plug-ins/goat-exercises/Makefile.am
index 97fea37798..11d3515c35 100644
--- a/plug-ins/goat-exercises/Makefile.am
+++ b/plug-ins/goat-exercises/Makefile.am
@@ -28,6 +28,7 @@ libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSIO
AM_LDFLAGS = $(mwindows)
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/gradient-flare/Makefile.am b/plug-ins/gradient-flare/Makefile.am
index f531be4461..a5e5267eaf 100644
--- a/plug-ins/gradient-flare/Makefile.am
+++ b/plug-ins/gradient-flare/Makefile.am
@@ -30,6 +30,7 @@ libexec_PROGRAMS = gradient-flare
gradient_flare_SOURCES = gradient-flare.c
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/help-browser/Makefile.am b/plug-ins/help-browser/Makefile.am
index e4f7a3b5f5..f5833bd379 100644
--- a/plug-ins/help-browser/Makefile.am
+++ b/plug-ins/help-browser/Makefile.am
@@ -26,6 +26,7 @@ libexecdir = $(gimpplugindir)/plug-ins/help-browser
libexec_PROGRAMS = help-browser
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(WEBKIT_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/help/Makefile.am b/plug-ins/help/Makefile.am
index dbc36108e6..2693ac052f 100644
--- a/plug-ins/help/Makefile.am
+++ b/plug-ins/help/Makefile.am
@@ -17,6 +17,7 @@ help_RC = help.rc.o
endif
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-DDATADIR=\""$(gimpdatadir)"\" \
-I$(top_srcdir) \
$(CAIRO_CFLAGS) \
diff --git a/plug-ins/ifs-compose/Makefile.am b/plug-ins/ifs-compose/Makefile.am
index c11147313d..58a7c9d209 100644
--- a/plug-ins/ifs-compose/Makefile.am
+++ b/plug-ins/ifs-compose/Makefile.am
@@ -34,6 +34,7 @@ ifs_compose_SOURCES = \
EXTRA_DIST = README.ifscompose
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/imagemap/Makefile.am b/plug-ins/imagemap/Makefile.am
index 5388fe6750..b270b210c8 100644
--- a/plug-ins/imagemap/Makefile.am
+++ b/plug-ins/imagemap/Makefile.am
@@ -132,6 +132,7 @@ imagemap_SOURCES = \
imap_taglist.h
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/lighting/Makefile.am b/plug-ins/lighting/Makefile.am
index 88db730c1f..578d6a0bcd 100644
--- a/plug-ins/lighting/Makefile.am
+++ b/plug-ins/lighting/Makefile.am
@@ -44,6 +44,7 @@ lighting_SOURCES = \
lighting-ui.h
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/map-object/Makefile.am b/plug-ins/map-object/Makefile.am
index 18487a3244..f94871311d 100644
--- a/plug-ins/map-object/Makefile.am
+++ b/plug-ins/map-object/Makefile.am
@@ -44,6 +44,7 @@ map_object_SOURCES = \
map-object-ui.h
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/metadata/Makefile.am b/plug-ins/metadata/Makefile.am
index 8133193f7d..c764359e3f 100644
--- a/plug-ins/metadata/Makefile.am
+++ b/plug-ins/metadata/Makefile.am
@@ -42,6 +42,7 @@ metadata_viewer_SOURCES = \
metadata-viewer.c
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/pagecurl/Makefile.am b/plug-ins/pagecurl/Makefile.am
index d41680d1e5..952b530a36 100644
--- a/plug-ins/pagecurl/Makefile.am
+++ b/plug-ins/pagecurl/Makefile.am
@@ -34,6 +34,7 @@ pagecurl_SOURCES = \
pagecurl.c
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/print/Makefile.am b/plug-ins/print/Makefile.am
index fed7f8ef44..cdff74d19b 100644
--- a/plug-ins/print/Makefile.am
+++ b/plug-ins/print/Makefile.am
@@ -20,6 +20,7 @@ endif
AM_LDFLAGS = $(mwindows)
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/pygimp/Makefile.am b/plug-ins/pygimp/Makefile.am
index be2da76c1e..3c04b8165e 100644
--- a/plug-ins/pygimp/Makefile.am
+++ b/plug-ins/pygimp/Makefile.am
@@ -22,6 +22,7 @@ endif
AM_CFLAGS = $(PYGIMP_EXTRA_CFLAGS)
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(PYTHON_INCLUDES) \
$(PYGTK_CFLAGS) \
diff --git a/plug-ins/screenshot/Makefile.am b/plug-ins/screenshot/Makefile.am
index 0d8d829f21..9ca66e391c 100644
--- a/plug-ins/screenshot/Makefile.am
+++ b/plug-ins/screenshot/Makefile.am
@@ -16,6 +16,7 @@ endif
AM_LDFLAGS = $(mwindows)
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/script-fu/Makefile.am b/plug-ins/script-fu/Makefile.am
index 46ad336588..3f96fe0657 100644
--- a/plug-ins/script-fu/Makefile.am
+++ b/plug-ins/script-fu/Makefile.am
@@ -31,6 +31,7 @@ script_fu_RC = script-fu.rc.o
endif
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/selection-to-path/Makefile.am b/plug-ins/selection-to-path/Makefile.am
index e27d85e7c0..a3d3bf1386 100644
--- a/plug-ins/selection-to-path/Makefile.am
+++ b/plug-ins/selection-to-path/Makefile.am
@@ -52,6 +52,7 @@ EXTRA_DIST = \
README.limn
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
diff --git a/plug-ins/twain/Makefile.am b/plug-ins/twain/Makefile.am
index 4e094a530d..e4f72d5df2 100644
--- a/plug-ins/twain/Makefile.am
+++ b/plug-ins/twain/Makefile.am
@@ -44,6 +44,7 @@ EXTRA_DIST = \
tw_win.c
AM_CPPFLAGS = \
+ -DGIMP_DEPRECATED_REPLACE_NEW_API \
-I$(top_srcdir) \
$(GTK_CFLAGS) \
$(GEGL_CFLAGS) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]