From 26dce72d2cb20ee42bb1aa0056c557d8a6c56d13 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Fri, 26 May 2023 23:54:30 +0200 Subject: [PATCH] Remove autotools --- .gitignore | 50 - .gitlab-ci.yml | 88 +- Makefile.am | 167 - acinclude.m4 | 9 - app-tools/.gitignore | 6 - app-tools/Makefile.am | 85 - app/.gitignore | 9 - app/Makefile.am | 297 -- app/actions/.gitignore | 7 - app/actions/Makefile.am | 206 - app/config/.gitignore | 12 - app/config/Makefile.am | 170 - app/core/.gitignore | 12 - app/core/Makefile.am | 584 --- app/dialogs/.gitignore | 8 - app/dialogs/Makefile.am | 138 - app/display/.gitignore | 8 - app/display/Makefile.am | 233 -- app/file-data/.gitignore | 7 - app/file-data/Makefile.am | 28 - app/file/.gitignore | 7 - app/file/Makefile.am | 26 - app/gegl/.gitignore | 8 - app/gegl/Makefile.am | 102 - app/gui/.gitignore | 9 - app/gui/Makefile.am | 84 - app/menus/.gitignore | 7 - app/menus/Makefile.am | 36 - app/operations/.gitignore | 9 - app/operations/Makefile.am | 143 - app/operations/layer-modes-legacy/.gitignore | 5 - app/operations/layer-modes-legacy/Makefile.am | 54 - app/operations/layer-modes/.gitignore | 8 - app/operations/layer-modes/Makefile.am | 79 - app/operations/tests/.gitignore | 6 - app/operations/tests/Makefile.am | 70 - app/paint/.gitignore | 8 - app/paint/Makefile.am | 128 - app/pdb/.gitignore | 8 - app/pdb/Makefile.am | 91 - app/plug-in/.gitignore | 8 - app/plug-in/Makefile.am | 106 - app/propgui/.gitignore | 7 - app/propgui/Makefile.am | 63 - app/tests/.gitignore | 21 - app/tests/Makefile.am | 176 - app/tests/files/Makefile.am | 2 - app/tests/gimpdir-empty/.gitignore | 11 - app/tests/gimpdir-empty/Makefile.am | 7 - app/tests/gimpdir-empty/brushes/.gitignore | 0 app/tests/gimpdir-empty/brushes/Makefile.am | 1 - app/tests/gimpdir-empty/gradients/.gitignore | 0 app/tests/gimpdir-empty/gradients/Makefile.am | 1 - app/tests/gimpdir-empty/patterns/.gitignore | 0 app/tests/gimpdir-empty/patterns/Makefile.am | 1 - app/tests/gimpdir/.gitignore | 9 - app/tests/gimpdir/Makefile.am | 15 - app/tests/gimpdir/brushes/.gitignore | 0 app/tests/gimpdir/brushes/Makefile.am | 1 - app/tests/gimpdir/gradients/.gitignore | 0 app/tests/gimpdir/gradients/Makefile.am | 1 - app/tests/gimpdir/patterns/.gitignore | 0 app/tests/gimpdir/patterns/Makefile.am | 1 - app/text/.gitignore | 8 - app/text/Makefile.am | 83 - app/tools/.gitignore | 8 - app/tools/Makefile.am | 282 -- app/vectors/.gitignore | 7 - app/vectors/Makefile.am | 44 - app/widgets/.gitignore | 10 - app/widgets/Makefile.am | 544 --- app/xcf/.gitignore | 7 - app/xcf/Makefile.am | 31 - autogen.sh | 42 - build/.gitignore | 2 - build/Makefile.am | 2 - build/windows/.gitignore | 4 - build/windows/Makefile.am | 16 - build/windows/installer/.gitignore | 6 - build/windows/installer/Makefile.am | 2 - build/windows/installer/lang/.gitignore | 6 - build/windows/installer/lang/Makefile.am | 87 - build/windows/jhbuild/.gitignore | 2 - configure.ac | 3328 ----------------- cursors/.gitignore | 4 - cursors/Makefile.am | 204 - data/.gitignore | 2 - data/Makefile.am | 24 - data/brushes/.gitignore | 2 - data/brushes/Basic/.gitignore | 2 - data/brushes/Basic/Makefile.am | 17 - data/brushes/Fun/.gitignore | 2 - data/brushes/Fun/Makefile.am | 10 - data/brushes/Legacy/.gitignore | 2 - data/brushes/Legacy/Makefile.am | 10 - data/brushes/Makefile.am | 10 - data/brushes/Media/.gitignore | 2 - data/brushes/Media/Makefile.am | 18 - data/brushes/Sketch/.gitignore | 2 - data/brushes/Sketch/Makefile.am | 17 - data/brushes/Splatters/.gitignore | 2 - data/brushes/Splatters/Makefile.am | 13 - data/brushes/Texture/.gitignore | 2 - data/brushes/Texture/Makefile.am | 20 - data/dynamics/.gitignore | 2 - data/dynamics/Basic/.gitignore | 2 - data/dynamics/Basic/Makefile.am | 15 - data/dynamics/FX/.gitignore | 2 - data/dynamics/FX/Makefile.am | 10 - data/dynamics/Makefile.am | 18 - data/environ/.gitignore | 2 - data/environ/Makefile.am | 9 - data/gradients/.gitignore | 2 - data/gradients/Makefile.am | 88 - data/images/.gitignore | 4 - data/images/Makefile.am | 16 - data/interpreters/.gitignore | 2 - data/interpreters/Makefile.am | 7 - data/palettes/.gitignore | 2 - data/palettes/Makefile.am | 47 - data/patterns/.gitignore | 3 - data/patterns/Animal/.gitignore | 2 - data/patterns/Animal/Makefile.am | 10 - data/patterns/Fabric/.gitignore | 2 - data/patterns/Fabric/Makefile.am | 8 - data/patterns/Food/.gitignore | 2 - data/patterns/Food/Makefile.am | 9 - data/patterns/Legacy/.gitignore | 2 - data/patterns/Legacy/Makefile.am | 22 - data/patterns/Makefile.am | 13 - data/patterns/Paper/.gitignore | 2 - data/patterns/Paper/Makefile.am | 9 - data/patterns/Plant/.gitignore | 2 - data/patterns/Plant/Makefile.am | 8 - data/patterns/Sky/.gitignore | 2 - data/patterns/Sky/Makefile.am | 11 - data/patterns/Stone/.gitignore | 2 - data/patterns/Stone/Makefile.am | 22 - data/patterns/Water/.gitignore | 2 - data/patterns/Water/Makefile.am | 11 - data/patterns/Wood/.gitignore | 2 - data/patterns/Wood/Makefile.am | 20 - data/tags/.gitignore | 3 - data/tags/Makefile.am | 34 - data/tips/.gitignore | 4 - data/tips/Makefile.am | 43 - data/tool-presets/.gitignore | 2 - data/tool-presets/Crop/.gitignore | 2 - data/tool-presets/Crop/Makefile.am | 14 - data/tool-presets/FX/.gitignore | 2 - data/tool-presets/FX/Makefile.am | 15 - data/tool-presets/Makefile.am | 8 - data/tool-presets/Paint/.gitignore | 2 - data/tool-presets/Paint/Makefile.am | 23 - data/tool-presets/Selection/.gitignore | 2 - data/tool-presets/Selection/Makefile.am | 9 - data/tool-presets/Sketch/.gitignore | 2 - data/tool-presets/Sketch/Makefile.am | 13 - desktop/.gitignore | 8 - desktop/Makefile.am | 96 - devel-docs/.gitignore | 2 - devel-docs/Makefile.am | 15 - devel-docs/g-ir-docs/.gitignore | 2 - devel-docs/g-ir-docs/Makefile.am | 35 - devel-docs/reference/.gitignore | 20 - devel-docs/reference/Makefile.am | 7 - devel-docs/reference/gimp-ui/.gitignore | 2 - devel-docs/reference/gimp-ui/Makefile.am | 26 - devel-docs/reference/gimp/.gitignore | 2 - devel-docs/reference/gimp/Makefile.am | 24 - docs/.gitignore | 7 - docs/Makefile.am | 55 - etc/.gitignore | 3 - etc/Makefile.am | 16 - extensions/.gitignore | 2 - extensions/Makefile.am | 2 - extensions/goat-exercises/.gitignore | 9 - extensions/goat-exercises/Makefile.am | 143 - icons/.gitignore | 4 - icons/Color/Makefile.am | 116 - icons/Legacy/Makefile.am | 521 --- icons/Makefile.am | 5 - icons/Symbolic/Makefile.am | 73 - icons/hicolor/Makefile.am | 17 - libgimp/.gitignore | 16 - libgimp/Makefile.am | 475 --- libgimpbase/.gitignore | 17 - libgimpbase/Makefile.am | 241 -- libgimpcolor/.gitignore | 14 - libgimpcolor/Makefile.am | 114 - libgimpconfig/.gitignore | 13 - libgimpconfig/Makefile.am | 135 - libgimpmath/.gitignore | 9 - libgimpmath/Makefile.am | 86 - libgimpmodule/.gitignore | 11 - libgimpmodule/Makefile.am | 84 - libgimpthumb/.gitignore | 14 - libgimpthumb/Makefile.am | 129 - libgimpwidgets/.gitignore | 20 - libgimpwidgets/Makefile.am | 290 -- m4macros/.gitignore | 8 - m4macros/Makefile.am | 20 - m4macros/alsa.m4 | 138 - m4macros/ax_compare_version.m4 | 177 - m4macros/ax_cxx_compile_stdcxx.m4 | 980 ----- m4macros/ax_gcc_func_attribute.m4 | 242 -- m4macros/ax_prog_cc_for_build.m4 | 125 - m4macros/ax_prog_perl_version.m4 | 70 - m4macros/detectcflags.m4 | 20 - m4macros/gimp-3.0.m4 | 180 - m4macros/introspection.m4 | 96 - m4macros/meson.build | 5 - m4macros/python3dev.m4 | 263 -- m4macros/vapigen.m4 | 96 - menus/.gitignore | 4 - menus/Makefile.am | 100 - meson.build | 1 - modules/.gitignore | 8 - modules/Makefile.am | 108 - pdb/.gitignore | 6 - pdb/Makefile.am | 154 - plug-ins/.gitignore | 4 - plug-ins/Makefile.am | 62 - plug-ins/common/.gitignore | 158 - plug-ins/common/Makefile.am | 1644 -------- plug-ins/file-bmp/.gitignore | 7 - plug-ins/file-bmp/Makefile.am | 52 - plug-ins/file-dds/.gitignore | 7 - plug-ins/file-dds/Makefile.am | 68 - plug-ins/file-exr/.gitignore | 7 - plug-ins/file-exr/Makefile.am | 54 - plug-ins/file-faxg3/.gitignore | 7 - plug-ins/file-faxg3/Makefile.am | 49 - plug-ins/file-fits/.gitignore | 7 - plug-ins/file-fits/Makefile.am | 49 - plug-ins/file-fli/.gitignore | 7 - plug-ins/file-fli/Makefile.am | 49 - plug-ins/file-icns/Makefile.am | 57 - plug-ins/file-ico/.gitignore | 6 - plug-ins/file-ico/Makefile.am | 57 - plug-ins/file-jpeg/.gitignore | 9 - plug-ins/file-jpeg/Makefile.am | 80 - plug-ins/file-psd/.gitignore | 6 - plug-ins/file-psd/Makefile.am | 74 - plug-ins/file-raw/.gitignore | 11 - plug-ins/file-raw/Makefile.am | 90 - plug-ins/file-sgi/.gitignore | 7 - plug-ins/file-sgi/Makefile.am | 49 - plug-ins/file-tiff/.gitignore | 7 - plug-ins/file-tiff/Makefile.am | 59 - plug-ins/file-webp/.gitignore | 7 - plug-ins/file-webp/Makefile.am | 64 - plug-ins/flame/.gitignore | 7 - plug-ins/flame/Makefile.am | 59 - plug-ins/fractal-explorer/.gitignore | 7 - plug-ins/fractal-explorer/Makefile.am | 55 - plug-ins/fractal-explorer/examples/.gitignore | 2 - .../fractal-explorer/examples/Makefile.am | 40 - plug-ins/gfig/.gitignore | 7 - plug-ins/gfig/Makefile.am | 89 - plug-ins/gfig/gfig-examples/.gitignore | 2 - plug-ins/gfig/gfig-examples/Makefile.am | 17 - plug-ins/gfig/images/.gitignore | 6 - plug-ins/gfig/images/Makefile.am | 39 - plug-ins/gimpressionist/.gitignore | 7 - plug-ins/gimpressionist/Brushes/.gitignore | 2 - plug-ins/gimpressionist/Brushes/Makefile.am | 66 - plug-ins/gimpressionist/Makefile.am | 87 - plug-ins/gimpressionist/Paper/.gitignore | 2 - plug-ins/gimpressionist/Paper/Makefile.am | 16 - plug-ins/gimpressionist/Presets/.gitignore | 2 - plug-ins/gimpressionist/Presets/Makefile.am | 32 - plug-ins/gradient-flare/.gitignore | 7 - plug-ins/gradient-flare/Makefile.am | 51 - plug-ins/gradient-flare/flares/.gitignore | 5 - plug-ins/gradient-flare/flares/Makefile.am | 14 - plug-ins/help-browser/.gitignore | 8 - plug-ins/help-browser/Makefile.am | 55 - plug-ins/help/.gitignore | 10 - plug-ins/help/Makefile.am | 90 - plug-ins/ifs-compose/.gitignore | 7 - plug-ins/ifs-compose/Makefile.am | 55 - plug-ins/imagemap/.gitignore | 9 - plug-ins/imagemap/Makefile.am | 220 -- plug-ins/imagemap/images/.gitignore | 6 - plug-ins/imagemap/images/Makefile.am | 31 - plug-ins/lighting/.gitignore | 7 - plug-ins/lighting/Makefile.am | 69 - plug-ins/lighting/images/.gitignore | 6 - plug-ins/lighting/images/Makefile.am | 33 - plug-ins/map-object/.gitignore | 7 - plug-ins/map-object/Makefile.am | 69 - plug-ins/metadata/.gitignore | 9 - plug-ins/metadata/Makefile.am | 82 - plug-ins/pagecurl/.gitignore | 10 - plug-ins/pagecurl/Makefile.am | 97 - plug-ins/print/.gitignore | 6 - plug-ins/print/Makefile.am | 62 - plug-ins/python/.gitignore | 2 - plug-ins/python/Makefile.am | 71 - plug-ins/python/python-console/.gitignore | 2 - plug-ins/python/python-console/Makefile.am | 7 - plug-ins/screenshot/.gitignore | 6 - plug-ins/screenshot/Makefile.am | 70 - plug-ins/script-fu/.gitignore | 7 - plug-ins/script-fu/Makefile.am | 100 - plug-ins/script-fu/interpreter/.gitignore | 6 - plug-ins/script-fu/interpreter/Makefile.am | 102 - plug-ins/script-fu/libscriptfu/.gitignore | 5 - plug-ins/script-fu/libscriptfu/Makefile.am | 151 - plug-ins/script-fu/libscriptfu/ftx/.gitignore | 4 - .../script-fu/libscriptfu/ftx/Makefile.am | 17 - .../libscriptfu/tinyscheme/.gitignore | 4 - .../libscriptfu/tinyscheme/Makefile.am | 27 - plug-ins/script-fu/scripts/.gitignore | 2 - plug-ins/script-fu/scripts/Makefile.am | 87 - plug-ins/script-fu/scripts/images/.gitignore | 2 - plug-ins/script-fu/scripts/images/Makefile.am | 12 - plug-ins/script-fu/server/.gitignore | 6 - plug-ins/script-fu/server/Makefile.am | 79 - plug-ins/selection-to-path/.gitignore | 7 - plug-ins/selection-to-path/Makefile.am | 73 - plug-ins/twain/.gitignore | 6 - plug-ins/twain/Makefile.am | 61 - po-libgimp/.gitignore | 9 - po-plug-ins/.gitignore | 9 - po-python/.gitignore | 9 - po-script-fu/.gitignore | 9 - po-tags/.gitignore | 3 - po-tips/.gitignore | 9 - po-windows-installer/.gitignore | 9 - po/.gitignore | 18 - themes/.gitignore | 2 - themes/Compact/Makefile.am | 7 - themes/Darker/Makefile.am | 7 - themes/Default/Makefile.am | 14 - themes/Gray/Makefile.am | 7 - themes/Makefile.am | 3 - themes/System/.gitignore | 6 - themes/System/Makefile.am | 7 - tools/.gitignore | 12 - tools/Makefile.am | 126 - 342 files changed, 6 insertions(+), 20141 deletions(-) delete mode 100644 Makefile.am delete mode 100644 acinclude.m4 delete mode 100644 app-tools/.gitignore delete mode 100644 app-tools/Makefile.am delete mode 100644 app/.gitignore delete mode 100644 app/Makefile.am delete mode 100644 app/actions/.gitignore delete mode 100644 app/actions/Makefile.am delete mode 100644 app/config/.gitignore delete mode 100644 app/config/Makefile.am delete mode 100644 app/core/.gitignore delete mode 100644 app/core/Makefile.am delete mode 100644 app/dialogs/.gitignore delete mode 100644 app/dialogs/Makefile.am delete mode 100644 app/display/.gitignore delete mode 100644 app/display/Makefile.am delete mode 100644 app/file-data/.gitignore delete mode 100644 app/file-data/Makefile.am delete mode 100644 app/file/.gitignore delete mode 100644 app/file/Makefile.am delete mode 100644 app/gegl/.gitignore delete mode 100644 app/gegl/Makefile.am delete mode 100644 app/gui/.gitignore delete mode 100644 app/gui/Makefile.am delete mode 100644 app/menus/.gitignore delete mode 100644 app/menus/Makefile.am delete mode 100644 app/operations/.gitignore delete mode 100644 app/operations/Makefile.am delete mode 100644 app/operations/layer-modes-legacy/.gitignore delete mode 100644 app/operations/layer-modes-legacy/Makefile.am delete mode 100644 app/operations/layer-modes/.gitignore delete mode 100644 app/operations/layer-modes/Makefile.am delete mode 100644 app/operations/tests/.gitignore delete mode 100644 app/operations/tests/Makefile.am delete mode 100644 app/paint/.gitignore delete mode 100644 app/paint/Makefile.am delete mode 100644 app/pdb/.gitignore delete mode 100644 app/pdb/Makefile.am delete mode 100644 app/plug-in/.gitignore delete mode 100644 app/plug-in/Makefile.am delete mode 100644 app/propgui/.gitignore delete mode 100644 app/propgui/Makefile.am delete mode 100644 app/tests/.gitignore delete mode 100644 app/tests/Makefile.am delete mode 100644 app/tests/files/Makefile.am delete mode 100644 app/tests/gimpdir-empty/.gitignore delete mode 100644 app/tests/gimpdir-empty/Makefile.am delete mode 100644 app/tests/gimpdir-empty/brushes/.gitignore delete mode 100644 app/tests/gimpdir-empty/brushes/Makefile.am delete mode 100644 app/tests/gimpdir-empty/gradients/.gitignore delete mode 100644 app/tests/gimpdir-empty/gradients/Makefile.am delete mode 100644 app/tests/gimpdir-empty/patterns/.gitignore delete mode 100644 app/tests/gimpdir-empty/patterns/Makefile.am delete mode 100644 app/tests/gimpdir/.gitignore delete mode 100644 app/tests/gimpdir/Makefile.am delete mode 100644 app/tests/gimpdir/brushes/.gitignore delete mode 100644 app/tests/gimpdir/brushes/Makefile.am delete mode 100644 app/tests/gimpdir/gradients/.gitignore delete mode 100644 app/tests/gimpdir/gradients/Makefile.am delete mode 100644 app/tests/gimpdir/patterns/.gitignore delete mode 100644 app/tests/gimpdir/patterns/Makefile.am delete mode 100644 app/text/.gitignore delete mode 100644 app/text/Makefile.am delete mode 100644 app/tools/.gitignore delete mode 100644 app/tools/Makefile.am delete mode 100644 app/vectors/.gitignore delete mode 100644 app/vectors/Makefile.am delete mode 100644 app/widgets/.gitignore delete mode 100644 app/widgets/Makefile.am delete mode 100644 app/xcf/.gitignore delete mode 100644 app/xcf/Makefile.am delete mode 100755 autogen.sh delete mode 100644 build/.gitignore delete mode 100644 build/Makefile.am delete mode 100644 build/windows/.gitignore delete mode 100644 build/windows/Makefile.am delete mode 100644 build/windows/installer/.gitignore delete mode 100644 build/windows/installer/Makefile.am delete mode 100644 build/windows/installer/lang/.gitignore delete mode 100644 build/windows/installer/lang/Makefile.am delete mode 100644 build/windows/jhbuild/.gitignore delete mode 100644 configure.ac delete mode 100644 cursors/.gitignore delete mode 100644 cursors/Makefile.am delete mode 100644 data/.gitignore delete mode 100644 data/Makefile.am delete mode 100644 data/brushes/.gitignore delete mode 100644 data/brushes/Basic/.gitignore delete mode 100644 data/brushes/Basic/Makefile.am delete mode 100644 data/brushes/Fun/.gitignore delete mode 100644 data/brushes/Fun/Makefile.am delete mode 100644 data/brushes/Legacy/.gitignore delete mode 100644 data/brushes/Legacy/Makefile.am delete mode 100644 data/brushes/Makefile.am delete mode 100644 data/brushes/Media/.gitignore delete mode 100644 data/brushes/Media/Makefile.am delete mode 100644 data/brushes/Sketch/.gitignore delete mode 100644 data/brushes/Sketch/Makefile.am delete mode 100644 data/brushes/Splatters/.gitignore delete mode 100644 data/brushes/Splatters/Makefile.am delete mode 100644 data/brushes/Texture/.gitignore delete mode 100644 data/brushes/Texture/Makefile.am delete mode 100644 data/dynamics/.gitignore delete mode 100644 data/dynamics/Basic/.gitignore delete mode 100644 data/dynamics/Basic/Makefile.am delete mode 100644 data/dynamics/FX/.gitignore delete mode 100644 data/dynamics/FX/Makefile.am delete mode 100644 data/dynamics/Makefile.am delete mode 100644 data/environ/.gitignore delete mode 100644 data/environ/Makefile.am delete mode 100644 data/gradients/.gitignore delete mode 100644 data/gradients/Makefile.am delete mode 100644 data/images/.gitignore delete mode 100644 data/images/Makefile.am delete mode 100644 data/interpreters/.gitignore delete mode 100644 data/interpreters/Makefile.am delete mode 100644 data/palettes/.gitignore delete mode 100644 data/palettes/Makefile.am delete mode 100644 data/patterns/.gitignore delete mode 100644 data/patterns/Animal/.gitignore delete mode 100644 data/patterns/Animal/Makefile.am delete mode 100644 data/patterns/Fabric/.gitignore delete mode 100644 data/patterns/Fabric/Makefile.am delete mode 100644 data/patterns/Food/.gitignore delete mode 100644 data/patterns/Food/Makefile.am delete mode 100644 data/patterns/Legacy/.gitignore delete mode 100644 data/patterns/Legacy/Makefile.am delete mode 100644 data/patterns/Makefile.am delete mode 100644 data/patterns/Paper/.gitignore delete mode 100644 data/patterns/Paper/Makefile.am delete mode 100644 data/patterns/Plant/.gitignore delete mode 100644 data/patterns/Plant/Makefile.am delete mode 100644 data/patterns/Sky/.gitignore delete mode 100644 data/patterns/Sky/Makefile.am delete mode 100644 data/patterns/Stone/.gitignore delete mode 100644 data/patterns/Stone/Makefile.am delete mode 100644 data/patterns/Water/.gitignore delete mode 100644 data/patterns/Water/Makefile.am delete mode 100644 data/patterns/Wood/.gitignore delete mode 100644 data/patterns/Wood/Makefile.am delete mode 100644 data/tags/.gitignore delete mode 100644 data/tags/Makefile.am delete mode 100644 data/tips/.gitignore delete mode 100644 data/tips/Makefile.am delete mode 100644 data/tool-presets/.gitignore delete mode 100644 data/tool-presets/Crop/.gitignore delete mode 100644 data/tool-presets/Crop/Makefile.am delete mode 100644 data/tool-presets/FX/.gitignore delete mode 100644 data/tool-presets/FX/Makefile.am delete mode 100644 data/tool-presets/Makefile.am delete mode 100644 data/tool-presets/Paint/.gitignore delete mode 100644 data/tool-presets/Paint/Makefile.am delete mode 100644 data/tool-presets/Selection/.gitignore delete mode 100644 data/tool-presets/Selection/Makefile.am delete mode 100644 data/tool-presets/Sketch/.gitignore delete mode 100644 data/tool-presets/Sketch/Makefile.am delete mode 100644 desktop/.gitignore delete mode 100644 desktop/Makefile.am delete mode 100644 devel-docs/.gitignore delete mode 100644 devel-docs/Makefile.am delete mode 100644 devel-docs/g-ir-docs/.gitignore delete mode 100644 devel-docs/g-ir-docs/Makefile.am delete mode 100644 devel-docs/reference/.gitignore delete mode 100644 devel-docs/reference/Makefile.am delete mode 100644 devel-docs/reference/gimp-ui/.gitignore delete mode 100644 devel-docs/reference/gimp-ui/Makefile.am delete mode 100644 devel-docs/reference/gimp/.gitignore delete mode 100644 devel-docs/reference/gimp/Makefile.am delete mode 100644 docs/.gitignore delete mode 100644 docs/Makefile.am delete mode 100644 etc/.gitignore delete mode 100644 etc/Makefile.am delete mode 100644 extensions/.gitignore delete mode 100644 extensions/Makefile.am delete mode 100644 extensions/goat-exercises/.gitignore delete mode 100644 extensions/goat-exercises/Makefile.am delete mode 100644 icons/.gitignore delete mode 100644 icons/Color/Makefile.am delete mode 100644 icons/Legacy/Makefile.am delete mode 100644 icons/Makefile.am delete mode 100644 icons/Symbolic/Makefile.am delete mode 100644 icons/hicolor/Makefile.am delete mode 100644 libgimp/.gitignore delete mode 100644 libgimp/Makefile.am delete mode 100644 libgimpbase/.gitignore delete mode 100644 libgimpbase/Makefile.am delete mode 100644 libgimpcolor/.gitignore delete mode 100644 libgimpcolor/Makefile.am delete mode 100644 libgimpconfig/.gitignore delete mode 100644 libgimpconfig/Makefile.am delete mode 100644 libgimpmath/.gitignore delete mode 100644 libgimpmath/Makefile.am delete mode 100644 libgimpmodule/.gitignore delete mode 100644 libgimpmodule/Makefile.am delete mode 100644 libgimpthumb/.gitignore delete mode 100644 libgimpthumb/Makefile.am delete mode 100644 libgimpwidgets/.gitignore delete mode 100644 libgimpwidgets/Makefile.am delete mode 100644 m4macros/.gitignore delete mode 100644 m4macros/Makefile.am delete mode 100644 m4macros/alsa.m4 delete mode 100644 m4macros/ax_compare_version.m4 delete mode 100644 m4macros/ax_cxx_compile_stdcxx.m4 delete mode 100644 m4macros/ax_gcc_func_attribute.m4 delete mode 100644 m4macros/ax_prog_cc_for_build.m4 delete mode 100644 m4macros/ax_prog_perl_version.m4 delete mode 100644 m4macros/detectcflags.m4 delete mode 100644 m4macros/gimp-3.0.m4 delete mode 100644 m4macros/introspection.m4 delete mode 100644 m4macros/meson.build delete mode 100644 m4macros/python3dev.m4 delete mode 100644 m4macros/vapigen.m4 delete mode 100644 menus/.gitignore delete mode 100644 menus/Makefile.am delete mode 100644 modules/.gitignore delete mode 100644 modules/Makefile.am delete mode 100644 pdb/.gitignore delete mode 100644 pdb/Makefile.am delete mode 100644 plug-ins/.gitignore delete mode 100644 plug-ins/Makefile.am delete mode 100644 plug-ins/common/.gitignore delete mode 100644 plug-ins/common/Makefile.am delete mode 100644 plug-ins/file-bmp/.gitignore delete mode 100644 plug-ins/file-bmp/Makefile.am delete mode 100644 plug-ins/file-dds/.gitignore delete mode 100644 plug-ins/file-dds/Makefile.am delete mode 100644 plug-ins/file-exr/.gitignore delete mode 100644 plug-ins/file-exr/Makefile.am delete mode 100644 plug-ins/file-faxg3/.gitignore delete mode 100644 plug-ins/file-faxg3/Makefile.am delete mode 100644 plug-ins/file-fits/.gitignore delete mode 100644 plug-ins/file-fits/Makefile.am delete mode 100644 plug-ins/file-fli/.gitignore delete mode 100644 plug-ins/file-fli/Makefile.am delete mode 100644 plug-ins/file-icns/Makefile.am delete mode 100644 plug-ins/file-ico/.gitignore delete mode 100644 plug-ins/file-ico/Makefile.am delete mode 100644 plug-ins/file-jpeg/.gitignore delete mode 100644 plug-ins/file-jpeg/Makefile.am delete mode 100644 plug-ins/file-psd/.gitignore delete mode 100644 plug-ins/file-psd/Makefile.am delete mode 100644 plug-ins/file-raw/.gitignore delete mode 100644 plug-ins/file-raw/Makefile.am delete mode 100644 plug-ins/file-sgi/.gitignore delete mode 100644 plug-ins/file-sgi/Makefile.am delete mode 100644 plug-ins/file-tiff/.gitignore delete mode 100644 plug-ins/file-tiff/Makefile.am delete mode 100644 plug-ins/file-webp/.gitignore delete mode 100644 plug-ins/file-webp/Makefile.am delete mode 100644 plug-ins/flame/.gitignore delete mode 100644 plug-ins/flame/Makefile.am delete mode 100644 plug-ins/fractal-explorer/.gitignore delete mode 100644 plug-ins/fractal-explorer/Makefile.am delete mode 100644 plug-ins/fractal-explorer/examples/.gitignore delete mode 100644 plug-ins/fractal-explorer/examples/Makefile.am delete mode 100644 plug-ins/gfig/.gitignore delete mode 100644 plug-ins/gfig/Makefile.am delete mode 100644 plug-ins/gfig/gfig-examples/.gitignore delete mode 100644 plug-ins/gfig/gfig-examples/Makefile.am delete mode 100644 plug-ins/gfig/images/.gitignore delete mode 100644 plug-ins/gfig/images/Makefile.am delete mode 100644 plug-ins/gimpressionist/.gitignore delete mode 100644 plug-ins/gimpressionist/Brushes/.gitignore delete mode 100644 plug-ins/gimpressionist/Brushes/Makefile.am delete mode 100644 plug-ins/gimpressionist/Makefile.am delete mode 100644 plug-ins/gimpressionist/Paper/.gitignore delete mode 100644 plug-ins/gimpressionist/Paper/Makefile.am delete mode 100644 plug-ins/gimpressionist/Presets/.gitignore delete mode 100644 plug-ins/gimpressionist/Presets/Makefile.am delete mode 100644 plug-ins/gradient-flare/.gitignore delete mode 100644 plug-ins/gradient-flare/Makefile.am delete mode 100644 plug-ins/gradient-flare/flares/.gitignore delete mode 100644 plug-ins/gradient-flare/flares/Makefile.am delete mode 100644 plug-ins/help-browser/.gitignore delete mode 100644 plug-ins/help-browser/Makefile.am delete mode 100644 plug-ins/help/.gitignore delete mode 100644 plug-ins/help/Makefile.am delete mode 100644 plug-ins/ifs-compose/.gitignore delete mode 100644 plug-ins/ifs-compose/Makefile.am delete mode 100644 plug-ins/imagemap/.gitignore delete mode 100644 plug-ins/imagemap/Makefile.am delete mode 100644 plug-ins/imagemap/images/.gitignore delete mode 100644 plug-ins/imagemap/images/Makefile.am delete mode 100644 plug-ins/lighting/.gitignore delete mode 100644 plug-ins/lighting/Makefile.am delete mode 100644 plug-ins/lighting/images/.gitignore delete mode 100644 plug-ins/lighting/images/Makefile.am delete mode 100644 plug-ins/map-object/.gitignore delete mode 100644 plug-ins/map-object/Makefile.am delete mode 100644 plug-ins/metadata/.gitignore delete mode 100644 plug-ins/metadata/Makefile.am delete mode 100644 plug-ins/pagecurl/.gitignore delete mode 100644 plug-ins/pagecurl/Makefile.am delete mode 100644 plug-ins/print/.gitignore delete mode 100644 plug-ins/print/Makefile.am delete mode 100644 plug-ins/python/.gitignore delete mode 100644 plug-ins/python/Makefile.am delete mode 100644 plug-ins/python/python-console/.gitignore delete mode 100644 plug-ins/python/python-console/Makefile.am delete mode 100644 plug-ins/screenshot/.gitignore delete mode 100644 plug-ins/screenshot/Makefile.am delete mode 100644 plug-ins/script-fu/.gitignore delete mode 100644 plug-ins/script-fu/Makefile.am delete mode 100644 plug-ins/script-fu/interpreter/.gitignore delete mode 100644 plug-ins/script-fu/interpreter/Makefile.am delete mode 100644 plug-ins/script-fu/libscriptfu/.gitignore delete mode 100644 plug-ins/script-fu/libscriptfu/Makefile.am delete mode 100644 plug-ins/script-fu/libscriptfu/ftx/.gitignore delete mode 100644 plug-ins/script-fu/libscriptfu/ftx/Makefile.am delete mode 100644 plug-ins/script-fu/libscriptfu/tinyscheme/.gitignore delete mode 100644 plug-ins/script-fu/libscriptfu/tinyscheme/Makefile.am delete mode 100644 plug-ins/script-fu/scripts/.gitignore delete mode 100644 plug-ins/script-fu/scripts/Makefile.am delete mode 100644 plug-ins/script-fu/scripts/images/.gitignore delete mode 100644 plug-ins/script-fu/scripts/images/Makefile.am delete mode 100644 plug-ins/script-fu/server/.gitignore delete mode 100644 plug-ins/script-fu/server/Makefile.am delete mode 100644 plug-ins/selection-to-path/.gitignore delete mode 100644 plug-ins/selection-to-path/Makefile.am delete mode 100644 plug-ins/twain/.gitignore delete mode 100644 plug-ins/twain/Makefile.am delete mode 100644 po-libgimp/.gitignore delete mode 100644 po-plug-ins/.gitignore delete mode 100644 po-python/.gitignore delete mode 100644 po-script-fu/.gitignore delete mode 100644 po-tags/.gitignore delete mode 100644 po-tips/.gitignore delete mode 100644 po-windows-installer/.gitignore delete mode 100644 po/.gitignore delete mode 100644 themes/.gitignore delete mode 100644 themes/Compact/Makefile.am delete mode 100644 themes/Darker/Makefile.am delete mode 100644 themes/Default/Makefile.am delete mode 100644 themes/Gray/Makefile.am delete mode 100644 themes/Makefile.am delete mode 100644 themes/System/.gitignore delete mode 100644 themes/System/Makefile.am delete mode 100644 tools/.gitignore delete mode 100644 tools/Makefile.am diff --git a/.gitignore b/.gitignore index 7558674ef7..2ca08698fd 100644 --- a/.gitignore +++ b/.gitignore @@ -4,53 +4,3 @@ # Atom editor /.vscode - -# Autotools -*.la -*.lo -*.o -*~ -/*.config -/*.creator -/*.creator.user -/*.files -/*.includes -/ChangeLog -/Gimp-3.0.gir -/Gimp-3.0.typelib -/INSTALL -/Makefile -/Makefile.in -/aclocal.m4 -/authors.md -/autom4te.cache -/compile -/config.cache -/config.guess -/config.h -/config.h.in -/config.log -/config.rpath -/config.status -/config.status.lineno -/config.sub -/configure -/cscope.files -/cscope.out -/depcomp -/gimp-3.0.pc -/gimp-zip -/gimpthumb-3.0.pc -/gimpui-3.0.pc -/git-version.h -/gtk-doc.make -/install-sh -/libtool -/ltmain.sh -/missing -/mkinstalldirs -/py-compile -/stamp-h -/stamp-h.in -/stamp-h1 -/test-driver diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 625c1e4d09..2b8c14a696 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,5 +1,5 @@ # Default commit CI should only run the following pipelines: -# - Linux autotools and meson (base & fast) +# - Linux meson (base & fast) # - Win64 crossbuild (base & fast) # Scheduled CI ($CI_PIPELINE_SOURCE == "schedule") will run regularly: # - Win 32/64 native builds (base but slow) @@ -8,12 +8,10 @@ # - cppcheck (static code analysis) # - Flatpak build (slow and doesn't need constant publishing) # Releases ($CI_COMMIT_TAG != null) should run only: -# - Linux autotools (distcheck source tarball) # - Win 32/64 native builds (Windows installer creation) # # To force step-specific pipelines without waiting for commits and/or # pipelines, these are the variable you should set: -# - GIMP_CI_AUTOTOOLS: trigger the autotools/gcc build. # - GIMP_CI_MESON_GCC: trigger the meson/gcc build. # - GIMP_CI_MESON_CLANG: trigger the meson/clang build. # - GIMP_CI_CROSSROAD_WIN32: trigger the crossroad/meson build for Win 32-bit. @@ -21,10 +19,10 @@ # - GIMP_CI_MSYS2_WIN32: trigger the native MSYS2 build for Win 32-bit. # - GIMP_CI_MSYS2_WIN64: trigger the native MSYS2 build for Win 64-bit. # - GIMP_CI_WIN_INSTALLER: trigger both native MSYS2 builds then creates Windows installer. -# - GIMP_CI_SOURCES: trigger the autotools/gcc build and the source tarball job. +# - GIMP_CI_SOURCES: trigger the meson/gcc build and the source tarball job. # - GIMP_CI_CPPCHECK: trigger cppcheck static analysis. # - GIMP_CI_FLATPAK: trigger the nightly flatpak build and publishing. -# - GIMP_CI_RASTER_ICONS: trigger the autotools and meson builds without vector icons. +# - GIMP_CI_RASTER_ICONS: trigger the meson build without vector icons. include: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml' @@ -54,7 +52,6 @@ build-image: # On releases. - if: '$CI_COMMIT_TAG != null' # Custom builds though web GUI, API or schedules. - - if: '$GIMP_CI_AUTOTOOLS != null' - if: '$GIMP_CI_SOURCES != null' - if: '$GIMP_CI_MESON_GCC != null' - if: '$GIMP_CI_MESON_CLANG != null' @@ -73,7 +70,7 @@ build-image: - echo "FROM debian:testing" > Dockerfile - echo "RUN apt-get update" >> Dockerfile - echo "RUN apt-get install -y --no-install-recommends \\" >> Dockerfile - - echo "appstream at-spi2-core automake autopoint build-essential desktop-file-utils ffmpeg gettext ghostscript gi-docgen git glib-networking gobject-introspection graphviz graphviz-dev hicolor-icon-theme iso-codes libaa1-dev libappstream-glib-dev libbz2-dev libcfitsio-dev libdbus-glib-1-dev libexif-dev libgexiv2-dev libgirepository1.0-dev libgs-dev libgtk-3-bin libgtk-3-dev libgudev-1.0-dev libheif-dev libjson-glib-dev libjxl-dev liblcms2-dev liblzma-dev libmng-dev libmypaint-dev libopenexr-dev libpoppler-glib-dev libraw-dev libraw20 librsvg2-dev libspiro-dev libsuitesparse-dev libtiff-dev libtiff5-dev libtool libumfpack5 libwebp-dev libwmf-dev libxmu-dev libxpm-dev luajit meson mypaint-brushes poppler-data python3 python3-pip valac xauth xsltproc xvfb xz-utils yelp-tools" >> Dockerfile + - echo "appstream at-spi2-core build-essential desktop-file-utils ffmpeg gettext ghostscript gi-docgen git glib-networking gobject-introspection graphviz graphviz-dev hicolor-icon-theme iso-codes libaa1-dev libappstream-glib-dev libbz2-dev libcfitsio-dev libdbus-glib-1-dev libexif-dev libgexiv2-dev libgirepository1.0-dev libgs-dev libgtk-3-bin libgtk-3-dev libgudev-1.0-dev libheif-dev libjson-glib-dev libjxl-dev liblcms2-dev liblzma-dev libmng-dev libmypaint-dev libopenexr-dev libpoppler-glib-dev libraw-dev libraw20 librsvg2-dev libspiro-dev libsuitesparse-dev libtiff-dev libtiff5-dev libtool libumfpack5 libwebp-dev libwmf-dev libxmu-dev libxpm-dev luajit meson mypaint-brushes poppler-data python3 python3-pip valac xauth xsltproc xvfb xz-utils yelp-tools" >> Dockerfile - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:build-debian-latest --cache=true --cache-ttl=120h @@ -104,7 +101,7 @@ build-image-win64: # specifically g++-mingw-w64-x86-64-posix and gcc-mingw-w64-x86-64-posix. # Note that we can't install both the -posix and -win32 versions since # update gcc-mingw-w64 (25). - - echo "automake autopoint build-essential cmake cpio g++-mingw-w64-x86-64-posix gcc-mingw-w64-x86-64-posix gettext git libgdk-pixbuf2.0-dev libgirepository1.0-dev libglib2.0-bin librsvg2-dev meson pkg-config python3 python3-distutils python3-docutils python3-pip rpm python3-zstandard xsltproc xvfb" >> Dockerfile + - echo "build-essential cmake cpio g++-mingw-w64-x86-64-posix gcc-mingw-w64-x86-64-posix gettext git libgdk-pixbuf2.0-dev libgirepository1.0-dev libglib2.0-bin librsvg2-dev meson pkg-config python3 python3-distutils python3-docutils python3-pip rpm python3-zstandard xsltproc xvfb" >> Dockerfile - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:build-win64-latest --cache=true --cache-ttl=120h @@ -127,7 +124,7 @@ build-image-win32: - echo "FROM debian:testing" > Dockerfile - echo "RUN apt-get update" >> Dockerfile - echo "RUN apt-get install -y --no-install-recommends \\" >> Dockerfile - - echo "automake autopoint build-essential cpio g++-mingw-w64-i686 gcc-mingw-w64-i686 gettext git libgdk-pixbuf2.0-dev libglib2.0-bin librsvg2-dev meson pkg-config python3 python3-distutils python3-docutils python3-pip python3-zstandard rpm xsltproc xvfb" >> Dockerfile + - echo "build-essential cpio g++-mingw-w64-i686 gcc-mingw-w64-i686 gettext git libgdk-pixbuf2.0-dev libglib2.0-bin librsvg2-dev meson pkg-config python3 python3-distutils python3-docutils python3-pip python3-zstandard rpm xsltproc xvfb" >> Dockerfile - /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:build-win32-latest --cache=true --cache-ttl=120h @@ -142,7 +139,6 @@ deps-debian: # On releases. - if: '$CI_COMMIT_TAG != null' # Custom builds though web GUI, API or schedules. - - if: '$GIMP_CI_AUTOTOOLS != null' - if: '$GIMP_CI_SOURCES != null' - if: '$GIMP_CI_MESON_GCC != null' - if: '$GIMP_CI_MESON_CLANG != null' @@ -203,30 +199,6 @@ deps-debian: - export PATH="${INSTALL_PREFIX}/bin:$PATH" needs: ["deps-debian"] -gimp-distcheck-debian: - rules: - # On commits and merge requests. - - if: '$CI_PIPELINE_SOURCE == "push"' - - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - # On releases. - - if: '$CI_COMMIT_TAG != null' - # Custom builds though web GUI, API or schedules. - - if: '$GIMP_CI_AUTOTOOLS != null' - - if: '$GIMP_CI_SOURCES != null' - extends: .gimp-debian-base - script: - - mkdir _build - - cd _build - - ../autogen.sh - --prefix="${INSTALL_PREFIX}" - --enable-debug - --enable-gi-docgen - --enable-g-ir-doc - --enable-windows-installer - - make -j "$(nproc)" - - make -j "$(nproc)" check - - make -j "$(nproc)" distcheck - gimp-meson-debian: rules: # On commits and merge requests. @@ -291,26 +263,6 @@ gimp-meson-raster-icons: - ninja -C _build - ninja -C _build test -gimp-autotools-raster-icons: - rules: - # Custom builds only (web GUI, API or schedules). - - if: '$GIMP_CI_RASTER_ICONS != null' - extends: .gimp-debian-base - script: - - tools/generate-icon-makefiles.py - - diff="$(git diff)" - - if [ -n "$diff" ]; then - echo "Outdated icon-list.mk - please run tools/generate-icon-makefiles.py"; - echo "$diff"; - exit 1; - fi - - mkdir _build - - cd _build - - ../autogen.sh - --prefix="${INSTALL_PREFIX}" - --disable-vector-icons - - make -j "$(nproc)" - ## WINDOWS 64-bit CI (native MSYS2) ## deps-win64-native: @@ -772,34 +724,6 @@ win-installer-nightly: - C:\msys64\usr\bin\bash -lc "bash -x ./build/windows/gitlab-ci/installer-gimp-msys2.sh > installer.log 2>&1" needs: ["packaging-win32-native", "packaging-win64-native"] -sources-autotools: - rules: - # On commits. - - if: '$CI_PIPELINE_SOURCE == "push"' - # On releases. - - if: '$CI_COMMIT_TAG != null' - # Custom builds though web GUI, API or schedules. - - if: '$GIMP_CI_SOURCES != null' - stage: distribution - dependencies: - - gimp-distcheck-debian - artifacts: - name: "GIMP-sources-${CI_COMMIT_SHORT_SHA}" - when: always - expire_in: 2 days - paths: - - gimp-*.tar.bz2 - - gimp-*.tar.bz2.SHA256SUMS - - gimp-*.tar.bz2.SHA512SUMS - script: - - mv _build/gimp-*.tar.bz2 . - - BASENAME=`ls gimp-*.tar.bz2 | sed 's/.tar.bz2//'` && - FILENAME="$BASENAME-autotools.tar.bz2" && - mv $BASENAME.tar.bz2 $FILENAME && - sha256sum gimp-*.tar.bz2 > ${FILENAME}.SHA256SUMS && - sha512sum gimp-*.tar.bz2 > ${FILENAME}.SHA512SUMS - needs: ["gimp-distcheck-debian"] - sources-meson: rules: # On commits. diff --git a/Makefile.am b/Makefile.am deleted file mode 100644 index edba8007fc..0000000000 --- a/Makefile.am +++ /dev/null @@ -1,167 +0,0 @@ -## Process this file with automake to produce Makefile.in - -ACLOCAL_AMFLAGS = -I m4macros ${ACLOCAL_FLAGS} - -if WITH_PDBGEN -PDB = pdb -endif - -SUBDIRS = \ - m4macros \ - cursors \ - themes \ - po \ - po-libgimp \ - po-plug-ins \ - po-python \ - po-script-fu \ - po-tips \ - po-windows-installer \ - data \ - desktop \ - menus \ - libgimpbase \ - tools \ - $(PDB) \ - icons \ - libgimpcolor \ - libgimpmath \ - libgimpconfig \ - libgimpmodule \ - libgimpthumb \ - libgimpwidgets \ - libgimp \ - app \ - app-tools \ - $(GIMP_MODULES) \ - $(GIMP_PLUGINS) \ - $(GIMP_EXTENSIONS) \ - etc \ - devel-docs \ - docs \ - build - -pkgconfigdir = $(libdir)/pkgconfig -pkgconfig_DATA = \ - gimp-@GIMP_PKGCONFIG_VERSION@.pc \ - gimpthumb-@GIMP_PKGCONFIG_VERSION@.pc \ - gimpui-@GIMP_PKGCONFIG_VERSION@.pc - - -AUTHORS: authors.xml authors.xsl -if HAVE_XSLTPROC - $(XSLTPROC) -o $(@) $(top_srcdir)/authors.xsl $< || rm -f $(@) -endif - -authors.md: authors.xml authors4gimp-web.xsl -if HAVE_XSLTPROC - $(XSLTPROC) --stringparam today "`date --iso-8601=seconds`" -o $(@) $(top_srcdir)/authors4gimp-web.xsl $< || rm -f $(@) -endif - -EXTRA_DIST = \ - AUTHORS \ - COPYING \ - ChangeLog \ - ChangeLog.pre-1-0 \ - ChangeLog.pre-1-2 \ - ChangeLog.pre-2-0 \ - ChangeLog.pre-2-2 \ - ChangeLog.pre-2-4 \ - ChangeLog.pre-2-6 \ - ChangeLog.pre-git \ - INSTALL \ - LICENSE \ - NEWS \ - NEWS.pre-2-0 \ - NEWS.pre-2-2 \ - NEWS.pre-2-4 \ - NEWS.pre-2-6 \ - NEWS.pre-2-8 \ - NEWS.pre-2-10 \ - README \ - README.i18n \ - authors.dtd \ - authors.xml \ - authors.xsl \ - git-version.h - - -AM_DISTCHECK_CONFIGURE_FLAGS = --enable-gi-docgen --with-python=force --with-javascript=force --with-lua=force - - -check-defs: - @$(PYTHON) $(top_srcdir)/tools/defcheck.py $(top_srcdir) || \ - ( echo "*** .def files inconsistent ***"; exit 1; ) - -validate-authors: -if HAVE_XMLLINT - @cd $(srcdir); \ - $(XMLLINT) --noout --valid authors.xml || \ - ( echo "*** authors.xml INVALID ***"; exit 1; ) -endif - -all-local: AUTHORS - -dist-hook: check-defs validate-authors - - - -CHANGELOG_START = 74424325abb54620b370f2595445b2b2a19fe5e7 - -ChangeLog: $(srcdir)/ChangeLog $(srcdir)/ChangeLog.pre-git -$(srcdir)/ChangeLog: - @echo Creating $@ based on git log - @if test -d "$(srcdir)/.git"; then \ - (GIT_DIR=$(top_srcdir)/.git ./missing --run \ - git log $(CHANGELOG_START)^.. --stat) | fmt --split-only > $@.tmp \ - && mv -f $@.tmp $@ && echo Appending ChangeLog.pre-git && cat ChangeLog.pre-git >> $@ \ - || ($(RM) $@.tmp; \ - echo Failed to generate ChangeLog, your ChangeLog may be outdated >&2; \ - (test -f $@ || echo git-log is required to generate this file >> $@)); \ - else \ - test -f $@ || \ - (echo A git checkout and git-log is required to generate ChangeLog >&2 && \ - echo A git checkout and git-log is required to generate this file >> $@); \ - fi -.PHONY: $(srcdir)/ChangeLog - -generated_sources = \ - git-version.h - -# Build git-version.h before anything in the subdirs as this is needed -# in the about and debug dialog (app/) and in the debug tool (tools/). -BUILT_SOURCES = $(generated_sources) - -CLEANFILES = $(generated_sources) - -# If git is available, always check if git-version.h should be -# updated. If git is not available, don't do anything if git-version.h -# already exists because then we are probably working with a tarball -# in which case the git-version.h we ship is correct. -git-version.h: update-git-version-header - @if test -e "$(top_srcdir)/.git"; then \ - git_version="`git --git-dir=$(top_srcdir)/.git describe --always`"; \ - git_version_abbrev="`git --git-dir=$(top_srcdir)/.git rev-parse --short HEAD`"; \ - git_last_commit_year="`git --git-dir=$(top_srcdir)/.git log -n1 --reverse --pretty=%ci | cut -b 1-4`"; \ - elif test ! -f "$@"; then \ - git_version="Unknown, shouldn't happen"; \ - git_version_abbrev="$$git_version"; \ - git_last_commit_timestamp=-1; \ - git_last_commit_year="`date -u '+%Y'`"; \ - fi; \ - if test -n "$$git_version"; then \ - echo "#ifndef __GIT_VERSION_H__" > "$@.tmp"; \ - echo "#define __GIT_VERSION_H__" >> "$@.tmp"; \ - echo "#define GIMP_GIT_VERSION \"$$git_version\"" >> "$@.tmp"; \ - echo "#define GIMP_GIT_VERSION_ABBREV \"$$git_version_abbrev\"" >> "$@.tmp"; \ - echo "#define GIMP_GIT_LAST_COMMIT_YEAR \"$$git_last_commit_year\"" >> "$@.tmp"; \ - echo "#endif /* __GIT_VERSION_H__ */" >> "$@.tmp"; \ - fi - @if ( test -f "$@.tmp" && test -f "$@" && cmp "$@.tmp" "$@" > /dev/null ); then \ - rm -f "$@.tmp"; \ - elif test -f "$@.tmp"; then \ - mv "$@.tmp" "$@"; \ - echo " git HEAD changed: $@ regenerated"; \ - fi - -.PHONY: update-git-version-header diff --git a/acinclude.m4 b/acinclude.m4 deleted file mode 100644 index 009690d31c..0000000000 --- a/acinclude.m4 +++ /dev/null @@ -1,9 +0,0 @@ -m4_include([m4macros/alsa.m4]) -m4_include([m4macros/ax_compare_version.m4]) -m4_include([m4macros/ax_cxx_compile_stdcxx.m4]) -m4_include([m4macros/ax_gcc_func_attribute.m4]) -m4_include([m4macros/ax_prog_cc_for_build.m4]) -m4_include([m4macros/ax_prog_perl_version.m4]) -m4_include([m4macros/detectcflags.m4]) -m4_include([m4macros/python3dev.m4]) -m4_include([m4macros/vapigen.m4]) diff --git a/app-tools/.gitignore b/app-tools/.gitignore deleted file mode 100644 index b7f823297f..0000000000 --- a/app-tools/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/gimp-debug-tool-2.99 -/gimp-debug-tool-2.99.exe diff --git a/app-tools/Makefile.am b/app-tools/Makefile.am deleted file mode 100644 index a7cd4ce6ad..0000000000 --- a/app-tools/Makefile.am +++ /dev/null @@ -1,85 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AUTOMAKE_OPTIONS = subdir-objects - -libapp = $(top_builddir)/app/libapp.a -libappwidgets = $(top_builddir)/app/widgets/libappwidgets.a -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la - -if PLATFORM_OSX -xobjective_c = "-xobjective-c" -xobjective_cxx = "-xobjective-c++" -xnone = "-xnone" -framework_appkit = -framework AppKit -endif - -if OS_WIN32 -bin_PROGRAMS = gimp-debug-tool-@GIMP_TOOL_VERSION@ -else - -if PLATFORM_OSX -bin_PROGRAMS = gimp-debug-tool-@GIMP_TOOL_VERSION@ -else -libexec_PROGRAMS = gimp-debug-tool-@GIMP_TOOL_VERSION@ -endif - -endif - - -gimp_debug_tool_@GIMP_TOOL_VERSION@_SOURCES = \ - gimp-debug-tool.c - -gimp_debug_tool_@GIMP_TOOL_VERSION@_CPPFLAGS = \ - -DCC_VERSION=\""$(CC_VERSION)"\" \ - -I$(top_srcdir)/app \ - -I$(top_builddir)/app \ - $(AM_CPPFLAGS) \ - $(GIO_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GTK_CFLAGS) \ - $(FONTCONFIG_CFLAGS) - -gimp_debug_tool_@GIMP_TOOL_VERSION@_LDADD = \ - $(libappwidgets) \ - $(libapp) \ - $(libgimpbase) \ - $(GIO_LIBS) \ - $(GEGL_LIBS) \ - $(GTK_LIBS) \ - $(FONTCONFIG_LIBS) - - -AM_CPPFLAGS = \ - -DGIMP_APP_VERSION=\"@GIMP_APP_VERSION@\" \ - -DLOCALEDIR=\""$(gimplocaledir)"\" \ - -DPREFIX=\""$(prefix)"\" \ - -DEXEC_PREFIX=\""$(exec_prefix)"\" \ - -DBINDIR=\""$(bindir)"\" \ - -DSBINDIR=\""$(sbindir)"\" \ - -DLIBEXECDIR=\""$(libexecdir)"\" \ - -DDATADIR=\""$(datadir)"\" \ - -DDATAROOTDIR=\""$(datarootdir)"\" \ - -DSYSCONFDIR=\""$(sysconfdir)"\" \ - -DSHAREDSTATEDIR=\""$(sharedstatedir)"\" \ - -DLOCALSTATEDIR=\""$(localstatedir)"\" \ - -DLIBDIR=\""$(libdir)"\" \ - -DINFODIR=\""$(infodir)"\" \ - -DMANDIR=\""$(mandir)"\" \ - -DGIMPPLUGINDIR=\""$(gimpplugindir)"\" \ - -DGIMPDATADIR=\""$(gimpdatadir)"\" \ - -DCC=\""$(CC)"\" \ - -DGIMPDIR=\""$(gimpdir)"\" \ - -DGIMP_PLUGIN_VERSION=\""$(GIMP_PLUGIN_VERSION)"\" \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - -I$(includedir) - -AM_CFLAGS = \ - $(xobjective_c) - -AM_CXXFLAGS = \ - $(xobjective_cxx) - -AM_LDFLAGS = \ - $(framework_appkit) \ - $(xnone) diff --git a/app/.gitignore b/app/.gitignore deleted file mode 100644 index f104e1f700..0000000000 --- a/app/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/.deps -/.libs -/Makefile -/Makefile.in -/gimp-2.* -/gimp-console-2.* -/gimp.rc -/libapp.a -/makefile.mingw diff --git a/app/Makefile.am b/app/Makefile.am deleted file mode 100644 index 1c90461905..0000000000 --- a/app/Makefile.am +++ /dev/null @@ -1,297 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if PLATFORM_OSX -xobjective_c = "-xobjective-c" -xobjective_cxx = "-xobjective-c++" -xnone = "-xnone" -endif - -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la -libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimpthumb = $(top_builddir)/libgimpthumb/libgimpthumb-$(GIMP_API_VERSION).la - -# Sort this by architectural dependencies, lowest level at the top, -# so that when e.g. changing a header-file the subdirs are built in -# the right order -SUBDIRS = \ - config \ - core \ - operations \ - gegl \ - text \ - vectors \ - paint \ - plug-in \ - xcf \ - file \ - file-data \ - pdb \ - widgets \ - propgui \ - display \ - tools \ - dialogs \ - actions \ - menus \ - gui \ - . \ - tests - -# Put the GIMP core in a lib so we can conveniently link against that -# in test cases -noinst_LIBRARIES = libapp.a - -if ENABLE_GIMP_CONSOLE -bin_PROGRAMS = gimp-@GIMP_APP_VERSION@ gimp-console-@GIMP_APP_VERSION@ -else -bin_PROGRAMS = gimp-@GIMP_APP_VERSION@ -endif - -libapp_sources = \ - about.h \ - app.c \ - app.h \ - errors.c \ - errors.h \ - gimpcoreapp.c \ - gimpcoreapp.h \ - gimpconsoleapp.c \ - gimpconsoleapp.h \ - language.c \ - language.h \ - sanity.c \ - sanity.h \ - signals.c \ - signals.h \ - unique.c \ - unique.h \ - gimp-debug.c \ - gimp-debug.h \ - gimp-intl.h \ - gimp-log.c \ - gimp-log.h \ - gimp-priorities.h \ - gimp-update.c \ - gimp-update.h \ - gimp-version.c \ - gimp-version.h - -libapp_a_SOURCES = $(libapp_sources) - -gimp_@GIMP_APP_VERSION@_SOURCES = $(libapp_sources) main.c - - -if PLATFORM_LINUX -libdl = -ldl -endif - -if PLATFORM_OSX -framework_cocoa = -framework Cocoa -endif - -if OS_WIN32 -win32_ldflags = -mwindows -Wl,--tsaware $(WIN32_LARGE_ADDRESS_AWARE) - -# for GimpDashboard and GimpBacktrace -psapi_cflags = -DPSAPI_VERSION=1 -libpsapi = -lpsapi - -# for GimpBacktrace -libdbghelp = -ldbghelp - -# for I_RpcExceptionFilter() -librpcrt4 = -lrpcrt4 - -if HAVE_EXCHNDL -exchndl = -lexchndl -endif - -else -libm = -lm -endif - -if ENABLE_RELOCATABLE_RESOURCES -munix = -Wl,-rpath '-Wl,$$ORIGIN/../lib' -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc.rule -GIMPRC = gimp-$(GIMP_APP_VERSION).rc.o -GIMPCONSOLERC = gimp-console-$(GIMP_APP_VERSION).rc.o -endif - -AM_CPPFLAGS = \ - -DGIMPDIR=\""$(gimpdir)"\" \ - -DLIBEXECDIR=\""$(libexecdir)"\" \ - -DGIMP_USER_VERSION=\"$(GIMP_USER_VERSION)\" \ - -DGIMP_TOOL_VERSION=\"$(GIMP_TOOL_VERSION)\" \ - -DG_LOG_DOMAIN=\"Gimp\" \ - -DGIMP_APP_GLUE_COMPILATION \ - -DCC_VERSION=\""$(CC_VERSION)"\" \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(PANGOCAIRO_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(LCMS_CFLAGS) \ - $(GEXIV2_CFLAGS) \ - $(psapi_cflags) \ - $(xobjective_c) \ - -I$(includedir) \ - -I$(builddir)/gui - -# We need this due to circular dependencies -AM_LDFLAGS = \ - $(munix) \ - -Wl,-u,$(SYMPREFIX)gimp_vectors_undo_get_type \ - -Wl,-u,$(SYMPREFIX)gimp_vectors_mod_undo_get_type \ - -Wl,-u,$(SYMPREFIX)gimp_config_param_spec_duplicate \ - -Wl,-u,$(SYMPREFIX)gimp_operations_init \ - -Wl,-u,$(SYMPREFIX)xcf_init \ - -Wl,-u,$(SYMPREFIX)internal_procs_init \ - -Wl,-u,$(SYMPREFIX)gimp_pdb_compat_procs_register \ - -Wl,-u,$(SYMPREFIX)gimp_plug_in_manager_restore \ - -Wl,-u,$(SYMPREFIX)gimp_layer_mode_is_legacy \ - -Wl,-u,$(SYMPREFIX)gimp_parallel_init \ - -Wl,-u,$(SYMPREFIX)gimp_async_set_new \ - -Wl,-u,$(SYMPREFIX)gimp_uncancelable_waitable_new - -gimpconsoleldadd = \ - xcf/libappxcf.a \ - pdb/libappinternal-procs.a \ - pdb/libapppdb.a \ - plug-in/libappplug-in.a \ - vectors/libappvectors.a \ - core/libappcore.a \ - file/libappfile.a \ - file-data/libappfile-data.a \ - text/libapptext.a \ - paint/libapppaint.a \ - operations/libappoperations.a \ - operations/layer-modes/libapplayermodes.a \ - operations/layer-modes-legacy/libapplayermodeslegacy.a \ - gegl/libappgegl.a \ - config/libappconfig.a \ - $(libgimpconfig) \ - $(libgimpmath) \ - $(libgimpthumb) \ - $(libgimpcolor) \ - $(libgimpmodule) \ - $(libgimpbase) \ - $(APPSTREAM_GLIB_LIBS) \ - $(GDK_PIXBUF_LIBS) \ - $(FREETYPE_LIBS) \ - $(FONTCONFIG_LIBS) \ - $(PANGOCAIRO_LIBS) \ - $(HARFBUZZ_LIBS) \ - $(CAIRO_LIBS) \ - $(GIO_UNIX_LIBS) \ - $(GIO_WINDOWS_LIBS) \ - $(GEGL_LIBS) \ - $(GLIB_LIBS) \ - $(LCMS_LIBS) \ - $(GEXIV2_LIBS) \ - $(Z_LIBS) \ - $(JSON_C_LIBS) \ - $(LIBARCHIVE_LIBS) \ - $(LIBMYPAINT_LIBS) \ - $(LIBBACKTRACE_LIBS) \ - $(LIBUNWIND_LIBS) \ - $(INTLLIBS) \ - $(RT_LIBS) \ - $(libm) \ - $(libdl) \ - $(libpsapi) \ - $(libdbghelp) \ - $(librpcrt4) - -gimp_@GIMP_APP_VERSION@_LDFLAGS = \ - $(AM_LDFLAGS) \ - $(win32_ldflags) \ - $(framework_cocoa) \ - -Wl,-u,$(SYMPREFIX)gimp_lebl_dialog \ - -Wl,-u,$(SYMPREFIX)gimp_core_pixbufs_get_resource \ - -Wl,-u,$(SYMPREFIX)gimp_tool_cursors_get_resource - - -gimp_@GIMP_APP_VERSION@_LDADD = \ - gui/libappgui.a \ - menus/libappmenus.a \ - actions/libappactions.a \ - dialogs/libappdialogs.a \ - tools/libapptools.a \ - display/libappdisplay.a \ - propgui/libapppropgui.a \ - widgets/libappwidgets.a \ - $(libgimpwidgets) \ - $(GTK_LIBS) \ - $(GTK_MAC_INTEGRATION_LIBS) \ - $(gimpconsoleldadd) \ - $(exchndl) \ - $(GIMPRC) - - -if ENABLE_GIMP_CONSOLE - -gimp_console_@GIMP_APP_VERSION@_SOURCES = $(libapp_sources) main.c - -gimp_console_@GIMP_APP_VERSION@_CPPFLAGS = \ - $(AM_CPPFLAGS) \ - -DGIMP_CONSOLE_COMPILATION - -gimp_console_@GIMP_APP_VERSION@_LDADD = \ - $(gimpconsoleldadd) \ - $(GIMPCONSOLERC) - -endif - - -install-exec-hook: -if DEFAULT_BINARY - cd $(DESTDIR)$(bindir) \ - && rm -f gimp$(EXEEXT) \ - && $(LN_S) gimp-$(GIMP_APP_VERSION)$(EXEEXT) gimp$(EXEEXT) -if ENABLE_GIMP_CONSOLE - cd $(DESTDIR)$(bindir) \ - && rm -f gimp-console$(EXEEXT) \ - && $(LN_S) gimp-console-$(GIMP_APP_VERSION)$(EXEEXT) gimp-console$(EXEEXT) -endif -endif - -uninstall-local: -if DEFAULT_BINARY - rm -f $(DESTDIR)$(bindir)/gimp$(EXEEXT) -if ENABLE_GIMP_CONSOLE - rm -f $(DESTDIR)$(bindir)/gimp-console$(EXEEXT) -endif -endif - - -# require gimp-console when making dist -# -if ENABLE_GIMP_CONSOLE -dist-check-gimp-console: -else -dist-check-gimp-console: - @echo "*** gimp-console must be enabled in order to make dist" - @false -endif - - -# hook to assure that the system gimprc and the gimprc manpage are -# uptodate when a release is made -# -dist-dump-gimprc: gimp-console-$(GIMP_APP_VERSION)$(EXEEXT) - ./$< --dump-gimprc-system > gimprc.tmp \ - && (cmp -s gimprc.tmp $(top_srcdir)/etc/gimprc.in || \ - cp gimprc.tmp $(top_srcdir)/etc/gimprc.in) \ - && rm gimprc.tmp - ./$< --dump-gimprc-manpage > gimprc.tmp \ - && (cmp -s gimprc.tmp $(top_srcdir)/docs/gimprc.5.in ||\ - cp gimprc.tmp $(top_srcdir)/docs/gimprc.5.in) \ - && rm gimprc.tmp - -dist-hook: dist-check-gimp-console dist-dump-gimprc diff --git a/app/actions/.gitignore b/app/actions/.gitignore deleted file mode 100644 index a5d3a9c4da..0000000000 --- a/app/actions/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/*.lo -/libappactions.a -/libappactions.la diff --git a/app/actions/Makefile.am b/app/actions/Makefile.am deleted file mode 100644 index 648ef9b07b..0000000000 --- a/app/actions/Makefile.am +++ /dev/null @@ -1,206 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-Actions\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(GEGL_CFLAGS) \ - $(GTK_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = libappactions.a - -libappactions_a_SOURCES = \ - actions-types.h \ - actions.c \ - actions.h \ - \ - gimpgeglprocedure.c \ - gimpgeglprocedure.h \ - \ - brush-editor-actions.c \ - brush-editor-actions.h \ - brushes-actions.c \ - brushes-actions.h \ - buffers-actions.c \ - buffers-actions.h \ - buffers-commands.c \ - buffers-commands.h \ - channels-actions.c \ - channels-actions.h \ - channels-commands.c \ - channels-commands.h \ - colormap-actions.c \ - colormap-actions.h \ - colormap-commands.c \ - colormap-commands.h \ - context-actions.c \ - context-actions.h \ - context-commands.c \ - context-commands.h \ - cursor-info-actions.c \ - cursor-info-actions.h \ - cursor-info-commands.c \ - cursor-info-commands.h \ - dashboard-actions.c \ - dashboard-actions.h \ - dashboard-commands.c \ - dashboard-commands.h \ - data-commands.c \ - data-commands.h \ - data-editor-commands.c \ - data-editor-commands.h \ - debug-actions.c \ - debug-actions.h \ - debug-commands.c \ - debug-commands.h \ - dialogs-actions.c \ - dialogs-actions.h \ - dialogs-commands.c \ - dialogs-commands.h \ - dock-actions.c \ - dock-actions.h \ - dock-commands.c \ - dock-commands.h \ - dockable-actions.c \ - dockable-actions.h \ - dockable-commands.c \ - dockable-commands.h \ - documents-actions.c \ - documents-actions.h \ - documents-commands.c \ - documents-commands.h \ - drawable-actions.c \ - drawable-actions.h \ - drawable-commands.c \ - drawable-commands.h \ - dynamics-actions.c \ - dynamics-actions.h \ - dynamics-editor-actions.c \ - dynamics-editor-actions.h \ - edit-actions.c \ - edit-actions.h \ - edit-commands.c \ - edit-commands.h \ - error-console-actions.c \ - error-console-actions.h \ - error-console-commands.c \ - error-console-commands.h \ - file-actions.c \ - file-actions.h \ - file-commands.c \ - file-commands.h \ - filters-actions.c \ - filters-actions.h \ - filters-commands.c \ - filters-commands.h \ - fonts-actions.c \ - fonts-actions.h \ - gradient-editor-actions.c \ - gradient-editor-actions.h \ - gradient-editor-commands.c \ - gradient-editor-commands.h \ - gradients-actions.c \ - gradients-actions.h \ - gradients-commands.c \ - gradients-commands.h \ - help-actions.c \ - help-actions.h \ - help-commands.c \ - help-commands.h \ - image-actions.c \ - image-actions.h \ - image-commands.c \ - image-commands.h \ - images-actions.c \ - images-actions.h \ - images-commands.c \ - images-commands.h \ - items-commands.c \ - items-commands.h \ - items-actions.c \ - items-actions.h \ - layers-actions.c \ - layers-actions.h \ - layers-commands.c \ - layers-commands.h \ - mypaint-brushes-actions.c \ - mypaint-brushes-actions.h \ - palette-editor-actions.c \ - palette-editor-actions.h \ - palette-editor-commands.c \ - palette-editor-commands.h \ - palettes-actions.c \ - palettes-actions.h \ - palettes-commands.c \ - palettes-commands.h \ - patterns-actions.c \ - patterns-actions.h \ - plug-in-actions.c \ - plug-in-actions.h \ - plug-in-commands.c \ - plug-in-commands.h \ - procedure-commands.c \ - procedure-commands.h \ - quick-mask-actions.c \ - quick-mask-actions.h \ - quick-mask-commands.c \ - quick-mask-commands.h \ - sample-points-actions.c \ - sample-points-actions.h \ - sample-points-commands.c \ - sample-points-commands.h \ - select-actions.c \ - select-actions.h \ - select-commands.c \ - select-commands.h \ - templates-actions.c \ - templates-actions.h \ - templates-commands.c \ - templates-commands.h \ - text-editor-actions.c \ - text-editor-actions.h \ - text-editor-commands.c \ - text-editor-commands.h \ - text-tool-actions.c \ - text-tool-actions.h \ - text-tool-commands.c \ - text-tool-commands.h \ - tool-options-actions.c \ - tool-options-actions.h \ - tool-options-commands.c \ - tool-options-commands.h \ - tool-presets-actions.c \ - tool-presets-actions.h \ - tool-presets-commands.c \ - tool-presets-commands.h \ - tool-preset-editor-actions.c \ - tool-preset-editor-actions.h \ - tool-preset-editor-commands.c \ - tool-preset-editor-commands.h \ - tools-actions.c \ - tools-actions.h \ - tools-commands.c \ - tools-commands.h \ - vector-toolpath-actions.c \ - vector-toolpath-actions.h \ - vector-toolpath-commands.c \ - vector-toolpath-commands.h \ - vectors-actions.c \ - vectors-actions.h \ - vectors-commands.c \ - vectors-commands.h \ - view-actions.c \ - view-actions.h \ - view-commands.c \ - view-commands.h \ - window-actions.c \ - window-actions.h \ - window-commands.c \ - window-commands.h \ - windows-actions.c \ - windows-actions.h \ - windows-commands.c \ - windows-commands.h diff --git a/app/config/.gitignore b/app/config/.gitignore deleted file mode 100644 index c2d4607cbc..0000000000 --- a/app/config/.gitignore +++ /dev/null @@ -1,12 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/*.lo -/foorc -/libappconfig.a -/libappconfig.la -/test-config -/*.trs -/*.log -/xgen-cec diff --git a/app/config/Makefile.am b/app/config/Makefile.am deleted file mode 100644 index 8c5b138aeb..0000000000 --- a/app/config/Makefile.am +++ /dev/null @@ -1,170 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la -libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la -libgimpthumb = $(top_builddir)/libgimpthumb/libgimpthumb-$(GIMP_API_VERSION).la - -if OS_WIN32 -else -libm = -lm -endif - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-Config\" \ - -DGIMP_APP_VERSION_STRING=\"$(GIMP_APP_VERSION)\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(GIO_UNIX_CFLAGS) \ - $(GIO_WINDOWS_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(CAIRO_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - $(MYPAINT_BRUSHES_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = libappconfig.a - -libappconfig_a_sources = \ - config-enums.h \ - config-types.h \ - gimpconfig-dump.c \ - gimpconfig-dump.h \ - gimpconfig-file.c \ - gimpconfig-file.h \ - gimpconfig-utils.c \ - gimpconfig-utils.h \ - gimpcoreconfig.c \ - gimpcoreconfig.h \ - gimpdialogconfig.c \ - gimpdialogconfig.h \ - gimpdisplayconfig.c \ - gimpdisplayconfig.h \ - gimpdisplayoptions.c \ - gimpdisplayoptions.h \ - gimpearlyrc.c \ - gimpearlyrc.h \ - gimpgeglconfig.c \ - gimpgeglconfig.h \ - gimpguiconfig.c \ - gimpguiconfig.h \ - gimppluginconfig.c \ - gimppluginconfig.h \ - gimprc.c \ - gimprc.h \ - gimprc-blurbs.h \ - gimprc-deserialize.c \ - gimprc-deserialize.h \ - gimprc-serialize.c \ - gimprc-serialize.h \ - gimprc-unknown.c \ - gimprc-unknown.h \ - gimpxmlparser.c \ - gimpxmlparser.h - -libappconfig_a_built_sources = \ - config-enums.c - -libappconfig_a_SOURCES = \ - $(libappconfig_a_built_sources) \ - $(libappconfig_a_sources) - -EXTRA_PROGRAMS = test-config - -# -# unit tests for the GimpConfig system -# - -TESTS = test-config - -test_config_DEPENDENCIES = $(gimpconfig_libs) - -# We need this due to circular dependencies -test_config_LDFLAGS = \ - -Wl,-u,$(SYMPREFIX)gimp_vectors_undo_get_type \ - -Wl,-u,$(SYMPREFIX)gimp_vectors_mod_undo_get_type \ - -Wl,-u,$(SYMPREFIX)gimp_config_param_spec_duplicate \ - -Wl,-u,$(SYMPREFIX)xcf_init \ - -Wl,-u,$(SYMPREFIX)internal_procs_init \ - -Wl,-u,$(SYMPREFIX)gimp_pdb_compat_procs_register \ - -Wl,-u,$(SYMPREFIX)gimp_plug_in_manager_restore \ - -Wl,-u,$(SYMPREFIX)gimp_layer_mode_is_legacy \ - -Wl,-u,$(SYMPREFIX)gimp_async_set_new \ - -Wl,-u,$(SYMPREFIX)gimp_uncancelable_waitable_new - -test_config_LDADD = \ - ../xcf/libappxcf.a \ - ../pdb/libappinternal-procs.a \ - ../pdb/libapppdb.a \ - ../plug-in/libappplug-in.a \ - ../vectors/libappvectors.a \ - ../core/libappcore.a \ - ../file/libappfile.a \ - ../file-data/libappfile-data.a \ - ../text/libapptext.a \ - ../paint/libapppaint.a \ - ../gegl/libappgegl.a \ - ../operations/libappoperations.a \ - ../operations/layer-modes/libapplayermodes.a \ - ../operations/layer-modes-legacy/libapplayermodeslegacy.a \ - libappconfig.a \ - ../gimp-debug.o \ - ../gimp-log.o \ - $(libgimpmodule) \ - $(libgimpcolor) \ - $(libgimpthumb) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpbase) \ - $(APPSTREAM_GLIB_LIBS) \ - $(PANGOCAIRO_LIBS) \ - $(HARFBUZZ_LIBS) \ - $(GDK_PIXBUF_LIBS) \ - $(GEGL_LIBS) \ - $(GIO_LIBS) \ - $(GEXIV2_LIBS) \ - $(Z_LIBS) \ - $(JSON_C_LIBS) \ - $(LIBARCHIVE_LIBS) \ - $(LIBMYPAINT_LIBS) \ - $(libm) - -CLEANFILES = $(EXTRA_PROGRAMS) foorc - -# -# rules to generate built sources -# -# setup autogeneration dependencies -gen_sources = stamp-config-enums.h xgen-cec -CLEANFILES += $(gen_sources) - -xgen-cec: $(srcdir)/config-enums.h $(GIMP_MKENUMS) Makefile.am - $(AM_V_GEN) $(GIMP_MKENUMS) \ - --fhead "#include \"stamp-config-enums.h\"\n#include \"config.h\"\n#include \n#include \"libgimpbase/gimpbase.h\"\n#include \"config-enums.h\"\n#include \"gimp-intl.h\"" \ - --fprod "\n/* enumerations from \"@basename@\" */" \ - --vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n" \ - --dhead " static const Gimp@Type@Desc descs[] =\n {" \ - --dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ },@if ('@valueabbrev@' ne 'NULL')@\n /* Translators: this is an abbreviated version of @valueudesc@.\n Keep it short. */\n { @VALUENAME@, @valueabbrev@, NULL },@endif@" \ - --dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \ - $< > $@ - -stamp-config-enums.h: xgen-cec - echo "/* Generated on `date`. */" > $@ - -# copy the generated enum file back to the source directory only if it's -# changed; otherwise, only update its timestamp, so that the recipe isn't -# executed again on the next build, however, allow this to (harmlessly) fail, -# to support building from a read-only source tree. -$(srcdir)/config-enums.c: xgen-cec stamp-config-enums.h - $(AM_V_GEN) if ! cmp -s $< $@; then \ - cp $< $@; \ - else \ - touch $@ 2> /dev/null \ - || true; \ - fi diff --git a/app/core/.gitignore b/app/core/.gitignore deleted file mode 100644 index d69ed15fe6..0000000000 --- a/app/core/.gitignore +++ /dev/null @@ -1,12 +0,0 @@ -/*.lo -/.deps -/.libs -/Makefile -/Makefile.in -/gimp-core-pixbufs.c -/gimp-core-pixbufs.h -/gimpmarshal.c -/gimpmarshal.h -/libappcore.a -/libappcore.la -/xgen-cec diff --git a/app/core/Makefile.am b/app/core/Makefile.am deleted file mode 100644 index 53c3188db9..0000000000 --- a/app/core/Makefile.am +++ /dev/null @@ -1,584 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if PLATFORM_OSX -xobjective_c = "-xobjective-c" -xobjective_cxx = "-xobjective-c++" -xnone = "-xnone" -endif - -AM_CPPFLAGS = \ - -DGIMPDIR=\""$(gimpdir)"\" \ - -DGIMP_VERSION=\"$(GIMP_VERSION)\" \ - -DGIMP_APP_VERSION=\"$(GIMP_APP_VERSION)\" \ - -DGIMP_USER_VERSION=\"$(GIMP_USER_VERSION)\" \ - -DG_LOG_DOMAIN=\"Gimp-Core\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(APPSTREAM_GLIB_CFLAGS) \ - $(CAIRO_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - $(LIBMYPAINT_CFLAGS) \ - $(MYPAINT_BRUSHES_CFLAGS) \ - $(GEXIV2_CFLAGS) \ - $(LIBUNWIND_CFLAGS) \ - -I$(includedir) - -AM_CFLAGS = \ - $(xobjective_c) - -AM_CXXFLAGS = \ - $(xobjective_cxx) - -AM_LDFLAGS = \ - $(xnone) - -noinst_LIBRARIES = libappcore.a - -libappcore_a_sources = \ - core-enums.h \ - core-types.h \ - gimp.c \ - gimp.h \ - gimp-atomic.c \ - gimp-atomic.h \ - gimp-batch.c \ - gimp-batch.h \ - gimp-cairo.c \ - gimp-cairo.h \ - gimp-contexts.c \ - gimp-contexts.h \ - gimp-data-factories.c \ - gimp-data-factories.h \ - gimp-edit.c \ - gimp-edit.h \ - gimp-filter-history.c \ - gimp-filter-history.h \ - gimp-gradients.c \ - gimp-gradients.h \ - gimp-gui.c \ - gimp-gui.h \ - gimp-internal-data.c \ - gimp-internal-data.h \ - gimp-memsize.c \ - gimp-memsize.h \ - gimp-modules.c \ - gimp-modules.h \ - gimp-palettes.c \ - gimp-palettes.h \ - gimp-parallel.cc \ - gimp-parallel.h \ - gimp-parasites.c \ - gimp-parasites.h \ - gimp-spawn.c \ - gimp-spawn.h \ - gimp-tags.c \ - gimp-tags.h \ - gimp-templates.c \ - gimp-templates.h \ - gimp-transform-resize.c \ - gimp-transform-resize.h \ - gimp-transform-3d-utils.c \ - gimp-transform-3d-utils.h \ - gimp-transform-utils.c \ - gimp-transform-utils.h \ - gimp-units.c \ - gimp-units.h \ - gimp-user-install.c \ - gimp-user-install.h \ - gimp-utils.c \ - gimp-utils.h \ - gimpasync.c \ - gimpasync.h \ - gimpasyncset.c \ - gimpasyncset.h \ - gimpauxitem.c \ - gimpauxitem.h \ - gimpauxitemundo.c \ - gimpauxitemundo.h \ - gimpbacktrace.h \ - gimpbacktrace-backend.h \ - gimpbacktrace-linux.c \ - gimpbacktrace-none.c \ - gimpbacktrace-windows.c \ - gimpbezierdesc.h \ - gimpbezierdesc.c \ - gimpboundary.c \ - gimpboundary.h \ - gimpbrush.c \ - gimpbrush.h \ - gimpbrush-boundary.c \ - gimpbrush-boundary.h \ - gimpbrush-header.h \ - gimpbrush-load.c \ - gimpbrush-load.h \ - gimpbrush-mipmap.cc \ - gimpbrush-mipmap.h \ - gimpbrush-private.h \ - gimpbrush-save.c \ - gimpbrush-save.h \ - gimpbrush-transform.cc \ - gimpbrush-transform.h \ - gimpbrushcache.c \ - gimpbrushcache.h \ - gimpbrushclipboard.c \ - gimpbrushclipboard.h \ - gimpbrushgenerated.c \ - gimpbrushgenerated.h \ - gimpbrushgenerated-load.c \ - gimpbrushgenerated-load.h \ - gimpbrushgenerated-save.c \ - gimpbrushgenerated-save.h \ - gimpbrushpipe.c \ - gimpbrushpipe.h \ - gimpbrushpipe-load.c \ - gimpbrushpipe-load.h \ - gimpbrushpipe-save.c \ - gimpbrushpipe-save.h \ - gimpbuffer.c \ - gimpbuffer.h \ - gimpcancelable.c \ - gimpcancelable.h \ - gimpchannel.c \ - gimpchannel.h \ - gimpchannel-combine.c \ - gimpchannel-combine.h \ - gimpchannel-select.c \ - gimpchannel-select.h \ - gimpchannelpropundo.c \ - gimpchannelpropundo.h \ - gimpchannelundo.c \ - gimpchannelundo.h \ - gimpchunkiterator.c \ - gimpchunkiterator.h \ - gimpcontainer.c \ - gimpcontainer.h \ - gimpcontainer-filter.c \ - gimpcontainer-filter.h \ - gimpcontext.c \ - gimpcontext.h \ - gimpcoords.c \ - gimpcoords.h \ - gimpcoords-interpolate.c \ - gimpcoords-interpolate.h \ - gimpcurve.c \ - gimpcurve.h \ - gimpcurve-load.c \ - gimpcurve-load.h \ - gimpcurve-map.c \ - gimpcurve-map.h \ - gimpcurve-save.c \ - gimpcurve-save.h \ - gimpdashpattern.c \ - gimpdashpattern.h \ - gimpdata.c \ - gimpdata.h \ - gimpdatafactory.c \ - gimpdatafactory.h \ - gimpdataloaderfactory.c \ - gimpdataloaderfactory.h \ - gimpdisplay.c \ - gimpdisplay.h \ - gimpdocumentlist.c \ - gimpdocumentlist.h \ - gimpdrawable.c \ - gimpdrawable.h \ - gimpdrawable-bucket-fill.c \ - gimpdrawable-bucket-fill.h \ - gimpdrawable-combine.c \ - gimpdrawable-combine.h \ - gimpdrawable-edit.c \ - gimpdrawable-edit.h \ - gimpdrawable-equalize.c \ - gimpdrawable-equalize.h \ - gimpdrawable-fill.c \ - gimpdrawable-fill.h \ - gimpdrawable-filters.c \ - gimpdrawable-filters.h \ - gimpdrawable-floating-selection.c \ - gimpdrawable-floating-selection.h \ - gimpdrawable-foreground-extract.c \ - gimpdrawable-foreground-extract.h \ - gimpdrawable-gradient.c \ - gimpdrawable-gradient.h \ - gimpdrawable-histogram.c \ - gimpdrawable-histogram.h \ - gimpdrawable-levels.c \ - gimpdrawable-levels.h \ - gimpdrawable-offset.c \ - gimpdrawable-offset.h \ - gimpdrawable-operation.c \ - gimpdrawable-operation.h \ - gimpdrawable-preview.c \ - gimpdrawable-preview.h \ - gimpdrawable-private.h \ - gimpdrawable-shadow.c \ - gimpdrawable-shadow.h \ - gimpdrawable-stroke.c \ - gimpdrawable-stroke.h \ - gimpdrawable-transform.c \ - gimpdrawable-transform.h \ - gimpdrawablefilter.c \ - gimpdrawablefilter.h \ - gimpdrawablemodundo.c \ - gimpdrawablemodundo.h \ - gimpdrawablepropundo.c \ - gimpdrawablepropundo.h \ - gimpdrawablestack.c \ - gimpdrawablestack.h \ - gimpdrawableundo.c \ - gimpdrawableundo.h \ - gimpdynamics.c \ - gimpdynamics.h \ - gimpdynamics-load.c \ - gimpdynamics-load.h \ - gimpdynamics-save.c \ - gimpdynamics-save.h \ - gimpdynamicsoutput.c \ - gimpdynamicsoutput.h \ - gimperror.c \ - gimperror.h \ - gimpextension.c \ - gimpextension.h \ - gimpextension-error.c \ - gimpextension-error.h \ - gimpextensionmanager.c \ - gimpextensionmanager.h \ - gimpfilloptions.c \ - gimpfilloptions.h \ - gimpfilter.c \ - gimpfilter.h \ - gimpfilteredcontainer.c \ - gimpfilteredcontainer.h \ - gimpfilterstack.c \ - gimpfilterstack.h \ - gimpfloatingselectionundo.c \ - gimpfloatingselectionundo.h \ - gimpgradient.c \ - gimpgradient.h \ - gimpgradient-load.c \ - gimpgradient-load.h \ - gimpgradient-save.c \ - gimpgradient-save.h \ - gimpgrid.c \ - gimpgrid.h \ - gimpgrouplayer.c \ - gimpgrouplayer.h \ - gimpgrouplayerundo.c \ - gimpgrouplayerundo.h \ - gimpguide.c \ - gimpguide.h \ - gimpguideundo.c \ - gimpguideundo.h \ - gimphistogram.c \ - gimphistogram.h \ - gimpidtable.c \ - gimpidtable.h \ - gimpimage.c \ - gimpimage.h \ - gimpimage-arrange.c \ - gimpimage-arrange.h \ - gimpimage-color-profile.c \ - gimpimage-color-profile.h \ - gimpimage-colormap.c \ - gimpimage-colormap.h \ - gimpimage-convert-indexed.c \ - gimpimage-convert-indexed.h \ - gimpimage-convert-fsdither.h \ - gimpimage-convert-data.h \ - gimpimage-convert-precision.c \ - gimpimage-convert-precision.h \ - gimpimage-convert-type.c \ - gimpimage-convert-type.h \ - gimpimage-crop.c \ - gimpimage-crop.h \ - gimpimage-duplicate.c \ - gimpimage-duplicate.h \ - gimpimage-flip.c \ - gimpimage-flip.h \ - gimpimage-grid.h \ - gimpimage-grid.c \ - gimpimage-guides.c \ - gimpimage-guides.h \ - gimpimage-item-list.c \ - gimpimage-item-list.h \ - gimpimage-merge.c \ - gimpimage-merge.h \ - gimpimage-metadata.c \ - gimpimage-metadata.h \ - gimpimage-new.c \ - gimpimage-new.h \ - gimpimage-pick-color.c \ - gimpimage-pick-color.h \ - gimpimage-pick-item.c \ - gimpimage-pick-item.h \ - gimpimage-preview.c \ - gimpimage-preview.h \ - gimpimage-private.h \ - gimpimage-quick-mask.c \ - gimpimage-quick-mask.h \ - gimpimage-resize.c \ - gimpimage-resize.h \ - gimpimage-rotate.c \ - gimpimage-rotate.h \ - gimpimage-sample-points.c \ - gimpimage-sample-points.h \ - gimpimage-scale.c \ - gimpimage-scale.h \ - gimpimage-snap.c \ - gimpimage-snap.h \ - gimpimage-symmetry.c \ - gimpimage-symmetry.h \ - gimpimage-transform.c \ - gimpimage-transform.h \ - gimpimage-undo.c \ - gimpimage-undo.h \ - gimpimage-undo-push.c \ - gimpimage-undo-push.h \ - gimpimageproxy.c \ - gimpimageproxy.h \ - gimpimageundo.c \ - gimpimageundo.h \ - gimpimagefile.c \ - gimpimagefile.h \ - gimpitem.c \ - gimpitem.h \ - gimpitem-exclusive.c \ - gimpitem-exclusive.h \ - gimpitem-preview.c \ - gimpitem-preview.h \ - gimpitemlist.c \ - gimpitemlist.h \ - gimpitempropundo.c \ - gimpitempropundo.h \ - gimpitemstack.c \ - gimpitemstack.h \ - gimpitemtree.c \ - gimpitemtree.h \ - gimpitemundo.c \ - gimpitemundo.h \ - gimplayer.c \ - gimplayer.h \ - gimplayer-floating-selection.c \ - gimplayer-floating-selection.h \ - gimplayer-new.c \ - gimplayer-new.h \ - gimplayermask.c \ - gimplayermask.h \ - gimplayermaskpropundo.c \ - gimplayermaskpropundo.h \ - gimplayermaskundo.c \ - gimplayermaskundo.h \ - gimplayerpropundo.c \ - gimplayerpropundo.h \ - gimplayerstack.c \ - gimplayerstack.h \ - gimplayerundo.c \ - gimplayerundo.h \ - gimplineart.c \ - gimplineart.h \ - gimplist.c \ - gimplist.h \ - gimpmaskundo.c \ - gimpmaskundo.h \ - gimpmybrush.c \ - gimpmybrush.h \ - gimpmybrush-load.c \ - gimpmybrush-load.h \ - gimpmybrush-private.h \ - gimpobject.c \ - gimpobject.h \ - gimpobjectqueue.c \ - gimpobjectqueue.h \ - gimppaintinfo.c \ - gimppaintinfo.h \ - gimppattern.c \ - gimppattern.h \ - gimppattern-header.h \ - gimppattern-load.c \ - gimppattern-load.h \ - gimppattern-save.c \ - gimppattern-save.h \ - gimppatternclipboard.c \ - gimppatternclipboard.h \ - gimppalette.c \ - gimppalette.h \ - gimppalette-import.c \ - gimppalette-import.h \ - gimppalette-load.c \ - gimppalette-load.h \ - gimppalette-save.c \ - gimppalette-save.h \ - gimppalettemru.c \ - gimppalettemru.h \ - gimpparamspecs.c \ - gimpparamspecs.h \ - gimpparamspecs-desc.c \ - gimpparamspecs-desc.h \ - gimpparasitelist.c \ - gimpparasitelist.h \ - gimppdbprogress.c \ - gimppdbprogress.h \ - gimppickable.c \ - gimppickable.h \ - gimppickable-auto-shrink.c \ - gimppickable-auto-shrink.h \ - gimppickable-contiguous-region.cc \ - gimppickable-contiguous-region.h \ - gimpprogress.c \ - gimpprogress.h \ - gimpprojectable.c \ - gimpprojectable.h \ - gimpprojection.c \ - gimpprojection.h \ - gimpresource.c \ - gimpresource.h \ - gimpsamplepoint.c \ - gimpsamplepoint.h \ - gimpsamplepointundo.c \ - gimpsamplepointundo.h \ - gimpscanconvert.c \ - gimpscanconvert.h \ - gimpselection.c \ - gimpselection.h \ - gimpsettings.c \ - gimpsettings.h \ - gimpstrokeoptions.c \ - gimpstrokeoptions.h \ - gimpsubprogress.c \ - gimpsubprogress.h \ - gimpsymmetry.c \ - gimpsymmetry.h \ - gimpsymmetry-mandala.c \ - gimpsymmetry-mandala.h \ - gimpsymmetry-mirror.c \ - gimpsymmetry-mirror.h \ - gimpsymmetry-tiling.c \ - gimpsymmetry-tiling.h \ - gimptag.c \ - gimptag.h \ - gimptagcache.c \ - gimptagcache.h \ - gimptagged.c \ - gimptagged.h \ - gimptaggedcontainer.c \ - gimptaggedcontainer.h \ - gimptempbuf.c \ - gimptempbuf.h \ - gimptemplate.c \ - gimptemplate.h \ - gimptilehandlerprojectable.c \ - gimptilehandlerprojectable.h \ - gimptoolgroup.c \ - gimptoolgroup.h \ - gimptoolinfo.c \ - gimptoolinfo.h \ - gimptoolitem.c \ - gimptoolitem.h \ - gimptooloptions.c \ - gimptooloptions.h \ - gimptoolpreset.c \ - gimptoolpreset.h \ - gimptoolpreset-load.c \ - gimptoolpreset-load.h \ - gimptoolpreset-save.c \ - gimptoolpreset-save.h \ - gimptreehandler.c \ - gimptreehandler.h \ - gimptreeproxy.c \ - gimptreeproxy.h \ - gimptriviallycancelablewaitable.c \ - gimptriviallycancelablewaitable.h \ - gimpuncancelablewaitable.c \ - gimpuncancelablewaitable.h \ - gimpunit.c \ - gimpunit.h \ - gimpundo.c \ - gimpundo.h \ - gimpundostack.c \ - gimpundostack.h \ - gimpviewable.c \ - gimpviewable.h \ - gimpwaitable.c \ - gimpwaitable.h - -libappcore_a_built_sources = \ - gimp-core-pixbufs.c \ - gimp-core-pixbufs.h \ - core-enums.c \ - gimpmarshal.c \ - gimpmarshal.h - -libappcore_a_extra_sources = \ - gimpmarshal.list - -libappcore_a_SOURCES = $(libappcore_a_built_sources) $(libappcore_a_sources) - -BUILT_SOURCES = \ - $(libappcore_a_built_sources) - -EXTRA_DIST = \ - $(libappcore_a_extra_sources) - -# -# rules to generate built sources -# -# setup autogeneration dependencies -gen_sources = \ - gimp-core-pixbufs.c \ - gimp-core-pixbufs.h \ - stamp-core-enums.h \ - xgen-gmh \ - xgen-gmc \ - xgen-cec - -CLEANFILES = $(gen_sources) - -gimpmarshal.h: $(srcdir)/gimpmarshal.list - $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=gimp_marshal $(srcdir)/gimpmarshal.list --header >> xgen-gmh \ - && (cmp -s xgen-gmh $(@F) || cp xgen-gmh $(@F)) \ - && rm -f xgen-gmh xgen-gmh~ - -gimpmarshal.c: gimpmarshal.h - $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=gimp_marshal $(srcdir)/gimpmarshal.list --prototypes --body >> xgen-gmc \ - && cp xgen-gmc $(@F) \ - && rm -f xgen-gmc xgen-gmc~ - -xgen-cec: $(srcdir)/core-enums.h $(GIMP_MKENUMS) Makefile.am - $(AM_V_GEN) $(GIMP_MKENUMS) \ - --fhead "#include \"stamp-core-enums.h\"\n#include \"config.h\"\n#include \n#include \"libgimpbase/gimpbase.h\"\n#include \"core-enums.h\"\n#include \"gimp-intl.h\"" \ - --fprod "\n/* enumerations from \"@basename@\" */" \ - --vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n" \ - --dhead " static const Gimp@Type@Desc descs[] =\n {" \ - --dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ },@if ('@valueabbrev@' ne 'NULL')@\n /* Translators: this is an abbreviated version of @valueudesc@.\n Keep it short. */\n { @VALUENAME@, @valueabbrev@, NULL },@endif@" \ - --dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \ - $< > $@ - -stamp-core-enums.h: xgen-cec - echo "/* Generated on `date`. */" > $@ - -# copy the generated enum file back to the source directory only if it's -# changed; otherwise, only update its timestamp, so that the recipe isn't -# executed again on the next build, however, allow this to (harmlessly) fail, -# to support building from a read-only source tree. -$(srcdir)/core-enums.c: xgen-cec stamp-core-enums.h - $(AM_V_GEN) if ! cmp -s $< $@; then \ - cp $< $@; \ - else \ - touch $@ 2> /dev/null \ - || true; \ - fi - -gimp-core-pixbufs.h: $(top_builddir)/icons/Color/gimp-core-pixbufs.gresource.xml - $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \ - --sourcedir=$(top_builddir)/icons/Color --generate-header \ - --target=$@ $(top_builddir)/icons/Color/gimp-core-pixbufs.gresource.xml - -gimp-core-pixbufs.c: gimp-core-pixbufs.h - $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \ - --sourcedir=$(top_builddir)/icons/Color --generate-source \ - --target=$@ $(top_builddir)/icons/Color/gimp-core-pixbufs.gresource.xml diff --git a/app/dialogs/.gitignore b/app/dialogs/.gitignore deleted file mode 100644 index b44e61a3db..0000000000 --- a/app/dialogs/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -/Makefile -/Makefile.in -/authors.h -/.deps -/.libs -/*.lo -/libappdialogs.a -/libappdialogs.la diff --git a/app/dialogs/Makefile.am b/app/dialogs/Makefile.am deleted file mode 100644 index 5b5d470428..0000000000 --- a/app/dialogs/Makefile.am +++ /dev/null @@ -1,138 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-Dialogs\" \ - -DDESKTOP_DATADIR=\""$(DESKTOP_DATADIR)"\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(APPSTREAM_GLIB_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GTK_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = libappdialogs.a - -libappdialogs_a_sources = \ - dialogs-types.h \ - dialogs.c \ - dialogs.h \ - dialogs-constructors.c \ - dialogs-constructors.h \ - \ - about-dialog.c \ - about-dialog.h \ - action-search-dialog.c \ - action-search-dialog.h \ - channel-options-dialog.c \ - channel-options-dialog.h \ - color-profile-dialog.c \ - color-profile-dialog.h \ - color-profile-import-dialog.c \ - color-profile-import-dialog.h \ - convert-indexed-dialog.c \ - convert-indexed-dialog.h \ - convert-precision-dialog.c \ - convert-precision-dialog.h \ - data-delete-dialog.c \ - data-delete-dialog.h \ - extensions-dialog.c \ - extensions-dialog.h \ - file-open-dialog.c \ - file-open-dialog.h \ - file-open-location-dialog.c \ - file-open-location-dialog.h \ - file-save-dialog.c \ - file-save-dialog.h \ - fill-dialog.c \ - fill-dialog.h \ - grid-dialog.h \ - grid-dialog.c \ - image-merge-layers-dialog.c \ - image-merge-layers-dialog.h \ - image-new-dialog.c \ - image-new-dialog.h \ - image-properties-dialog.c \ - image-properties-dialog.h \ - image-scale-dialog.c \ - image-scale-dialog.h \ - input-devices-dialog.c \ - input-devices-dialog.h \ - item-options-dialog.c \ - item-options-dialog.h \ - keyboard-shortcuts-dialog.c \ - keyboard-shortcuts-dialog.h \ - layer-add-mask-dialog.c \ - layer-add-mask-dialog.h \ - layer-options-dialog.c \ - layer-options-dialog.h \ - lebl-dialog.c \ - lebl-dialog.h \ - metadata-rotation-import-dialog.c \ - metadata-rotation-import-dialog.h \ - module-dialog.c \ - module-dialog.h \ - palette-import-dialog.c \ - palette-import-dialog.h \ - preferences-dialog.c \ - preferences-dialog.h \ - preferences-dialog-utils.c \ - preferences-dialog-utils.h \ - print-size-dialog.c \ - print-size-dialog.h \ - quit-dialog.c \ - quit-dialog.h \ - resize-dialog.c \ - resize-dialog.h \ - resolution-calibrate-dialog.c \ - resolution-calibrate-dialog.h \ - scale-dialog.c \ - scale-dialog.h \ - stroke-dialog.c \ - stroke-dialog.h \ - template-options-dialog.c \ - template-options-dialog.h \ - tips-dialog.c \ - tips-dialog.h \ - tips-parser.c \ - tips-parser.h \ - user-install-dialog.c \ - user-install-dialog.h \ - vectors-export-dialog.c \ - vectors-export-dialog.h \ - vectors-import-dialog.c \ - vectors-import-dialog.h \ - vectors-options-dialog.c \ - vectors-options-dialog.h \ - welcome-dialog.c \ - welcome-dialog.h \ - welcome-dialog-data.c \ - welcome-dialog-data.h - -libappdialogs_a_built_sources = \ - authors.h - -libappdialogs_a_SOURCES = \ - $(libappdialogs_a_built_sources) $(libappdialogs_a_sources) - -EXTRA_DIST = \ - authors.xsl - - -$(srcdir)/about-dialog.c: authors.h - -authors.h: $(top_srcdir)/authors.xml $(srcdir)/authors.xsl -if HAVE_XSLTPROC - $(XSLTPROC) $(srcdir)/authors.xsl $< > $(@) || rm -f $(@) -else - @echo "*** xsltproc is required to regenerate $(@) ***"; exit 1; -endif - -$(srcdir)/welcome-dialog.c: welcome-dialog-data.h welcome-dialog-data.c - -welcome-dialog-data.h: $(top_srcdir)/desktop/org.gimp.GIMP.appdata.xml.in.in $(top_srcdir)/tools/generate-welcome-dialog-data.py - $(top_srcdir)/tools/generate-welcome-dialog-data.py --header $(GIMP_VERSION) > $@ - -welcome-dialog-data.c: $(top_srcdir)/desktop/org.gimp.GIMP.appdata.xml.in.in $(top_srcdir)/tools/generate-welcome-dialog-data.py - $(top_srcdir)/tools/generate-welcome-dialog-data.py $(GIMP_VERSION) > $@ diff --git a/app/display/.gitignore b/app/display/.gitignore deleted file mode 100644 index 3876a5dcee..0000000000 --- a/app/display/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/*.lo -/libappdisplay.a -/libappdisplay.la -/xgen-dec diff --git a/app/display/Makefile.am b/app/display/Makefile.am deleted file mode 100644 index f64d98d9d3..0000000000 --- a/app/display/Makefile.am +++ /dev/null @@ -1,233 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-Display\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(GEGL_CFLAGS) \ - $(GTK_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = libappdisplay.a - -libappdisplay_a_sources = \ - display-enums.h \ - display-types.h \ - gimpcanvas.c \ - gimpcanvas.h \ - gimpcanvas-style.c \ - gimpcanvas-style.h \ - gimpcanvasarc.c \ - gimpcanvasarc.h \ - gimpcanvasboundary.c \ - gimpcanvasboundary.h \ - gimpcanvasbufferpreview.c \ - gimpcanvasbufferpreview.h \ - gimpcanvascanvasboundary.c \ - gimpcanvascanvasboundary.h \ - gimpcanvascorner.c \ - gimpcanvascorner.h \ - gimpcanvascursor.c \ - gimpcanvascursor.h \ - gimpcanvasgrid.c \ - gimpcanvasgrid.h \ - gimpcanvasgroup.c \ - gimpcanvasgroup.h \ - gimpcanvasguide.c \ - gimpcanvasguide.h \ - gimpcanvashandle.c \ - gimpcanvashandle.h \ - gimpcanvasitem.c \ - gimpcanvasitem.h \ - gimpcanvasitem-utils.c \ - gimpcanvasitem-utils.h \ - gimpcanvaslayerboundary.c \ - gimpcanvaslayerboundary.h \ - gimpcanvaslimit.c \ - gimpcanvaslimit.h \ - gimpcanvasline.c \ - gimpcanvasline.h \ - gimpcanvaspassepartout.c \ - gimpcanvaspassepartout.h \ - gimpcanvaspath.c \ - gimpcanvaspath.h \ - gimpcanvaspen.c \ - gimpcanvaspen.h \ - gimpcanvaspolygon.c \ - gimpcanvaspolygon.h \ - gimpcanvasprogress.c \ - gimpcanvasprogress.h \ - gimpcanvasproxygroup.c \ - gimpcanvasproxygroup.h \ - gimpcanvasrectangle.c \ - gimpcanvasrectangle.h \ - gimpcanvasrectangleguides.c \ - gimpcanvasrectangleguides.h \ - gimpcanvassamplepoint.c \ - gimpcanvassamplepoint.h \ - gimpcanvastextcursor.c \ - gimpcanvastextcursor.h \ - gimpcanvastransformguides.c \ - gimpcanvastransformguides.h \ - gimpcanvastransformpreview.c \ - gimpcanvastransformpreview.h \ - gimpcursorview.c \ - gimpcursorview.h \ - gimpdisplay.c \ - gimpdisplay.h \ - gimpdisplay-foreach.c \ - gimpdisplay-foreach.h \ - gimpdisplay-handlers.c \ - gimpdisplay-handlers.h \ - gimpdisplayshell.c \ - gimpdisplayshell.h \ - gimpdisplayshell-actions.c \ - gimpdisplayshell-actions.h \ - gimpdisplayshell-appearance.c \ - gimpdisplayshell-appearance.h \ - gimpdisplayshell-autoscroll.c \ - gimpdisplayshell-autoscroll.h \ - gimpdisplayshell-callbacks.c \ - gimpdisplayshell-callbacks.h \ - gimpdisplayshell-close.c \ - gimpdisplayshell-close.h \ - gimpdisplayshell-cursor.c \ - gimpdisplayshell-cursor.h \ - gimpdisplayshell-dnd.c \ - gimpdisplayshell-dnd.h \ - gimpdisplayshell-draw.c \ - gimpdisplayshell-draw.h \ - gimpdisplayshell-expose.c \ - gimpdisplayshell-expose.h \ - gimpdisplayshell-grab.c \ - gimpdisplayshell-grab.h \ - gimpdisplayshell-handlers.c \ - gimpdisplayshell-handlers.h \ - gimpdisplayshell-filter.c \ - gimpdisplayshell-filter.h \ - gimpdisplayshell-filter-dialog.c \ - gimpdisplayshell-filter-dialog.h \ - gimpdisplayshell-layer-select.c \ - gimpdisplayshell-layer-select.h \ - gimpdisplayshell-items.c \ - gimpdisplayshell-items.h \ - gimpdisplayshell-profile.c \ - gimpdisplayshell-profile.h \ - gimpdisplayshell-progress.c \ - gimpdisplayshell-progress.h \ - gimpdisplayshell-render.c \ - gimpdisplayshell-render.h \ - gimpdisplayshell-rotate.c \ - gimpdisplayshell-rotate.h \ - gimpdisplayshell-rotate-dialog.c \ - gimpdisplayshell-rotate-dialog.h \ - gimpdisplayshell-rulers.c \ - gimpdisplayshell-rulers.h \ - gimpdisplayshell-scale.c \ - gimpdisplayshell-scale.h \ - gimpdisplayshell-scale-dialog.c \ - gimpdisplayshell-scale-dialog.h \ - gimpdisplayshell-scroll.c \ - gimpdisplayshell-scroll.h \ - gimpdisplayshell-scrollbars.c \ - gimpdisplayshell-scrollbars.h \ - gimpdisplayshell-selection.c \ - gimpdisplayshell-selection.h \ - gimpdisplayshell-title.c \ - gimpdisplayshell-title.h \ - gimpdisplayshell-tool-events.c \ - gimpdisplayshell-tool-events.h \ - gimpdisplayshell-transform.c \ - gimpdisplayshell-transform.h \ - gimpdisplayshell-utils.c \ - gimpdisplayshell-utils.h \ - gimpmodifiersmanager.c \ - gimpmodifiersmanager.h \ - gimpimagewindow.c \ - gimpimagewindow.h \ - gimpmotionbuffer.c \ - gimpmotionbuffer.h \ - gimpmultiwindowstrategy.c \ - gimpmultiwindowstrategy.h \ - gimpnavigationeditor.c \ - gimpnavigationeditor.h \ - gimpscalecombobox.c \ - gimpscalecombobox.h \ - gimpsinglewindowstrategy.c \ - gimpsinglewindowstrategy.h \ - gimpstatusbar.c \ - gimpstatusbar.h \ - gimptooldialog.c \ - gimptooldialog.h \ - gimptoolgui.c \ - gimptoolgui.h \ - gimptoolcompass.c \ - gimptoolcompass.h \ - gimptoolfocus.h \ - gimptoolfocus.c \ - gimptoolgyroscope.c \ - gimptoolgyroscope.h \ - gimptoolhandlegrid.c \ - gimptoolhandlegrid.h \ - gimptoolline.c \ - gimptoolline.h \ - gimptoolpath.c \ - gimptoolpath.h \ - gimptoolpolygon.c \ - gimptoolpolygon.h \ - gimptoolrectangle.c \ - gimptoolrectangle.h \ - gimptoolrotategrid.c \ - gimptoolrotategrid.h \ - gimptoolsheargrid.c \ - gimptoolsheargrid.h \ - gimptooltransform3dgrid.c \ - gimptooltransform3dgrid.h \ - gimptooltransformgrid.c \ - gimptooltransformgrid.h \ - gimptoolwidget.c \ - gimptoolwidget.h \ - gimptoolwidgetgroup.c \ - gimptoolwidgetgroup.h - -libappdisplay_a_built_sources = display-enums.c - -libappdisplay_a_SOURCES = \ - $(libappdisplay_a_built_sources) \ - $(libappdisplay_a_sources) - -# -# rules to generate built sources -# -# setup autogeneration dependencies -gen_sources = stamp-display-enums.h xgen-dec -CLEANFILES = $(gen_sources) - -xgen-dec: $(srcdir)/display-enums.h $(GIMP_MKENUMS) Makefile.am - $(AM_V_GEN) $(GIMP_MKENUMS) \ - --fhead "#include \"stamp-display-enums.h\"\n#include \"config.h\"\n#include \n#include \"libgimpbase/gimpbase.h\"\n#include \"display-enums.h\"\n#include \"gimp-intl.h\"" \ - --fprod "\n/* enumerations from \"@basename@\" */" \ - --vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n" \ - --dhead " static const Gimp@Type@Desc descs[] =\n {" \ - --dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ },@if ('@valueabbrev@' ne 'NULL')@\n /* Translators: this is an abbreviated version of @valueudesc@.\n Keep it short. */\n { @VALUENAME@, @valueabbrev@, NULL },@endif@" \ - --dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \ - $< > $@ - -stamp-display-enums.h: xgen-dec - echo "/* Generated on `date`. */" > $@ - -# copy the generated enum file back to the source directory only if it's -# changed; otherwise, only update its timestamp, so that the recipe isn't -# executed again on the next build, however, allow this to (harmlessly) fail, -# to support building from a read-only source tree. -$(srcdir)/display-enums.c: xgen-dec stamp-display-enums.h - $(AM_V_GEN) if ! cmp -s $< $@; then \ - cp $< $@; \ - else \ - touch $@ 2> /dev/null \ - || true; \ - fi diff --git a/app/file-data/.gitignore b/app/file-data/.gitignore deleted file mode 100644 index e882491b0b..0000000000 --- a/app/file-data/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/*.lo -/libappfile-data.a -/libappfile-data.la diff --git a/app/file-data/Makefile.am b/app/file-data/Makefile.am deleted file mode 100644 index 6b683c918a..0000000000 --- a/app/file-data/Makefile.am +++ /dev/null @@ -1,28 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-File-Data\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(APPSTREAM_GLIB_CFLAGS) \ - $(CAIRO_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - $(LIBARCHIVE_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = libappfile-data.a - -libappfile_data_a_SOURCES = \ - file-data.c \ - file-data.h \ - file-data-gbr.c \ - file-data-gbr.h \ - file-data-gex.c \ - file-data-gex.h \ - file-data-gih.c \ - file-data-gih.h \ - file-data-pat.c \ - file-data-pat.h diff --git a/app/file/.gitignore b/app/file/.gitignore deleted file mode 100644 index 508e4001fb..0000000000 --- a/app/file/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/*.lo -/libappfile.a -/libappfile.la diff --git a/app/file/Makefile.am b/app/file/Makefile.am deleted file mode 100644 index 90b107f190..0000000000 --- a/app/file/Makefile.am +++ /dev/null @@ -1,26 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-File\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(GEGL_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = libappfile.a - -libappfile_a_SOURCES = \ - file-import.c \ - file-import.h \ - file-open.c \ - file-open.h \ - file-remote.c \ - file-remote.h \ - file-save.c \ - file-save.h \ - file-utils.c \ - file-utils.h \ - gimp-file.h diff --git a/app/gegl/.gitignore b/app/gegl/.gitignore deleted file mode 100644 index 5845451f7d..0000000000 --- a/app/gegl/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/libappgegl.a -/libappgegl-generic.a -/libappgegl-sse2.a -/xgen-ggec diff --git a/app/gegl/Makefile.am b/app/gegl/Makefile.am deleted file mode 100644 index c52a789853..0000000000 --- a/app/gegl/Makefile.am +++ /dev/null @@ -1,102 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-GEGL\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(CAIRO_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = \ - libappgegl-generic.a \ - libappgegl-sse2.a \ - libappgegl.a - -libappgegl_generic_a_sources = \ - gimp-gegl-enums.h \ - gimp-gegl-types.h \ - gimp-babl.c \ - gimp-babl.h \ - gimp-babl-compat.c \ - gimp-babl-compat.h \ - gimp-gegl.c \ - gimp-gegl.h \ - gimp-gegl-apply-operation.c \ - gimp-gegl-apply-operation.h \ - gimp-gegl-loops.cc \ - gimp-gegl-loops.h \ - gimp-gegl-mask.c \ - gimp-gegl-mask.h \ - gimp-gegl-mask-combine.cc \ - gimp-gegl-mask-combine.h \ - gimp-gegl-nodes.c \ - gimp-gegl-nodes.h \ - gimp-gegl-tile-compat.c \ - gimp-gegl-tile-compat.h \ - gimp-gegl-utils.c \ - gimp-gegl-utils.h \ - gimpapplicator.c \ - gimpapplicator.h \ - gimptilehandlervalidate.c \ - gimptilehandlervalidate.h - -libappgegl_generic_a_built_sources = gimp-gegl-enums.c - -libappgegl_sse2_a_sources = \ - gimp-gegl-loops-sse2.c \ - gimp-gegl-loops-sse2.h - -libappgegl_generic_a_SOURCES = $(libappgegl_generic_a_built_sources) $(libappgegl_generic_a_sources) - -libappgegl_sse2_a_SOURCES = $(libappgegl_sse2_a_sources) - -libappgegl_sse2_a_CFLAGS = $(SSE2_EXTRA_CFLAGS) - -libappgegl_a_SOURCES = - - -libappgegl.a: libappgegl-generic.a \ - libappgegl-sse2.a - $(AR) $(ARFLAGS) libappgegl.a \ - $(libappgegl_generic_a_OBJECTS) \ - $(libappgegl_sse2_a_OBJECTS) - $(RANLIB) libappgegl.a - - -# -# rules to generate built sources -# -# setup autogeneration dependencies -gen_sources = stamp-gimp-gegl-enums.h xgen-ggec -CLEANFILES = $(gen_sources) - -xgen-ggec: $(srcdir)/gimp-gegl-enums.h $(GIMP_MKENUMS) Makefile.am - $(AM_V_GEN) $(GIMP_MKENUMS) \ - --fhead "#include \"stamp-gimp-gegl-enums.h\"\n#include \"config.h\"\n#include \n#include \"libgimpbase/gimpbase.h\"\n#include \"core/core-enums.h\"\n#include \"gimp-gegl-enums.h\"\n#include \"gimp-intl.h\"" \ - --fprod "\n/* enumerations from \"@basename@\" */" \ - --vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n" \ - --dhead " static const Gimp@Type@Desc descs[] =\n {" \ - --dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ },@if ('@valueabbrev@' ne 'NULL')@\n /* Translators: this is an abbreviated version of @valueudesc@.\n Keep it short. */\n { @VALUENAME@, @valueabbrev@, NULL },@endif@" \ - --dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \ - $< > $@ - -stamp-gimp-gegl-enums.h: xgen-ggec - echo "/* Generated on `date`. */" > $@ - -# copy the generated enum file back to the source directory only if it's -# changed; otherwise, only update its timestamp, so that the recipe isn't -# executed again on the next build, however, allow this to (harmlessly) fail, -# to support building from a read-only source tree. -$(srcdir)/gimp-gegl-enums.c: xgen-ggec stamp-gimp-gegl-enums.h - $(AM_V_GEN) if ! cmp -s $< $@; then \ - cp $< $@; \ - else \ - touch $@ 2> /dev/null \ - || true; \ - fi diff --git a/app/gui/.gitignore b/app/gui/.gitignore deleted file mode 100644 index f746fa9200..0000000000 --- a/app/gui/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/*.lo -/gimpdbusservice-generated.c -/gimpdbusservice-generated.h -/libappgui.a -/libappgui.la diff --git a/app/gui/Makefile.am b/app/gui/Makefile.am deleted file mode 100644 index 131c5d3fa6..0000000000 --- a/app/gui/Makefile.am +++ /dev/null @@ -1,84 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if PLATFORM_OSX -xobjective_c = "-xobjective-c" -xobjective_cxx = "-xobjective-c++" -xnone = "-xnone" -endif - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-GUI\" \ - -DGIMP_COMMAND=\"@GIMP_COMMAND@\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(GIO_UNIX_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GTK_CFLAGS) \ - $(GTK_MAC_INTEGRATION_CFLAGS) \ - -I$(includedir) - -AM_CFLAGS = \ - $(xobjective_c) - -AM_CXXFLAGS = \ - $(xobjective_cxx) - -AM_LDFLAGS = \ - $(xnone) - -noinst_LIBRARIES = libappgui.a - -libappgui_a_sources = \ - gimpapp.c \ - gimpapp.h \ - gimpdbusservice.c \ - gimpdbusservice.h \ - gimpuiconfigurer.c \ - gimpuiconfigurer.h \ - gui.c \ - gui.h \ - gui-message.c \ - gui-message.h \ - gui-unique.c \ - gui-unique.h \ - gui-vtable.c \ - gui-vtable.h \ - gui-types.h \ - icon-themes.c \ - icon-themes.h \ - modifiers.c \ - modifiers.h \ - session.c \ - session.h \ - splash.c \ - splash.h \ - themes.c \ - themes.h - -libappgui_a_built_sources = \ - gimpdbusservice-generated.c \ - gimpdbusservice-generated.h - -libappgui_a_SOURCES = $(libappgui_a_built_sources) $(libappgui_a_sources) - -BUILT_SOURCES = $(libappgui_a_built_sources) - -EXTRA_DIST = \ - dbus-service.xml - -# -# rules to generate built sources -# -# setup autogeneration dependencies -gen_sources = $(libappgui_a_built_sources) -CLEANFILES = $(gen_sources) - -$(srcdir)/gimpdbusservice.c: $(libappgui_a_built_sources) - -$(libappgui_a_built_sources): $(srcdir)/dbus-service.xml - $(GDBUS_CODEGEN) --interface-prefix org.gimp.GIMP. \ - --generate-c-code gimpdbusservice-generated \ - --c-namespace GimpDBusService \ - $(srcdir)/dbus-service.xml diff --git a/app/menus/.gitignore b/app/menus/.gitignore deleted file mode 100644 index 6e02a6fc38..0000000000 --- a/app/menus/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/*.lo -/libappmenus.a -/libappmenus.la diff --git a/app/menus/Makefile.am b/app/menus/Makefile.am deleted file mode 100644 index 3b68246187..0000000000 --- a/app/menus/Makefile.am +++ /dev/null @@ -1,36 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-Menus\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(GEGL_CFLAGS) \ - $(GTK_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = libappmenus.a - -libappmenus_a_SOURCES = \ - menus-types.h \ - menus.c \ - menus.h \ - dockable-menu.c \ - dockable-menu.h \ - file-menu.c \ - file-menu.h \ - filters-menu.c \ - filters-menu.h \ - image-menu.c \ - image-menu.h \ - plug-in-menus.c \ - plug-in-menus.h \ - shortcuts-rc.c \ - shortcuts-rc.h \ - tool-options-menu.c \ - tool-options-menu.h \ - window-menu.c \ - window-menu.h \ - windows-menu.c \ - windows-menu.h diff --git a/app/operations/.gitignore b/app/operations/.gitignore deleted file mode 100644 index 18c139f038..0000000000 --- a/app/operations/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/libappoperations.a -/libappoperations-generic.a -/libappoperations-sse2.a -/libappoperations-sse4.a -/xgen-oec diff --git a/app/operations/Makefile.am b/app/operations/Makefile.am deleted file mode 100644 index 7537ac99ea..0000000000 --- a/app/operations/Makefile.am +++ /dev/null @@ -1,143 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = \ - layer-modes \ - layer-modes-legacy \ - tests - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-Operations\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(CAIRO_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = \ - libappoperations.a - -libappoperations_a_sources = \ - operations-types.h \ - operations-enums.h \ - gimp-operations.c \ - gimp-operations.h \ - \ - gimp-operation-config.c \ - gimp-operation-config.h \ - gimpoperationsettings.c \ - gimpoperationsettings.h \ - gimpbrightnesscontrastconfig.c \ - gimpbrightnesscontrastconfig.h \ - gimpcageconfig.c \ - gimpcageconfig.h \ - gimpcolorbalanceconfig.c \ - gimpcolorbalanceconfig.h \ - gimpcurvesconfig.c \ - gimpcurvesconfig.h \ - gimphuesaturationconfig.c \ - gimphuesaturationconfig.h \ - gimplevelsconfig.c \ - gimplevelsconfig.h \ - \ - gimpoperationborder.c \ - gimpoperationborder.h \ - gimpoperationbuffersourcevalidate.c \ - gimpoperationbuffersourcevalidate.h \ - gimpoperationcagecoefcalc.c \ - gimpoperationcagecoefcalc.h \ - gimpoperationcagetransform.c \ - gimpoperationcagetransform.h \ - gimpoperationcomposecrop.c \ - gimpoperationcomposecrop.h \ - gimpoperationequalize.c \ - gimpoperationequalize.h \ - gimpoperationfillsource.c \ - gimpoperationfillsource.h \ - gimpoperationflood.c \ - gimpoperationflood.h \ - gimpoperationgradient.c \ - gimpoperationgradient.h \ - gimpoperationgrow.c \ - gimpoperationgrow.h \ - gimpoperationhistogramsink.c \ - gimpoperationhistogramsink.h \ - gimpoperationmaskcomponents.cc \ - gimpoperationmaskcomponents.h \ - gimpoperationoffset.c \ - gimpoperationoffset.h \ - gimpoperationprofiletransform.c \ - gimpoperationprofiletransform.h \ - gimpoperationscalarmultiply.c \ - gimpoperationscalarmultiply.h \ - gimpoperationsemiflatten.c \ - gimpoperationsemiflatten.h \ - gimpoperationsetalpha.c \ - gimpoperationsetalpha.h \ - gimpoperationshrink.c \ - gimpoperationshrink.h \ - gimpoperationthresholdalpha.c \ - gimpoperationthresholdalpha.h \ - \ - gimpoperationpointfilter.c \ - gimpoperationpointfilter.h \ - gimpoperationbrightnesscontrast.c \ - gimpoperationbrightnesscontrast.h \ - gimpoperationcolorbalance.c \ - gimpoperationcolorbalance.h \ - gimpoperationcolorize.c \ - gimpoperationcolorize.h \ - gimpoperationcurves.c \ - gimpoperationcurves.h \ - gimpoperationdesaturate.c \ - gimpoperationdesaturate.h \ - gimpoperationhuesaturation.c \ - gimpoperationhuesaturation.h \ - gimpoperationlevels.c \ - gimpoperationlevels.h \ - gimpoperationposterize.c \ - gimpoperationposterize.h \ - gimpoperationthreshold.c \ - gimpoperationthreshold.h - -libappoperations_a_built_sources = operations-enums.c - -libappoperations_a_SOURCES = \ - $(libappoperations_a_built_sources) \ - $(libappoperations_a_sources) - -# -# rules to generate built sources -# -# setup autogeneration dependencies -gen_sources = stamp-operations-enums.h xgen-oec -CLEANFILES = $(gen_sources) - -xgen-oec: $(srcdir)/operations-enums.h $(GIMP_MKENUMS) Makefile.am - $(AM_V_GEN) $(GIMP_MKENUMS) \ - --fhead "#include \"stamp-operations-enums.h\"\n#include \"config.h\"\n#include \n#include \"libgimpbase/gimpbase.h\"\n#include \"operations-enums.h\"\n#include \"gimp-intl.h\"" \ - --fprod "\n/* enumerations from \"@basename@\" */" \ - --vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n" \ - --dhead " static const Gimp@Type@Desc descs[] =\n {" \ - --dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ },@if ('@valueabbrev@' ne 'NULL')@\n /* Translators: this is an abbreviated version of @valueudesc@.\n Keep it short. */\n { @VALUENAME@, @valueabbrev@, NULL },@endif@" \ - --dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \ - $< > $@ - -stamp-operations-enums.h: xgen-oec - echo "/* Generated on `date`. */" > $@ - -# copy the generated enum file back to the source directory only if it's -# changed; otherwise, only update its timestamp, so that the recipe isn't -# executed again on the next build, however, allow this to (harmlessly) fail, -# to support building from a read-only source tree. -$(srcdir)/operations-enums.c: xgen-oec stamp-operations-enums.h - $(AM_V_GEN) if ! cmp -s $< $@; then \ - cp $< $@; \ - else \ - touch $@ 2> /dev/null \ - || true; \ - fi diff --git a/app/operations/layer-modes-legacy/.gitignore b/app/operations/layer-modes-legacy/.gitignore deleted file mode 100644 index 3d0eec3c07..0000000000 --- a/app/operations/layer-modes-legacy/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/libapplayermodeslegacy.a diff --git a/app/operations/layer-modes-legacy/Makefile.am b/app/operations/layer-modes-legacy/Makefile.am deleted file mode 100644 index b8241da561..0000000000 --- a/app/operations/layer-modes-legacy/Makefile.am +++ /dev/null @@ -1,54 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-Layer-Modes-Legacy\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(CAIRO_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = \ - libapplayermodeslegacy.a - -libapplayermodeslegacy_a_SOURCES = \ - gimpoperationadditionlegacy.c \ - gimpoperationadditionlegacy.h \ - gimpoperationburnlegacy.c \ - gimpoperationburnlegacy.h \ - gimpoperationdarkenonlylegacy.c \ - gimpoperationdarkenonlylegacy.h \ - gimpoperationdifferencelegacy.c \ - gimpoperationdifferencelegacy.h \ - gimpoperationdividelegacy.c \ - gimpoperationdividelegacy.h \ - gimpoperationdodgelegacy.c \ - gimpoperationdodgelegacy.h \ - gimpoperationgrainextractlegacy.c \ - gimpoperationgrainextractlegacy.h \ - gimpoperationgrainmergelegacy.c \ - gimpoperationgrainmergelegacy.h \ - gimpoperationhardlightlegacy.c \ - gimpoperationhardlightlegacy.h \ - gimpoperationhslcolorlegacy.c \ - gimpoperationhslcolorlegacy.h \ - gimpoperationhsvhuelegacy.c \ - gimpoperationhsvhuelegacy.h \ - gimpoperationhsvsaturationlegacy.c \ - gimpoperationhsvsaturationlegacy.h \ - gimpoperationhsvvaluelegacy.c \ - gimpoperationhsvvaluelegacy.h \ - gimpoperationlightenonlylegacy.c \ - gimpoperationlightenonlylegacy.h \ - gimpoperationmultiplylegacy.c \ - gimpoperationmultiplylegacy.h \ - gimpoperationscreenlegacy.c \ - gimpoperationscreenlegacy.h \ - gimpoperationsoftlightlegacy.c \ - gimpoperationsoftlightlegacy.h \ - gimpoperationsubtractlegacy.c \ - gimpoperationsubtractlegacy.h - diff --git a/app/operations/layer-modes/.gitignore b/app/operations/layer-modes/.gitignore deleted file mode 100644 index a1a1a46d1b..0000000000 --- a/app/operations/layer-modes/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/libapplayermodes.a -/libapplayermodes-generic.a -/libapplayermodes-sse2.a -/libapplayermodes-sse4.a diff --git a/app/operations/layer-modes/Makefile.am b/app/operations/layer-modes/Makefile.am deleted file mode 100644 index 24af8fe6f2..0000000000 --- a/app/operations/layer-modes/Makefile.am +++ /dev/null @@ -1,79 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-Layer-Modes\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(CAIRO_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = \ - libapplayermodes-generic.a \ - libapplayermodes-sse2.a \ - libapplayermodes-sse4.a \ - libapplayermodes.a - -libapplayermodes_generic_a_sources = \ - gimp-layer-modes.c \ - gimp-layer-modes.h \ - \ - gimpoperationlayermode.c \ - gimpoperationlayermode.h \ - gimpoperationlayermode-blend.c \ - gimpoperationlayermode-blend.h \ - gimpoperationlayermode-composite.c \ - gimpoperationlayermode-composite.h \ - \ - gimpoperationantierase.c \ - gimpoperationantierase.h \ - gimpoperationbehind.c \ - gimpoperationbehind.h \ - gimpoperationdissolve.c \ - gimpoperationdissolve.h \ - gimpoperationerase.c \ - gimpoperationerase.h \ - gimpoperationmerge.c \ - gimpoperationmerge.h \ - gimpoperationnormal.c \ - gimpoperationnormal.h \ - gimpoperationpassthrough.c \ - gimpoperationpassthrough.h \ - gimpoperationreplace.c \ - gimpoperationreplace.h \ - gimpoperationsplit.c \ - gimpoperationsplit.h - -libapplayermodes_sse2_a_sources = \ - gimpoperationlayermode-composite-sse2.c \ - \ - gimpoperationnormal-sse2.c - -libapplayermodes_sse4_a_sources = \ - gimpoperationnormal-sse4.c - - -libapplayermodes_generic_a_SOURCES = $(libapplayermodes_generic_a_sources) - -libapplayermodes_sse2_a_SOURCES = $(libapplayermodes_sse2_a_sources) - -libapplayermodes_sse2_a_CFLAGS = $(SSE2_EXTRA_CFLAGS) - -libapplayermodes_sse4_a_SOURCES = $(libapplayermodes_sse4_a_sources) - -libapplayermodes_sse4_a_CFLAGS = $(SSE4_1_EXTRA_CFLAGS) - -libapplayermodes_a_SOURCES = - - -libapplayermodes.a: libapplayermodes-generic.a \ - libapplayermodes-sse2.a \ - libapplayermodes-sse4.a - $(AR) $(ARFLAGS) libapplayermodes.a \ - $(libapplayermodes_generic_a_OBJECTS) \ - $(libapplayermodes_sse2_a_OBJECTS) \ - $(libapplayermodes_sse4_a_OBJECTS) - $(RANLIB) libapplayermodes.a diff --git a/app/operations/tests/.gitignore b/app/operations/tests/.gitignore deleted file mode 100644 index c96891f93f..0000000000 --- a/app/operations/tests/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -.deps -.libs -/output -Makefile -Makefile.in -test-operations* \ No newline at end of file diff --git a/app/operations/tests/Makefile.am b/app/operations/tests/Makefile.am deleted file mode 100644 index 0d9528c132..0000000000 --- a/app/operations/tests/Makefile.am +++ /dev/null @@ -1,70 +0,0 @@ -#TESTS = test-operations - -EXTRA_PROGRAMS = $(TESTS) -CLEANFILES = $(EXTRA_PROGRAMS) - -$(TESTS): output-dir - -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la -libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimpthumb = $(top_builddir)/libgimpthumb/libgimpthumb-$(GIMP_API_VERSION).la - -if OS_WIN32 -else -libm = -lm -endif - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(top_srcdir)/app \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -# We need this due to circular dependencies, see more detailed -# comments about it in app/Makefile.am -AM_LDFLAGS = \ - -Wl,-u,$(SYMPREFIX)xcf_init \ - -Wl,-u,$(SYMPREFIX)internal_procs_init \ - -Wl,-u,$(SYMPREFIX)gimp_plug_in_manager_restore \ - -Wl,-u,$(SYMPREFIX)gimp_vectors_undo_get_type \ - -Wl,-u,$(SYMPREFIX)gimp_vectors_mod_undo_get_type \ - -Wl,-u,$(SYMPREFIX)gimp_vectors_prop_undo_get_type - -# Note that we have some duplicate entries here too to work around -# circular dependencies and systems on the same architectural layer as -# an alternative to LDFLAGS above -LDADD = \ - $(top_builddir)/app/xcf/libappxcf.a \ - $(top_builddir)/app/pdb/libappinternal-procs.a \ - $(top_builddir)/app/pdb/libapppdb.a \ - $(top_builddir)/app/plug-in/libappplug-in.a \ - $(top_builddir)/app/vectors/libappvectors.a \ - $(top_builddir)/app/core/libappcore.a \ - $(top_builddir)/app/file/libappfile.a \ - $(top_builddir)/app/text/libapptext.a \ - $(top_builddir)/app/paint/libapppaint.a \ - $(top_builddir)/app/config/libappconfig.a \ - $(top_builddir)/app/libapp.a \ - $(top_builddir)/app/gegl/libappgegl.a \ - $(top_builddir)/app/operations/libappoperations.a \ - $(libgimpconfig) \ - $(libgimpmath) \ - $(libgimpthumb) \ - $(libgimpcolor) \ - $(libgimpmodule) \ - $(libgimpbase) \ - $(GDK_PIXBUF_LIBS) \ - $(PANGOCAIRO_LIBS) \ - $(GEGL_LIBS) \ - $(GLIB_LIBS) \ - $(libm) - -output-dir: - mkdir -p output - -clean-local: - rm -rf output diff --git a/app/paint/.gitignore b/app/paint/.gitignore deleted file mode 100644 index 59a71ff4d2..0000000000 --- a/app/paint/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/*.lo -/libapppaint.a -/libapppaint.la -/xgen-pec diff --git a/app/paint/Makefile.am b/app/paint/Makefile.am deleted file mode 100644 index df3efd75a8..0000000000 --- a/app/paint/Makefile.am +++ /dev/null @@ -1,128 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-Paint\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(CAIRO_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - $(LIBMYPAINT_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = libapppaint.a - -libapppaint_a_sources = \ - paint-enums.h \ - paint-types.h \ - gimp-paint.c \ - gimp-paint.h \ - gimpairbrush.c \ - gimpairbrush.h \ - gimpairbrushoptions.c \ - gimpairbrushoptions.h \ - gimpbrushcore.c \ - gimpbrushcore.h \ - gimpbrushcore-loops.cc \ - gimpbrushcore-loops.h \ - gimpbrushcore-kernels.h \ - gimpclone.c \ - gimpclone.h \ - gimpcloneoptions.c \ - gimpcloneoptions.h \ - gimpconvolve.c \ - gimpconvolve.h \ - gimpconvolveoptions.c \ - gimpconvolveoptions.h \ - gimpdodgeburn.c \ - gimpdodgeburn.h \ - gimpdodgeburnoptions.c \ - gimpdodgeburnoptions.h \ - gimperaser.c \ - gimperaser.h \ - gimperaseroptions.c \ - gimperaseroptions.h \ - gimpheal.c \ - gimpheal.h \ - gimpink.c \ - gimpink.h \ - gimpink-blob.c \ - gimpink-blob.h \ - gimpinkoptions.c \ - gimpinkoptions.h \ - gimpinkundo.c \ - gimpinkundo.h \ - gimpmybrushcore.c \ - gimpmybrushcore.h \ - gimpmybrushoptions.c \ - gimpmybrushoptions.h \ - gimpmybrushsurface.c \ - gimpmybrushsurface.h \ - gimppaintcore.c \ - gimppaintcore.h \ - gimppaintcore-loops.cc \ - gimppaintcore-loops.h \ - gimppaintcore-stroke.c \ - gimppaintcore-stroke.h \ - gimppaintcoreundo.c \ - gimppaintcoreundo.h \ - gimppaintoptions.c \ - gimppaintoptions.h \ - gimppencil.c \ - gimppencil.h \ - gimppenciloptions.c \ - gimppenciloptions.h \ - gimppaintbrush.c \ - gimppaintbrush.h \ - gimpperspectiveclone.c \ - gimpperspectiveclone.h \ - gimpperspectivecloneoptions.c \ - gimpperspectivecloneoptions.h \ - gimpsmudge.c \ - gimpsmudge.h \ - gimpsmudgeoptions.c \ - gimpsmudgeoptions.h \ - gimpsourcecore.c \ - gimpsourcecore.h \ - gimpsourceoptions.c \ - gimpsourceoptions.h - -libapppaint_a_built_sources = paint-enums.c - -libapppaint_a_SOURCES = $(libapppaint_a_built_sources) $(libapppaint_a_sources) - -# -# rules to generate built sources -# -# setup autogeneration dependencies -gen_sources = stamp-paint-enums.h xgen-pec -CLEANFILES = $(gen_sources) - -xgen-pec: $(srcdir)/paint-enums.h $(GIMP_MKENUMS) Makefile.am - $(AM_V_GEN) $(GIMP_MKENUMS) \ - --fhead "#include \"stamp-paint-enums.h\"\n#include \"config.h\"\n#include \n#include \"libgimpbase/gimpbase.h\"\n#include \"paint-enums.h\"\n#include \"gimp-intl.h\"" \ - --fprod "\n/* enumerations from \"@basename@\" */" \ - --vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n" \ - --dhead " static const Gimp@Type@Desc descs[] =\n {" \ - --dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ },@if ('@valueabbrev@' ne 'NULL')@\n /* Translators: this is an abbreviated version of @valueudesc@.\n Keep it short. */\n { @VALUENAME@, @valueabbrev@, NULL },@endif@" \ - --dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \ - $< > $@ - -stamp-paint-enums.h: xgen-pec - echo "/* Generated on `date`. */" > $@ - -# copy the generated enum file back to the source directory only if it's -# changed; otherwise, only update its timestamp, so that the recipe isn't -# executed again on the next build, however, allow this to (harmlessly) fail, -# to support building from a read-only source tree. -$(srcdir)/paint-enums.c: xgen-pec stamp-paint-enums.h - $(AM_V_GEN) if ! cmp -s $< $@; then \ - cp $< $@; \ - else \ - touch $@ 2> /dev/null \ - || true; \ - fi diff --git a/app/pdb/.gitignore b/app/pdb/.gitignore deleted file mode 100644 index 1cc89fae06..0000000000 --- a/app/pdb/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/*.lo -/libapppdb.a -/libapppdb.la -/libappinternal-procs.a diff --git a/app/pdb/Makefile.am b/app/pdb/Makefile.am deleted file mode 100644 index 7b4a0971ab..0000000000 --- a/app/pdb/Makefile.am +++ /dev/null @@ -1,91 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-PDB\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_builddir)/pdb \ - -I$(top_srcdir)/app \ - $(CAIRO_CFLAGS) \ - $(PANGOCAIRO_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = libapppdb.a libappinternal-procs.a - -libapppdb_a_SOURCES = \ - pdb-types.h \ - \ - gimp-pdb-compat.c \ - gimp-pdb-compat.h \ - gimppdb.c \ - gimppdb.h \ - gimppdb-query.c \ - gimppdb-query.h \ - gimppdb-utils.c \ - gimppdb-utils.h \ - gimppdbcontext.c \ - gimppdbcontext.h \ - gimppdberror.c \ - gimppdberror.h \ - gimpprocedure.c \ - gimpprocedure.h - -libappinternal_procs_a_SOURCES = \ - internal-procs.c \ - internal-procs.h \ - brush-cmds.c \ - brush-select-cmds.c \ - brushes-cmds.c \ - buffer-cmds.c \ - channel-cmds.c \ - context-cmds.c \ - debug-cmds.c \ - display-cmds.c \ - drawable-cmds.c \ - drawable-color-cmds.c \ - drawable-edit-cmds.c \ - dynamics-cmds.c \ - edit-cmds.c \ - file-cmds.c \ - floating-sel-cmds.c \ - font-cmds.c \ - font-select-cmds.c \ - fonts-cmds.c \ - gimp-cmds.c \ - gimprc-cmds.c \ - gradient-cmds.c \ - gradient-select-cmds.c \ - gradients-cmds.c \ - help-cmds.c \ - image-cmds.c \ - image-color-profile-cmds.c \ - image-convert-cmds.c \ - image-grid-cmds.c \ - image-guides-cmds.c \ - image-sample-points-cmds.c \ - image-select-cmds.c \ - image-transform-cmds.c \ - image-undo-cmds.c \ - item-cmds.c \ - item-transform-cmds.c \ - layer-cmds.c \ - message-cmds.c \ - paint-tools-cmds.c \ - palette-cmds.c \ - palette-select-cmds.c \ - palettes-cmds.c \ - pattern-cmds.c \ - pattern-select-cmds.c \ - patterns-cmds.c \ - pdb-cmds.c \ - plug-in-cmds.c \ - plug-in-compat-cmds.c \ - progress-cmds.c \ - selection-cmds.c \ - text-layer-cmds.c \ - text-tool-cmds.c \ - unit-cmds.c \ - vectors-cmds.c diff --git a/app/plug-in/.gitignore b/app/plug-in/.gitignore deleted file mode 100644 index 2d60a9c0a2..0000000000 --- a/app/plug-in/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/*.lo -/libappplug-in.a -/libappplug-in.la -/xgen-pec diff --git a/app/plug-in/Makefile.am b/app/plug-in/Makefile.am deleted file mode 100644 index e2df71eb39..0000000000 --- a/app/plug-in/Makefile.am +++ /dev/null @@ -1,106 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-Plug-In\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(CAIRO_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = libappplug-in.a - -libappplug_in_a_SOURCES = \ - plug-in-enums.c \ - plug-in-enums.h \ - plug-in-types.h \ - \ - gimpenvirontable.c \ - gimpenvirontable.h \ - gimpgpparams.c \ - gimpinterpreterdb.c \ - gimpinterpreterdb.h \ - gimpplugindebug.c \ - gimpplugindebug.h \ - gimpplugin.c \ - gimpplugin.h \ - gimpplugin-cleanup.c \ - gimpplugin-cleanup.h \ - gimpplugin-context.c \ - gimpplugin-context.h \ - gimpplugin-message.c \ - gimpplugin-message.h \ - gimpplugin-proc.c \ - gimpplugin-proc.h \ - gimpplugin-progress.c \ - gimpplugin-progress.h \ - gimpplugindef.c \ - gimpplugindef.h \ - gimppluginerror.c \ - gimppluginerror.h \ - gimppluginmanager.c \ - gimppluginmanager.h \ - gimppluginmanager-call.c \ - gimppluginmanager-call.h \ - gimppluginmanager-data.c \ - gimppluginmanager-data.h \ - gimppluginmanager-file.c \ - gimppluginmanager-file.h \ - gimppluginmanager-help-domain.c \ - gimppluginmanager-help-domain.h \ - gimppluginmanager-menu-branch.c \ - gimppluginmanager-menu-branch.h \ - gimppluginmanager-query.c \ - gimppluginmanager-query.h \ - gimppluginmanager-restore.c \ - gimppluginmanager-restore.h \ - gimppluginprocedure.c \ - gimppluginprocedure.h \ - gimppluginprocframe.c \ - gimppluginprocframe.h \ - gimppluginshm.c \ - gimppluginshm.h \ - gimptemporaryprocedure.c \ - gimptemporaryprocedure.h \ - \ - plug-in-menu-path.c \ - plug-in-menu-path.h \ - plug-in-rc.c \ - plug-in-rc.h - -# -# rules to generate built sources -# -# setup autogeneration dependencies -gen_sources = stamp-plug-in-enums.h xgen-pec -CLEANFILES = $(EXTRA_PROGRAMS) $(gen_sources) - -xgen-pec: $(srcdir)/plug-in-enums.h $(GIMP_MKENUMS) Makefile.am - $(AM_V_GEN) $(GIMP_MKENUMS) \ - --fhead "#include \"stamp-plug-in-enums.h\"\n#include \"config.h\"\n#include \n#include \"libgimpbase/gimpbase.h\"\n#include \"plug-in-enums.h\"\n#include \"gimp-intl.h\"" \ - --fprod "\n/* enumerations from \"@basename@\" */" \ - --vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n" \ - --dhead " static const Gimp@Type@Desc descs[] =\n {" \ - --dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ },@if ('@valueabbrev@' ne 'NULL')@\n /* Translators: this is an abbreviated version of @valueudesc@.\n Keep it short. */\n { @VALUENAME@, @valueabbrev@, NULL },@endif@" \ - --dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \ - $< > $@ - -stamp-plug-in-enums.h: xgen-pec - echo "/* Generated on `date`. */" > $@ - -# copy the generated enum file back to the source directory only if it's -# changed; otherwise, only update its timestamp, so that the recipe isn't -# executed again on the next build, however, allow this to (harmlessly) fail, -# to support building from a read-only source tree. -$(srcdir)/plug-in-enums.c: xgen-pec stamp-plug-in-enums.h - $(AM_V_GEN) if ! cmp -s $< $@; then \ - cp $< $@; \ - else \ - touch $@ 2> /dev/null \ - || true; \ - fi diff --git a/app/propgui/.gitignore b/app/propgui/.gitignore deleted file mode 100644 index 5839592fa1..0000000000 --- a/app/propgui/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/*.lo -/libapppropgui.a -/libapppropgui.la diff --git a/app/propgui/Makefile.am b/app/propgui/Makefile.am deleted file mode 100644 index 0f64ee77f8..0000000000 --- a/app/propgui/Makefile.am +++ /dev/null @@ -1,63 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CPPFLAGS = \ - -DISO_CODES_LOCATION=\"$(ISO_CODES_LOCATION)\" \ - -DISO_CODES_LOCALEDIR=\"$(ISO_CODES_LOCALEDIR)\" \ - -DG_LOG_DOMAIN=\"Gimp-PropGUI\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(GEGL_CFLAGS) \ - $(GTK_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = libapppropgui.a - -libapppropgui_a_SOURCES = \ - propgui-types.h \ - \ - gimppropgui.c \ - gimppropgui.h \ - gimppropgui-channel-mixer.c \ - gimppropgui-channel-mixer.h \ - gimppropgui-color-balance.c \ - gimppropgui-color-balance.h \ - gimppropgui-color-rotate.c \ - gimppropgui-color-rotate.h \ - gimppropgui-color-to-alpha.c \ - gimppropgui-color-to-alpha.h \ - gimppropgui-convolution-matrix.c \ - gimppropgui-convolution-matrix.h \ - gimppropgui-diffraction-patterns.c \ - gimppropgui-diffraction-patterns.h \ - gimppropgui-eval.c \ - gimppropgui-eval.h \ - gimppropgui-focus-blur.c \ - gimppropgui-focus-blur.h \ - gimppropgui-generic.c \ - gimppropgui-generic.h \ - gimppropgui-hue-saturation.c \ - gimppropgui-hue-saturation.h \ - gimppropgui-motion-blur-circular.c \ - gimppropgui-motion-blur-circular.h \ - gimppropgui-motion-blur-linear.c \ - gimppropgui-motion-blur-linear.h \ - gimppropgui-motion-blur-zoom.c \ - gimppropgui-motion-blur-zoom.h \ - gimppropgui-newsprint.c \ - gimppropgui-newsprint.h \ - gimppropgui-panorama-projection.c \ - gimppropgui-panorama-projection.h \ - gimppropgui-recursive-transform.c \ - gimppropgui-recursive-transform.h \ - gimppropgui-shadows-highlights.c \ - gimppropgui-shadows-highlights.h \ - gimppropgui-spiral.c \ - gimppropgui-spiral.h \ - gimppropgui-supernova.c \ - gimppropgui-supernova.h \ - gimppropgui-utils.c \ - gimppropgui-utils.h \ - gimppropgui-vignette.c \ - gimppropgui-vignette.h diff --git a/app/tests/.gitignore b/app/tests/.gitignore deleted file mode 100644 index ba0e1c5f55..0000000000 --- a/app/tests/.gitignore +++ /dev/null @@ -1,21 +0,0 @@ -.deps -.libs -/gimpdir-output -Makefile -Makefile.in -libgimpapptestutils.a -test-core* -test-gimpidtable* -test-gimptilebackendtilemanager* -test-layer-grouping* -test-save-and-export* -test-session-2-8-compatibility-multi-window* -test-session-2-8-compatibility-single-window* -test-single-window-mode* -test-tools* -test-ui* -test-window-management* -test-xcf* -/*.trs -/*.log -/gimp-test-icon-theme diff --git a/app/tests/Makefile.am b/app/tests/Makefile.am deleted file mode 100644 index 7d4aae6be4..0000000000 --- a/app/tests/Makefile.am +++ /dev/null @@ -1,176 +0,0 @@ -# Prevent parallel builds for the tests, as e.g. done by make -j check -# The tests must not be run in parallel or in a different order as specified -.NOTPARALLEL: check - -if PLATFORM_OSX -xobjective_c = "-xobjective-c" -xobjective_cxx = "-xobjective-c++" -xnone = "-xnone" -endif - -SUBDIRS = \ - files \ - gimpdir \ - gimpdir-empty - -# Don't mess with user's gimpdir. Pass in the abs top srcdir to the -# tests through an environment variable so they can set the gimpdir -# they want to use -TESTS_ENVIRONMENT = \ - GIMP_TESTING_ABS_TOP_SRCDIR=@abs_top_srcdir@ \ - GIMP_TESTING_ABS_TOP_BUILDDIR=@abs_top_builddir@ \ - GIMP_TESTING_PLUGINDIRS=@abs_top_builddir@/plug-ins/common \ - GIMP_TESTING_PLUGINDIRS_BASENAME_IGNORES=mkgen.pl - -# Run tests with xvfb-run if available -if HAVE_XVFB_RUN -TESTS_ENVIRONMENT += $(XVFB_RUN) --auto-servernum --server-args="-screen 0 1280x1024x24" -endif - - -TESTS = \ - test-core \ - test-gimpidtable \ - test-save-and-export \ - test-single-window-mode \ - test-ui \ - test-xcf - -# 3 tests disabled: -#test-tools -#test-session-2-8-compatibility-multi-window -#test-session-2-8-compatibility-single-window - -EXTRA_PROGRAMS = $(TESTS) -CLEANFILES = $(EXTRA_PROGRAMS) - -$(TESTS): gimpdir-output gimp-test-icon-theme - -noinst_LIBRARIES = libgimpapptestutils.a -libgimpapptestutils_a_SOURCES = \ - gimp-app-test-utils.c \ - gimp-app-test-utils.h \ - gimp-test-session-utils.c \ - gimp-test-session-utils.h \ - tests.c \ - tests.h - -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la -libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimpthumb = $(top_builddir)/libgimpthumb/libgimpthumb-$(GIMP_API_VERSION).la - -if PLATFORM_LINUX -libdl = -ldl -endif - -if OS_WIN32 -else -libm = -lm -endif - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(top_srcdir)/app \ - $(PANGOCAIRO_CFLAGS) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(xobjective_c) \ - -I$(includedir) - -# We need this due to circular dependencies -AM_LDFLAGS = \ - -Wl,-u,$(SYMPREFIX)gimp_vectors_undo_get_type \ - -Wl,-u,$(SYMPREFIX)gimp_vectors_mod_undo_get_type \ - -Wl,-u,$(SYMPREFIX)gimp_config_param_spec_duplicate \ - -Wl,-u,$(SYMPREFIX)gimp_operations_init \ - -Wl,-u,$(SYMPREFIX)xcf_init \ - -Wl,-u,$(SYMPREFIX)internal_procs_init \ - -Wl,-u,$(SYMPREFIX)gimp_pdb_compat_procs_register \ - -Wl,-u,$(SYMPREFIX)gimp_plug_in_manager_restore \ - -Wl,-u,$(SYMPREFIX)gimp_layer_mode_is_legacy \ - -Wl,-u,$(SYMPREFIX)gui_init \ - -Wl,-u,$(SYMPREFIX)gimp_tool_cursors_get_resource \ - -Wl,-u,$(SYMPREFIX)gimp_lebl_dialog - -# Note that we have some duplicate entries here too to work around -# circular dependencies and systems on the same architectural layer as -# an alternative to LDFLAGS above -LDADD = \ - ../gui/libappgui.a \ - ../tools/libapptools.a \ - ../dialogs/libappdialogs.a \ - ../menus/libappmenus.a \ - ../actions/libappactions.a \ - ../dialogs/libappdialogs.a \ - ../display/libappdisplay.a \ - ../propgui/libapppropgui.a \ - ../widgets/libappwidgets.a \ - ../xcf/libappxcf.a \ - ../pdb/libappinternal-procs.a \ - ../pdb/libapppdb.a \ - ../plug-in/libappplug-in.a \ - ../vectors/libappvectors.a \ - ../core/libappcore.a \ - ../file/libappfile.a \ - ../file-data/libappfile-data.a \ - ../text/libapptext.a \ - ../paint/libapppaint.a \ - ../config/libappconfig.a \ - ../libapp.a \ - ../operations/libappoperations.a \ - ../operations/layer-modes/libapplayermodes.a \ - ../operations/layer-modes-legacy/libapplayermodeslegacy.a \ - libgimpapptestutils.a \ - ../gegl/libappgegl.a \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimpmath) \ - $(libgimpthumb) \ - $(libgimpcolor) \ - $(libgimpmodule) \ - $(libgimpbase) \ - $(GIMPICONRC) \ - $(GTK_LIBS) \ - $(APPSTREAM_GLIB_LIBS) \ - $(GTK_MAC_INTEGRATION_LIBS) \ - $(GDK_PIXBUF_LIBS) \ - $(FREETYPE_LIBS) \ - $(FONTCONFIG_LIBS) \ - $(PANGOCAIRO_LIBS) \ - $(HARFBUZZ_LIBS) \ - $(CAIRO_LIBS) \ - $(GEGL_LIBS) \ - $(GIO_LIBS) \ - $(GEXIV2_LIBS) \ - $(Z_LIBS) \ - $(JSON_C_LIBS) \ - $(LIBARCHIVE_LIBS) \ - $(LIBMYPAINT_LIBS) \ - $(LIBBACKTRACE_LIBS) \ - $(LIBUNWIND_LIBS) \ - $(INTLLIBS) \ - $(RT_LIBS) \ - $(libm) \ - $(libdl) - -gimpdir-output: - mkdir -p gimpdir-output - mkdir -p gimpdir-output/brushes - mkdir -p gimpdir-output/patterns - mkdir -p gimpdir-output/gradients - -gimp-test-icon-theme: - mkdir -p $$(echo $$(find $(top_srcdir)/icons/Color -name [0-9][0-9] -type d | sed 's@.*/\([0-9][0-9]\)$$@gimp-test-icon-theme/hicolor/\1x\1@')) - for dir in $$(echo $$(find $(top_srcdir)/icons/Color/ -name [0-9][0-9] -type d | sed 's@.*/\([0-9][0-9]\)$$@\1@')); do \ - (cd gimp-test-icon-theme/hicolor/$${dir}x$${dir}/ && \ - $(LN_S) $(abs_top_srcdir)/icons/Color/$${dir} apps); \ - done - (cd gimp-test-icon-theme/hicolor && $(LN_S) $(abs_top_srcdir)/icons/Color/index.theme index.theme) - -clean-local: - rm -rf gimpdir-output - rm -fr gimp-test-icon-theme diff --git a/app/tests/files/Makefile.am b/app/tests/files/Makefile.am deleted file mode 100644 index 7ab51e14c9..0000000000 --- a/app/tests/files/Makefile.am +++ /dev/null @@ -1,2 +0,0 @@ -EXTRA_DIST = \ - gimp-2-6-file.xcf diff --git a/app/tests/gimpdir-empty/.gitignore b/app/tests/gimpdir-empty/.gitignore deleted file mode 100644 index 04f05da19d..0000000000 --- a/app/tests/gimpdir-empty/.gitignore +++ /dev/null @@ -1,11 +0,0 @@ -/colorrc -/controllerrc -/dockrc -/shortcutsrc -/parasiterc -/pluginrc -/sessionrc -/templaterc -/themerc -/toolrc -/unitrc diff --git a/app/tests/gimpdir-empty/Makefile.am b/app/tests/gimpdir-empty/Makefile.am deleted file mode 100644 index f3f9ed620c..0000000000 --- a/app/tests/gimpdir-empty/Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ -SUBDIRS = \ - brushes \ - gradients \ - patterns - -EXTRA_DIST = \ - tags.xml diff --git a/app/tests/gimpdir-empty/brushes/.gitignore b/app/tests/gimpdir-empty/brushes/.gitignore deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/app/tests/gimpdir-empty/brushes/Makefile.am b/app/tests/gimpdir-empty/brushes/Makefile.am deleted file mode 100644 index 8fbc147480..0000000000 --- a/app/tests/gimpdir-empty/brushes/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -# We only need the dir itself diff --git a/app/tests/gimpdir-empty/gradients/.gitignore b/app/tests/gimpdir-empty/gradients/.gitignore deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/app/tests/gimpdir-empty/gradients/Makefile.am b/app/tests/gimpdir-empty/gradients/Makefile.am deleted file mode 100644 index 8fbc147480..0000000000 --- a/app/tests/gimpdir-empty/gradients/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -# We only need the dir itself diff --git a/app/tests/gimpdir-empty/patterns/.gitignore b/app/tests/gimpdir-empty/patterns/.gitignore deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/app/tests/gimpdir-empty/patterns/Makefile.am b/app/tests/gimpdir-empty/patterns/Makefile.am deleted file mode 100644 index 8fbc147480..0000000000 --- a/app/tests/gimpdir-empty/patterns/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -# We only need the dir itself diff --git a/app/tests/gimpdir/.gitignore b/app/tests/gimpdir/.gitignore deleted file mode 100644 index 7c7f4aa9d4..0000000000 --- a/app/tests/gimpdir/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/colorrc -/controllerrc -/shortcutsrc -/parasiterc -/pluginrc -/templaterc -/themerc -/toolrc -/unitrc diff --git a/app/tests/gimpdir/Makefile.am b/app/tests/gimpdir/Makefile.am deleted file mode 100644 index 5a86a737cb..0000000000 --- a/app/tests/gimpdir/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -SUBDIRS = \ - brushes \ - gradients \ - patterns - -EXTRA_DIST = \ - dockrc \ - dockrc-2-8 \ - dockrc-expected \ - sessionrc \ - sessionrc-2-8-multi-window \ - sessionrc-2-8-single-window \ - sessionrc-expected-multi-window \ - sessionrc-expected-single-window \ - tags.xml diff --git a/app/tests/gimpdir/brushes/.gitignore b/app/tests/gimpdir/brushes/.gitignore deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/app/tests/gimpdir/brushes/Makefile.am b/app/tests/gimpdir/brushes/Makefile.am deleted file mode 100644 index 8fbc147480..0000000000 --- a/app/tests/gimpdir/brushes/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -# We only need the dir itself diff --git a/app/tests/gimpdir/gradients/.gitignore b/app/tests/gimpdir/gradients/.gitignore deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/app/tests/gimpdir/gradients/Makefile.am b/app/tests/gimpdir/gradients/Makefile.am deleted file mode 100644 index 8fbc147480..0000000000 --- a/app/tests/gimpdir/gradients/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -# We only need the dir itself diff --git a/app/tests/gimpdir/patterns/.gitignore b/app/tests/gimpdir/patterns/.gitignore deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/app/tests/gimpdir/patterns/Makefile.am b/app/tests/gimpdir/patterns/Makefile.am deleted file mode 100644 index 8fbc147480..0000000000 --- a/app/tests/gimpdir/patterns/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -# We only need the dir itself diff --git a/app/text/.gitignore b/app/text/.gitignore deleted file mode 100644 index 0e2b6a171c..0000000000 --- a/app/text/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/*.lo -/libapptext.a -/libapptext.la -/xgen-tec diff --git a/app/text/Makefile.am b/app/text/Makefile.am deleted file mode 100644 index f34bb21acd..0000000000 --- a/app/text/Makefile.am +++ /dev/null @@ -1,83 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-Text\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(GEGL_CFLAGS) \ - $(PANGOCAIRO_CFLAGS) \ - $(HARFBUZZ_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = libapptext.a - -libapptext_a_sources = \ - text-types.h \ - text-enums.h \ - gimpfont.c \ - gimpfont.h \ - gimpfontfactory.c \ - gimpfontfactory.h \ - gimptext.c \ - gimptext.h \ - gimptext-compat.c \ - gimptext-compat.h \ - gimptext-parasite.c \ - gimptext-parasite.h \ - gimptext-vectors.c \ - gimptext-vectors.h \ - gimptext-xlfd.c \ - gimptext-xlfd.h \ - gimptextlayer.c \ - gimptextlayer.h \ - gimptextlayer-transform.c \ - gimptextlayer-transform.h \ - gimptextlayer-xcf.c \ - gimptextlayer-xcf.h \ - gimptextlayout.c \ - gimptextlayout.h \ - gimptextlayout-render.c \ - gimptextlayout-render.h \ - gimptextundo.c \ - gimptextundo.h - -libapptext_a_built_sources = text-enums.c - -libapptext_a_SOURCES = $(libapptext_a_built_sources) $(libapptext_a_sources) - -# -# rules to generate built sources -# -# setup autogeneration dependencies -gen_sources = stamp-text-enums.h xgen-tec -CLEANFILES = $(gen_sources) - -xgen-tec: $(srcdir)/text-enums.h $(GIMP_MKENUMS) Makefile.am - $(AM_V_GEN) $(GIMP_MKENUMS) \ - --fhead "#include \"stamp-text-enums.h\"\n#include \"config.h\"\n#include \n#include \"libgimpbase/gimpbase.h\"\n#include \"text-enums.h\"\n#include \"gimp-intl.h\"" \ - --fprod "\n/* enumerations from \"@basename@\" */" \ - --vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n" \ - --dhead " static const Gimp@Type@Desc descs[] =\n {" \ - --dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ },@if ('@valueabbrev@' ne 'NULL')@\n /* Translators: this is an abbreviated version of @valueudesc@.\n Keep it short. */\n { @VALUENAME@, @valueabbrev@, NULL },@endif@" \ - --dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \ - $< > $@ - -stamp-text-enums.h: xgen-tec - echo "/* Generated on `date`. */" > $@ - -# copy the generated enum file back to the source directory only if it's -# changed; otherwise, only update its timestamp, so that the recipe isn't -# executed again on the next build, however, allow this to (harmlessly) fail, -# to support building from a read-only source tree. -$(srcdir)/text-enums.c: xgen-tec stamp-text-enums.h - $(AM_V_GEN) if ! cmp -s $< $@; then \ - cp $< $@; \ - else \ - touch $@ 2> /dev/null \ - || true; \ - fi diff --git a/app/tools/.gitignore b/app/tools/.gitignore deleted file mode 100644 index 259f6a807a..0000000000 --- a/app/tools/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/*.lo -/libapptools.a -/libapptools.la -/xgen-tec diff --git a/app/tools/Makefile.am b/app/tools/Makefile.am deleted file mode 100644 index 455d0cf8e9..0000000000 --- a/app/tools/Makefile.am +++ /dev/null @@ -1,282 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-Tools\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(GEGL_CFLAGS) \ - $(GTK_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = libapptools.a - -libapptools_a_sources = \ - tools-enums.h \ - tools-types.h \ - gimp-tool-options-manager.c \ - gimp-tool-options-manager.h \ - gimp-tools.c \ - gimp-tools.h \ - tool_manager.c \ - tool_manager.h \ - \ - gimpairbrushtool.c \ - gimpairbrushtool.h \ - gimpalignoptions.c \ - gimpalignoptions.h \ - gimpaligntool.c \ - gimpaligntool.h \ - gimpbrightnesscontrasttool.c \ - gimpbrightnesscontrasttool.h \ - gimpbrushtool.c \ - gimpbrushtool.h \ - gimpbucketfilloptions.c \ - gimpbucketfilloptions.h \ - gimpbucketfilltool.c \ - gimpbucketfilltool.h \ - gimpbycolorselecttool.c \ - gimpbycolorselecttool.h \ - gimpcageoptions.c \ - gimpcageoptions.h \ - gimpcagetool.c \ - gimpcagetool.h \ - gimpcloneoptions-gui.c \ - gimpcloneoptions-gui.h \ - gimpclonetool.c \ - gimpclonetool.h \ - gimpcoloroptions.c \ - gimpcoloroptions.h \ - gimpcolortool.c \ - gimpcolortool.h \ - gimpcolorpickeroptions.c \ - gimpcolorpickeroptions.h \ - gimpcolorpickertool.c \ - gimpcolorpickertool.h \ - gimpconvolvetool.c \ - gimpconvolvetool.h \ - gimpcropoptions.c \ - gimpcropoptions.h \ - gimpcroptool.c \ - gimpcroptool.h \ - gimpcurvestool.c \ - gimpcurvestool.h \ - gimpdodgeburntool.c \ - gimpdodgeburntool.h \ - gimpdrawtool.c \ - gimpdrawtool.h \ - gimpeditselectiontool.c \ - gimpeditselectiontool.h \ - gimpellipseselecttool.c \ - gimpellipseselecttool.h \ - gimperasertool.c \ - gimperasertool.h \ - gimpfilteroptions.c \ - gimpfilteroptions.h \ - gimpfiltertool.c \ - gimpfiltertool.h \ - gimpfiltertool-settings.c \ - gimpfiltertool-settings.h \ - gimpfiltertool-widgets.c \ - gimpfiltertool-widgets.h \ - gimpflipoptions.c \ - gimpflipoptions.h \ - gimpfliptool.c \ - gimpfliptool.h \ - gimpforegroundselectoptions.c \ - gimpforegroundselectoptions.h \ - gimpforegroundselecttool.c \ - gimpforegroundselecttool.h \ - gimpforegroundselecttoolundo.c \ - gimpforegroundselecttoolundo.h \ - gimpfreeselecttool.c \ - gimpfreeselecttool.h \ - gimpfuzzyselecttool.c \ - gimpfuzzyselecttool.h \ - gimpgegltool.c \ - gimpgegltool.h \ - gimpgenerictransformtool.c \ - gimpgenerictransformtool.h \ - gimpgradientoptions.c \ - gimpgradientoptions.h \ - gimpgradienttool.c \ - gimpgradienttool.h \ - gimpgradienttool-editor.c \ - gimpgradienttool-editor.h \ - gimpguidetool.c \ - gimpguidetool.h \ - gimphandletransformoptions.c \ - gimphandletransformoptions.h \ - gimphandletransformtool.c \ - gimphandletransformtool.h \ - gimphealtool.c \ - gimphealtool.h \ - gimphistogramoptions.c \ - gimphistogramoptions.h \ - gimpinkoptions-gui.c \ - gimpinkoptions-gui.h \ - gimpinktool.c \ - gimpinktool.h \ - gimpiscissorsoptions.c \ - gimpiscissorsoptions.h \ - gimpiscissorstool.c \ - gimpiscissorstool.h \ - gimplevelstool.c \ - gimplevelstool.h \ - gimpoffsettool.c \ - gimpoffsettool.h \ - gimpoperationtool.c \ - gimpoperationtool.h \ - gimpmagnifyoptions.c \ - gimpmagnifyoptions.h \ - gimpmagnifytool.c \ - gimpmagnifytool.h \ - gimpmeasureoptions.c \ - gimpmeasureoptions.h \ - gimpmeasuretool.c \ - gimpmeasuretool.h \ - gimpmoveoptions.c \ - gimpmoveoptions.h \ - gimpmovetool.c \ - gimpmovetool.h \ - gimpmybrushoptions-gui.c \ - gimpmybrushoptions-gui.h \ - gimpmybrushtool.c \ - gimpmybrushtool.h \ - gimpnpointdeformationoptions.c \ - gimpnpointdeformationoptions.h \ - gimpnpointdeformationtool.c \ - gimpnpointdeformationtool.h \ - gimppaintbrushtool.c \ - gimppaintbrushtool.h \ - gimppaintoptions-gui.c \ - gimppaintoptions-gui.h \ - gimppaintselectoptions.c \ - gimppaintselectoptions.h \ - gimppaintselecttool.c \ - gimppaintselecttool.h \ - gimppainttool.c \ - gimppainttool.h \ - gimppainttool-paint.c \ - gimppainttool-paint.h \ - gimppenciltool.c \ - gimppenciltool.h \ - gimpperspectiveclonetool.c \ - gimpperspectiveclonetool.h \ - gimpperspectivetool.c \ - gimpperspectivetool.h \ - gimppolygonselecttool.c \ - gimppolygonselecttool.h \ - gimprectangleselecttool.c \ - gimprectangleselecttool.h \ - gimprectangleselectoptions.c \ - gimprectangleselectoptions.h \ - gimprectangleoptions.c \ - gimprectangleoptions.h \ - gimpregionselectoptions.c \ - gimpregionselectoptions.h \ - gimpregionselecttool.c \ - gimpregionselecttool.h \ - gimprotatetool.c \ - gimprotatetool.h \ - gimpsamplepointtool.c \ - gimpsamplepointtool.h \ - gimpscaletool.c \ - gimpscaletool.h \ - gimpseamlesscloneoptions.c \ - gimpseamlesscloneoptions.h \ - gimpseamlessclonetool.c \ - gimpseamlessclonetool.h \ - gimpselectionoptions.c \ - gimpselectionoptions.h \ - gimpselectiontool.c \ - gimpselectiontool.h \ - gimpsheartool.c \ - gimpsheartool.h \ - gimpsmudgetool.c \ - gimpsmudgetool.h \ - gimpsourcetool.c \ - gimpsourcetool.h \ - gimptextoptions.c \ - gimptextoptions.h \ - gimptexttool.c \ - gimptexttool.h \ - gimptexttool-editor.c \ - gimptexttool-editor.h \ - gimpthresholdtool.c \ - gimpthresholdtool.h \ - gimptilehandleriscissors.c \ - gimptilehandleriscissors.h \ - gimptool.c \ - gimptool.h \ - gimptool-progress.c \ - gimptool-progress.h \ - gimptoolcontrol.c \ - gimptoolcontrol.h \ - gimptooloptions-gui.c \ - gimptooloptions-gui.h \ - gimptools-utils.c \ - gimptools-utils.h \ - gimptransform3doptions.c \ - gimptransform3doptions.h \ - gimptransform3dtool.c \ - gimptransform3dtool.h \ - gimptransformgridoptions.c \ - gimptransformgridoptions.h \ - gimptransformgridtool.c \ - gimptransformgridtool.h \ - gimptransformgridtoolundo.c \ - gimptransformgridtoolundo.h \ - gimptransformoptions.c \ - gimptransformoptions.h \ - gimptransformtool.c \ - gimptransformtool.h \ - gimpunifiedtransformtool.c \ - gimpunifiedtransformtool.h \ - gimpvectoroptions.c \ - gimpvectoroptions.h \ - gimpvectortool.c \ - gimpvectortool.h \ - gimpwarpoptions.c \ - gimpwarpoptions.h \ - gimpwarptool.c \ - gimpwarptool.h - -libapptools_a_built_sources = tools-enums.c - -libapptools_a_SOURCES = $(libapptools_a_built_sources) $(libapptools_a_sources) - -# -# rules to generate built sources -# -# setup autogeneration dependencies -gen_sources = stamp-tools-enums.h xgen-tec -CLEANFILES = $(gen_sources) - -xgen-tec: $(srcdir)/tools-enums.h $(GIMP_MKENUMS) Makefile.am - $(AM_V_GEN) $(GIMP_MKENUMS) \ - --fhead "#include \"stamp-tools-enums.h\"\n#include \"config.h\"\n#include \n#include \"libgimpbase/gimpbase.h\"\n#include \"core/core-enums.h\"\n#include \"tools-enums.h\"\n#include \"gimp-intl.h\"" \ - --fprod "\n/* enumerations from \"@basename@\" */" \ - --vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n" \ - --dhead " static const Gimp@Type@Desc descs[] =\n {" \ - --dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ },@if ('@valueabbrev@' ne 'NULL')@\n /* Translators: this is an abbreviated version of @valueudesc@.\n Keep it short. */\n { @VALUENAME@, @valueabbrev@, NULL },@endif@" \ - --dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \ - $< > $@ - -stamp-tools-enums.h: xgen-tec - echo "/* Generated on `date`. */" > $@ - -# copy the generated enum file back to the source directory only if it's -# changed; otherwise, only update its timestamp, so that the recipe isn't -# executed again on the next build, however, allow this to (harmlessly) fail, -# to support building from a read-only source tree. -$(srcdir)/tools-enums.c: xgen-tec stamp-tools-enums.h - $(AM_V_GEN) if ! cmp -s $< $@; then \ - cp $< $@; \ - else \ - touch $@ 2> /dev/null \ - || true; \ - fi diff --git a/app/vectors/.gitignore b/app/vectors/.gitignore deleted file mode 100644 index 1a2c795c67..0000000000 --- a/app/vectors/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/*.lo -/libappvectors.a -/libappvectors.la diff --git a/app/vectors/Makefile.am b/app/vectors/Makefile.am deleted file mode 100644 index aa6e10d9e1..0000000000 --- a/app/vectors/Makefile.am +++ /dev/null @@ -1,44 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-Vectors\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(CAIRO_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = libappvectors.a - -libappvectors_a_SOURCES = \ - vectors-enums.h \ - vectors-types.h \ - gimpanchor.c \ - gimpanchor.h \ - gimpbezierstroke.h \ - gimpbezierstroke.c \ - gimpstroke.h \ - gimpstroke.c \ - gimpstroke-new.h \ - gimpstroke-new.c \ - gimpvectors.c \ - gimpvectors.h \ - gimpvectors-compat.c \ - gimpvectors-compat.h \ - gimpvectors-export.c \ - gimpvectors-export.h \ - gimpvectors-import.c \ - gimpvectors-import.h \ - gimpvectors-preview.c \ - gimpvectors-preview.h \ - gimpvectors-warp.c \ - gimpvectors-warp.h \ - gimpvectorsmodundo.c \ - gimpvectorsmodundo.h \ - gimpvectorspropundo.c \ - gimpvectorspropundo.h \ - gimpvectorsundo.c \ - gimpvectorsundo.h diff --git a/app/widgets/.gitignore b/app/widgets/.gitignore deleted file mode 100644 index 4d49016db1..0000000000 --- a/app/widgets/.gitignore +++ /dev/null @@ -1,10 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/*.lo -/libappwidgets.a -/libappwidgets.la -/xgen-wec -/gimp-tool-cursors.c -/gimp-tool-cursors.h diff --git a/app/widgets/Makefile.am b/app/widgets/Makefile.am deleted file mode 100644 index a2d5ced832..0000000000 --- a/app/widgets/Makefile.am +++ /dev/null @@ -1,544 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if PLATFORM_OSX -xobjective_c = "-xobjective-c" -xobjective_cxx = "-xobjective-c++" -xnone = "-xnone" -endif - -AM_CPPFLAGS = \ - -DISO_CODES_LOCATION=\"$(ISO_CODES_LOCATION)\" \ - -DISO_CODES_LOCALEDIR=\"$(ISO_CODES_LOCALEDIR)\" \ - -DG_LOG_DOMAIN=\"Gimp-Widgets\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(GEGL_CFLAGS) \ - $(GTK_CFLAGS) \ - -I$(includedir) - -AM_CFLAGS = \ - $(xobjective_c) - -AM_CXXFLAGS = \ - $(xobjective_cxx) - -AM_LDFLAGS = \ - $(xnone) - -noinst_LIBRARIES = libappwidgets.a - -libappwidgets_a_sources = \ - widgets-enums.h \ - widgets-types.h \ - gimpaccellabel.c \ - gimpaccellabel.h \ - gimpaction.c \ - gimpaction.h \ - gimpaction-history.c \ - gimpaction-history.h \ - gimpactioneditor.c \ - gimpactioneditor.h \ - gimpactionfactory.c \ - gimpactionfactory.h \ - gimpactiongroup.c \ - gimpactiongroup.h \ - gimpactionimpl.c \ - gimpactionimpl.h \ - gimpactionview.c \ - gimpactionview.h \ - gimpblobeditor.c \ - gimpblobeditor.h \ - gimpbrusheditor.c \ - gimpbrusheditor.h \ - gimpbrushfactoryview.c \ - gimpbrushfactoryview.h \ - gimpbrushselect.c \ - gimpbrushselect.h \ - gimpbuffersourcebox.c \ - gimpbuffersourcebox.h \ - gimpbufferview.c \ - gimpbufferview.h \ - gimpcairo-wilber.c \ - gimpcairo-wilber.h \ - gimpcellrendererbutton.c \ - gimpcellrendererbutton.h \ - gimpcellrendererdashes.c \ - gimpcellrendererdashes.h \ - gimpcellrendererviewable.c \ - gimpcellrendererviewable.h \ - gimpcircle.c \ - gimpcircle.h \ - gimpchanneltreeview.c \ - gimpchanneltreeview.h \ - gimpclipboard.c \ - gimpclipboard.h \ - gimpcolorbar.c \ - gimpcolorbar.h \ - gimpcolordialog.c \ - gimpcolordialog.h \ - gimpcolordisplayeditor.c \ - gimpcolordisplayeditor.h \ - gimpcoloreditor.c \ - gimpcoloreditor.h \ - gimpcolorframe.c \ - gimpcolorframe.h \ - gimpcolorhistory.c \ - gimpcolorhistory.h \ - gimpcolormapeditor.c \ - gimpcolormapeditor.h \ - gimpcolormapselection.c \ - gimpcolormapselection.h \ - gimpcolorpanel.c \ - gimpcolorpanel.h \ - gimpcolorselectorpalette.c \ - gimpcolorselectorpalette.h \ - gimpcombotagentry.c \ - gimpcombotagentry.h \ - gimpcomponenteditor.c \ - gimpcomponenteditor.h \ - gimpcompressioncombobox.c \ - gimpcompressioncombobox.h \ - gimpcontainerbox.c \ - gimpcontainerbox.h \ - gimpcontainercombobox.c \ - gimpcontainercombobox.h \ - gimpcontainereditor.c \ - gimpcontainereditor.h \ - gimpcontainerentry.c \ - gimpcontainerentry.h \ - gimpcontainericonview.c \ - gimpcontainericonview.h \ - gimpcontainerpopup.c \ - gimpcontainerpopup.h \ - gimpcontainertreestore.c \ - gimpcontainertreestore.h \ - gimpcontainertreeview.c \ - gimpcontainertreeview.h \ - gimpcontainertreeview-dnd.c \ - gimpcontainertreeview-dnd.h \ - gimpcontainertreeview-private.h \ - gimpcontainerview.c \ - gimpcontainerview.h \ - gimpcontainerview-utils.c \ - gimpcontainerview-utils.h \ - gimpcontrollereditor.c \ - gimpcontrollereditor.h \ - gimpcontrollerinfo.c \ - gimpcontrollerinfo.h \ - gimpcontrollerlist.c \ - gimpcontrollerlist.h \ - gimpcontrollers.c \ - gimpcontrollers.h \ - gimpcontrollerkeyboard.c \ - gimpcontrollerkeyboard.h \ - gimpcontrollerwheel.c \ - gimpcontrollerwheel.h \ - gimpcriticaldialog.c \ - gimpcriticaldialog.h \ - gimpcursor.c \ - gimpcursor.h \ - gimpcurveview.c \ - gimpcurveview.h \ - gimpdashboard.c \ - gimpdashboard.h \ - gimpdasheditor.c \ - gimpdasheditor.h \ - gimpdataeditor.c \ - gimpdataeditor.h \ - gimpdatafactoryview.c \ - gimpdatafactoryview.h \ - gimpdeviceeditor.c \ - gimpdeviceeditor.h \ - gimpdeviceinfo.c \ - gimpdeviceinfo.h \ - gimpdeviceinfo-coords.c \ - gimpdeviceinfo-coords.h \ - gimpdeviceinfoeditor.c \ - gimpdeviceinfoeditor.h \ - gimpdevicemanager.c \ - gimpdevicemanager.h \ - gimpdevices.c \ - gimpdevices.h \ - gimpdevicestatus.c \ - gimpdevicestatus.h \ - gimpdial.c \ - gimpdial.h \ - gimpdialogfactory.c \ - gimpdialogfactory.h \ - gimpdnd.c \ - gimpdnd.h \ - gimpdnd-xds.c \ - gimpdnd-xds.h \ - gimpdock.c \ - gimpdock.h \ - gimpdockcolumns.c \ - gimpdockcolumns.h \ - gimpdockable.c \ - gimpdockable.h \ - gimpdockbook.c \ - gimpdockbook.h \ - gimpdockcontainer.c \ - gimpdockcontainer.h \ - gimpdocked.c \ - gimpdocked.h \ - gimpdockwindow.c \ - gimpdockwindow.h \ - gimpdocumentview.c \ - gimpdocumentview.h \ - gimpdoubleaction.c \ - gimpdoubleaction.h \ - gimpdrawabletreeview.c \ - gimpdrawabletreeview.h \ - gimpdynamicseditor.c \ - gimpdynamicseditor.h \ - gimpdynamicsfactoryview.c \ - gimpdynamicsfactoryview.h \ - gimpdynamicsoutputeditor.c \ - gimpdynamicsoutputeditor.h \ - gimpeditor.c \ - gimpeditor.h \ - gimpenumaction.c \ - gimpenumaction.h \ - gimperrorconsole.c \ - gimperrorconsole.h \ - gimperrordialog.c \ - gimperrordialog.h \ - gimpexportdialog.c \ - gimpexportdialog.h \ - gimpextensiondetails.c \ - gimpextensiondetails.h \ - gimpextensionlist.c \ - gimpextensionlist.h \ - gimpfgbgeditor.c \ - gimpfgbgeditor.h \ - gimpfgbgview.c \ - gimpfgbgview.h \ - gimpfiledialog.c \ - gimpfiledialog.h \ - gimpfileprocview.c \ - gimpfileprocview.h \ - gimpfilleditor.c \ - gimpfilleditor.h \ - gimpfontfactoryview.c \ - gimpfontfactoryview.h \ - gimpfontselect.c \ - gimpfontselect.h \ - gimpgradienteditor.c \ - gimpgradienteditor.h \ - gimpgradientselect.c \ - gimpgradientselect.h \ - gimpgrideditor.c \ - gimpgrideditor.h \ - gimphandlebar.c \ - gimphandlebar.h \ - gimphelp.c \ - gimphelp.h \ - gimphelp-ids.h \ - gimphistogrambox.c \ - gimphistogrambox.h \ - gimphistogrameditor.c \ - gimphistogrameditor.h \ - gimphistogramview.c \ - gimphistogramview.h \ - gimpiconpicker.c \ - gimpiconpicker.h \ - gimpimagecommenteditor.c \ - gimpimagecommenteditor.h \ - gimpimageeditor.c \ - gimpimageeditor.h \ - gimpimageparasiteview.c \ - gimpimageparasiteview.h \ - gimpimageprofileview.c \ - gimpimageprofileview.h \ - gimpimagepropview.c \ - gimpimagepropview.h \ - gimpimageview.c \ - gimpimageview.h \ - gimpitemtreeview.c \ - gimpitemtreeview.h \ - gimplanguagecombobox.c \ - gimplanguagecombobox.h \ - gimplanguageentry.c \ - gimplanguageentry.h \ - gimplanguagestore.c \ - gimplanguagestore.h \ - gimplanguagestore-parser.c \ - gimplanguagestore-parser.h \ - gimplayermodebox.c \ - gimplayermodebox.h \ - gimplayermodecombobox.c \ - gimplayermodecombobox.h \ - gimplayertreeview.c \ - gimplayertreeview.h \ - gimpmenu.c \ - gimpmenu.h \ - gimpmenubar.c \ - gimpmenubar.h \ - gimpmenushell.c \ - gimpmenushell.h \ - gimpmenudock.c \ - gimpmenudock.h \ - gimpmenufactory.c \ - gimpmenufactory.h \ - gimpmenumodel.c \ - gimpmenumodel.h \ - gimpmessagebox.c \ - gimpmessagebox.h \ - gimpmessagedialog.c \ - gimpmessagedialog.h \ - gimpmeter.c \ - gimpmeter.h \ - gimpmodifierseditor.c \ - gimpmodifierseditor.h \ - gimpnavigationview.c \ - gimpnavigationview.h \ - gimpopendialog.c \ - gimpopendialog.h \ - gimpoverlaybox.c \ - gimpoverlaybox.h \ - gimpoverlaychild.c \ - gimpoverlaychild.h \ - gimpoverlaydialog.c \ - gimpoverlaydialog.h \ - gimpoverlayframe.c \ - gimpoverlayframe.h \ - gimppaletteeditor.c \ - gimppaletteeditor.h \ - gimppaletteselect.c \ - gimppaletteselect.h \ - gimppaletteview.c \ - gimppaletteview.h \ - gimppanedbox.c \ - gimppanedbox.h \ - gimppatternfactoryview.c \ - gimppatternfactoryview.h \ - gimppatternselect.c \ - gimppatternselect.h \ - gimppdbdialog.c \ - gimppdbdialog.h \ - gimppickablebutton.c \ - gimppickablebutton.h \ - gimppickablepopup.c \ - gimppickablepopup.h \ - gimppivotselector.c \ - gimppivotselector.h \ - gimppixbuf.c \ - gimppixbuf.h \ - gimppluginview.c \ - gimppluginview.h \ - gimppolar.c \ - gimppolar.h \ - gimppopup.c \ - gimppopup.h \ - gimpprefsbox.c \ - gimpprefsbox.h \ - gimpprocedureaction.c \ - gimpprocedureaction.h \ - gimpprogressbox.c \ - gimpprogressbox.h \ - gimpprogressdialog.c \ - gimpprogressdialog.h \ - gimppropwidgets.c \ - gimppropwidgets.h \ - gimpradioaction.c \ - gimpradioaction.h \ - gimprender.c \ - gimprender.h \ - gimpsamplepointeditor.c \ - gimpsamplepointeditor.h \ - gimpsavedialog.c \ - gimpsavedialog.h \ - gimpsearchpopup.c \ - gimpsearchpopup.h \ - gimpselectiondata.c \ - gimpselectiondata.h \ - gimpselectioneditor.c \ - gimpselectioneditor.h \ - gimpsessioninfo.c \ - gimpsessioninfo.h \ - gimpsessioninfo-aux.c \ - gimpsessioninfo-aux.h \ - gimpsessioninfo-book.c \ - gimpsessioninfo-book.h \ - gimpsessioninfo-dock.c \ - gimpsessioninfo-dock.h \ - gimpsessioninfo-dockable.c \ - gimpsessioninfo-dockable.h \ - gimpsessioninfo-private.h \ - gimpsessionmanaged.c \ - gimpsessionmanaged.h \ - gimpsettingsbox.c \ - gimpsettingsbox.h \ - gimpsettingseditor.c \ - gimpsettingseditor.h \ - gimpshortcutbutton.c \ - gimpshortcutbutton.h \ - gimpshortcutbutton.c \ - gimpshortcutbutton.h \ - gimpsizebox.c \ - gimpsizebox.h \ - gimpstringaction.c \ - gimpstringaction.h \ - gimpstrokeeditor.c \ - gimpstrokeeditor.h \ - gimpsymmetryeditor.c \ - gimpsymmetryeditor.h \ - gimptagentry.c \ - gimptagentry.h \ - gimptagpopup.c \ - gimptagpopup.h \ - gimptemplateeditor.c \ - gimptemplateeditor.h \ - gimptemplateview.c \ - gimptemplateview.h \ - gimptextbuffer.c \ - gimptextbuffer.h \ - gimptextbuffer-serialize.c \ - gimptextbuffer-serialize.h \ - gimptexteditor.c \ - gimptexteditor.h \ - gimptextproxy.c \ - gimptextproxy.h \ - gimptextstyleeditor.c \ - gimptextstyleeditor.h \ - gimptexttag.c \ - gimptexttag.h \ - gimpthumbbox.c \ - gimpthumbbox.h \ - gimptoggleaction.c \ - gimptoggleaction.h \ - gimptoolbar.c \ - gimptoolbar.h \ - gimptoolbox.c \ - gimptoolbox.h \ - gimptoolbox-color-area.c \ - gimptoolbox-color-area.h \ - gimptoolbox-dnd.c \ - gimptoolbox-dnd.h \ - gimptoolbox-image-area.c \ - gimptoolbox-image-area.h \ - gimptoolbox-indicator-area.c \ - gimptoolbox-indicator-area.h \ - gimptoolbutton.c \ - gimptoolbutton.h \ - gimptooleditor.c \ - gimptooleditor.h \ - gimptooloptionseditor.c \ - gimptooloptionseditor.h \ - gimptoolpalette.c \ - gimptoolpalette.h \ - gimptoolpreseteditor.c \ - gimptoolpreseteditor.h \ - gimptoolpresetfactoryview.c \ - gimptoolpresetfactoryview.h \ - gimptranslationstore.c \ - gimptranslationstore.h \ - gimpuimanager.c \ - gimpuimanager.h \ - gimpundoeditor.c \ - gimpundoeditor.h \ - gimpvectorstreeview.c \ - gimpvectorstreeview.h \ - gimpview.c \ - gimpview.h \ - gimpview-popup.c \ - gimpview-popup.h \ - gimpviewablebox.c \ - gimpviewablebox.h \ - gimpviewablebutton.c \ - gimpviewablebutton.h \ - gimpviewabledialog.c \ - gimpviewabledialog.h \ - gimpviewrenderer.c \ - gimpviewrenderer.h \ - gimpviewrenderer-frame.c \ - gimpviewrenderer-frame.h \ - gimpviewrenderer-utils.c \ - gimpviewrenderer-utils.h \ - gimpviewrendererbrush.c \ - gimpviewrendererbrush.h \ - gimpviewrendererbuffer.c \ - gimpviewrendererbuffer.h \ - gimpviewrendererdrawable.c \ - gimpviewrendererdrawable.h \ - gimpviewrenderergradient.c \ - gimpviewrenderergradient.h \ - gimpviewrendererimage.c \ - gimpviewrendererimage.h \ - gimpviewrendererimagefile.c \ - gimpviewrendererimagefile.h \ - gimpviewrendererlayer.c \ - gimpviewrendererlayer.h \ - gimpviewrendererpalette.c \ - gimpviewrendererpalette.h \ - gimpviewrenderervectors.c \ - gimpviewrenderervectors.h \ - gimpwidgets-constructors.c \ - gimpwidgets-constructors.h \ - gimpwidgets-utils.c \ - gimpwidgets-utils.h \ - gimpwindow.c \ - gimpwindow.h \ - gimpwindowstrategy.c \ - gimpwindowstrategy.h - -libappwidgets_a_built_sources = \ - gimp-tool-cursors.c \ - gimp-tool-cursors.h \ - widgets-enums.c - -libappwidgets_a_SOURCES = \ - $(libappwidgets_a_built_sources) \ - $(libappwidgets_a_sources) - - -# -# rules to generate built sources -# -# setup autogeneration dependencies -gen_sources = \ - gimp-tool-cursors.c \ - gimp-tool-cursors.h \ - stamp-widgets-enums.h \ - xgen-wec -CLEANFILES = $(gen_sources) - -xgen-wec: $(srcdir)/widgets-enums.h $(GIMP_MKENUMS) Makefile.am - $(AM_V_GEN) $(GIMP_MKENUMS) \ - --fhead "#include \"stamp-widgets-enums.h\"\n#include \"config.h\"\n#include \n#include \"libgimpbase/gimpbase.h\"\n#include \"widgets-enums.h\"\n#include \"gimp-intl.h\"" \ - --fprod "\n/* enumerations from \"@basename@\" */" \ - --vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n" \ - --dhead " static const Gimp@Type@Desc descs[] =\n {" \ - --dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ },@if ('@valueabbrev@' ne 'NULL')@\n /* Translators: this is an abbreviated version of @valueudesc@.\n Keep it short. */\n { @VALUENAME@, @valueabbrev@, NULL },@endif@" \ - --dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \ - $< > $@ - -stamp-widgets-enums.h: xgen-wec - echo "/* Generated on `date`. */" > $@ - -# copy the generated enum file back to the source directory only if it's -# changed; otherwise, only update its timestamp, so that the recipe isn't -# executed again on the next build, however, allow this to (harmlessly) fail, -# to support building from a read-only source tree. -$(srcdir)/widgets-enums.c: xgen-wec stamp-widgets-enums.h - $(AM_V_GEN) if ! cmp -s $< $@; then \ - cp $< $@; \ - else \ - touch $@ 2> /dev/null \ - || true; \ - fi - - -gimp-tool-cursors.h: $(top_builddir)/cursors/gimp-tool-cursors.gresource.xml - $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \ - --sourcedir=$(top_srcdir)/cursors --generate-header \ - --target=$@ $(top_builddir)/cursors/gimp-tool-cursors.gresource.xml - -gimp-tool-cursors.c: gimp-tool-cursors.h - $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \ - --sourcedir=$(top_srcdir)/cursors --generate-source \ - --target=$@ $(top_builddir)/cursors/gimp-tool-cursors.gresource.xml diff --git a/app/xcf/.gitignore b/app/xcf/.gitignore deleted file mode 100644 index 81627b31c8..0000000000 --- a/app/xcf/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/*.lo -/libappxcf.a -/libappxcf.la diff --git a/app/xcf/Makefile.am b/app/xcf/Makefile.am deleted file mode 100644 index a95a87cf7c..0000000000 --- a/app/xcf/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"Gimp-XCF\" \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - -I$(top_builddir)/app \ - -I$(top_srcdir)/app \ - $(CAIRO_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - -I$(includedir) - -noinst_LIBRARIES = libappxcf.a - -libappxcf_a_SOURCES = \ - xcf.c \ - xcf.h \ - xcf-load.c \ - xcf-load.h \ - xcf-read.c \ - xcf-read.h \ - xcf-private.h \ - xcf-save.c \ - xcf-save.h \ - xcf-seek.c \ - xcf-seek.h \ - xcf-utils.c \ - xcf-utils.h \ - xcf-write.c \ - xcf-write.h diff --git a/autogen.sh b/autogen.sh deleted file mode 100755 index 965c9de56f..0000000000 --- a/autogen.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/sh - -# This script does all the magic calls to automake/autoconf and -# friends that are needed to configure a git clone. As described in -# the file HACKING you need a couple of extra tools to run this script -# successfully. -# -# If you are compiling from a released tarball you don't need these -# tools and you shouldn't use this script. Just call ./configure -# directly. - -# Run this to generate all the initial makefiles, etc. -test -n "$srcdir" || srcdir=`dirname "$0"` -test -n "$srcdir" || srcdir=. - -PROJECT="GNU Image Manipulation Program" - -srcdir=`dirname $0` -ORIGDIR=`pwd` -cd $srcdir - -(test -f configure.ac) || { - echo "*** ERROR: Directory "\`$srcdir\'" does not look like the top-level project directory ***" - exit 1 -} - -autoreconf --verbose --force --install -Wno-portability || exit $? - -cd $ORIGDIR - -if test -z "$NOCONFIGURE"; then - $srcdir/configure $AUTOGEN_CONFIGURE_ARGS "$@" - RC=$? - if test $RC -ne 0; then - echo - echo "Configure failed or did not finish!" - exit $RC - fi - - echo - echo "Now type 'make' to compile the $PROJECT." -fi diff --git a/build/.gitignore b/build/.gitignore deleted file mode 100644 index 05db30c0d3..0000000000 --- a/build/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile -/Makefile.in \ No newline at end of file diff --git a/build/Makefile.am b/build/Makefile.am deleted file mode 100644 index 30b2e5fbb0..0000000000 --- a/build/Makefile.am +++ /dev/null @@ -1,2 +0,0 @@ -SUBDIRS = \ - windows \ No newline at end of file diff --git a/build/windows/.gitignore b/build/windows/.gitignore deleted file mode 100644 index b0e3a99509..0000000000 --- a/build/windows/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/Makefile -/Makefile.in -/gimp.rc -/gimp-plug-ins.rc diff --git a/build/windows/Makefile.am b/build/windows/Makefile.am deleted file mode 100644 index 2cc31f2252..0000000000 --- a/build/windows/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -if BUILD_WINDOWS_INSTALLER -installer = installer -endif - -SUBDIRS = \ - $(installer) - -EXTRA_DIST = \ - gimprc.rule \ - gimprc-plug-ins.rule \ - gimp.rc \ - gimp-plug-ins.rc \ - gimp.manifest \ - fileicon.ico \ - plug-ins.ico \ - wilber.ico diff --git a/build/windows/installer/.gitignore b/build/windows/installer/.gitignore deleted file mode 100644 index aff09f028f..0000000000 --- a/build/windows/installer/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/Makefile -/Makefile.in -/Preprocessed.iss -/compile.log -/_Output/ -/_Uninst/ diff --git a/build/windows/installer/Makefile.am b/build/windows/installer/Makefile.am deleted file mode 100644 index 6bc415aa92..0000000000 --- a/build/windows/installer/Makefile.am +++ /dev/null @@ -1,2 +0,0 @@ -SUBDIRS = \ - lang diff --git a/build/windows/installer/lang/.gitignore b/build/windows/installer/lang/.gitignore deleted file mode 100644 index eaf94f9aa7..0000000000 --- a/build/windows/installer/lang/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/Makefile -/Makefile.in -/setup.isl -/setup.isl.in -/*.setup.isl -/stamp-isl diff --git a/build/windows/installer/lang/Makefile.am b/build/windows/installer/lang/Makefile.am deleted file mode 100644 index b60f1ca189..0000000000 --- a/build/windows/installer/lang/Makefile.am +++ /dev/null @@ -1,87 +0,0 @@ -isl_xml_in_files = setup.isl.xml.in -isl_xml_files = $(isl_xml_in_files:.isl.xml.in=.isl.xml) - -stamp_files = \ - stamp-isl - -CLEANFILES = $(isl_xml_files) $(stamp_files) -EXTRA_DIST = $(isl_xml_in_files) - -# First we use the XML file to be able to do gettext translation -$(isl_xml_files): $(isl_xml_in_files) $(wildcard $(top_srcdir)/po-windows-installer/*.po) Makefile.am - $(AM_V_GEN) GETTEXTDATADIRS=$(abs_srcdir) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po-windows-installer -o $@ - -# Then, we generate the .isl file for each language using some xsltproc magic -languages = \ - bg:bg \ - ca:ca \ - cs:cs \ - da:da \ - de:de \ - el:el \ - en: \ - en_GB:en_GB \ - eo:eo \ - es:es \ - eu:eu \ - fi:fi \ - fr:fr \ - gl:gl \ - he:he \ - hu:hu \ - id:id \ - is:is \ - it:it \ - ja:ja \ - ka:ka \ - kab:kab \ - ko:ko \ - lt:lt \ - lv:lv \ - mr:mr \ - ms:ms \ - nl:nl \ - pl:pl \ - pt:pt \ - pt_BR:pt_BR \ - ro:ro \ - ru:ru \ - sk:sk \ - sl:sl \ - sv:sv \ - tr:tr \ - uk:uk \ - vi:vi \ - zh_CN:zh_CN \ - zh_TW:zh_TW - -stamp-isl: setup.isl.xml gimp-ms-installer-config.xsl.in Makefile.am - @ \ - for lang in $(languages); do \ - code=`echo $$lang | cut -d: -f1`; \ - prefix=`echo $$lang | cut -d: -f2`; \ - lang_check=`[ "$$prefix" ] && echo "value[lang('$$code')]" || echo "value"`; \ - xslin="$(srcdir)/gimp-ms-installer-config.xsl.in"; \ - xsl="$(builddir)/gimp-ms-installer-config.xsl"; \ - isl="$(builddir)/$$code.setup.isl"; \ - echo " GEN $$isl"; \ - sed "s/@LANG_CHECK@/$$lang_check/" "$$xslin" > "$$xsl"; \ - $(XSLTPROC) --xinclude --output "$$isl" "$$xsl" $< || rm -f "$$isl"; \ - done && \ - echo timestamp > stamp-isl - -all-local: $(stamp_files) - -clean-local: - @ \ - for lang in $(languages); do \ - code=`echo $$lang | cut -d: -f1`; \ - isl="$(builddir)/$$code.setup.isl"; \ - echo " RM $$isl"; \ - rm -f "$$isl"; \ - done - -TESTS_ENVIRONMENT = \ - GIMP_TESTING_ABS_TOP_SRCDIR=@abs_top_srcdir@ - -TESTS = test-installer-langs.sh diff --git a/build/windows/jhbuild/.gitignore b/build/windows/jhbuild/.gitignore deleted file mode 100644 index 58b5464e09..0000000000 --- a/build/windows/jhbuild/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -checkout/ -targets/ diff --git a/configure.ac b/configure.ac deleted file mode 100644 index 0c589bb8e8..0000000000 --- a/configure.ac +++ /dev/null @@ -1,3328 +0,0 @@ -# Process this file with autoconf to produce a configure script. - -AC_PREREQ(2.54) - -# Making releases on the stable branch: -# gimp_micro_version += 1; -# gimp_interface_age += 1; -# -# For a description of libtool version variables, see: -# devel-docs/libtool-instructions.txt - -m4_define([gimp_major_version], [2]) -m4_define([gimp_minor_version], [99]) -m4_define([gimp_micro_version], [15]) -m4_define([gimp_real_version], - [gimp_major_version.gimp_minor_version.gimp_micro_version]) -m4_define([gimp_version], [gimp_real_version]) -m4_define([gimp_interface_age], [15]) -m4_define([gimp_binary_age], - [m4_eval(100 * gimp_minor_version + gimp_micro_version)]) - -# For overriding the version string. Comment out if not needed. -# m4_define([gimp_version], [2.99.1]) - -# This is the X.Y used in -lgimp-X.Y -m4_define([gimp_api_major_version], [3]) -m4_define([gimp_api_minor_version], [0]) -m4_define([gimp_api_version], - [gimp_api_major_version.gimp_api_minor_version]) - -# Versions used for apps, plugins, tools, pkg-config files, and data, -# as well as global and user prefs -m4_define([gimp_app_version], [2.99]) -m4_define([gimp_plugin_version], [2.99]) -m4_define([gimp_tool_version], [2.99]) -m4_define([gimp_pkgconfig_version], [3.0]) -m4_define([gimp_data_version], [2.99]) -m4_define([gimp_sysconf_version], [2.99]) -m4_define([gimp_user_version], [2.99]) - -m4_define([gimp_unstable], - m4_if(m4_eval(gimp_minor_version % 2), [1], [yes], [no])) -m4_define([gimp_stable], - m4_if(m4_eval(gimp_minor_version % 2), [0], [yes], [no])) - -m4_define([gimp_release], - m4_if(m4_eval(gimp_micro_version % 2), [0], [yes], [no])) - -m4_define([gimp_full_name], [GNU Image Manipulation Program]) - -# required versions of other packages -m4_define([alsa_required_version], [1.0.0]) -m4_define([appstream_glib_required_version], [0.7.7]) -m4_define([atk_required_version], [2.4.0]) -m4_define([babl_major_minor_version], [0.1]) -m4_define([babl_micro_version], [98]) -m4_define([babl_required_version], - [babl_major_minor_version.babl_micro_version]) -m4_define([cairo_required_version], [1.14.0]) -m4_define([cairo_pdf_required_version], [1.12.2]) -m4_define([fontconfig_required_version], [2.12.4]) -m4_define([freetype2_required_version], [2.1.7]) -m4_define([gdk_pixbuf_required_version], [2.30.8]) -m4_define([gegl_major_minor_version], [0.4]) -m4_define([gegl_micro_version], [40]) -m4_define([gegl_required_version], - [gegl_major_minor_version.gegl_micro_version]) -m4_define([gexiv2_required_version], [0.14.0]) -m4_define([glib_required_version], [2.70.0]) -m4_define([gtk_mac_integration_required_version], [2.0.0]) -m4_define([gtk_required_version], [3.22.29]) -m4_define([gtkdoc_required_version], [1.0]) -m4_define([harfbuzz_required_version], [1.0.5]) -m4_define([introspection_required_version], [1.32.0]) -m4_define([json_glib_required_version], [1.2.6]) -m4_define([lcms_required_version], [2.8]) -m4_define([libgudev_required_version], [167]) -m4_define([libheif_required_version], [1.3.2]) -m4_define([libjxl_required_version], [0.7.0]) -m4_define([liblzma_required_version], [5.0.0]) -m4_define([libmypaint_required_version], [1.3.0]) -m4_define([libpng_required_version], [1.6.25]) -m4_define([libtiff_required_version], [4.0.0]) -m4_define([libunwind_required_version], [1.1.0]) -m4_define([openexr_required_version], [1.6.1]) -m4_define([openjpeg_required_version], [2.1.0]) -m4_define([pangocairo_required_version], [1.44.0]) -m4_define([perl_required_version], [5.10.0]) -m4_define([poppler_required_version], [0.69.0]) -m4_define([poppler_data_required_version], [0.4.9]) -m4_define([python3_required_version], [3.6.0]) -m4_define([rsvg_required_version], [2.40.6]) -m4_define([vala_required_version], [0.40.0]) -m4_define([webkitgtk_required_version], [2.20.3]) -m4_define([webp_required_version], [0.6.0]) -m4_define([wmf_required_version], [0.2.8]) - -# required versions for build-time only tools -m4_define([native_glib_required_version], [2.2.0]) - -AC_INIT([GIMP], [gimp_version], - [https://gitlab.gnome.org/GNOME/gimp/issues/new], - [gimp]) - -AC_CONFIG_HEADERS([config.h]) -AC_CONFIG_SRCDIR([app/core/gimp.c]) -AC_CONFIG_MACRO_DIR([m4macros]) - -AM_INIT_AUTOMAKE(no-define dist-bzip2 dist-xz no-dist-gzip foreign) - -# Enable silent build rules by default, requires at least -# Automake-1.11. Disable by either passing --disable-silent-rules to -# configure or passing V=1 to make -m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) - -GIMP_MAJOR_VERSION=gimp_major_version -GIMP_MINOR_VERSION=gimp_minor_version -GIMP_MICRO_VERSION=gimp_micro_version -GIMP_INTERFACE_AGE=gimp_interface_age -GIMP_BINARY_AGE=gimp_binary_age -GIMP_VERSION=gimp_version -GIMP_REAL_VERSION=gimp_real_version -GIMP_API_MAJOR_VERSION=gimp_api_major_version -GIMP_API_MINOR_VERSION=gimp_api_minor_version -GIMP_API_VERSION=gimp_api_version -GIMP_APP_VERSION=gimp_app_version -GIMP_PLUGIN_VERSION=gimp_plugin_version -GIMP_TOOL_VERSION=gimp_tool_version -GIMP_PKGCONFIG_VERSION=gimp_pkgconfig_version -GIMP_DATA_VERSION=gimp_data_version -GIMP_SYSCONF_VERSION=gimp_sysconf_version -GIMP_USER_VERSION=gimp_user_version -GIMP_UNSTABLE=gimp_unstable -GIMP_RELEASE=gimp_release -GIMP_FULL_NAME="gimp_full_name" -AC_SUBST(GIMP_MAJOR_VERSION) -AC_SUBST(GIMP_MINOR_VERSION) -AC_SUBST(GIMP_MICRO_VERSION) -AC_SUBST(GIMP_INTERFACE_AGE) -AC_SUBST(GIMP_BINARY_AGE) -AC_SUBST(GIMP_VERSION) -AC_SUBST(GIMP_REAL_VERSION) -AC_SUBST(GIMP_API_MAJOR_VERSION) -AC_SUBST(GIMP_API_MINOR_VERSION) -AC_SUBST(GIMP_API_VERSION) -AC_SUBST(GIMP_APP_VERSION) -AC_SUBST(GIMP_PLUGIN_VERSION) -AC_SUBST(GIMP_TOOL_VERSION) -AC_SUBST(GIMP_PKGCONFIG_VERSION) -AC_SUBST(GIMP_DATA_VERSION) -AC_SUBST(GIMP_SYSCONF_VERSION) -AC_SUBST(GIMP_USER_VERSION) -AC_SUBST(GIMP_UNSTABLE) -AC_SUBST(GIMP_RELEASE) -AC_SUBST(GIMP_FULL_NAME) - -# Version strings used in some source, though it seems unnecessary to -# declare them in the public API (libgimpbase/gimpversion.h). -AC_DEFINE(GIMP_PKGCONFIG_VERSION, "gimp_pkgconfig_version", - [libgimp pkg-config version]) -AC_DEFINE(GIMP_TOOL_VERSION, "gimp_tool_version", - [GIMP tools version]) - -# These are used for substitution (.pc, INSTALL, etc.). -APPSTREAM_GLIB_REQUIRED_VERSION=appstream_glib_required_version -ATK_REQUIRED_VERSION=atk_required_version -BABL_MAJOR_MINOR_VERSION=babl_major_minor_version -BABL_REQUIRED_VERSION=babl_required_version -CAIRO_REQUIRED_VERSION=cairo_required_version -CAIRO_PDF_REQUIRED_VERSION=cairo_pdf_required_version -FONTCONFIG_REQUIRED_VERSION=fontconfig_required_version -FREETYPE2_REQUIRED_VERSION=freetype2_required_version -GDK_PIXBUF_REQUIRED_VERSION=gdk_pixbuf_required_version -GEGL_MAJOR_MINOR_VERSION=gegl_major_minor_version -GEGL_REQUIRED_VERSION=gegl_required_version -GEXIV2_REQUIRED_VERSION=gexiv2_required_version -GLIB_REQUIRED_VERSION=glib_required_version -GTK_REQUIRED_VERSION=gtk_required_version -HARFBUZZ_REQUIRED_VERSION=harfbuzz_required_version -LCMS_REQUIRED_VERSION=lcms_required_version -LIBHEIF_REQUIRED_VERSION=libheif_required_version -LIBJXL_REQUIRED_VERSION=libjxl_required_version -LIBLZMA_REQUIRED_VERSION=liblzma_required_version -LIBMYPAINT_REQUIRED_VERSION=libmypaint_required_version -LIBPNG_REQUIRED_VERSION=libpng_required_version -LIBTIFF_REQUIRED_VERSION=libtiff_required_version -OPENEXR_REQUIRED_VERSION=openexr_required_version -OPENJPEG_REQUIRED_VERSION=openjpeg_required_version -PANGOCAIRO_REQUIRED_VERSION=pangocairo_required_version -PERL_REQUIRED_VERSION=perl_required_version -POPPLER_REQUIRED_VERSION=poppler_required_version -POPPLER_DATA_REQUIRED_VERSION=poppler_data_required_version -PYTHON3_REQUIRED_VERSION=python3_required_version -RSVG_REQUIRED_VERSION=rsvg_required_version -VALA_REQUIRED_VERSION=vala_required_version -WEBKITGTK_REQUIRED_VERSION=webkitgtk_required_version -WEBP_REQUIRED_VERSION=webp_required_version -WMF_REQUIRED_VERSION=wmf_required_version -LIBUNWIND_REQUIRED_VERSION=libunwind_required_version -AC_SUBST(APPSTREAM_GLIB_REQUIRED_VERSION) -AC_SUBST(ATK_REQUIRED_VERSION) -AC_SUBST(BABL_MAJOR_MINOR_VERSION) -AC_SUBST(BABL_REQUIRED_VERSION) -AC_SUBST(CAIRO_REQUIRED_VERSION) -AC_SUBST(CAIRO_PDF_REQUIRED_VERSION) -AC_SUBST(FONTCONFIG_REQUIRED_VERSION) -AC_SUBST(FREETYPE2_REQUIRED_VERSION) -AC_SUBST(GDK_PIXBUF_REQUIRED_VERSION) -AC_SUBST(GEGL_MAJOR_MINOR_VERSION) -AC_SUBST(GEGL_REQUIRED_VERSION) -AC_SUBST(GEXIV2_REQUIRED_VERSION) -AC_SUBST(GLIB_REQUIRED_VERSION) -AC_SUBST(GTK_REQUIRED_VERSION) -AC_SUBST(HARFBUZZ_REQUIRED_VERSION) -AC_SUBST(LCMS_REQUIRED_VERSION) -AC_SUBST(LIBHEIF_REQUIRED_VERSION) -AC_SUBST(LIBJXL_REQUIRED_VERSION) -AC_SUBST(LIBLZMA_REQUIRED_VERSION) -AC_SUBST(LIBMYPAINT_REQUIRED_VERSION) -AC_SUBST(LIBPNG_REQUIRED_VERSION) -AC_SUBST(LIBTIFF_REQUIRED_VERSION) -AC_SUBST(OPENEXR_REQUIRED_VERSION) -AC_SUBST(OPENJPEG_REQUIRED_VERSION) -AC_SUBST(PANGOCAIRO_REQUIRED_VERSION) -AC_SUBST(PERL_REQUIRED_VERSION) -AC_SUBST(POPPLER_REQUIRED_VERSION) -AC_SUBST(POPPLER_DATA_REQUIRED_VERSION) -AC_SUBST(PYTHON3_REQUIRED_VERSION) -AC_SUBST(RSVG_REQUIRED_VERSION) -AC_SUBST(VALA_REQUIRED_VERSION) -AC_SUBST(WEBKITGTK_REQUIRED_VERSION) -AC_SUBST(WEBP_REQUIRED_VERSION) -AC_SUBST(WMF_REQUIRED_VERSION) -AC_SUBST(LIBUNWIND_REQUIRED_VERSION) - -# The symbol GIMP_UNSTABLE is defined above for substitution in -# Makefiles and conditionally defined here as a preprocessor symbol -# and automake conditional. -if test "x$GIMP_UNSTABLE" = "xyes"; then - AC_DEFINE(GIMP_UNSTABLE, 1, - [Define to 1 if this is code from the unstable branch of GIMP]) -fi -AM_CONDITIONAL(GIMP_UNSTABLE, test "x$GIMP_UNSTABLE" = "xyes") - -if test "x$GIMP_RELEASE" = "xyes"; then - AC_DEFINE(GIMP_RELEASE, 1, - [Define to 1 if this is a release version of GIMP]) -fi -AM_CONDITIONAL(GIMP_RELEASE, test "x$GIMP_RELEASE" = "xyes") - -# libtool versioning -m4_define([lt_current], [m4_eval(100 * gimp_minor_version + gimp_micro_version - gimp_interface_age)]) -m4_define([lt_revision], [gimp_interface_age]) -m4_define([lt_age], [m4_eval(gimp_binary_age - gimp_interface_age)]) -LT_VERSION_INFO="lt_current:lt_revision:lt_age" -LT_CURRENT_MINUS_AGE=m4_eval(lt_current - lt_age) -AC_SUBST(LT_VERSION_INFO) -AC_SUBST(LT_CURRENT_MINUS_AGE) - - -# gettext i18n support -GETTEXT_PACKAGE=gimp30 -AC_SUBST(GETTEXT_PACKAGE) -AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", - [The prefix for our gettext translation domains.]) - -# Determine a C compiler to use -AC_PROG_CC -AX_PROG_CC_FOR_BUILD -# Works around a bug in AX_PROG_CC_FOR_BUILD for build with MinGW on -# Windows. See bug 780270, comment 18. -case "$build_os" in - cygwin*|mingw32*|mingw64*) BUILD_EXEEXT=.exe ;; -esac -AM_PROG_CC_C_O - -# Determine a C++ compiler to use -AC_PROG_CXX -AX_CXX_COMPILE_STDCXX([14], , [mandatory]) - -# Initialize libtool -LT_PREREQ([2.2]) -LT_INIT([disable-static win32-dll]) - -AM_PROG_AS - -# Initialize maintainer mode -AM_MAINTAINER_MODE([enable]) - -# Check for pkg-config -PKG_PROG_PKG_CONFIG(0.16) - - -######################### -# Check host architecture -######################### - -AC_CANONICAL_HOST - -AC_MSG_CHECKING([for host type]) -AC_MSG_RESULT([$host]) - -AC_MSG_CHECKING([for host processor]) -case "$host_cpu" in - i*86) - have_x86=yes - AC_DEFINE(ARCH_X86, 1, [Define to 1 if you are compiling for ix86.]) - AC_MSG_RESULT([x86]) - ;; - x86_64) - have_x86=yes - AC_DEFINE(ARCH_X86, 1, [Define to 1 if you are compiling for ix86.]) - AC_DEFINE(ARCH_X86_64, 1, [Define to 1 if you are compiling for amd64.]) - AC_MSG_RESULT([x86-64]) - ;; - ppc | powerpc) - have_ppc=yes - AC_DEFINE(ARCH_PPC, 1, [Define to 1 if you are compiling for PowerPC.]) - AC_MSG_RESULT([PowerPC]) - ;; - ppc64 | powerpc64) - have_ppc=yes - AC_DEFINE(ARCH_PPC, 1, [Define to 1 if you are compiling for PowerPC.]) - AC_DEFINE(ARCH_PPC64, 1, [Define to 1 if you are compiling for PowerPC64.]) - AC_MSG_RESULT([64-bit PowerPC]) - ;; - *) - AC_MSG_RESULT([unknown]) - ;; -esac - - -################# -# Check for Linux -################# - -AC_MSG_CHECKING([if compiling for Linux]) -case "$host_os" in - linux*) - platform_linux=yes - ;; - *) - platform_linux=no - ;; -esac -AC_MSG_RESULT([$platform_linux]) -AM_CONDITIONAL(PLATFORM_LINUX, test "$platform_linux" = "yes") - - -################# -# Check for Win32 -################# - -AC_MSG_CHECKING([if compiling for Win32]) -case "$host_os" in - msys* | mingw* | cygwin*) - platform_win32=yes - ;; - *) - platform_win32=no - ;; -esac -AC_MSG_RESULT([$platform_win32]) -AM_CONDITIONAL(PLATFORM_WIN32, test "$platform_win32" = "yes") - -PATHSEP=':' -os_win32=no -if test "x$platform_win32" != xno; then - AC_MSG_CHECKING([if this is native Win32]) - case "$host_os" in - msys* | mingw*) - os_win32=yes - case "$host_cpu" in - x86_64) - ;; - *) - WIN32_LARGE_ADDRESS_AWARE='-Wl,--large-address-aware' - ;; - esac - PATHSEP=';' - ;; - *) - ;; - esac - AC_MSG_RESULT([$os_win32]) -fi -AC_SUBST(WIN32_LARGE_ADDRESS_AWARE) -AC_SUBST(PATHSEP) -AM_CONDITIONAL(OS_WIN32, test "$os_win32" = "yes") -AM_CONDITIONAL(OS_UNIX, test "$os_win32" != "yes") - -if test "$os_win32" = "yes"; then - AC_CHECK_PROG(ms_librarian, lib.exe, yes, no) - AC_CHECK_TOOL(WINDRES, windres, :) -else - WINDRES=":" -fi - -AM_CONDITIONAL(MS_LIB_AVAILABLE, test "x$ms_librarian" = xyes) -AM_CONDITIONAL(HAVE_WINDRES, test "x$WINDRES" != "x:") - -AC_SUBST(WINDRES) - - -#################### -# Check for Mac OS X -#################### - -platform_osx=no -AC_MSG_CHECKING([if compiling for Mac OS X]) -case "$host_os" in - darwin*) - AC_MSG_RESULT(yes) - AC_DEFINE(PLATFORM_OSX, 1, [define to 1 if compiling for Mac OS X]) - platform_osx=yes - ;; - *) - ;; -esac -AC_MSG_RESULT($platform_osx) -AM_CONDITIONAL(PLATFORM_OSX, test "x$platform_osx" = xyes) - - -############### -# Generic stuff -############### - -# Checks for programs. -AC_PROG_INSTALL -AC_PROG_MAKE_SET -AC_PROG_LN_S - -# Large file support for the swap file -AC_SYS_LARGEFILE - -AC_MSG_CHECKING([whether to turn on debugging]) -AC_ARG_ENABLE(debug, - [ --enable-debug turn on debugging (default=no)], - if eval "test x$enable_debug = xyes"; then - DEBUGFLAG="-g" - fi) - -if test -n "$DEBUGFLAG"; then - AC_MSG_RESULT([yes]) - CFLAGS="$DEBUGFLAG $CFLAGS" -else - AC_MSG_RESULT([no]) -fi - -AC_MSG_CHECKING([whether to turn on profiling]) -AC_ARG_ENABLE(profile, - [ --enable-profile turn on profiling (default=no)], - if eval "test x$enable_profile = xyes"; then - PROFFLAG="-pg" - fi) - -if test -n "$PROFFLAG"; then - AC_MSG_RESULT([yes]) - CFLAGS="$PROFFLAG $CFLAGS" -else - AC_MSG_RESULT([no]) -fi - -AC_ARG_ENABLE(ansi, - [ --enable-ansi turn on strict ansi (default=no)],, - enable_ansi=no) - -changequote(,)dnl -if eval "test x$GCC = xyes"; then - case " $CFLAGS " in - *[\ \ ]-Wall[\ \ ]*) ;; - *) CFLAGS="$CFLAGS -Wall" ;; - esac - - if test "x$enable_ansi" = "xyes"; then - case " $CFLAGS " in - *[\ \ ]-ansi[\ \ ]*) ;; - *) CFLAGS="$CFLAGS -ansi" ;; - esac - - case " $CFLAGS " in - *[\ \ ]-pedantic[\ \ ]*) ;; - *) CFLAGS="$CFLAGS -pedantic" ;; - esac - fi -fi -changequote([,])dnl - - -# If possible, warn if C99isms are used -GIMP_DETECT_CFLAGS(extra_warnings, '-Wdeclaration-after-statement') -CFLAGS="$CFLAGS $extra_warnings" - -GIMP_DETECT_CFLAGS(extra_warnings, '-Wmissing-prototypes') -CFLAGS="$CFLAGS $extra_warnings" - -# We really don't want anyone using code with missing prototypes, which -# can cause random behavior. If compile breaks due to the following, -# come to us and we will point you to a newer version which works. -# -GIMP_DETECT_CFLAGS(extra_warnings, '-Werror=missing-prototypes') -CFLAGS="$CFLAGS $extra_warnings" - -GIMP_DETECT_CFLAGS(extra_warnings, '-Wstrict-prototypes') -CFLAGS="$CFLAGS $extra_warnings" - -GIMP_DETECT_CFLAGS(extra_warnings, '-Wmissing-declarations') -CFLAGS="$CFLAGS $extra_warnings" - -GIMP_DETECT_CFLAGS(extra_warnings, '-Winit-self') -CFLAGS="$CFLAGS $extra_warnings" - -GIMP_DETECT_CFLAGS(extra_warnings, '-Wpointer-arith') -CFLAGS="$CFLAGS $extra_warnings" - -GIMP_DETECT_CFLAGS(extra_warnings, '-Wold-style-definition') -CFLAGS="$CFLAGS $extra_warnings" - -GIMP_DETECT_CFLAGS(extra_warnings, '-Wmissing-format-attribute') -CFLAGS="$CFLAGS $extra_warnings" - -GIMP_DETECT_CFLAGS(extra_warnings, '-Wformat-security') -CFLAGS="$CFLAGS $extra_warnings" - -GIMP_DETECT_CFLAGS(extra_warnings, '-Wlogical-op') -CFLAGS="$CFLAGS $extra_warnings" - -GIMP_DETECT_CFLAGS(extra_warnings, '-Wtype-limits') -CFLAGS="$CFLAGS $extra_warnings" - -GIMP_DETECT_CFLAGS(extra_warnings, '-fno-common') -CFLAGS="$CFLAGS $extra_warnings" - -GIMP_DETECT_CFLAGS(extra_warnings, '-fdiagnostics-show-option') -CFLAGS="$CFLAGS $extra_warnings" - -GIMP_DETECT_CFLAGS(extra_warnings, '-Wreturn-type') -CFLAGS="$CFLAGS $extra_warnings" - -# -Wreturn-type warns on forgotten return on non-void functions, -# but not of g_return_if_fail() on non-void functions. -# -Wsystem-headers is needed for that. -# Unfortunately it pulls tons of warnings on some systems. -# So we comment out for now. -# GIMP_DETECT_CFLAGS(extra_warnings, '-Wsystem-headers') -# CFLAGS="$CFLAGS $extra_warnings" - -# Extra optimization flags for super performance -GIMP_DETECT_CFLAGS(extra_warnings, '--omg-optimized') -CFLAGS="$CFLAGS $extra_warnings" - -GIMP_DETECT_CFLAGS(extra_warnings, '--disable-instructions') -CFLAGS="$CFLAGS $extra_warnings" - - -# Ensure MSVC-compatible struct packing convention is used when -# compiling for Win32 with gcc. -# What flag to depends on gcc version: gcc3 uses "-mms-bitfields", while -# gcc2 uses "-fnative-struct". -if test "x$os_win32" = xyes; then - if test "x$GCC" = xyes; then - msnative_struct='' - AC_MSG_CHECKING([how to get MSVC-compatible struct packing]) - if test -z "$ac_cv_prog_CC"; then - our_gcc="$CC" - else - our_gcc="$ac_cv_prog_CC" - fi - case `$our_gcc --version | sed -e 's,\..*,.,' -e q` in - 2.) - if $our_gcc -v --help 2>/dev/null | grep fnative-struct >/dev/null; then - msnative_struct='-fnative-struct' - fi - ;; - *) - if $our_gcc -v --help 2>/dev/null | grep ms-bitfields >/dev/null; then - msnative_struct='-mms-bitfields' - fi - ;; - esac - if test "x$msnative_struct" = x ; then - AC_MSG_RESULT([no way]) - AC_MSG_WARN([build will be incompatible with GTK DLLs]) - else - CFLAGS="$CFLAGS $msnative_struct" - AC_MSG_RESULT([${msnative_struct}]) - fi - fi -fi - -if test "x$GCC" = xyes; then - gcc_version=`$CC -v 2>&1|grep 'gcc version'|sed -e 's/.*gcc version \([[0-9.]]\+\)[[^0-9.]].*/\1/'` - if test "x$gcc_version" = "x7.2.0" ; then - warning_gcc=" -WARNING: GCC 7.2.0 has a serious bug affecting GEGL/GIMP. We advise - against using this version of the compiler (previous and - further versions are fine). - See https://bugzilla.gnome.org/show_bug.cgi?id=787222" - fi - # For GCC, use -v which has more information than --version. - CC_VERSION_OPTS="-v" -else - # This is the list of common options used by autotools to check - # versions for various compilers. - CC_VERSION_OPTS="--version -v -V -qversion" -fi - -for CC_VERSION_OPT in $CC_VERSION_OPTS; do - # We run $CC, and escape and format its output, in a single step, - # since some shells expand escape sequences in "echo" arguments. - CC_VERSION="`$CC $CC_VERSION_OPT 2>&1 | sed -e 's/\\\\/\\\\\\\\\\\\\\\\/g;s/^/\\\\t/;s/$/\\\\n/' | tr -d '\n'`" - if test $? -eq 0; then - break - fi -done - -AC_SUBST(CC_VERSION) - -AC_HEADER_STDC -AC_HEADER_SYS_WAIT -AC_HEADER_TIME - -AC_CHECK_HEADERS(execinfo.h fcntl.h sys/param.h sys/prctl.h sys/thr.h sys/time.h sys/times.h sys/wait.h unistd.h) -AC_CHECK_FUNCS(backtrace, , AC_CHECK_LIB(execinfo, backtrace)) - -AC_TYPE_PID_T -AC_FUNC_VPRINTF - -AC_FUNC_ALLOCA - -# check some more funcs -AC_CHECK_FUNCS(fsync) -AC_CHECK_FUNCS(difftime mmap) -AC_CHECK_FUNCS(thr_self) - - -# _NL_MEASUREMENT_MEASUREMENT is an enum and not a define -AC_MSG_CHECKING([for _NL_MEASUREMENT_MEASUREMENT]) -AC_LINK_IFELSE( - [AC_LANG_PROGRAM( - [[#include ]], - [[char c = *((unsigned char *) nl_langinfo(_NL_MEASUREMENT_MEASUREMENT));]])], - [nl_ok=yes], - [nl_ok=no]) -AC_MSG_RESULT($nl_ok) -if test "$nl_ok" = "yes"; then - AC_DEFINE(HAVE__NL_MEASUREMENT_MEASUREMENT, 1, - [Define to 1 if _NL_MEASUREMENT_MEASUREMENT is available]) -fi - -# _NL_IDENTIFICATION_LANGUAGE is an enum and not a define -AC_MSG_CHECKING([for _NL_IDENTIFICATION_LANGUAGE]) -AC_LINK_IFELSE( - [AC_LANG_PROGRAM( - [[#include ]], - [[char c = *((unsigned char *) nl_langinfo(_NL_IDENTIFICATION_LANGUAGE));]])], - [nl_ok=yes], - [nl_ok=no]) -AC_MSG_RESULT($nl_ok) -if test "$nl_ok" = "yes"; then - AC_DEFINE(HAVE__NL_IDENTIFICATION_LANGUAGE, 1, - [Define to 1 if _NL_IDENTIFICATION_LANGUAGE is available]) -fi - -# Macro to keep track of failed dependencies. - -required_deps='' - -# To add a required dependency error, call: add_deps_error([dependency]). -# If details about the dependency are needed: -# add_deps_error([dependency], [first line, second line]) -m4_define([add_deps_error], [ - AC_MSG_NOTICE([Eeeeeeeeeeeeeeeeeeeeek! Missing dep: $1]) - required_deps="$required_deps - - Error: missing dependency $1" - m4_foreach([more], [$2], [ - required_deps="$required_deps - *** more"])]) - -###################### -# Internationalisation -###################### - -AM_GNU_GETTEXT([external]) -AM_GNU_GETTEXT_VERSION([0.19.8]) - -########### -# iso-codes -########### - -AC_MSG_CHECKING([for iso-codes]) -PKG_CHECK_EXISTS(iso-codes, - have_iso_codes="yes" - AC_DEFINE(HAVE_ISO_CODES, 1, - [Define to 1 if the iso-codes package is available]) - ISO_CODES_PREFIX=`$PKG_CONFIG --variable=prefix iso-codes` - ISO_CODES_LOCATION="$ISO_CODES_PREFIX/share/xml/iso-codes" - ISO_CODES_LOCALEDIR="$ISO_CODES_PREFIX/$DATADIRNAME/locale", - have_iso_codes="no (iso-codes package not found)") -AC_MSG_RESULT($have_iso_codes) - -AC_SUBST(ISO_CODES_LOCATION) -AC_SUBST(ISO_CODES_LOCALEDIR) - - -############################### -# Checks for required libraries -############################### - -PKG_CHECK_MODULES(BABL, [babl-0.1 >= babl_required_version],, - [ - PKG_CHECK_MODULES(BABL, [babl >= babl_required_version],, - [add_deps_error([babl-0.1 >= babl_required_version])]) - ]) -PKG_CHECK_MODULES(GEGL, gegl-gegl_major_minor_version >= gegl_required_version,, - [add_deps_error([gegl-gegl_major_minor_version >= gegl_required_version])]) -PKG_CHECK_MODULES(ATK, atk >= atk_required_version,, - [add_deps_error([atk >= atk_required_version])]) - -AM_PATH_GLIB_2_0(glib_required_version,, - [add_deps_error([glib >= glib_required_version], - [Test for GLIB failed])], - gobject) - -PKG_CHECK_MODULES(GMODULE_NO_EXPORT, gmodule-no-export-2.0,, - [add_deps_error([gmodule-no-export-2.0])]) - -PKG_CHECK_MODULES(GIO, gio-2.0,, - [add_deps_error([gio-2.0])]) - -if test "x$os_win32" = "xyes"; then - PKG_CHECK_MODULES(GIO_WINDOWS, gio-windows-2.0,, - [add_deps_error([gio-windows-2.0])]) -else - PKG_CHECK_MODULES(GIO_UNIX, gio-unix-2.0,, - [add_deps_error([gio-unix-2.0])]) -fi - -AC_MSG_CHECKING([for glib-networking (GIO TLS implementation)]) -gimp_save_CFLAGS="$CFLAGS" -gimp_save_LIBS="$LIBS" -CFLAGS="$CFLAGS $GIO_CFLAGS" -LIBS="$LIBS $GIO_LIBS" -AC_RUN_IFELSE([AC_LANG_PROGRAM([#include ], - [return !g_tls_backend_supports_tls (g_tls_backend_get_default ());])], - [have_glib_networking="yes"], - [have_glib_networking="no"], - [have_glib_networking="unknown (cross-compiling)"]) -CFLAGS="$gimp_save_CFLAGS" -LIBS="$gimp_save_LIBS" -AC_MSG_RESULT($have_glib_networking) - -if test "x$have_glib_networking" = "xno"; then - add_deps_error([glib-networking], - [Test for glib-networking failed. This is required.]) -elif test "x$have_glib_networking" != "xyes"; then - warning_glib_networking=" -WARNING: Test for glib-networking cannot be performed while cross-compiling. - Make sure glib-networking is installed, otherwise GIMP will not be able - to display the remote help pages through the help browser, nor will it - be able to open remote HTTPS (or other protocol using SSL/TLS) files. - HTTPS is becoming the expected standard and should not be considered - optional anymore." -fi - -# AM_PATH_GLIB_2_0 already fills in the variable GLIB_COMPILE_RESOURCES. -# Unfortunately it looks it up using $PKG_CONFIG, which search in -# target-installed libraries, hence it would return a tool for the -# target architecture in case of cross-compilation (which can't be run -# during build, unless there is some compatibility layer in the OS). -# Therefore we make our own check. -AC_MSG_CHECKING([for native glib-compile-resources]) -if test -z "$HOST_GLIB_COMPILE_RESOURCES"; then - # Do not use $PKG_CONFIG as it will search target files. - HOST_GLIB_COMPILE_RESOURCES=`pkg-config --variable=glib_compile_resources gio-2.0` - if test -z "$HOST_GLIB_COMPILE_RESOURCES"; then - # As fallback, search in path. - AC_PATH_PROG(HOST_GLIB_COMPILE_RESOURCES, glib-compile-resources, no) - if test "x$HOST_GLIB_COMPILE_RESOURCES" = xno; then - add_deps_error([glib-compile-resources], - [Could not find glib-compile-resources in your PATH.]) - fi - fi -fi -AC_MSG_RESULT($HOST_GLIB_COMPILE_RESOURCES) -AC_SUBST(HOST_GLIB_COMPILE_RESOURCES) - -AC_PATH_PROG(GDBUS_CODEGEN, gdbus-codegen, no) -if test "x$GDBUS_CODEGEN" = xno; then - add_deps_error([gdbus-codegen], [Could not find gdbus-codegen in your PATH.]) -fi - -AC_MSG_CHECKING([if GLib is version 2.57.0 or newer]) -if $PKG_CONFIG --atleast-version=2.57.0 glib-2.0; then - have_glib_2_57=yes -else - have_glib_2_57=no -fi -AC_MSG_RESULT($have_glib_2_57) - -AC_PATH_PROG(GEGL, gegl, no) -if test "x$GEGL" = xno; then - add_deps_error([gegl], [Could not find native gegl executable in your PATH.]) -fi - - -# Check for bind_textdomain_codeset, including -lintl if GLib brings it in. -gimp_save_LIBS=$LIBS -LIBS="$LIBS $GLIB_LIBS" -AC_CHECK_FUNCS(bind_textdomain_codeset,, - add_deps_error([bind_textdomain_codeset()], - [Check for bind_textdomain_codeset() failed! This is required.])) -LIBS=$gimp_save_LIBS - - -AC_PATH_XTRA - -# Do not delay GTK errors and exit immediately as it will provoke -# harder to understand syntax errors of missing autoconf macros. -PKG_CHECK_MODULES(GTK, gtk+-3.0 >= gtk_required_version); - -AC_PATH_PROGS(GTK_UPDATE_ICON_CACHE, gtk-update-icon-cache-3.0 gtk-update-icon-cache, no) -if test "x$GTK_UPDATE_ICON_CACHE" = xno; then - add_deps_error([gtk-update-icon-cache], - [Could not find gtk-update-icon-cache in your PATH.]) -fi - -PKG_CHECK_MODULES(GDK_PIXBUF, gdk-pixbuf-2.0 >= gdk_pixbuf_required_version,, - [add_deps_error([gdk-pixbuf-2.0 >= gdk_pixbuf_required_version])]) - -AC_PATH_PROG(GDK_PIXBUF_CSOURCE, gdk-pixbuf-csource, no) -if test "x$GDK_PIXBUF_CSOURCE" = xno; then - add_deps_error([gdk-pixbuf-csource], - [Could not find gdk-pixbuf-csource in your PATH.]) -fi - -PKG_CHECK_MODULES(CAIRO, cairo >= cairo_required_version,, - [add_deps_error([cairo >= cairo_required_version])]) - -PKG_CHECK_MODULES(PANGOCAIRO, - [pangocairo >= pangocairo_required_version pangoft2], :, - [add_deps_error([pangocairo >= pangocairo_required_version and pangoft2], - [We require Pango with the optional support for Cairo compiled in.])]) - -gimp_save_CFLAGS=$CFLAGS -CFLAGS="$PANGOCAIRO_CFLAGS $CFLAGS" - -# Windows platform had a few bugs fixed in earlier fontconfig. -# The bugs are serious enough (for instance very slow startups at each -# GIMP start, but also slowness when closing, broken font features, -# etc.) that we should bump the requirement for Win32. -# See bugs 708110 (fontconfig 2.11.0), 703331 (2.11.1) and 782676 -# (2.12.4). -PKG_CHECK_MODULES(FONTCONFIG, fontconfig >= fontconfig_required_version,, - [add_deps_error([fontconfig >= fontconfig_required_version])]) - -AC_MSG_CHECKING([if Pango is version 1.43.0 or newer]) -if $PKG_CONFIG --atleast-version=1.43.0 pango; then - have_pango_1_43=yes -else - have_pango_1_43=no -fi -AC_MSG_RESULT($have_pango_1_43) - -CFLAGS="$PANGOCAIRO_CFLAGS $CFLAGS" - -AC_MSG_CHECKING([if Pango is built with a recent fontconfig]) -AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [[#include ]], - [[FcObjectSet *os; os = FcObjectSetBuild (FC_FAMILY, FC_WIDTH);]])], - [fontconfig_ok=yes], - [fontconfig_ok=no]) -AC_MSG_RESULT($fontconfig_ok) - -CFLAGS=$gimp_save_CFLAGS - -if test "x$fontconfig_ok" = xno; then - AC_MSG_ERROR([ -*** You have a fontconfig >= fontconfig_required_version installed on your system, but your -*** Pango library is using an older version. This old version is probably in -*** /usr/X11R6. Look at the above output, and note that the result for -*** FONTCONFIG_CFLAGS is not in the result for PANGOCAIRO_CFLAGS, and that -*** there is likely an extra -I line, other than the ones for GLIB, -*** Freetype, and Pango itself. That's where your old fontconfig files are. -*** Rebuild pango, and make sure that it uses the newer fontconfig. The -*** easiest way be sure of this is to simply get rid of the old fontconfig. -*** When you rebuild pango, make sure the result for FONTCONFIG_CFLAGS is -*** the same as the result here.]) -fi - - -PKG_CHECK_MODULES(FREETYPE, freetype2 >= freetype2_required_version,, - [add_deps_error([freetype2_required_version >= freetype2_required_version])]) - -PKG_CHECK_MODULES(HARFBUZZ, harfbuzz >= harfbuzz_required_version,, - [add_deps_error([harfbuzz >= harfbuzz_required_version])]) - -PKG_CHECK_MODULES(GEXIV2, gexiv2 >= gexiv2_required_version,, - [add_deps_error([gexiv2 >= gexiv2_required_version])]) - -################################# -# Check for debug console (Win32) -################################# - -AC_ARG_ENABLE(win32-debug-console, - [ --enable-win32-debug-console - open a console when starting the program - (default=auto)],, - enable_win32_debug_console=auto) - -AC_MSG_CHECKING([if GIMP should open a debug console at start]) -if test "x$platform_win32" != "xyes"; then - enable_win32_debug_console=no -elif test "x$enable_win32_debug_console" != xno && - test "x$enable_win32_debug_console" != xyes; then - # By default, we enable the debug console only for unstable builds. - enable_win32_debug_console=gimp_unstable -fi - -if test "x$enable_win32_debug_console" = "xyes"; then - AC_DEFINE(ENABLE_WIN32_DEBUG_CONSOLE, 1, - [Define to 1 if GIMP should open a debug console at start]) -fi -AC_MSG_RESULT([$enable_win32_debug_console]) - -###################################### -# Check for 32-bit DLLs (Win32 64-bit) -###################################### - -AC_ARG_WITH(win32-32bit-dll-folder, - [ --with-win32-32bit-dll-folder[=DIR] - alternative folder with 32-bit versions of DLL libraries on Windows (default: 32/bin/)],, - with_win32_32bit_dll_folder="32/bin") - -AC_MSG_CHECKING([the alternative folder containing 32-bit DLLs on Windows]) -if test "x$platform_win32" = "xyes"; then - case "$host_cpu" in - x86_64) - ;; - *) - with_win32_32bit_dll_folder="no" - ;; - esac -else - with_win32_32bit_dll_folder="no" -fi - -if test "x$with_win32_32bit_dll_folder" != "xno"; then - AC_DEFINE_UNQUOTED(WIN32_32BIT_DLL_FOLDER, "$with_win32_32bit_dll_folder", - [Define if 32-bit versions of libraries are packaged in an alternative folder]) -fi -AC_MSG_RESULT([$with_win32_32bit_dll_folder]) - -##################### -# Check for Dr. Mingw -##################### - -enable_drmingw="no" -if test "x$platform_win32" = "xyes"; then - # Check for Dr. Mingw - AC_CHECK_LIB(exchndl, ExcHndlSetLogFileNameW, - [ - AC_DEFINE(HAVE_EXCHNDL, 1, [Define to 1 when Dr. MingW is available]) - LIBS="-lexchndl $LIBS" - enable_drmingw="yes" - ], - [enable_drmingw="no (ExcHndl library missing)"] - ) -fi -AM_CONDITIONAL(HAVE_EXCHNDL, test "x$ac_cv_lib_exchndl_ExcHndlSetLogFileNameW" = "xyes") - -########################### -# Check for backtrace() API -########################### - -AC_CHECK_HEADERS([execinfo.h]) - -######################### -# Check for Matting Levin -######################### - -AC_MSG_CHECKING([for matting engine Levin]) -if $GEGL --exists "gegl:matting-levin"; then - have_matting_levin=yes -else - have_matting_levin='no (missing GEGL operation "gegl:matting-levin")' -fi -AC_MSG_RESULT($have_matting_levin) - -########################################## -# Check for some special functions we need -########################################## - -AC_CHECK_HEADERS(math.h ieeefp.h) - -# DU4 native cc currently needs -std1 for ANSI mode (instead of K&R) -AC_MSG_CHECKING([for extra flags to get ANSI library prototypes]) -gimp_save_LIBS=$LIBS -LIBS="$LIBS -lm" -AC_RUN_IFELSE( - [AC_LANG_SOURCE([[ - #include - int main (void) { return (log(1) != log(1.)); }]])], - [AC_MSG_RESULT(none needed)], - [gimp_save_CFLAGS=$CFLAGS - CFLAGS="$CFLAGS -std1" - AC_RUN_IFELSE( - [AC_LANG_SOURCE([[ - #include - int main (void) { return (log(1) != log(1.)); }]])], - [AC_MSG_RESULT(-std1)], - [AC_MSG_RESULT() - CFLAGS=$gimp_save_CFLAGS - AC_MSG_WARN([No ANSI prototypes found in library. (-std1 didn't work.)])], - [AC_MSG_RESULT])], - [AC_MSG_RESULT()]) - -LIBS=$gimp_save_LIBS - - -# check for rint -AC_CHECK_FUNC(rint, AC_DEFINE(HAVE_RINT, 1, - [Define to 1 if you have the rint function.]), [ - AC_CHECK_LIB(m, rint, [ - AC_DEFINE(HAVE_RINT)])]) - - -# check for vfork -AC_CHECK_FUNCS(vfork, ,) -AC_SUBST(HAVE_VFORK) - - -############################## -# Check for attributes we need -############################## - -AX_GCC_FUNC_ATTRIBUTE(destructor) - -##################################################################### -# Check for extra libs needed for getaddrinfo, getnameinfo and socket -##################################################################### - -gimp_save_LIBS=$LIBS -LIBS="" - -AC_CHECK_FUNCS(getaddrinfo, , AC_CHECK_LIB(nsl, getaddrinfo)) -AC_CHECK_FUNCS(getnameinfo, , AC_CHECK_LIB(nsl, getnameinfo)) -AC_CHECK_LIB(socket, socket) - -SOCKET_LIBS="$LIBS" -LIBS=$gimp_save_LIBS - -AC_SUBST(SOCKET_LIBS) - -################################### -# Check for Intel vector intrinsics -################################### -intrinsics_save_CFLAGS="$CFLAGS" -#FIXME: Check the CFLAGS separately -GIMP_DETECT_CFLAGS(SSE_MATH_CFLAG, '-mfpmath=sse') -GIMP_DETECT_CFLAGS(SSE2_CFLAG, '-msse2') -SSE2_EXTRA_CFLAGS="$SSE_MATH_CFLAG $SSE2_CFLAG" -CFLAGS="$SSE2_EXTRA_CFLAGS $intrinsics_save_CFLAGS" - -AC_MSG_CHECKING(whether we can compile SSE2 intrinsics) -AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]],[[__m128i one = _mm_set1_epi32 (1);]])], - AC_DEFINE(COMPILE_SSE2_INTRINISICS, 1, [Define to 1 if SSE2 intrinsics are available.]) - AC_SUBST(SSE2_EXTRA_CFLAGS) - AC_MSG_RESULT(yes) -, - AC_MSG_RESULT(no) - AC_MSG_WARN([SSE2 intrinsics not available.]) -) - - -GIMP_DETECT_CFLAGS(SSE4_1_CFLAG, '-msse4.1') -SSE4_1_EXTRA_CFLAGS="$SSE_MATH_CFLAG $SSE4_1_CFLAG" -CFLAGS="$SSE4_1_EXTRA_CFLAGS $intrinsics_save_CFLAGS" - -AC_MSG_CHECKING(whether we can compile SSE4.1 intrinsics) -AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]],[[__v4sf a, b, c; c = _mm_blend_ps(a, b, 0x08);]])], - AC_DEFINE(COMPILE_SSE4_1_INTRINISICS, 1, [Define to 1 if SSE4.1 intrinsics are available.]) - AC_SUBST(SSE4_1_EXTRA_CFLAGS) - AC_MSG_RESULT(yes) -, - AC_MSG_RESULT(no) - AC_MSG_WARN([SSE4.1 intrinsics not available.]) -) -CFLAGS="$intrinsics_save_CFLAGS" - - -######################## -# Check for MMX assembly -######################## - -AC_ARG_ENABLE(mmx, - [ --enable-mmx enable MMX support (default=auto)],, - enable_mmx=$have_x86) - -AC_ARG_ENABLE(sse, - [ --enable-sse enable SSE support (default=auto)],, - enable_sse=$enable_mmx) - -if test "x$enable_mmx" = xyes; then - GIMP_DETECT_CFLAGS(MMX_EXTRA_CFLAGS, '-mmmx') - SSE_EXTRA_CFLAGS= - - AC_MSG_CHECKING(whether we can compile MMX code) - - mmx_save_CFLAGS="$CFLAGS" - CFLAGS="$mmx_save_CFLAGS $MMX_EXTRA_CFLAGS" - - AC_COMPILE_IFELSE([AC_LANG_PROGRAM(,[[asm ("movq 0, %mm0");]])], - - AC_DEFINE(USE_MMX, 1, [Define to 1 if MMX assembly is available.]) - AC_MSG_RESULT(yes) - - if test "x$enable_sse" = xyes; then - GIMP_DETECT_CFLAGS(sse_flag, '-msse') - SSE_EXTRA_CFLAGS="$MMX_EXTRA_CFLAGS $sse_flag" - - AC_MSG_CHECKING(whether we can compile SSE code) - - CFLAGS="$CFLAGS $sse_flag" - - AC_COMPILE_IFELSE([AC_LANG_PROGRAM(,[[asm ("movntps %xmm0, 0");]])], - AC_DEFINE(USE_SSE, 1, [Define to 1 if SSE assembly is available.]) - AC_MSG_RESULT(yes) - , - enable_sse=no - AC_MSG_RESULT(no) - AC_MSG_WARN([The assembler does not support the SSE command set.]) - ) - - fi - , - enable_mmx=no - AC_MSG_RESULT(no) - AC_MSG_WARN([The assembler does not support the MMX command set.]) - ) - - CFLAGS="$mmx_save_CFLAGS" - - AC_SUBST(MMX_EXTRA_CFLAGS) - AC_SUBST(SSE_EXTRA_CFLAGS) -fi - - -############################ -# Check for AltiVec assembly -############################ - -AC_ARG_ENABLE(altivec, - [ --enable-altivec enable AltiVec support (default=auto)],, - enable_altivec=$have_ppc) - -if test "x$enable_altivec" = xyes; then - - GIMP_DETECT_CFLAGS(altivec_flag, '-faltivec' '-maltivec -mabi=altivec') - - ALTIVEC_EXTRA_CFLAGS= - case "$altivec_flag" in - -maltivec*) - altivec_save_CPPFLAGS="$CPPFLAGS" - CPPFLAGS="$altivec_save_CPPFLAGS $altivec_flag" - AC_CHECK_HEADERS(altivec.h, [ALTIVEC_EXTRA_CFLAGS="$altivec_flag"]) - CPPFLAGS="$altivec_save_CPPFLAGS" - ;; - *) - ALTIVEC_EXTRA_CFLAGS="$altivec_flag" - ;; - esac - AC_SUBST(ALTIVEC_EXTRA_CFLAGS) - - AC_MSG_CHECKING(whether we can compile AltiVec code) - - can_use_altivec=no - if test -z "$ALTIVEC_EXTRA_CFLAGS"; then - AC_MSG_RESULT(no) - AC_MSG_WARN([The compiler does not support the AltiVec command set.]) - else - case "$host_os" in - darwin*) - can_use_altivec=yes - AC_DEFINE(HAVE_ALTIVEC_SYSCTL, 1, - [Define to 1 if the altivec runtime test should use a sysctl.]) - ;; - *) - AC_COMPILE_IFELSE([AC_LANG_PROGRAM(,[[asm ("vand %v0, %v0, %v0");]])], - can_use_altivec=yes, can_use_altivec=no) - ;; - esac - AC_MSG_RESULT($can_use_altivec) - - if test "x$can_use_altivec" = "xyes"; then - AC_DEFINE(USE_ALTIVEC, 1, [Define to 1 if AltiVec support is available.]) - else - enable_altivec=no - AC_MSG_WARN([The assembler does not support the AltiVec command set.]) - fi - fi - - enable_altivec="$can_use_altivec" -fi - - -################################### -# Checks for shared memory handling -################################### - -# MacOS X has broken SysV shm -case "$host_os" in - darwin* | rhapsody* | machten*) - shmdefault=posix - ;; - *) - shmdefault=sysv - ;; -esac - -shmtype=auto -AC_ARG_WITH(shm, [ --with-shm=none|sysv|posix|auto shared memory transport type (default=auto)], shmtype=$with_shm) - -case $shmtype in - none|sysv|posix) ;; - auto) shmtype=$shmdefault ;; - *) AC_MSG_ERROR([Invalid shared memory transport type: use none, sysv, posix, or auto.]);; -esac - - -if test "x$platform_win32" = "xyes"; then - shmtype=win32 -elif test "x$shmtype" = "xsysv"; then - AC_CHECK_HEADER(sys/ipc.h, - [AC_DEFINE(HAVE_IPC_H, 1, - [Define to 1 if you have the header file.])], - no_sys_ipc=yes) - AC_CHECK_HEADER(sys/shm.h, - [AC_DEFINE(HAVE_SHM_H, 1, - [Define to 1 if you have the header file.])], - no_sys_shm=yes) - - if test "$ac_cv_header_sys_shm_h" = "yes"; then - AC_MSG_CHECKING(whether shmctl IPC_RMID allows subsequent attaches) - AC_RUN_IFELSE( - [AC_LANG_SOURCE([[ - #include - #include - #include - int main() - { - int id; - char *shmaddr; - id = shmget (IPC_PRIVATE, 4, IPC_CREAT | 0600); - if (id == -1) - return 2; - shmaddr = shmat (id, 0, 0); - shmctl (id, IPC_RMID, 0); - if ((char*) shmat (id, 0, 0) == (char*) -1) - { - shmdt (shmaddr); - return 1; - } - shmdt (shmaddr); - shmdt (shmaddr); - return 0; - } - ]])], - [AC_DEFINE([IPC_RMID_DEFERRED_RELEASE],[1], - [Define to 1 if shared memory segments are released deferred.]) - AC_MSG_RESULT(yes)], - [AC_MSG_RESULT(no)], - [AC_MSG_RESULT(assuming no)]) - - AC_DEFINE(USE_SYSV_SHM, 1, [Define to 1 to use SYSV shared memory]) - else - shmtype=none - fi -elif test "x$shmtype" = "xposix"; then - have_shm_open=no - - AC_CHECK_FUNC(shm_open, have_shm_open=yes) - - RT_LIBS= - if test "$have_shm_open" != "yes"; then - AC_CHECK_LIB(rt, shm_open, RT_LIBS="-lrt" have_shm_open=yes) - fi - AC_SUBST(RT_LIBS) - - AC_CHECK_HEADER(sys/mman.h, - [AC_DEFINE(HAVE_MMAN_H, 1, - [Define to 1 if you have the header file.])], - no_sys_mman=yes) - - if test "$ac_cv_func_mmap" = "yes" && - test "$ac_cv_header_sys_mman_h" = "yes" && - test "$have_shm_open" = "yes"; then - AC_DEFINE(USE_POSIX_SHM, 1, [Define to 1 to use POSIX shared memory]) - else - shmtype=none - fi -fi - -AC_MSG_CHECKING(for shared memory transport type) -AC_MSG_RESULT($shmtype) - - -######################## -# Define a symbol prefix -######################## - -AC_MSG_CHECKING([whether symbols are prefixed]) - -case "$host_os" in - mingw*) - case "$host_cpu" in - x86_64) SYMPREFIX='' ;; - *) SYMPREFIX='_' ;; - esac - ;; - darwin* | rhapsody* | machten*) - SYMPREFIX='_' - ;; - *) - ;; -esac - -if test -n "$SYMPREFIX"; then - AC_MSG_RESULT([yes, with a $SYMPREFIX]) -else - AC_MSG_RESULT(no) -fi - -AC_SUBST(SYMPREFIX) - - -############################ -# Check for select and fdset -############################ - -if test "x$os_win32" != xyes; then - AC_MSG_CHECKING([fd_set and sys/select]) - AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [[#include ]], - [[fd_set readMask, writeMask;]])], - [gimp_ok=yes], - [gimp_ok=no]) - if test "x$gimp_ok" = xno; then - AC_EGREP_HEADER(fd_mask, sys/select.h, gimp_ok=yes) - if test "x$gimp_ok" = xyes; then - AC_DEFINE(HAVE_SYS_SELECT_H, 1, - [Define to 1 if you have the header.]) - fi - fi - AC_MSG_RESULT($gimp_ok) - if test "x$gimp_ok" = xno; then - AC_DEFINE(NO_FD_SET, 1, - [Define to 1 if you don't have the fd_set typedef.]) - fi -fi - - -############################# -# Threads and multi processor -############################# - -AC_ARG_ENABLE(mp, [ --disable-mp disable support for multiple processors]) - -if test "x$enable_mp" != "xno"; then - AC_DEFINE(ENABLE_MP, 1, - [Define to 1 to enable support for multiple processors.]) -fi - -enable_openmp=no - -m4_ifdef([AC_OPENMP], [AC_OPENMP], [AX_OPENMP([enable_openmp=yes],[enable_openmp=no])]) -if test "x$ac_cv_prog_c_openmp" != "xunsupported" && test "x$ac_cv_prog_c_openmp" != "x"; then - enable_openmp=yes -fi - -if test "x$enable_openmp" = "xyes"; then - AC_DEFINE(USE_OPENMP, 1, [Define to 1 to enable support for OpenMP]) - CFLAGS="$CFLAGS $(OPENMP_CFLAGS)" -fi - -################################ -# Some plug-ins are X11 specific -################################ - -# Check if building for GTK+-X11 -GTK_CHECK_BACKEND([x11], [gtk_required_version], - [have_gtk_x11=yes], [have_gtk_x11=no]) - -have_libxmu="no (building for `pkg-config --variable=targets gtk+-3.0`)" - -if test "x$have_gtk_x11" = "xyes"; then - - # doc-shooter is X11 specific - DOC_SHOOTER=doc-shooter - - # screenshot plug-in needs to link to X11 explicitly - SCREENSHOT_LIBS="$X_LIBS -lX11" - - gimp_save_CFLAGS="$CFLAGS" - gimp_save_LDFLAGS="$LDFLAGS" - CFLAGS="$CFLAGS $GTK_CFLAGS" - LDFLAGS="$LDFLAGS $X_LIBS" - - # Test for Xmu - if test -z "$XMU_LIBS"; then - AC_CHECK_LIB(Xmu, XmuClientWindow, - [AC_CHECK_HEADERS(X11/Xmu/WinUtil.h, - have_libxmu=yes - XMU_LIBS="$X_LIBS $X_PRE_LIBS -lX11 -lXmu -lXt" - SCREENSHOT_LIBS="$XMU_LIBS", - [have_libxmu="no (XMU header file not found)"],[#include ])], - [have_libxmu="no (XMU library not found)"], -lXt -lX11) - fi - - # Check for shaped window extension - AC_CHECK_LIB(Xext, XShapeGetRectangles, - [AC_CHECK_HEADERS(X11/extensions/shape.h, - SCREENSHOT_LIBS="$SCREENSHOT_LIBS -lXext",,[#include ])],, - -lX11 -lXext) - - CFLAGS="$gimp_save_CFLAGS" - LDFLAGS="$gimp_save_LDFLAGS" - - # check for the XFixes extension - PKG_CHECK_MODULES(XFIXES, xfixes, - AC_DEFINE(HAVE_XFIXES, 1, - [Define to 1 to if the XFIXES X extension is available]) - SCREENSHOT_LIBS="$SCREENSHOT_LIBS $XFIXES_LIBS", - true) -fi - -AC_SUBST(XMU_LIBS) -AC_SUBST(SCREENSHOT_LIBS) - -AC_SUBST(DOC_SHOOTER) - - -GIMP_COMMAND='gimp-gimp_app_version' - -AC_SUBST(GIMP_COMMAND) - - -############ -# MIME types -############ - -# The list of MIME types that are supported by plug-ins that are compiled -# unconditionally: -MIME_TYPES="image/bmp;image/g3fax;image/gif;image/x-fits;image/x-pcx;image/x-portable-anymap;image/x-portable-bitmap;image/x-portable-graymap;image/x-portable-pixmap;image/x-psd;image/x-sgi;image/x-tga;image/x-xbitmap;image/x-xwindowdump;image/x-xcf;image/x-compressed-xcf;image/x-gimp-gbr;image/x-gimp-pat;image/x-gimp-gih;image/x-sun-raster" - -################# -# Bundle packages -################# - -AC_MSG_CHECKING([whether we build a relocatable package]) -AC_ARG_ENABLE(relocatable-bundle, - [ --enable-relocatable-bundle - build with resources considered bundled under the same prefix - (default=auto)],, - enable_relocatable_bundle=auto) - -if test "x$enable_relocatable_bundle" != xno && - test "x$enable_relocatable_bundle" != xyes; then - # By default, assume building for Windows or macOS everything to be on - # the same prefix and can be relocated. - # On other platforms, build-time paths are meaningful. - if test "x$platform_osx" = "xyes" || - test "x$platform_win32" = "xyes"; then - enable_relocatable_bundle=yes - else - enable_relocatable_bundle=no - fi -fi -if test "x$enable_relocatable_bundle" = xyes; then - AC_DEFINE(ENABLE_RELOCATABLE_RESOURCES, 1, - [Define to 1 if resources are considered bundled under the same prefix]) -fi -AM_CONDITIONAL(ENABLE_RELOCATABLE_RESOURCES, test x$enable_relocatable_bundle = xyes) - -AC_MSG_RESULT([$enable_relocatable_bundle]) - -################### -# Check for libtiff -################### - -PKG_CHECK_MODULES(TIFF, [libtiff-4 >= libtiff_required_version],, - [add_deps_error([libtiff-4 >= libtiff_required_version])]) -MIME_TYPES="$MIME_TYPES;image/tiff" - -################### -# Check for libjpeg -################### - -PKG_CHECK_MODULES(JPEG, [libjpeg],, [add_deps_error([libjpeg])]) -MIME_TYPES="$MIME_TYPES;image/jpeg" - - -################ -# Check for libz -################ - -if test -z "$Z_LIBS"; then - AC_CHECK_LIB(z, gzsetparams, - [AC_CHECK_HEADER(zlib.h, - Z_LIBS='-lz', - add_deps_error([zlib], [ZLIB header files not found]))], - add_deps_error([zlib], [ZLIB library not found])) -fi - -MIME_TYPES="$MIME_TYPES;image/x-psp" - -AC_SUBST(Z_LIBS) - - -#################### -# Check for libbzip2 -#################### - -gimp_save_LIBS=$LIBS -LIBS="$LIBS -lbz2" - -if test -z "$BZIP2_LIBS"; then - # We used to use AC_CHECK_LIB, but bz2 uses the WINAPI calling convention on - # windows, so the test needs to #include to be able to link properly - AC_CHECK_HEADER(bzlib.h, - [AC_MSG_CHECKING([for BZ2_bzCompress in -lbz2]); - AC_LINK_IFELSE( - [AC_LANG_PROGRAM( - [[#include ]], - [[BZ2_bzCompress (NULL, 0);]])], - [AC_MSG_RESULT([yes]); BZIP2_LIBS='-lbz2'], - add_deps_error([libbzip2], [libbzip2 library not found]))], - add_deps_error([libbzip2], [libbzip2 header files not found])) -fi - -LIBS=$gimp_save_LIBS - -AC_SUBST(BZIP2_LIBS) - - -################### -# Check for liblzma -################### - -PKG_CHECK_MODULES(LZMA, liblzma >= liblzma_required_version,, - [add_deps_error([liblzma >= liblzma_required_version])]) - - -############################# -# Check for extension support -############################# - -PKG_CHECK_MODULES(APPSTREAM_GLIB, appstream-glib >= appstream_glib_required_version,, - [add_deps_error([appstream-glib >= appstream_glib_required_version])]) - -PKG_CHECK_MODULES(LIBARCHIVE, libarchive,, - [add_deps_error([libarchive])]) - -############################### -# Check for Ghostscript library -############################### - -AC_ARG_WITH(gs, [ --without-gs build without Ghostscript support]) - -have_gs=no -if test "x$with_gs" != xno; then - have_gs=yes - AC_CHECK_LIB(gs, gsapi_new_instance, - [AC_CHECK_HEADER(ghostscript/iapi.h, - FILE_PS='file-ps$(EXEEXT)'; GS_LIBS='-lgs', - [have_gs="no (Ghostscript header files not found)"])], - [have_gs="no (Ghostscript library not found)"]) - if test "x$have_gs" != xyes -a "x$with_gs" = xyes; then - AC_MSG_ERROR([ -*** Checks for Ghostscript library failed. You can build without it by passing -*** --without-gs to configure but you won't be able to use PostScript files then.]) - fi -fi - -if test "x$have_gs" = xyes; then - MIME_TYPES="$MIME_TYPES;application/postscript" -fi - -AC_SUBST(FILE_PS) -AM_CONDITIONAL(HAVE_GS, test "x$have_gs" = xyes) -AC_SUBST(GS_LIBS) - - -################## -# Check for libpng -################## - -PKG_CHECK_MODULES(PNG, libpng >= libpng_required_version,, - [add_deps_error([libpng >= libpng_required_version])]) - -MIME_TYPES="$MIME_TYPES;image/png;image/x-icon" -PNG_CFLAGS="$PNG_CFLAGS -DPNG_PEDANTIC_WARNINGS" - - -################## -# Check for libmng -################## - -AC_ARG_WITH(libmng, [ --without-libmng build without MNG support]) - -have_libmng=no -if test "x$with_libmng" != xno && test -z "$MNG_LIBS" && - test -n "$PNG_LIBS" && test -n "$JPEG_LIBS" && test -n "$Z_LIBS"; then - - PKG_CHECK_MODULES(MNG, libmng, have_libmng=yes, have_libmng=no) - - if test "x$have_libmng" != xyes; then - AC_CHECK_LIB(mng, mng_create, - [AC_CHECK_HEADER(libmng.h, mng_ok=yes)], - [have_libmng="no (MNG library not found)"], -lz -lm) - if test "$mng_ok" = yes; then - have_libmng=yes - FILE_MNG='file-mng$(EXEEXT)'; MNG_LIBS="-lmng $JPEG_LIBS $PNG_LIBS"; MNG_CFLAGS="$PNG_CFLAGS" - if test "x$platform_win32" = "xyes"; then - MNG_CFLAGS="$MNG_CFLAGS -DMNG_USE_DLL" - fi - else - have_libmng="no (MNG header file not found)" - fi - fi -fi - -AC_SUBST(FILE_MNG) -AC_SUBST(MNG_LIBS) -AC_SUBST(MNG_CFLAGS) - - -################# -# Check for libaa -################# - -AC_ARG_WITH(aa, [ --without-aa do not build the AA plug-in]) - -have_libaa=no -if test "x$with_aa" != xno; then - have_libaa=yes - # First case if manually set, use the AA_LIBS environment variable. - if test -z "$AA_LIBS"; then - # Otherwise try the aalib-config script. - AA_LIBS=`aalib-config --libs` - if test -z "$AA_LIBS"; then - # Just try -laa. - AC_CHECK_LIB(aa, aa_printf, - [AC_CHECK_HEADER(aalib.h, - AA_LIBS='-laa', - [have_libaa="no (AA header file not found)"])], - [have_libaa="no (AA library not found)"]) - fi - fi - - if test "$have_libaa" = yes; then - FILE_AA='file-aa$(EXEEXT)' - fi -fi - -AC_SUBST(FILE_AA) -AC_SUBST(AA_LIBS) - - -################## -# Check for libxpm -################## - -AC_ARG_WITH(libxpm, [ --without-libxpm build without XPM support]) - -gimp_save_CFLAGS="$CFLAGS" -CFLAGS="$CFLAGS $X_CFLAGS" -gimp_save_LDFLAGS="$LDFLAGS" -LDFLAGS="$LDFLAGS $X_LIBS" -if test "x$have_gtk_x11" = "xyes"; then - lib_X11=-lX11 -fi -have_libxpm=no -if test "x$with_libxpm" != xno && test -z "$XPM_LIBS"; then - have_libxpm=yes - AC_CHECK_LIB(Xpm, XpmReadFileToXpmImage, - [AC_CHECK_HEADER(X11/xpm.h, - FILE_XPM='file-xpm$(EXEEXT)'; XPM_LIBS="$X_LIBS $X_PRE_LIBS $lib_X11 -lXpm", - [have_libxpm="no (XPM header file not found)"])], - [have_libxpm="no (XPM library not found)"], $X_PRE_LIBS $lib_X11) -fi -CFLAGS="$gimp_save_CFLAGS" -LDFLAGS="$gimp_save_LDFLAGS" - -if test "x$have_libxpm" = xyes; then - MIME_TYPES="$MIME_TYPES;image/x-xpixmap" -fi - -AC_SUBST(FILE_XPM) -AC_SUBST(XPM_LIBS) - - -################### -# Check for OpenEXR -################### - -AC_ARG_WITH(openexr, [ --without-openexr build without OpenEXR support]) - -have_openexr=no -if test "x$with_openexr" != xno; then - have_openexr=yes - PKG_CHECK_MODULES(OPENEXR, OpenEXR >= openexr_required_version, - FILE_EXR='file-exr$(EXEEXT)', - [have_openexr="no (OpenEXR not found)"]) -fi - -if test "x$have_openexr" = xyes; then - MIME_TYPES="$MIME_TYPES;image/x-exr" -fi - -AC_SUBST(OPENEXR_CFLAGS) -AC_SUBST(OPENEXR_LIBS) -AC_SUBST(FILE_EXR) - -AM_CONDITIONAL(HAVE_OPENEXR, test "x$have_openexr" = xyes) - - -################ -# Check for WebP -################ - -AC_ARG_WITH(webp, [ --without-webp build without WebP support]) - -have_webp=no -if test "x$with_webp" != xno; then - have_webp=yes - PKG_CHECK_MODULES(WEBP, libwebp >= webp_required_version, - [ - PKG_CHECK_MODULES(WEBPMUX, libwebpmux >= webp_required_version, - [ - PKG_CHECK_MODULES(WEBPDEMUX, libwebpdemux >= webp_required_version,, - [have_webp="no (WebP not built with libwebpdemux)"]) - ], - [have_webp="no (WebP not built with libwebpmux)"]) - ], - [have_webp="no (WebP not found)"]) -fi - -if test "x$have_webp" = xyes; then - MIME_TYPES="$MIME_TYPES;image/webp;image/x-webp" -fi - -AM_CONDITIONAL(HAVE_WEBP, test "x$have_webp" = xyes) - - -################### -# Check for libheif -################### - -AC_ARG_WITH(libheif, [ --without-libheif build without libheif support]) - -# Overcomplex tests, but basically: -# - Profiles supported only for libheif >= 1.4.0. -# - libheif 1.5.0 and 1.5.1 are very broken and easily crash. -# As a consequence we prioritize any libheif other than these 2 versions -# (even when under 1.4.0 thus we lose profile support), and only use -# these as last resort, outputting a warning. -have_libheif=no -have_libheif_1_4_0=no -if test "x$with_libheif" != xno; then - have_libheif_1_4_0=yes - have_libheif=yes - PKG_CHECK_MODULES(LIBHEIF, libheif > 1.5.1,, - [ - PKG_CHECK_MODULES(LIBHEIF, libheif = 1.4.0,, - [ - have_libheif_1_4_0="no (libheif >= 1.4.0 not found)" - PKG_CHECK_MODULES(LIBHEIF, libheif = libheif_required_version,, - [ - PKG_CHECK_MODULES(LIBHEIF, libheif >= 1.5.0, - [ - have_libheif_1_4_0=yes - warning_libheif=" -WARNING: libheif version 1.5.0 and 1.5.1 are known to crash when - exporting (bug #4185). Please update." - ], - [ have_libheif="no (libheif not found)" ]) - ]) - ]) - ]) -fi - -can_import_heic=no -can_export_heic=no -can_import_avif=no -can_export_avif=no -if test "x$have_libheif" = xyes; then - can_import_heic=`$PKG_CONFIG --variable=builtin_h265_decoder libheif` - can_export_heic=`$PKG_CONFIG --variable=builtin_h265_encoder libheif` - if test "x$can_import_heic" = xyes; then - MIME_TYPES="$MIME_TYPES;image/heif;image/heic" - fi - can_import_avif=`$PKG_CONFIG --variable=builtin_avif_decoder libheif` - can_export_avif=`$PKG_CONFIG --variable=builtin_avif_encoder libheif` - if test "x$can_import_avif" = xyes; then - MIME_TYPES="$MIME_TYPES;image/avif" - fi - - if test "x$can_import_heic" != xyes && test "x$can_import_avif" != xyes; then - have_libheif=no - have_libheif_1_4_0=no - warning_libheif="" - else - FILE_HEIF='file-heif$(EXEEXT)' - fi -fi - -AC_SUBST(FILE_HEIF) -AM_CONDITIONAL(HAVE_LIBHEIF, test "x$have_libheif" = xyes) - -have_heif_profile_support=no -if test "x$have_libheif_1_4_0" = xyes; then - AC_DEFINE(HAVE_LIBHEIF_1_4_0, 1, - [Define to 1 if libheif >= 1.4.0 is available]) - - if test "x$can_import_heic" = xyes || test "x$can_export_heic" = xyes; then - if test "x$warning_libheif" != "x"; then - have_heif_profile_support="yes (see warning below)" - else - have_heif_profile_support=yes - fi - fi -fi - -################### -# Check for JPEG XL -################### - -AC_ARG_WITH(jpegxl, [ --without-jpegxl build without JPEG XL support]) - -have_jpegxl=no -if test "x$with_jpegxl" != xno; then - PKG_CHECK_MODULES(JXL, libjxl >= libjxl_required_version, - [ - PKG_CHECK_MODULES(JXL_THREADS, libjxl_threads >= libjxl_required_version, - [have_jpegxl=yes], - [have_jpegxl="no (libjxl_threads not found)"]) - ], - [have_jpegxl="no (libjxl not found)"]) -fi - -if test "x$have_jpegxl" = xyes; then - MIME_TYPES="$MIME_TYPES;image/jxl" - FILE_JPEGXL='file-jpegxl$(EXEEXT)' -fi - -AM_CONDITIONAL(HAVE_JPEGXL, test "x$have_jpegxl" = xyes) -AC_SUBST(FILE_JPEGXL) - -######################## -# Check for libbacktrace -######################## - -AC_ARG_WITH(libbacktrace, [ --without-libbacktrace build without libbacktrace support]) - -have_libbacktrace=no -if test "x$with_libbacktrace" != xno; then - have_libbacktrace=yes - - gimp_save_LIBS=$LIBS - LIBS="$LIBS -lbacktrace" - - AC_MSG_CHECKING([for LIBBACKTRACE]) - AC_LINK_IFELSE( - [AC_LANG_PROGRAM( - [[#include - #include - #include - - #if ! BACKTRACE_SUPPORTED - #error ! BACKTRACE_SUPPORTED - #endif - ]], - [[(void) backtrace_create_state (NULL, 0, NULL, NULL);]])], - [AC_MSG_RESULT([yes]); LIBBACKTRACE_LIBS='-lbacktrace'], - [AC_MSG_RESULT([no]); have_libbacktrace='no (libbacktrace is not found or not supported)']) - - LIBS=$gimp_save_LIBS - - AC_SUBST(LIBBACKTRACE_LIBS) -fi - -if test "x$have_libbacktrace" = xyes; then - AC_DEFINE(HAVE_LIBBACKTRACE, 1, - [Define to 1 if libbacktrace is available]) -fi - - -##################### -# Check for libunwind -##################### - -AC_ARG_WITH(libunwind, [ --without-libunwind build without libunwind support]) - -have_libunwind=no -if test "x$with_libunwind" != xno; then - have_libunwind=yes - PKG_CHECK_MODULES(LIBUNWIND, libunwind >= libunwind_required_version, - [], - [have_libunwind="no (libunwind not found)"]) -fi - -if test "x$have_libunwind" = xyes; then - AC_DEFINE(HAVE_LIBUNWIND, 1, - [Define to 1 if libunwind is available]) -fi - - -####################################### -# Check for detailed backtraces support -####################################### - -detailed_backtraces=no -if test "x$platform_linux" = xyes; then - if test "x$have_libbacktrace" = xyes -o "x$have_libunwind" = xyes; then - detailed_backtraces=yes - else - detailed_backtraces='no (libbacktrace and libunwind are not found or not supported)' - fi -elif test "x$platform_win32" = xyes; then - detailed_backtraces=$enable_drmingw -fi - - -###################### -# Check for libmypaint -###################### - -PKG_CHECK_MODULES(LIBMYPAINT, libmypaint >= 1.4.0,, - [ - PKG_CHECK_MODULES(LIBMYPAINT, libmypaint >= libmypaint_required_version,, - [add_deps_error([libmypaint >= libmypaint_required_version])]) - warning_libmypaint=" -WARNING: libmypaint lower than version 1.4.0 is known to crash when - parsing MyPaint 2 brushes. Please update." - ]) - -PKG_CHECK_MODULES(MYPAINT_BRUSHES, mypaint-brushes-1.0,, - [add_deps_error([mypaint-brushes-1.0])]) - -if test "x$enable_relocatable_bundle" != xno; then - mypaint_brushes_dir='${gimp_installation_dir}/share/mypaint-data/1.0/brushes' -else - mypaint_brushes_dir=`$PKG_CONFIG --variable=brushesdir mypaint-brushes-1.0` -fi -AC_SUBST(mypaint_brushes_dir) - - -################## -# Check for webkit -################## - -# We disable WebkitGTK as default for now and discourage its use because -# it is just a horror to build, is not available on Windows anymore -# (AFAIK), and features brought are not worth the pain. We still leave -# the code because mitch wants us to be able to look at it later, maybe -# reinstate it through some shape or another. Yet for now, it is to be -# considered non-existing feature for packager point of view. It is only -# there in the hope developers get it back in shape. - -AC_ARG_WITH(webkit, [ --with-webkit-unmaintained build the help-browser and web-page plug-ins (unmaintained)]) - -have_webkit=no -if test "x$with_webkit_unmaintained" = xyes; then - PKG_CHECK_MODULES(WEBKIT, webkit2gtk-4.0 >= webkitgtk_required_version, - WEB_PAGE='web-page$(EXEEXT)' - have_webkit=yes, - [have_webkit="no (WebKit not found)" - add_deps_error([webkit2gtk-4.0 >= webkitgtk_required_version])]) -else - have_webkit="no (WebKit support disabled)" -fi - -AC_SUBST(WEB_PAGE) -if test "x$have_webkit" = "xyes"; then - AC_DEFINE(HAVE_WEBKIT, 1, [Define to 1 if webkit is available]) -fi -AM_CONDITIONAL(HAVE_WEBKIT, test "x$have_webkit" = xyes) - - -################### -# Check for librsvg -################### - -PKG_CHECK_MODULES(SVG, librsvg-2.0 >= rsvg_required_version,, - [add_deps_error([rsvg >= rsvg_required_version])]) - -MIME_TYPES="$MIME_TYPES;image/svg+xml" - - -#################################### -# Allow to disable the print plug-in -#################################### - -AC_ARG_WITH(print,[ --without-print build without print support]) - -enable_print="no (disabled)" -if test "x$with_print" != xno; then - enable_print="yes" -fi - -AM_CONDITIONAL(BUILD_PRINT, test "x$enable_print" = xyes) - - -###################### -# Check for libpoppler -###################### - -# PDF import support is a granted feature. -PKG_CHECK_MODULES(POPPLER, [poppler-glib >= poppler_required_version],, - [add_deps_error([poppler-glib >= poppler_required_version])]) -# All modern distributions have at least this version and CJK/Cyrillic -# support should not be considered as "second-zone citizen". -PKG_CHECK_MODULES(POPPLER_DATA, [poppler-data >= poppler_data_required_version],, - [add_deps_error([poppler-data >= poppler_data_required_version])]) - -# MIME_TYPES is for the formats we can open as used for instance in the -# desktop file. Even if cairo-pdf (used for PDF export) is not -# installed, the mime-type list should contain application/pdf. -MIME_TYPES="$MIME_TYPES;application/pdf" - -##################### -# Check for cairo-pdf -##################### - -AC_ARG_WITH(cairo_pdf,[ --without-cairo-pdf build without cairo-pdf support]) -have_cairo_pdf=no -if test "x$with_cairo_pdf" != xno; then - have_cairo_pdf=yes - PKG_CHECK_MODULES(CAIRO_PDF, cairo-pdf >= cairo_pdf_required_version, - FILE_PDF_SAVE='file-pdf-save$(EXEEXT)', - have_cairo_pdf="no (cairo-pdf not found)") -else - have_cairo_pdf="no (cairo-pdf support disabled)" -fi - -AC_SUBST(FILE_PDF_SAVE) - - -################### -# Check for libwmf2 -################### - -AC_ARG_WITH(wmf, [ --without-wmf build without WMF support]) - -have_libwmf=no -AS_IF([test "x$with_wmf" != xno], [ - PKG_CHECK_MODULES([WMF], libwmf >= wmf_required_version, - [have_libwmf=yes], [have_libwmf="no (libwmf not found)"]) - - AS_IF([test "x$have_libwmf" != xyes], [ - # No pkg-config; try falling back to the traditional -config script - AC_PATH_PROG([WMF_CONFIG], [libwmf-config], [no]) - AS_IF([test "x$WMF_CONFIG" != xno], [ - AC_MSG_CHECKING(for libwmf >= wmf_required_version using $WMF_CONFIG) - wmf_version=`$WMF_CONFIG --version` - AS_IF(expr $wmf_version \>= wmf_required_version >/dev/null, [ - AC_MSG_RESULT([yes (version $wmf_version)]) - have_libwmf=yes - WMF_LIBS=`$WMF_CONFIG --libs` - WMF_CFLAGS=`$WMF_CONFIG --cflags` - ]) - ]) - ]) -]) - -if test "x$have_libwmf" = xyes; then - FILE_WMF='file-wmf$(EXEEXT)' - MIME_TYPES="$MIME_TYPES;image/x-wmf" -fi - -AC_SUBST(FILE_WMF) -AC_SUBST(WMF_LIBS) -AC_SUBST(WMF_CFLAGS) - - -#################### -# Check for OpenJPEG -#################### - -AC_ARG_WITH(jpeg2000, [ --without-jpeg2000 build without JPEG 2000 support]) - -have_openjpeg=no -if test "x$with_jpeg2000" != xno; then - have_openjpeg=yes - PKG_CHECK_MODULES(OPENJPEG, libopenjp2 >= openjpeg_required_version, - FILE_JP2_LOAD='file-jp2-load$(EXEEXT)' - have_openjpeg=yes, - have_openjpeg="no (OpenJPEG not found)") -fi - -if test "x$have_openjpeg" = xyes; then - MIME_TYPES="$MIME_TYPES;image/jp2" -fi - -AM_CONDITIONAL(HAVE_OPENJPEG, test "x$have_openjpeg" = xyes) -AC_SUBST(FILE_JP2_LOAD) - - -################ -# Check for lcms -################ - -PKG_CHECK_MODULES(LCMS, lcms2 >= lcms_required_version,, - [add_deps_error([lcms2 >= lcms_required_version])]) - - -###################### -# Check for libXcursor -###################### - -AC_ARG_WITH(xmc,[ --without-xmc build without Xcursor support]) - -have_xmc=no -if test "x$with_xmc" != xno; then - have_xmc=yes - PKG_CHECK_MODULES(XMC, xcursor, - FILE_XMC='file-xmc$(EXEEXT)', - have_xmc="no (libXcursor not found)") -else - have_xmc="no (libXcursor support disabled)" -fi - -if test "x$have_xmc" = xyes; then - MIME_TYPES="$MIME_TYPES;image/x-xcursor" -fi - -AC_SUBST(FILE_XMC) - - -################ -# Check for alsa -################ - -AC_ARG_WITH(alsa, [ --without-alsa disable alsa support in midi input controller]) - -have_alsa="no (alsa support disabled)" -if test "x$with_alsa" != xno; then - have_alsa=yes - AM_PATH_ALSA(alsa_required_version, - AC_DEFINE(HAVE_ALSA, 1, [Define to 1 if alsa is available]), - have_alsa="no (libasound not found or unusable)") -fi - - -####################### -# Check for Linux Input -####################### - -AC_ARG_WITH(linux-input, [ --without-linux-input don't build linux input event controller module]) - -have_linux_input="no (linux input support disabled)" -AS_IF([test "x$with_linux_input" != "xno"], - [AC_CHECK_HEADER([linux/input.h], - [AC_CHECK_DECL([KEY_OK], - [have_linux_input=yes], - [have_linux_input="no (needs Linux 2.6)"], - [#include ])])]) - -AM_CONDITIONAL([HAVE_LINUX_INPUT], [test "x$have_linux_input" = xyes]) - - -############################### -# Check for DirectX DirectInput -############################### - -AC_ARG_WITH(directx-sdk, [ --with-directx-sdk=PFX prefix where the DirectX SDK is installed(optional)]) - -have_dx_dinput=no -if test "x$os_win32" = xyes; then - case "$with_directx_sdk" in - *" "*) AC_MSG_WARN([The DirectX SDK should be accessible through a path without spaces. Use MSYS mounts. Ignoring your --with-directx-sdk switch.]) - with_directx_sdk=;; - *\\*) AC_MSG_WARN([Use plain (forward) slashes only in your --with-directx-sdk switch. Ignoring your --with-directx-sdk switch.]) - with_directx_sdk=;; - esac - - dinput_save_CPPFLAGS="$CPPFLAGS" - dinput_save_LDFLAGS="$LDFLAGS" - if test "x$with_directx_sdk" != x; then - CPPFLAGS="-I $with_directx_sdk/Include $CPPFLAGS" - LDFLAGS="-L$with_directx_sdk/Lib/x86 $LDFLAGS" - AC_CHECK_HEADER(dinput.h, - [AC_CHECK_LIB(dxguid, GUID_XAxis, have_dx_dinput=yes)]) - fi - - if test "x$have_dx_dinput" = xyes; then - AC_DEFINE(HAVE_DX_DINPUT, 1, [Define to 1 if you have DirectX DirectInput headers and libraries]) - else - CPPFLAGS="$dinput_save_CPPFLAGS" - LDFLAGS="$dinput_save_LDFLAGS" - fi -fi - -AM_CONDITIONAL(HAVE_DX_DINPUT, test "x$have_dx_dinput" = xyes) - -################### -# Check for cfitsio -################### - -PKG_CHECK_MODULES(CFITSIO, [cfitsio],, [add_deps_error([cfitsio])]) -MIME_TYPES="$MIME_TYPES;image/fits" - - -#################### -# Check for libgudev -#################### - -AC_ARG_WITH(gudev, [ --without-gudev build without GUdev support]) - -have_libgudev=no - -if test "x$with_gudev" = xno; then - have_libgudev="no (disabled)" -fi - -if test "x$have_linux_input" = xyes && test "x$with_gudev" != xno; then - PKG_CHECK_MODULES(GUDEV, gudev-1.0 >= libgudev_required_version, - have_libgudev=yes, - have_libgudev="no (libgudev not found)") -fi - -if test "x$have_libgudev" = xyes; then - AC_DEFINE(HAVE_LIBGUDEV, 1, [Define to 1 if libgudev is available]) -fi - - -########################## -# Check for Email Settings -########################## - -# The default behavior is that xdg-email is searched in the user PATH, -# and email plugin is enabled if found. -# Sendmail can be used instead of xdg-email, but must be explicitly -# enabled with --with-sendmail. - -have_email="no (xdg-email not found)" - -AC_ARG_WITH(sendmail,[ --with-sendmail[=DIR] use sendmail instead of xdg-email]) - -have_sendmail=no -# Sendmail must be explicitly enabled to replace xdg-email implementation. -if test "x$with_sendmail" != "x" && test "x$with_sendmail" != "xno"; then - if test "x$with_sendmail" = "xyes"; then - sendmail_path=$PATH:/usr/sbin:/usr/lib - AC_DEFINE_UNQUOTED(SENDMAIL, "", - [The MTA used by the mail plug-in.]) - else - sendmail_path=$with_sendmail - AC_DEFINE_UNQUOTED(SENDMAIL, "$with_sendmail", - [The MTA used by the mail plug-in.]) - fi - - AC_PATH_PROG(SENDMAIL, sendmail, , $sendmail_path) - if test "x$SENDMAIL" != "x"; then - have_email="yes (sendmail)" - else - # Not having sendmail at runtime is not a blocker. - have_email="needs runtime dependency: sendmail" - fi - have_sendmail=yes -fi - -if test "x$have_sendmail" = xno; then - AC_PATH_PROG(XDG_EMAIL, xdg-email) - if test "x$XDG_EMAIL" != "x"; then - have_email="yes (xdg-email)" - else - # Not having xdg-email at runtime is not a blocker. - # But let's inform the builder that for the feature to be available, - # xdg-email is a runtime dependency. - have_email="needs runtime dependency: xdg-email" - fi -fi - -################ -# Check for perl -################ - -AC_PATH_PROGS(PERL,perl5 perl,perl) -AX_PROG_PERL_VERSION([perl_required_version],, - [add_deps_error([perl >= perl_required_version])]) - - -AC_ARG_WITH(pdbgen, - [ --with-pdbgen use 'pdbgen' code generation tool],, - with_pdbgen=$USE_MAINTAINER_MODE) - -AM_CONDITIONAL(WITH_PDBGEN, test "x$with_pdbgen" = xyes) - -################################# -# Check for GObject Introspection -################################# - -AC_ARG_ENABLE(force-gir-cross-compilation, - [ --enable-force-gir-cross-compilation - GIR is buildable even if cross-compiling - (default=auto)],, - enable_force_gir_cross_compilation=auto) - -AC_MSG_CHECKING([if introspecting libgimp]) -warning_gir= -build_gir=yes -if test "x$cross_compiling" = xyes && - test "x$enable_force_gir_cross_compilation" != xyes; then - build_gir=no - warning_gir=" -WARNING: GObject Introspection is disabled while cross-compiling because - GI tools do not manage to properly generate introspection data - while cross-compiling. Nevertheless we consider our introspected - API as a core component of GIMP, thus you are expected to build - this data natively. - To forcefully build with GObject Introspection, set: - --enable-force-gir-cross-compilation" -else - sanitizing=`echo "$CFLAGS $CXXFLAGS $LDFLAGS" | grep "fsanitize="` - if test $? -eq 0; then - build_gir=no - warning_gir=" -WARNING: GObject Introspection is disabled when building with a sanitizer. - See: https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/375" - else - # When not-cross-compiling, we always build with introspection. - # It's the basic case. - GOBJECT_INTROSPECTION_REQUIRE(introspection_required_version) - fi -fi -AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$build_gir" != xno) -AC_MSG_RESULT([$build_gir]) - -##################### -# Check for json-glib -##################### - -PKG_CHECK_MODULES(JSON_GLIB, json-glib-1.0 >= json_glib_required_version,, - [add_deps_error([json-glib-1.0 >= json_glib_required_version])]) - -####################################### -# Check for python runtime dependencies -####################################### - -GOAT_EXERCISES="goat-exercise-c$BUILD_EXEEXT" - -# By default, we want packagers to install Python plug-ins to get the -# optimum experience. --with-python=yes will check for a Python 3 -# interpreter and PyGObject, but still succeeds without, simply -# outputting a warning (these are runtime not build dependencies). -# This can be useful in particular when cross-compiling since anyway the -# interpreter is not useful at build time. -# --with-python=no won't install Python plug-ins. It is discouraged. -AC_ARG_WITH(python, - [ --with-python=no|yes install Python 3 plug-ins (default=yes)], , - [with_python=yes]) - -warning_python= -if test "x$with_python" = xyes; then - AM_PATH_PYTHON3(python3_required_version, , - warning_python="Python python3_required_version or newer not found") - if test "x$warning_python" = "x"; then - AM_PYTHON_CHECK_PYGOBJECT("$PYTHON", , , - warning_python="PyGObject 3.0 not found") - fi - if test "x$warning_python" != "x"; then - warning_python=" -WARNING: ${warning_python} - Python plug-ins will be installed anyway but you should make - sure that a compatible Python interpreter and PyGObject are - available at installation, otherwise installed plug-ins won't - be usable." - with_python="yes (see warning below)" - fi - - if test "x$platform_win32" = "xyes"; then - PYBIN_PATH="$py_exec_prefix\pythonw.exe" - else - PYBIN_PATH="$PYTHON" - fi - AC_SUBST(PYBIN_PATH) - - GOAT_EXERCISES="$GOAT_EXERCISES:goat-exercise-py3.py" - MIME_TYPES="$MIME_TYPES;image/openraster" -else - with_python="no (disabled)" -fi - -AM_CONDITIONAL(HAS_PYTHON_INTERP, test "x$PYBIN_PATH" != "x") -AM_CONDITIONAL(BUILD_PYTHON, test "x$with_python" != xno) - -########################################### -# Check for JavaScript runtime dependencies -########################################### - -AC_ARG_WITH(javascript, - [ --with-javascript=no|yes install JavaScript plug-ins (default=yes)], , - [with_javascript=yes]) - -warning_javascript= -if test "x$with_javascript" = xyes; then - with_javascript="yes" - AC_CHECK_PROGS(GJS, gjs, no) - if test "x$GJS" = xno; then - warning_javascript=" -WARNING: GJS not found. - JavaScript plug-ins will be installed anyway but you should make - sure that the JavaScript interpreter GJS is available at - installation, otherwise installed plug-ins won't be usable." - with_javascript="yes (see warning below)" - fi - - GOAT_EXERCISES="$GOAT_EXERCISES:goat-exercise-gjs.js" -else - with_javascript="no (disabled)" -fi - -AM_CONDITIONAL(HAS_JAVASCRIPT_INTERP, test "x$GJS" != "xno") -AM_CONDITIONAL(BUILD_JAVASCRIPT, test "x$with_javascript" != xno) - -#################################### -# Check for Lua runtime dependencies -#################################### - -AC_ARG_WITH(lua, - [ --with-lua=no|yes install Lua plug-ins (default=yes)], , - [with_lua=yes]) - -warning_lua= -if test "x$with_lua" = xyes; then - AC_CHECK_PROGS(LUA, luajit, no) - if test "x$LUA" = xno; then - warning_lua=" -WARNING: luajit not found. - Lua plug-ins will be installed anyway but you should make - sure that luajit and LGI are available at installation, - otherwise installed plug-ins won't be usable." - with_lua="yes (see warning below)" - fi - - GOAT_EXERCISES="$GOAT_EXERCISES:goat-exercise-lua.lua" -else - with_lua="no (disabled)" -fi - -AM_CONDITIONAL(HAS_LUA_INTERP, test "x$LUA" != "xno") -AM_CONDITIONAL(BUILD_LUA, test "x$with_lua" != xno) - -####################################### -# Check for Vala buildtime dependencies -####################################### - -AC_ARG_WITH(vala, - [ --with-vala=no|yes install Vala plug-ins (default=yes)], , - [with_vala=yes]) - -if test "x$with_vala" = xno; then - warning_vala=" -WARNING: you disabled the installation of core Vala plug-ins. This - is discouraged as it won't provide the full GIMP experience." - AM_CONDITIONAL(ENABLE_VAPIGEN, test "x$enable_vala" = "xyes") -else - VAPIGEN_CHECK($VALA_REQUIRED_VERSION) - with_vala="yes" - warning_vala= - AC_PATH_PROG(VALAC, valac, no) - if test "x$VALAC" = xno; then - AC_MSG_ERROR([Vala-plugins are enabled, but could not find vala compiler]) - fi -fi - -if test "x$with_vala" = "xyes"; then - GOAT_EXERCISES="$GOAT_EXERCISES:goat-exercise-vala$BUILD_EXEEXT" -fi - -AM_CONDITIONAL(BUILD_VALA, test "x$with_vala" != xno) -AC_SUBST(GOAT_EXERCISES) - -########################################################### -# Some plug-ins don't build on Win32, others are Win32-only -########################################################### - -if test "x$os_win32" = xno; then - MAIL='mail$(EXEEXT)' -fi - -AC_SUBST(MAIL) - - -############################### -# Check for GTK Mac Integration -############################### - -gtk_mac_integration_ok=no -if test "x$platform_osx" != xno && - (echo `pkg-config --variable=targets gtk+-3.0` | grep quartz); then - - PKG_CHECK_MODULES(GTK_MAC_INTEGRATION, gtk-mac-integration-gtk3 >= gtk_mac_integration_required_version, - gtk_mac_integration_ok=yes, - gtk_mac_integration_ok=no) - - if test "x$gtk_mac_integration_ok" != "xyes"; then - PKG_CHECK_MODULES(GTK_MAC_INTEGRATION, gtk-mac-integration >= gtk_mac_integration_required_version, - gtk_mac_integration_ok=yes, - gtk_mac_integration_ok=no) - fi -fi - -AM_CONDITIONAL(PLATFORM_OSX_QUARTZ, test "x$gtk_mac_integration_ok" = xyes) - - -########################################################## -# Determine where to install the desktop & mime info files -########################################################## - -AC_ARG_WITH(desktop-dir, [ --with-desktop-dir=PATH where to install desktop files (default=PREFIX/share)]) - -if test "x$with_desktop_dir" != x; then - DESKTOP_DATADIR=$with_desktop_dir -else - DESKTOP_DATADIR="$datadir" -fi - -AM_CONDITIONAL(DESKTOP_DATADIR, test "x$with_desktop_dir" != xno) -AC_SUBST(DESKTOP_DATADIR) - - -##################### -# Check for XML tools -##################### - -AC_PATH_PROG(XMLLINT, xmllint, no) -AM_CONDITIONAL(HAVE_XMLLINT, test "x$XMLLINT" != "xno") - -AC_PATH_PROG(XSLTPROC, xsltproc, no) -AM_CONDITIONAL(HAVE_XSLTPROC, test "x$XSLTPROC" != "xno") - - -######################## -# Check for vector icons -######################## - -# If not cross-compiling, default build's link and compile flags to the -# target's flags. -if test "$cross_compiling" != "yes"; then - if test "x$LDFLAGS_FOR_BUILD" = "x"; then - LDFLAGS_FOR_BUILD="$LDFLAGS" - fi - if test "x$CFLAGS_FOR_BUILD" = "x"; then - CFLAGS_FOR_BUILD="$CFLAGS" - fi - if test "x$CPPFLAGS_FOR_BUILD" = "x"; then - CPPFLAGS_FOR_BUILD="$CPPFLAGS" - fi -fi - -AC_ARG_ENABLE(vector-icons, [ --disable-vector-icons use raster icons rather than vector ones (default=auto)], , - enable_vector_icons=auto) - -if test "x$enable_vector_icons" != "xno"; then - have_shared_mime_info="" - # shared-mime-info is needed to correctly detect SVG files (except on - # Windows, apparently). - PKG_CHECK_MODULES(MIME_INFO, [shared-mime-info], - have_shared_mime_info="yes", have_shared_mime_info="no") - if test "x$have_shared_mime_info" = "xyes" || - test "x$platform_win32" = "xyes"; then - # Check if librsvg was built with --disable-pixbuf-loader. - gdk_pixbuf_moduledir=`$PKG_CONFIG --variable=gdk_pixbuf_moduledir gdk-pixbuf-2.0` - # AC_CHECK_FILE macro does not work when cross-compiling and exits with: - # error: cannot check for file existence when cross compiling - # So let's test files the shell way. - if (test "x$platform_win32" = "xyes" && - test -f "$gdk_pixbuf_moduledir/libpixbufloader-svg.dll") || - test -f "$gdk_pixbuf_moduledir/libpixbufloader-svg.so"; then - # We must not use $PKG_CONFIG nor PKG_CHECK_* macros because we need - # to make sure we use the native pkg-config (in case we cross-compile). - if pkg-config --atleast-version=native_glib_required_version glib-2.0 && - pkg-config gio-2.0; then - NATIVE_GLIB_LIBS=`pkg-config --libs gio-2.0 glib-2.0` - NATIVE_GLIB_CFLAGS=`pkg-config --cflags gio-2.0 glib-2.0` - enable_vector_icons="yes" - - if test "x$platform_win32" = "xyes"; then - warning_vector_icons_windows=" -WARNING: You enabled vector icons on Win32. Make sure to run: - $ gdk-pixbuf-query-loaders.exe --update-cache - on the target machine (this command generates loaders.cache) - so that GdkPixbuf knows where to find the SVG loader." - fi - else - enable_vector_icons="no (missing native glib-2.0 > native_glib_required_version or gio-2.0)" - fi - else - enable_vector_icons="no (librsvg GdkPixbuf loader missing)" - fi - else - enable_vector_icons="no (missing shared-mime-info)" - fi -fi - -if test "x$enable_vector_icons" != "xyes"; then - # The trick when disabling vector icons is that librsvg is still - # needed at compile time (on build machine) to generate PNG, even - # though it won't be needed at runtime for icon display. - # - # The tool gtk-encode-symbolic-svg also requires a SVG GdkPixbuf - # loader, which usually uses librsvg as well anyway. - warning_vector_icons_windows=" -WARNING: vector icons are disabled. Be aware that librsvg is still - needed to create the PNG icons on the build machine, yet it - won't be needed for runtime icon display of distributed themes." - - AC_CHECK_PROGS(GTK_ENCODE_SYMBOLIC_SVG, gtk-encode-symbolic-svg, no) - - if test "x$GTK_ENCODE_SYMBOLIC_SVG" = xno; then - add_deps_error([gtk-encode-symbolic-svg], - [Could not find gtk-encode-symbolic-svg in your PATH.]) - fi -fi - -if pkg-config --atleast-version=native_glib_required_version glib-2.0 && - pkg-config gio-2.0; then - NATIVE_GLIB_LIBS=`pkg-config --libs gio-2.0 glib-2.0 gmodule-2.0` - NATIVE_GLIB_CFLAGS=`pkg-config --cflags gio-2.0 glib-2.0 gmodule-2.0` - if pkg-config --atleast-version=rsvg_required_version librsvg-2.0; then - NATIVE_SVG_LIBS=`pkg-config --libs librsvg-2.0` - NATIVE_SVG_CFLAGS=`pkg-config --cflags librsvg-2.0` - AC_SUBST(NATIVE_SVG_CFLAGS) - AC_SUBST(NATIVE_SVG_LIBS) - else - add_deps_error([native librsvg-2.0], [Could not find librsvg for the build system.]) - fi -else - add_deps_error([native glib], [Could not find native GLib for the build system.]) -fi - -AC_SUBST(NATIVE_GLIB_LIBS) -AC_SUBST(NATIVE_GLIB_CFLAGS) -AM_CONDITIONAL(ENABLE_VECTOR_ICONS, test "x$enable_vector_icons" = "xyes") - -#################### -# Check for xvfb-run -#################### - -AC_ARG_WITH(xvfb-run, [ --without-xvfb-run do not use xvfb-run for UI-dependent automatic tests]) - -have_xvfb_run="no (disabled)" -if test "x$with_xvfb_run" != "xno"; then - AC_PATH_PROG(XVFB_RUN, xvfb-run, no) - if test "x$XVFB_RUN" != "xno"; then - have_xvfb_run="yes" - AC_DEFINE(HAVE_XVFB_RUN, 1, [Define to 1 if xvfb-run is available]) - else - have_xvfb_run="no (not found)" - fi -fi -AM_CONDITIONAL(HAVE_XVFB_RUN, test "x$have_xvfb_run" = "xyes") - -######################## -# Check for appstreamcli -######################## - -AC_ARG_WITH(appdata-test, [ --without-appdata-test do not validate the appdata file]) - -have_appstreamcli="no (disabled)" -if test "x$with_appdata_test" != "xno"; then - AC_PATH_PROG(APPSTREAM_UTIL, appstreamcli, no) - if test "x$APPSTREAM_UTIL" != "xno"; then - have_appstreamcli="yes" - else - have_appstreamcli="no (appstreamcli not found)" - fi -fi -AM_CONDITIONAL(HAVE_APPSTREAMCLI, test "x$have_appstreamcli" = "xyes") -if test "x$have_appstreamcli" = "xyes"; then - have_appstreamcli="yes (this test requires network access; --without-appdata-test to disable)" -fi - - -################################# -# Check for desktop-file-validate -################################# - -AC_PATH_PROG(DESKTOP_FILE_VALIDATE, desktop-file-validate, no) -if test "x$DESKTOP_FILE_VALIDATE" != "xno"; then - have_desktop_file_validate="yes" -else - have_desktop_file_validate="no (desktop-file-validate not found)" -fi -AM_CONDITIONAL(HAVE_DESKTOP_FILE_VALIDATE, test "x$DESKTOP_FILE_VALIDATE" != "xno") - -#################### -# Set bug report URL -#################### - -# Allowing third-party packagers to set their own bugtracker URL, in -# order to filter first packaging bugs from core bugs. - -AC_ARG_WITH(bug-report-url, - [ --with-bug-report-url URL used by the debug dialog to report bugs],, - [with_bug_report_url="$PACKAGE_BUGREPORT"]) - -if test "x$with_bug_report_url" = "x"; then - with_bug_report_url="$PACKAGE_BUGREPORT" -fi - -BUG_REPORT_URL="$with_bug_report_url" -AC_DEFINE_UNQUOTED(BUG_REPORT_URL, "$with_bug_report_url", - [The URL to open in order to report bugs]) -AC_SUBST(BUG_REPORT_URL) - -override_bug_report_url= -if test "x$with_bug_report_url" = "x$PACKAGE_BUGREPORT"; then -override_bug_report_url=" -NOTE: if you plan on packaging GIMP for distribution, it is recommended - to override the bug report URL with option: - --with-bug-report-url=https://example.com/ - so that you can filter packaging bugs from core bugs before - reporting upstream. -" -fi - -##################### -# Build identifiers # -##################### - -AC_ARG_WITH(build-id, - [ --with-build-id A unique string used to define your build],, - [with_build_id="unknown"]) -AC_DEFINE_UNQUOTED(GIMP_BUILD_ID, "$with_build_id", - [The string defining the build]) - -AC_ARG_WITH(revision, - [ --with-revision Revision increment for a package],, - [with_revision="0"]) -GIMP_PACKAGE_REVISION=$with_revision -AC_SUBST(GIMP_PACKAGE_REVISION) - -AC_ARG_ENABLE(check-update, - [ --enable-check-update - GIMP will not look up new version availability on startup (default=auto)],, - enable_check_update=auto) -if test "x$enable_check_update" != xno && - test "x$enable_check_update" != xyes; then - if test "x$platform_osx" = "xyes" || - test "x$platform_win32" = "xyes"; then - enable_check_update=yes - else - enable_check_update=no - fi -fi -if test "x$enable_check_update" = xyes; then - AC_DEFINE(CHECK_UPDATE, 1, - [Define to 1 if automatic update check is enabled]) -fi - -AC_DEFINE_UNQUOTED(GIMP_BUILD_PLATFORM, "$host_os", - [The OS this was built for]) -if test "x$platform_linux" = xyes; then - platform_family="linux" -elif test "x$platform_win32" = xyes; then - platform_family="windows" -elif test "x$platform_osx" = xyes; then - platform_family="macos" -else - platform_family="other" -fi -AC_DEFINE_UNQUOTED(GIMP_BUILD_PLATFORM_FAMILY, "$platform_family", - [The OS family this was built for]) - -######################### -# Default ICC directory # -######################### - -# This is necessary because some Unix systems may have a different -# standard path for color profiles. And in particular, sandbox builds -# might mount the host system at a different root. This is for -# instance the case of flatpak which mount the host root at /run/host/. -if test "x$platform_osx" = "xno" && - test "x$platform_win32" = "xno"; then - AC_MSG_CHECKING([default directory for color profiles]) - AC_ARG_WITH(icc-directory, - [ --with-icc-directory Path to default color profiles for this system],, - [with_icc_directory="/usr/share/color/icc"]) - - if test "x$with_icc_directory" = "x"; then - with_icc_directory="/usr/share/color/icc" - fi - - AC_DEFINE_UNQUOTED(COLOR_PROFILE_DIRECTORY, - "$with_icc_directory", - [The path to default color profiles for this system]) - AC_MSG_RESULT([$with_icc_directory]) -fi - -######################################## -# Check for gi-docgen -######################################## - -AC_ARG_ENABLE(gi-docgen, [ --enable-gi-docgen build gi-docgen documentation (default=auto)], , enable_gi_docgen=auto) - -if test "x$enable_gi_docgen" != xno; then - AC_PATH_PROG(GI_DOCGEN, gi-docgen, no) - if test "x$GI_DOCGEN" = xno; then - if test "x$enable_gi_docgen" = xyes; then - add_deps_error([gi-docgen], [Could not find gi-docgen in your PATH.]) - else - enable_gi_docgen="no (gi-docgen missing)" - fi - else - enable_gi_docgen="yes" - fi -else - enable_gi_docgen="no" -fi - -AM_CONDITIONAL(ENABLE_GI_DOCGEN, test "x$enable_gi_docgen" = xyes) - -######################################## -# Checks for gir-doc-tool and yelp-build -######################################## - -AC_ARG_ENABLE(g-ir-doc, [ --enable-g-ir-doc build GObject Introspection documentation (default=no)], , enable_g_ir_doc=no) - -if test "x$enable_g_ir_doc" = xyes; then - AC_CHECK_PROGS(GIR_DOC_TOOL, g-ir-doc-tool, no) - AC_CHECK_PROGS(YELP_BUILD, yelp-build, no) - if test "x$GIR_DOC_TOOL" = "xno" || test "x$YELP_BUILD" = "xno"; then - add_deps_error([g-ir-doc], [Could not find g-ir-doc-tool or yelp-build in your PATH.]) - enable_g_ir_doc="no (g-ir-doc-tool or yelp-build missing)" - fi -fi - -AM_CONDITIONAL(ENABLE_G_IR_DOC, test "x$enable_g_ir_doc" = xyes) - -############################# -# Check for Windows installer -############################# - -AC_MSG_CHECKING([if building the Windows installer]) -AC_ARG_ENABLE(windows-installer, - [ --enable-windows-installer - generate files needed for the Windows installer - (default=no)],, - enable_windows_installer=no) - -AC_MSG_RESULT([$enable_windows_installer]) -AM_CONDITIONAL(BUILD_WINDOWS_INSTALLER, test "x$enable_windows_installer" != xno) - - -######################################### -# Allow to configure the GIMP environment -######################################### - -AC_ARG_ENABLE(default-binary, [ --enable-default-binary install this as the default gimp binary (default=gimp_stable)], , enable_default_binary=gimp_stable) - -AM_CONDITIONAL(DEFAULT_BINARY, test "x$enable_default_binary" = xyes) - - -AC_ARG_ENABLE(gimp-console, [ --enable-gimp-console build a console-only binary which does not link GTK], , enable_gimp_console=yes) - -AM_CONDITIONAL(ENABLE_GIMP_CONSOLE, test "x$enable_gimp_console" != xno) - - -# Possibly change default gimpdir from $XDG_CONFIG_HOME/GIMP/gimp_user_version -gimpdir=GIMP -AC_ARG_WITH(gimpdir, [ --with-gimpdir=DIR change default gimpdir from $XDG_CONFIG_HOME/GIMP/gimp_user_version to $XDG_CONFIG_HOME/DIR/gimp_user_version, or to DIR if DIR is an absolute path], -if eval "test x$with_gimpdir != x"; then - if eval "test x$with_gimpdir != xyes"; then - gimpdir=$with_gimpdir - fi -fi) - -# Build the gimpdir to be used in manpages here, because the manpage -# source is unreadable enough already -case "$gimpdir" in - /*) - manpage_gimpdir="$gimpdir" - ;; - *) - manpage_gimpdir="\\fB\$XDG_CONFIG_HOME\\fP/$gimpdir/gimp_user_version" - ;; -esac - -gimpdatadir="$datadir/$PACKAGE/gimp_data_version" -gimpplugindir="$libdir/$PACKAGE/gimp_plugin_version" -gimpsysconfdir="$sysconfdir/$PACKAGE/gimp_sysconf_version" - -AC_SUBST(gimpdir) -AC_SUBST(manpage_gimpdir) -AC_SUBST(gimpdatadir) -AC_SUBST(gimpplugindir) -AC_SUBST(gimpsysconfdir) - - -# GNU format message catalogs go into $datadir/locale, -# standard location is $libdir/locale. DATADIRNAME set accordingly. - -gimplocaledir="$datadir/locale" -if test "$DATADIRNAME" = "lib"; then - gimplocaledir="$libdir/locale" -fi - -AC_SUBST(gimplocaledir) - - -############################ -# Some defines for the build -############################ - -AM_CONDITIONAL(STATICLIBS, test "x$enable_static" = xyes) - -# a tuned version of glib-mkenums -GIMP_MKENUMS="\$(PERL) \$(top_srcdir)/tools/gimp-mkenums" -AC_SUBST(GIMP_MKENUMS) - -#Add required trailing ; to list -MIME_TYPES="$MIME_TYPES;" - -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_57" != "xyes"; then - CPPFLAGS="${CPPFLAGS} -DG_DISABLE_DEPRECATED" -fi - -if test "x$have_pango_1_43" != "xyes"; then - CPPFLAGS="${CPPFLAGS} -DPANGO_DISABLE_DEPRECATED" -fi - - -################## -# configure output -################## - -# easy way to skip the plug-in build -GIMP_EXTENSIONS=extensions -GIMP_PLUGINS=plug-ins -GIMP_MODULES=modules -AC_SUBST(GIMP_EXTENSIONS) -AC_SUBST(GIMP_PLUGINS) -AC_SUBST(GIMP_MODULES) - -AC_CONFIG_COMMANDS([libgimpbase/gimpversion.h], [ - outfile=gimpversion.h-tmp - cat > $outfile <<\_______EOF -/* gimpversion.h - * - * This is a generated file. Please modify 'configure.ac' - */ - -#if !defined (__GIMP_BASE_H_INSIDE__) && !defined (GIMP_BASE_COMPILATION) -#error "Only can be included directly." -#endif - -#ifndef __GIMP_VERSION_H__ -#define __GIMP_VERSION_H__ - -G_BEGIN_DECLS - - -/** - * SECTION: gimpversion - * @title: gimpversion - * @short_description: Macros and constants useful for determining - * GIMP's version number and capabilities. - * - * Macros and constants useful for determining GIMP's version number and - * capabilities. - **/ - -_______EOF - - cat >>$outfile <<_______EOF -/** - * GIMP_MAJOR_VERSION: - * - * The major GIMP version number. - **/ -#define GIMP_MAJOR_VERSION ($gimp_major_ver) - -/** - * GIMP_MINOR_VERSION: - * - * The minor GIMP version number. - **/ -#define GIMP_MINOR_VERSION ($gimp_minor_ver) - -/** - * GIMP_MICRO_VERSION: - * - * The micro GIMP version number. - **/ -#define GIMP_MICRO_VERSION ($gimp_micro_ver) - -/** - * GIMP_VERSION: - * - * The GIMP version as a string. - **/ -#define GIMP_VERSION "$gimp_ver" - -/** - * GIMP_API_VERSION: - * - * Since: 2.2 - **/ -#define GIMP_API_VERSION "$gimp_api_ver" - -_______EOF - - cat >>$outfile <<\_______EOF -#define GIMP_CHECK_VERSION(major, minor, micro) \ - (GIMP_MAJOR_VERSION > (major) || \ - (GIMP_MAJOR_VERSION == (major) && GIMP_MINOR_VERSION > (minor)) || \ - (GIMP_MAJOR_VERSION == (major) && GIMP_MINOR_VERSION == (minor) && \ - GIMP_MICRO_VERSION >= (micro))) - - -G_END_DECLS - -#endif /* __GIMP_VERSION_H__ */ -_______EOF - - if cmp -s $outfile libgimpbase/gimpversion.h; then - AC_MSG_NOTICE([libgimpbase/gimpversion.h is unchanged]) - rm -f $outfile - else - mv $outfile libgimpbase/gimpversion.h - fi -],[ - gimp_major_ver=gimp_major_version - gimp_minor_ver=gimp_minor_version - gimp_micro_ver=gimp_micro_version - gimp_ver=gimp_version - gimp_api_ver=gimp_api_version -]) - -AC_CONFIG_FILES([ -INSTALL -tools/Makefile -pdb/Makefile -libgimp/Makefile -libgimpbase/Makefile -libgimpconfig/Makefile -libgimpcolor/Makefile -libgimpmath/Makefile -libgimpmodule/Makefile -libgimpthumb/Makefile -libgimpwidgets/Makefile -app/Makefile -app/actions/Makefile -app/config/Makefile -app/core/Makefile -app/operations/Makefile -app/operations/layer-modes/Makefile -app/operations/layer-modes-legacy/Makefile -app/operations/tests/Makefile -app/gegl/Makefile -app/dialogs/Makefile -app/display/Makefile -app/file/Makefile -app/file-data/Makefile -app/gui/Makefile -app/menus/Makefile -app/paint/Makefile -app/pdb/Makefile -app/plug-in/Makefile -app/propgui/Makefile -app/text/Makefile -app/tools/Makefile -app/vectors/Makefile -app/widgets/Makefile -app/xcf/Makefile -app/tests/Makefile -app/tests/files/Makefile -app/tests/gimpdir-empty/Makefile -app/tests/gimpdir-empty/brushes/Makefile -app/tests/gimpdir-empty/gradients/Makefile -app/tests/gimpdir-empty/patterns/Makefile -app/tests/gimpdir/Makefile -app/tests/gimpdir/brushes/Makefile -app/tests/gimpdir/gradients/Makefile -app/tests/gimpdir/patterns/Makefile -app-tools/Makefile -build/Makefile -build/windows/Makefile -build/windows/gimp.rc -build/windows/gimp-plug-ins.rc -build/windows/installer/Makefile -build/windows/installer/lang/Makefile -extensions/Makefile -extensions/goat-exercises/Makefile -extensions/goat-exercises/org.gimp.extension.goat-exercises.metainfo.xml.in -plug-ins/Makefile -plug-ins/file-bmp/Makefile -plug-ins/file-dds/Makefile -plug-ins/file-exr/Makefile -plug-ins/file-faxg3/Makefile -plug-ins/file-fits/Makefile -plug-ins/file-fli/Makefile -plug-ins/file-icns/Makefile -plug-ins/file-ico/Makefile -plug-ins/file-jpeg/Makefile -plug-ins/file-psd/Makefile -plug-ins/file-raw/Makefile -plug-ins/file-sgi/Makefile -plug-ins/file-tiff/Makefile -plug-ins/file-webp/Makefile -plug-ins/flame/Makefile -plug-ins/fractal-explorer/Makefile -plug-ins/fractal-explorer/examples/Makefile -plug-ins/gfig/Makefile -plug-ins/gfig/gfig-examples/Makefile -plug-ins/gfig/images/Makefile -plug-ins/gimpressionist/Brushes/Makefile -plug-ins/gimpressionist/Makefile -plug-ins/gimpressionist/Paper/Makefile -plug-ins/gimpressionist/Presets/Makefile -plug-ins/gradient-flare/Makefile -plug-ins/gradient-flare/flares/Makefile -plug-ins/help-browser/Makefile -plug-ins/help/Makefile -plug-ins/ifs-compose/Makefile -plug-ins/imagemap/Makefile -plug-ins/imagemap/images/Makefile -plug-ins/lighting/Makefile -plug-ins/lighting/images/Makefile -plug-ins/map-object/Makefile -plug-ins/metadata/Makefile -plug-ins/pagecurl/Makefile -plug-ins/print/Makefile -plug-ins/python/Makefile -plug-ins/python/python-console/Makefile -plug-ins/screenshot/Makefile -plug-ins/script-fu/Makefile -plug-ins/script-fu/libscriptfu/Makefile -plug-ins/script-fu/libscriptfu/ftx/Makefile -plug-ins/script-fu/libscriptfu/tinyscheme/Makefile -plug-ins/script-fu/server/Makefile -plug-ins/script-fu/interpreter/Makefile -plug-ins/script-fu/scripts/Makefile -plug-ins/script-fu/scripts/images/Makefile -plug-ins/selection-to-path/Makefile -plug-ins/twain/Makefile -plug-ins/common/Makefile -modules/Makefile -devel-docs/Makefile -devel-docs/g-ir-docs/Makefile -devel-docs/reference/Makefile -devel-docs/reference/gimp-ui/Makefile -devel-docs/reference/gimp/Makefile -docs/Makefile -menus/Makefile -cursors/Makefile -icons/Makefile -icons/Color/Makefile -icons/Legacy/Makefile -icons/Symbolic/Makefile -icons/hicolor/Makefile -themes/Makefile -themes/Compact/Makefile -themes/Default/Makefile -themes/Gray/Makefile -themes/System/Makefile -data/Makefile -data/brushes/Makefile -data/brushes/Basic/Makefile -data/brushes/Fun/Makefile -data/brushes/Media/Makefile -data/brushes/Legacy/Makefile -data/brushes/Sketch/Makefile -data/brushes/Splatters/Makefile -data/brushes/Texture/Makefile -data/dynamics/Makefile -data/dynamics/Basic/Makefile -data/dynamics/FX/Makefile -data/environ/Makefile -data/gradients/Makefile -data/images/Makefile -data/interpreters/Makefile -data/palettes/Makefile -data/patterns/Makefile -data/patterns/Animal/Makefile -data/patterns/Fabric/Makefile -data/patterns/Food/Makefile -data/patterns/Legacy/Makefile -data/patterns/Paper/Makefile -data/patterns/Plant/Makefile -data/patterns/Sky/Makefile -data/patterns/Stone/Makefile -data/patterns/Water/Makefile -data/patterns/Wood/Makefile -data/tags/Makefile -data/tips/Makefile -data/tool-presets/Makefile -data/tool-presets/Crop/Makefile -data/tool-presets/FX/Makefile -data/tool-presets/Paint/Makefile -data/tool-presets/Selection/Makefile -data/tool-presets/Sketch/Makefile -desktop/Makefile -desktop/gimp.desktop.in -desktop/org.gimp.GIMP.appdata.xml.in -desktop/test-appdata.sh -etc/Makefile -etc/gimprc -m4macros/Makefile -po/Makefile.in -po-libgimp/Makefile.in -po-plug-ins/Makefile.in -po-python/Makefile.in -po-script-fu/Makefile.in -po-tips/Makefile.in -po-windows-installer/Makefile.in -Makefile -]) - -# Files with versions in their names -AC_CONFIG_FILES( -docs/gimp-gimp_app_version.1:docs/gimp.1.in -docs/gimprc-gimp_app_version.5:docs/gimprc.5.in -docs/gimptool-gimp_tool_version.1:docs/gimptool.1.in -gimp-gimp_pkgconfig_version.pc:gimp.pc.in -gimpthumb-gimp_pkgconfig_version.pc:gimpthumb.pc.in -gimpui-gimp_pkgconfig_version.pc:gimpui.pc.in -) - -# Print a summary of features enabled/disabled: -optional_deps=" -Extra Binaries: - gimp-console: $enable_gimp_console - -Optional Features: - Check updates at startup: $enable_check_update - Levin matting engine: $have_matting_levin - Language selection: $have_iso_codes - Vector icons: $enable_vector_icons - Dr. Mingw (Win32): $enable_drmingw - Relocatable bundle: $enable_relocatable_bundle - Default ICC directory: $with_icc_directory - Debug console (Win32): $enable_win32_debug_console - 32-bit DLL folder (Win32): $with_win32_32bit_dll_folder - Detailed backtraces: $detailed_backtraces - -Optional Plug-Ins: - Ascii Art: $have_libaa - Ghostscript: $have_gs - JPEG 2000: $have_openjpeg - JPEG XL: $have_jpegxl - MNG: $have_libmng - OpenEXR: $have_openexr - WebP: $have_webp - HEIC: import: $can_import_heic - export: $can_export_heic [[profile support: $have_heif_profile_support]] - AVIF: import: $can_import_avif - export: $can_export_avif - PDF (export): $have_cairo_pdf - Print: $enable_print - Python 3 plug-ins: $with_python - JavaScript plug-ins: $with_javascript - Lua plug-ins: $with_lua - Vala plug-ins: $with_vala - TWAIN (Win32): $os_win32 - WMF: $have_libwmf - X11 Mouse Cursor: $have_xmc - XPM: $have_libxpm - Email: $have_email - -Unmaintained Plug-Ins (discouraged except for developers): - Help Browser: $have_webkit - Webpage: $have_webkit - -Optional Modules: - ALSA (MIDI Input): $have_alsa - Linux Input: $have_linux_input (GUdev support: $have_libgudev) - DirectInput (Win32): $have_dx_dinput - -Tests: - Use xvfb-run $have_xvfb_run - Test appdata $have_appstreamcli - Test desktop file $have_desktop_file_validate - -Documentation: - libgimp API Reference: $enable_gi_docgen - GObject Introspection: $enable_g_ir_doc - -Bug report URL: $with_bug_report_url -$override_bug_report_url$warning_vector_icons_windows$warning_glib_networking$warning_gcc$warning_python$warning_javascript$warning_lua$warning_libheif$warning_libmypaint$warning_gir" - -if test "x$required_deps" = "x"; then - AC_OUTPUT - AC_MSG_RESULT([ -Building GIMP with prefix=$prefix, datarootdir=$datarootdir -Desktop files install into $DESKTOP_DATADIR -$optional_deps - -INFO: MESON BUILD IS IN EXTENSIVE TESTING PHASE TO LIKELY REPLACE AUTOTOOLS! - - we now encourage usage of meson for packagers, instead of autotools. - Please build GIMP with meson and report bugs.]); -else - AC_MSG_ERROR([ -$optional_deps - -Error: GIMP configuration failed. -$required_deps - -See the file 'INSTALL' for more help.]); -fi diff --git a/cursors/.gitignore b/cursors/.gitignore deleted file mode 100644 index 6052760c48..0000000000 --- a/cursors/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/Makefile -/Makefile.in -/gimp-color-picker-cursors.gresource.xml -/gimp-tool-cursors.gresource.xml diff --git a/cursors/Makefile.am b/cursors/Makefile.am deleted file mode 100644 index 4fca850656..0000000000 --- a/cursors/Makefile.am +++ /dev/null @@ -1,204 +0,0 @@ -## Process this file with automake to produce Makefile.in - -CURSOR_IMAGES = \ - cursor-bad.png \ - cursor-bad-x2.png \ - cursor-color-picker.png \ - cursor-color-picker-x2.png \ - cursor-corner-bottom-left.png \ - cursor-corner-bottom-left-x2.png \ - cursor-corner-bottom-right.png \ - cursor-corner-bottom-right-x2.png \ - cursor-corner-bottom.png \ - cursor-corner-bottom-x2.png \ - cursor-corner-left.png \ - cursor-corner-left-x2.png \ - cursor-corner-right.png \ - cursor-corner-right-x2.png \ - cursor-corner-top-left.png \ - cursor-corner-top-left-x2.png \ - cursor-corner-top-right.png \ - cursor-corner-top-right-x2.png \ - cursor-corner-top.png \ - cursor-corner-top-x2.png \ - cursor-crosshair-small.png \ - cursor-crosshair-small-x2.png \ - cursor-crosshair.png \ - cursor-crosshair-x2.png \ - cursor-mouse.png \ - cursor-mouse-x2.png \ - cursor-move.png \ - cursor-move-x2.png \ - cursor-none.png \ - cursor-none-x2.png \ - cursor-side-bottom-left.png \ - cursor-side-bottom-left-x2.png \ - cursor-side-bottom-right.png \ - cursor-side-bottom-right-x2.png \ - cursor-side-bottom.png \ - cursor-side-bottom-x2.png \ - cursor-side-left.png \ - cursor-side-left-x2.png \ - cursor-side-right.png \ - cursor-side-right-x2.png \ - cursor-side-top-left.png \ - cursor-side-top-left-x2.png \ - cursor-side-top-right.png \ - cursor-side-top-right-x2.png \ - cursor-side-top.png \ - cursor-side-top-x2.png \ - cursor-single-dot.png \ - cursor-single-dot-x2.png \ - cursor-zoom.png \ - cursor-zoom-x2.png \ - \ - modifier-anchor.png \ - modifier-anchor-x2.png \ - modifier-background.png \ - modifier-background-x2.png \ - modifier-bad.png \ - modifier-bad-x2.png \ - modifier-control.png \ - modifier-control-x2.png \ - modifier-foreground.png \ - modifier-foreground-x2.png \ - modifier-intersect.png \ - modifier-intersect-x2.png \ - modifier-join.png \ - modifier-join-x2.png \ - modifier-minus.png \ - modifier-minus-x2.png \ - modifier-move.png \ - modifier-move-x2.png \ - modifier-pattern.png \ - modifier-pattern-x2.png \ - modifier-plus.png \ - modifier-plus-x2.png \ - modifier-resize.png \ - modifier-resize-x2.png \ - modifier-rotate.png \ - modifier-rotate-x2.png \ - modifier-select.png \ - modifier-select-x2.png \ - modifier-zoom.png \ - modifier-zoom-x2.png \ - \ - tool-airbrush.png \ - tool-airbrush-x2.png \ - tool-blur.png \ - tool-blur-x2.png \ - tool-bucket-fill.png \ - tool-bucket-fill-x2.png \ - tool-burn.png \ - tool-burn-x2.png \ - tool-clone.png \ - tool-clone-x2.png \ - tool-color-picker.png \ - tool-color-picker-x2.png \ - tool-crop.png \ - tool-crop-x2.png \ - tool-dodge.png \ - tool-dodge-x2.png \ - tool-ellipse-select.png \ - tool-ellipse-select-x2.png \ - tool-eraser.png \ - tool-eraser-x2.png \ - tool-flip-horizontal.png \ - tool-flip-horizontal-x2.png \ - tool-flip-vertical.png \ - tool-flip-vertical-x2.png \ - tool-free-select.png \ - tool-free-select-x2.png \ - tool-fuzzy-select.png \ - tool-fuzzy-select-x2.png \ - tool-gradient.png \ - tool-gradient-x2.png \ - tool-hand.png \ - tool-hand-x2.png \ - tool-heal.png \ - tool-heal-x2.png \ - tool-ink.png \ - tool-ink-x2.png \ - tool-iscissors.png \ - tool-iscissors-x2.png \ - tool-measure.png \ - tool-measure-x2.png \ - tool-move.png \ - tool-move-x2.png \ - tool-paintbrush.png \ - tool-paintbrush-x2.png \ - tool-paths-anchor.png \ - tool-paths-anchor-x2.png \ - tool-paths-control.png \ - tool-paths-control-x2.png \ - tool-paths-segment.png \ - tool-paths-segment-x2.png \ - tool-paths.png \ - tool-paths-x2.png \ - tool-pencil.png \ - tool-pencil-x2.png \ - tool-perspective.png \ - tool-perspective-x2.png \ - tool-polygon-select.png \ - tool-polygon-select-x2.png \ - tool-rect-select.png \ - tool-rect-select-x2.png \ - tool-resize.png \ - tool-resize-x2.png \ - tool-rotate.png \ - tool-rotate-x2.png \ - tool-shear.png \ - tool-shear-x2.png \ - tool-smudge.png \ - tool-smudge-x2.png \ - tool-text.png \ - tool-text-x2.png \ - tool-transform-3d-camera.png \ - tool-transform-3d-camera-x2.png \ - tool-warp.png \ - tool-warp-x2.png \ - tool-zoom.png \ - tool-zoom-x2.png - -COLOR_PICKER_IMAGES = \ - cursor-color-picker.png \ - cursor-color-picker-x2.png - -EXTRA_DIST = \ - $(CURSOR_IMAGES) \ - gimp-tool-cursors.xcf \ - gimp-tool-cursors-x2.xcf - -noinst_DATA = \ - gimp-tool-cursors.gresource.xml \ - gimp-color-picker-cursors.gresource.xml - -CLEANFILES = $(noinst_DATA) - - -gimp-tool-cursors.gresource.xml: $(CURSOR_IMAGES) Makefile.am - $(AM_V_GEN) ( rm -f $@; \ - echo '' > $@; \ - echo '' >> $@; \ - echo ' ' >> $@; \ - for image in $(CURSOR_IMAGES); do \ - echo " $$image" >> $@; \ - done; \ - echo ' ' >> $@; \ - echo '' >> $@ ) - -gimp-color-picker-cursors.gresource.xml: $(CURSOR_IMAGES) Makefile.am - $(AM_V_GEN) ( rm -f $@; \ - echo '' > $@; \ - echo '' >> $@; \ - echo ' ' >> $@; \ - for image in $(COLOR_PICKER_IMAGES); do \ - echo " $$image" >> $@; \ - done; \ - echo ' ' >> $@; \ - echo ' ' >> $@; \ - for image in $(COLOR_PICKER_IMAGES); do \ - echo " $$image" >> $@; \ - done; \ - echo ' ' >> $@; \ - echo '' >> $@ ) diff --git a/data/.gitignore b/data/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/Makefile.am b/data/Makefile.am deleted file mode 100644 index 7c3ef13517..0000000000 --- a/data/Makefile.am +++ /dev/null @@ -1,24 +0,0 @@ -## Makefile.am for gimp/data - -SUBDIRS = \ - brushes \ - dynamics \ - environ \ - gradients \ - images \ - interpreters \ - palettes \ - patterns \ - tips \ - tags \ - tool-presets - -fontdir = $(gimpdatadir)/fonts - -install-data-local: - $(mkinstalldirs) $(DESTDIR)$(fontdir) - echo '[package]' > $(DESTDIR)$(gimpdatadir)/gimp-release - echo 'revision=@GIMP_PACKAGE_REVISION@' >> $(DESTDIR)$(gimpdatadir)/gimp-release - -uninstall-local: - rm -f $(DESTDIR)$(gimpdatadir)/gimp-release diff --git a/data/brushes/.gitignore b/data/brushes/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/brushes/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/brushes/Basic/.gitignore b/data/brushes/Basic/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/brushes/Basic/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/brushes/Basic/Makefile.am b/data/brushes/Basic/Makefile.am deleted file mode 100644 index eefb7afb7d..0000000000 --- a/data/brushes/Basic/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -## Makefile.am for gimp/data/brushes/Basic - -brushbasicdatadir = $(gimpdatadir)/brushes/Basic - -brushbasicdata_DATA = \ - 1-pixel.vbr \ - Block-01.vbr \ - Block-02.vbr \ - Block-03.vbr \ - Hardness-025.vbr \ - Hardness-050.vbr \ - Hardness-075.vbr \ - Hardness-100.vbr \ - pixel.gbr \ - Star.vbr - -EXTRA_DIST = $(brushbasicdata_DATA) diff --git a/data/brushes/Fun/.gitignore b/data/brushes/Fun/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/brushes/Fun/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/brushes/Fun/Makefile.am b/data/brushes/Fun/Makefile.am deleted file mode 100644 index 59b3ee56dc..0000000000 --- a/data/brushes/Fun/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -## Makefile.am for gimp/data/brushes/Fun - -brushfundatadir = $(gimpdatadir)/brushes/Fun - -brushfundata_DATA = \ - GEGL-goat.gih \ - pepper.gbr \ - Wilber.gih - -EXTRA_DIST = $(brushfundata_DATA) diff --git a/data/brushes/Legacy/.gitignore b/data/brushes/Legacy/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/brushes/Legacy/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/brushes/Legacy/Makefile.am b/data/brushes/Legacy/Makefile.am deleted file mode 100644 index c0fdddc942..0000000000 --- a/data/brushes/Legacy/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -## Makefile.am for gimp/data/brushes/Legacy - -brushlegacydatadir = $(gimpdatadir)/brushes/Legacy - -brushlegacydata_DATA = \ - confetti.gbr \ - confetti.gih \ - vine.gih - -EXTRA_DIST = $(brushlegacydata_DATA) diff --git a/data/brushes/Makefile.am b/data/brushes/Makefile.am deleted file mode 100644 index f585cd5c98..0000000000 --- a/data/brushes/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -## Makefile.am for gimp/data/brushes - -SUBDIRS = \ - Basic \ - Fun \ - Media \ - Legacy \ - Sketch \ - Splatters \ - Texture diff --git a/data/brushes/Media/.gitignore b/data/brushes/Media/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/brushes/Media/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/brushes/Media/Makefile.am b/data/brushes/Media/Makefile.am deleted file mode 100644 index 618436df19..0000000000 --- a/data/brushes/Media/Makefile.am +++ /dev/null @@ -1,18 +0,0 @@ -## Makefile.am for gimp/data/brushes/Media - -brushmediadatadir = $(gimpdatadir)/brushes/Media - -brushmediadata_DATA = \ - Acrylic-01.gih \ - Acrylic-02.gih \ - Acrylic-03.gih \ - Acrylic-04.gih \ - Acrylic-05.gih \ - Bristles-01.gbr \ - Bristles-02.gbr \ - Bristles-03.gbr \ - Oils-01.gbr \ - Oils-02.gbr \ - Oils-03.gbr - -EXTRA_DIST = $(brushmediadata_DATA) diff --git a/data/brushes/Sketch/.gitignore b/data/brushes/Sketch/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/brushes/Sketch/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/brushes/Sketch/Makefile.am b/data/brushes/Sketch/Makefile.am deleted file mode 100644 index bc6de69990..0000000000 --- a/data/brushes/Sketch/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -## Makefile.am for gimp/data/brushes/Sketch - -brushsketchdatadir = $(gimpdatadir)/brushes/Sketch - -brushsketchdata_DATA = \ - Chalk-01.gih \ - Chalk-02.gih \ - Chalk-03.gih \ - Charcoal-01.gbr \ - Charcoal-02.gbr \ - Charcoal-03.gih \ - Pencil-01.gih \ - Pencil-02.gih \ - Pencil-03.gih \ - Pencil-Scratch.gbr - -EXTRA_DIST = $(brushsketchdata_DATA) diff --git a/data/brushes/Splatters/.gitignore b/data/brushes/Splatters/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/brushes/Splatters/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/brushes/Splatters/Makefile.am b/data/brushes/Splatters/Makefile.am deleted file mode 100644 index e542e3bbb2..0000000000 --- a/data/brushes/Splatters/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ -## Makefile.am for gimp/data/brushes/Splatters - -brushsplattersdatadir = $(gimpdatadir)/brushes/Splatters - -brushsplattersdata_DATA = \ - Grunge-01.gih \ - Sparks-Hose.gih \ - Splats-01.gih \ - Splats-02.gih \ - Sponge-01.gbr \ - Sponge-02.gbr - -EXTRA_DIST = $(brushsplattersdata_DATA) diff --git a/data/brushes/Texture/.gitignore b/data/brushes/Texture/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/brushes/Texture/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/brushes/Texture/Makefile.am b/data/brushes/Texture/Makefile.am deleted file mode 100644 index b8c3282523..0000000000 --- a/data/brushes/Texture/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -## Makefile.am for gimp/data/brushes/Texture - -brushtexturedatadir = $(gimpdatadir)/brushes/Texture - -brushtexturedata_DATA = \ - Cell-01.gbr \ - Cell-02.gbr \ - Grass.gih \ - Hatch-Pen-01.gbr \ - Smoke.gbr \ - Stone-Work-01.gih \ - Texture-01.gbr \ - Texture-02.gbr \ - Texture-Hose-01.gih \ - Texture-Hose-02.gih \ - Texture-Hose-03.gih \ - Vegetation-01.gbr \ - Vegetation-02.gih - -EXTRA_DIST = $(brushtexturedata_DATA) diff --git a/data/dynamics/.gitignore b/data/dynamics/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/dynamics/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/dynamics/Basic/.gitignore b/data/dynamics/Basic/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/dynamics/Basic/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/dynamics/Basic/Makefile.am b/data/dynamics/Basic/Makefile.am deleted file mode 100644 index 0786dc1968..0000000000 --- a/data/dynamics/Basic/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -## Makefile.am for gimp/data/dynamics/Basic - -dynamicsbasicdatadir = $(gimpdatadir)/dynamics/Basic - -dynamicsbasicdata_DATA = \ - Basic-Simple.gdyn \ - Dynamics-Random.gdyn \ - Negative-Size-Pressure.gdyn \ - Pencil-Generic.gdyn \ - Pencil-Shader.gdyn \ - Pen-Generic.gdyn \ - Pressure-Opacity.gdyn \ - Pressure-Size.gdyn - -EXTRA_DIST = $(dynamicsbasicdata_DATA) diff --git a/data/dynamics/FX/.gitignore b/data/dynamics/FX/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/dynamics/FX/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/dynamics/FX/Makefile.am b/data/dynamics/FX/Makefile.am deleted file mode 100644 index 015d4df736..0000000000 --- a/data/dynamics/FX/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -## Makefile.am for gimp/data/dynamics/FX - -dynamicsfxdatadir = $(gimpdatadir)/dynamics/FX - -dynamicsfxdata_DATA = \ - Confetti.gdyn \ - Perspective.gdyn \ - Speed_Size_Opacity.gdyn - -EXTRA_DIST = $(dynamicsfxdata_DATA) diff --git a/data/dynamics/Makefile.am b/data/dynamics/Makefile.am deleted file mode 100644 index fe32aee0ac..0000000000 --- a/data/dynamics/Makefile.am +++ /dev/null @@ -1,18 +0,0 @@ -## Makefile.am for gimp/data/dynamics - -SUBDIRS = \ - Basic \ - FX - -dynamicsdatadir = $(gimpdatadir)/dynamics - -dynamicsdata_DATA = \ - Basic-Dynamics.gdyn \ - Color-From-Gradient.gdyn \ - Fade-Tapering.gdyn \ - Random-Color.gdyn \ - Tilt-Angle.gdyn \ - Track-Direction.gdyn \ - Velocity-Tapering.gdyn - -EXTRA_DIST = $(dynamicsdata_DATA) diff --git a/data/environ/.gitignore b/data/environ/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/environ/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/environ/Makefile.am b/data/environ/Makefile.am deleted file mode 100644 index d29a91e7e2..0000000000 --- a/data/environ/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ -## Makefile.am for gimp/data/environ - -environdir = $(gimpplugindir)/environ - -environ_DATA = \ - default.env \ - python.env - -EXTRA_DIST = $(environ_DATA) diff --git a/data/gradients/.gitignore b/data/gradients/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/gradients/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/gradients/Makefile.am b/data/gradients/Makefile.am deleted file mode 100644 index 54c8178671..0000000000 --- a/data/gradients/Makefile.am +++ /dev/null @@ -1,88 +0,0 @@ -## Makefile.am for gimp/data/gradients - -gradientdatadir = $(gimpdatadir)/gradients -obsoletegradientdatadir = $(gimpdatadir)/gradients/gimp-obsolete-files - -gradientdata_DATA = \ - Abstract_1.ggr \ - Abstract_2.ggr \ - Abstract_3.ggr \ - Aneurism.ggr \ - Blinds.ggr \ - Blue_Green.ggr \ - Browns.ggr \ - Brushed_Aluminium.ggr \ - Burning_Paper.ggr \ - Burning_Transparency.ggr \ - CD.ggr \ - CD_Half.ggr \ - Caribbean_Blues.ggr \ - Coffee.ggr \ - Cold_Steel.ggr \ - Cold_Steel_2.ggr \ - Crown_molding.ggr \ - Dark_1.ggr \ - Deep_Sea.ggr \ - Default.ggr \ - Flare_Glow_Angular_1.ggr \ - Flare_Glow_Radial_1.ggr \ - Flare_Glow_Radial_2.ggr \ - Flare_Glow_Radial_3.ggr \ - Flare_Glow_Radial_4.ggr \ - Flare_Radial_101.ggr \ - Flare_Radial_102.ggr \ - Flare_Radial_103.ggr \ - Flare_Rays_Radial_1.ggr \ - Flare_Rays_Radial_2.ggr \ - Flare_Rays_Size_1.ggr \ - Flare_Sizefac_101.ggr \ - Four_bars.ggr \ - Full_saturation_spectrum_CCW.ggr \ - Full_saturation_spectrum_CW.ggr \ - Golden.ggr \ - Greens.ggr \ - Horizon_1.ggr \ - Horizon_2.ggr \ - Incandescent.ggr \ - Land_1.ggr \ - Land_and_Sea.ggr \ - Metallic_Something.ggr \ - Nauseating_Headache.ggr \ - Neon_Cyan.ggr \ - Neon_Green.ggr \ - Neon_Yellow.ggr \ - Pastels.ggr \ - Pastel_Rainbow.ggr \ - Purples.ggr \ - Radial_Eyeball_Blue.ggr \ - Radial_Eyeball_Brown.ggr \ - Radial_Eyeball_Green.ggr \ - Radial_Glow_1.ggr \ - Radial_Rainbow_Hoop.ggr \ - Rounded_edge.ggr \ - Shadows_1.ggr \ - Shadows_2.ggr \ - Shadows_3.ggr \ - Skyline.ggr \ - Skyline_polluted.ggr \ - Square_Wood_Frame.ggr \ - Sunrise.ggr \ - Three_bars_sin.ggr \ - Tropical_Colors.ggr \ - Tube_Red.ggr \ - Wood_1.ggr \ - Wood_2.ggr \ - Yellow_Contrast.ggr \ - Yellow_Orange.ggr - -obsoletegradientdata_DATA = \ - French_flag.ggr \ - French_flag_smooth.ggr \ - German_flag.ggr \ - German_flag_smooth.ggr \ - Mexican_flag.ggr \ - Mexican_flag_smooth.ggr \ - Romanian_flag.ggr \ - Romanian_flag_smooth.ggr - -EXTRA_DIST = $(gradientdata_DATA) $(obsoletegradientdata_DATA) diff --git a/data/images/.gitignore b/data/images/.gitignore deleted file mode 100644 index c4b41bc2a5..0000000000 --- a/data/images/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/Makefile.in -/Makefile -/.xvpics -/.thumbnails diff --git a/data/images/Makefile.am b/data/images/Makefile.am deleted file mode 100644 index f2f996464f..0000000000 --- a/data/images/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -## Makefile.am for gimp/data/images - -imagedatadir = $(gimpdatadir)/images - -if GIMP_UNSTABLE -GIMP_LOGO = gimp-devel-logo.png -else -GIMP_LOGO = gimp-logo.png -endif - -imagedata_DATA = \ - $(GIMP_LOGO) \ - gimp-splash.png \ - wilber.png - -EXTRA_DIST = $(imagedata_DATA) diff --git a/data/interpreters/.gitignore b/data/interpreters/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/interpreters/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/interpreters/Makefile.am b/data/interpreters/Makefile.am deleted file mode 100644 index 3dda7c7a45..0000000000 --- a/data/interpreters/Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ -## Makefile.am for gimp/data/interpreters - -interpretersdir = $(gimpplugindir)/interpreters - -interpreters_DATA = default.interp - -EXTRA_DIST = $(interpreters_DATA) diff --git a/data/palettes/.gitignore b/data/palettes/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/palettes/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/palettes/Makefile.am b/data/palettes/Makefile.am deleted file mode 100644 index dc6c2dcec2..0000000000 --- a/data/palettes/Makefile.am +++ /dev/null @@ -1,47 +0,0 @@ -## Makefile.am for gimp/data/palettes - -palettedatadir = $(gimpdatadir)/palettes - -palettedata_DATA = \ - Bears.gpl \ - Bgold.gpl \ - Blues.gpl \ - Borders.gpl \ - Browns_And_Yellows.gpl \ - Caramel.gpl \ - Cascade.gpl \ - China.gpl \ - Coldfire.gpl \ - Cool_Colors.gpl \ - Cranes.gpl \ - Dark_pastels.gpl \ - Default.gpl \ - Ega.gpl \ - Firecode.gpl \ - Gold.gpl \ - Grayblue.gpl \ - Grays.gpl \ - GrayViolet.gpl \ - Greens.gpl \ - Hilite.gpl \ - Khaki.gpl \ - Lights.gpl \ - Muted.gpl \ - Named_Colors.gpl \ - News3.gpl \ - Op2.gpl \ - Paintjet.gpl \ - Pastels.gpl \ - Plasma.gpl \ - Reds.gpl \ - Reds_And_Purples.gpl \ - Royal.gpl \ - Tango.gpl \ - Topographic.gpl \ - Visibone.gpl \ - Visibone_2.gpl \ - Volcano.gpl \ - Warm_Colors.gpl \ - Web.gpl - -EXTRA_DIST = $(palettedata_DATA) diff --git a/data/patterns/.gitignore b/data/patterns/.gitignore deleted file mode 100644 index ceb369b6e4..0000000000 --- a/data/patterns/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/Makefile.in -/Makefile -/.xvpics diff --git a/data/patterns/Animal/.gitignore b/data/patterns/Animal/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/patterns/Animal/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/patterns/Animal/Makefile.am b/data/patterns/Animal/Makefile.am deleted file mode 100644 index 62e4328864..0000000000 --- a/data/patterns/Animal/Makefile.am +++ /dev/null @@ -1,10 +0,0 @@ -## Makefile.am for gimp/data/patterns/Animal - -patternsanimaldatadir = $(gimpdatadir)/patterns/Animal - -patternsanimaldata_DATA = \ - leather.pat \ - leopard.pat - - -EXTRA_DIST = $(patternsanimaldata_DATA) diff --git a/data/patterns/Fabric/.gitignore b/data/patterns/Fabric/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/patterns/Fabric/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/patterns/Fabric/Makefile.am b/data/patterns/Fabric/Makefile.am deleted file mode 100644 index 5fae57638f..0000000000 --- a/data/patterns/Fabric/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -## Makefile.am for gimp/data/patterns/Fabric - -patternsfabricdatadir = $(gimpdatadir)/patterns/Fabric - -patternsfabricdata_DATA = \ - burlap.pat - -EXTRA_DIST = $(patternsfabricdata_DATA) diff --git a/data/patterns/Food/.gitignore b/data/patterns/Food/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/patterns/Food/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/patterns/Food/Makefile.am b/data/patterns/Food/Makefile.am deleted file mode 100644 index 6baf4baa12..0000000000 --- a/data/patterns/Food/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ -## Makefile.am for gimp/data/patterns/Food - -patternsfooddatadir = $(gimpdatadir)/patterns/Food - -patternsfooddata_DATA = \ - choc_swirl.pat \ - java.pat - -EXTRA_DIST = $(patternsfooddata_DATA) diff --git a/data/patterns/Legacy/.gitignore b/data/patterns/Legacy/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/patterns/Legacy/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/patterns/Legacy/Makefile.am b/data/patterns/Legacy/Makefile.am deleted file mode 100644 index c65b6492e9..0000000000 --- a/data/patterns/Legacy/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -## Makefile.am for gimp/data/patterns/Legacy - -patternslegacydatadir = $(gimpdatadir)/patterns/Legacy - -patternslegacydata_DATA = \ - 3dgreen.pat \ - Stripes1px.pat \ - Stripes2px.pat \ - blue.pat \ - bluegrid.pat \ - bluesquares.pat \ - blueweb.pat \ - fibers.pat \ - nops.pat \ - pastel.pat \ - qube1.pat \ - recessed.pat \ - redcube.pat \ - sm_squares.pat \ - warning.pat - -EXTRA_DIST = $(patternslegacydata_DATA) diff --git a/data/patterns/Makefile.am b/data/patterns/Makefile.am deleted file mode 100644 index 565e262330..0000000000 --- a/data/patterns/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = \ - Animal \ - Fabric \ - Food \ - Legacy \ - Paper \ - Plant \ - Sky \ - Stone \ - Water \ - Wood diff --git a/data/patterns/Paper/.gitignore b/data/patterns/Paper/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/patterns/Paper/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/patterns/Paper/Makefile.am b/data/patterns/Paper/Makefile.am deleted file mode 100644 index a567700ab4..0000000000 --- a/data/patterns/Paper/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ -## Makefile.am for gimp/data/patterns/Paper - -patternpaperdatadir = $(gimpdatadir)/patterns/Paper - -patternpaperdata_DATA = \ - crinklepaper.pat \ - paper.pat - -EXTRA_DIST = $(patternpaperdata_DATA) diff --git a/data/patterns/Plant/.gitignore b/data/patterns/Plant/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/patterns/Plant/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/patterns/Plant/Makefile.am b/data/patterns/Plant/Makefile.am deleted file mode 100644 index 7932f5768e..0000000000 --- a/data/patterns/Plant/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -## Makefile.am for gimp/data/patterns/Plant - -patternsplantdatadir = $(gimpdatadir)/patterns/Plant - -patternsplantdata_DATA = \ - leaves.pat - -EXTRA_DIST = $(patternsplantdata_DATA) diff --git a/data/patterns/Sky/.gitignore b/data/patterns/Sky/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/patterns/Sky/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/patterns/Sky/Makefile.am b/data/patterns/Sky/Makefile.am deleted file mode 100644 index a597c5f310..0000000000 --- a/data/patterns/Sky/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ -## Makefile.am for gimp/data/patterns/Sky - -patternsskydatadir = $(gimpdatadir)/patterns/Sky - -patternsskydata_DATA = \ - lightning.pat \ - sky.pat \ - starfield.pat - - -EXTRA_DIST = $(patternsskydata_DATA) diff --git a/data/patterns/Stone/.gitignore b/data/patterns/Stone/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/patterns/Stone/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/patterns/Stone/Makefile.am b/data/patterns/Stone/Makefile.am deleted file mode 100644 index 90a78bc940..0000000000 --- a/data/patterns/Stone/Makefile.am +++ /dev/null @@ -1,22 +0,0 @@ -## Makefile.am for gimp/data/patterns/Stone - -patternsstonedatadir = $(gimpdatadir)/patterns/Stone - -patternsstonedata_DATA = \ - Craters.pat \ - Moonfoot.pat \ - amethyst.pat \ - brick.pat \ - cracked.pat \ - granite1.pat \ - ground1.pat \ - pink_marble.pat \ - marble1.pat \ - marble2.pat \ - marble3.pat \ - rock.pat \ - slate.pat \ - stone33.pat \ - terra.pat - -EXTRA_DIST = $(patternsstonedata_DATA) diff --git a/data/patterns/Water/.gitignore b/data/patterns/Water/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/patterns/Water/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/patterns/Water/Makefile.am b/data/patterns/Water/Makefile.am deleted file mode 100644 index d8a0c03d9d..0000000000 --- a/data/patterns/Water/Makefile.am +++ /dev/null @@ -1,11 +0,0 @@ -## Makefile.am for gimp/data/patterns/Water - -patternwaterdatadir = $(gimpdatadir)/patterns/Water - -patternwaterdata_DATA = \ - electric.pat \ - ice.pat \ - pool.pat \ - rain.pat - -EXTRA_DIST = $(patternwaterdata_DATA) diff --git a/data/patterns/Wood/.gitignore b/data/patterns/Wood/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/patterns/Wood/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/patterns/Wood/Makefile.am b/data/patterns/Wood/Makefile.am deleted file mode 100644 index 17f0875378..0000000000 --- a/data/patterns/Wood/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -## Makefile.am for gimp/data/patterns/Wood - -patternswooddatadir = $(gimpdatadir)/patterns/Wood - -patternswooddata_DATA = \ - bark.pat \ - burlwood.pat \ - corkboard.pat \ - parque1.pat \ - parque2.pat \ - parque3.pat \ - pine.pat \ - walnut.pat \ - wood1.pat \ - wood2.pat \ - wood3.pat \ - wood4.pat \ - wood5.pat - -EXTRA_DIST = $(patternswooddata_DATA) diff --git a/data/tags/.gitignore b/data/tags/.gitignore deleted file mode 100644 index 7b6ef9effc..0000000000 --- a/data/tags/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/Makefile.in -/Makefile -/gimp-tags-default.xml diff --git a/data/tags/Makefile.am b/data/tags/Makefile.am deleted file mode 100644 index 2e3f36fc79..0000000000 --- a/data/tags/Makefile.am +++ /dev/null @@ -1,34 +0,0 @@ -## Makefile.am for gimp/data/tags - -tagsdatadir = $(gimpdatadir)/tags - -tagsdata_in_files = gimp-tags-default.xml.in - -tagsdata_data_files = $(tagsdata_in_files:.xml.in=.xml) - -tagsdata_DATA = $(tagsdata_data_files) - -EXTRA_DIST = \ - $(tagsdata_DATA) \ - $(tagsdata_in_files) \ - gimp-tags.dtd - -DISTCLEANFILES = $(tagsdata_data_files) - -itsdir = $(datadir)/gettext/its -its_DATA = its/gimp-tags.loc its/gimp-tags.its - -EXTRA_DIST += $(its_DATA) - - -gimp-tags-default.xml: gimp-tags-default.xml.in $(wildcard $(top_srcdir)/po-tags/*.po) - $(AM_V_GEN) GETTEXTDATADIRS=$(abs_srcdir) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po-tags -o $@ - - -validate: gimp-tags-default.xml -if HAVE_XMLLINT - @$(XMLLINT) --noout --path $(srcdir) --valid $< || \ - ( echo "* gimp-tags-default.xml INVALID *"; exit 1; ) -endif - -dist-hook: validate diff --git a/data/tips/.gitignore b/data/tips/.gitignore deleted file mode 100644 index 5d472ba5d6..0000000000 --- a/data/tips/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/Makefile.in -/Makefile -/gimp-tips.xml -/fortunes diff --git a/data/tips/Makefile.am b/data/tips/Makefile.am deleted file mode 100644 index 68c8ab4701..0000000000 --- a/data/tips/Makefile.am +++ /dev/null @@ -1,43 +0,0 @@ -## Makefile.am for gimp/data/tips - -tipsdatadir = $(gimpdatadir)/tips - -tipsdata_in_files = gimp-tips.xml.in - -tipsdata_data_files = $(tipsdata_in_files:.xml.in=.xml) - -tipsdata_DATA = $(tipsdata_data_files) - -EXTRA_DIST = \ - $(tipsdata_DATA) \ - $(tipsdata_in_files) \ - gimp-tips.dtd \ - fortunes.xsl - -DISTCLEANFILES = $(tipsdata_data_files) - -itsdir = $(datadir)/gettext/its -its_DATA = its/gimp-tips.loc its/gimp-tips.its - -EXTRA_DIST += $(its_DATA) - - -gimp-tips.xml: gimp-tips.xml.in $(wildcard $(top_srcdir)/po-tips/*.po) - $(AM_V_GEN) GETTEXTDATADIRS=$(abs_srcdir) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po-tips -o $@ - - -validate: gimp-tips.xml -if HAVE_XMLLINT - @$(XMLLINT) --noout --path $(srcdir) --valid $< || \ - ( echo "* gimp-tips.xml INVALID *"; exit 1; ) -endif - -fortunes: gimp-tips.xml fortunes.xsl -if HAVE_XSLTPROC - $(XSLTPROC) --stringparam lang en fortunes.xsl $< > $(@) || rm -f $(@) -else - @echo "xsltproc is needed to build fortunes"; exit 1; -endif - - -dist-hook: validate diff --git a/data/tool-presets/.gitignore b/data/tool-presets/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/tool-presets/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/tool-presets/Crop/.gitignore b/data/tool-presets/Crop/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/tool-presets/Crop/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/tool-presets/Crop/Makefile.am b/data/tool-presets/Crop/Makefile.am deleted file mode 100644 index b0ff07f22d..0000000000 --- a/data/tool-presets/Crop/Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ -## Makefile.am for gimp/data/tool-presets/Crop - -toolpresetspaintdatadir = $(gimpdatadir)/tool-presets/Crop - -toolpresetspaintdata_DATA = \ - 16_10.gtp \ - 16_9.gtp \ - 3_2-Landscape.gtp \ - 3_2-Portrait.gtp \ - 4_3-Landscape.gtp \ - 4_3-Portrait.gtp \ - Square.gtp - -EXTRA_DIST = $(toolpresetspaintdata_DATA) diff --git a/data/tool-presets/FX/.gitignore b/data/tool-presets/FX/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/tool-presets/FX/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/tool-presets/FX/Makefile.am b/data/tool-presets/FX/Makefile.am deleted file mode 100644 index 127d51fd3e..0000000000 --- a/data/tool-presets/FX/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -## Makefile.am for gimp/data/tool-presets/FX - -toolpresetsfxdatadir = $(gimpdatadir)/tool-presets/FX - -toolpresetsfxdata_DATA = \ - Crop-16-9.gtp \ - Crop-Composition.gtp \ - Fill-Paper.gtp \ - FX-Confetti.gtp \ - FX-Radial-Softlight.gtp \ - Glow-Lights.gtp \ - Smooth-Clone.gtp \ - Vignette.gtp - -EXTRA_DIST = $(toolpresetsfxdata_DATA) diff --git a/data/tool-presets/Makefile.am b/data/tool-presets/Makefile.am deleted file mode 100644 index 2bf04b252d..0000000000 --- a/data/tool-presets/Makefile.am +++ /dev/null @@ -1,8 +0,0 @@ -## Makefile.am for gimp/data/tool-presets - -SUBDIRS = \ - Crop \ - FX \ - Paint \ - Selection \ - Sketch diff --git a/data/tool-presets/Paint/.gitignore b/data/tool-presets/Paint/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/tool-presets/Paint/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/tool-presets/Paint/Makefile.am b/data/tool-presets/Paint/Makefile.am deleted file mode 100644 index 8022d327de..0000000000 --- a/data/tool-presets/Paint/Makefile.am +++ /dev/null @@ -1,23 +0,0 @@ -## Makefile.am for gimp/data/tool-presets/Paint - -toolpresetspaintdatadir = $(gimpdatadir)/tool-presets/Paint - -toolpresetspaintdata_DATA = \ - Airbrush.gtp \ - Airbrush-Color-From-Gradient.gtp \ - Basic-Knife.gtp \ - Basic-Round.gtp \ - Basic-Round-Detail.gtp \ - Bristles.gtp \ - Eraser-Hard.gtp \ - Noise.gtp \ - Paintbrush-Color-From-Gradient.gtp \ - Pencil-Color-From-Gradient.gtp \ - Smudge-Rough.gtp \ - Smudge-Soft.gtp \ - Soft-Oil.gtp \ - Splatters.gtp \ - Structure.gtp \ - Vegetal.gtp - -EXTRA_DIST = $(toolpresetspaintdata_DATA) diff --git a/data/tool-presets/Selection/.gitignore b/data/tool-presets/Selection/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/tool-presets/Selection/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/tool-presets/Selection/Makefile.am b/data/tool-presets/Selection/Makefile.am deleted file mode 100644 index 4949967212..0000000000 --- a/data/tool-presets/Selection/Makefile.am +++ /dev/null @@ -1,9 +0,0 @@ -## Makefile.am for gimp/data/tool-presets/Selection - -toolpresetsselectiondatadir = $(gimpdatadir)/tool-presets/Selection - -toolpresetsselectiondata_DATA = \ - Circle-200px.gtp \ - Feathered-Selection.gtp - -EXTRA_DIST = $(toolpresetsselectiondata_DATA) diff --git a/data/tool-presets/Sketch/.gitignore b/data/tool-presets/Sketch/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/data/tool-presets/Sketch/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/data/tool-presets/Sketch/Makefile.am b/data/tool-presets/Sketch/Makefile.am deleted file mode 100644 index e170044d81..0000000000 --- a/data/tool-presets/Sketch/Makefile.am +++ /dev/null @@ -1,13 +0,0 @@ -## Makefile.am for gimp/data/tool-presets/Sketch - -toolpresetssketchdatadir = $(gimpdatadir)/tool-presets/Sketch - -toolpresetssketchdata_DATA = \ - Blue-Pen.gtp \ - Eraser-Soft.gtp \ - Ink-Smooth.gtp \ - Ink-Thin.gtp \ - Pencil.gtp \ - Pencil-Soft.gtp - -EXTRA_DIST = $(toolpresetssketchdata_DATA) diff --git a/desktop/.gitignore b/desktop/.gitignore deleted file mode 100644 index 044b9e8191..0000000000 --- a/desktop/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -/Makefile.in -/Makefile -/org.gimp.GIMP.appdata.xml.in -/org.gimp.GIMP.appdata.xml -/gimp.desktop.in -/gimp.desktop -/test-appdata.sh -/.thumbnails diff --git a/desktop/Makefile.am b/desktop/Makefile.am deleted file mode 100644 index bb1dec33ec..0000000000 --- a/desktop/Makefile.am +++ /dev/null @@ -1,96 +0,0 @@ -## Makefile.am for gimp/desktop - -desktop_in_files = \ - gimp.desktop.in.in - -desktop_files = $(desktop_in_files:.desktop.in.in=.desktop) - -appstream_in_files = \ - org.gimp.GIMP.appdata.xml.in - -appstream_files = $(appstream_in_files:.xml.in=.xml) - -$(appstream_files): $(appstream_in_files) - $(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ - -if DESKTOP_DATADIR - -applicationsdir = $(DESKTOP_DATADIR)/applications -applications_DATA = $(desktop_files) - -appdatadir = $(DESKTOP_DATADIR)/metainfo -appdata_DATA = $(appstream_files) - -icons16dir = $(DESKTOP_DATADIR)/icons/hicolor/16x16/apps -icons16_DATA = 16x16/gimp.png - -icons22dir = $(DESKTOP_DATADIR)/icons/hicolor/22x22/apps -icons22_DATA = 22x22/gimp.png - -icons24dir = $(DESKTOP_DATADIR)/icons/hicolor/24x24/apps -icons24_DATA = 24x24/gimp.png - -icons32dir = $(DESKTOP_DATADIR)/icons/hicolor/32x32/apps -icons32_DATA = 32x32/gimp.png - -icons48dir = $(DESKTOP_DATADIR)/icons/hicolor/48x48/apps -icons48_DATA = 48x48/gimp.png - -icons64dir = $(DESKTOP_DATADIR)/icons/hicolor/64x64/apps -icons64_DATA = 64x64/gimp.png - -icons256dir = $(DESKTOP_DATADIR)/icons/hicolor/256x256/apps -icons256_DATA = 256x256/gimp.png - -iconsscalabledir = $(DESKTOP_DATADIR)/icons/hicolor/scalable/apps -iconsscalable_DATA = scalable/gimp.svg - - -# touch the toplevel icon directory as required by the icon theme spec -install-data-hook: - touch $(DESTDIR)$(DESKTOP_DATADIR)/icons/hicolor - -endif - -EXTRA_DIST = \ - $(appstream_in_files) \ - test-appdata.sh.in \ - test-desktop.sh \ - gimp.desktop.in.in \ - 16x16/gimp.png \ - 22x22/gimp.png \ - 24x24/gimp.png \ - 32x32/gimp.png \ - 48x48/gimp.png \ - 64x64/gimp.png \ - 256x256/gimp.png \ - scalable/gimp.svg - - -DISTCLEANFILES = $(desktop_files) $(appstream_files) - -gimp.desktop: gimp.desktop.in $(wildcard $(top_srcdir)/po/*.po) - $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ - -validate: gimp.desktop - ( dfvalidate=`which desktop-file-validate`; \ - if test x$$dfvalidate != x && test -x $$dfvalidate; then \ - $$dfvalidate $< || ( echo "* $< INVALID *"; exit 1 ) \ - else \ - echo "Can't find desktop-file-validate to validate $<; proceed with fingers crossed..."; \ - fi ) - -dist-hook: validate - -TESTS_ENVIRONMENT = \ - chmod +x test-appdata.sh; \ - GIMP_TESTING_ABS_TOP_BUILDDIR=@abs_top_builddir@ -TESTS = - -if HAVE_APPSTREAMCLI -TESTS += test-appdata.sh -endif - -if HAVE_DESKTOP_FILE_VALIDATE -TESTS += test-desktop.sh -endif diff --git a/devel-docs/.gitignore b/devel-docs/.gitignore deleted file mode 100644 index b336cc7cec..0000000000 --- a/devel-docs/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile -/Makefile.in diff --git a/devel-docs/Makefile.am b/devel-docs/Makefile.am deleted file mode 100644 index 1665739bcb..0000000000 --- a/devel-docs/Makefile.am +++ /dev/null @@ -1,15 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = \ - g-ir-docs \ - reference - -EXTRA_DIST = \ - HACKING.md \ - README.md \ - contexts.txt \ - includes.txt \ - parasites.txt \ - tagging.txt \ - ui-framework.txt \ - undo.txt diff --git a/devel-docs/g-ir-docs/.gitignore b/devel-docs/g-ir-docs/.gitignore deleted file mode 100644 index b336cc7cec..0000000000 --- a/devel-docs/g-ir-docs/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile -/Makefile.in diff --git a/devel-docs/g-ir-docs/Makefile.am b/devel-docs/g-ir-docs/Makefile.am deleted file mode 100644 index 9d3a8351c7..0000000000 --- a/devel-docs/g-ir-docs/Makefile.am +++ /dev/null @@ -1,35 +0,0 @@ -if ENABLE_G_IR_DOC - -Gimp-%-docs: $(top_builddir)/libgimp/Gimp-@GIMP_API_VERSION@.gir - $(GIR_DOC_TOOL) -I "$(prefix)/share/gir-1.0/" \ - -I "$(top_builddir)/libgimp" --language=$* \ - -o "$(builddir)/pages/$*/Gimp-$(GIMP_API_VERSION)" \ - $< - sed -i 's/<\(Prefix\|Image\)/\<\1/g' "$(builddir)/pages/$*/Gimp-$(GIMP_API_VERSION)/Gimp.Procedure.add_menu_path.page" - sed -i 's/&\([a-z0-9_]\+[^a-z0-9_;]\)/\&\1/g' "$(builddir)/pages/$*/Gimp-$(GIMP_API_VERSION)/Gimp.checks_get_colors.page" - $(YELP_BUILD) cache \ - -o "$(builddir)/pages/$*/Gimp-$(GIMP_API_VERSION)/index.cache" \ - "$(builddir)/pages/$*/Gimp-$(GIMP_API_VERSION)/" - mkdir -p "$(builddir)/html/$*/Gimp-$(GIMP_API_VERSION)" - $(YELP_BUILD) html \ - -o "$(builddir)/html/$*/Gimp-$(GIMP_API_VERSION)" \ - "$(builddir)/pages/$*/Gimp-$(GIMP_API_VERSION)/" - echo "$* Gimp module documentation: $(builddir)/html/Python/Gimp-$(GIMP_API_VERSION)" - -GimpUi-%-docs: $(top_builddir)/libgimp/GimpUi-@GIMP_API_VERSION@.gir Gimp-%-docs - $(GIR_DOC_TOOL) -I "$(prefix)/share/gir-1.0/" \ - -I "$(top_builddir)/libgimp" --language=$* \ - -o "$(builddir)/pages/$*/GimpUi-$(GIMP_API_VERSION)" \ - $< - $(YELP_BUILD) cache \ - -o "$(builddir)/pages/$*/GimpUi-$(GIMP_API_VERSION)/index.cache" \ - "$(builddir)/pages/$*/GimpUi-$(GIMP_API_VERSION)/" - mkdir -p "$(builddir)/html/$*/GimpUi-$(GIMP_API_VERSION)" - $(YELP_BUILD) html \ - -o "$(builddir)/html/$*/GimpUi-$(GIMP_API_VERSION)" \ - "$(builddir)/pages/$*/GimpUi-$(GIMP_API_VERSION)/" - echo "$* GimpUi module documentation: $(builddir)/html/Python/GimpUi-$(GIMP_API_VERSION)" - -all-local: GimpUi-gjs-docs GimpUi-python-docs - -endif diff --git a/devel-docs/reference/.gitignore b/devel-docs/reference/.gitignore deleted file mode 100644 index b13bab082a..0000000000 --- a/devel-docs/reference/.gitignore +++ /dev/null @@ -1,20 +0,0 @@ -/Makefile -/Makefile.in -/deprecated -/libgimp3.actions -/libgimp3.args -/libgimp3.hierarchy -/libgimp3.interfaces -/libgimp3.prerequisites -/libgimp3.signals -/libgimp3-decl.txt -/libgimp3-decl-list.txt -/libgimp3-unused.txt -/libgimp3-undeclared.txt -/libgimp3-undocumented.txt -/html -/tmpl -/xml -/.libs -/*.bak -/*.stamp diff --git a/devel-docs/reference/Makefile.am b/devel-docs/reference/Makefile.am deleted file mode 100644 index 15a26c3e7a..0000000000 --- a/devel-docs/reference/Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if ENABLE_GI_DOCGEN - -SUBDIRS = gimp gimp-ui - -endif diff --git a/devel-docs/reference/gimp-ui/.gitignore b/devel-docs/reference/gimp-ui/.gitignore deleted file mode 100644 index b336cc7cec..0000000000 --- a/devel-docs/reference/gimp-ui/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile -/Makefile.in diff --git a/devel-docs/reference/gimp-ui/Makefile.am b/devel-docs/reference/gimp-ui/Makefile.am deleted file mode 100644 index fe3a058bcc..0000000000 --- a/devel-docs/reference/gimp-ui/Makefile.am +++ /dev/null @@ -1,26 +0,0 @@ -## Process this file with automake to produce Makefile.in - -GIMP_DOC_LOGO = $(abs_top_srcdir)/data/images/gimp-logo.ong - -gimp-ui-3.0.toml: gimp-ui-3.0.toml.in - $(AM_V_GEN) sed \ - -e 's/@GIMP_VERSION[@]/$(GIMP_VERSION)/' \ - -e 's/@GIMP_LOGO[@]/$(GIMP_DOC_LOGO)/' \ - $< $@ - -# Markdown content files -content_files = \ - widget-gallery.md \ - $(NULL) - -GimpUi-reference: $(top_builddir)/libgimp/GimpUi-@GIMP_API_VERSION@.gir $(top_builddir)/libgimp/Gimp-@GIMP_API_VERSION@.gir $(content_files) gimp-ui-3.0.toml - $(GI_DOCGEN) \ - generate \ - --quiet \ - --fatal-warnings \ - --config=gimp-ui-3.0.toml \ - --output-dir=$(abs_builddir)/Gimp-3.0 \ - --no-namespace-dir \ - --content-dir=$(abs_srcdir) \ - --add-include-path=$(top_abs_builddir)/gimp \ - $< diff --git a/devel-docs/reference/gimp/.gitignore b/devel-docs/reference/gimp/.gitignore deleted file mode 100644 index b336cc7cec..0000000000 --- a/devel-docs/reference/gimp/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile -/Makefile.in diff --git a/devel-docs/reference/gimp/Makefile.am b/devel-docs/reference/gimp/Makefile.am deleted file mode 100644 index c5bade5445..0000000000 --- a/devel-docs/reference/gimp/Makefile.am +++ /dev/null @@ -1,24 +0,0 @@ -## Process this file with automake to produce Makefile.in - -GIMP_DOC_LOGO = $(abs_top_srcdir)/data/images/gimp-logo.ong - -gimp-3.0.toml: gimp-3.0.toml.in - $(AM_V_GEN) sed \ - -e 's/@GIMP_VERSION[@]/$(GIMP_VERSION)/' \ - -e 's/@GIMP_LOGO[@]/$(GIMP_DOC_LOGO)/' \ - $< $@ - -# Markdown content files -content_files = \ - $(NULL) - -Gimp-reference: $(top_builddir)/libgimp/Gimp-@GIMP_API_VERSION@.gir $(content_files) gimp-3.0.toml - $(GI_DOCGEN) \ - generate \ - --quiet \ - --fatal-warnings \ - --config=gimp-3.0.toml \ - --output-dir=$(abs_builddir)/Gimp-3.0 \ - --no-namespace-dir \ - --content-dir=$(abs_srcdir) \ - $< diff --git a/docs/.gitignore b/docs/.gitignore deleted file mode 100644 index 6454ff8887..0000000000 --- a/docs/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile -/Makefile.in -/gimp-2.99.1 -/gimprc-2.99.5 -/gimptool-2.99.1 -/Wilber.xcf -/Wilber_Construction_Kit.xcf diff --git a/docs/Makefile.am b/docs/Makefile.am deleted file mode 100644 index b4e31617d1..0000000000 --- a/docs/Makefile.am +++ /dev/null @@ -1,55 +0,0 @@ -## Process this file with automake to produce Makefile.in - -EXTRA_DIST = \ - Wilber.xcf.gz \ - Wilber.xcf.gz.README \ - Wilber_Construction_Kit.xcf.gz - -mans = \ - gimp-$(GIMP_APP_VERSION).1 \ - gimprc-$(GIMP_APP_VERSION).5 - -man_MANS = \ - $(mans) \ - gimptool-$(GIMP_TOOL_VERSION).1 - -default_binary_mans = $(mans) -if ENABLE_GIMP_CONSOLE -default_binary_mans += gimp-console-$(GIMP_APP_VERSION).1 -endif - -install-data-hook: -if ENABLE_GIMP_CONSOLE - cd $(DESTDIR)$(mandir)/man1; \ - rm -f gimp-console-$(GIMP_APP_VERSION).1; \ - ln -s gimp-$(GIMP_APP_VERSION).1 gimp-console-$(GIMP_APP_VERSION).1 -endif -if DEFAULT_BINARY - @list='$(default_binary_mans)'; \ - for i in $$list; do \ - s=`echo $$i | sed -e 's/.*\\(.\\)$$/\1/'`; \ - n=`echo $$i | sed -e 's/-[^-]*$$//'`; \ - f="$$n.$$s"; \ - echo "cd $(DESTDIR)$(mandir)/man$$s"; \ - cd $(DESTDIR)$(mandir)/man$$s; \ - echo "rm -f $$f"; \ - rm -f $$f; \ - echo "ln -s $$i $$f"; \ - ln -s $$i $$f; \ - done -endif - -uninstall-local: -if ENABLE_GIMP_CONSOLE - rm -f $(DESTDIR)$(mandir)/man1/gimp-console-$(GIMP_APP_VERSION).1 -endif -if DEFAULT_BINARY - @list='$(default_binary_mans)'; \ - for i in $$list; do \ - s=`echo $$i | sed -e 's/.*\\(.\\)$$/\1/'`; \ - n=`echo $$i | sed -e 's/-[^-]*$$//'`; \ - f="$$n.$$s"; \ - echo " rm -f $(DESTDIR)$(mandir)/man$$s/$$f"; \ - rm -f $(DESTDIR)$(mandir)/man$$s/$$f; \ - done -endif diff --git a/etc/.gitignore b/etc/.gitignore deleted file mode 100644 index 67d7d091e3..0000000000 --- a/etc/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/Makefile -/Makefile.in -/gimprc diff --git a/etc/Makefile.am b/etc/Makefile.am deleted file mode 100644 index e8c8f09f4e..0000000000 --- a/etc/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -## Makefile.am for gimp/etc - -gimpsysconf = \ - controllerrc \ - gimp.css \ - sessionrc \ - templaterc \ - toolrc \ - unitrc - -gimpsysconf_DATA = \ - $(gimpsysconf) \ - gimprc - -EXTRA_DIST = \ - $(gimpsysconf) diff --git a/extensions/.gitignore b/extensions/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/extensions/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/extensions/Makefile.am b/extensions/Makefile.am deleted file mode 100644 index b55e5dba0c..0000000000 --- a/extensions/Makefile.am +++ /dev/null @@ -1,2 +0,0 @@ -SUBDIRS = \ - goat-exercises diff --git a/extensions/goat-exercises/.gitignore b/extensions/goat-exercises/.gitignore deleted file mode 100644 index 652a035ca0..0000000000 --- a/extensions/goat-exercises/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/.deps -/.libs -/Makefile -/Makefile.in -/goat-exercise-c -/goat-exercise-c.exe -/goat-exercise-vala.c -/goat_exercise_vala_vala.stamp -/org.gimp.extension.goat-exercises.metainfo.xml.in diff --git a/extensions/goat-exercises/Makefile.am b/extensions/goat-exercises/Makefile.am deleted file mode 100644 index 6ffb07ee08..0000000000 --- a/extensions/goat-exercises/Makefile.am +++ /dev/null @@ -1,143 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if OS_WIN32 -mwindows = -mwindows -else -libm = -lm -endif - -if PLATFORM_OSX -xobjective_c = "-xobjective-c" -framework_cocoa = -framework Cocoa -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -goat_exercise_RC = goat-exercise.rc.o -endif - -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la $(libm) -libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la - -AM_LDFLAGS = $(mwindows) - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - - -# C version. - -goat_exercise_c_libexecdir = $(gimpplugindir)/extensions/org.gimp.extension.goat-exercises -goat_exercise_c_datadir = $(goat_exercise_c_libexecdir) - -goat_exercise_c_libexec_PROGRAMS = goat-exercise-c -goat_exercise_c_libexec_DATA = goat-exercise-c.c - -PLUG_INS = 'goat-exercise-c$(EXEEXT)' - -goat_exercise_c_SOURCES = \ - goat-exercise-c.c - -goat_exercise_c_LDADD = \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(CAIRO_LIBS) \ - $(GDK_PIXBUF_LIBS) \ - $(GEGL_LIBS) \ - $(GTK_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(goat_exercise_RC) - -# Javascript (GJS) version. - -if BUILD_JAVASCRIPT -goat_exercise_gjsdir = $(goat_exercise_c_libexecdir) -goat_exercise_gjs_SCRIPTS = goat-exercise-gjs.js -endif - -# Lua (lua-jit + LGI) version. - -if BUILD_LUA -goat_exercise_luadir = $(goat_exercise_c_libexecdir) -goat_exercise_lua_SCRIPTS = goat-exercise-lua.lua -endif - -# Python 3 (pygobject) version. - -if BUILD_PYTHON -goat_exercise_py3dir = $(goat_exercise_c_libexecdir) -goat_exercise_py3_SCRIPTS = goat-exercise-py3.py -endif - -# Vala (compiled to C) version - -if ENABLE_VAPIGEN - -goat_exercise_vala_libexecdir = $(goat_exercise_c_libexecdir) -goat_exercise_vala_datadir = $(goat_exercise_vala_libexecdir) - -goat_exercise_vala_libexec_PROGRAMS = goat-exercise-vala -goat_exercise_vala_libexec_DATA = goat-exercise-vala.vala - -goat_exercise_vala_SOURCES = goat-exercise-vala.vala -goat_exercise_vala_CFLAGS = -DGETTEXT_PACKAGE=\""$(GETTEXT_PACKAGE)"\" - -goat_exercise_vala_LDADD = \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(CAIRO_LIBS) \ - $(GDK_PIXBUF_LIBS) \ - $(GEGL_LIBS) \ - $(GTK_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(goat_exercise_RC) - -goat_exercise_vala_VALAFLAGS = \ - --vapidir=$(abs_top_builddir)/libgimp \ - --pkg gimp-@GIMP_API_VERSION@ \ - --pkg gimp-ui-@GIMP_API_VERSION@ \ - --disable-since-check - -endif - -appstream_in_files = \ - org.gimp.extension.goat-exercises.metainfo.xml.in - -appstream_files = $(appstream_in_files:.xml.in=.xml) - -appdatadir = $(goat_exercise_c_libexecdir) -appdata_DATA = $(appstream_files) - -org.gimp.extension.goat-exercises.metainfo.xml: org.gimp.extension.goat-exercises.metainfo.xml.in $(wildcard $(top_srcdir)/po-plug-ins/*.po) - $(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po-plug-ins -o $@ - -.PHONY: org.gimp.extension.goat-exercises.metainfo.xml - -EXTRA_DIST = \ - goat-exercise-gjs.js \ - goat-exercise-lua.lua \ - goat-exercise-py3.py \ - $(appstream_in_files) - -DISTCLEANFILES = $(appstream_files) diff --git a/icons/.gitignore b/icons/.gitignore deleted file mode 100644 index 58196eb229..0000000000 --- a/icons/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -Makefile -Makefile.in -gimp-core-pixbufs.gresource.xml -gimp-icon-pixbufs.gresource.xml diff --git a/icons/Color/Makefile.am b/icons/Color/Makefile.am deleted file mode 100644 index 487ad6b53d..0000000000 --- a/icons/Color/Makefile.am +++ /dev/null @@ -1,116 +0,0 @@ -## Process this file with automake to produce Makefile.in - -iconsdir = $(gimpdatadir)/icons/Color - -icons_DATA = \ - index.theme - -include $(top_srcdir)/icons/Color/icon-list.mk - -if ENABLE_VECTOR_ICONS -scalable_DATA = \ - $(scalable_images) -endif - -# Vector icons are now committed into the repository. -# librsvg is just too buggy to handle build-time extraction with -# acceptable quality. -#scalable/%.svg: color-scalable.svg ../../tools/compute-svg-viewbox -# mkdir -p scalable && \ -# SVG=`$(top_srcdir)/tools/extract-vector-icon.sh $< $*` && \ -# echo $${SVG} > $@ - -12/%.png: scalable/%.svg ../../tools/colorsvg2png - mkdir -p $(@D) && \ - $(top_builddir)/tools/colorsvg2png $< $@ $(@D) -16/%.png: scalable/%.svg ../../tools/colorsvg2png - mkdir -p $(@D) && \ - $(top_builddir)/tools/colorsvg2png $< $@ $(@D) -18/%.png: scalable/%.svg ../../tools/colorsvg2png - mkdir -p $(@D) && \ - $(top_builddir)/tools/colorsvg2png $< $@ $(@D) -22/%.png: scalable/%.svg ../../tools/colorsvg2png - mkdir -p $(@D) && \ - $(top_builddir)/tools/colorsvg2png $< $@ $(@D) -24/%.png: scalable/%.svg ../../tools/colorsvg2png - mkdir -p $(@D) && \ - $(top_builddir)/tools/colorsvg2png $< $@ $(@D) -32/%.png: scalable/%.svg ../../tools/colorsvg2png - mkdir -p $(@D) && \ - $(top_builddir)/tools/colorsvg2png $< $@ $(@D) -48/%.png: scalable/%.svg ../../tools/colorsvg2png - mkdir -p $(@D) && \ - $(top_builddir)/tools/colorsvg2png $< $@ $(@D) -64/%.png: scalable/%.svg ../../tools/colorsvg2png - mkdir -p $(@D) && \ - $(top_builddir)/tools/colorsvg2png $< $@ $(@D) -96/%.png: scalable/%.svg ../../tools/colorsvg2png - mkdir -p $(@D) && \ - $(top_builddir)/tools/colorsvg2png $< $@ $(@D) -128/%.png: scalable/%.svg ../../tools/colorsvg2png - mkdir -p $(@D) && \ - $(top_builddir)/tools/colorsvg2png $< $@ $(@D) -192/%.png: scalable/%.svg ../../tools/colorsvg2png - mkdir -p $(@D) && \ - $(top_builddir)/tools/colorsvg2png $< $@ $(@D) -256/%.png: scalable/%.svg ../../tools/colorsvg2png - mkdir -p $(@D) && \ - $(top_builddir)/tools/colorsvg2png $< $@ $(@D) - -## Compiled-in icons for both the core and libgimpwidgets - -CORE_IMAGES = \ - 64/dialog-question.png - -ICON_IMAGES = \ - 64/gimp-wilber-eek.png - -EXTRA_DIST = \ - $(icons_DATA) \ - 64/gimp-frame.png \ - 64/gimp-texture.png \ - $(scalable_images) \ - color-scalable.svg - -noinst_DATA = \ - gimp-core-pixbufs.gresource.xml \ - gimp-icon-pixbufs.gresource.xml - -if ENABLE_VECTOR_ICONS -noinst_DATA += $(CORE_IMAGES) $(ICON_IMAGES) -endif - -CLEANFILES = $(noinst_DATA) - -# This is basically the same rule as the catch all 64/%.png rule above, -# because somehow the native Windows build fail without it (no problem -# on cross-build for Windows or native Linux builds). When trying to -# build gimp-core-pixbufs.gresource.xml, we were getting an error -# because of "No rule to make target '64/dialog-question.png'". -# Interestingly, the problem doesn't happen for the other XML, but maybe -# it's because it's not needed from within icons/Makefile.am. -64/dialog-question.png: scalable/dialog-question.svg ../../tools/colorsvg2png - mkdir -p $(@D) && \ - $(top_builddir)/tools/colorsvg2png $< $@ $(@D) - -gimp-core-pixbufs.gresource.xml: $(CORE_IMAGES) Makefile.am - $(AM_V_GEN) ( rm -f $@; \ - echo '' > $@; \ - echo '' >> $@; \ - echo ' ' >> $@; \ - for image in $(CORE_IMAGES); do \ - echo " $$image" >> $@; \ - done; \ - echo ' ' >> $@; \ - echo '' >> $@ ) - -gimp-icon-pixbufs.gresource.xml: $(ICON_IMAGES) Makefile.am - $(AM_V_GEN) ( rm -f $@; \ - echo '' > $@; \ - echo '' >> $@; \ - echo ' ' >> $@; \ - for image in $(ICON_IMAGES); do \ - echo " $$image" >> $@; \ - done; \ - echo ' ' >> $@; \ - echo '' >> $@ ) diff --git a/icons/Legacy/Makefile.am b/icons/Legacy/Makefile.am deleted file mode 100644 index a16c12634a..0000000000 --- a/icons/Legacy/Makefile.am +++ /dev/null @@ -1,521 +0,0 @@ -## Process this file with automake to produce Makefile.in - -iconsdir = $(gimpdatadir)/icons/Legacy/ -icons12dir = $(gimpdatadir)/icons/Legacy/12x12/apps -icons16dir = $(gimpdatadir)/icons/Legacy/16x16/apps -icons18dir = $(gimpdatadir)/icons/Legacy/18x18/apps -icons20dir = $(gimpdatadir)/icons/Legacy/20x20/apps -icons22dir = $(gimpdatadir)/icons/Legacy/22x22/apps -# 22x22 tool icons will go in their own directory and we tell GTK+ -# that this directory contains icons for 24x24 requests. -# This is a special trick to let the theme override the default -# 24x24 size request. -tools22dir = $(gimpdatadir)/icons/Legacy/22x22/tools -icons24dir = $(gimpdatadir)/icons/Legacy/24x24/apps -icons32dir = $(gimpdatadir)/icons/Legacy/32x32/apps -icons48dir = $(gimpdatadir)/icons/Legacy/48x48/apps -icons64dir = $(gimpdatadir)/icons/Legacy/64x64/apps -icons96dir = $(gimpdatadir)/icons/Legacy/96x96/apps -icons128dir = $(gimpdatadir)/icons/Legacy/128x128/apps -icons192dir = $(gimpdatadir)/icons/Legacy/192x192/apps -icons256dir = $(gimpdatadir)/icons/Legacy/256x256/apps - -## The icon theme images - -icons_DATA = \ - index.theme - -icons12_DATA = \ - 12/gimp-close.png \ - 12/gimp-default-colors.png \ - 12/gimp-linked.png \ - 12/gimp-menu-left.png \ - 12/gimp-menu-right.png \ - 12/gimp-quick-mask-off.png \ - 12/gimp-quick-mask-on.png \ - 12/gimp-swap-colors.png \ - 12/gimp-visible.png \ - 12/gimp-zoom-follow-window.png - -icons16_DATA = \ - 16/dialog-information.png \ - 16/dialog-warning.png \ - 16/object-flip-horizontal.png \ - 16/object-flip-vertical.png \ - 16/object-rotate-left.png \ - 16/object-rotate-right.png \ - \ - 16/gtk-edit.png \ - \ - 16/gimp-anchor.png \ - 16/gimp-cap-butt.png \ - 16/gimp-cap-round.png \ - 16/gimp-cap-square.png \ - 16/gimp-center.png \ - 16/gimp-channel-alpha.png \ - 16/gimp-channel-blue.png \ - 16/gimp-channel-gray.png \ - 16/gimp-channel-green.png \ - 16/gimp-channel-indexed.png \ - 16/gimp-channel-red.png \ - 16/gimp-channel.png \ - 16/gimp-channels.png \ - 16/gimp-color-pick-from-screen.png \ - 16/gimp-color-triangle.png \ - 16/gimp-colormap.png \ - 16/gimp-controller-keyboard.png \ - 16/gimp-controller-linux-input.png \ - 16/gimp-controller-midi.png \ - 16/gimp-controller-wheel.png \ - 16/gimp-controller.png \ - 16/gimp-convert-grayscale.png \ - 16/gimp-convert-indexed.png \ - 16/gimp-convert-rgb.png \ - 16/gimp-cursor.png \ - 16/gimp-curve-free.png \ - 16/gimp-curve-smooth.png \ - 16/gimp-device-status.png \ - 16/gimp-display-filter-colorblind.png \ - 16/gimp-display-filter-contrast.png \ - 16/gimp-display-filter-gamma.png \ - 16/gimp-display-filter-lcms.png \ - 16/gimp-display-filter-proof.png \ - 16/gimp-display-filter.png \ - 16/gimp-duplicate.png \ - 16/gimp-dynamics.png \ - 16/gimp-floating-selection.png \ - 16/gimp-gegl.png \ - 16/gimp-gradient-bilinear.png \ - 16/gimp-gradient-conical-asymmetric.png \ - 16/gimp-gradient-conical-symmetric.png \ - 16/gimp-gradient-linear.png \ - 16/gimp-gradient-radial.png \ - 16/gimp-gradient-shapeburst-angular.png \ - 16/gimp-gradient-shapeburst-dimpled.png \ - 16/gimp-gradient-shapeburst-spherical.png \ - 16/gimp-gradient-spiral-anticlockwise.png \ - 16/gimp-gradient-spiral-clockwise.png \ - 16/gimp-gradient-square.png \ - 16/gimp-grid.png \ - 16/gimp-histogram-linear.png \ - 16/gimp-histogram-logarithmic.png \ - 16/gimp-histogram.png \ - 16/gimp-image.png \ - 16/gimp-images.png \ - 16/gimp-input-device.png \ - 16/gimp-invert.png \ - 16/gimp-join-bevel.png \ - 16/gimp-join-miter.png \ - 16/gimp-join-round.png \ - 16/gimp-landscape.png \ - 16/gimp-layer-mask.png \ - 16/gimp-layer-to-imagesize.png \ - 16/gimp-layer.png \ - 16/gimp-layers.png \ - 16/gimp-list.png \ - 16/gimp-merge-down.png \ - 16/gimp-move-to-screen.png \ - 16/gimp-navigation.png \ - 16/gimp-paste-as-new.png \ - 16/gimp-paste-into.png \ - 16/gimp-path-stroke.png \ - 16/gimp-path.png \ - 16/gimp-paths.png \ - 16/gimp-plugin.png \ - 16/gimp-portrait.png \ - 16/gimp-prefs-folders-brushes.png \ - 16/gimp-prefs-folders-dynamics.png \ - 16/gimp-prefs-folders-environ.png \ - 16/gimp-prefs-folders-fonts.png \ - 16/gimp-prefs-folders-gradients.png \ - 16/gimp-prefs-folders-icon-themes.png \ - 16/gimp-prefs-folders-interp.png \ - 16/gimp-prefs-folders-modules.png \ - 16/gimp-prefs-folders-palettes.png \ - 16/gimp-prefs-folders-patterns.png \ - 16/gimp-prefs-folders-plug-ins.png \ - 16/gimp-prefs-folders-scripts.png \ - 16/gimp-prefs-folders-themes.png \ - 16/gimp-prefs-folders-tool-plug-ins.png \ - 16/gimp-prefs-folders-tool-presets.png \ - 16/gimp-prefs-folders-tools.png \ - 16/gimp-prefs-image-windows.png \ - 16/gimp-prefs-interface.png \ - 16/gimp-prefs-theme.png \ - 16/gimp-prefs-icon-theme.png \ - 16/gimp-prefs-toolbox.png \ - 16/gimp-prefs-window-management.png \ - 16/gimp-print-resolution.png \ - 16/gimp-reset.png \ - 16/gimp-reshow-filter.png \ - 16/gimp-resize.png \ - 16/gimp-rotate-180.png \ - 16/gimp-sample-point.png \ - 16/gimp-scale.png \ - 16/gimp-selection-add.png \ - 16/gimp-selection-all.png \ - 16/gimp-selection-border.png \ - 16/gimp-selection-grow.png \ - 16/gimp-selection-intersect.png \ - 16/gimp-selection-none.png \ - 16/gimp-selection-replace.png \ - 16/gimp-selection-shrink.png \ - 16/gimp-selection-stroke.png \ - 16/gimp-selection-subtract.png \ - 16/gimp-selection-to-channel.png \ - 16/gimp-selection-to-path.png \ - 16/gimp-selection.png \ - 16/gimp-shape-circle.png \ - 16/gimp-shape-diamond.png \ - 16/gimp-shape-square.png \ - 16/gimp-template.png \ - 16/gimp-text-layer.png \ - 16/gimp-toilet-paper.png \ - 16/gimp-tool-airbrush.png \ - 16/gimp-tool-align.png \ - 16/gimp-tool-blur.png \ - 16/gimp-tool-brightness-contrast.png \ - 16/gimp-tool-bucket-fill.png \ - 16/gimp-tool-by-color-select.png \ - 16/gimp-tool-cage.png \ - 16/gimp-tool-clone.png \ - 16/gimp-tool-color-balance.png \ - 16/gimp-tool-color-picker.png \ - 16/gimp-tool-colorize.png \ - 16/gimp-tool-crop.png \ - 16/gimp-tool-curves.png \ - 16/gimp-tool-desaturate.png \ - 16/gimp-tool-dodge.png \ - 16/gimp-tool-ellipse-select.png \ - 16/gimp-tool-eraser.png \ - 16/gimp-tool-flip.png \ - 16/gimp-tool-foreground-select.png \ - 16/gimp-tool-free-select.png \ - 16/gimp-tool-fuzzy-select.png \ - 16/gimp-tool-gradient.png \ - 16/gimp-tool-handle-transform.png \ - 16/gimp-tool-heal.png \ - 16/gimp-tool-hue-saturation.png \ - 16/gimp-tool-ink.png \ - 16/gimp-tool-iscissors.png \ - 16/gimp-tool-levels.png \ - 16/gimp-tool-measure.png \ - 16/gimp-tool-move.png \ - 16/gimp-tool-mypaint-brush.png \ - 16/gimp-tool-n-point-deformation.png \ - 16/gimp-tool-options.png \ - 16/gimp-tool-paintbrush.png \ - 16/gimp-tool-path.png \ - 16/gimp-tool-pencil.png \ - 16/gimp-tool-perspective-clone.png \ - 16/gimp-tool-perspective.png \ - 16/gimp-tool-posterize.png \ - 16/gimp-tool-preset.png \ - 16/gimp-tool-rect-select.png \ - 16/gimp-tool-rotate.png \ - 16/gimp-tool-scale.png \ - 16/gimp-tool-seamless-clone.png \ - 16/gimp-tool-shear.png \ - 16/gimp-tool-smudge.png \ - 16/gimp-tool-text.png \ - 16/gimp-tool-threshold.png \ - 16/gimp-tool-unified-transform.png \ - 16/gimp-tool-warp.png \ - 16/gimp-tool-zoom.png \ - 16/gimp-tools.png \ - 16/gimp-transparency.png \ - 16/gimp-undo-history.png \ - 16/gimp-user-manual.png \ - 16/gimp-video.png \ - 16/gimp-web.png \ - 16/gimp-wilber.png - -icons18_DATA = \ - 18/gimp-color-picker-black.png \ - 18/gimp-color-picker-gray.png \ - 18/gimp-color-picker-white.png - -icons20_DATA = \ - 20/gimp-linked.png \ - 20/gimp-visible.png - -icons22_DATA = \ - 22/gimp-char-picker.png \ - 22/gimp-dynamics.png \ - 22/gimp-histogram.png \ - 22/gimp-input-device.png \ - 22/gimp-letter-spacing.png \ - 22/gimp-line-spacing.png \ - 22/gimp-path.png \ - 22/gimp-paths.png \ - 22/gimp-prefs-color-management.png \ - 22/gimp-prefs-controllers.png \ - 22/gimp-prefs-default-grid.png \ - 22/gimp-prefs-display.png \ - 22/gimp-prefs-folders-brushes.png \ - 22/gimp-prefs-folders-dynamics.png \ - 22/gimp-prefs-folders-environ.png \ - 22/gimp-prefs-folders-fonts.png \ - 22/gimp-prefs-folders-gradients.png \ - 22/gimp-prefs-folders-icon-themes.png \ - 22/gimp-prefs-folders-interp.png \ - 22/gimp-prefs-folders-modules.png \ - 22/gimp-prefs-folders-palettes.png \ - 22/gimp-prefs-folders-patterns.png \ - 22/gimp-prefs-folders-plug-ins.png \ - 22/gimp-prefs-folders-scripts.png \ - 22/gimp-prefs-folders-themes.png \ - 22/gimp-prefs-folders-tool-plug-ins.png \ - 22/gimp-prefs-folders-tool-presets.png \ - 22/gimp-prefs-folders-tools.png \ - 22/gimp-prefs-folders.png \ - 22/gimp-prefs-help-system.png \ - 22/gimp-prefs-image-title.png \ - 22/gimp-prefs-image-windows.png \ - 22/gimp-prefs-input-devices.png \ - 22/gimp-prefs-interface.png \ - 22/gimp-prefs-new-image.png \ - 22/gimp-prefs-playground.png \ - 22/gimp-prefs-session.png \ - 22/gimp-prefs-system-resources.png \ - 22/gimp-prefs-theme.png \ - 22/gimp-prefs-icon-theme.png \ - 22/gimp-prefs-tool-options.png \ - 22/gimp-prefs-toolbox.png \ - 22/gimp-prefs-window-management.png \ - 22/gimp-tool-preset.png \ - 22/gimp-wilber.png - -tools22_DATA = \ - 22/gimp-gegl.png \ - 22/gimp-tool-airbrush.png \ - 22/gimp-tool-align.png \ - 22/gimp-tool-blur.png \ - 22/gimp-tool-brightness-contrast.png \ - 22/gimp-tool-bucket-fill.png \ - 22/gimp-tool-by-color-select.png \ - 22/gimp-tool-cage.png \ - 22/gimp-tool-clone.png \ - 22/gimp-tool-color-balance.png \ - 22/gimp-tool-color-picker.png \ - 22/gimp-tool-colorize.png \ - 22/gimp-tool-crop.png \ - 22/gimp-tool-curves.png \ - 22/gimp-tool-desaturate.png \ - 22/gimp-tool-dodge.png \ - 22/gimp-tool-ellipse-select.png \ - 22/gimp-tool-eraser.png \ - 22/gimp-tool-flip.png \ - 22/gimp-tool-foreground-select.png \ - 22/gimp-tool-free-select.png \ - 22/gimp-tool-fuzzy-select.png \ - 22/gimp-tool-gradient.png \ - 22/gimp-tool-handle-transform.png \ - 22/gimp-tool-heal.png \ - 22/gimp-tool-hue-saturation.png \ - 22/gimp-tool-ink.png \ - 22/gimp-tool-iscissors.png \ - 22/gimp-tool-levels.png \ - 22/gimp-tool-measure.png \ - 22/gimp-tool-move.png \ - 22/gimp-tool-mypaint-brush.png \ - 22/gimp-tool-n-point-deformation.png \ - 22/gimp-tool-paintbrush.png \ - 22/gimp-tool-path.png \ - 22/gimp-tool-pencil.png \ - 22/gimp-tool-perspective-clone.png \ - 22/gimp-tool-perspective.png \ - 22/gimp-tool-posterize.png \ - 22/gimp-tool-rect-select.png \ - 22/gimp-tool-rotate.png \ - 22/gimp-tool-scale.png \ - 22/gimp-tool-seamless-clone.png \ - 22/gimp-tool-shear.png \ - 22/gimp-tool-smudge.png \ - 22/gimp-tool-text.png \ - 22/gimp-tool-threshold.png \ - 22/gimp-tool-unified-transform.png \ - 22/gimp-tool-warp.png \ - 22/gimp-tool-zoom.png - -icons24_DATA = \ - 24/dialog-information.png \ - 24/dialog-warning.png \ - 24/format-text-direction-ltr.png \ - 24/format-text-direction-rtl.png \ - \ - 24/gimp-center.png \ - 24/gimp-channel-alpha.png \ - 24/gimp-channel-blue.png \ - 24/gimp-channel-gray.png \ - 24/gimp-channel-green.png \ - 24/gimp-channel-indexed.png \ - 24/gimp-channel-red.png \ - 24/gimp-channel.png \ - 24/gimp-channels.png \ - 24/gimp-colormap.png \ - 24/gimp-controller-keyboard.png \ - 24/gimp-controller-linux-input.png \ - 24/gimp-controller-midi.png \ - 24/gimp-controller-wheel.png \ - 24/gimp-controller.png \ - 24/gimp-cursor.png \ - 24/gimp-device-status.png \ - 24/gimp-display-filter-colorblind.png \ - 24/gimp-display-filter-contrast.png \ - 24/gimp-display-filter-gamma.png \ - 24/gimp-display-filter-lcms.png \ - 24/gimp-display-filter-proof.png \ - 24/gimp-display-filter.png \ - 24/gimp-floating-selection.png \ - 24/gimp-gravity-east.png \ - 24/gimp-gravity-north-east.png \ - 24/gimp-gravity-north-west.png \ - 24/gimp-gravity-north.png \ - 24/gimp-gravity-south-east.png \ - 24/gimp-gravity-south-west.png \ - 24/gimp-gravity-south.png \ - 24/gimp-gravity-west.png \ - 24/gimp-hcenter.png \ - 24/gimp-hchain-broken.png \ - 24/gimp-hchain.png \ - 24/gimp-hfill.png \ - 24/gimp-image.png \ - 24/gimp-images.png \ - 24/gimp-layer-mask.png \ - 24/gimp-layer.png \ - 24/gimp-layers.png \ - 24/gimp-move-to-screen.png \ - 24/gimp-print-resolution.png \ - 24/gimp-sample-point.png \ - 24/gimp-template.png \ - 24/gimp-text-dir-ttb-rtl.png \ - 24/gimp-text-dir-ttb-rtl-upright.png \ - 24/gimp-text-dir-ttb-ltr.png \ - 24/gimp-text-dir-ttb-ltr-upright.png \ - 24/gimp-text-layer.png \ - 24/gimp-toilet-paper.png \ - 24/gimp-tool-options.png \ - 24/gimp-tools.png \ - 24/gimp-transparency.png \ - 24/gimp-undo-history.png \ - 24/gimp-user-manual.png \ - 24/gimp-vcenter.png \ - 24/gimp-vchain-broken.png \ - 24/gimp-vchain.png \ - 24/gimp-vfill.png \ - 24/gimp-video.png \ - 24/gimp-web.png - -icons32_DATA = \ - 32/gimp-channel-alpha.png \ - 32/gimp-channel-blue.png \ - 32/gimp-channel-gray.png \ - 32/gimp-channel-green.png \ - 32/gimp-channel-indexed.png \ - 32/gimp-channel-red.png \ - 32/gimp-channel.png \ - 32/gimp-floating-selection.png \ - 32/gimp-image.png \ - 32/gimp-layer-mask.png \ - 32/gimp-layer.png \ - 32/gimp-text-layer.png \ - 32/gimp-user-manual.png \ - 32/gimp-wilber.png - -icons48_DATA = \ - 48/gimp-channel-alpha.png \ - 48/gimp-channel-blue.png \ - 48/gimp-channel-gray.png \ - 48/gimp-channel-green.png \ - 48/gimp-channel-indexed.png \ - 48/gimp-channel-red.png \ - 48/gimp-channel.png \ - 48/gimp-floating-selection.png \ - 48/gimp-image.png \ - 48/gimp-layer-mask.png \ - 48/gimp-layer.png \ - 48/gimp-prefs-color-management.png \ - 48/gimp-prefs-controllers.png \ - 48/gimp-prefs-default-comment.png \ - 48/gimp-prefs-default-grid.png \ - 48/gimp-prefs-display.png \ - 48/gimp-prefs-folders-brushes.png \ - 48/gimp-prefs-folders-dynamics.png \ - 48/gimp-prefs-folders-environ.png \ - 48/gimp-prefs-folders-fonts.png \ - 48/gimp-prefs-folders-gradients.png \ - 48/gimp-prefs-folders-icon-themes.png \ - 48/gimp-prefs-folders-interp.png \ - 48/gimp-prefs-folders-modules.png \ - 48/gimp-prefs-folders-palettes.png \ - 48/gimp-prefs-folders-patterns.png \ - 48/gimp-prefs-folders-plug-ins.png \ - 48/gimp-prefs-folders-scripts.png \ - 48/gimp-prefs-folders-themes.png \ - 48/gimp-prefs-folders-tool-plug-ins.png \ - 48/gimp-prefs-folders-tool-presets.png \ - 48/gimp-prefs-folders-tools.png \ - 48/gimp-prefs-folders.png \ - 48/gimp-prefs-help-system.png \ - 48/gimp-prefs-icon-theme.png \ - 48/gimp-prefs-image-title.png \ - 48/gimp-prefs-image-windows.png \ - 48/gimp-prefs-input-devices.png \ - 48/gimp-prefs-interface.png \ - 48/gimp-prefs-new-image.png \ - 48/gimp-prefs-playground.png \ - 48/gimp-prefs-session.png \ - 48/gimp-prefs-system-resources.png \ - 48/gimp-prefs-theme.png \ - 48/gimp-prefs-tool-options.png \ - 48/gimp-prefs-toolbox.png \ - 48/gimp-prefs-window-management.png \ - 48/gimp-text-layer.png \ - 48/gimp-wilber.png - -icons64_DATA = \ - 64/dialog-error.png \ - 64/dialog-information.png \ - 64/dialog-question.png \ - 64/dialog-warning.png \ - \ - 64/gimp-frame.png \ - 64/gimp-texture.png \ - 64/gimp-user-manual.png \ - 64/gimp-wilber-eek.png \ - 64/gimp-wilber.png \ - 64/gimp-wilber-outline.png - -icons96_DATA = \ - 96/gimp-wilber.png \ - 96/gimp-wilber-outline.png - -icons128_DATA = \ - 128/gimp-wilber.png \ - 128/gimp-wilber-outline.png - -icons192_DATA = \ - 192/gimp-wilber.png \ - 192/gimp-wilber-outline.png - -icons256_DATA = \ - 256/gimp-wilber.png \ - 256/gimp-wilber-outline.png - -EXTRA_DIST = \ - $(icons_DATA) \ - $(icons12_DATA) \ - $(icons16_DATA) \ - $(icons18_DATA) \ - $(icons20_DATA) \ - $(icons22_DATA) \ - $(icons24_DATA) \ - $(icons32_DATA) \ - $(icons48_DATA) \ - $(icons64_DATA) \ - $(icons96_DATA) \ - $(icons128_DATA) \ - $(icons192_DATA) \ - $(icons256_DATA) \ - $(tools22_DATA) diff --git a/icons/Makefile.am b/icons/Makefile.am deleted file mode 100644 index 1c7291e555..0000000000 --- a/icons/Makefile.am +++ /dev/null @@ -1,5 +0,0 @@ -SUBDIRS = \ - Color \ - Legacy \ - Symbolic \ - hicolor diff --git a/icons/Symbolic/Makefile.am b/icons/Symbolic/Makefile.am deleted file mode 100644 index 9de7015cdd..0000000000 --- a/icons/Symbolic/Makefile.am +++ /dev/null @@ -1,73 +0,0 @@ -## Process this file with automake to produce Makefile.in - -iconsdir = $(gimpdatadir)/icons/Symbolic - -icons_DATA = \ - index.theme - -## The icon theme images are listed in a separate file to ensure all -## official icon themes have the same list. -include $(top_srcdir)/icons/Symbolic/icon-list.mk - -if ENABLE_VECTOR_ICONS -scalable_DATA = \ - $(scalable_images) -endif - -# Vector icons are now committed into the repository. -# librsvg is just too buggy to handle build-time extraction with -# acceptable quality. -#scalable/%.svg: symbolic-scalable.svg ../../tools/compute-svg-viewbox -# mkdir -p scalable && \ -# SVG=`$(top_srcdir)/tools/extract-vector-icon.sh $< $*` && \ -# echo $${SVG} > $@ - -# I wanted to make them in a single rule (since the dependency and the -# recipe are the same) but somehow it doesn't create all the images (in -# particular it creates only one size, when a single image is available -# in various sizes). If someone finds how to factorize these rules into -# one, be my guest! -12/%.symbolic.png: scalable/%.svg - mkdir -p $(@D) && \ - $(GTK_ENCODE_SYMBOLIC_SVG) -o $(@D) $< $(@D)x$(@D) -16/%.symbolic.png: scalable/%.svg - mkdir -p $(@D) && \ - $(GTK_ENCODE_SYMBOLIC_SVG) -o $(@D) $< $(@D)x$(@D) -18/%.symbolic.png: scalable/%.svg - mkdir -p $(@D) && \ - $(GTK_ENCODE_SYMBOLIC_SVG) -o $(@D) $< $(@D)x$(@D) -22/%.symbolic.png: scalable/%.svg - mkdir -p $(@D) && \ - $(GTK_ENCODE_SYMBOLIC_SVG) -o $(@D) $< $(@D)x$(@D) -24/%.symbolic.png: scalable/%.svg - mkdir -p $(@D) && \ - $(GTK_ENCODE_SYMBOLIC_SVG) -o $(@D) $< $(@D)x$(@D) -32/%.symbolic.png: scalable/%.svg - mkdir -p $(@D) && \ - $(GTK_ENCODE_SYMBOLIC_SVG) -o $(@D) $< $(@D)x$(@D) -48/%.symbolic.png: scalable/%.svg - mkdir -p $(@D) && \ - $(GTK_ENCODE_SYMBOLIC_SVG) -o $(@D) $< $(@D)x$(@D) -64/%.symbolic.png: scalable/%.svg - mkdir -p $(@D) && \ - $(GTK_ENCODE_SYMBOLIC_SVG) -o $(@D) $< $(@D)x$(@D) -96/%.symbolic.png: scalable/%.svg - mkdir -p $(@D) && \ - $(GTK_ENCODE_SYMBOLIC_SVG) -o $(@D) $< $(@D)x$(@D) -128/%.symbolic.png: scalable/%.svg - mkdir -p $(@D) && \ - $(GTK_ENCODE_SYMBOLIC_SVG) -o $(@D) $< $(@D)x$(@D) -192/%.symbolic.png: scalable/%.svg - mkdir -p $(@D) && \ - $(GTK_ENCODE_SYMBOLIC_SVG) -o $(@D) $< $(@D)x$(@D) -256/%.symbolic.png: scalable/%.svg - mkdir -p $(@D) && \ - $(GTK_ENCODE_SYMBOLIC_SVG) -o $(@D) $< $(@D)x$(@D) - - -EXTRA_DIST = \ - $(icons_DATA) \ - 64/gimp-frame.png \ - 64/gimp-texture.png \ - $(scalable_images) \ - symbolic-scalable.svg diff --git a/icons/hicolor/Makefile.am b/icons/hicolor/Makefile.am deleted file mode 100644 index d9275f1b66..0000000000 --- a/icons/hicolor/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -iconsdir = $(gimpdatadir)/icons/hicolor -icons_DATA = \ - index.theme - -actionsdir = $(iconsdir)/scalable/actions -actions_DATA = \ - scalable/actions/switch-on-symbolic.svg \ - scalable/actions/switch-off-symbolic.svg - -statusdir = $(iconsdir)/scalable/status -status_DATA = \ - scalable/status/software-update-available-symbolic.svg - -EXTRA_DIST = \ - $(icons_DATA) \ - $(actions_DATA) \ - $(status_DATA) diff --git a/libgimp/.gitignore b/libgimp/.gitignore deleted file mode 100644 index 44654f90d3..0000000000 --- a/libgimp/.gitignore +++ /dev/null @@ -1,16 +0,0 @@ -/Makefile -/Makefile.in -/makefile.mingw -/.dirstamp -/*.lo -/_libs -/.libs -/.deps -/*.la -/gimpenums.c -/gimpuimarshal.h -/gimpuimarshal.c -/Gimp-3.0.* -/GimpUi-3.0.* -/gimp-3.* -/gimp-ui-3.* diff --git a/libgimp/Makefile.am b/libgimp/Makefile.am deleted file mode 100644 index bf76707b28..0000000000 --- a/libgimp/Makefile.am +++ /dev/null @@ -1,475 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = ./libgimp-$(GIMP_API_VERSION).la - -if PLATFORM_WIN32 -no_undefined = -no-undefined -endif - -if PLATFORM_OSX -xobjective_c = "-xobjective-c" -xobjective_cxx = "-xobjective-c++" -xnone = "-xnone" -framework_cocoa = -framework Cocoa -endif - -if OS_WIN32 -if HAVE_EXCHNDL -exchndl = -lexchndl -endif - -gimp_def = gimp.def -gimpui_def = gimpui.def -libgimp_export_symbols = -export-symbols $(srcdir)/gimp.def -libgimpui_export_symbols = -export-symbols $(srcdir)/gimpui.def - -install-libtool-import-lib: - $(INSTALL) .libs/libgimp-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir) - $(INSTALL) .libs/libgimpui-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir) - $(INSTALL) $(srcdir)/gimp.def $(DESTDIR)$(libdir) - $(INSTALL) $(srcdir)/gimpui.def $(DESTDIR)$(libdir) - -uninstall-libtool-import-lib: - -rm $(DESTDIR)$(libdir)/libgimp-$(GIMP_API_VERSION).dll.a - -rm $(DESTDIR)$(libdir)/libgimpui-$(GIMP_API_VERSION).dll.a - -rm $(DESTDIR)$(libdir)/gimp.def - -rm $(DESTDIR)$(libdir)/gimpui.def -else -install-libtool-import-lib: -uninstall-libtool-import-lib: -endif - -if MS_LIB_AVAILABLE -noinst_DATA = gimp-$(GIMP_API_VERSION).lib gimpui-$(GIMP_API_VERSION).lib - -install-ms-lib: - $(INSTALL) gimp-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir) - $(INSTALL) gimpui-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir) - -uninstall-ms-lib: - -rm $(DESTDIR)$(libdir)/gimp-$(GIMP_API_VERSION).lib - -rm $(DESTDIR)$(libdir)/gimpui-$(GIMP_API_VERSION).lib - -gimp-@GIMP_API_VERSION@.lib: gimp.def - lib -name:libgimp-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gimp.def -out:$@ - -gimpui-@GIMP_API_VERSION@.lib: gimpui.def - lib -name:libgimpui-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gimpui.def -out:$@ - -else -install-ms-lib: -uninstall-ms-lib: -endif - -gimpincludedir = $(includedir)/gimp-$(GIMP_API_VERSION)/libgimp - -AM_CPPFLAGS = \ - -DGIMPDIR=\""$(gimpdir)"\" \ - -DGIMP_USER_VERSION=\"$(GIMP_USER_VERSION)\" \ - -DG_LOG_DOMAIN=\"LibGimp\" \ - -DGIMP_COMPILATION \ - -I$(top_srcdir) \ - -I$(top_builddir)/pdb \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GEXIV2_CFLAGS) \ - -I$(includedir) - -AM_CFLAGS = \ - $(xobjective_c) - -AM_CXXFLAGS = \ - $(xobjective_cxx) - -AM_LDFLAGS = \ - $(xnone) - -lib_LTLIBRARIES = libgimp-@GIMP_API_VERSION@.la libgimpui-@GIMP_API_VERSION@.la - -# Add all sources which are introspectable in this file for reuse. -AUTOMAKE_OPTIONS = subdir-objects -include $(top_srcdir)/libgimp/Makefile.gi - -libgimp_sources = \ - $(libgimp_introspectable) \ - gimpprocedure-params.h \ - gimptilebackendplugin.c \ - gimptilebackendplugin.h \ - gimpunitcache.c \ - gimpunitcache.h \ - stdplugins-intl.h \ - libgimp-intl.h - -libgimp_private_sources = \ - gimp-debug.c \ - gimp-debug.h \ - gimp-private.h \ - gimp-shm.c \ - gimp-shm.h \ - gimpgpparams.c \ - gimpgpparams.h \ - gimpparamspecs-desc.c \ - gimpparamspecs-desc.h \ - gimppdb-private.h \ - gimppdbprocedure.c \ - gimppdbprocedure.h \ - gimppixbuf.c \ - gimppixbuf.h \ - gimpplugin-private.h \ - gimpprocedure-private.h \ - gimpprocedureconfig-private.h \ - \ - gimpunit_pdb.c \ - gimpunit_pdb.h \ - gimppdb_pdb.c \ - gimppdb_pdb.h \ - gimpplugin_pdb.c \ - gimpplugin_pdb.h - -libgimp_extra_sources = \ - gimpenums.c.tail \ - gimpgpparams-body.c \ - gimpparamspecs-body.c \ - gimpparamspecs-body-resource.c - -libgimp_@GIMP_API_VERSION@_la_SOURCES = \ - $(libgimp_private_sources) \ - $(libgimp_sources) - -libgimpui_sources = \ - $(libgimpui_introspectable) - -libgimpui_built_sources = \ - gimpuimarshal.c \ - gimpuimarshal.h \ - gimppropchooser-private.c \ - gimppropchooser-private.h - -libgimpui_extra_sources = gimpuimarshal.list - -libgimpui_@GIMP_API_VERSION@_la_SOURCES = \ - $(libgimpui_built_sources) \ - $(libgimpui_sources) - -gimpinclude_HEADERS = \ - $(libgimp_introspectable_headers) \ - gimpprocedure-params.h \ - $(libgimpui_introspectable_headers) - -libgimp_@GIMP_API_VERSION@_la_LDFLAGS = \ - -version-info $(LT_VERSION_INFO) \ - $(no_undefined) \ - $(libgimp_export_symbols) \ - $(framework_cocoa) \ - $(xnone) - -EXTRA_libgimp_@GIMP_API_VERSION@_la_DEPENDENCIES = $(gimp_def) - -libgimp_@GIMP_API_VERSION@_la_LIBADD = \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(exchndl) \ - $(CAIRO_LIBS) \ - $(GEGL_LIBS) \ - $(GEXIV2_LIBS) \ - $(GDK_PIXBUF_LIBS) \ - $(RT_LIBS) - -libgimpui_@GIMP_API_VERSION@_la_LDFLAGS = \ - -version-info $(LT_VERSION_INFO) \ - $(no_undefined) \ - $(libgimpui_export_symbols) \ - $(framework_cocoa) \ - $(xnone) - -EXTRA_libgimpui_@GIMP_API_VERSION@_la_DEPENDENCIES = $(gimpui_def) - -libgimpui_@GIMP_API_VERSION@_la_LIBADD = \ - $(libgimp) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(libgimpmodule) \ - $(libgimpwidgets) \ - $(GEGL_LIBS) \ - $(GTK_LIBS) \ - $(GEXIV2_LIBS) \ - $(RT_LIBS) - -BUILT_SOURCES = \ - $(libgimp_built_sources) \ - $(libgimpui_built_sources) - -EXTRA_DIST = \ - COPYING \ - gimp.def \ - gimpui.def \ - $(libgimp_extra_sources) \ - $(libgimpui_extra_sources) - -install-data-local: install-ms-lib install-libtool-import-lib - -uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib - -# -# rules to generate built sources -# -# setup autogeneration dependencies -gen_sources = xgen-cec xgen-umh xgen-umc -CLEANFILES = $(gen_sources) - -gimpenums.c: $(srcdir)/gimpenums.h $(srcdir)/gimpenums.c.tail $(GIMP_MKENUMS) Makefile.am - $(AM_V_GEN) $(GIMP_MKENUMS) \ - --fhead "#include \"config.h\"\n#include \n#include \n#undef GIMP_DISABLE_DEPRECATED\n#include \"libgimpbase/gimpbase.h\"\n#include \"libgimpbase/gimpbase-private.h\"\n#include \"libgimpconfig/gimpconfigenums.h\"\n#include \"gimpenums.h\"" \ - --fprod "\n/* enumerations from \"@filename@\" */" \ - --vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n" \ - --dhead " static const Gimp@Type@Desc descs[] =\n {" \ - --dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ },@if ('@valueabbrev@' ne 'NULL')@\n /* Translators: this is an abbreviated version of @valueudesc@.\n Keep it short. */\n { @VALUENAME@, @valueabbrev@, NULL },@endif@" \ - --dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_domain (type, GETTEXT_PACKAGE \"-libgimp\");\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \ - $< > xgen-cec \ - && cat $(srcdir)/gimpenums.c.tail >> xgen-cec \ - && cp xgen-cec $(@F) \ - && rm -f xgen-cec - -gimpuimarshal.h: $(srcdir)/gimpuimarshal.list - $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_gimpui_marshal $(srcdir)/gimpuimarshal.list --header >> xgen-umh \ - && (cmp -s xgen-umh $(@F) || cp xgen-umh $(@F)) \ - && rm -f xgen-umh xgen-umh~ - -gimpuimarshal.c: gimpuimarshal.h - $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_gimpui_marshal $(srcdir)/gimpuimarshal.list --prototypes --body >> xgen-umc \ - && cp xgen-umc $(@F) \ - && rm -f xgen-umc xgen-umc~ - -### GObject introspection - -if HAVE_INTROSPECTION - --include $(INTROSPECTION_MAKEFILE) -include ../libgimpbase/Makefile.gi -include ../libgimpcolor/Makefile.gi -include ../libgimpconfig/Makefile.gi -include ../libgimpmath/Makefile.gi -include ../libgimpmodule/Makefile.gi -include ../libgimpthumb/Makefile.gi -include ../libgimpwidgets/Makefile.gi - -INTROSPECTION_GIRS = Gimp-@GIMP_API_VERSION@.gir GimpUi-@GIMP_API_VERSION@.gir - -INTROSPECTION_SCANNER_ARGS = \ - --warn-all \ - --add-include-path="$(srcdir)" \ - --add-include-path="$(shell $(PKG_CONFIG) --define-variable=datadir="$(datadir)" --variable=girdir gobject-introspection-1.0)" - -INTROSPECTION_COMPILER_ARGS = \ - --includedir="$(srcdir)" \ - --includedir="$(shell $(PKG_CONFIG) --define-variable=datadir="$(datadir)" --variable=girdir gobject-introspection-1.0)" - -INTROSPECTION_SCANNER_ENV = CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" CXXFLAGS="$(CXXFLAGS)" - -### First GIR: Gimp -Gimp-@GIMP_API_VERSION@.gir: \ - libgimp-@GIMP_API_VERSION@.la \ - libgimpui-@GIMP_API_VERSION@.la \ - ../libgimpbase/libgimpbase-@GIMP_API_VERSION@.la \ - ../libgimpcolor/libgimpcolor-@GIMP_API_VERSION@.la \ - ../libgimpconfig/libgimpconfig-@GIMP_API_VERSION@.la \ - ../libgimpmath/libgimpmath-@GIMP_API_VERSION@.la \ - ../libgimpmodule/libgimpmodule-@GIMP_API_VERSION@.la \ - ../libgimpthumb/libgimpthumb-@GIMP_API_VERSION@.la \ - ../libgimpwidgets/libgimpwidgets-@GIMP_API_VERSION@.la \ - Makefile - -Gimp_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_gir_EXPORT_PACKAGES = gimp-@GIMP_API_VERSION@ - -# The various other GObject-Introspected libraries our API references -# (i.e. types used in parameters or returned values). -Gimp_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_gir_INCLUDES = \ - Babl-0.1 \ - cairo-1.0 \ - GdkPixbuf-2.0 \ - Gegl-0.4 \ - Gio-2.0 \ - GLib-2.0 \ - GObject-2.0 \ - Gtk-3.0 - -Gimp_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_gir_CFLAGS = \ - -DGIMP_COMPILATION \ - -DGIMP_BASE_COMPILATION \ - -DGIMP_COLOR_COMPILATION \ - -DGIMP_CONFIG_COMPILATION \ - -DGIMP_MATH_COMPILATION \ - -DGIMP_MODULE_COMPILATION \ - -DGIMP_THUMB_COMPILATION \ - -DGIMP_WIDGETS_COMPILATION \ - $(AM_CFLAGS) \ - $(AM_CPPFLAGS) \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - $(CAIRO_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - $(BABL_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GTK_CFLAGS) - -Gimp_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_gir_LIBS = \ - ../libgimp/libgimp-@GIMP_API_VERSION@.la \ - ../libgimpbase/libgimpbase-@GIMP_API_VERSION@.la \ - ../libgimpcolor/libgimpcolor-@GIMP_API_VERSION@.la \ - ../libgimpconfig/libgimpconfig-@GIMP_API_VERSION@.la \ - ../libgimpmath/libgimpmath-@GIMP_API_VERSION@.la \ - ../libgimpmodule/libgimpmodule-@GIMP_API_VERSION@.la - -Gimp_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_gir_FILES = \ - $(libgimp_introspectable) \ - ../libgimp/gimpparamspecs-body.c \ - ../libgimp/gimpparamspecs-body-resource.c \ - $(libgimpbase_introspectable) \ - $(libgimpcolor_introspectable) \ - $(libgimpconfig_introspectable) \ - $(libgimpmath_introspectable) \ - $(libgimpmodule_introspectable) - -Gimp_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_gir_SCANNERFLAGS = \ - --identifier-prefix Gimp \ - --symbol-prefix gimp \ - --c-include="libgimp/gimp.h" - -### Second GIR: GimpUi -GimpUi-@GIMP_API_VERSION@.gir: \ - Gimp-@GIMP_API_VERSION@.gir \ - libgimpui-@GIMP_API_VERSION@.la \ - ../libgimpwidgets/libgimpwidgets-@GIMP_API_VERSION@.la \ - Makefile - -GimpUi_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_gir_EXPORT_PACKAGES = gimp-ui-@GIMP_API_VERSION@ - -# The various other GObject-Introspected libraries our API references -# (i.e. types used in parameters or returned values). -GimpUi_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_gir_INCLUDES = \ - Babl-0.1 \ - cairo-1.0 \ - GdkPixbuf-2.0 \ - Gegl-0.4 \ - Gio-2.0 \ - GLib-2.0 \ - GObject-2.0 \ - Gtk-3.0 - -GimpUi_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_gir_CFLAGS = \ - -DGIMP_COMPILATION \ - -DGIMP_BASE_COMPILATION \ - -DGIMP_COLOR_COMPILATION \ - -DGIMP_CONFIG_COMPILATION \ - -DGIMP_MATH_COMPILATION \ - -DGIMP_MODULE_COMPILATION \ - -DGIMP_THUMB_COMPILATION \ - -DGIMP_WIDGETS_COMPILATION \ - $(AM_CFLAGS) \ - $(AM_CPPFLAGS) \ - -I$(top_builddir) \ - -I$(top_srcdir) \ - $(CAIRO_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - $(BABL_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GTK_CFLAGS) - -GimpUi_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_gir_LIBS = \ - ../libgimp/libgimpui-@GIMP_API_VERSION@.la \ - ../libgimp/libgimp-@GIMP_API_VERSION@.la \ - ../libgimpwidgets/libgimpwidgets-@GIMP_API_VERSION@.la - -GimpUi_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_gir_FILES = \ - $(libgimpui_introspectable) \ - $(libgimpwidgets_introspectable) - -GimpUi_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_gir_SCANNERFLAGS = \ - --identifier-prefix Gimp \ - --symbol-prefix=gimp_ui \ - --symbol-prefix=gimp \ - --include-uninstalled=Gimp-@GIMP_API_VERSION@.gir \ - --c-include="libgimp/gimpui.h" - - -girdir = $(datadir)/gir-1.0 -gir_DATA = $(INTROSPECTION_GIRS) - -typelibdir = $(libdir)/girepository-1.0 -typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib) - -CLEANFILES += $(gir_DATA) $(typelib_DATA) - - -if ENABLE_VAPIGEN - --include $(VAPIGEN_MAKEFILE) - -gimp-@GIMP_API_VERSION@.vapi: Gimp-@GIMP_API_VERSION@.gir gimp-@GIMP_API_VERSION@.deps -gimp-ui-@GIMP_API_VERSION@.vapi: GimpUi-@GIMP_API_VERSION@.gir GimpUi-@GIMP_API_VERSION@.metadata gimp-ui-@GIMP_API_VERSION@.deps gimp-@GIMP_API_VERSION@.vapi - -VAPIGEN_VAPIS = gimp-@GIMP_API_VERSION@.vapi gimp-ui-@GIMP_API_VERSION@.vapi - -# gimp VAPI -gimp_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_vapi_DEPS = \ - babl-@BABL_MAJOR_MINOR_VERSION@ \ - cairo \ - gdk-pixbuf-2.0 \ - gegl-@GEGL_MAJOR_MINOR_VERSION@ \ - glib-2.0 \ - gio-2.0 \ - gtk+-3.0 -gimp_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_vapi_GIRDIRS = $(builddir) -gimp_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_vapi_METADATADIRS = $(srcdir) -gimp_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_vapi_VAPIDIRS = $(builddir) -gimp_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_vapi_FILES = Gimp-@GIMP_API_VERSION@.gir - -gimp-$(GIMP_API_VERSION).deps: Makefile.am - $(AM_V_GEN) for pkg in $(gimp_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_vapi_DEPS); do \ - echo $$pkg >> $@; \ - done - -# gimp-ui VAPI -gimp_ui_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_vapi_DEPS = \ - babl-@BABL_MAJOR_MINOR_VERSION@ \ - cairo \ - gdk-pixbuf-2.0 \ - gegl-@GEGL_MAJOR_MINOR_VERSION@ \ - glib-2.0 \ - gio-2.0 \ - gtk+-3.0 \ - gimp-@GIMP_API_VERSION@ - -gimp_ui_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_vapi_GIRDIRS = $(builddir) -gimp_ui_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_vapi_METADATADIRS = $(srcdir) -gimp_ui_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_vapi_VAPIDIRS = $(builddir) -gimp_ui_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_vapi_FILES = GimpUi-@GIMP_API_VERSION@.gir - -gimp-ui-$(GIMP_API_VERSION).deps: Makefile.am - $(AM_V_GEN) for pkg in $(gimp_ui_@GIMP_API_MAJOR_VERSION@_@GIMP_API_MINOR_VERSION@_vapi_DEPS); do \ - echo $$pkg >> $@; \ - done - -vapidir = $(datadir)/vala/vapi -vapi_DATA = \ - gimp-@GIMP_API_VERSION@.vapi \ - gimp-@GIMP_API_VERSION@.deps \ - gimp-ui-@GIMP_API_VERSION@.vapi \ - gimp-ui-@GIMP_API_VERSION@.deps - -CLEANFILES += $(vapi_DATA) - -EXTRA_DIST += \ - GimpUi-@GIMP_API_VERSION@.metadata - -endif # ENABLE_VAPIGEN -endif # HAVE_INTROSPECTION diff --git a/libgimpbase/.gitignore b/libgimpbase/.gitignore deleted file mode 100644 index 60ac671f71..0000000000 --- a/libgimpbase/.gitignore +++ /dev/null @@ -1,17 +0,0 @@ -/Makefile -/Makefile.in -/makefile.mingw -/.dirstamp -/*.lo -/_libs -/.libs -/.deps -/*.la -/gimpversion.h -/*.lib -/*.exp -/test-cpu-accel -/*.trs -/*.log -/xgen-bec -/xgen-cec diff --git a/libgimpbase/Makefile.am b/libgimpbase/Makefile.am deleted file mode 100644 index 9074dc9b24..0000000000 --- a/libgimpbase/Makefile.am +++ /dev/null @@ -1,241 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if PLATFORM_WIN32 -no_undefined = -no-undefined -endif - -if PLATFORM_OSX -xobjective_c = "-xobjective-c" -xobjective_cxx = "-xobjective-c++" -xnone = "-xnone" -framework_cocoa = -framework Cocoa -endif - -if OS_WIN32 -ole32_lib = -lole32 -gimpbase_def = gimpbase.def -libgimpbase_export_symbols = -export-symbols $(srcdir)/gimpbase.def - -install-libtool-import-lib: - $(INSTALL) .libs/libgimpbase-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir) - $(INSTALL) $(srcdir)/gimpbase.def $(DESTDIR)$(libdir) - -uninstall-libtool-import-lib: - -rm $(DESTDIR)$(libdir)/libgimpbase-$(GIMP_API_VERSION).dll.a - -rm $(DESTDIR)$(libdir)/gimpbase.def -else -libm = -lm -install-libtool-import-lib: -uninstall-libtool-import-lib: -endif - -if MS_LIB_AVAILABLE -noinst_DATA = gimpbase-$(GIMP_API_VERSION).lib - -install-ms-lib: - $(INSTALL) gimpbase-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir) - -uninstall-ms-lib: - -rm $(DESTDIR)$(libdir)/gimpbase-$(GIMP_API_VERSION).lib - -gimpbase-@GIMP_API_VERSION@.lib: gimpbase.def - lib -name:libgimpbase-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gimpbase.def -out:$@ - -else -install-ms-lib: -uninstall-ms-lib: -endif - -libgimpbaseincludedir = $(includedir)/gimp-$(GIMP_API_VERSION)/libgimpbase - -AM_CPPFLAGS = \ - -DPREFIX=\""$(prefix)"\" \ - -DGIMPDIR=\""$(gimpdir)"\" \ - -DGIMPDATADIR=\""$(gimpdatadir)"\" \ - -DLOCALEDIR=\""$(gimplocaledir)"\" \ - -DPLUGINDIR=\""$(gimpplugindir)"\" \ - -DGIMPSYSCONFDIR=\""$(gimpsysconfdir)"\" \ - -DGIMP_PACKAGE=\""@PACKAGE@"\" \ - -DGIMP_DATA_VERSION=\"$(GIMP_DATA_VERSION)\" \ - -DGIMP_USER_VERSION=\"$(GIMP_USER_VERSION)\" \ - -DGIMP_SYSCONF_VERSION=\"$(GIMP_SYSCONF_VERSION)\" \ - -DGIMP_PLUGIN_VERSION=\"$(GIMP_PLUGIN_VERSION)\" \ - -DG_LOG_DOMAIN=\"LibGimpBase\" \ - -DGIMP_BASE_COMPILATION \ - -I$(top_srcdir) \ - $(GIO_CFLAGS) \ - $(GEXIV2_CFLAGS) \ - -I$(includedir) - -AM_CFLAGS = \ - $(xobjective_c) - -AM_CXXFLAGS = \ - $(xobjective_cxx) - -AM_CCASFLAGS = \ - -I$(top_builddir) \ - -I$(top_srcdir) - -AM_LDFLAGS = \ - $(xnone) - -EXTRA_DIST = \ - gimpbase.def - -lib_LTLIBRARIES = libgimpbase-@GIMP_API_VERSION@.la - -# help `make' along by giving another name for the file, which it knows -# how to build -../libgimpbase/gimpversion.h: gimpversion.h - @: - -# Add all sources which are introspectable in this file for reuse. -AUTOMAKE_OPTIONS = subdir-objects -include $(top_srcdir)/libgimpbase/Makefile.gi - -libgimpbase_sources = \ - $(libgimpbase_introspectable) \ - gimpbase.h \ - gimpcompatenums.h \ - \ - gimpbase-private.c \ - gimpbase-private.h \ - gimpprotocol.c \ - gimpprotocol.h \ - gimpreloc.c \ - gimpreloc.h \ - gimpwin32-io.h \ - gimpwire.c \ - gimpwire.h - -libgimpbase_built_sources = \ - gimpbaseenums.c \ - gimpcompatenums.c - -libgimpbase_@GIMP_API_VERSION@_la_SOURCES = \ - $(libgimpbase_sources) \ - $(libgimpbase_built_sources) - - -libgimpbaseinclude_HEADERS = \ - gimpbase.h \ - gimpbaseenums.h \ - gimpbasetypes.h \ - gimpcpuaccel.h \ - gimplimits.h \ - gimpparamspecs.h \ - gimpversion.h \ - \ - gimpchecks.h \ - gimpenv.h \ - gimpmemsize.h \ - gimpmetadata.h \ - gimpparasite.h \ - gimpparasiteio.h \ - gimprectangle.h \ - gimpsignal.h \ - gimpunit.h \ - gimputils.h \ - gimpvaluearray.h - -libgimpbase_@GIMP_API_VERSION@_la_LDFLAGS = \ - -version-info $(LT_VERSION_INFO) \ - $(no_undefined) \ - $(libgimpbase_export_symbols) \ - $(framework_cocoa) \ - $(xnone) - -EXTRA_libgimpbase_@GIMP_API_VERSION@_la_DEPENDENCIES = $(gimpbase_def) - -libgimpbase_@GIMP_API_VERSION@_la_LIBADD = \ - $(GIO_LIBS) \ - $(GEXIV2_LIBS) \ - $(libm) \ - $(ole32_lib) - -install-data-local: install-ms-lib install-libtool-import-lib - -uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib - -# -# test programs, not to be built by default and never installed -# - -TESTS = test-cpu-accel - -test_cpu_accel_SOURCES = test-cpu-accel.c - -test_cpu_accel_DEPENDENCIES = \ - $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la - -test_cpu_accel_LDADD = \ - $(GLIB_LIBS) \ - $(test_cpu_accel_DEPENDENCIES) - - -EXTRA_PROGRAMS = test-cpu-accel - - -# -# rules to generate built sources -# - -gen_sources = stamp-gimpbaseenums.h stamp-gimpcompatenums.h xgen-bec xgen-cec -CLEANFILES = $(EXTRA_PROGRAMS) $(gen_sources) - -xgen-bec: $(srcdir)/gimpbaseenums.h $(GIMP_MKENUMS) Makefile.am - $(AM_V_GEN) $(GIMP_MKENUMS) \ - --fhead "#include \"stamp-gimpbaseenums.h\"\n#include \"config.h\"\n#include \n#undef GIMP_DISABLE_DEPRECATED\n#include \"gimpbasetypes.h\"\n#include \"libgimp/libgimp-intl.h\"\n#include \"gimpbaseenums.h\"\n" \ - --fprod "\n/* enumerations from \"@basename@\" */" \ - --vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n" \ - --dhead " static const Gimp@Type@Desc descs[] =\n {" \ - --dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ },@if ('@valueabbrev@' ne 'NULL')@\n /* Translators: this is an abbreviated version of @valueudesc@.\n Keep it short. */\n { @VALUENAME@, @valueabbrev@, NULL },@endif@" \ - --dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_domain (type, GETTEXT_PACKAGE \"-libgimp\");\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \ - $< > $@ - -stamp-gimpbaseenums.h: xgen-bec - echo "/* Generated on `date`. */" > $@ - -# copy the generated enum file back to the source directory only if it's -# changed; otherwise, only update its timestamp, so that the recipe isn't -# executed again on the next build, however, allow this to (harmlessly) fail, -# to support building from a read-only source tree. -$(srcdir)/gimpbaseenums.c: xgen-bec stamp-gimpbaseenums.h - $(AM_V_GEN) if ! cmp -s $< $@; then \ - cp $< $@; \ - else \ - touch $@ 2> /dev/null \ - || true; \ - fi - -xgen-cec: $(srcdir)/gimpcompatenums.h $(GIMP_MKENUMS) Makefile.am - $(AM_V_GEN) $(GIMP_MKENUMS) \ - --fhead "#include \"stamp-gimpcompatenums.h\"\n#include \"config.h\"\n#include \n#include \"gimpbasetypes.h\"\n#include \"gimpcompatenums.h\"\n#include \"libgimp/libgimp-intl.h\"" \ - --fprod "\n/* enumerations from \"@basename@\" */" \ - --vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n" \ - --dhead " static const Gimp@Type@Desc descs[] =\n {" \ - --dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ },@if ('@valueabbrev@' ne 'NULL')@\n /* Translators: this is an abbreviated version of @valueudesc@.\n Keep it short. */\n { @VALUENAME@, @valueabbrev@, NULL },@endif@" \ - --dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_domain (type, GETTEXT_PACKAGE \"-libgimp\");\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \ - $< > $@ - -stamp-gimpcompatenums.h: xgen-cec - echo "/* Generated on `date`. */" > $@ - -# copy the generated enum file back to the source directory only if it's -# changed; otherwise, only update its timestamp, so that the recipe isn't -# executed again on the next build, however, allow this to (harmlessly) fail, -# to support building from a read-only source tree. -$(srcdir)/gimpcompatenums.c: xgen-cec stamp-gimpcompatenums.h - $(AM_V_GEN) if ! cmp -s $< $@; then \ - cp $< $@; \ - else \ - touch $@ 2> /dev/null \ - || true; \ - fi - -DISTCLEANFILES = gimpversion.h diff --git a/libgimpcolor/.gitignore b/libgimpcolor/.gitignore deleted file mode 100644 index d88c560c54..0000000000 --- a/libgimpcolor/.gitignore +++ /dev/null @@ -1,14 +0,0 @@ -/Makefile -/Makefile.in -/makefile.mingw -/test-color-parser -/.dirstamp -/*.lo -/_libs -/.libs -/.deps -/*.la -/*.lib -/*.exp -/*.trs -/*.log diff --git a/libgimpcolor/Makefile.am b/libgimpcolor/Makefile.am deleted file mode 100644 index bcae5c4801..0000000000 --- a/libgimpcolor/Makefile.am +++ /dev/null @@ -1,114 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la - -if PLATFORM_WIN32 -no_undefined = -no-undefined -endif - -if PLATFORM_WIN32 -else -libm = -lm -endif - -if OS_WIN32 -gimpcolor_def = gimpcolor.def -libgimpcolor_export_symbols = -export-symbols $(srcdir)/gimpcolor.def - -install-libtool-import-lib: - $(INSTALL) .libs/libgimpcolor-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir) - $(INSTALL) $(srcdir)/gimpcolor.def $(DESTDIR)$(libdir) - -uninstall-libtool-import-lib: - -rm $(DESTDIR)$(libdir)/libgimpcolor-$(GIMP_API_VERSION).dll.a - -rm $(DESTDIR)$(libdir)/gimpcolor.def -else -install-libtool-import-lib: -uninstall-libtool-import-lib: -endif - -if MS_LIB_AVAILABLE -noinst_DATA = gimpcolor-$(GIMP_API_VERSION).lib - -install-ms-lib: - $(INSTALL) gimpcolor-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir) - -uninstall-ms-lib: - -rm $(DESTDIR)$(libdir)/gimpcolor-$(GIMP_API_VERSION).lib - -gimpcolor-@GIMP_API_VERSION@.lib: gimpcolor.def - lib -name:libgimpcolor-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gimpcolor.def -out:$@ - -else -install-ms-lib: -uninstall-ms-lib: -endif - -libgimpcolorincludedir = $(includedir)/gimp-$(GIMP_API_VERSION)/libgimpcolor - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"LibGimpColor\" \ - -DGIMP_COLOR_COMPILATION \ - -I$(top_srcdir) \ - $(GEGL_CFLAGS) \ - $(CAIRO_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - $(LCMS_CFLAGS) \ - -I$(includedir) - -EXTRA_DIST = \ - gimpcolor.def - -lib_LTLIBRARIES = libgimpcolor-@GIMP_API_VERSION@.la - -AUTOMAKE_OPTIONS = subdir-objects -include $(top_srcdir)/libgimpcolor/Makefile.gi - -libgimpcolor_@GIMP_API_VERSION@_la_SOURCES = \ - gimpcolor.h \ - $(libgimpcolor_introspectable) - -libgimpcolorinclude_HEADERS = \ - gimpcolor.h \ - $(libgimpcolor_introspectable_headers) - -libgimpcolor_@GIMP_API_VERSION@_la_LDFLAGS = \ - -version-info $(LT_VERSION_INFO) \ - $(no_undefined) \ - $(libgimpcolor_export_symbols) - -EXTRA_libgimpcolor_@GIMP_API_VERSION@_la_DEPENDENCIES = $(gimpcolor_def) - -libgimpcolor_@GIMP_API_VERSION@_la_LIBADD = \ - $(libgimpbase) \ - $(GEGL_LIBS) \ - $(CAIRO_LIBS) \ - $(GDK_PIXBUF_LIBS) \ - $(LCMS_LIBS) \ - $(libm) - - -# -# test programs, not to be built by default and never installed -# - -TESTS = test-color-parser$(EXEEXT) - -EXTRA_PROGRAMS = test-color-parser - -test_color_parser_DEPENDENCIES = \ - $(libgimpbase) \ - $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la - -test_color_parser_LDADD = \ - $(CAIRO_LIBS) \ - $(GLIB_LIBS) \ - $(test_color_parser_DEPENDENCIES) - - -CLEANFILES = $(EXTRA_PROGRAMS) - - -install-data-local: install-ms-lib install-libtool-import-lib - -uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib diff --git a/libgimpconfig/.gitignore b/libgimpconfig/.gitignore deleted file mode 100644 index d2362c02ca..0000000000 --- a/libgimpconfig/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -/Makefile -/Makefile.in -/makefile.mingw -/.dirstamp -/*.lo -/_libs -/.libs -/.deps -/*.la -/gimpversion.h -/*.lib -/*.exp -/xgen-cec diff --git a/libgimpconfig/Makefile.am b/libgimpconfig/Makefile.am deleted file mode 100644 index 4271ae63f1..0000000000 --- a/libgimpconfig/Makefile.am +++ /dev/null @@ -1,135 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if PLATFORM_WIN32 -no_undefined = -no-undefined -endif - -if OS_WIN32 -gimpconfig_def = gimpconfig.def -libgimpconfig_export_symbols = -export-symbols $(srcdir)/gimpconfig.def - -install-libtool-import-lib: - $(INSTALL) .libs/libgimpconfig-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir) - $(INSTALL) $(srcdir)/gimpconfig.def $(DESTDIR)$(libdir) - -uninstall-libtool-import-lib: - -rm $(DESTDIR)$(libdir)/libgimpconfig-$(GIMP_API_VERSION).dll.a - -rm $(DESTDIR)$(libdir)/gimpconfig.def -else -install-libtool-import-lib: -uninstall-libtool-import-lib: -endif - -if MS_LIB_AVAILABLE -noinst_DATA = gimpconfig-$(GIMP_API_VERSION).lib - -install-ms-lib: - $(INSTALL) gimpconfig-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir) - -uninstall-ms-lib: - -rm $(DESTDIR)$(libdir)/gimpconfig-$(GIMP_API_VERSION).lib - -gimpconfig-@GIMP_API_VERSION@.lib: gimpconfig.def - lib -name:libgimpconfig-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gimpconfig.def -out:$@ - -else -install-ms-lib: -uninstall-ms-lib: -endif - -libgimpconfigincludedir = $(includedir)/gimp-$(GIMP_API_VERSION)/libgimpconfig - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"LibGimpConfig\" \ - -DGIMP_CONFIG_COMPILATION \ - -I$(top_srcdir) \ - $(GIO_UNIX_CFLAGS) \ - $(GIO_WINDOWS_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(CAIRO_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - -I$(includedir) - -EXTRA_DIST = \ - gimpconfig.def - -lib_LTLIBRARIES = libgimpconfig-@GIMP_API_VERSION@.la - -AUTOMAKE_OPTIONS = subdir-objects -include $(top_srcdir)/libgimpconfig/Makefile.gi - -libgimpconfig_sources = \ - gimpconfig.h \ - $(libgimpconfig_introspectable) - -libgimpconfig_built_sources = \ - gimpconfigenums.c - -libgimpconfig_@GIMP_API_VERSION@_la_SOURCES = \ - $(libgimpconfig_sources) \ - $(libgimpconfig_built_sources) - -libgimpconfiginclude_HEADERS = \ - gimpconfig.h \ - $(libgimpconfig_introspectable_headers) - -libgimpconfig_@GIMP_API_VERSION@_la_LDFLAGS = \ - -version-info $(LT_VERSION_INFO) \ - $(no_undefined) \ - $(libgimpconfig_export_symbols) - -EXTRA_libgimpconfig_@GIMP_API_VERSION@_la_DEPENDENCIES = $(gimpconfig_def) - -libgimpconfig_@GIMP_API_VERSION@_la_LIBADD = \ - $(libgimpbase) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(GIO_UNIX_LIBS) \ - $(GIO_WINDOWS_LIBS) \ - $(GEGL_LIBS) \ - $(CAIRO_LIBS) \ - $(GDK_PIXBUF_LIBS) - - -install-data-local: install-ms-lib install-libtool-import-lib - -uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib - - -# -# rules to generate built sources -# - -gen_sources = stamp-gimpconfigenums.h xgen-cec -CLEANFILES = $(gen_sources) - -xgen-cec: $(srcdir)/gimpconfigenums.h $(GIMP_MKENUMS) Makefile.am - $(AM_V_GEN) $(GIMP_MKENUMS) \ - --fhead "#include \"stamp-gimpconfigenums.h\"\n#include \"config.h\"\n#include \n#include \"libgimpbase/gimpbase.h\"\n#include \"gimpconfigenums.h\"\n#include \"libgimp/libgimp-intl.h\"" \ - --fprod "\n/* enumerations from \"@basename@\" */" \ - --vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n" \ - --dhead " static const Gimp@Type@Desc descs[] =\n {" \ - --dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ },@if ('@valueabbrev@' ne 'NULL')@\n /* Translators: this is an abbreviated version of @valueudesc@.\n Keep it short. */\n { @VALUENAME@, @valueabbrev@, NULL },@endif@" \ - --dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_domain (type, GETTEXT_PACKAGE \"-libgimp\");\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \ - $< > $@ - -stamp-gimpconfigenums.h: xgen-cec - echo "/* Generated on `date`. */" > $@ - -# copy the generated enum file back to the source directory only if it's -# changed; otherwise, only update its timestamp, so that the recipe isn't -# executed again on the next build, however, allow this to (harmlessly) fail, -# to support building from a read-only source tree. -$(srcdir)/gimpconfigenums.c: xgen-cec stamp-gimpconfigenums.h - $(AM_V_GEN) if ! cmp -s $< $@; then \ - cp $< $@; \ - else \ - touch $@ 2> /dev/null \ - || true; \ - fi diff --git a/libgimpmath/.gitignore b/libgimpmath/.gitignore deleted file mode 100644 index 7a3429bc42..0000000000 --- a/libgimpmath/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/Makefile -/Makefile.in -/makefile.mingw -/.dirstamp -/*.lo -/_libs -/.libs -/.deps -/*.la diff --git a/libgimpmath/Makefile.am b/libgimpmath/Makefile.am deleted file mode 100644 index 48a86ba67b..0000000000 --- a/libgimpmath/Makefile.am +++ /dev/null @@ -1,86 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la - -if PLATFORM_WIN32 -no_undefined = -no-undefined -endif - -if PLATFORM_WIN32 -else -libm = -lm -endif - -if OS_WIN32 -gimpmath_def = gimpmath.def -libgimpmath_export_symbols = -export-symbols $(srcdir)/gimpmath.def - -install-libtool-import-lib: - $(INSTALL) .libs/libgimpmath-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir) - $(INSTALL) $(srcdir)/gimpmath.def $(DESTDIR)$(libdir) - -uninstall-libtool-import-lib: - -rm $(DESTDIR)$(libdir)/libgimpmath-$(GIMP_API_VERSION).dll.a - -rm $(DESTDIR)$(libdir)/gimpmath.def -else -install-libtool-import-lib: -uninstall-libtool-import-lib: -endif - -if MS_LIB_AVAILABLE -noinst_DATA = gimpmath-$(GIMP_API_VERSION).lib - -install-ms-lib: - $(INSTALL) gimpmath-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir) - -uninstall-ms-lib: - -rm $(DESTDIR)$(libdir)/gimpmath-$(GIMP_API_VERSION).lib - -gimpmath-@GIMP_API_VERSION@.lib: gimpmath.def - lib -name:libgimpmath-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gimpmath.def -out:$@ - -else -install-ms-lib: -uninstall-ms-lib: -endif - -libgimpmathincludedir = $(includedir)/gimp-$(GIMP_API_VERSION)/libgimpmath - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"LibGimpMath\" \ - -DGIMP_MATH_COMPILATION \ - -I$(top_srcdir) \ - $(GLIB_CFLAGS) \ - -I$(includedir) - -EXTRA_DIST = \ - gimpmath.def - -lib_LTLIBRARIES = libgimpmath-@GIMP_API_VERSION@.la - -AUTOMAKE_OPTIONS = subdir-objects -include $(top_srcdir)/libgimpmath/Makefile.gi - -libgimpmath_@GIMP_API_VERSION@_la_SOURCES = \ - $(libgimpmath_introspectable) - -libgimpmathinclude_HEADERS = \ - $(top_srcdir)/libgimpmath/gimpmath.h \ - $(libgimpmath_introspectable_headers) - -libgimpmath_@GIMP_API_VERSION@_la_LDFLAGS = \ - -version-info $(LT_VERSION_INFO) \ - $(no_undefined) \ - $(libgimpmath_export_symbols) - -EXTRA_libgimpmath_@GIMP_API_VERSION@_la_DEPENDENCIES = $(gimpmath_def) - -libgimpmath_@GIMP_API_VERSION@_la_LIBADD = \ - $(libgimpbase) \ - $(GLIB_LIBS) \ - $(libm) - - -install-data-local: install-ms-lib install-libtool-import-lib - -uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib diff --git a/libgimpmodule/.gitignore b/libgimpmodule/.gitignore deleted file mode 100644 index 1d05cf4341..0000000000 --- a/libgimpmodule/.gitignore +++ /dev/null @@ -1,11 +0,0 @@ -/Makefile -/Makefile.in -/makefile.mingw -/.dirstamp -/*.lo -/_libs -/.libs -/.deps -/*.la -/*.lib -/*.exp diff --git a/libgimpmodule/Makefile.am b/libgimpmodule/Makefile.am deleted file mode 100644 index 7815ac904c..0000000000 --- a/libgimpmodule/Makefile.am +++ /dev/null @@ -1,84 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la - -if PLATFORM_WIN32 -no_undefined = -no-undefined -endif - -if OS_WIN32 -gimpmodule_def = gimpmodule.def -libgimpmodule_export_symbols = -export-symbols $(srcdir)/gimpmodule.def - -install-libtool-import-lib: - $(INSTALL) .libs/libgimpmodule-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir) - $(INSTALL) $(srcdir)/gimpmodule.def $(DESTDIR)$(libdir) - -uninstall-libtool-import-lib: - -rm $(DESTDIR)$(libdir)/libgimpmodule-$(GIMP_API_VERSION).dll.a - -rm $(DESTDIR)$(libdir)/gimpmodule.def -else -install-libtool-import-lib: -uninstall-libtool-import-lib: -endif - -if MS_LIB_AVAILABLE -noinst_DATA = gimpmodule-$(GIMP_API_VERSION).lib - -install-ms-lib: - $(INSTALL) gimpmodule-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir) - -uninstall-ms-lib: - -rm $(DESTDIR)$(libdir)/gimpmodule-$(GIMP_API_VERSION).lib - -gimpmodule-@GIMP_API_VERSION@.lib: gimpmodule.def - lib -name:libgimpmodule-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gimpmodule.def -out:$@ - -else -install-ms-lib: -uninstall-ms-lib: -endif - -libgimpmoduleincludedir = $(includedir)/gimp-$(GIMP_API_VERSION)/libgimpmodule - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"LibGimpModule\" \ - -DGIMP_MODULE_COMPILATION \ - -I$(top_srcdir) \ - $(GIO_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(GMODULE_NO_EXPORT_CFLAGS) \ - -I$(includedir) - -EXTRA_DIST = \ - gimpmodule.def - -lib_LTLIBRARIES = libgimpmodule-@GIMP_API_VERSION@.la - -AUTOMAKE_OPTIONS = subdir-objects -include $(top_srcdir)/libgimpmodule/Makefile.gi - -libgimpmodule_@GIMP_API_VERSION@_la_SOURCES = \ - $(libgimpmodule_introspectable) - -libgimpmoduleinclude_HEADERS = \ - $(libgimpmodule_introspectable_headers) - -libgimpmodule_@GIMP_API_VERSION@_la_LDFLAGS = \ - -version-info $(LT_VERSION_INFO) \ - $(no_undefined) \ - $(libgimpmodule_export_symbols) - -EXTRA_libgimpmodule_@GIMP_API_VERSION@_la_DEPENDENCIES = $(gimpmodule_def) - -libgimpmodule_@GIMP_API_VERSION@_la_LIBADD = \ - $(libgimpbase) \ - $(libgimpconfig) \ - $(GMODULE_NO_EXPORT_LIBS) \ - $(GIO_LIBS) \ - $(GLIB_LIBS) - -install-data-local: install-ms-lib install-libtool-import-lib - -uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib diff --git a/libgimpthumb/.gitignore b/libgimpthumb/.gitignore deleted file mode 100644 index 4a9be21a5c..0000000000 --- a/libgimpthumb/.gitignore +++ /dev/null @@ -1,14 +0,0 @@ -/Makefile -/Makefile.in -/makefile.mingw -/gimpthumb-enums.c -/.dirstamp -/*.lo -/_libs -/.libs -/.deps -/*.la -/*.lib -/*.exp -/gimp-thumbnail-list -/gimp-thumbnail-list.exe diff --git a/libgimpthumb/Makefile.am b/libgimpthumb/Makefile.am deleted file mode 100644 index 36de1f776f..0000000000 --- a/libgimpthumb/Makefile.am +++ /dev/null @@ -1,129 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la - -if PLATFORM_WIN32 -no_undefined = -no-undefined -endif - -if PLATFORM_OSX -xobjective_c = "-xobjective-c" -xobjective_cxx = "-xobjective-c++" -xnone = "-xnone" -framework_cocoa = -framework Cocoa -endif - -if OS_WIN32 -gimpthumb_def = gimpthumb.def -libgimpthumb_export_symbols = -export-symbols $(srcdir)/gimpthumb.def - -install-libtool-import-lib: - $(INSTALL) .libs/libgimpthumb-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir) - $(INSTALL) $(srcdir)/gimpthumb.def $(DESTDIR)$(libdir) - -uninstall-libtool-import-lib: - -rm $(DESTDIR)$(libdir)/libgimpthumb-$(GIMP_API_VERSION).dll.a - -rm $(DESTDIR)$(libdir)/gimpthumb.def -else -install-libtool-import-lib: -uninstall-libtool-import-lib: -endif - -if MS_LIB_AVAILABLE -noinst_DATA = gimpthumb-$(GIMP_API_VERSION).lib - -install-ms-lib: - $(INSTALL) gimpthumb-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir) - -uninstall-ms-lib: - -rm $(DESTDIR)$(libdir)/gimpthumb-$(GIMP_API_VERSION).lib - -gimpthumb-@GIMP_API_VERSION@.lib: gimpthumb.def - lib -name:libgimpthumb-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gimpthumb.def -out:$@ - -else -install-ms-lib: -uninstall-ms-lib: -endif - -libgimpthumbincludedir = $(includedir)/gimp-$(GIMP_API_VERSION)/libgimpthumb - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"LibGimpThumb\" \ - -DGIMP_THUMB_COMPILATION \ - -I$(top_srcdir) \ - $(GDK_PIXBUF_CFLAGS) \ - $(GIO_CFLAGS) \ - -I$(includedir) - -AM_CFLAGS = \ - $(xobjective_c) - -AM_CXXFLAGS = \ - $(xobjective_cxx) - -AM_LDFLAGS = \ - $(xnone) - -EXTRA_DIST = \ - gimpthumb.def - -lib_LTLIBRARIES = libgimpthumb-@GIMP_API_VERSION@.la - -AUTOMAKE_OPTIONS = subdir-objects -include $(top_srcdir)/libgimpthumb/Makefile.gi - -libgimpthumb_@GIMP_API_VERSION@_la_SOURCES = \ - gimpthumb.h \ - gimpthumb-enums.c \ - $(libgimpthumb_introspectable) - -libgimpthumbinclude_HEADERS = \ - gimpthumb.h \ - $(libgimpthumb_introspectable_headers) - -libgimpthumb_@GIMP_API_VERSION@_la_LDFLAGS = \ - -version-info $(LT_VERSION_INFO) \ - $(no_undefined) \ - $(libgimpbase) \ - $(libgimpthumb_export_symbols) \ - $(framework_cocoa) \ - $(xnone) - -libgimpthumb_@GIMP_API_VERSION@_la_LIBADD = \ - $(GDK_PIXBUF_LIBS) \ - $(GIO_LIBS) - - -noinst_PROGRAMS = gimp-thumbnail-list - -gimp_thumbnail_list_SOURCES = gimp-thumbnail-list.c - -gimp_thumbnail_list_LDADD = \ - libgimpthumb-$(GIMP_API_VERSION).la \ - $(GDK_PIXBUF_LIBS) \ - $(GIO_LIBS) - - -install-data-local: install-ms-lib install-libtool-import-lib - -uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib - - -# -# rules to generate built sources -# -# setup autogeneration dependencies -gen_sources = xgen-tec -CLEANFILES = $(gen_sources) - -gimpthumb-enums.c: $(srcdir)/gimpthumb-enums.h $(GIMP_MKENUMS) Makefile.am - $(AM_V_GEN) $(GIMP_MKENUMS) \ - --fhead "#include \"config.h\"\n#include \n#include \"gimpthumb-enums.h\"" \ - --fprod "\n/* enumerations from \"@filename@\" */" \ - --vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \ - --vprod " { @VALUENAME@, @valuedesc@, \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n type = g_@type@_register_static (\"@EnumName@\", values);\n\n return type;\n}\n" \ - $< > xgen-tec \ - && cp xgen-tec $(@F) \ - && rm -f xgen-tec diff --git a/libgimpwidgets/.gitignore b/libgimpwidgets/.gitignore deleted file mode 100644 index b71db47b92..0000000000 --- a/libgimpwidgets/.gitignore +++ /dev/null @@ -1,20 +0,0 @@ -/.dirstamp -/*.la -/*.lo -/.deps -/.libs -/Makefile -/Makefile.in -/_libs -/gimp-color-picker-cursors.c -/gimp-color-picker-cursors.h -/gimp-icon-pixbufs.c -/gimp-icon-pixbufs.h -/gimpwidgetsmarshal.c -/gimpwidgetsmarshal.h -/makefile.mingw -/test-eevl* -/test-preview-area -/*.trs -/*.log -/xgen-wec diff --git a/libgimpwidgets/Makefile.am b/libgimpwidgets/Makefile.am deleted file mode 100644 index 93d54ff73f..0000000000 --- a/libgimpwidgets/Makefile.am +++ /dev/null @@ -1,290 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la - -if PLATFORM_WIN32 -no_undefined = -no-undefined -libgdi32 = -lgdi32 -libmscms = -lmscms -else -libm = -lm -endif - -if PLATFORM_OSX -xobjective_c = "-xobjective-c" -xobjective_cxx = "-xobjective-c++" -xnone = "-xnone" -framework_cocoa = -framework Cocoa -endif - -if OS_WIN32 -gimpwidgets_def = gimpwidgets.def -libgimpwidgets_export_symbols = -export-symbols $(srcdir)/gimpwidgets.def - -install-libtool-import-lib: - $(INSTALL) .libs/libgimpwidgets-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir) - $(INSTALL) $(srcdir)/gimpwidgets.def $(DESTDIR)$(libdir) - -uninstall-libtool-import-lib: - -rm $(DESTDIR)$(libdir)/libgimpwidgets-$(GIMP_API_VERSION).dll.a - -rm $(DESTDIR)$(libdir)/gimpwidgets.def -else -install-libtool-import-lib: -uninstall-libtool-import-lib: -endif - -if MS_LIB_AVAILABLE -noinst_DATA = gimpwidgets-$(GIMP_API_VERSION).lib - -install-ms-lib: - $(INSTALL) gimpwidgets-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir) - -uninstall-ms-lib: - -rm $(DESTDIR)$(libdir)/gimpwidgets-$(GIMP_API_VERSION).lib - -gimpwidgets-@GIMP_API_VERSION@.lib: gimpwidgets.def - lib -name:libgimpwidgets-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gimpwidgets.def -out:$@ - -else -install-ms-lib: -uninstall-ms-lib: -endif - -libgimpwidgetsincludedir = $(includedir)/gimp-$(GIMP_API_VERSION)/libgimpwidgets - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"LibGimpWidgets\" \ - -DGIMP_WIDGETS_COMPILATION \ - -DDATAROOTDIR=\""$(datarootdir)"\" \ - -I$(top_srcdir) \ - $(GEGL_CFLAGS) \ - $(GTK_CFLAGS) \ - $(LCMS_CFLAGS) \ - -I$(includedir) - -AM_CFLAGS = \ - $(xobjective_c) - -AM_CXXFLAGS = \ - $(xobjective_cxx) - -AM_LDFLAGS = \ - $(xnone) - -lib_LTLIBRARIES = libgimpwidgets-@GIMP_API_VERSION@.la - -AUTOMAKE_OPTIONS = subdir-objects -include $(top_srcdir)/libgimpwidgets/Makefile.gi - -libgimpwidgets_sources = \ - gimpcolorprofilestore-private.h \ - gimpcolorscale.c \ - gimpcolorscale.h \ - gimpcolorscales.c \ - gimpcolorscales.h \ - gimpcolorselect.c \ - gimpcolorselect.h \ - gimpcontroller.c \ - gimpcontroller.h \ - gimpeevl.c \ - gimpeevl.h \ - gimppickbutton-private.h \ - gimpwidgets-private.c \ - gimpwidgets-private.h \ - $(libgimpwidgets_introspectable) - -libgimpwidgets_built_sources = \ - gimp-color-picker-cursors.c \ - gimp-color-picker-cursors.h \ - gimp-icon-pixbufs.c \ - gimp-icon-pixbufs.h \ - gimpwidgetsenums.c \ - gimpwidgetsmarshal.c \ - gimpwidgetsmarshal.h - -libgimpwidgets_extra_sources = gimpwidgetsmarshal.list - -libgimpwidgets_@GIMP_API_VERSION@_la_SOURCES = \ - $(libgimpwidgets_built_sources) \ - $(libgimpwidgets_sources) - -libgimpwidgetsinclude_HEADERS = \ - gimpcolorscale.h \ - gimpcolorscales.h \ - gimpcolorselect.h \ - gimpcontroller.h \ - $(libgimpwidgets_introspectable_headers) - -libgimpwidgets_@GIMP_API_VERSION@_la_LDFLAGS = \ - -version-info $(LT_VERSION_INFO) \ - $(no_undefined) \ - $(libgimpwidgets_export_symbols) \ - $(framework_cocoa) \ - $(xnone) - -EXTRA_libgimpwidgets_@GIMP_API_VERSION@_la_DEPENDENCIES = $(gimpwidgets_def) - -libgimpwidgets_@GIMP_API_VERSION@_la_LIBADD = \ - $(libgimpbase) \ - $(libgimpcolor) \ - $(libgimpconfig) \ - $(GEGL_LIBS) \ - $(GTK_LIBS) \ - $(LCMS_LIBS) \ - $(libm) \ - $(libgdi32) \ - $(libmscms) - -BUILT_SOURCES = \ - $(libgimpwidgets_built_sources) - -EXTRA_DIST = \ - gimpwidgets.def \ - $(libgimpwidgets_extra_sources) - -# -# platform-dependent source files -# - - -if PLATFORM_OSX_QUARTZ -libgimpwidgets_sources += gimppickbutton-quartz.c gimppickbutton-quartz.h -AM_CPPFLAGS += "-xobjective-c" -else - -if PLATFORM_WIN32 -libgimpwidgets_sources += gimppickbutton-win32.c gimppickbutton-win32.h -else -libgimpwidgets_sources += \ - gimppickbutton-default.c \ - gimppickbutton-default.h \ - gimppickbutton-kwin.c \ - gimppickbutton-kwin.h \ - gimppickbutton-xdg.c \ - gimppickbutton-xdg.h -endif - -endif - - -# -# rules to generate built sources -# -# setup autogeneration dependencies -gen_sources = \ - gimp-color-picker-cursors.c \ - gimp-color-picker-cursors.h \ - gimp-icon-pixbufs.c \ - gimp-icon-pixbufs.h \ - stamp-gimpwidgetsenums.h \ - xgen-wec \ - xgen-wmh \ - xgen-wmc - -CLEANFILES = $(gen_sources) - -xgen-wec: $(srcdir)/gimpwidgetsenums.h $(GIMP_MKENUMS) Makefile.am - $(AM_V_GEN) $(GIMP_MKENUMS) \ - --fhead "#include \"stamp-gimpwidgetsenums.h\"\n#include \"config.h\"\n#include \n#include \"libgimpbase/gimpbase.h\"\n#include \"gimpwidgetsenums.h\"\n#include \"libgimp/libgimp-intl.h\"" \ - --fprod "\n/* enumerations from \"@basename@\" */" \ - --vhead "GType\n@enum_name@_get_type (void)\n{\n static const G@Type@Value values[] =\n {" \ - --vprod " { @VALUENAME@, \"@VALUENAME@\", \"@valuenick@\" }," \ - --vtail " { 0, NULL, NULL }\n };\n" \ - --dhead " static const Gimp@Type@Desc descs[] =\n {" \ - --dprod " { @VALUENAME@, @valuedesc@, @valuehelp@ },@if ('@valueabbrev@' ne 'NULL')@\n /* Translators: this is an abbreviated version of @valueudesc@.\n Keep it short. */\n { @VALUENAME@, @valueabbrev@, NULL },@endif@" \ - --dtail " { 0, NULL, NULL }\n };\n\n static GType type = 0;\n\n if (G_UNLIKELY (! type))\n {\n type = g_@type@_register_static (\"@EnumName@\", values);\n gimp_type_set_translation_domain (type, GETTEXT_PACKAGE \"-libgimp\");\n gimp_type_set_translation_context (type, \"@enumnick@\");\n gimp_@type@_set_value_descriptions (type, descs);\n }\n\n return type;\n}\n" \ - $< > $@ - -stamp-gimpwidgetsenums.h: xgen-wec - echo "/* Generated on `date`. */" > $@ - -# copy the generated enum file back to the source directory only if it's -# changed; otherwise, only update its timestamp, so that the recipe isn't -# executed again on the next build, however, allow this to (harmlessly) fail, -# to support building from a read-only source tree. -$(srcdir)/gimpwidgetsenums.c: xgen-wec stamp-gimpwidgetsenums.h - $(AM_V_GEN) if ! cmp -s $< $@; then \ - cp $< $@; \ - else \ - touch $@ 2> /dev/null \ - || true; \ - fi - -gimpwidgetsmarshal.h: $(srcdir)/gimpwidgetsmarshal.list - $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_gimp_widgets_marshal $(srcdir)/gimpwidgetsmarshal.list --header >> xgen-wmh \ - && (cmp -s xgen-wmh $(@F) || cp xgen-wmh $(@F)) \ - && rm -f xgen-wmh xgen-wmh~ - -gimpwidgetsmarshal.c: gimpwidgetsmarshal.h - $(AM_V_GEN) $(GLIB_GENMARSHAL) --prefix=_gimp_widgets_marshal $(srcdir)/gimpwidgetsmarshal.list --prototypes --body >> xgen-wmc \ - && cp xgen-wmc $(@F) \ - && rm -f xgen-wmc xgen-wmc~ - -gimp-color-picker-cursors.h: $(top_builddir)/cursors/gimp-color-picker-cursors.gresource.xml - $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \ - --internal \ - --sourcedir=$(top_srcdir)/cursors --generate-header \ - --target=$@ $(top_builddir)/cursors/gimp-color-picker-cursors.gresource.xml - -gimp-color-picker-cursors.c: gimp-color-picker-cursors.h - $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \ - --internal \ - --sourcedir=$(top_srcdir)/cursors --generate-source \ - --target=$@ $(top_builddir)/cursors/gimp-color-picker-cursors.gresource.xml - -gimp-icon-pixbufs.h: $(top_builddir)/icons/Color/gimp-icon-pixbufs.gresource.xml - $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \ - --internal \ - --sourcedir=$(top_builddir)/icons/Color --generate-header \ - --target=$@ $(top_builddir)/icons/Color/gimp-icon-pixbufs.gresource.xml - -gimp-icon-pixbufs.c: gimp-icon-pixbufs.h - $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \ - --internal \ - --sourcedir=$(top_builddir)/icons/Color --generate-source \ - --target=$@ $(top_builddir)/icons/Color/gimp-icon-pixbufs.gresource.xml - - -# -# test programs, not installed -# - -EXTRA_PROGRAMS = \ - test-preview-area \ - test-eevl - - -test_preview_area_SOURCES = test-preview-area.c - -test_preview_area_LDADD = \ - $(GTK_LIBS) \ - $(libgimpbase) \ - $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la - - -test_eevl_SOURCES = \ - test-eevl.c - -test_eevl_LDADD = \ - $(GLIB_LIBS) \ - $(libgimpcolor) \ - $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la - - -# -# test programs, not to be built by default and never installed -# - -TESTS = test-eevl$(EXEEXT) - - - - -CLEANFILES += $(EXTRA_PROGRAMS) - - -install-data-local: install-ms-lib install-libtool-import-lib - -uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib diff --git a/m4macros/.gitignore b/m4macros/.gitignore deleted file mode 100644 index 8b1ede9acd..0000000000 --- a/m4macros/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -Makefile -Makefile.in -gtk-doc.m4 -libtool.m4 -lt~obsolete.m4 -ltoptions.m4 -ltsugar.m4 -ltversion.m4 diff --git a/m4macros/Makefile.am b/m4macros/Makefile.am deleted file mode 100644 index ed19e97a5a..0000000000 --- a/m4macros/Makefile.am +++ /dev/null @@ -1,20 +0,0 @@ -# Makefile.am for gimp/m4macros - -installed_m4 = gimp-3.0.m4 - -uninstalled_m4 = \ - alsa.m4 \ - ax_compare_version.m4 \ - ax_cxx_compile_stdcxx.m4 \ - ax_gcc_func_attribute.m4 \ - ax_prog_cc_for_build.m4 \ - ax_prog_perl_version.m4 \ - detectcflags.m4 \ - introspection.m4 \ - python3dev.m4 \ - vapigen.m4 - -EXTRA_DIST = $(installed_m4) $(uninstalled_m4) - -m4datadir = $(datadir)/aclocal -m4data_DATA = $(installed_m4) diff --git a/m4macros/alsa.m4 b/m4macros/alsa.m4 deleted file mode 100644 index b823c241e2..0000000000 --- a/m4macros/alsa.m4 +++ /dev/null @@ -1,138 +0,0 @@ -dnl Configure Paths for Alsa -dnl Some modifications by Richard Boulton -dnl Christopher Lansdown -dnl Jaroslav Kysela -dnl Last modification: alsa.m4,v 1.24 2004/09/15 18:48:07 tiwai Exp -dnl AM_PATH_ALSA([MINIMUM-VERSION [, ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -dnl Test for libasound, and define ALSA_CFLAGS and ALSA_LIBS as appropriate. -dnl enables arguments --with-alsa-prefix= -dnl --with-alsa-enc-prefix= -dnl --disable-alsatest -dnl -dnl For backwards compatibility, if ACTION_IF_NOT_FOUND is not specified, -dnl and the alsa libraries are not found, a fatal AC_MSG_ERROR() will result. -dnl -AC_DEFUN([AM_PATH_ALSA], -[dnl Save the original CFLAGS, LDFLAGS, and LIBS -alsa_save_CFLAGS="$CFLAGS" -alsa_save_LDFLAGS="$LDFLAGS" -alsa_save_LIBS="$LIBS" -alsa_found=yes - -dnl -dnl Get the cflags and libraries for alsa -dnl -AC_ARG_WITH(alsa-prefix, -[ --with-alsa-prefix=PFX Prefix where Alsa library is installed(optional)], -[alsa_prefix="$withval"], [alsa_prefix=""]) - -AC_ARG_WITH(alsa-inc-prefix, -[ --with-alsa-inc-prefix=PFX Prefix where include libraries are (optional)], -[alsa_inc_prefix="$withval"], [alsa_inc_prefix=""]) - -dnl FIXME: this is not yet implemented -AC_ARG_ENABLE(alsatest, -[ --disable-alsatest Do not try to compile and run a test Alsa program], -[enable_alsatest="$enableval"], -[enable_alsatest=yes]) - -dnl Add any special include directories -AC_MSG_CHECKING(for ALSA CFLAGS) -if test "$alsa_inc_prefix" != "" ; then - ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix" - CFLAGS="$CFLAGS -I$alsa_inc_prefix" -fi -AC_MSG_RESULT($ALSA_CFLAGS) -CFLAGS="$alsa_save_CFLAGS" - -dnl add any special lib dirs -AC_MSG_CHECKING(for ALSA LDFLAGS) -if test "$alsa_prefix" != "" ; then - ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix" - LDFLAGS="$LDFLAGS $ALSA_LIBS" -fi - -dnl add the alsa library -ALSA_LIBS="$ALSA_LIBS -lasound -lm -ldl -lpthread" -LIBS="$ALSA_LIBS $LIBS" -AC_MSG_RESULT($ALSA_LIBS) - -dnl Check for a working version of libasound that is of the right version. -min_alsa_version=ifelse([$1], ,0.1.1,$1) -AC_MSG_CHECKING(for libasound headers version >= $min_alsa_version) -no_alsa="" - alsa_min_major_version=`echo $min_alsa_version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - alsa_min_minor_version=`echo $min_alsa_version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - alsa_min_micro_version=`echo $min_alsa_version | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - -AC_LANG_SAVE -AC_LANG_C -AC_TRY_COMPILE([ -#include -], [ -/* ensure backward compatibility */ -#if !defined(SND_LIB_MAJOR) && defined(SOUNDLIB_VERSION_MAJOR) -#define SND_LIB_MAJOR SOUNDLIB_VERSION_MAJOR -#endif -#if !defined(SND_LIB_MINOR) && defined(SOUNDLIB_VERSION_MINOR) -#define SND_LIB_MINOR SOUNDLIB_VERSION_MINOR -#endif -#if !defined(SND_LIB_SUBMINOR) && defined(SOUNDLIB_VERSION_SUBMINOR) -#define SND_LIB_SUBMINOR SOUNDLIB_VERSION_SUBMINOR -#endif - -# if(SND_LIB_MAJOR > $alsa_min_major_version) - exit(0); -# else -# if(SND_LIB_MAJOR < $alsa_min_major_version) -# error not present -# endif - -# if(SND_LIB_MINOR > $alsa_min_minor_version) - exit(0); -# else -# if(SND_LIB_MINOR < $alsa_min_minor_version) -# error not present -# endif - -# if(SND_LIB_SUBMINOR < $alsa_min_micro_version) -# error not present -# endif -# endif -# endif -exit(0); -], - [AC_MSG_RESULT(found.)], - [AC_MSG_RESULT(not present.) - ifelse([$3], , [AC_MSG_ERROR(Sufficiently new version of libasound not found.)]) - alsa_found=no] -) -AC_LANG_RESTORE - -dnl Now that we know that we have the right version, let's see if we have the library and not just the headers. -if test "x$enable_alsatest" = "xyes"; then -AC_CHECK_LIB([asound], [snd_ctl_open],, - [ifelse([$3], , [AC_MSG_ERROR(No linkable libasound was found.)]) - alsa_found=no] -) -fi - -LDFLAGS="$alsa_save_LDFLAGS" -LIBS="$alsa_save_LIBS" - -if test "x$alsa_found" = "xyes" ; then - ifelse([$2], , :, [$2]) -else - ALSA_CFLAGS="" - ALSA_LIBS="" - ifelse([$3], , :, [$3]) -fi - -dnl That should be it. Now just export out symbols: -AC_SUBST(ALSA_CFLAGS) -AC_SUBST(ALSA_LIBS) -]) - diff --git a/m4macros/ax_compare_version.m4 b/m4macros/ax_compare_version.m4 deleted file mode 100644 index ffb4997e8b..0000000000 --- a/m4macros/ax_compare_version.m4 +++ /dev/null @@ -1,177 +0,0 @@ -# =========================================================================== -# https://www.gnu.org/software/autoconf-archive/ax_compare_version.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_COMPARE_VERSION(VERSION_A, OP, VERSION_B, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) -# -# DESCRIPTION -# -# This macro compares two version strings. Due to the various number of -# minor-version numbers that can exist, and the fact that string -# comparisons are not compatible with numeric comparisons, this is not -# necessarily trivial to do in a autoconf script. This macro makes doing -# these comparisons easy. -# -# The six basic comparisons are available, as well as checking equality -# limited to a certain number of minor-version levels. -# -# The operator OP determines what type of comparison to do, and can be one -# of: -# -# eq - equal (test A == B) -# ne - not equal (test A != B) -# le - less than or equal (test A <= B) -# ge - greater than or equal (test A >= B) -# lt - less than (test A < B) -# gt - greater than (test A > B) -# -# Additionally, the eq and ne operator can have a number after it to limit -# the test to that number of minor versions. -# -# eq0 - equal up to the length of the shorter version -# ne0 - not equal up to the length of the shorter version -# eqN - equal up to N sub-version levels -# neN - not equal up to N sub-version levels -# -# When the condition is true, shell commands ACTION-IF-TRUE are run, -# otherwise shell commands ACTION-IF-FALSE are run. The environment -# variable 'ax_compare_version' is always set to either 'true' or 'false' -# as well. -# -# Examples: -# -# AX_COMPARE_VERSION([3.15.7],[lt],[3.15.8]) -# AX_COMPARE_VERSION([3.15],[lt],[3.15.8]) -# -# would both be true. -# -# AX_COMPARE_VERSION([3.15.7],[eq],[3.15.8]) -# AX_COMPARE_VERSION([3.15],[gt],[3.15.8]) -# -# would both be false. -# -# AX_COMPARE_VERSION([3.15.7],[eq2],[3.15.8]) -# -# would be true because it is only comparing two minor versions. -# -# AX_COMPARE_VERSION([3.15.7],[eq0],[3.15]) -# -# would be true because it is only comparing the lesser number of minor -# versions of the two values. -# -# Note: The characters that separate the version numbers do not matter. An -# empty string is the same as version 0. OP is evaluated by autoconf, not -# configure, so must be a string, not a variable. -# -# The author would like to acknowledge Guido Draheim whose advice about -# the m4_case and m4_ifvaln functions make this macro only include the -# portions necessary to perform the specific comparison specified by the -# OP argument in the final configure script. -# -# LICENSE -# -# Copyright (c) 2008 Tim Toolan -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty provided the copyright notice -# and this notice are preserved. This file is offered as-is, without any -# warranty. - -#serial 13 - -dnl ######################################################################### -AC_DEFUN([AX_COMPARE_VERSION], [ - AC_REQUIRE([AC_PROG_AWK]) - - # Used to indicate true or false condition - ax_compare_version=false - - # Convert the two version strings to be compared into a format that - # allows a simple string comparison. The end result is that a version - # string of the form 1.12.5-r617 will be converted to the form - # 0001001200050617. In other words, each number is zero padded to four - # digits, and non digits are removed. - AS_VAR_PUSHDEF([A],[ax_compare_version_A]) - A=`echo "$1" | sed -e 's/\([[0-9]]*\)/Z\1Z/g' \ - -e 's/Z\([[0-9]]\)Z/Z0\1Z/g' \ - -e 's/Z\([[0-9]][[0-9]]\)Z/Z0\1Z/g' \ - -e 's/Z\([[0-9]][[0-9]][[0-9]]\)Z/Z0\1Z/g' \ - -e 's/[[^0-9]]//g'` - - AS_VAR_PUSHDEF([B],[ax_compare_version_B]) - B=`echo "$3" | sed -e 's/\([[0-9]]*\)/Z\1Z/g' \ - -e 's/Z\([[0-9]]\)Z/Z0\1Z/g' \ - -e 's/Z\([[0-9]][[0-9]]\)Z/Z0\1Z/g' \ - -e 's/Z\([[0-9]][[0-9]][[0-9]]\)Z/Z0\1Z/g' \ - -e 's/[[^0-9]]//g'` - - dnl # In the case of le, ge, lt, and gt, the strings are sorted as necessary - dnl # then the first line is used to determine if the condition is true. - dnl # The sed right after the echo is to remove any indented white space. - m4_case(m4_tolower($2), - [lt],[ - ax_compare_version=`echo "x$A -x$B" | sed 's/^ *//' | sort -r | sed "s/x${A}/false/;s/x${B}/true/;1q"` - ], - [gt],[ - ax_compare_version=`echo "x$A -x$B" | sed 's/^ *//' | sort | sed "s/x${A}/false/;s/x${B}/true/;1q"` - ], - [le],[ - ax_compare_version=`echo "x$A -x$B" | sed 's/^ *//' | sort | sed "s/x${A}/true/;s/x${B}/false/;1q"` - ], - [ge],[ - ax_compare_version=`echo "x$A -x$B" | sed 's/^ *//' | sort -r | sed "s/x${A}/true/;s/x${B}/false/;1q"` - ],[ - dnl Split the operator from the subversion count if present. - m4_bmatch(m4_substr($2,2), - [0],[ - # A count of zero means use the length of the shorter version. - # Determine the number of characters in A and B. - ax_compare_version_len_A=`echo "$A" | $AWK '{print(length)}'` - ax_compare_version_len_B=`echo "$B" | $AWK '{print(length)}'` - - # Set A to no more than B's length and B to no more than A's length. - A=`echo "$A" | sed "s/\(.\{$ax_compare_version_len_B\}\).*/\1/"` - B=`echo "$B" | sed "s/\(.\{$ax_compare_version_len_A\}\).*/\1/"` - ], - [[0-9]+],[ - # A count greater than zero means use only that many subversions - A=`echo "$A" | sed "s/\(\([[0-9]]\{4\}\)\{m4_substr($2,2)\}\).*/\1/"` - B=`echo "$B" | sed "s/\(\([[0-9]]\{4\}\)\{m4_substr($2,2)\}\).*/\1/"` - ], - [.+],[ - AC_WARNING( - [invalid OP numeric parameter: $2]) - ],[]) - - # Pad zeros at end of numbers to make same length. - ax_compare_version_tmp_A="$A`echo $B | sed 's/./0/g'`" - B="$B`echo $A | sed 's/./0/g'`" - A="$ax_compare_version_tmp_A" - - # Check for equality or inequality as necessary. - m4_case(m4_tolower(m4_substr($2,0,2)), - [eq],[ - test "x$A" = "x$B" && ax_compare_version=true - ], - [ne],[ - test "x$A" != "x$B" && ax_compare_version=true - ],[ - AC_WARNING([invalid OP parameter: $2]) - ]) - ]) - - AS_VAR_POPDEF([A])dnl - AS_VAR_POPDEF([B])dnl - - dnl # Execute ACTION-IF-TRUE / ACTION-IF-FALSE. - if test "$ax_compare_version" = "true" ; then - m4_ifvaln([$4],[$4],[:])dnl - m4_ifvaln([$5],[else $5])dnl - fi -]) dnl AX_COMPARE_VERSION diff --git a/m4macros/ax_cxx_compile_stdcxx.m4 b/m4macros/ax_cxx_compile_stdcxx.m4 deleted file mode 100644 index 85efc7cb8e..0000000000 --- a/m4macros/ax_cxx_compile_stdcxx.m4 +++ /dev/null @@ -1,980 +0,0 @@ -# =========================================================================== -# https://www.gnu.org/software/autoconf-archive/ax_cxx_compile_stdcxx.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_CXX_COMPILE_STDCXX(VERSION, [ext|noext], [mandatory|optional]) -# -# DESCRIPTION -# -# Check for baseline language coverage in the compiler for the specified -# version of the C++ standard. If necessary, add switches to CXX and -# CXXCPP to enable support. VERSION may be '11' (for the C++11 standard) -# or '14' (for the C++14 standard). -# -# The second argument, if specified, indicates whether you insist on an -# extended mode (e.g. -std=gnu++11) or a strict conformance mode (e.g. -# -std=c++11). If neither is specified, you get whatever works, with -# preference for an extended mode. -# -# The third argument, if specified 'mandatory' or if left unspecified, -# indicates that baseline support for the specified C++ standard is -# required and that the macro should error out if no mode with that -# support is found. If specified 'optional', then configuration proceeds -# regardless, after defining HAVE_CXX${VERSION} if and only if a -# supporting mode is found. -# -# LICENSE -# -# Copyright (c) 2008 Benjamin Kosnik -# Copyright (c) 2012 Zack Weinberg -# Copyright (c) 2013 Roy Stogner -# Copyright (c) 2014, 2015 Google Inc.; contributed by Alexey Sokolov -# Copyright (c) 2015 Paul Norman -# Copyright (c) 2015 Moritz Klammler -# Copyright (c) 2016 Krzesimir Nowak -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty provided the copyright notice -# and this notice are preserved. This file is offered as-is, without any -# warranty. - -#serial 8 - -dnl This macro is based on the code from the AX_CXX_COMPILE_STDCXX_11 macro -dnl (serial version number 13). - -AC_DEFUN([AX_CXX_COMPILE_STDCXX], [dnl - m4_if([$1], [11], [ax_cxx_compile_alternatives="11 0x"], - [$1], [14], [ax_cxx_compile_alternatives="14 1y"], - [$1], [17], [ax_cxx_compile_alternatives="17 1z"], - [m4_fatal([invalid first argument `$1' to AX_CXX_COMPILE_STDCXX])])dnl - m4_if([$2], [], [], - [$2], [ext], [], - [$2], [noext], [], - [m4_fatal([invalid second argument `$2' to AX_CXX_COMPILE_STDCXX])])dnl - m4_if([$3], [], [ax_cxx_compile_cxx$1_required=true], - [$3], [mandatory], [ax_cxx_compile_cxx$1_required=true], - [$3], [optional], [ax_cxx_compile_cxx$1_required=false], - [m4_fatal([invalid third argument `$3' to AX_CXX_COMPILE_STDCXX])]) - AC_LANG_PUSH([C++])dnl - ac_success=no - AC_CACHE_CHECK(whether $CXX supports C++$1 features by default, - ax_cv_cxx_compile_cxx$1, - [AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])], - [ax_cv_cxx_compile_cxx$1=yes], - [ax_cv_cxx_compile_cxx$1=no])]) - if test x$ax_cv_cxx_compile_cxx$1 = xyes; then - ac_success=yes - fi - - m4_if([$2], [noext], [], [dnl - if test x$ac_success = xno; then - for alternative in ${ax_cxx_compile_alternatives}; do - switch="-std=gnu++${alternative}" - cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch]) - AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch, - $cachevar, - [ac_save_CXX="$CXX" - CXX="$CXX $switch" - AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])], - [eval $cachevar=yes], - [eval $cachevar=no]) - CXX="$ac_save_CXX"]) - if eval test x\$$cachevar = xyes; then - CXX="$CXX $switch" - if test -n "$CXXCPP" ; then - CXXCPP="$CXXCPP $switch" - fi - ac_success=yes - break - fi - done - fi]) - - m4_if([$2], [ext], [], [dnl - if test x$ac_success = xno; then - dnl HP's aCC needs +std=c++11 according to: - dnl http://h21007.www2.hp.com/portal/download/files/unprot/aCxx/PDF_Release_Notes/769149-001.pdf - dnl Cray's crayCC needs "-h std=c++11" - for alternative in ${ax_cxx_compile_alternatives}; do - for switch in -std=c++${alternative} +std=c++${alternative} "-h std=c++${alternative}"; do - cachevar=AS_TR_SH([ax_cv_cxx_compile_cxx$1_$switch]) - AC_CACHE_CHECK(whether $CXX supports C++$1 features with $switch, - $cachevar, - [ac_save_CXX="$CXX" - CXX="$CXX $switch" - AC_COMPILE_IFELSE([AC_LANG_SOURCE([_AX_CXX_COMPILE_STDCXX_testbody_$1])], - [eval $cachevar=yes], - [eval $cachevar=no]) - CXX="$ac_save_CXX"]) - if eval test x\$$cachevar = xyes; then - CXX="$CXX $switch" - if test -n "$CXXCPP" ; then - CXXCPP="$CXXCPP $switch" - fi - ac_success=yes - break - fi - done - if test x$ac_success = xyes; then - break - fi - done - fi]) - AC_LANG_POP([C++]) - if test x$ax_cxx_compile_cxx$1_required = xtrue; then - if test x$ac_success = xno; then - AC_MSG_ERROR([*** A compiler with support for C++$1 language features is required.]) - fi - fi - if test x$ac_success = xno; then - HAVE_CXX$1=0 - AC_MSG_NOTICE([No compiler with C++$1 support was found]) - else - HAVE_CXX$1=1 - AC_DEFINE(HAVE_CXX$1,1, - [define if the compiler supports basic C++$1 syntax]) - fi - AC_SUBST(HAVE_CXX$1) -]) - - -dnl Test body for checking C++11 support - -m4_define([_AX_CXX_COMPILE_STDCXX_testbody_11], - _AX_CXX_COMPILE_STDCXX_testbody_new_in_11 -) - - -dnl Test body for checking C++14 support - -m4_define([_AX_CXX_COMPILE_STDCXX_testbody_14], - _AX_CXX_COMPILE_STDCXX_testbody_new_in_11 - _AX_CXX_COMPILE_STDCXX_testbody_new_in_14 -) - -m4_define([_AX_CXX_COMPILE_STDCXX_testbody_17], - _AX_CXX_COMPILE_STDCXX_testbody_new_in_11 - _AX_CXX_COMPILE_STDCXX_testbody_new_in_14 - _AX_CXX_COMPILE_STDCXX_testbody_new_in_17 -) - -dnl Tests for new features in C++11 - -m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_11], [[ - -// If the compiler admits that it is not ready for C++11, why torture it? -// Hopefully, this will speed up the test. - -#ifndef __cplusplus - -#error "This is not a C++ compiler" - -#elif __cplusplus < 201103L - -#error "This is not a C++11 compiler" - -#else - -namespace cxx11 -{ - - namespace test_static_assert - { - - template - struct check - { - static_assert(sizeof(int) <= sizeof(T), "not big enough"); - }; - - } - - namespace test_final_override - { - - struct Base - { - virtual void f() {} - }; - - struct Derived : public Base - { - virtual void f() override {} - }; - - } - - namespace test_double_right_angle_brackets - { - - template < typename T > - struct check {}; - - typedef check single_type; - typedef check> double_type; - typedef check>> triple_type; - typedef check>>> quadruple_type; - - } - - namespace test_decltype - { - - int - f() - { - int a = 1; - decltype(a) b = 2; - return a + b; - } - - } - - namespace test_type_deduction - { - - template < typename T1, typename T2 > - struct is_same - { - static const bool value = false; - }; - - template < typename T > - struct is_same - { - static const bool value = true; - }; - - template < typename T1, typename T2 > - auto - add(T1 a1, T2 a2) -> decltype(a1 + a2) - { - return a1 + a2; - } - - int - test(const int c, volatile int v) - { - static_assert(is_same::value == true, ""); - static_assert(is_same::value == false, ""); - static_assert(is_same::value == false, ""); - auto ac = c; - auto av = v; - auto sumi = ac + av + 'x'; - auto sumf = ac + av + 1.0; - static_assert(is_same::value == true, ""); - static_assert(is_same::value == true, ""); - static_assert(is_same::value == true, ""); - static_assert(is_same::value == false, ""); - static_assert(is_same::value == true, ""); - return (sumf > 0.0) ? sumi : add(c, v); - } - - } - - namespace test_noexcept - { - - int f() { return 0; } - int g() noexcept { return 0; } - - static_assert(noexcept(f()) == false, ""); - static_assert(noexcept(g()) == true, ""); - - } - - namespace test_constexpr - { - - template < typename CharT > - unsigned long constexpr - strlen_c_r(const CharT *const s, const unsigned long acc) noexcept - { - return *s ? strlen_c_r(s + 1, acc + 1) : acc; - } - - template < typename CharT > - unsigned long constexpr - strlen_c(const CharT *const s) noexcept - { - return strlen_c_r(s, 0UL); - } - - static_assert(strlen_c("") == 0UL, ""); - static_assert(strlen_c("1") == 1UL, ""); - static_assert(strlen_c("example") == 7UL, ""); - static_assert(strlen_c("another\0example") == 7UL, ""); - - } - - namespace test_rvalue_references - { - - template < int N > - struct answer - { - static constexpr int value = N; - }; - - answer<1> f(int&) { return answer<1>(); } - answer<2> f(const int&) { return answer<2>(); } - answer<3> f(int&&) { return answer<3>(); } - - void - test() - { - int i = 0; - const int c = 0; - static_assert(decltype(f(i))::value == 1, ""); - static_assert(decltype(f(c))::value == 2, ""); - static_assert(decltype(f(0))::value == 3, ""); - } - - } - - namespace test_uniform_initialization - { - - struct test - { - static const int zero {}; - static const int one {1}; - }; - - static_assert(test::zero == 0, ""); - static_assert(test::one == 1, ""); - - } - - namespace test_lambdas - { - - void - test1() - { - auto lambda1 = [](){}; - auto lambda2 = lambda1; - lambda1(); - lambda2(); - } - - int - test2() - { - auto a = [](int i, int j){ return i + j; }(1, 2); - auto b = []() -> int { return '0'; }(); - auto c = [=](){ return a + b; }(); - auto d = [&](){ return c; }(); - auto e = [a, &b](int x) mutable { - const auto identity = [](int y){ return y; }; - for (auto i = 0; i < a; ++i) - a += b--; - return x + identity(a + b); - }(0); - return a + b + c + d + e; - } - - int - test3() - { - const auto nullary = [](){ return 0; }; - const auto unary = [](int x){ return x; }; - using nullary_t = decltype(nullary); - using unary_t = decltype(unary); - const auto higher1st = [](nullary_t f){ return f(); }; - const auto higher2nd = [unary](nullary_t f1){ - return [unary, f1](unary_t f2){ return f2(unary(f1())); }; - }; - return higher1st(nullary) + higher2nd(nullary)(unary); - } - - } - - namespace test_variadic_templates - { - - template - struct sum; - - template - struct sum - { - static constexpr auto value = N0 + sum::value; - }; - - template <> - struct sum<> - { - static constexpr auto value = 0; - }; - - static_assert(sum<>::value == 0, ""); - static_assert(sum<1>::value == 1, ""); - static_assert(sum<23>::value == 23, ""); - static_assert(sum<1, 2>::value == 3, ""); - static_assert(sum<5, 5, 11>::value == 21, ""); - static_assert(sum<2, 3, 5, 7, 11, 13>::value == 41, ""); - - } - - // http://stackoverflow.com/questions/13728184/template-aliases-and-sfinae - // Clang 3.1 fails with headers of libstd++ 4.8.3 when using std::function - // because of this. - namespace test_template_alias_sfinae - { - - struct foo {}; - - template - using member = typename T::member_type; - - template - void func(...) {} - - template - void func(member*) {} - - void test(); - - void test() { func(0); } - - } - -} // namespace cxx11 - -#endif // __cplusplus >= 201103L - -]]) - - -dnl Tests for new features in C++14 - -m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_14], [[ - -// If the compiler admits that it is not ready for C++14, why torture it? -// Hopefully, this will speed up the test. - -#ifndef __cplusplus - -#error "This is not a C++ compiler" - -#elif __cplusplus < 201402L - -#error "This is not a C++14 compiler" - -#else - -namespace cxx14 -{ - - namespace test_polymorphic_lambdas - { - - int - test() - { - const auto lambda = [](auto&&... args){ - const auto istiny = [](auto x){ - return (sizeof(x) == 1UL) ? 1 : 0; - }; - const int aretiny[] = { istiny(args)... }; - return aretiny[0]; - }; - return lambda(1, 1L, 1.0f, '1'); - } - - } - - namespace test_binary_literals - { - - constexpr auto ivii = 0b0000000000101010; - static_assert(ivii == 42, "wrong value"); - - } - - namespace test_generalized_constexpr - { - - template < typename CharT > - constexpr unsigned long - strlen_c(const CharT *const s) noexcept - { - auto length = 0UL; - for (auto p = s; *p; ++p) - ++length; - return length; - } - - static_assert(strlen_c("") == 0UL, ""); - static_assert(strlen_c("x") == 1UL, ""); - static_assert(strlen_c("test") == 4UL, ""); - static_assert(strlen_c("another\0test") == 7UL, ""); - - } - - namespace test_lambda_init_capture - { - - int - test() - { - auto x = 0; - const auto lambda1 = [a = x](int b){ return a + b; }; - const auto lambda2 = [a = lambda1(x)](){ return a; }; - return lambda2(); - } - - } - - namespace test_digit_separators - { - - constexpr auto ten_million = 100'000'000; - static_assert(ten_million == 100000000, ""); - - } - - namespace test_return_type_deduction - { - - auto f(int& x) { return x; } - decltype(auto) g(int& x) { return x; } - - template < typename T1, typename T2 > - struct is_same - { - static constexpr auto value = false; - }; - - template < typename T > - struct is_same - { - static constexpr auto value = true; - }; - - int - test() - { - auto x = 0; - static_assert(is_same::value, ""); - static_assert(is_same::value, ""); - return x; - } - - } - -} // namespace cxx14 - -#endif // __cplusplus >= 201402L - -]]) - - -dnl Tests for new features in C++17 - -m4_define([_AX_CXX_COMPILE_STDCXX_testbody_new_in_17], [[ - -// If the compiler admits that it is not ready for C++17, why torture it? -// Hopefully, this will speed up the test. - -#ifndef __cplusplus - -#error "This is not a C++ compiler" - -#elif __cplusplus <= 201402L - -#error "This is not a C++17 compiler" - -#else - -#if defined(__clang__) - #define REALLY_CLANG -#else - #if defined(__GNUC__) - #define REALLY_GCC - #endif -#endif - -#include -#include -#include - -namespace cxx17 -{ - -#if !defined(REALLY_CLANG) - namespace test_constexpr_lambdas - { - - // TODO: test it with clang++ from git - - constexpr int foo = [](){return 42;}(); - - } -#endif // !defined(REALLY_CLANG) - - namespace test::nested_namespace::definitions - { - - } - - namespace test_fold_expression - { - - template - int multiply(Args... args) - { - return (args * ... * 1); - } - - template - bool all(Args... args) - { - return (args && ...); - } - - } - - namespace test_extended_static_assert - { - - static_assert (true); - - } - - namespace test_auto_brace_init_list - { - - auto foo = {5}; - auto bar {5}; - - static_assert(std::is_same, decltype(foo)>::value); - static_assert(std::is_same::value); - } - - namespace test_typename_in_template_template_parameter - { - - template typename X> struct D; - - } - - namespace test_fallthrough_nodiscard_maybe_unused_attributes - { - - int f1() - { - return 42; - } - - [[nodiscard]] int f2() - { - [[maybe_unused]] auto unused = f1(); - - switch (f1()) - { - case 17: - f1(); - [[fallthrough]]; - case 42: - f1(); - } - return f1(); - } - - } - - namespace test_extended_aggregate_initialization - { - - struct base1 - { - int b1, b2 = 42; - }; - - struct base2 - { - base2() { - b3 = 42; - } - int b3; - }; - - struct derived : base1, base2 - { - int d; - }; - - derived d1 {{1, 2}, {}, 4}; // full initialization - derived d2 {{}, {}, 4}; // value-initialized bases - - } - - namespace test_general_range_based_for_loop - { - - struct iter - { - int i; - - int& operator* () - { - return i; - } - - const int& operator* () const - { - return i; - } - - iter& operator++() - { - ++i; - return *this; - } - }; - - struct sentinel - { - int i; - }; - - bool operator== (const iter& i, const sentinel& s) - { - return i.i == s.i; - } - - bool operator!= (const iter& i, const sentinel& s) - { - return !(i == s); - } - - struct range - { - iter begin() const - { - return {0}; - } - - sentinel end() const - { - return {5}; - } - }; - - void f() - { - range r {}; - - for (auto i : r) - { - [[maybe_unused]] auto v = i; - } - } - - } - - namespace test_lambda_capture_asterisk_this_by_value - { - - struct t - { - int i; - int foo() - { - return [*this]() - { - return i; - }(); - } - }; - - } - - namespace test_enum_class_construction - { - - enum class byte : unsigned char - {}; - - byte foo {42}; - - } - - namespace test_constexpr_if - { - - template - int f () - { - if constexpr(cond) - { - return 13; - } - else - { - return 42; - } - } - - } - - namespace test_selection_statement_with_initializer - { - - int f() - { - return 13; - } - - int f2() - { - if (auto i = f(); i > 0) - { - return 3; - } - - switch (auto i = f(); i + 4) - { - case 17: - return 2; - - default: - return 1; - } - } - - } - -#if !defined(REALLY_CLANG) - namespace test_template_argument_deduction_for_class_templates - { - - // TODO: test it with clang++ from git - - template - struct pair - { - pair (T1 p1, T2 p2) - : m1 {p1}, - m2 {p2} - {} - - T1 m1; - T2 m2; - }; - - void f() - { - [[maybe_unused]] auto p = pair{13, 42u}; - } - - } -#endif // !defined(REALLY_CLANG) - - namespace test_non_type_auto_template_parameters - { - - template - struct B - {}; - - B<5> b1; - B<'a'> b2; - - } - -#if !defined(REALLY_CLANG) - namespace test_structured_bindings - { - - // TODO: test it with clang++ from git - - int arr[2] = { 1, 2 }; - std::pair pr = { 1, 2 }; - - auto f1() -> int(&)[2] - { - return arr; - } - - auto f2() -> std::pair& - { - return pr; - } - - struct S - { - int x1 : 2; - volatile double y1; - }; - - S f3() - { - return {}; - } - - auto [ x1, y1 ] = f1(); - auto& [ xr1, yr1 ] = f1(); - auto [ x2, y2 ] = f2(); - auto& [ xr2, yr2 ] = f2(); - const auto [ x3, y3 ] = f3(); - - } -#endif // !defined(REALLY_CLANG) - -#if !defined(REALLY_CLANG) - namespace test_exception_spec_type_system - { - - // TODO: test it with clang++ from git - - struct Good {}; - struct Bad {}; - - void g1() noexcept; - void g2(); - - template - Bad - f(T*, T*); - - template - Good - f(T1*, T2*); - - static_assert (std::is_same_v); - - } -#endif // !defined(REALLY_CLANG) - - namespace test_inline_variables - { - - template void f(T) - {} - - template inline T g(T) - { - return T{}; - } - - template<> inline void f<>(int) - {} - - template<> int g<>(int) - { - return 5; - } - - } - -} // namespace cxx17 - -#endif // __cplusplus <= 201402L - -]]) diff --git a/m4macros/ax_gcc_func_attribute.m4 b/m4macros/ax_gcc_func_attribute.m4 deleted file mode 100644 index da2b1acceb..0000000000 --- a/m4macros/ax_gcc_func_attribute.m4 +++ /dev/null @@ -1,242 +0,0 @@ -# =========================================================================== -# https://www.gnu.org/software/autoconf-archive/ax_gcc_func_attribute.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_GCC_FUNC_ATTRIBUTE(ATTRIBUTE) -# -# DESCRIPTION -# -# This macro checks if the compiler supports one of GCC's function -# attributes; many other compilers also provide function attributes with -# the same syntax. Compiler warnings are used to detect supported -# attributes as unsupported ones are ignored by default so quieting -# warnings when using this macro will yield false positives. -# -# The ATTRIBUTE parameter holds the name of the attribute to be checked. -# -# If ATTRIBUTE is supported define HAVE_FUNC_ATTRIBUTE_. -# -# The macro caches its result in the ax_cv_have_func_attribute_ -# variable. -# -# The macro currently supports the following function attributes: -# -# alias -# aligned -# alloc_size -# always_inline -# artificial -# cold -# const -# constructor -# constructor_priority for constructor attribute with priority -# deprecated -# destructor -# dllexport -# dllimport -# error -# externally_visible -# fallthrough -# flatten -# format -# format_arg -# gnu_format -# gnu_inline -# hot -# ifunc -# leaf -# malloc -# noclone -# noinline -# nonnull -# noreturn -# nothrow -# optimize -# pure -# sentinel -# sentinel_position -# unused -# used -# visibility -# warning -# warn_unused_result -# weak -# weakref -# -# Unsupported function attributes will be tested with a prototype -# returning an int and not accepting any arguments and the result of the -# check might be wrong or meaningless so use with care. -# -# LICENSE -# -# Copyright (c) 2013 Gabriele Svelto -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty provided the copyright notice -# and this notice are preserved. This file is offered as-is, without any -# warranty. - -#serial 12 - -AC_DEFUN([AX_GCC_FUNC_ATTRIBUTE], [ - AS_VAR_PUSHDEF([ac_var], [ax_cv_have_func_attribute_$1]) - - AC_CACHE_CHECK([for __attribute__(($1))], [ac_var], [ - AC_LINK_IFELSE([AC_LANG_PROGRAM([ - m4_case([$1], - [alias], [ - int foo( void ) { return 0; } - int bar( void ) __attribute__(($1("foo"))); - ], - [aligned], [ - int foo( void ) __attribute__(($1(32))); - ], - [alloc_size], [ - void *foo(int a) __attribute__(($1(1))); - ], - [always_inline], [ - inline __attribute__(($1)) int foo( void ) { return 0; } - ], - [artificial], [ - inline __attribute__(($1)) int foo( void ) { return 0; } - ], - [cold], [ - int foo( void ) __attribute__(($1)); - ], - [const], [ - int foo( void ) __attribute__(($1)); - ], - [constructor_priority], [ - int foo( void ) __attribute__((__constructor__(65535/2))); - ], - [constructor], [ - int foo( void ) __attribute__(($1)); - ], - [deprecated], [ - int foo( void ) __attribute__(($1(""))); - ], - [destructor], [ - int foo( void ) __attribute__(($1)); - ], - [dllexport], [ - __attribute__(($1)) int foo( void ) { return 0; } - ], - [dllimport], [ - int foo( void ) __attribute__(($1)); - ], - [error], [ - int foo( void ) __attribute__(($1(""))); - ], - [externally_visible], [ - int foo( void ) __attribute__(($1)); - ], - [fallthrough], [ - int foo( void ) {switch (0) { case 1: __attribute__(($1)); case 2: break ; }}; - ], - [flatten], [ - int foo( void ) __attribute__(($1)); - ], - [format], [ - int foo(const char *p, ...) __attribute__(($1(printf, 1, 2))); - ], - [gnu_format], [ - int foo(const char *p, ...) __attribute__((format(gnu_printf, 1, 2))); - ], - [format_arg], [ - char *foo(const char *p) __attribute__(($1(1))); - ], - [gnu_inline], [ - inline __attribute__(($1)) int foo( void ) { return 0; } - ], - [hot], [ - int foo( void ) __attribute__(($1)); - ], - [ifunc], [ - int my_foo( void ) { return 0; } - static int (*resolve_foo(void))(void) { return my_foo; } - int foo( void ) __attribute__(($1("resolve_foo"))); - ], - [leaf], [ - __attribute__(($1)) int foo( void ) { return 0; } - ], - [malloc], [ - void *foo( void ) __attribute__(($1)); - ], - [noclone], [ - int foo( void ) __attribute__(($1)); - ], - [noinline], [ - __attribute__(($1)) int foo( void ) { return 0; } - ], - [nonnull], [ - int foo(char *p) __attribute__(($1(1))); - ], - [noreturn], [ - void foo( void ) __attribute__(($1)); - ], - [nothrow], [ - int foo( void ) __attribute__(($1)); - ], - [optimize], [ - __attribute__(($1(3))) int foo( void ) { return 0; } - ], - [pure], [ - int foo( void ) __attribute__(($1)); - ], - [sentinel], [ - int foo(void *p, ...) __attribute__(($1)); - ], - [sentinel_position], [ - int foo(void *p, ...) __attribute__(($1(1))); - ], - [returns_nonnull], [ - void *foo( void ) __attribute__(($1)); - ], - [unused], [ - int foo( void ) __attribute__(($1)); - ], - [used], [ - int foo( void ) __attribute__(($1)); - ], - [visibility], [ - int foo_def( void ) __attribute__(($1("default"))); - int foo_hid( void ) __attribute__(($1("hidden"))); - int foo_int( void ) __attribute__(($1("internal"))); - int foo_pro( void ) __attribute__(($1("protected"))); - ], - [warning], [ - int foo( void ) __attribute__(($1(""))); - ], - [warn_unused_result], [ - int foo( void ) __attribute__(($1)); - ], - [weak], [ - int foo( void ) __attribute__(($1)); - ], - [weakref], [ - static int foo( void ) { return 0; } - static int bar( void ) __attribute__(($1("foo"))); - ], - [ - m4_warn([syntax], [Unsupported attribute $1, the test may fail]) - int foo( void ) __attribute__(($1)); - ] - )], []) - ], - dnl GCC doesn't exit with an error if an unknown attribute is - dnl provided but only outputs a warning, so accept the attribute - dnl only if no warning were issued. - [AS_IF([grep -- -Wattributes conftest.err], - [AS_VAR_SET([ac_var], [no])], - [AS_VAR_SET([ac_var], [yes])])], - [AS_VAR_SET([ac_var], [no])]) - ]) - - AS_IF([test yes = AS_VAR_GET([ac_var])], - [AC_DEFINE_UNQUOTED(AS_TR_CPP(HAVE_FUNC_ATTRIBUTE_$1), 1, - [Define to 1 if the system has the `$1' function attribute])], []) - - AS_VAR_POPDEF([ac_var]) -]) diff --git a/m4macros/ax_prog_cc_for_build.m4 b/m4macros/ax_prog_cc_for_build.m4 deleted file mode 100644 index 12cb005a50..0000000000 --- a/m4macros/ax_prog_cc_for_build.m4 +++ /dev/null @@ -1,125 +0,0 @@ -# =========================================================================== -# https://www.gnu.org/software/autoconf-archive/ax_prog_cc_for_build.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_PROG_CC_FOR_BUILD -# -# DESCRIPTION -# -# This macro searches for a C compiler that generates native executables, -# that is a C compiler that surely is not a cross-compiler. This can be -# useful if you have to generate source code at compile-time like for -# example GCC does. -# -# The macro sets the CC_FOR_BUILD and CPP_FOR_BUILD macros to anything -# needed to compile or link (CC_FOR_BUILD) and preprocess (CPP_FOR_BUILD). -# The value of these variables can be overridden by the user by specifying -# a compiler with an environment variable (like you do for standard CC). -# -# It also sets BUILD_EXEEXT and BUILD_OBJEXT to the executable and object -# file extensions for the build platform, and GCC_FOR_BUILD to `yes' if -# the compiler we found is GCC. All these variables but GCC_FOR_BUILD are -# substituted in the Makefile. -# -# LICENSE -# -# Copyright (c) 2008 Paolo Bonzini -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty provided the copyright notice -# and this notice are preserved. This file is offered as-is, without any -# warranty. - -#serial 9 - -AU_ALIAS([AC_PROG_CC_FOR_BUILD], [AX_PROG_CC_FOR_BUILD]) -AC_DEFUN([AX_PROG_CC_FOR_BUILD], [dnl -AC_REQUIRE([AC_PROG_CC])dnl -AC_REQUIRE([AC_PROG_CPP])dnl -AC_REQUIRE([AC_EXEEXT])dnl -AC_REQUIRE([AC_CANONICAL_HOST])dnl - -dnl Use the standard macros, but make them use other variable names -dnl -pushdef([ac_cv_prog_CPP], ac_cv_build_prog_CPP)dnl -pushdef([ac_cv_prog_gcc], ac_cv_build_prog_gcc)dnl -pushdef([ac_cv_prog_cc_works], ac_cv_build_prog_cc_works)dnl -pushdef([ac_cv_prog_cc_cross], ac_cv_build_prog_cc_cross)dnl -pushdef([ac_cv_prog_cc_g], ac_cv_build_prog_cc_g)dnl -pushdef([ac_cv_exeext], ac_cv_build_exeext)dnl -pushdef([ac_cv_objext], ac_cv_build_objext)dnl -pushdef([ac_exeext], ac_build_exeext)dnl -pushdef([ac_objext], ac_build_objext)dnl -pushdef([CC], CC_FOR_BUILD)dnl -pushdef([CPP], CPP_FOR_BUILD)dnl -pushdef([CFLAGS], CFLAGS_FOR_BUILD)dnl -pushdef([CPPFLAGS], CPPFLAGS_FOR_BUILD)dnl -pushdef([LDFLAGS], LDFLAGS_FOR_BUILD)dnl -pushdef([host], build)dnl -pushdef([host_alias], build_alias)dnl -pushdef([host_cpu], build_cpu)dnl -pushdef([host_vendor], build_vendor)dnl -pushdef([host_os], build_os)dnl -pushdef([ac_cv_host], ac_cv_build)dnl -pushdef([ac_cv_host_alias], ac_cv_build_alias)dnl -pushdef([ac_cv_host_cpu], ac_cv_build_cpu)dnl -pushdef([ac_cv_host_vendor], ac_cv_build_vendor)dnl -pushdef([ac_cv_host_os], ac_cv_build_os)dnl -pushdef([ac_cpp], ac_build_cpp)dnl -pushdef([ac_compile], ac_build_compile)dnl -pushdef([ac_link], ac_build_link)dnl - -save_cross_compiling=$cross_compiling -save_ac_tool_prefix=$ac_tool_prefix -cross_compiling=no -ac_tool_prefix= - -AC_PROG_CC -AC_PROG_CPP -AC_EXEEXT - -ac_tool_prefix=$save_ac_tool_prefix -cross_compiling=$save_cross_compiling - -dnl Restore the old definitions -dnl -popdef([ac_link])dnl -popdef([ac_compile])dnl -popdef([ac_cpp])dnl -popdef([ac_cv_host_os])dnl -popdef([ac_cv_host_vendor])dnl -popdef([ac_cv_host_cpu])dnl -popdef([ac_cv_host_alias])dnl -popdef([ac_cv_host])dnl -popdef([host_os])dnl -popdef([host_vendor])dnl -popdef([host_cpu])dnl -popdef([host_alias])dnl -popdef([host])dnl -popdef([LDFLAGS])dnl -popdef([CPPFLAGS])dnl -popdef([CFLAGS])dnl -popdef([CPP])dnl -popdef([CC])dnl -popdef([ac_objext])dnl -popdef([ac_exeext])dnl -popdef([ac_cv_objext])dnl -popdef([ac_cv_exeext])dnl -popdef([ac_cv_prog_cc_g])dnl -popdef([ac_cv_prog_cc_cross])dnl -popdef([ac_cv_prog_cc_works])dnl -popdef([ac_cv_prog_gcc])dnl -popdef([ac_cv_prog_CPP])dnl - -dnl Finally, set Makefile variables -dnl -BUILD_EXEEXT=$ac_build_exeext -BUILD_OBJEXT=$ac_build_objext -AC_SUBST(BUILD_EXEEXT)dnl -AC_SUBST(BUILD_OBJEXT)dnl -AC_SUBST([CFLAGS_FOR_BUILD])dnl -AC_SUBST([CPPFLAGS_FOR_BUILD])dnl -AC_SUBST([LDFLAGS_FOR_BUILD])dnl -]) diff --git a/m4macros/ax_prog_perl_version.m4 b/m4macros/ax_prog_perl_version.m4 deleted file mode 100644 index 46a8a4e6ab..0000000000 --- a/m4macros/ax_prog_perl_version.m4 +++ /dev/null @@ -1,70 +0,0 @@ -# =========================================================================== -# https://www.gnu.org/software/autoconf-archive/ax_prog_perl_version.html -# =========================================================================== -# -# SYNOPSIS -# -# AX_PROG_PERL_VERSION([VERSION],[ACTION-IF-TRUE],[ACTION-IF-FALSE]) -# -# DESCRIPTION -# -# Makes sure that perl supports the version indicated. If true the shell -# commands in ACTION-IF-TRUE are executed. If not the shell commands in -# ACTION-IF-FALSE are run. Note if $PERL is not set (for example by -# running AC_CHECK_PROG or AC_PATH_PROG) the macro will fail. -# -# Example: -# -# AC_PATH_PROG([PERL],[perl]) -# AX_PROG_PERL_VERSION([5.8.0],[ ... ],[ ... ]) -# -# This will check to make sure that the perl you have supports at least -# version 5.8.0. -# -# NOTE: This macro uses the $PERL variable to perform the check. -# AX_WITH_PERL can be used to set that variable prior to running this -# macro. The $PERL_VERSION variable will be valorized with the detected -# version. -# -# LICENSE -# -# Copyright (c) 2009 Francesco Salvestrini -# -# Copying and distribution of this file, with or without modification, are -# permitted in any medium without royalty provided the copyright notice -# and this notice are preserved. This file is offered as-is, without any -# warranty. - -#serial 13 - -AC_DEFUN([AX_PROG_PERL_VERSION],[ - AC_REQUIRE([AC_PROG_SED]) - AC_REQUIRE([AC_PROG_GREP]) - - AS_IF([test -n "$PERL"],[ - ax_perl_version="$1" - - AC_MSG_CHECKING([for perl version]) - changequote(<<,>>) - perl_version=`$PERL --version 2>&1 \ - | $SED -n -e '/This is perl/b inspect -b -: inspect -s/.* (\{0,1\}v\([0-9]*\.[0-9]*\.[0-9]*\))\{0,1\} .*/\1/;p'` - changequote([,]) - AC_MSG_RESULT($perl_version) - - AC_SUBST([PERL_VERSION],[$perl_version]) - - AX_COMPARE_VERSION([$ax_perl_version],[le],[$perl_version],[ - : - $2 - ],[ - : - $3 - ]) - ],[ - AC_MSG_WARN([could not find the perl interpreter]) - $3 - ]) -]) diff --git a/m4macros/detectcflags.m4 b/m4macros/detectcflags.m4 deleted file mode 100644 index ee33456a1d..0000000000 --- a/m4macros/detectcflags.m4 +++ /dev/null @@ -1,20 +0,0 @@ -dnl GIMP_DETECT_CFLAGS(RESULT, FLAGSET) -dnl Detect if the compiler supports a set of flags - -AC_DEFUN([GIMP_DETECT_CFLAGS], -[ - $1= - for flag in $2; do - if test -z "[$]$1"; then - $1_save_CFLAGS="$CFLAGS" - CFLAGS="$CFLAGS -Werror $flag" - AC_MSG_CHECKING([whether [$]CC understands [$]flag]) - AC_TRY_COMPILE([], [], [$1_works=yes], [$1_works=no]) - AC_MSG_RESULT([$]$1_works) - CFLAGS="[$]$1_save_CFLAGS" - if test "x[$]$1_works" = "xyes"; then - $1="$flag" - fi - fi - done -]) diff --git a/m4macros/gimp-3.0.m4 b/m4macros/gimp-3.0.m4 deleted file mode 100644 index 47e51375ae..0000000000 --- a/m4macros/gimp-3.0.m4 +++ /dev/null @@ -1,180 +0,0 @@ -# Configure paths for GIMP-3.0 -# Manish Singh, Sven Neumann -# Large parts shamelessly stolen from Owen Taylor - -dnl AM_PATH_GIMP_3_0([MINIMUM-VERSION, [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]]) -dnl Test for GIMP, and define GIMP_CFLAGS and GIMP_LIBS -dnl -AC_DEFUN([AM_PATH_GIMP_3_0], -[dnl -dnl Get the cflags and libraries from pkg-config -dnl - -AC_ARG_ENABLE(gimptest, [ --disable-gimptest do not try to compile and run a test GIMP program],, enable_gimptest=yes) - - pkg_name=gimp-3.0 - pkg_config_args="$pkg_name gimpui-3.0" - - no_gimp="" - - AC_PATH_PROG(PKG_CONFIG, pkg-config, no) - - if test x$PKG_CONFIG != xno ; then - if pkg-config --atleast-pkgconfig-version 0.7 ; then - : - else - echo *** pkg-config too old; version 0.7 or better required. - no_gimp=yes - PKG_CONFIG=no - fi - else - no_gimp=yes - fi - - min_gimp_version=ifelse([$1], ,3.0.0,$1) - AC_MSG_CHECKING(for GIMP - version >= $min_gimp_version) - - if test x$PKG_CONFIG != xno ; then - ## don't try to run the test against uninstalled libtool libs - if $PKG_CONFIG --uninstalled $pkg_config_args; then - echo "Will use uninstalled version of GIMP found in PKG_CONFIG_PATH" - enable_gimptest=no - fi - - if $PKG_CONFIG --atleast-version $min_gimp_version $pkg_config_args; then - : - else - no_gimp=yes - fi - fi - - if test x"$no_gimp" = x ; then - GIMP_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags` - GIMP_LIBS=`$PKG_CONFIG $pkg_config_args --libs` - GIMP_CFLAGS_NOUI=`$PKG_CONFIG $pkg_name --cflags` - GIMP_LIBS_NOUI=`$PKG_CONFIG $pkg_name --libs` - GIMP_DATA_DIR=`$PKG_CONFIG $pkg_name --variable=gimpdatadir` - GIMP_PLUGIN_DIR=`$PKG_CONFIG $pkg_name --variable=gimplibdir` - - gimp_pkg_major_version=`$PKG_CONFIG --modversion $pkg_name | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\1/'` - gimp_pkg_minor_version=`$PKG_CONFIG --modversion $pkg_name | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\2/'` - gimp_pkg_micro_version=`$PKG_CONFIG --modversion $pkg_name | \ - sed 's/\([[0-9]]*\).\([[0-9]]*\).\([[0-9]]*\)/\3/'` - if test "x$enable_gimptest" = "xyes" ; then - ac_save_CFLAGS="$CFLAGS" - ac_save_LIBS="$LIBS" - CFLAGS="$CFLAGS $GIMP_CFLAGS" - LIBS="$GIMP_LIBS $LIBS" - -dnl -dnl Now check if the installed GIMP is sufficiently new. (Also sanity -dnl checks the results of pkg-config to some extent -dnl - rm -f conf.gimptest - AC_TRY_RUN([ -#include -#include - -#include - -GimpPlugInInfo PLUG_IN_INFO = -{ - NULL, /* init_proc */ - NULL, /* quit_proc */ - NULL, /* query_proc */ - NULL /* run_proc */ -}; - -int main () -{ - int major, minor, micro; - char *tmp_version; - - system ("touch conf.gimptest"); - - /* HP/UX 9 (%@#!) writes to sscanf strings */ - tmp_version = g_strdup("$min_gimp_version"); - if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) { - printf("%s, bad version string\n", "$min_gimp_version"); - exit(1); - } - - if (($gimp_pkg_major_version > major) || - (($gimp_pkg_major_version == major) && ($gimp_pkg_minor_version > minor)) || - (($gimp_pkg_major_version == major) && ($gimp_pkg_minor_version == minor) && ($gimp_pkg_micro_version >= micro))) - { - return 0; - } - else - { - printf("\n*** 'pkg-config --modversion %s' returned %d.%d.%d, but the minimum version\n", "$pkg_name", $gimp_pkg_major_version, $gimp_pkg_minor_version, $gimp_pkg_micro_version); - printf("*** of GIMP required is %d.%d.%d. If pkg-config is correct, then it is\n", major, minor, micro); - printf("*** best to upgrade to the required version.\n"); - printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n"); - printf("*** to point to the correct the correct configuration files\n"); - return 1; - } -} - -],, no_gimp=yes,[echo $ac_n "cross compiling; assumed OK... $ac_c"]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - if test "x$no_gimp" = x ; then - AC_MSG_RESULT(yes (version $gimp_pkg_major_version.$gimp_pkg_minor_version.$gimp_pkg_micro_version)) - ifelse([$2], , :, [$2]) - else - if test "$PKG_CONFIG" = "no" ; then - echo "*** A new enough version of pkg-config was not found." - echo "*** See http://www.freedesktop.org/software/pkgconfig/" - else - if test -f conf.gimptest ; then - : - else - echo "*** Could not run GIMP test program, checking why..." - CFLAGS="$CFLAGS $GIMP_CFLAGS" - LIBS="$LIBS $GIMP_LIBS" - AC_TRY_LINK([ -#include -#include - -GimpPlugInInfo PLUG_IN_INFO = -{ - NULL, /* init_proc */ - NULL, /* quit_proc */ - NULL, /* query_proc */ - NULL /* run_proc */ -}; -], [ return 0; ], - [ echo "*** The test program compiled, but did not run. This usually means" - echo "*** that the run-time linker is not finding GIMP or finding the wrong" - echo "*** version of GIMP. If it is not finding GIMP, you'll need to set your" - echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point" - echo "*** to the installed location Also, make sure you have run ldconfig if that" - echo "*** is required on your system" - echo "***" - echo "*** If you have an old version installed, it is best to remove it, although" - echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"], - [ echo "*** The test program failed to compile or link. See the file config.log for the" - echo "*** exact error that occurred. This usually means GIMP is incorrectly installed."]) - CFLAGS="$ac_save_CFLAGS" - LIBS="$ac_save_LIBS" - fi - fi - GIMP_CFLAGS="" - GIMP_LIBS="" - GIMP_CFLAGS_NOUI="" - GIMP_LIBS_NOUI="" - ifelse([$3], , :, [$3]) - fi - AC_SUBST(GIMP_CFLAGS) - AC_SUBST(GIMP_LIBS) - AC_SUBST(GIMP_CFLAGS_NOUI) - AC_SUBST(GIMP_LIBS_NOUI) - AC_SUBST(GIMP_DATA_DIR) - AC_SUBST(GIMP_PLUGIN_DIR) - rm -f conf.gimptest -]) diff --git a/m4macros/introspection.m4 b/m4macros/introspection.m4 deleted file mode 100644 index d89c3d907d..0000000000 --- a/m4macros/introspection.m4 +++ /dev/null @@ -1,96 +0,0 @@ -dnl -*- mode: autoconf -*- -dnl Copyright 2009 Johan Dahlin -dnl -dnl This file is free software; the author(s) gives unlimited -dnl permission to copy and/or distribute it, with or without -dnl modifications, as long as this notice is preserved. -dnl - -# serial 1 - -m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL], -[ - AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first - AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first - AC_BEFORE([LT_INIT],[$0])dnl setup libtool first - - dnl enable/disable introspection - m4_if([$2], [require], - [dnl - enable_introspection=yes - ],[dnl - AC_ARG_ENABLE(introspection, - AS_HELP_STRING([--enable-introspection[=@<:@no/auto/yes@:>@]], - [Enable introspection for this build]),, - [enable_introspection=auto]) - ])dnl - - AC_MSG_CHECKING([for gobject-introspection]) - - dnl presence/version checking - AS_CASE([$enable_introspection], - [no], [dnl - found_introspection="no (disabled, use --enable-introspection to enable)" - ],dnl - [yes],[dnl - PKG_CHECK_EXISTS([gobject-introspection-1.0],, - AC_MSG_ERROR([gobject-introspection-1.0 is not installed])) - PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], - found_introspection=yes, - AC_MSG_ERROR([You need to have gobject-introspection >= $1 installed to build AC_PACKAGE_NAME])) - ],dnl - [auto],[dnl - PKG_CHECK_EXISTS([gobject-introspection-1.0 >= $1], found_introspection=yes, found_introspection=no) - dnl Canonicalize enable_introspection - enable_introspection=$found_introspection - ],dnl - [dnl - AC_MSG_ERROR([invalid argument passed to --enable-introspection, should be one of @<:@no/auto/yes@:>@]) - ])dnl - - AC_MSG_RESULT([$found_introspection]) - - INTROSPECTION_SCANNER= - INTROSPECTION_COMPILER= - INTROSPECTION_GENERATE= - INTROSPECTION_GIRDIR= - INTROSPECTION_TYPELIBDIR= - if test "x$found_introspection" = "xyes"; then - INTROSPECTION_SCANNER=`$PKG_CONFIG --variable=g_ir_scanner gobject-introspection-1.0` - INTROSPECTION_COMPILER=`$PKG_CONFIG --variable=g_ir_compiler gobject-introspection-1.0` - INTROSPECTION_GENERATE=`$PKG_CONFIG --variable=g_ir_generate gobject-introspection-1.0` - INTROSPECTION_GIRDIR=`$PKG_CONFIG --variable=girdir gobject-introspection-1.0` - INTROSPECTION_TYPELIBDIR="$($PKG_CONFIG --variable=typelibdir gobject-introspection-1.0)" - INTROSPECTION_CFLAGS=`$PKG_CONFIG --cflags gobject-introspection-1.0` - INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0` - INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection - fi - AC_SUBST(INTROSPECTION_SCANNER) - AC_SUBST(INTROSPECTION_COMPILER) - AC_SUBST(INTROSPECTION_GENERATE) - AC_SUBST(INTROSPECTION_GIRDIR) - AC_SUBST(INTROSPECTION_TYPELIBDIR) - AC_SUBST(INTROSPECTION_CFLAGS) - AC_SUBST(INTROSPECTION_LIBS) - AC_SUBST(INTROSPECTION_MAKEFILE) - - AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$found_introspection" = "xyes") -]) - - -dnl Usage: -dnl GOBJECT_INTROSPECTION_CHECK([minimum-g-i-version]) - -AC_DEFUN([GOBJECT_INTROSPECTION_CHECK], -[ - _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1]) -]) - -dnl Usage: -dnl GOBJECT_INTROSPECTION_REQUIRE([minimum-g-i-version]) - - -AC_DEFUN([GOBJECT_INTROSPECTION_REQUIRE], -[ - _GOBJECT_INTROSPECTION_CHECK_INTERNAL([$1], [require]) -]) diff --git a/m4macros/meson.build b/m4macros/meson.build deleted file mode 100644 index 3f1455cbca..0000000000 --- a/m4macros/meson.build +++ /dev/null @@ -1,5 +0,0 @@ -install_data([ - gimp_api_name + '.m4', - ], - install_dir: get_option('datadir') / 'aclocal', -) diff --git a/m4macros/python3dev.m4 b/m4macros/python3dev.m4 deleted file mode 100644 index 44e0aff9cc..0000000000 --- a/m4macros/python3dev.m4 +++ /dev/null @@ -1,263 +0,0 @@ -# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008, 2009, -# 2011 Free Software Foundation, Inc. -# -# This file is free software; the Free Software Foundation -# gives unlimited permission to copy and/or distribute it, -# with or without modifications, as long as this notice is preserved. - -# AM_PATH_PYTHON3([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) -# --------------------------------------------------------------------------- -# Adds support for distributing Python modules and packages. To -# install modules, copy them to $(pythondir), using the python_PYTHON -# automake variable. To install a package with the same name as the -# automake package, install to $(pkgpythondir), or use the -# pkgpython_PYTHON automake variable. -# -# The variables $(pyexecdir) and $(pkgpyexecdir) are provided as -# locations to install python extension modules (shared libraries). -# Another macro is required to find the appropriate flags to compile -# extension modules. -# -# If your package is configured with a different prefix to python, -# users will have to add the install directory to the PYTHONPATH -# environment variable, or create a .pth file (see the python -# documentation for details). -# -# If the MINIMUM-VERSION argument is passed, AM_PATH_PYTHON3 will -# cause an error if the version of python installed on the system -# doesn't meet the requirement. MINIMUM-VERSION should consist of -# numbers and dots only. -# -# AM_PATH_PYTHON3 is based on AM_PATH_PYTHON but will search only -# Python 3 locations. -AC_DEFUN([AM_PATH_PYTHON3], - [ - dnl Find a Python3 interpreter. - m4_define_default([_AM_PYTHON_INTERPRETER_LIST], -[python3 python]) - - AC_ARG_VAR([PYTHON], [the Python interpreter]) - - m4_if([$1],[],[ - dnl No version check is needed. - # Find any Python interpreter. - if test -z "$PYTHON"; then - AC_PATH_PROGS([PYTHON], _AM_PYTHON_INTERPRETER_LIST, :) - fi - am_display_PYTHON=python - ], [ - dnl A version check is needed. - if test -n "$PYTHON"; then - # If the user set $PYTHON, use it and don't search something else. - AC_MSG_CHECKING([whether $PYTHON version >= $1]) - AM_PYTHON3_CHECK_VERSION([$PYTHON], [$1], - [AC_MSG_RESULT(yes)], - [AC_MSG_ERROR(too old)]) - am_display_PYTHON=$PYTHON - else - # Otherwise, try each interpreter until we find one that satisfies - # VERSION. - AC_CACHE_CHECK([for a Python 3 interpreter with version >= $1], - [am_cv_pathless_PYTHON],[ - for am_cv_pathless_PYTHON in _AM_PYTHON_INTERPRETER_LIST none; do - test "$am_cv_pathless_PYTHON" = none && break - AM_PYTHON3_CHECK_VERSION([$am_cv_pathless_PYTHON], [$1], [break]) - done]) - # Set $PYTHON to the absolute path of $am_cv_pathless_PYTHON. - if test "$am_cv_pathless_PYTHON" = none; then - PYTHON=: - else - AC_PATH_PROG([PYTHON], [$am_cv_pathless_PYTHON]) - fi - am_display_PYTHON=$am_cv_pathless_PYTHON - fi - ]) - - if test "$PYTHON" = :; then - dnl Run any user-specified action, or abort. - m4_default([$3], [AC_MSG_ERROR([no suitable Python interpreter found])]) - else - - dnl Query Python for its version number. Getting [:3] seems to be - dnl the best way to do this; it's what "site.py" does in the standard - dnl library. - - AC_CACHE_CHECK([for $am_display_PYTHON version], [am_cv_python_version], - [am_cv_python_version=`$PYTHON -c "import sys; sys.stdout.write(sys.version[[:3]])"`]) - AC_SUBST([PYTHON_VERSION], [$am_cv_python_version]) - - dnl Use the values of $prefix and $exec_prefix for the corresponding - dnl values of PYTHON_PREFIX and PYTHON_EXEC_PREFIX. These are made - dnl distinct variables so they can be overridden if need be. However, - dnl general consensus is that you shouldn't need this ability. - - AC_SUBST([PYTHON_PREFIX], ['${prefix}']) - AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}']) - - dnl At times (like when building shared libraries) you may want - dnl to know which OS platform Python thinks this is. - - AC_CACHE_CHECK([for $am_display_PYTHON platform], [am_cv_python_platform], - [am_cv_python_platform=`$PYTHON -c "import sys; sys.stdout.write(sys.platform)"`]) - AC_SUBST([PYTHON_PLATFORM], [$am_cv_python_platform]) - - - dnl Set up 4 directories: - - dnl pythondir -- where to install python scripts. This is the - dnl site-packages directory, not the python standard library - dnl directory like in previous automake betas. This behavior - dnl is more consistent with lispdir.m4 for example. - dnl Query distutils for this directory. - AC_CACHE_CHECK([for $am_display_PYTHON script directory], - [am_cv_python_pythondir], - [if test "x$prefix" = xNONE - then - am_py_prefix=$ac_default_prefix - else - am_py_prefix=$prefix - fi - am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null` - case $am_cv_python_pythondir in - $am_py_prefix*) - am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'` - am_cv_python_pythondir=`echo "$am_cv_python_pythondir" | sed "s,^$am__strip_prefix,$PYTHON_PREFIX,"` - ;; - *) - case $am_py_prefix in - /usr|/System*) ;; - *) - am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages - ;; - esac - ;; - esac - ]) - AC_SUBST([pythondir], [$am_cv_python_pythondir]) - - dnl pkgpythondir -- $PACKAGE directory under pythondir. Was - dnl PYTHON_SITE_PACKAGE in previous betas, but this naming is - dnl more consistent with the rest of automake. - - AC_SUBST([pkgpythondir], [\${pythondir}/$PACKAGE]) - - dnl pyexecdir -- directory for installing python extension modules - dnl (shared libraries) - dnl Query distutils for this directory. - AC_CACHE_CHECK([for $am_display_PYTHON extension module directory], - [am_cv_python_pyexecdir], - [if test "x$exec_prefix" = xNONE - then - am_py_exec_prefix=$am_py_prefix - else - am_py_exec_prefix=$exec_prefix - fi - am_cv_python_pyexecdir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(1,0,prefix='$am_py_exec_prefix'))" 2>/dev/null` - case $am_cv_python_pyexecdir in - $am_py_exec_prefix*) - am__strip_prefix=`echo "$am_py_exec_prefix" | sed 's|.|.|g'` - am_cv_python_pyexecdir=`echo "$am_cv_python_pyexecdir" | sed "s,^$am__strip_prefix,$PYTHON_EXEC_PREFIX,"` - ;; - *) - case $am_py_exec_prefix in - /usr|/System*) ;; - *) - am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages - ;; - esac - ;; - esac - ]) - AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir]) - - dnl pkgpyexecdir -- $(pyexecdir)/$(PACKAGE) - - AC_SUBST([pkgpyexecdir], [\${pyexecdir}/$PACKAGE]) - - dnl Run any user-specified action. - $2 - fi - -]) - - -# AM_PYTHON_CHECK_PYGOBJECT(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) -# --------------------------------------------------------------------------- -# Run ACTION-IF-TRUE if PyGObject is present and at least VERSION. -# Run ACTION-IF-FALSE otherwise. -# This supports any version of Python. -AC_DEFUN([AM_PYTHON_CHECK_PYGOBJECT], - [prog="import sys, gi -version = '3.0' -if '$2' != '': - version = '$2' -sys.exit(gi.check_version(version))" - AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) - - -# AM_PYTHON3_CHECK_VERSION(PROG, VERSION, [ACTION-IF-TRUE], [ACTION-IF-FALSE]) -# --------------------------------------------------------------------------- -# Run ACTION-IF-TRUE if the Python interpreter PROG has version >= VERSION -# and version == 3. -# Run ACTION-IF-FALSE otherwise. -# This test uses sys.hexversion instead of the string equivalent (first -# word of sys.version), in order to cope with versions such as 2.2c1. -# This supports Python 3.0 or higher. -# -# Based on AM_PYTHON_CHECK_VERSION but for Python 3 only. -AC_DEFUN([AM_PYTHON3_CHECK_VERSION], - [prog="import sys -# split strings by '.' and convert to numeric. Append some zeros -# because we need at least 4 digits for the hex conversion. -# map returns an iterator in Python 3.0 and a list in 2.x -# minver = list(map(int, '$2'.split('.'))) + [[0, 0, 0]] -minver = list(map(int, '$2'.split('.'))) -minverhex = 0 -# xrange is not present in Python 3.0 and range returns an iterator. -# python2dev had minver[[i]] but that raises -# TypeError: list indices must be integers or slices, not list -# for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i] -for v in minver: minverhex = (minverhex << 8) + v -# sys.version_info.major only available since Python 2.7. -# use sys.version_info[0] instead. -# Double the square brackets for M4 syntax. -# sys.exit(sys.version_info[[0]] != 3 or sys.hexversion < minverhex) -sys.exit(sys.version_info[[0]] != 3 or (sys.hexversion >> 8) < minverhex)" - AS_IF([AM_RUN_LOG([$1 -c "$prog"])], [$3], [$4])]) - - - -## Find the install dirs for the python installation. -## By James Henstridge - -dnl a macro to check for ability to create python extensions -dnl AM_CHECK_PYTHON_HEADERS([ACTION-IF-POSSIBLE], [ACTION-IF-NOT-POSSIBLE]) -dnl function also defines PYTHON_INCLUDES -AC_DEFUN([AM_CHECK_PYTHON_HEADERS], -[AC_REQUIRE([AM_PATH_PYTHON3]) -AC_MSG_CHECKING(for headers required to compile python extensions) -dnl deduce PYTHON_INCLUDES -py_prefix=`$PYTHON -c "import sys; print(sys.prefix)"` -py_exec_prefix=`$PYTHON -c "import sys; print(sys.exec_prefix)"` -PYTHON_INCLUDES=`$PKG_CONFIG --cflags-only-I python-${PYTHON_VERSION}` -if test "$py_prefix" != "$py_exec_prefix"; then - py_versiondir="${py_exec_prefix}/include/python${PYTHON_VERSION}" - dnl Win32 doesn't always have a versioned directory for headers - if test "$PYTHON_PLATFORM" = "win32"; then - if test -d "${py_versiondir}" ; then - py_versiondir=${py_exec_prefix}/include - fi - fi - PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_versiondir}" -fi -AC_SUBST(PYTHON_INCLUDES) -dnl check if the headers exist: -save_CPPFLAGS="$CPPFLAGS" -CPPFLAGS="$CPPFLAGS $PYTHON_INCLUDES" -AC_TRY_CPP([#include ],dnl -[AC_MSG_RESULT(found) -$1],dnl -[AC_MSG_RESULT(not found) -$2]) -CPPFLAGS="$save_CPPFLAGS" -]) diff --git a/m4macros/vapigen.m4 b/m4macros/vapigen.m4 deleted file mode 100644 index f2df12f23f..0000000000 --- a/m4macros/vapigen.m4 +++ /dev/null @@ -1,96 +0,0 @@ -dnl vapigen.m4 -dnl -dnl Copyright 2012 Evan Nemerson -dnl -dnl This library is free software; you can redistribute it and/or -dnl modify it under the terms of the GNU Lesser General Public -dnl License as published by the Free Software Foundation; either -dnl version 2.1 of the License, or (at your option) any later version. -dnl -dnl This library is distributed in the hope that it will be useful, -dnl but WITHOUT ANY WARRANTY; without even the implied warranty of -dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -dnl Lesser General Public License for more details. -dnl -dnl You should have received a copy of the GNU Lesser General Public -dnl License along with this library; if not, write to the Free Software -dnl Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - -# VAPIGEN_CHECK([VERSION], [API_VERSION], [FOUND-INTROSPECTION], [DEFAULT]) -# -------------------------------------- -# Check vapigen existence and version -# -# See http://live.gnome.org/Vala/UpstreamGuide for detailed documentation -AC_DEFUN([VAPIGEN_CHECK], -[ - AC_BEFORE([GOBJECT_INTROSPECTION_CHECK],[$0]) - AC_BEFORE([GOBJECT_INTROSPECTION_REQUIRE],[$0]) - - AC_ARG_ENABLE([vala], - [AS_HELP_STRING([--enable-vala[=@<:@no/auto/yes@:>@]],[build Vala bindings @<:@default=]ifelse($4,,auto,$4)[@:>@])],,[ - AS_IF([test "x$4" = "x"], [ - enable_vala=auto - ], [ - enable_vala=$4 - ]) - ]) - - AS_CASE([$enable_vala], [no], [enable_vala=no], - [yes], [ - AS_IF([test "x$3" != "xyes" -a "x$found_introspection" != "xyes"], [ - AC_MSG_ERROR([Vala bindings require GObject Introspection]) - ]) - ], [auto], [ - AS_IF([test "x$3" != "xyes" -a "x$found_introspection" != "xyes"], [ - enable_vala=no - ]) - ], [ - AC_MSG_ERROR([Invalid argument passed to --enable-vala, should be one of @<:@no/auto/yes@:>@]) - ]) - - AS_IF([test "x$2" = "x"], [ - vapigen_pkg_name=vapigen - ], [ - vapigen_pkg_name=vapigen-$2 - ]) - AS_IF([test "x$1" = "x"], [ - vapigen_pkg="$vapigen_pkg_name" - ], [ - vapigen_pkg="$vapigen_pkg_name >= $1" - ]) - - PKG_PROG_PKG_CONFIG - - PKG_CHECK_EXISTS([$vapigen_pkg], [ - AS_IF([test "$enable_vala" = "auto"], [ - enable_vala=yes - ]) - ], [ - AS_CASE([$enable_vala], [yes], [ - AC_MSG_ERROR([$vapigen_pkg not found]) - ], [auto], [ - enable_vala=no - ]) - ]) - - AC_MSG_CHECKING([for vala]) - - AS_CASE([$enable_vala], - [yes], [ - VAPIGEN=`$PKG_CONFIG --variable=vapigen vapigen` - VAPIGEN_MAKEFILE=`$PKG_CONFIG --variable=datadir vapigen`/vala/Makefile.vapigen - AS_IF([test "x$2" = "x"], [ - VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir vapigen` - ], [ - VAPIGEN_VAPIDIR=`$PKG_CONFIG --variable=vapidir_versioned vapigen` - ]) - ]) - - AC_MSG_RESULT([$enable_vala]) - - AC_SUBST([VAPIGEN]) - AC_SUBST([VAPIGEN_VAPIDIR]) - AC_SUBST([VAPIGEN_MAKEFILE]) - - AM_CONDITIONAL(ENABLE_VAPIGEN, test "x$enable_vala" = "xyes") -]) diff --git a/menus/.gitignore b/menus/.gitignore deleted file mode 100644 index d8ffc8f72c..0000000000 --- a/menus/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/Makefile -/Makefile.in -/dockable-menu.ui -/image-menu.ui diff --git a/menus/Makefile.am b/menus/Makefile.am deleted file mode 100644 index acaa1a27c4..0000000000 --- a/menus/Makefile.am +++ /dev/null @@ -1,100 +0,0 @@ -## Makefile.am for gimp/menus - -menudatadir = $(gimpdatadir)/menus - -menudata_in_files = \ - dockable-menu.ui.in.in \ - image-menu.ui.in.in - -menudata_intermediate_files = $(menudata_in_files:.ui.in.in=.ui.in) -menudata_built_files = $(menudata_in_files:.ui.in.in=.ui) - -menudata_DATA = \ - $(menudata_built_files) \ - app-menu.ui \ - brush-editor-menu.ui \ - brushes-menu.ui \ - buffers-menu.ui \ - channels-menu.ui \ - colormap-menu.ui \ - cursor-info-menu.ui \ - dashboard-menu.ui \ - documents-menu.ui \ - dynamics-editor-menu.ui \ - dynamics-menu.ui \ - error-console-menu.ui \ - fonts-menu.ui \ - gradient-editor-menu.ui \ - gradients-menu.ui \ - images-menu.ui \ - layers-menu.ui \ - mypaint-brushes-menu.ui \ - palette-editor-menu.ui \ - palettes-menu.ui \ - patterns-menu.ui \ - tool-preset-editor-menu.ui \ - tool-presets-menu.ui \ - quick-mask-menu.ui \ - sample-points-menu.ui \ - selection-menu.ui \ - templates-menu.ui \ - text-editor-toolbar.ui \ - text-tool-menu.ui \ - tool-options-menu.ui \ - undo-menu.ui \ - vector-toolpath-menu.ui \ - vectors-menu.ui - -EXTRA_DIST = \ - $(menudata_DATA) \ - $(menudata_in_files) \ - dialogs-menuitems.ui.in \ - gtkuimanager.dtd \ - menus.xsl - -CLEANFILES = $(menudata_built_files) \ - $(menudata_intermediate_files) \ - dialogs-dialogs-menuitems.ui \ - dockable-dialogs-menuitems.ui - - -if GIMP_UNSTABLE -UNSTABLE_MENU_PARAMS = --stringparam unstable-menus yes -endif - -SUFFIXES = .ui.in.in .ui - -%-dialogs-menuitems.ui: dialogs-menuitems.ui.in - sed 's/@GROUP@/$*/' $< > $@ - -dockable-menu.ui.in: dockable-menu.ui.in.in - sed 's/@GROUP@/dockable/' $< > $@ - -image-menu.ui.in: image-menu.ui.in.in - sed 's/@GROUP@/dialogs/' $< > $@ - -# Adding a `realpath` because xsltproc adds an xml:base attribute when the path -# is absolute. This breaks our parsing at runtime. -image-menu.ui: image-menu.ui.in dialogs-dialogs-menuitems.ui $(srcdir)/menus.xsl $(top_srcdir)/configure.ac -if HAVE_XSLTPROC - $(XSLTPROC) --xinclude $(UNSTABLE_MENU_PARAMS) $(srcdir)/menus.xsl "`realpath --relative-to=. $<`" > $(@) || rm -f $(@) -else - @echo "*** xsltproc is required to build the menus XML files ***"; exit 1; -endif - -dockable-menu.ui: dockable-menu.ui.in dockable-dialogs-menuitems.ui $(srcdir)/menus.xsl $(top_srcdir)/configure.ac -if HAVE_XSLTPROC - $(XSLTPROC) --xinclude $(UNSTABLE_MENU_PARAMS) $(srcdir)/menus.xsl "`realpath --relative-to=. $<`" > $(@) || rm -f $(@) -else - @echo "*** xsltproc is required to build the menus XML files ***"; exit 1; -endif - -validate: $(menudata_DATA) -if HAVE_XMLLINT - @for menu in $^; do \ - $(XMLLINT) --noout --path $(srcdir) $$menu || \ - ( echo "*** $$menu INVALID ***"; exit 1; ) ; \ - done -endif - -dist-hook: validate diff --git a/meson.build b/meson.build index 6100fcf3e8..c87ae08b78 100644 --- a/meson.build +++ b/meson.build @@ -1829,7 +1829,6 @@ subdir('data') subdir('desktop') subdir('etc') subdir('icons') -subdir('m4macros') subdir('menus') subdir('themes') diff --git a/modules/.gitignore b/modules/.gitignore deleted file mode 100644 index 3c08dc30e2..0000000000 --- a/modules/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -/Makefile.in -/Makefile -/makefile.mingw -/.deps -/*.lo -/_libs -/.libs -/*.la diff --git a/modules/Makefile.am b/modules/Makefile.am deleted file mode 100644 index ac8ac66ede..0000000000 --- a/modules/Makefile.am +++ /dev/null @@ -1,108 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la - -if PLATFORM_WIN32 -no_undefined = -no-undefined -endif - -libdir = $(gimpplugindir)/modules - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GEGL_CFLAGS) \ - $(GTK_CFLAGS) \ - -I$(includedir) - -if PLATFORM_WIN32 -else -controller_midi_module = libcontroller-midi.la -endif - -if HAVE_LINUX_INPUT -controller_linux_input_module = libcontroller-linux-input.la -endif - -if HAVE_DX_DINPUT -controller_dx_dinput_module = libcontroller-dx-dinput.la -endif - -lib_LTLIBRARIES = \ - libcolor-selector-cmyk.la \ - libcolor-selector-water.la \ - libcolor-selector-wheel.la \ - libdisplay-filter-clip-warning.la \ - libdisplay-filter-color-blind.la \ - libdisplay-filter-aces-rrt.la \ - libdisplay-filter-gamma.la \ - libdisplay-filter-high-contrast.la \ - $(controller_midi_module) \ - $(controller_linux_input_module) \ - $(controller_dx_dinput_module) - - -modules_libadd = $(libgimpmodule) $(libgimpwidgets) $(GTK_LIBS) - -color_selector_libadd = $(libgimpconfig) $(libgimpcolor) $(modules_libadd) $(BABL_LIBS) -display_filter_libadd = $(libgimpbase) $(libgimpconfig) $(libgimpcolor) $(modules_libadd) $(GEGL_LIBS) -controller_libadd = $(modules_libadd) - -libcolor_selector_cmyk_la_SOURCES = color-selector-cmyk.c -libcolor_selector_cmyk_la_LDFLAGS = -avoid-version -module $(no_undefined) -libcolor_selector_cmyk_la_LIBADD = $(libgimpconfig) $(color_selector_libadd) - -libcolor_selector_water_la_SOURCES = color-selector-water.c -libcolor_selector_water_la_LDFLAGS = -avoid-version -module $(no_undefined) -libcolor_selector_water_la_LIBADD = $(color_selector_libadd) - -libcolor_selector_wheel_la_SOURCES = color-selector-wheel.c gimpcolorwheel.c gimpcolorwheel.h -libcolor_selector_wheel_la_LDFLAGS = -avoid-version -module $(no_undefined) -libcolor_selector_wheel_la_LIBADD = $(color_selector_libadd) - -libdisplay_filter_clip_warning_la_SOURCES = display-filter-clip-warning.c -libdisplay_filter_clip_warning_la_LDFLAGS = -avoid-version -module $(no_undefined) -libdisplay_filter_clip_warning_la_LIBADD = $(display_filter_libadd) - -libdisplay_filter_color_blind_la_SOURCES = display-filter-color-blind.c -libdisplay_filter_color_blind_la_LDFLAGS = -avoid-version -module $(no_undefined) -libdisplay_filter_color_blind_la_LIBADD = $(display_filter_libadd) - - -libdisplay_filter_aces_rrt_la_SOURCES = display-filter-aces-rrt.c -libdisplay_filter_aces_rrt_la_LDFLAGS = -avoid-version -module $(no_undefined) -libdisplay_filter_aces_rrt_la_LIBADD = $(display_filter_libadd) - -libdisplay_filter_gamma_la_SOURCES = display-filter-gamma.c -libdisplay_filter_gamma_la_LDFLAGS = -avoid-version -module $(no_undefined) -libdisplay_filter_gamma_la_LIBADD = $(display_filter_libadd) - -libdisplay_filter_high_contrast_la_SOURCES = display-filter-high-contrast.c -libdisplay_filter_high_contrast_la_LDFLAGS = -avoid-version -module $(no_undefined) -libdisplay_filter_high_contrast_la_LIBADD = $(display_filter_libadd) - -libcontroller_linux_input_la_SOURCES = \ - gimpinputdevicestore-gudev.c \ - gimpinputdevicestore.h \ - controller-linux-input.c -libcontroller_linux_input_la_CFLAGS = $(GUDEV_CFLAGS) -libcontroller_linux_input_la_LDFLAGS = -avoid-version -module $(no_undefined) -libcontroller_linux_input_la_LIBADD = \ - $(controller_libadd) $(GUDEV_LIBS) - -libcontroller_dx_dinput_la_SOURCES = \ - gimpinputdevicestore-dx.c \ - gimpinputdevicestore.h \ - controller-dx-dinput.c -# Use -Wl to avoid libtool lossage -libcontroller_dx_dinput_la_LDFLAGS = -avoid-version -module $(no_undefined) -Wl,-ldinput8 -Wl,-ldxguid -libcontroller_dx_dinput_la_LIBADD = \ - $(controller_libadd) -lrpcrt4 - -libcontroller_midi_la_SOURCES = controller-midi.c -libcontroller_midi_la_CFLAGS = $(ALSA_CFLAGS) -libcontroller_midi_la_LDFLAGS = -avoid-version -module $(no_undefined) -libcontroller_midi_la_LIBADD = $(controller_libadd) $(ALSA_LIBS) diff --git a/pdb/.gitignore b/pdb/.gitignore deleted file mode 100644 index 0463004d07..0000000000 --- a/pdb/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/Makefile -/Makefile.in -/stamp-enums -/stamp-groups -/stamp-pdbgen -/stamp-enum-code diff --git a/pdb/Makefile.am b/pdb/Makefile.am deleted file mode 100644 index 8e8275e325..0000000000 --- a/pdb/Makefile.am +++ /dev/null @@ -1,154 +0,0 @@ -PDBGEN_BACKUP = 0 -PDBGEN_GROUPS = - -pdb_groups = \ - groups/brush.pdb \ - groups/brush_select.pdb \ - groups/brushes.pdb \ - groups/buffer.pdb \ - groups/channel.pdb \ - groups/context.pdb \ - groups/debug.pdb \ - groups/display.pdb \ - groups/drawable.pdb \ - groups/drawable_color.pdb \ - groups/drawable_edit.pdb \ - groups/dynamics.pdb \ - groups/edit.pdb \ - groups/file.pdb \ - groups/floating_sel.pdb \ - groups/font.pdb \ - groups/font_select.pdb \ - groups/fonts.pdb \ - groups/gimp.pdb \ - groups/gimprc.pdb \ - groups/gradient.pdb \ - groups/gradient_select.pdb \ - groups/gradients.pdb \ - groups/help.pdb \ - groups/image.pdb \ - groups/image_color_profile.pdb \ - groups/image_convert.pdb \ - groups/image_grid.pdb \ - groups/image_guides.pdb \ - groups/image_sample_points.pdb \ - groups/image_select.pdb \ - groups/image_transform.pdb \ - groups/image_undo.pdb \ - groups/item.pdb \ - groups/item_transform.pdb \ - groups/layer.pdb \ - groups/message.pdb \ - groups/paint_tools.pdb \ - groups/palette.pdb \ - groups/palette_select.pdb \ - groups/palettes.pdb \ - groups/pattern.pdb \ - groups/pattern_select.pdb \ - groups/patterns.pdb \ - groups/pdb.pdb \ - groups/plug_in.pdb \ - groups/plug_in_compat.pdb \ - groups/progress.pdb \ - groups/selection.pdb \ - groups/text_layer.pdb \ - groups/text_tool.pdb \ - groups/unit.pdb \ - groups/vectors.pdb - -EXTRA_DIST = \ - README \ - README_NEW_PDB_PROC \ - app.pl \ - enumcode.pl \ - enumgen.pl \ - enums.pl \ - enums-external.pl \ - groups.pl \ - lib.pl \ - pdb.pl \ - pdbgen.pl \ - stddefs.pdb \ - util.pl \ - $(pdb_groups) - -enum_headers = \ - ../libgimpbase/gimpbaseenums.h \ - ../libgimpconfig/gimpconfigenums.h \ - ../app/operations/operations-enums.h \ - ../app/core/core-enums.h \ - ../app/paint/paint-enums.h - -pdb_scripts = \ - pdbgen.pl \ - stddefs.pdb \ - pdb.pl \ - util.pl \ - enums.pl \ - groups.pl - -enum_deps = \ - enums.pl \ - $(srcdir)/util.pl - -pdbgen_deps = \ - $(enum_deps) \ - $(srcdir)/app.pl \ - $(srcdir)/lib.pl \ - $(srcdir)/pdb.pl \ - $(srcdir)/stddefs.pdb \ - $(srcdir)/pdbgen.pl - -stamp_files = \ - stamp-enums \ - stamp-groups \ - stamp-pdbgen.h \ - stamp-enum-code \ - stamp-enum-code-py - -DISTCLEANFILES = $(stamp_files) - -$(srcdir)/enums.pl: stamp-enums - @: -stamp-enums: $(srcdir)/enumgen.pl $(enum_headers) enums-external.pl Makefile.am - rootme=`pwd`; \ - destdir=`cd $(top_srcdir) && pwd`; export destdir; \ - builddir=`cd $(top_builddir) && pwd`; export builddir; \ - cd $(srcdir) && $(PERL) enumgen.pl $(enum_headers) \ - && echo timestamp > $$rootme/stamp-enums - -$(srcdir)/groups.pl: stamp-groups - @: -stamp-groups: Makefile.am - rootme=`pwd`; cd $(srcdir) \ - && echo "# This file is autogenerated" > $$rootme/groups.pl.tmp \ - && echo "@groups = qw(" >> $$rootme/groups.pl.tmp \ - && (for pdb in $(pdb_groups); do \ - group=`echo $$pdb | sed -e 's%groups/\([^.]*\)\..*%\1%'`; \ - echo " $$group" >> $$rootme/groups.pl.tmp; \ - done) \ - && echo ");" >> $$rootme/groups.pl.tmp \ - && (cmp -s $$rootme/groups.pl.tmp groups.pl || \ - cp $$rootme/groups.pl.tmp groups.pl) \ - && rm $$rootme/groups.pl.tmp \ - && echo timestamp > $$rootme/stamp-groups - -stamp-pdbgen.h: $(pdbgen_deps) $(pdb_scripts) $(pdb_groups) Makefile.am - rootme=`pwd`; \ - destdir=`cd $(top_srcdir) && pwd`; export destdir; \ - builddir=`cd $(top_builddir) && pwd`; export builddir; \ - cd $(srcdir) && \ - PDBGEN_BACKUP=$(PDBGEN_BACKUP) PDBGEN_GROUPS=$(PDBGEN_GROUPS) \ - $(PERL) pdbgen.pl app lib \ - && echo "/* Generated on `date`. */" > $$rootme/stamp-pdbgen.h - -stamp-enum-code: $(srcdir)/enumcode.pl $(enum_deps) - rootme=`pwd`; \ - destdir=`cd $(top_srcdir) && pwd`; export destdir; \ - builddir=`cd $(top_builddir) && pwd`; export builddir; \ - cd $(srcdir) && \ - PDBGEN_BACKUP=$(PDBGEN_BACKUP) \ - $(PERL) enumcode.pl \ - && echo timestamp > $$rootme/stamp-enum-code - -all-local: stamp-pdbgen.h stamp-enum-code diff --git a/plug-ins/.gitignore b/plug-ins/.gitignore deleted file mode 100644 index 983f916522..0000000000 --- a/plug-ins/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/Makefile.in -/Makefile -/makefile.mingw -/build diff --git a/plug-ins/Makefile.am b/plug-ins/Makefile.am deleted file mode 100644 index efb1673f34..0000000000 --- a/plug-ins/Makefile.am +++ /dev/null @@ -1,62 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if HAVE_WEBKIT -help_browser = help-browser -endif - -if HAVE_OPENEXR -file_exr = file-exr -endif - -if BUILD_PRINT -print = print -endif - -if BUILD_PYTHON -python = python -endif - -if OS_WIN32 -twain = twain -endif - -if HAVE_WEBP -file_webp = file-webp -endif - -SUBDIRS = \ - script-fu \ - file-bmp \ - $(file_darktable) \ - file-dds \ - $(file_exr) \ - file-faxg3 \ - file-fits \ - file-fli \ - file-icns \ - file-ico \ - file-jpeg \ - file-psd \ - file-raw \ - file-sgi \ - file-tiff \ - $(file_webp) \ - flame \ - fractal-explorer \ - gfig \ - gimpressionist \ - gradient-flare \ - help \ - $(help_browser) \ - ifs-compose \ - imagemap \ - lighting \ - map-object \ - metadata \ - pagecurl \ - $(print) \ - $(python) \ - screenshot \ - selection-to-path \ - $(twain) \ - common diff --git a/plug-ins/common/.gitignore b/plug-ins/common/.gitignore deleted file mode 100644 index e15b7582ac..0000000000 --- a/plug-ins/common/.gitignore +++ /dev/null @@ -1,158 +0,0 @@ -/.deps -/.libs -/Makefile -/Makefile.in -/align-layers -/align-layers.exe -/animation-optimize -/animation-optimize.exe -/animation-play -/animation-play.exe -/blinds -/blinds.exe -/border-average -/border-average.exe -/busy-dialog -/busy-dialog.exe -/checkerboard -/checkerboard.exe -/cml-explorer -/cml-explorer.exe -/colormap-remap -/colormap-remap.exe -/compose -/compose.exe -/contrast-retinex -/contrast-retinex.exe -/crop-zealous -/crop-zealous.exe -/curve-bend -/curve-bend.exe -/decompose -/decompose.exe -/depth-merge -/depth-merge.exe -/despeckle -/despeckle.exe -/destripe -/destripe.exe -/file-aa -/file-aa.exe -/file-cel -/file-cel.exe -/file-compressor -/file-compressor.exe -/file-csource -/file-csource.exe -/file-desktop-link -/file-desktop-link.exe -/file-dicom -/file-dicom.exe -/file-gbr -/file-gbr.exe -/file-gegl -/file-gegl.exe -/file-gif-load -/file-gif-load.exe -/file-gif-save -/file-gif-save.exe -/file-gih -/file-gih.exe -/file-glob -/file-glob.exe -/file-header -/file-header.exe -/file-heif -/file-heif.exe -/file-html-table -/file-html-table.exe -/file-jp2-load -/file-jp2-load.exe -/file-jpegxl -/file-jpegxl.exe -/file-mng -/file-mng.exe -/file-pat -/file-pat.exe -/file-pcx -/file-pcx.exe -/file-pdf-load -/file-pdf-load.exe -/file-pdf-save -/file-pdf-save.exe -/file-pix -/file-pix.exe -/file-png -/file-png.exe -/file-pnm -/file-pnm.exe -/file-ps -/file-ps.exe -/file-psp -/file-psp.exe -/file-raw-data -/file-raw-data.exe -/file-sunras -/file-sunras.exe -/file-svg -/file-svg.exe -/file-tga -/file-tga.exe -/file-wbmp -/file-wbmp.exe -/file-wmf -/file-wmf.exe -/file-xbm -/file-xbm.exe -/file-xmc -/file-xmc.exe -/file-xpm -/file-xpm.exe -/file-xwd -/file-xwd.exe -/film -/film.exe -/gradient-map -/gradient-map.exe -/grid -/grid.exe -/guillotine -/guillotine.exe -/hot -/hot.exe -/jigsaw -/jigsaw.exe -/mail -/mail.exe -/nl-filter -/nl-filter.exe -/plugin-browser -/plugin-browser.exe -/procedure-browser -/procedure-browser.exe -/qbist -/qbist.exe -/sample-colorize -/sample-colorize.exe -/smooth-palette -/smooth-palette.exe -/sparkle -/sparkle.exe -/sphere-designer -/sphere-designer.exe -/tile -/tile.exe -/tile-small -/tile-small.exe -/unit-editor -/unit-editor.exe -/van-gogh-lic -/van-gogh-lic.exe -/warp -/warp.exe -/wavelet-decompose -/wavelet-decompose.exe -/web-browser -/web-browser.exe -/web-page -/web-page.exe diff --git a/plug-ins/common/Makefile.am b/plug-ins/common/Makefile.am deleted file mode 100644 index 095a489677..0000000000 --- a/plug-ins/common/Makefile.am +++ /dev/null @@ -1,1644 +0,0 @@ - - -## --------------------------------------------------------- -## This file is autogenerated by mkgen.pl and plugin-defs.pl -## --------------------------------------------------------- - -## Modify those two files instead of this one; for most -## plug-ins you should only need to modify plugin-defs.pl. - -if OS_WIN32 -mwindows = -mwindows -else -libm = -lm -endif - -if PLATFORM_OSX -xobjective_c = "-xobjective-c" -framework_cocoa = -framework Cocoa -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -include gimprc.common -endif - -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la $(libm) -libgimpmodule = $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la - - -AM_LDFLAGS = $(mwindows) - -EXTRA_DIST = \ - mkgen.pl \ - plugin-defs.pl \ - gimprc.common - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -align_layers_libexecdir = $(gimpplugindir)/plug-ins/align-layers -animation_optimize_libexecdir = $(gimpplugindir)/plug-ins/animation-optimize -animation_play_libexecdir = $(gimpplugindir)/plug-ins/animation-play -blinds_libexecdir = $(gimpplugindir)/plug-ins/blinds -border_average_libexecdir = $(gimpplugindir)/plug-ins/border-average -busy_dialog_libexecdir = $(gimpplugindir)/plug-ins/busy-dialog -checkerboard_libexecdir = $(gimpplugindir)/plug-ins/checkerboard -cml_explorer_libexecdir = $(gimpplugindir)/plug-ins/cml-explorer -colormap_remap_libexecdir = $(gimpplugindir)/plug-ins/colormap-remap -compose_libexecdir = $(gimpplugindir)/plug-ins/compose -contrast_retinex_libexecdir = $(gimpplugindir)/plug-ins/contrast-retinex -crop_zealous_libexecdir = $(gimpplugindir)/plug-ins/crop-zealous -curve_bend_libexecdir = $(gimpplugindir)/plug-ins/curve-bend -decompose_libexecdir = $(gimpplugindir)/plug-ins/decompose -depth_merge_libexecdir = $(gimpplugindir)/plug-ins/depth-merge -despeckle_libexecdir = $(gimpplugindir)/plug-ins/despeckle -destripe_libexecdir = $(gimpplugindir)/plug-ins/destripe -file_aa_libexecdir = $(gimpplugindir)/plug-ins/file-aa -file_cel_libexecdir = $(gimpplugindir)/plug-ins/file-cel -file_compressor_libexecdir = $(gimpplugindir)/plug-ins/file-compressor -file_csource_libexecdir = $(gimpplugindir)/plug-ins/file-csource -file_desktop_link_libexecdir = $(gimpplugindir)/plug-ins/file-desktop-link -file_dicom_libexecdir = $(gimpplugindir)/plug-ins/file-dicom -file_gbr_libexecdir = $(gimpplugindir)/plug-ins/file-gbr -file_gegl_libexecdir = $(gimpplugindir)/plug-ins/file-gegl -file_gif_load_libexecdir = $(gimpplugindir)/plug-ins/file-gif-load -file_gif_save_libexecdir = $(gimpplugindir)/plug-ins/file-gif-save -file_gih_libexecdir = $(gimpplugindir)/plug-ins/file-gih -file_glob_libexecdir = $(gimpplugindir)/plug-ins/file-glob -file_header_libexecdir = $(gimpplugindir)/plug-ins/file-header -file_heif_libexecdir = $(gimpplugindir)/plug-ins/file-heif -file_html_table_libexecdir = $(gimpplugindir)/plug-ins/file-html-table -file_jp2_load_libexecdir = $(gimpplugindir)/plug-ins/file-jp2-load -file_jpegxl_libexecdir = $(gimpplugindir)/plug-ins/file-jpegxl -file_mng_libexecdir = $(gimpplugindir)/plug-ins/file-mng -file_pat_libexecdir = $(gimpplugindir)/plug-ins/file-pat -file_pcx_libexecdir = $(gimpplugindir)/plug-ins/file-pcx -file_pdf_load_libexecdir = $(gimpplugindir)/plug-ins/file-pdf-load -file_pdf_save_libexecdir = $(gimpplugindir)/plug-ins/file-pdf-save -file_pix_libexecdir = $(gimpplugindir)/plug-ins/file-pix -file_png_libexecdir = $(gimpplugindir)/plug-ins/file-png -file_pnm_libexecdir = $(gimpplugindir)/plug-ins/file-pnm -file_ps_libexecdir = $(gimpplugindir)/plug-ins/file-ps -file_psp_libexecdir = $(gimpplugindir)/plug-ins/file-psp -file_raw_data_libexecdir = $(gimpplugindir)/plug-ins/file-raw-data -file_sunras_libexecdir = $(gimpplugindir)/plug-ins/file-sunras -file_svg_libexecdir = $(gimpplugindir)/plug-ins/file-svg -file_tga_libexecdir = $(gimpplugindir)/plug-ins/file-tga -file_wbmp_libexecdir = $(gimpplugindir)/plug-ins/file-wbmp -file_wmf_libexecdir = $(gimpplugindir)/plug-ins/file-wmf -file_xbm_libexecdir = $(gimpplugindir)/plug-ins/file-xbm -file_xmc_libexecdir = $(gimpplugindir)/plug-ins/file-xmc -file_xpm_libexecdir = $(gimpplugindir)/plug-ins/file-xpm -file_xwd_libexecdir = $(gimpplugindir)/plug-ins/file-xwd -film_libexecdir = $(gimpplugindir)/plug-ins/film -gradient_map_libexecdir = $(gimpplugindir)/plug-ins/gradient-map -grid_libexecdir = $(gimpplugindir)/plug-ins/grid -guillotine_libexecdir = $(gimpplugindir)/plug-ins/guillotine -hot_libexecdir = $(gimpplugindir)/plug-ins/hot -jigsaw_libexecdir = $(gimpplugindir)/plug-ins/jigsaw -mail_libexecdir = $(gimpplugindir)/plug-ins/mail -nl_filter_libexecdir = $(gimpplugindir)/plug-ins/nl-filter -plugin_browser_libexecdir = $(gimpplugindir)/plug-ins/plugin-browser -procedure_browser_libexecdir = $(gimpplugindir)/plug-ins/procedure-browser -qbist_libexecdir = $(gimpplugindir)/plug-ins/qbist -sample_colorize_libexecdir = $(gimpplugindir)/plug-ins/sample-colorize -smooth_palette_libexecdir = $(gimpplugindir)/plug-ins/smooth-palette -sparkle_libexecdir = $(gimpplugindir)/plug-ins/sparkle -sphere_designer_libexecdir = $(gimpplugindir)/plug-ins/sphere-designer -tile_libexecdir = $(gimpplugindir)/plug-ins/tile -tile_small_libexecdir = $(gimpplugindir)/plug-ins/tile-small -unit_editor_libexecdir = $(gimpplugindir)/plug-ins/unit-editor -van_gogh_lic_libexecdir = $(gimpplugindir)/plug-ins/van-gogh-lic -warp_libexecdir = $(gimpplugindir)/plug-ins/warp -wavelet_decompose_libexecdir = $(gimpplugindir)/plug-ins/wavelet-decompose -web_browser_libexecdir = $(gimpplugindir)/plug-ins/web-browser -web_page_libexecdir = $(gimpplugindir)/plug-ins/web-page - - -align_layers_libexec_PROGRAMS = align-layers -animation_optimize_libexec_PROGRAMS = animation-optimize -animation_play_libexec_PROGRAMS = animation-play -blinds_libexec_PROGRAMS = blinds -border_average_libexec_PROGRAMS = border-average -busy_dialog_libexec_PROGRAMS = busy-dialog -checkerboard_libexec_PROGRAMS = checkerboard -cml_explorer_libexec_PROGRAMS = cml-explorer -colormap_remap_libexec_PROGRAMS = colormap-remap -compose_libexec_PROGRAMS = compose -contrast_retinex_libexec_PROGRAMS = contrast-retinex -crop_zealous_libexec_PROGRAMS = crop-zealous -curve_bend_libexec_PROGRAMS = curve-bend -decompose_libexec_PROGRAMS = decompose -depth_merge_libexec_PROGRAMS = depth-merge -despeckle_libexec_PROGRAMS = despeckle -destripe_libexec_PROGRAMS = destripe -file_aa_libexec_PROGRAMS = $(FILE_AA) -file_cel_libexec_PROGRAMS = file-cel -file_compressor_libexec_PROGRAMS = file-compressor -file_csource_libexec_PROGRAMS = file-csource -file_desktop_link_libexec_PROGRAMS = file-desktop-link -file_dicom_libexec_PROGRAMS = file-dicom -file_gbr_libexec_PROGRAMS = file-gbr -file_gegl_libexec_PROGRAMS = file-gegl -file_gif_load_libexec_PROGRAMS = file-gif-load -file_gif_save_libexec_PROGRAMS = file-gif-save -file_gih_libexec_PROGRAMS = file-gih -file_glob_libexec_PROGRAMS = file-glob -file_header_libexec_PROGRAMS = file-header -file_heif_libexec_PROGRAMS = $(FILE_HEIF) -file_html_table_libexec_PROGRAMS = file-html-table -file_jp2_load_libexec_PROGRAMS = $(FILE_JP2_LOAD) -file_jpegxl_libexec_PROGRAMS = $(FILE_JPEGXL) -file_mng_libexec_PROGRAMS = $(FILE_MNG) -file_pat_libexec_PROGRAMS = file-pat -file_pcx_libexec_PROGRAMS = file-pcx -file_pdf_load_libexec_PROGRAMS = file-pdf-load -file_pdf_save_libexec_PROGRAMS = $(FILE_PDF_SAVE) -file_pix_libexec_PROGRAMS = file-pix -file_png_libexec_PROGRAMS = file-png -file_pnm_libexec_PROGRAMS = file-pnm -file_ps_libexec_PROGRAMS = $(FILE_PS) -file_psp_libexec_PROGRAMS = file-psp -file_raw_data_libexec_PROGRAMS = file-raw-data -file_sunras_libexec_PROGRAMS = file-sunras -file_svg_libexec_PROGRAMS = file-svg -file_tga_libexec_PROGRAMS = file-tga -file_wbmp_libexec_PROGRAMS = file-wbmp -file_wmf_libexec_PROGRAMS = $(FILE_WMF) -file_xbm_libexec_PROGRAMS = file-xbm -file_xmc_libexec_PROGRAMS = $(FILE_XMC) -file_xpm_libexec_PROGRAMS = $(FILE_XPM) -file_xwd_libexec_PROGRAMS = file-xwd -film_libexec_PROGRAMS = film -gradient_map_libexec_PROGRAMS = gradient-map -grid_libexec_PROGRAMS = grid -guillotine_libexec_PROGRAMS = guillotine -hot_libexec_PROGRAMS = hot -jigsaw_libexec_PROGRAMS = jigsaw -mail_libexec_PROGRAMS = $(MAIL) -nl_filter_libexec_PROGRAMS = nl-filter -plugin_browser_libexec_PROGRAMS = plugin-browser -procedure_browser_libexec_PROGRAMS = procedure-browser -qbist_libexec_PROGRAMS = qbist -sample_colorize_libexec_PROGRAMS = sample-colorize -smooth_palette_libexec_PROGRAMS = smooth-palette -sparkle_libexec_PROGRAMS = sparkle -sphere_designer_libexec_PROGRAMS = sphere-designer -tile_libexec_PROGRAMS = tile -tile_small_libexec_PROGRAMS = tile-small -unit_editor_libexec_PROGRAMS = unit-editor -van_gogh_lic_libexec_PROGRAMS = van-gogh-lic -warp_libexec_PROGRAMS = warp -wavelet_decompose_libexec_PROGRAMS = wavelet-decompose -web_browser_libexec_PROGRAMS = web-browser -web_page_libexec_PROGRAMS = $(WEB_PAGE) - - -EXTRA_PROGRAMS = \ - file-aa \ - file-heif \ - file-jp2-load \ - file-jpegxl \ - file-mng \ - file-pdf-save \ - file-ps \ - file-wmf \ - file-xmc \ - file-xpm \ - mail \ - web-page - -install-%: % - @$(NORMAL_INSTALL) - $(mkinstalldirs) $(DESTDIR)$(gimpplugindir)/plug-ins/$< - @p=$<; p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \ - if test -f $$p \ - || test -f $$p1 \ - ; then \ - f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(gimpplugindir)/plug-ins/$$p/$$f"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $$p $(DESTDIR)$(gimpplugindir)/plug-ins/$$p/$$f || exit 1; \ - else :; fi - -align_layers_SOURCES = \ - align-layers.c - -align_layers_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(align_layers_RC) - -animation_optimize_SOURCES = \ - animation-optimize.c - -animation_optimize_LDADD = \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(CAIRO_LIBS) \ - $(GDK_PIXBUF_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(animation_optimize_RC) - -animation_play_SOURCES = \ - animation-play.c - -animation_play_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(animation_play_RC) - -blinds_SOURCES = \ - blinds.c - -blinds_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(blinds_RC) - -border_average_SOURCES = \ - border-average.c - -border_average_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(border_average_RC) - -busy_dialog_SOURCES = \ - busy-dialog.c - -busy_dialog_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(busy_dialog_RC) - -checkerboard_SOURCES = \ - checkerboard.c - -checkerboard_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(checkerboard_RC) - -cml_explorer_SOURCES = \ - cml-explorer.c - -cml_explorer_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(cml_explorer_RC) - -colormap_remap_SOURCES = \ - colormap-remap.c - -colormap_remap_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(colormap_remap_RC) - -compose_SOURCES = \ - compose.c - -compose_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(compose_RC) - -contrast_retinex_SOURCES = \ - contrast-retinex.c - -contrast_retinex_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(contrast_retinex_RC) - -crop_zealous_SOURCES = \ - crop-zealous.c - -crop_zealous_LDADD = \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(CAIRO_LIBS) \ - $(GDK_PIXBUF_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(crop_zealous_RC) - -curve_bend_SOURCES = \ - curve-bend.c - -curve_bend_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(curve_bend_RC) - -decompose_SOURCES = \ - decompose.c - -decompose_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(decompose_RC) - -depth_merge_SOURCES = \ - depth-merge.c - -depth_merge_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(depth_merge_RC) - -despeckle_SOURCES = \ - despeckle.c - -despeckle_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(despeckle_RC) - -destripe_SOURCES = \ - destripe.c - -destripe_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(destripe_RC) - -file_aa_SOURCES = \ - file-aa.c - -file_aa_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(AA_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_aa_RC) - -file_cel_SOURCES = \ - file-cel.c - -file_cel_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_cel_RC) - -file_compressor_CFLAGS = $(LZMA_CFLAGS) - -file_compressor_SOURCES = \ - file-compressor.c - -file_compressor_LDADD = \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(CAIRO_LIBS) \ - $(GDK_PIXBUF_LIBS) \ - $(GIO_LIBS) \ - $(LZMA_LIBS) \ - $(BZIP2_LIBS) \ - $(Z_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_compressor_RC) - -file_csource_SOURCES = \ - file-csource.c - -file_csource_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_csource_RC) - -file_desktop_link_SOURCES = \ - file-desktop-link.c - -file_desktop_link_LDADD = \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(CAIRO_LIBS) \ - $(GDK_PIXBUF_LIBS) \ - $(GIO_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_desktop_link_RC) - -file_dicom_CFLAGS = -fno-strict-aliasing - -file_dicom_SOURCES = \ - file-dicom.c - -file_dicom_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_dicom_RC) - -file_gbr_SOURCES = \ - file-gbr.c - -file_gbr_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_gbr_RC) - -file_gegl_SOURCES = \ - file-gegl.c - -file_gegl_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_gegl_RC) - -file_gif_load_SOURCES = \ - file-gif-load.c - -file_gif_load_LDADD = \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(CAIRO_LIBS) \ - $(GDK_PIXBUF_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_gif_load_RC) - -file_gif_save_SOURCES = \ - file-gif-save.c - -file_gif_save_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_gif_save_RC) - -file_gih_SOURCES = \ - file-gih.c - -file_gih_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_gih_RC) - -file_glob_SOURCES = \ - file-glob.c - -file_glob_LDADD = \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(CAIRO_LIBS) \ - $(GDK_PIXBUF_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_glob_RC) - -file_header_SOURCES = \ - file-header.c - -file_header_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_header_RC) - -file_heif_CFLAGS = $(LIBHEIF_CFLAGS) - -file_heif_SOURCES = \ - file-heif.c - -file_heif_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(LIBHEIF_LIBS) \ - $(LCMS_LIBS) \ - $(GEXIV2_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_heif_RC) - -file_html_table_SOURCES = \ - file-html-table.c - -file_html_table_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_html_table_RC) - -file_jp2_load_CFLAGS = $(OPENJPEG_CFLAGS) - -file_jp2_load_SOURCES = \ - file-jp2-load.c - -file_jp2_load_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(OPENJPEG_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_jp2_load_RC) - -file_jpegxl_CFLAGS = $(JXL_CFLAGS) - -file_jpegxl_SOURCES = \ - file-jpegxl.c - -file_jpegxl_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(JXL_THREADS_LIBS) \ - $(JXL_LIBS) \ - $(GEXIV2_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_jpegxl_RC) - -file_mng_CFLAGS = $(MNG_CFLAGS) - -file_mng_SOURCES = \ - file-mng.c - -file_mng_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(MNG_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_mng_RC) - -file_pat_SOURCES = \ - file-pat.c - -file_pat_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_pat_RC) - -file_pcx_SOURCES = \ - file-pcx.c - -file_pcx_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_pcx_RC) - -file_pdf_load_CFLAGS = $(POPPLER_CFLAGS) - -file_pdf_load_SOURCES = \ - file-pdf-load.c - -file_pdf_load_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(POPPLER_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_pdf_load_RC) - -file_pdf_save_CFLAGS = $(CAIRO_PDF_CFLAGS) - -file_pdf_save_SOURCES = \ - file-pdf-save.c - -file_pdf_save_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(CAIRO_PDF_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_pdf_save_RC) - -file_pix_SOURCES = \ - file-pix.c - -file_pix_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_pix_RC) - -file_png_CFLAGS = $(PNG_CFLAGS) - -file_png_SOURCES = \ - file-png.c - -file_png_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(PNG_LIBS) \ - $(LCMS_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_png_RC) - -file_pnm_SOURCES = \ - file-pnm.c - -file_pnm_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_pnm_RC) - -file_ps_SOURCES = \ - file-ps.c - -file_ps_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(GS_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_ps_RC) - -file_psp_SOURCES = \ - file-psp.c - -file_psp_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(Z_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_psp_RC) - -file_raw_data_SOURCES = \ - file-raw-data.c - -file_raw_data_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_raw_data_RC) - -file_sunras_SOURCES = \ - file-sunras.c - -file_sunras_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_sunras_RC) - -file_svg_CFLAGS = $(SVG_CFLAGS) - -file_svg_SOURCES = \ - file-svg.c - -file_svg_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(SVG_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_svg_RC) - -file_tga_SOURCES = \ - file-tga.c - -file_tga_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_tga_RC) - -file_wbmp_SOURCES = \ - file-wbmp.c - -file_wbmp_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_wbmp_RC) - -file_wmf_CFLAGS = $(WMF_CFLAGS) - -file_wmf_SOURCES = \ - file-wmf.c - -file_wmf_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(WMF_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_wmf_RC) - -file_xbm_SOURCES = \ - file-xbm.c - -file_xbm_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_xbm_RC) - -file_xmc_SOURCES = \ - file-xmc.c - -file_xmc_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(XMC_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_xmc_RC) - -file_xpm_SOURCES = \ - file-xpm.c - -file_xpm_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(XPM_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_xpm_RC) - -file_xwd_SOURCES = \ - file-xwd.c - -file_xwd_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_xwd_RC) - -film_SOURCES = \ - film.c - -film_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(film_RC) - -gradient_map_SOURCES = \ - gradient-map.c - -gradient_map_LDADD = \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(CAIRO_LIBS) \ - $(GDK_PIXBUF_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(gradient_map_RC) - -grid_SOURCES = \ - grid.c - -grid_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(grid_RC) - -guillotine_SOURCES = \ - guillotine.c - -guillotine_LDADD = \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(CAIRO_LIBS) \ - $(GDK_PIXBUF_LIBS) \ - $(GIO_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(guillotine_RC) - -hot_SOURCES = \ - hot.c - -hot_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(hot_RC) - -jigsaw_SOURCES = \ - jigsaw.c - -jigsaw_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(jigsaw_RC) - -mail_SOURCES = \ - mail.c - -mail_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(mail_RC) - -nl_filter_SOURCES = \ - nl-filter.c - -nl_filter_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(nl_filter_RC) - -plugin_browser_SOURCES = \ - plugin-browser.c - -plugin_browser_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(plugin_browser_RC) - -procedure_browser_SOURCES = \ - procedure-browser.c - -procedure_browser_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(procedure_browser_RC) - -qbist_SOURCES = \ - qbist.c - -qbist_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(qbist_RC) - -sample_colorize_SOURCES = \ - sample-colorize.c - -sample_colorize_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(sample_colorize_RC) - -smooth_palette_SOURCES = \ - smooth-palette.c - -smooth_palette_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(smooth_palette_RC) - -sparkle_SOURCES = \ - sparkle.c - -sparkle_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(sparkle_RC) - -sphere_designer_SOURCES = \ - sphere-designer.c - -sphere_designer_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(sphere_designer_RC) - -tile_SOURCES = \ - tile.c - -tile_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(tile_RC) - -tile_small_SOURCES = \ - tile-small.c - -tile_small_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(tile_small_RC) - -unit_editor_SOURCES = \ - unit-editor.c - -unit_editor_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(unit_editor_RC) - -van_gogh_lic_SOURCES = \ - van-gogh-lic.c - -van_gogh_lic_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(van_gogh_lic_RC) - -warp_SOURCES = \ - warp.c - -warp_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(warp_RC) - -wavelet_decompose_SOURCES = \ - wavelet-decompose.c - -wavelet_decompose_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(wavelet_decompose_RC) - -web_browser_LDFLAGS = $(framework_cocoa) - -web_browser_CPPFLAGS = $(AM_CPPFLAGS) $(xobjective_c) - -web_browser_SOURCES = \ - web-browser.c - -web_browser_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(web_browser_RC) - -web_page_CFLAGS = $(WEBKIT_CFLAGS) - -web_page_SOURCES = \ - web-page.c - -web_page_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpmodule) \ - $(libgimp) \ - $(libgimpmath) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(WEBKIT_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(web_page_RC) diff --git a/plug-ins/file-bmp/.gitignore b/plug-ins/file-bmp/.gitignore deleted file mode 100644 index 543b3cab1d..0000000000 --- a/plug-ins/file-bmp/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/file-bmp -/file-bmp.exe diff --git a/plug-ins/file-bmp/Makefile.am b/plug-ins/file-bmp/Makefile.am deleted file mode 100644 index 77e2204581..0000000000 --- a/plug-ins/file-bmp/Makefile.am +++ /dev/null @@ -1,52 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if OS_WIN32 -mwindows = -mwindows -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -file_bmp_RC = file-bmp.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -libexecdir = $(gimpplugindir)/plug-ins/file-bmp - -libexec_PROGRAMS = file-bmp - -file_bmp_SOURCES = \ - bmp.c \ - bmp.h \ - bmp-load.c \ - bmp-load.h \ - bmp-save.c \ - bmp-save.h - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_bmp_RC) diff --git a/plug-ins/file-dds/.gitignore b/plug-ins/file-dds/.gitignore deleted file mode 100644 index 5572bd1b4f..0000000000 --- a/plug-ins/file-dds/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/file-dds -/file-dds.exe diff --git a/plug-ins/file-dds/Makefile.am b/plug-ins/file-dds/Makefile.am deleted file mode 100644 index ff578dad37..0000000000 --- a/plug-ins/file-dds/Makefile.am +++ /dev/null @@ -1,68 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if OS_WIN32 -mwindows = -mwindows -else -libm = -lm -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -file_dds_RC = file-dds.rc.o -endif - -AM_LDFLAGS = $(mwindows) -AM_CFLAGS = -fno-strict-aliasing -fopenmp - -libexecdir = $(gimpplugindir)/plug-ins/file-dds - -libexec_PROGRAMS = file-dds - -file_dds_SOURCES = \ - dds.c \ - dds.h \ - color.c \ - color.h \ - ddsread.c \ - ddsread.h \ - ddswrite.c \ - ddswrite.h \ - dxt.c \ - dxt.h \ - dxt_tables.h \ - endian_rw.h \ - imath.h \ - mipmap.c \ - mipmap.h \ - misc.c \ - misc.h \ - vec.h - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(libm) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_dds_RC) diff --git a/plug-ins/file-exr/.gitignore b/plug-ins/file-exr/.gitignore deleted file mode 100644 index 6f8c1937d2..0000000000 --- a/plug-ins/file-exr/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/file-exr -/file-exr.exe diff --git a/plug-ins/file-exr/Makefile.am b/plug-ins/file-exr/Makefile.am deleted file mode 100644 index 5ad2b56659..0000000000 --- a/plug-ins/file-exr/Makefile.am +++ /dev/null @@ -1,54 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if OS_WIN32 -mwindows = -mwindows -endif - -# if HAVE_WINDRES -# include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -# file_exr_RC = file-exr.rc.o -# endif - -AM_LDFLAGS = $(mwindows) - -libexecdir = $(gimpplugindir)/plug-ins/file-exr - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(OPENEXR_CFLAGS) \ - $(LCMS_CFLAGS) \ - -I$(includedir) - -libexec_PROGRAMS = file-exr - -file_exr_SOURCES = \ - exr-attribute-blob.h \ - file-exr.c \ - openexr-wrapper.cc \ - openexr-wrapper.h - -file_exr_LDADD = \ - $(OPENEXR_LIBS) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(LCMS_LIBS) \ - $(file_exr_RC) diff --git a/plug-ins/file-faxg3/.gitignore b/plug-ins/file-faxg3/.gitignore deleted file mode 100644 index c50219decd..0000000000 --- a/plug-ins/file-faxg3/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/file-faxg3 -/file-faxg3.exe diff --git a/plug-ins/file-faxg3/Makefile.am b/plug-ins/file-faxg3/Makefile.am deleted file mode 100644 index b528d6a401..0000000000 --- a/plug-ins/file-faxg3/Makefile.am +++ /dev/null @@ -1,49 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if OS_WIN32 -mwindows = -mwindows -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -file_faxg3_RC = file-faxg3.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -libexecdir = $(gimpplugindir)/plug-ins/file-faxg3 - -libexec_PROGRAMS = file-faxg3 - -file_faxg3_SOURCES = \ - faxg3.c \ - g3.c \ - g3.h - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(CAIRO_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libgimp) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(libgimpmath) \ - $(CAIRO_LIBS) \ - $(GDK_PIXBUF_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_faxg3_RC) diff --git a/plug-ins/file-fits/.gitignore b/plug-ins/file-fits/.gitignore deleted file mode 100644 index 80951736fb..0000000000 --- a/plug-ins/file-fits/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/file-fits -/file-fits.exe diff --git a/plug-ins/file-fits/Makefile.am b/plug-ins/file-fits/Makefile.am deleted file mode 100644 index ddc7ccf6b7..0000000000 --- a/plug-ins/file-fits/Makefile.am +++ /dev/null @@ -1,49 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if OS_WIN32 -mwindows = -mwindows -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -file_fits_RC = file-fits.rc.o -endif - -AM_LDFLAGS = $(mwindows) -AM_CFLAGS = -fno-strict-aliasing - -libexecdir = $(gimpplugindir)/plug-ins/file-fits - -libexec_PROGRAMS = file-fits - -file_fits_SOURCES = \ - fits.c - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(CFITSIO_LIBS) \ - $(file_fits_RC) diff --git a/plug-ins/file-fli/.gitignore b/plug-ins/file-fli/.gitignore deleted file mode 100644 index 8a315eb3d9..0000000000 --- a/plug-ins/file-fli/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/file-fli -/file-fli.exe \ No newline at end of file diff --git a/plug-ins/file-fli/Makefile.am b/plug-ins/file-fli/Makefile.am deleted file mode 100644 index 7a90d8d261..0000000000 --- a/plug-ins/file-fli/Makefile.am +++ /dev/null @@ -1,49 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if OS_WIN32 -mwindows = -mwindows -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -file_fli_RC = file-fli.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -libexecdir = $(gimpplugindir)/plug-ins/file-fli - -libexec_PROGRAMS = file-fli - -file_fli_SOURCES = \ - fli.h \ - fli.c \ - fli-gimp.c - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_fli_RC) diff --git a/plug-ins/file-icns/Makefile.am b/plug-ins/file-icns/Makefile.am deleted file mode 100644 index 704751abb5..0000000000 --- a/plug-ins/file-icns/Makefile.am +++ /dev/null @@ -1,57 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la - -if OS_WIN32 -mwindows = -mwindows -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -file_icns_RC = file-icns.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -libexecdir = $(gimpplugindir)/plug-ins/file-icns - -libexec_PROGRAMS = file-icns - -file_icns_CFLAGS = $(PNG_CFLAGS) - -file_icns_SOURCES = \ - file-icns-data.c \ - file-icns-data.h \ - file-icns-load.c \ - file-icns-load.h \ - file-icns-save.c \ - file-icns-save.h \ - file-icns.c \ - file-icns.h - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(PNG_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_icns_RC) diff --git a/plug-ins/file-ico/.gitignore b/plug-ins/file-ico/.gitignore deleted file mode 100644 index efe2d7acdd..0000000000 --- a/plug-ins/file-ico/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/.libs -/file-ico -/file-ico.exe diff --git a/plug-ins/file-ico/Makefile.am b/plug-ins/file-ico/Makefile.am deleted file mode 100644 index 0bc5bbfd2d..0000000000 --- a/plug-ins/file-ico/Makefile.am +++ /dev/null @@ -1,57 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la - -if OS_WIN32 -mwindows = -mwindows -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -file_ico_RC = file-ico.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -libexecdir = $(gimpplugindir)/plug-ins/file-ico - -libexec_PROGRAMS = file-ico - -file_ico_CFLAGS = $(PNG_CFLAGS) - -file_ico_SOURCES = \ - ico.c \ - ico.h \ - ico-dialog.c \ - ico-dialog.h \ - ico-load.c \ - ico-load.h \ - ico-save.c \ - ico-save.h - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(PNG_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_ico_RC) diff --git a/plug-ins/file-jpeg/.gitignore b/plug-ins/file-jpeg/.gitignore deleted file mode 100644 index 16dc9edb0e..0000000000 --- a/plug-ins/file-jpeg/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/file-jpeg -/file-jpeg.exe -/jpegqual -/jpegqual.exe \ No newline at end of file diff --git a/plug-ins/file-jpeg/Makefile.am b/plug-ins/file-jpeg/Makefile.am deleted file mode 100644 index 20a307ee34..0000000000 --- a/plug-ins/file-jpeg/Makefile.am +++ /dev/null @@ -1,80 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if OS_WIN32 -mwindows = -mwindows -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -file_jpeg_RC = file-jpeg.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -libexecdir = $(gimpplugindir)/plug-ins/file-jpeg - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(EXIF_CFLAGS) \ - $(LCMS_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GEXIV2_CFLAGS) \ - -I$(includedir) - -libexec_PROGRAMS = file-jpeg - -file_jpeg_SOURCES = \ - jpeg.c \ - jpeg.h \ - jpeg-icc.c \ - jpeg-icc.h \ - jpeg-load.c \ - jpeg-load.h \ - jpeg-save.c \ - jpeg-save.h \ - jpeg-quality.c \ - jpeg-quality.h \ - jpeg-settings.c \ - jpeg-settings.h - -file_jpeg_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(JPEG_LIBS) \ - $(LCMS_LIBS) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(GEXIV2_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_jpeg_RC) - -noinst_PROGRAMS = jpegqual - -jpegqual_SOURCES = \ - jpeg-quality.c \ - jpeg-quality.h \ - jpegqual.c - -jpegqual_LDADD = \ - $(JPEG_LIBS) \ - $(GTK_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) - -EXTRA_DIST = \ - COPYING.ijg diff --git a/plug-ins/file-psd/.gitignore b/plug-ins/file-psd/.gitignore deleted file mode 100644 index 72e8402ea8..0000000000 --- a/plug-ins/file-psd/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/.deps -/.libs -/Makefile -/Makefile.in -/file-psd -/file-psd.exe diff --git a/plug-ins/file-psd/Makefile.am b/plug-ins/file-psd/Makefile.am deleted file mode 100644 index 10ce6485db..0000000000 --- a/plug-ins/file-psd/Makefile.am +++ /dev/null @@ -1,74 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if OS_WIN32 -mwindows = -mwindows -else -libm = -lm -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -file_psd_RC = file-psd.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -libexecdir = $(gimpplugindir)/plug-ins/file-psd - -libexec_PROGRAMS = \ - file-psd - -file_psd_SOURCES = \ - psd.c \ - psd.h \ - psd-util.c \ - psd-util.h \ - psd-load.c \ - psd-load.h \ - psd-save.c \ - psd-save.h \ - psd-thumb-load.c \ - psd-thumb-load.h \ - psd-image-res-load.c \ - psd-image-res-load.h \ - psd-layer-res-load.c \ - psd-layer-res-load.h - -EXTRA_DIST = \ - TODO.txt \ - new-resource-ids.txt - -AM_CPPFLAGS = \ - -DG_LOG_DOMAIN=\"file-psd\" \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(EXIF_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -file_psd_LDADD = \ - $(libm) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(JPEG_LIBS) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(EXIF_LIBS) \ - $(IPTCDATA_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(Z_LIBS) \ - $(file_psd_RC) diff --git a/plug-ins/file-raw/.gitignore b/plug-ins/file-raw/.gitignore deleted file mode 100644 index c4708a1f24..0000000000 --- a/plug-ins/file-raw/.gitignore +++ /dev/null @@ -1,11 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/file-darktable -/file-darktable.exe -/file-rawtherapee -/file-rawtherapee.exe -/file-raw-placeholder -/file-raw-placeholder.exe diff --git a/plug-ins/file-raw/Makefile.am b/plug-ins/file-raw/Makefile.am deleted file mode 100644 index 934ae6187a..0000000000 --- a/plug-ins/file-raw/Makefile.am +++ /dev/null @@ -1,90 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la - -filerawdatadir = $(gimpdatadir)/file-raw - -if OS_WIN32 -mwindows = -mwindows -endif - -# if HAVE_WINDRES -# include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -# file_darktable_RC = file-darktable.rc.o -# file_rawtherapee_RC = file-rawtherapee.rc.o -# file_raw_placeholder_RC = file-raw-placeholder.rc.o -# endif - -AM_LDFLAGS = $(mwindows) - -dt_libexecdir = $(gimpplugindir)/plug-ins/file-darktable -rt_libexecdir = $(gimpplugindir)/plug-ins/file-rawtherapee -rp_libexecdir = $(gimpplugindir)/plug-ins/file-raw-placeholder - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - -I$(includedir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) - -dt_libexec_PROGRAMS = file-darktable -rt_libexec_PROGRAMS = file-rawtherapee -rp_libexec_PROGRAMS = file-raw-placeholder - -file_darktable_SOURCES = \ - file-darktable.c \ - file-raw-formats.h \ - file-raw-utils.c \ - file-raw-utils.h - -file_rawtherapee_SOURCES = \ - file-rawtherapee.c \ - file-raw-formats.h \ - file-raw-utils.c \ - file-raw-utils.h - -file_raw_placeholder_SOURCES = \ - file-raw-formats.h \ - file-raw-placeholder.c - -file_darktable_LDADD = \ - $(libgimp) \ - $(libgimpbase) \ - $(libgimpcolor) \ - $(libgimpconfig) \ - $(CAIRO_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_darktable_RC) - -file_rawtherapee_LDADD = \ - $(libgimp) \ - $(libgimpbase) \ - $(libgimpcolor) \ - $(libgimpconfig) \ - $(CAIRO_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_rawtherapee_RC) - -file_raw_placeholder_LDADD = \ - $(libgimp) \ - $(libgimpbase) \ - $(libgimpcolor) \ - $(libgimpconfig) \ - $(CAIRO_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_raw_placeholder_RC) - -filerawdata_DATA = \ - file-darktable-export-on-exit.lua \ - file-darktable-get-size.lua - -EXTRA_DIST = $(filerawdata_DATA) diff --git a/plug-ins/file-sgi/.gitignore b/plug-ins/file-sgi/.gitignore deleted file mode 100644 index 4d926fd365..0000000000 --- a/plug-ins/file-sgi/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/file-sgi -/file-sgi.exe diff --git a/plug-ins/file-sgi/Makefile.am b/plug-ins/file-sgi/Makefile.am deleted file mode 100644 index 2dd6a6f303..0000000000 --- a/plug-ins/file-sgi/Makefile.am +++ /dev/null @@ -1,49 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if OS_WIN32 -mwindows = -mwindows -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -file_sgi_RC = file-sgi.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -libexecdir = $(gimpplugindir)/plug-ins/file-sgi - -libexec_PROGRAMS = file-sgi - -file_sgi_SOURCES = \ - sgi.c \ - sgi-lib.c \ - sgi-lib.h - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimpmath) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_sgi_RC) diff --git a/plug-ins/file-tiff/.gitignore b/plug-ins/file-tiff/.gitignore deleted file mode 100644 index 3e442a7117..0000000000 --- a/plug-ins/file-tiff/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/file-tiff -/file-tiff.exe diff --git a/plug-ins/file-tiff/Makefile.am b/plug-ins/file-tiff/Makefile.am deleted file mode 100644 index 483b31d6a3..0000000000 --- a/plug-ins/file-tiff/Makefile.am +++ /dev/null @@ -1,59 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if OS_WIN32 -mwindows = -mwindows -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -file_tiff_RC = file-tiff.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -libexecdir = $(gimpplugindir)/plug-ins/file-tiff - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(EXIF_CFLAGS) \ - $(LCMS_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GEXIV2_CFLAGS) \ - -I$(includedir) - -libexec_PROGRAMS = file-tiff - -file_tiff_SOURCES = \ - file-tiff.c \ - file-tiff.h \ - file-tiff-io.c \ - file-tiff-io.h \ - file-tiff-load.c \ - file-tiff-load.h \ - file-tiff-save.c \ - file-tiff-save.h - -file_tiff_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(TIFF_LIBS) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(GEXIV2_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_tiff_RC) diff --git a/plug-ins/file-webp/.gitignore b/plug-ins/file-webp/.gitignore deleted file mode 100644 index 380c0170bc..0000000000 --- a/plug-ins/file-webp/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/file-webp -/file-webp.exe diff --git a/plug-ins/file-webp/Makefile.am b/plug-ins/file-webp/Makefile.am deleted file mode 100644 index 20bb79b3b9..0000000000 --- a/plug-ins/file-webp/Makefile.am +++ /dev/null @@ -1,64 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if OS_WIN32 -mwindows = -mwindows -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -file_webp_RC = file-webp.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -libexecdir = $(gimpplugindir)/plug-ins/file-webp - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(EXIF_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GEXIV2_CFLAGS) \ - $(WEBP_CFLAGS) \ - $(WEBPMUX_CFLAGS) \ - $(WEBPDEMUX_CFLAGS) \ - -I$(includedir) - -libexec_PROGRAMS = file-webp - -file_webp_SOURCES = \ - file-webp.c \ - file-webp.h \ - file-webp-dialog.c \ - file-webp-dialog.h \ - file-webp-load.c \ - file-webp-load.h \ - file-webp-save.c \ - file-webp-save.h - -file_webp_LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(webp_LIBS) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(GEXIV2_LIBS) \ - $(WEBP_LIBS) \ - $(WEBPMUX_LIBS) \ - $(WEBPDEMUX_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(file_webp_RC) diff --git a/plug-ins/flame/.gitignore b/plug-ins/flame/.gitignore deleted file mode 100644 index 32c2d908ae..0000000000 --- a/plug-ins/flame/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/flame -/flame.exe \ No newline at end of file diff --git a/plug-ins/flame/Makefile.am b/plug-ins/flame/Makefile.am deleted file mode 100644 index ed6d8f0558..0000000000 --- a/plug-ins/flame/Makefile.am +++ /dev/null @@ -1,59 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if OS_WIN32 -mwindows = -mwindows -else -libm = -lm -endif - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -flame_RC = flame.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -libexecdir = $(gimpplugindir)/plug-ins/flame - -libexec_PROGRAMS = flame - -flame_SOURCES = \ - cmap.c \ - cmap.h \ - flame.c \ - flame.h \ - libifs.c \ - libifs.h \ - rect.c \ - rect.h - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -EXTRA_DIST = README - -LDADD = \ - $(libm) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(flame_RC) diff --git a/plug-ins/fractal-explorer/.gitignore b/plug-ins/fractal-explorer/.gitignore deleted file mode 100644 index df875862f4..0000000000 --- a/plug-ins/fractal-explorer/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/.libs -/*.o -/fractal-explorer -/fractal-explorer.exe \ No newline at end of file diff --git a/plug-ins/fractal-explorer/Makefile.am b/plug-ins/fractal-explorer/Makefile.am deleted file mode 100644 index 2905f1f6e5..0000000000 --- a/plug-ins/fractal-explorer/Makefile.am +++ /dev/null @@ -1,55 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if OS_WIN32 -mwindows = -mwindows -else -libm = -lm -endif - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -fractal_explorer_RC = fractal-explorer.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -SUBDIRS = examples - -libexecdir = $(gimpplugindir)/plug-ins/fractal-explorer - -libexec_PROGRAMS = fractal-explorer - -fractal_explorer_SOURCES = \ - fractal-explorer-dialogs.h \ - fractal-explorer-dialogs.c \ - fractal-explorer.c \ - fractal-explorer.h - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libm) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(fractal_explorer_RC) diff --git a/plug-ins/fractal-explorer/examples/.gitignore b/plug-ins/fractal-explorer/examples/.gitignore deleted file mode 100644 index b336cc7cec..0000000000 --- a/plug-ins/fractal-explorer/examples/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile -/Makefile.in diff --git a/plug-ins/fractal-explorer/examples/Makefile.am b/plug-ins/fractal-explorer/examples/Makefile.am deleted file mode 100644 index c4e18be875..0000000000 --- a/plug-ins/fractal-explorer/examples/Makefile.am +++ /dev/null @@ -1,40 +0,0 @@ -## Process this file with automake to produce Makefile.in - -fractalexplorerdatadir = $(gimpdatadir)/fractalexplorer - -fractalexplorerdata_DATA = \ - Asteroid_Field \ - Bar_Code_Label \ - Beauty_of_Nature \ - Blue_Curtain \ - Car_Track \ - Energetic_Diamond \ - Explosive \ - Flower \ - Fragments \ - Hemp \ - High_Voltage \ - Hoops \ - Ice_Crystal \ - Leaves \ - Lightning \ - Mandelbrot \ - Marble \ - Marble2 \ - Medusa \ - Nautilus \ - Nebula \ - Plant \ - Rose \ - Saturn \ - Snow_Crystal \ - Soma \ - Spark \ - Suns \ - Tentacles \ - The_Green_Place \ - Wave \ - Wood \ - Zooming_Circle - -EXTRA_DIST = $(fractalexplorerdata_DATA) diff --git a/plug-ins/gfig/.gitignore b/plug-ins/gfig/.gitignore deleted file mode 100644 index a7fdfef39d..0000000000 --- a/plug-ins/gfig/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/gfig -/gfig.exe \ No newline at end of file diff --git a/plug-ins/gfig/Makefile.am b/plug-ins/gfig/Makefile.am deleted file mode 100644 index c0d97e498f..0000000000 --- a/plug-ins/gfig/Makefile.am +++ /dev/null @@ -1,89 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AUTOMAKE_OPTIONS = subdir-objects - -if OS_WIN32 -mwindows = -mwindows -else -libm = -lm -endif - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -gfig_RC = gfig.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -SUBDIRS = gfig-examples images - -libexecdir = $(gimpplugindir)/plug-ins/gfig - -libexec_PROGRAMS = gfig - -gfig_SOURCES = \ - gfig.c \ - gfig.h \ - gfig-arc.c \ - gfig-arc.h \ - gfig-bezier.c \ - gfig-bezier.h \ - gfig-circle.c \ - gfig-circle.h \ - gfig-dialog.c \ - gfig-dialog.h \ - gfig-dobject.c \ - gfig-dobject.h \ - gfig-ellipse.c \ - gfig-ellipse.h \ - gfig-grid.c \ - gfig-grid.h \ - gfig-icons.c \ - gfig-icons.h \ - gfig-line.c \ - gfig-line.h \ - gfig-poly.c \ - gfig-poly.h \ - gfig-preview.c \ - gfig-preview.h \ - gfig-rectangle.c \ - gfig-rectangle.h \ - gfig-spiral.c \ - gfig-spiral.h \ - gfig-star.c \ - gfig-star.h \ - gfig-style.c \ - gfig-style.h \ - gfig-types.h \ - images/gfig-icon-images.c \ - images/gfig-icon-images.h - -EXTRA_DIST = README - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libm) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(gfig_RC) diff --git a/plug-ins/gfig/gfig-examples/.gitignore b/plug-ins/gfig/gfig-examples/.gitignore deleted file mode 100644 index b336cc7cec..0000000000 --- a/plug-ins/gfig/gfig-examples/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile -/Makefile.in diff --git a/plug-ins/gfig/gfig-examples/Makefile.am b/plug-ins/gfig/gfig-examples/Makefile.am deleted file mode 100644 index d3a97f13ce..0000000000 --- a/plug-ins/gfig/gfig-examples/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -## Process this file with automake to produce Makefile.in - -gfigdatadir = $(gimpdatadir)/gfig - -gfigdata_DATA = \ - A_star \ - curves \ - polys \ - ring \ - ring+star \ - smiley \ - spirals_and_stars \ - sprial \ - star2 \ - stars - -EXTRA_DIST = $(gfigdata_DATA) diff --git a/plug-ins/gfig/images/.gitignore b/plug-ins/gfig/images/.gitignore deleted file mode 100644 index 24abcadfb5..0000000000 --- a/plug-ins/gfig/images/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/.deps -/.dirstamp -/Makefile -/Makefile.in -/gfig-icon-images.c -/gfig-icon-images.h diff --git a/plug-ins/gfig/images/Makefile.am b/plug-ins/gfig/images/Makefile.am deleted file mode 100644 index d68adf87c1..0000000000 --- a/plug-ins/gfig/images/Makefile.am +++ /dev/null @@ -1,39 +0,0 @@ -## Process this file with automake to produce Makefile.in - -STOCK_IMAGES = \ - gfig-bezier.png \ - gfig-circle.png \ - gfig-copy-object.png \ - gfig-curve.png \ - gfig-delete-object.png \ - gfig-ellipse.png \ - gfig-line.png \ - gfig-move-object.png \ - gfig-move-point.png \ - gfig-polygon.png \ - gfig-rectangle.png \ - gfig-select-object.png \ - gfig-show-all.png \ - gfig-spiral.png \ - gfig-star.png \ - gfig-logo.png - -EXTRA_DIST = \ - $(STOCK_IMAGES) \ - gfig-icon-images.gresource.xml - -noinst_DATA = \ - gfig-icon-images.c \ - gfig-icon-images.h - -CLEANFILES = $(noinst_DATA) - -gfig-icon-images.h: gfig-icon-images.gresource.xml - $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \ - --sourcedir=$(srcdir) --generate-header \ - --target=$@ $(srcdir)/gfig-icon-images.gresource.xml - -gfig-icon-images.c: gfig-icon-images.h - $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \ - --sourcedir=$(srcdir) --generate-source \ - --target=$@ $(srcdir)/gfig-icon-images.gresource.xml diff --git a/plug-ins/gimpressionist/.gitignore b/plug-ins/gimpressionist/.gitignore deleted file mode 100644 index b506489a7e..0000000000 --- a/plug-ins/gimpressionist/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/_libs -/gimpressionist -/gimpressionist.exe diff --git a/plug-ins/gimpressionist/Brushes/.gitignore b/plug-ins/gimpressionist/Brushes/.gitignore deleted file mode 100644 index b336cc7cec..0000000000 --- a/plug-ins/gimpressionist/Brushes/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile -/Makefile.in diff --git a/plug-ins/gimpressionist/Brushes/Makefile.am b/plug-ins/gimpressionist/Brushes/Makefile.am deleted file mode 100644 index fa8860d1aa..0000000000 --- a/plug-ins/gimpressionist/Brushes/Makefile.am +++ /dev/null @@ -1,66 +0,0 @@ -## Process this file with automake to produce Makefile.in - -brushdatadir = $(gimpdatadir)/gimpressionist/Brushes - -brushdata_DATA = \ - arrow01.pgm \ - ball.ppm \ - blob.ppm \ - box.ppm \ - chalk01.pgm \ - cone.ppm \ - crayon01.pgm \ - crayon02.pgm \ - crayon03.pgm \ - crayon04.pgm \ - crayon05.pgm \ - crayon06.pgm \ - crayon07.pgm \ - crayon08.pgm \ - defaultbrush.pgm \ - dribble.pgm \ - fabric.pgm \ - fabric01.pgm \ - fabric02.pgm \ - fabric03.pgm \ - flower01.pgm \ - flower02.pgm \ - flower03.pgm \ - flower04.pgm \ - grad01.pgm \ - grad02.pgm \ - grad03.pgm \ - heart.ppm \ - leaf01.pgm \ - paintbrush01.pgm \ - paintbrush02.pgm \ - paintbrush03.pgm \ - paintbrush04.pgm \ - paper01.pgm \ - paper02.pgm \ - paper03.pgm \ - paper04.pgm \ - pentagram.pgm \ - scribble.pgm \ - shape01.pgm \ - shape02.pgm \ - shape03.pgm \ - shape04.pgm \ - snow1.pgm \ - sphere.ppm \ - splat1.pgm \ - splat2.pgm \ - splat3.pgm \ - spunge01.pgm \ - spunge02.pgm \ - spunge03.pgm \ - spunge04.pgm \ - spunge05.pgm \ - strange01.pgm \ - thegimp.pgm \ - torus.ppm \ - wavy.pgm \ - weave.pgm \ - worm.pgm - -EXTRA_DIST = $(brushdata_DATA) diff --git a/plug-ins/gimpressionist/Makefile.am b/plug-ins/gimpressionist/Makefile.am deleted file mode 100644 index 9262dcb7f9..0000000000 --- a/plug-ins/gimpressionist/Makefile.am +++ /dev/null @@ -1,87 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if OS_WIN32 -mwindows = -mwindows -else -libm = -lm -endif - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -SUBDIRS = Brushes Paper Presets - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -gimpressionist_RC = gimpressionist.rc.o -endif - -AM_CPPFLAGS = \ - -DDEFAULTPATH=\""~/$(gimpdir)/gimpressionist:$(gimpdatadir)/gimpressionist"\" \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -AM_LDFLAGS = $(mwindows) - - -libexecdir = $(gimpplugindir)/plug-ins/gimpressionist - -libexec_PROGRAMS = gimpressionist - -gimpressionist_SOURCES = \ - brush.c \ - brush.h \ - color.c \ - color.h \ - general.c \ - general.h \ - gimp.c \ - gimpressionist.c \ - gimpressionist.h \ - globals.c \ - infile.h \ - orientation.h \ - orientation.c \ - orientmap.h \ - orientmap.c \ - paper.c \ - paper.h \ - placement.c \ - placement.h \ - plasma.c \ - ppmtool.c \ - ppmtool.h \ - presets.c \ - presets.h \ - preview.c \ - preview.h \ - random.h \ - repaint.c \ - size.h \ - size.c \ - sizemap.c \ - utils.c - -LDADD = \ - $(libm) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(gimpressionist_RC) - -EXTRA_DIST = README diff --git a/plug-ins/gimpressionist/Paper/.gitignore b/plug-ins/gimpressionist/Paper/.gitignore deleted file mode 100644 index b336cc7cec..0000000000 --- a/plug-ins/gimpressionist/Paper/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile -/Makefile.in diff --git a/plug-ins/gimpressionist/Paper/Makefile.am b/plug-ins/gimpressionist/Paper/Makefile.am deleted file mode 100644 index 609499606c..0000000000 --- a/plug-ins/gimpressionist/Paper/Makefile.am +++ /dev/null @@ -1,16 +0,0 @@ -## Process this file with automake to produce Makefile.in - -paperdatadir = $(gimpdatadir)/gimpressionist/Paper - -paperdata_DATA = \ - bricks.pgm \ - bricks2.pgm \ - burlap.pgm \ - canvas2.pgm \ - defaultpaper.pgm \ - marble.pgm \ - marble2.pgm \ - stone.pgm \ - struc.pgm - -EXTRA_DIST = $(paperdata_DATA) diff --git a/plug-ins/gimpressionist/Presets/.gitignore b/plug-ins/gimpressionist/Presets/.gitignore deleted file mode 100644 index b336cc7cec..0000000000 --- a/plug-ins/gimpressionist/Presets/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile -/Makefile.in diff --git a/plug-ins/gimpressionist/Presets/Makefile.am b/plug-ins/gimpressionist/Presets/Makefile.am deleted file mode 100644 index 8cfdc8876d..0000000000 --- a/plug-ins/gimpressionist/Presets/Makefile.am +++ /dev/null @@ -1,32 +0,0 @@ -## Process this file with automake to produce Makefile.in - -presetsdatadir = $(gimpdatadir)/gimpressionist/Presets - -presetsdata_DATA = \ - ApplyCanvas \ - Ballpark \ - Canvas \ - Crosshatch \ - Cubism \ - Dotify \ - Embroidery \ - Feathers \ - Felt-marker \ - Flowerbed \ - Furry \ - Line-art \ - Line-art-2 \ - Maggot-invasion \ - MarbleMadness \ - Mossy \ - Painted_Rock \ - Parquette \ - Patchwork \ - Ringworks \ - Sample \ - Smash \ - Straws \ - Weave \ - Wormcan - -EXTRA_DIST = $(presetsdata_DATA) diff --git a/plug-ins/gradient-flare/.gitignore b/plug-ins/gradient-flare/.gitignore deleted file mode 100644 index 893e0ba688..0000000000 --- a/plug-ins/gradient-flare/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/gradient-flare -/gradient-flare.exe diff --git a/plug-ins/gradient-flare/Makefile.am b/plug-ins/gradient-flare/Makefile.am deleted file mode 100644 index 095657a9b7..0000000000 --- a/plug-ins/gradient-flare/Makefile.am +++ /dev/null @@ -1,51 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if OS_WIN32 -mwindows = -mwindows -else -libm = -lm -endif - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -gradient_flare_RC = gradient-flare.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -SUBDIRS = flares - -libexecdir = $(gimpplugindir)/plug-ins/gradient-flare - -libexec_PROGRAMS = gradient-flare - -gradient_flare_SOURCES = gradient-flare.c - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libm) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(gradient_flare_RC) diff --git a/plug-ins/gradient-flare/flares/.gitignore b/plug-ins/gradient-flare/flares/.gitignore deleted file mode 100644 index 9bee0bf861..0000000000 --- a/plug-ins/gradient-flare/flares/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs diff --git a/plug-ins/gradient-flare/flares/Makefile.am b/plug-ins/gradient-flare/flares/Makefile.am deleted file mode 100644 index 930cf1f883..0000000000 --- a/plug-ins/gradient-flare/flares/Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ -## Process this file with automake to produce Makefile.in - -flaredir = $(gimpdatadir)/gflare - -flare_DATA = \ - Bright_Star \ - Classic \ - Distant_Sun \ - Default \ - GFlare_101 \ - GFlare_102 \ - Hidden_Planet - -EXTRA_DIST = $(flare_DATA) diff --git a/plug-ins/help-browser/.gitignore b/plug-ins/help-browser/.gitignore deleted file mode 100644 index 220a7869fe..0000000000 --- a/plug-ins/help-browser/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/help-browser -/help-browser.exe -/logo-pixbuf.h diff --git a/plug-ins/help-browser/Makefile.am b/plug-ins/help-browser/Makefile.am deleted file mode 100644 index 256c04e3fc..0000000000 --- a/plug-ins/help-browser/Makefile.am +++ /dev/null @@ -1,55 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la - -libgimphelp = $(top_builddir)/plug-ins/help/libgimphelp.a - -if OS_WIN32 -mwindows = -mwindows -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -help_browser_RC = help-browser.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -libexecdir = $(gimpplugindir)/plug-ins/help-browser - -libexec_PROGRAMS = help-browser - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(WEBKIT_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libgimphelp) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(WEBKIT_LIBS) \ - $(GIO_LIBS) \ - $(GLIB_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(help_browser_RC) - -help_browser_SOURCES = \ - help-browser.c \ - dialog.c \ - dialog.h \ - uri.c \ - uri.h diff --git a/plug-ins/help/.gitignore b/plug-ins/help/.gitignore deleted file mode 100644 index 5d2bd04773..0000000000 --- a/plug-ins/help/.gitignore +++ /dev/null @@ -1,10 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/gimp-help-lookup -/gimp-help-lookup.exe -/help -/help.exe -/libgimphelp.a diff --git a/plug-ins/help/Makefile.am b/plug-ins/help/Makefile.am deleted file mode 100644 index 4e0dd417f3..0000000000 --- a/plug-ins/help/Makefile.am +++ /dev/null @@ -1,90 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if PLATFORM_OSX -xobjective_c = "-xobjective-c" -xobjective_cxx = "-xobjective-c++" -xnone = "-xnone" -framework_cocoa = -framework Cocoa -endif - -libgimphelp = libgimphelp.a -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if OS_WIN32 -mwindows = -mwindows -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -help_RC = help.rc.o -endif - -AM_CPPFLAGS = \ - -DDATADIR=\""$(gimpdatadir)"\" \ - -I$(top_srcdir) \ - $(CAIRO_CFLAGS) \ - $(GIO_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(GDK_PIXBUF_CFLAGS) \ - -I$(includedir) - -AM_CFLAGS = \ - $(xobjective_c) - -AM_CXXFLAGS = \ - $(xobjective_cxx) - -AM_LDFLAGS = \ - $(mwindows) \ - $(framework_cocoa) \ - $(xnone) - -noinst_LIBRARIES = libgimphelp.a - -libgimphelp_a_SOURCES = \ - gimphelptypes.h \ - gimphelp.c \ - gimphelp.h \ - gimphelpdomain.c \ - gimphelpdomain.h \ - gimphelpitem.c \ - gimphelpitem.h \ - gimphelplocale.c \ - gimphelplocale.h \ - gimphelpprogress.c \ - gimphelpprogress.h \ - gimphelpprogress-private.h - -libexecdir = $(gimpplugindir)/plug-ins/help - -libexec_PROGRAMS = help - -help_SOURCES = help.c - -LDADD = \ - $(libgimphelp) \ - $(libgimp) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(libgimpmath) \ - $(CAIRO_LIBS) \ - $(GIO_LIBS) \ - $(GDK_PIXBUF_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(help_RC) - - -noinst_PROGRAMS = gimp-help-lookup - -gimp_help_lookup_SOURCES = gimp-help-lookup.c - -gimp_help_lookup_LDADD = \ - $(libgimphelp) \ - $(libgimpbase) \ - $(GIO_LIBS) diff --git a/plug-ins/ifs-compose/.gitignore b/plug-ins/ifs-compose/.gitignore deleted file mode 100644 index aae9f8dd30..0000000000 --- a/plug-ins/ifs-compose/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/ifs-compose -/ifs-compose.exe diff --git a/plug-ins/ifs-compose/Makefile.am b/plug-ins/ifs-compose/Makefile.am deleted file mode 100644 index 7cc3743e9c..0000000000 --- a/plug-ins/ifs-compose/Makefile.am +++ /dev/null @@ -1,55 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if OS_WIN32 -mwindows = -mwindows -else -libm = -lm -endif - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -ifs_compose_RC = ifs-compose.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -libexecdir = $(gimpplugindir)/plug-ins/ifs-compose - -libexec_PROGRAMS = ifs-compose - -ifs_compose_SOURCES = \ - ifs-compose.c \ - ifs-compose.h \ - ifs-compose-utils.c \ - ifs-compose-storage.c - -EXTRA_DIST = README.ifscompose - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libm) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(ifs_compose_RC) diff --git a/plug-ins/imagemap/.gitignore b/plug-ins/imagemap/.gitignore deleted file mode 100644 index 249914561e..0000000000 --- a/plug-ins/imagemap/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/imagemap -/imagemap.exe -/y.tab.c -/y.tab.h diff --git a/plug-ins/imagemap/Makefile.am b/plug-ins/imagemap/Makefile.am deleted file mode 100644 index 9d6e58fc2d..0000000000 --- a/plug-ins/imagemap/Makefile.am +++ /dev/null @@ -1,220 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AUTOMAKE_OPTIONS = subdir-objects - -if OS_WIN32 -mwindows = -mwindows -else -libm = -lm -endif - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -imagemap_RC = imagemap.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -SUBDIRS = images - -libexecdir = $(gimpplugindir)/plug-ins/imagemap - -libexec_PROGRAMS = imagemap - -EXTRA_DIST = \ - imap_cern.l \ - imap_csim.l \ - imap_ncsa.l \ - imap_cern.y \ - imap_csim.y \ - imap_ncsa.y - -imagemap_SOURCES = \ - imap_about.c \ - imap_about.h \ - imap_browse.c \ - imap_browse.h \ - imap_cern_lex.c \ - imap_cern_parse.c \ - imap_cern_parse.h \ - imap_circle.c \ - imap_circle.h \ - imap_cmd_clear.c \ - imap_cmd_copy.c \ - imap_cmd_copy_object.c \ - imap_cmd_create.c \ - imap_cmd_cut.c \ - imap_cmd_cut_object.c \ - imap_cmd_delete.c \ - imap_cmd_delete_point.c \ - imap_cmd_edit_object.c \ - imap_cmd_gimp_guides.c \ - imap_cmd_guides.c \ - imap_cmd_insert_point.c \ - imap_cmd_move.c \ - imap_cmd_move_down.c \ - imap_cmd_move_sash.c \ - imap_cmd_move_selected.c \ - imap_cmd_move_to_front.c \ - imap_cmd_move_up.c \ - imap_cmd_object_down.c \ - imap_cmd_object_move.c \ - imap_cmd_object_up.c \ - imap_cmd_paste.c \ - imap_cmd_select.c \ - imap_cmd_select_all.c \ - imap_cmd_select_next.c \ - imap_cmd_select_prev.c \ - imap_cmd_select_region.c \ - imap_cmd_send_to_back.c \ - imap_cmd_unselect.c \ - imap_cmd_unselect_all.c \ - imap_command.c \ - imap_command.h \ - imap_commands.h \ - imap_csim_lex.c \ - imap_csim_parse.c \ - imap_csim_parse.h \ - imap_default_dialog.c \ - imap_default_dialog.h \ - imap_edit_area_info.c \ - imap_edit_area_info.h \ - imap_file.c \ - imap_file.h \ - imap_grid.c \ - imap_grid.h \ - imap_icons.c \ - imap_icons.h \ - imap_main.c \ - imap_main.h \ - imap_menu.c \ - imap_menu.h \ - imap_menu_funcs.c \ - imap_menu_funcs.h \ - imap_misc.c \ - imap_misc.h \ - imap_mru.c \ - imap_mru.h \ - imap_ncsa_lex.c \ - imap_ncsa_parse.c \ - imap_ncsa_parse.h \ - imap_object.c \ - imap_object.h \ - imap_object_popup.c \ - imap_object_popup.h \ - imap_polygon.c \ - imap_polygon.h \ - imap_preferences.c \ - imap_preferences.h \ - imap_preview.c \ - imap_preview.h \ - imap_rectangle.c \ - imap_rectangle.h \ - imap_selection.c \ - imap_selection.h \ - imap_settings.c \ - imap_settings.h \ - imap_source.c \ - imap_source.h \ - imap_statusbar.c \ - imap_statusbar.h \ - imap_string.c \ - imap_string.h \ - imap_ui_grid.c \ - imap_ui_grid.h \ - imap_taglist.c \ - imap_taglist.h \ - images/imagemap-icon-images.c \ - images/imagemap-icon-images.h - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libm) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(imagemap) - -CLEANFILES = y.tab.c y.tab.h - -## The following rules are not necessary for most users. They are -## only used by the maintainers who modify the symbols and grammar -## that are used for parsing the map files. These rules are very -## specific and a test for flex and bison in configure.ac would not be -## appropriate in most cases, so the Makefile rules are included here. -## In addition, the default rules provided by automake would not be -## sufficient because the source and target files have different base -## names and because of the non-standard prefix used in the output -## code (cern_, csim_, ncsa_). - -## Require flex because the standard lex does not support the -P option. -LEX=flex -YACC=bison -y - -REBUILD_FILES = \ - imap_cern_lex.c.rebuild \ - imap_csim_lex.c.rebuild \ - imap_ncsa_lex.c.rebuild \ - imap_cern_parse.c.rebuild \ - imap_csim_parse.c.rebuild \ - imap_ncsa_parse.c.rebuild \ - imap_cern_parse.h.rebuild \ - imap_csim_parse.h.rebuild \ - imap_ncsa_parse.h.rebuild - -rebuild-parsers: $(REBUILD_FILES) - @list='$(REBUILD_FILES)'; for p in $$list; do \ - newfile="`echo $$p | sed -e 's|.rebuild||'`"; \ - cp $$p $(srcdir)/$$newfile; \ - done - -imap_cern_lex.c.rebuild: imap_cern.l - @$(RM) $@ - $(LEX) $(LFLAGS) -Pcern_ -i -t $< > $@ -imap_csim_lex.c.rebuild: imap_csim.l - @$(RM) $@ - $(LEX) $(LFLAGS) -Pcsim_ -i -t $< > $@ -imap_ncsa_lex.c.rebuild: imap_ncsa.l - @$(RM) $@ - $(LEX) $(LFLAGS) -Pncsa_ -i -t $< > $@ - -imap_cern_parse.c.rebuild: imap_cern.y - $(YACC) $(YFLAGS) -d -p cern_ $< - mv -f y.tab.c $@ -imap_csim_parse.c.rebuild: imap_csim.y - $(YACC) $(YFLAGS) -d -p csim_ $< - mv -f y.tab.c $@ -imap_ncsa_parse.c.rebuild: imap_ncsa.y - $(YACC) $(YFLAGS) -d -p ncsa_ $< - mv -f y.tab.c $@ - -imap_cern_parse.h.rebuild: imap_cern.y - $(YACC) $(YFLAGS) -d -p cern_ $< - mv -f y.tab.h $@ -imap_csim_parse.h.rebuild: imap_csim.y - $(YACC) $(YFLAGS) -d -p csim_ $< - mv -f y.tab.h $@ -imap_ncsa_parse.h.rebuild: imap_ncsa.y - $(YACC) $(YFLAGS) -d -p ncsa_ $< - mv -f y.tab.h $@ diff --git a/plug-ins/imagemap/images/.gitignore b/plug-ins/imagemap/images/.gitignore deleted file mode 100644 index f5b5731cc4..0000000000 --- a/plug-ins/imagemap/images/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/.deps -/.dirstamp -/Makefile -/Makefile.in -/imagemap-icon-images.c -/imagemap-icon-images.h diff --git a/plug-ins/imagemap/images/Makefile.am b/plug-ins/imagemap/images/Makefile.am deleted file mode 100644 index b27f6ca259..0000000000 --- a/plug-ins/imagemap/images/Makefile.am +++ /dev/null @@ -1,31 +0,0 @@ -## Process this file with automake to produce Makefile.in - -ICON_IMAGES = \ - imagemap-circle.png \ - imagemap-coord.png \ - imagemap-dimension.png \ - imagemap-java.png \ - imagemap-polygon.png \ - imagemap-rectangle.png \ - imagemap-to-back.png \ - imagemap-to-front.png - -EXTRA_DIST = \ - $(ICON_IMAGES) \ - imagemap-icon-images.gresource.xml - -noinst_DATA = \ - imagemap-icon-images.c \ - imagemap-icon-images.h - -CLEANFILES = $(noinst_DATA) - -imagemap-icon-images.h: imagemap-icon-images.gresource.xml - $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \ - --sourcedir=$(srcdir) --generate-header \ - --target=$@ $(srcdir)/imagemap-icon-images.gresource.xml - -imagemap-icon-images.c: imagemap-icon-images.h - $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \ - --sourcedir=$(srcdir) --generate-source \ - --target=$@ $(srcdir)/imagemap-icon-images.gresource.xml diff --git a/plug-ins/lighting/.gitignore b/plug-ins/lighting/.gitignore deleted file mode 100644 index b1bbf8f406..0000000000 --- a/plug-ins/lighting/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/lighting -/lighting.exe diff --git a/plug-ins/lighting/Makefile.am b/plug-ins/lighting/Makefile.am deleted file mode 100644 index 4990450699..0000000000 --- a/plug-ins/lighting/Makefile.am +++ /dev/null @@ -1,69 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AUTOMAKE_OPTIONS = subdir-objects - -if OS_WIN32 -mwindows = -mwindows -else -libm = -lm -endif - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -lighting_RC = lighting.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -SUBDIRS = images - -libexecdir = $(gimpplugindir)/plug-ins/lighting - -libexec_PROGRAMS = lighting - -lighting_SOURCES = \ - lighting-apply.c \ - lighting-apply.h \ - lighting-icons.c \ - lighting-icons.h \ - lighting-image.c \ - lighting-image.h \ - lighting-main.c \ - lighting-main.h \ - lighting-preview.c \ - lighting-preview.h \ - lighting-shade.c \ - lighting-shade.h \ - lighting-ui.c \ - lighting-ui.h \ - images/lighting-icon-images.c \ - images/lighting-icon-images.h - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libm) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(lighting_RC) diff --git a/plug-ins/lighting/images/.gitignore b/plug-ins/lighting/images/.gitignore deleted file mode 100644 index 4100c45681..0000000000 --- a/plug-ins/lighting/images/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/.deps -/.dirstamp -/Makefile -/Makefile.in -/lighting-icon-images.c -/lighting-icon-images.h diff --git a/plug-ins/lighting/images/Makefile.am b/plug-ins/lighting/images/Makefile.am deleted file mode 100644 index ecfda93401..0000000000 --- a/plug-ins/lighting/images/Makefile.am +++ /dev/null @@ -1,33 +0,0 @@ -## Process this file with automake to produce Makefile.in - -STOCK_IMAGES = \ - lighting-intensity-ambient-high.png \ - lighting-intensity-ambient-low.png \ - lighting-intensity-diffuse-high.png \ - lighting-intensity-diffuse-low.png \ - lighting-reflectivity-diffuse-high.png \ - lighting-reflectivity-diffuse-low.png \ - lighting-reflectivity-specular-high.png \ - lighting-reflectivity-specular-low.png \ - lighting-reflectivity-highlight-high.png \ - lighting-reflectivity-highlight-low.png - -EXTRA_DIST = \ - $(STOCK_IMAGES) \ - lighting-icon-images.gresource.xml - -noinst_DATA = \ - lighting-icon-images.c \ - lighting-icon-images.h - -CLEANFILES = $(noinst_DATA) - -lighting-icon-images.h: lighting-icon-images.gresource.xml - $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \ - --sourcedir=$(srcdir) --generate-header \ - --target=$@ $(srcdir)/lighting-icon-images.gresource.xml - -lighting-icon-images.c: lighting-icon-images.h - $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \ - --sourcedir=$(srcdir) --generate-source \ - --target=$@ $(srcdir)/lighting-icon-images.gresource.xml diff --git a/plug-ins/map-object/.gitignore b/plug-ins/map-object/.gitignore deleted file mode 100644 index 128df45875..0000000000 --- a/plug-ins/map-object/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/map-object -/map-object.exe diff --git a/plug-ins/map-object/Makefile.am b/plug-ins/map-object/Makefile.am deleted file mode 100644 index 39e64e7b05..0000000000 --- a/plug-ins/map-object/Makefile.am +++ /dev/null @@ -1,69 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AUTOMAKE_OPTIONS = subdir-objects - -if OS_WIN32 -mwindows = -mwindows -else -libm = -lm -endif - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -map_object_RC = map-object.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -libexecdir = $(gimpplugindir)/plug-ins/map-object - -libexec_PROGRAMS = map-object - -map_object_SOURCES = \ - arcball.c \ - arcball.h \ - map-object-apply.c \ - map-object-apply.h \ - map-object-icons.c \ - map-object-icons.h \ - map-object-image.c \ - map-object-image.h \ - map-object-main.c \ - map-object-main.h \ - map-object-preview.c \ - map-object-preview.h \ - map-object-shade.c \ - map-object-shade.h \ - map-object-ui.c \ - map-object-ui.h \ - ../lighting/images/lighting-icon-images.c \ - ../lighting/images/lighting-icon-images.h - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libm) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(map_object_RC) diff --git a/plug-ins/metadata/.gitignore b/plug-ins/metadata/.gitignore deleted file mode 100644 index bcea2fe094..0000000000 --- a/plug-ins/metadata/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/metadata-editor -/metadata-editor.exe -/metadata-viewer -/metadata-viewer.exe diff --git a/plug-ins/metadata/Makefile.am b/plug-ins/metadata/Makefile.am deleted file mode 100644 index 23e00f2c8d..0000000000 --- a/plug-ins/metadata/Makefile.am +++ /dev/null @@ -1,82 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if OS_WIN32 -mwindows = -mwindows -else -libm = -lm -endif - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -metadata_editor_RC = metadata-editor.rc.o -metadata_viewer_RC = metadata-viewer.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -me_libexecdir = $(gimpplugindir)/plug-ins/metadata-editor -mv_libexecdir = $(gimpplugindir)/plug-ins/metadata-viewer - -me_libexec_PROGRAMS = metadata-editor -mv_libexec_PROGRAMS = metadata-viewer - -metadata_editor_SOURCES = \ - metadata-editor.c \ - metadata-editor.h \ - metadata-impexp.c \ - metadata-impexp.h \ - metadata-misc.h \ - metadata-tags.c \ - metadata-tags.h \ - metadata-xml.c \ - metadata-xml.h - -metadata_viewer_SOURCES = \ - metadata-viewer.c \ - metadata-tags.c \ - metadata-tags.h - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -metadata_viewer_LDADD = \ - $(libm) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEXIV2_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(metadata_viewer_RC) - -metadata_editor_LDADD = \ - $(libm) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEXIV2_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(metadata_editor_RC) - diff --git a/plug-ins/pagecurl/.gitignore b/plug-ins/pagecurl/.gitignore deleted file mode 100644 index 63f6e3e4d7..0000000000 --- a/plug-ins/pagecurl/.gitignore +++ /dev/null @@ -1,10 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/pagecurl -/pagecurl.exe -/pagecurl-icons.c -/pagecurl-icons.h -/pagecurl-icons.gresource.xml diff --git a/plug-ins/pagecurl/Makefile.am b/plug-ins/pagecurl/Makefile.am deleted file mode 100644 index d41680d1e5..0000000000 --- a/plug-ins/pagecurl/Makefile.am +++ /dev/null @@ -1,97 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if OS_WIN32 -mwindows = -mwindows -else -libm = -lm -endif - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -pagecurl_RC = pagecurl.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -libexecdir = $(gimpplugindir)/plug-ins/pagecurl - -libexec_PROGRAMS = pagecurl - -pagecurl_built_sources = \ - pagecurl-icons.c \ - pagecurl-icons.h - -pagecurl_SOURCES = \ - $(pagecurl_built_sources) \ - pagecurl.c - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libm) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(pagecurl_RC) - - -PAGECURL_IMAGES = \ - curl0.png \ - curl1.png \ - curl2.png \ - curl3.png \ - curl4.png \ - curl5.png \ - curl6.png \ - curl7.png - -EXTRA_DIST = $(PAGECURL_IMAGES) - -gen_sources = \ - pagecurl-icons.c \ - pagecurl-icons.h - -CLEANFILES = \ - $(gen_sources) \ - pagecurl-icons.gresource.xml - -pagecurl-icons.gresource.xml: $(PAGECURL_IMAGES) Makefile.am - $(AM_V_GEN) ( rm -f $@; \ - echo '' > $@; \ - echo '' >> $@; \ - echo ' ' >> $@; \ - for image in $(PAGECURL_IMAGES); do \ - echo " $$image" >> $@; \ - done; \ - echo ' ' >> $@; \ - echo '' >> $@ ) - -pagecurl-icons.h: pagecurl-icons.gresource.xml - $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \ - --sourcedir=$(srcdir) --generate-header \ - --target=$@ pagecurl-icons.gresource.xml - -pagecurl-icons.c: pagecurl-icons.h - $(AM_V_GEN) $(HOST_GLIB_COMPILE_RESOURCES) \ - --sourcedir=$(srcdir) --generate-source \ - --target=$@ pagecurl-icons.gresource.xml diff --git a/plug-ins/print/.gitignore b/plug-ins/print/.gitignore deleted file mode 100644 index 024f0ee0a7..0000000000 --- a/plug-ins/print/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/Makefile.in -/Makefile -/print -/print.exe -/.libs -/.deps diff --git a/plug-ins/print/Makefile.am b/plug-ins/print/Makefile.am deleted file mode 100644 index 9c8b6c3f31..0000000000 --- a/plug-ins/print/Makefile.am +++ /dev/null @@ -1,62 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if OS_WIN32 -mwindows = -mwindows -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -print_RC = print.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(print_RC) - -libexecdir = $(gimpplugindir)/plug-ins/print - -libexec_PROGRAMS = print - -EXTRA_PROGRAMS = print - -print_SOURCES = \ - print.c \ - print.h \ - print-draw-page.c \ - print-draw-page.h \ - print-page-layout.c \ - print-page-layout.h \ - print-page-setup.h \ - print-page-setup.c \ - print-preview.c \ - print-preview.h \ - print-settings.c \ - print-settings.h \ - print-utils.c \ - print-utils.h diff --git a/plug-ins/python/.gitignore b/plug-ins/python/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/plug-ins/python/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/plug-ins/python/Makefile.am b/plug-ins/python/Makefile.am deleted file mode 100644 index 24c60f935e..0000000000 --- a/plug-ins/python/Makefile.am +++ /dev/null @@ -1,71 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = \ - python-console - -colorxhtmldir = $(gimpplugindir)/plug-ins/colorxhtml -colorxhtml_SCRIPTS = colorxhtml.py - -file_openrasterdir = $(gimpplugindir)/plug-ins/file-openraster -file_openraster_SCRIPTS = file-openraster.py - -foggifydir = $(gimpplugindir)/plug-ins/foggify -foggify_SCRIPTS = foggify.py - -gradients_save_as_cssdir = $(gimpplugindir)/plug-ins/gradients-save-as-css -gradients_save_as_css_SCRIPTS = gradients-save-as-css.py - -histogram_exportdir = $(gimpplugindir)/plug-ins/histogram-export -histogram_export_SCRIPTS = histogram-export.py - -palette_offsetdir = $(gimpplugindir)/plug-ins/palette-offset -palette_offset_SCRIPTS = palette-offset.py - -palette_sortdir = $(gimpplugindir)/plug-ins/palette-sort -palette_sort_SCRIPTS = palette-sort.py - -palette_to_gradientdir = $(gimpplugindir)/plug-ins/palette-to-gradient -palette_to_gradient_SCRIPTS = palette-to-gradient.py - -python_evaldir = $(gimpplugindir)/plug-ins/python-eval -python_eval_SCRIPTS = python-eval.py - -spyro_plusdir = $(gimpplugindir)/plug-ins/spyro-plus -spyro_plus_SCRIPTS = spyro-plus.py - -EXTRA_DIST = \ - colorxhtml.py \ - file-openraster.py \ - foggify.py \ - gradients-save-as-css.py \ - histogram-export.py \ - palette-offset.py \ - palette-sort.py \ - palette-to-gradient.py \ - python-eval.py \ - spyro-plus.py - -if GIMP_UNSTABLE -test_dialogdir = $(gimpplugindir)/plug-ins/test-dialog -test_dialog_SCRIPTS = test-dialog.py -EXTRA_DIST += test-dialog.py -endif - -# Python interpreter file. - -pyinterpdir = $(gimpplugindir)/interpreters -pyinterpfile = $(pyinterpdir)/pygimp.interp - -if HAS_PYTHON_INTERP -install-interp-file: - $(mkinstalldirs) '$(DESTDIR)$(pyinterpdir)' - echo 'python=$(PYBIN_PATH)' > '$(DESTDIR)$(pyinterpfile)' - echo 'python3=$(PYBIN_PATH)' >> '$(DESTDIR)$(pyinterpfile)' - echo '/usr/bin/python=$(PYBIN_PATH)' >> '$(DESTDIR)$(pyinterpfile)' - echo ":Python:E::py::`basename $(PYTHON)`:" >> '$(DESTDIR)$(pyinterpfile)' - -install-data-local: install-interp-file -endif - -uninstall-local: - rm -f '$(DESTDIR)$(pyinterpfile)' diff --git a/plug-ins/python/python-console/.gitignore b/plug-ins/python/python-console/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/plug-ins/python/python-console/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/plug-ins/python/python-console/Makefile.am b/plug-ins/python/python-console/Makefile.am deleted file mode 100644 index 6c2b7494b0..0000000000 --- a/plug-ins/python/python-console/Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ -consoleexecdir = $(gimpplugindir)/plug-ins/python-console -console_scripts = python-console.py -consoleexec_SCRIPTS = $(console_scripts) -dist_consoleexec_DATA = pyconsole.py - -EXTRA_DIST = \ - $(console_scripts) diff --git a/plug-ins/screenshot/.gitignore b/plug-ins/screenshot/.gitignore deleted file mode 100644 index 9d553d1076..0000000000 --- a/plug-ins/screenshot/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/Makefile.in -/Makefile -/screenshot -/screenshot.exe -/.libs -/.deps diff --git a/plug-ins/screenshot/Makefile.am b/plug-ins/screenshot/Makefile.am deleted file mode 100644 index a04c22d6af..0000000000 --- a/plug-ins/screenshot/Makefile.am +++ /dev/null @@ -1,70 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if OS_WIN32 -mwindows = -mwindows -screenshot_RC = screenshot-win32-res.o -endif - -AM_LDFLAGS = $(mwindows) - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(XFIXES_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpmath) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(SCREENSHOT_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(screenshot_RC) - -libexecdir = $(gimpplugindir)/plug-ins/screenshot - -libexec_PROGRAMS = screenshot - -EXTRA_PROGRAMS = screenshot - -screenshot_SOURCES = \ - screenshot.c \ - screenshot.h \ - screenshot-freedesktop.c \ - screenshot-freedesktop.h \ - screenshot-osx.c \ - screenshot-osx.h \ - screenshot-x11.c \ - screenshot-x11.h \ - screenshot-win32.rc \ - screenshot-win32.c \ - screenshot-win32.h \ - screenshot-win32-dwm-api.h \ - screenshot-win32-magnification-api.h \ - screenshot-win32-resource.h - -EXTRA_DIST = \ - screenshot-win32-select.cur \ - screenshot-win32-small.ico \ - screenshot-win32.ico - -if OS_WIN32 -screenshot-win32-res.o: screenshot-win32.rc screenshot-win32-select.cur screenshot-win32-small.ico screenshot-win32.ico - $(WINDRES) $(srcdir)/screenshot-win32.rc screenshot-win32-res.o -endif diff --git a/plug-ins/script-fu/.gitignore b/plug-ins/script-fu/.gitignore deleted file mode 100644 index 3c6647a830..0000000000 --- a/plug-ins/script-fu/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/script-fu -/script-fu.exe diff --git a/plug-ins/script-fu/Makefile.am b/plug-ins/script-fu/Makefile.am deleted file mode 100644 index ca70ed9a85..0000000000 --- a/plug-ins/script-fu/Makefile.am +++ /dev/null @@ -1,100 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if PLATFORM_OSX -xobjective_c = "-xobjective-c" -xobjective_cxx = "-xobjective-c++" -xnone = "-xnone" -framework_cocoa = -framework Cocoa -endif - -if OS_WIN32 -mwindows = -mwindows -WINSOCK_LIBS = -lws2_32 -else -libm = -lm -endif - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la $(libm) - -# link to libscriptfu -libgimp_scriptfu = $(top_builddir)/plug-ins/script-fu/libscriptfu/libgimp-scriptfu-$(GIMP_API_VERSION).la - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -script_fu_RC = script-fu.rc.o -endif - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - $(INTROSPECTION_CFLAGS) \ - -I$(includedir) \ - -I$(srcdir)/libscriptfu \ - -DG_LOG_DOMAIN=\"scriptfu\" - -AM_CFLAGS = \ - $(xobjective_c) - -AM_CXXFLAGS = \ - $(xobjective_cxx) - -AM_LDFLAGS = \ - $(mwindows) \ - $(framework_cocoa) \ - $(xnone) - -SUBDIRS = libscriptfu scripts server interpreter - -# Each plugin must be installed in a dir of the same name as the executable -script_fudir = $(gimpplugindir)/plug-ins/script-fu - -script_fu_PROGRAMS = script-fu - -script_fu_SOURCES = \ - script-fu.c \ - \ - script-fu-console.c \ - script-fu-console.h \ - script-fu-eval.c \ - script-fu-eval.h \ - script-fu-text-console.h \ - script-fu-text-console.c - - -# link with libgimp-scriptfu and the usual gimp suspects -script_fu_LDADD = \ - $(libgimp_scriptfu) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimpmath) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(INTROSPECTION_LIBS) \ - $(script_fu_RC) - - -# Perform static analysis on all *.scm files and look for usage of -# deprecated pdb procedures -check-for-deprecated-procedures-in-script-fu: - @echo "Looking for deprecated procedures in *.scm files" - @scm_files=`find $(top_srcdir)/plug-ins/script-fu -name "*.scm"`; \ - deprecated_procs=`$(top_builddir)/app/gimp-$(GIMP_APP_VERSION)$(EXEEXT) --dump-pdb-procedures-deprecated`; \ - for scm_file in $$scm_files; do \ - for proc in $$deprecated_procs; do \ - if grep -Eq "^([^;]*[[:blank:](])?$$proc([[:blank:])]|$$)" $$scm_file; then \ - echo "$${scm_file} uses deprecated procedure '$${proc}'"; \ - fi \ - done \ - done diff --git a/plug-ins/script-fu/interpreter/.gitignore b/plug-ins/script-fu/interpreter/.gitignore deleted file mode 100644 index 361a0bb007..0000000000 --- a/plug-ins/script-fu/interpreter/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/script-fu-interpreter.exe diff --git a/plug-ins/script-fu/interpreter/Makefile.am b/plug-ins/script-fu/interpreter/Makefile.am deleted file mode 100644 index d957c3acf8..0000000000 --- a/plug-ins/script-fu/interpreter/Makefile.am +++ /dev/null @@ -1,102 +0,0 @@ -## Process this file with automake to produce Makefile.in - -# derived from app/Makefile.am, another installed binary - -if PLATFORM_OSX -xobjective_c = "-xobjective-c" -xobjective_cxx = "-xobjective-c++" -xnone = "-xnone" -framework_cocoa = -framework Cocoa -endif - -if OS_WIN32 -win32_ldflags = -mwindows -Wl,--tsaware $(WIN32_LARGE_ADDRESS_AWARE) - -if HAVE_EXCHNDL -exchndl = -lexchndl -endif - -else -libm = -lm -endif - -if ENABLE_RELOCATABLE_RESOURCES -munix = -Wl,-rpath '-Wl,$$ORIGIN/../lib' -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -script_fu_interpreter_RC = script-fu-interpreter.rc.o -endif - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la $(libm) - -# link to libscriptfu -libgimp_scriptfu = $(top_builddir)/plug-ins/script-fu/libscriptfu/libgimp-scriptfu-$(GIMP_API_VERSION).la - -# include srcdir parent to find libscriptfu include files -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) \ - -I$(srcdir)/.. \ - -DG_LOG_DOMAIN=\"scriptfu\" - -AM_CFLAGS = \ - $(xobjective_c) - -AM_CXXFLAGS = \ - $(xobjective_cxx) - -AM_LDFLAGS = \ - $(munix) \ - $(win32_ldflags) \ - $(framework_cocoa) \ - $(xnone) - -# interpreter is-a plugin but is-a bin_PROGRAM -# i.e. installs to usual place of executables e.g. /usr/bin so shebangs find it. -bin_PROGRAMS = gimp-script-fu-interpreter-@GIMP_API_VERSION@ - -gimp_script_fu_interpreter_@GIMP_API_VERSION@_SOURCES = \ - script-fu-interpreter.c \ - script-fu-interpreter.h \ - script-fu-interpreter-plugin.c - -# link with libgimp-scriptfu -# link with the usual gimp suspects - -gimp_script_fu_interpreter_@GIMP_API_VERSION@_LDADD = \ - $(libgimp_scriptfu) \ - $(libgimpmath) \ - $(libgimp) \ - $(libgimpbase) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimpcolor) \ - $(GTK_LIBS) \ - $(GTK_MAC_INTEGRATION_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(exchndl) \ - $(script_fu_interpreter_RC) - -install-exec-hook: -if DEFAULT_BINARY - cd $(DESTDIR)$(bindir) \ - && rm -f gimp-script-fu-interpreter$(EXEEXT) \ - && $(LN_S) gimp-script-fu-interpreter-$(GIMP_APP_VERSION)$(EXEEXT) gimp-script-fu-interpreter$(EXEEXT) -endif - -uninstall-local: -if DEFAULT_BINARY - rm -f $(DESTDIR)$(bindir)/gimp-script-fu-interpreter$(EXEEXT) -endif diff --git a/plug-ins/script-fu/libscriptfu/.gitignore b/plug-ins/script-fu/libscriptfu/.gitignore deleted file mode 100644 index aaccc7a5bb..0000000000 --- a/plug-ins/script-fu/libscriptfu/.gitignore +++ /dev/null @@ -1,5 +0,0 @@ -/.deps -/Makefile.in -/Makefile -/libscriptfu.a -/libscriptfu*.so diff --git a/plug-ins/script-fu/libscriptfu/Makefile.am b/plug-ins/script-fu/libscriptfu/Makefile.am deleted file mode 100644 index 277564708c..0000000000 --- a/plug-ins/script-fu/libscriptfu/Makefile.am +++ /dev/null @@ -1,151 +0,0 @@ -## Process this file with automake to produce Makefile.in - -# Derived from libgimp/Makefile.am and modules/Makefile.am - -if PLATFORM_WIN32 -no_undefined = -no-undefined -endif - -if PLATFORM_OSX -xobjective_c = "-xobjective-c" -xobjective_cxx = "-xobjective-c++" -xnone = "-xnone" -framework_cocoa = -framework Cocoa -endif - -if OS_WIN32 -mwindows = -mwindows -else -libm = -lm -endif - -if OS_WIN32 -if HAVE_EXCHNDL -exchndl = -lexchndl -endif - -scriptfu_def = script-fu.def -libgimp_scriptfu_export_symbols = -export-symbols $(srcdir)/script-fu.def - -install-libtool-import-lib: - $(INSTALL) .libs/libgimp-scriptfu-$(GIMP_API_VERSION).dll.a $(DESTDIR)$(libdir) - $(INSTALL) $(srcdir)/script-fu.def $(DESTDIR)$(libdir) - -uninstall-libtool-import-lib: - -rm $(DESTDIR)$(libdir)/libgimp-scriptfu-$(GIMP_API_VERSION).dll.a - -rm $(DESTDIR)$(libdir)/script-fu.def -else -install-libtool-import-lib: -uninstall-libtool-import-lib: -endif - -if MS_LIB_AVAILABLE -noinst_DATA = gimp-scriptfu-$(GIMP_API_VERSION).lib - -install-ms-lib: - $(INSTALL) gimp-scriptfu-$(GIMP_API_VERSION).lib $(DESTDIR)$(libdir) - -uninstall-ms-lib: - -rm $(DESTDIR)$(libdir)/gimp-scriptfu-$(GIMP_API_VERSION).lib - -gimp-scriptfu-@GIMP_API_VERSION@.lib: script-fu.def - lib -name:libgimp-scriptfu-$(GIMP_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:script-fu.def -out:$@ - -else -install-ms-lib: -uninstall-ms-lib: -endif - - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) \ - -DG_LOG_DOMAIN=\"scriptfu\" \ - -DSTANDALONE=0 \ - -DUSE_INTERFACE=1 \ - -DUSE_STRLWR=0 - -AM_CFLAGS = \ - $(xobjective_c) - -AM_CXXFLAGS = \ - $(xobjective_cxx) - -AM_LDFLAGS = \ - -version-info $(LT_VERSION_INFO) \ - $(no_undefined) \ - $(libgimp_scriptfu_export_symbols) \ - $(mwindows) \ - $(framework_cocoa) \ - $(xnone) - -# make convenience libraries -SUBDIRS = tinyscheme ftx - -libtinyscheme = tinyscheme/libtinyscheme.la $(libm) -libftx = ftx/libftx.la - -# FUTURE: install to private dir "lib" near other GIMP plugin executables -# Not doing this because it complicates packaging -# Instead, this library installs in same place as libgimp -# libdir = $(gimpplugindir)/lib - -# Declare target, this library -lib_LTLIBRARIES = libgimp-scriptfu-@GIMP_API_VERSION@.la - -# declare sources, independent of static versus shared -libgimp_scriptfu_@GIMP_API_VERSION@_la_SOURCES = \ - script-fu-types.h \ - script-fu-enums.h \ - script-fu-interface.c \ - script-fu-interface.h \ - script-fu-intl.h \ - script-fu-regex.c \ - script-fu-regex.h \ - script-fu-script.c \ - script-fu-script.h \ - script-fu-scripts.c \ - script-fu-scripts.h \ - script-fu-utils.c \ - script-fu-utils.h \ - script-fu-errors.c \ - script-fu-errors.h \ - script-fu-compat.c \ - script-fu-compat.h \ - scheme-marshal.c \ - scheme-marshal.h \ - scheme-wrapper.c \ - scheme-wrapper.h \ - script-fu-lib.c \ - script-fu-lib.h \ - script-fu-proc-factory.h \ - script-fu-proc-factory.c \ - script-fu-arg.c \ - script-fu-arg.h \ - script-fu-command.h \ - script-fu-command.c \ - script-fu-dialog.h \ - script-fu-dialog.c \ - script-fu-register.h \ - script-fu-register.c \ - script-fu-run-func.h \ - script-fu-run-func.c - -EXTRA_libgimp_scriptfu_@GIMP_API_VERSION@_la_DEPENDENCIES = $(scriptfu_def) - -libgimp_scriptfu_@GIMP_API_VERSION@_la_LIBADD = \ - $(libtinyscheme) \ - $(libftx) \ - $(exchndl) - -# libgimp-scriptfu depends on many other libraries, but we don't declare deps -# until exist more than just the script-fu executable using the lib - -EXTRA_DIST = \ - script-fu.def - -install-data-local: install-ms-lib install-libtool-import-lib - -uninstall-local: uninstall-ms-lib uninstall-libtool-import-lib diff --git a/plug-ins/script-fu/libscriptfu/ftx/.gitignore b/plug-ins/script-fu/libscriptfu/ftx/.gitignore deleted file mode 100644 index aaa0c5c40a..0000000000 --- a/plug-ins/script-fu/libscriptfu/ftx/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/.deps -/Makefile.in -/Makefile -/libftx.a diff --git a/plug-ins/script-fu/libscriptfu/ftx/Makefile.am b/plug-ins/script-fu/libscriptfu/ftx/Makefile.am deleted file mode 100644 index f55048d34b..0000000000 --- a/plug-ins/script-fu/libscriptfu/ftx/Makefile.am +++ /dev/null @@ -1,17 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CFLAGS = \ - -DUSE_INTERFACE=1 \ - -I$(srcdir)/.. \ - $(GLIB_CFLAGS) - -# Is "libtool convenience" not installed and not versioned -noinst_LTLIBRARIES = libftx.la - -libftx_la_SOURCES = ftx.c ftx.h - -EXTRA_DIST = \ - LICENSE \ - README \ - ftx-functions.txt \ - listhome.scm diff --git a/plug-ins/script-fu/libscriptfu/tinyscheme/.gitignore b/plug-ins/script-fu/libscriptfu/tinyscheme/.gitignore deleted file mode 100644 index 0395cd9870..0000000000 --- a/plug-ins/script-fu/libscriptfu/tinyscheme/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -/.deps -/Makefile.in -/Makefile -/libtinyscheme.a diff --git a/plug-ins/script-fu/libscriptfu/tinyscheme/Makefile.am b/plug-ins/script-fu/libscriptfu/tinyscheme/Makefile.am deleted file mode 100644 index d82d4a123a..0000000000 --- a/plug-ins/script-fu/libscriptfu/tinyscheme/Makefile.am +++ /dev/null @@ -1,27 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AM_CFLAGS = \ - -DSTANDALONE=0 \ - -DUSE_INTERFACE=1 \ - -DUSE_MATH=1 \ - -DUSE_ASCII_NAMES=0 \ - -DUSE_STRLWR=0 \ - -I$(top_srcdir) \ - $(GLIB_CFLAGS) - -# Is "libtool convenience" not installed and not versioned -noinst_LTLIBRARIES = libtinyscheme.la - -libtinyscheme_la_SOURCES = \ - scheme.c \ - opdefines.h \ - scheme-private.h \ - scheme.h - -EXTRA_DIST = \ - BUILDING \ - CHANGES \ - COPYING \ - hack.txt \ - Manual.txt \ - MiniSCHEMETribute.txt diff --git a/plug-ins/script-fu/scripts/.gitignore b/plug-ins/script-fu/scripts/.gitignore deleted file mode 100644 index b336cc7cec..0000000000 --- a/plug-ins/script-fu/scripts/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile -/Makefile.in diff --git a/plug-ins/script-fu/scripts/Makefile.am b/plug-ins/script-fu/scripts/Makefile.am deleted file mode 100644 index 2f972163a5..0000000000 --- a/plug-ins/script-fu/scripts/Makefile.am +++ /dev/null @@ -1,87 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = images - -scriptdatadir = $(gimpdatadir)/scripts - -scripts = \ - script-fu.init \ - script-fu-compat.init \ - plug-in-compat.init \ - add-bevel.scm \ - addborder.scm \ - blend-anim.scm \ - burn-in-anim.scm \ - carve-it.scm \ - chrome-it.scm \ - circuit.scm \ - clothify.scm \ - coffee.scm \ - copy-visible.scm \ - difference-clouds.scm \ - distress-selection.scm \ - drop-shadow.scm \ - erase-rows.scm \ - font-map.scm \ - fuzzyborder.scm \ - gimp-online.scm \ - gradient-example.scm \ - grid-system.scm \ - guides-from-selection.scm \ - guides-new.scm \ - guides-new-percent.scm \ - guides-remove-all.scm \ - lava.scm \ - line-nova.scm \ - mkbrush.scm \ - old-photo.scm \ - palette-export.scm \ - paste-as-brush.scm \ - paste-as-pattern.scm \ - perspective-shadow.scm \ - reverse-layers.scm \ - ripply-anim.scm \ - round-corners.scm \ - script-fu-set-cmap.scm \ - script-fu-util.scm \ - select-to-brush.scm \ - select-to-image.scm \ - select-to-pattern.scm \ - selection-round.scm \ - slide.scm \ - spinning-globe.scm \ - tileblur.scm \ - unsharp-mask.scm \ - waves-anim.scm \ - weave.scm \ - xach-effect.scm - -# FIXME: when 3.0 ships, ship only the v3 versions -# of clothify.scm and test-sphere.scm -# During dev of 2.99, install old and new so devs can compare their GUIs. -test_scripts = \ - contactsheet.scm \ - test-sphere.scm \ - clothify-v3.scm - - -# scripts interpreted by gimp-script-fu-interpreter -# Each installs to a subdir of /plug-ins -# Each should have a shebang and execute permission -independent_scripts = \ - ts-helloworld.scm \ - test-sphere-v3.scm - -ts_helloworlddir = $(gimpplugindir)/plug-ins/ts-helloworld -ts_helloworld_SCRIPTS = ts-helloworld.scm -test_sphere_v3dir = $(gimpplugindir)/plug-ins/test-sphere-v3 -test_sphere_v3_SCRIPTS = test-sphere-v3.scm - - -scriptdata_DATA = $(scripts) - -if GIMP_UNSTABLE -scriptdata_DATA += $(test_scripts) -endif - -EXTRA_DIST = $(scripts) $(test_scripts) $(independent_scripts) diff --git a/plug-ins/script-fu/scripts/images/.gitignore b/plug-ins/script-fu/scripts/images/.gitignore deleted file mode 100644 index b336cc7cec..0000000000 --- a/plug-ins/script-fu/scripts/images/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile -/Makefile.in diff --git a/plug-ins/script-fu/scripts/images/Makefile.am b/plug-ins/script-fu/scripts/images/Makefile.am deleted file mode 100644 index 545722693b..0000000000 --- a/plug-ins/script-fu/scripts/images/Makefile.am +++ /dev/null @@ -1,12 +0,0 @@ -## Process this file with automake to produce Makefile.in - -imagesdatadir = $(gimpdatadir)/scripts/images - -imagesdata_DATA = \ - beavis.jpg \ - texture.jpg \ - texture1.jpg \ - texture2.jpg \ - texture3.jpg - -EXTRA_DIST = $(imagesdata_DATA) diff --git a/plug-ins/script-fu/server/.gitignore b/plug-ins/script-fu/server/.gitignore deleted file mode 100644 index f775ed4e5c..0000000000 --- a/plug-ins/script-fu/server/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/script-fu-server.exe diff --git a/plug-ins/script-fu/server/Makefile.am b/plug-ins/script-fu/server/Makefile.am deleted file mode 100644 index 89e253e6f4..0000000000 --- a/plug-ins/script-fu/server/Makefile.am +++ /dev/null @@ -1,79 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if PLATFORM_OSX -xobjective_c = "-xobjective-c" -xobjective_cxx = "-xobjective-c++" -xnone = "-xnone" -framework_cocoa = -framework Cocoa -endif - -if OS_WIN32 -mwindows = -mwindows -WINSOCK_LIBS = -lws2_32 -else -libm = -lm -endif - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la $(libm) - -# link to libscriptfu -libgimp_scriptfu = $(top_builddir)/plug-ins/script-fu/libscriptfu/libgimp-scriptfu-$(GIMP_API_VERSION).la - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -script_fu_server_RC = script-fu-server.rc.o -endif - -# include srcdir parent to find libscriptfu include files -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) \ - -I$(srcdir)/.. \ - -DG_LOG_DOMAIN=\"scriptfu\" - -AM_CFLAGS = \ - $(xobjective_c) - -AM_CXXFLAGS = \ - $(xobjective_cxx) - -AM_LDFLAGS = \ - $(mwindows) \ - $(framework_cocoa) \ - $(xnone) - -# Each plugin must be installed in a dir of the same name as the executable -script_fu_serverdir = $(gimpplugindir)/plug-ins/script-fu-server - -script_fu_server_PROGRAMS = script-fu-server - -script_fu_server_SOURCES = \ - script-fu-server.c \ - script-fu-server.h \ - script-fu-server-plugin.c - -# link with libgimp-scriptfu and the usual gimp suspects -# Also link w socket libs -script_fu_server_LDADD = \ - $(libgimp_scriptfu) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimpmath) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(SOCKET_LIBS) \ - $(WINSOCK_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(script_fu_server_RC) diff --git a/plug-ins/selection-to-path/.gitignore b/plug-ins/selection-to-path/.gitignore deleted file mode 100644 index 1ee1af8de3..0000000000 --- a/plug-ins/selection-to-path/.gitignore +++ /dev/null @@ -1,7 +0,0 @@ -/Makefile.in -/Makefile -/.deps -/_libs -/.libs -/selection-to-path -/selection-to-path.exe diff --git a/plug-ins/selection-to-path/Makefile.am b/plug-ins/selection-to-path/Makefile.am deleted file mode 100644 index e1d30726da..0000000000 --- a/plug-ins/selection-to-path/Makefile.am +++ /dev/null @@ -1,73 +0,0 @@ -## Process this file with automake to produce Makefile.in - -if OS_WIN32 -mwindows = -mwindows -else -libm = -lm -endif - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -selection_to_path_RC = selection-to-path.rc.o -endif - -AM_LDFLAGS = $(mwindows) - -libexecdir = $(gimpplugindir)/plug-ins/selection-to-path - -libexec_PROGRAMS = selection-to-path - -selection_to_path_SOURCES = \ - bitmap.h \ - bounding-box.h \ - curve.c \ - curve.h \ - edge.c \ - edge.h \ - fit.c \ - fit.h \ - global.h \ - math.c \ - pxl-outline.c \ - pxl-outline.h \ - selection-to-path.c \ - selection-to-path.h \ - selection-to-path-dialog.c \ - spline.c \ - spline.h \ - types.h \ - vector.c \ - vector.h - -EXTRA_DIST = \ - README \ - README.limn - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libm) \ - $(libgimpui) \ - $(libgimpwidgets) \ - $(libgimpconfig) \ - $(libgimpmath) \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GTK_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(selection_to_path_RC) diff --git a/plug-ins/twain/.gitignore b/plug-ins/twain/.gitignore deleted file mode 100644 index 5c800db4be..0000000000 --- a/plug-ins/twain/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/Makefile.in -/Makefile -/twain -/twain.exe -/.deps -/.libs diff --git a/plug-ins/twain/Makefile.am b/plug-ins/twain/Makefile.am deleted file mode 100644 index 4e094a530d..0000000000 --- a/plug-ins/twain/Makefile.am +++ /dev/null @@ -1,61 +0,0 @@ -## Process this file with automake to produce Makefile.in - -libgimpui = $(top_builddir)/libgimp/libgimpui-$(GIMP_API_VERSION).la -libgimpconfig = $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la -libgimpwidgets = $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la -libgimp = $(top_builddir)/libgimp/libgimp-$(GIMP_API_VERSION).la -libgimpcolor = $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la -libgimpmath = $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la - -libexecdir = $(gimpplugindir)/plug-ins/twain - -libexec_PROGRAMS = twain - - -if OS_WIN32 -twain_LDFLAGS = -mwindows -luser32 - -twainplatform = tw_win.c -endif - -if HAVE_WINDRES -include $(top_srcdir)/build/windows/gimprc-plug-ins.rule -twain_RC = twain.rc.o -endif - - -twain_SOURCES = \ - tw_func.c \ - tw_func.h \ - tw_util.c \ - tw_util.h \ - twain.c \ - twain.h \ - tw_local.h \ - tw_platform.h \ - $(twainplatform) - -EXTRA_DIST = \ - README \ - gimp-twain.png \ - tw_dump.c \ - tw_dump.h \ - tw_win.c - -AM_CPPFLAGS = \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - $(GEGL_CFLAGS) \ - -I$(includedir) - -LDADD = \ - $(libgimp) \ - $(libgimpcolor) \ - $(libgimpbase) \ - $(GLIB_LIBS) \ - $(GEGL_LIBS) \ - $(RT_LIBS) \ - $(INTLLIBS) \ - $(twain_LIBS) \ - $(twain_RC) diff --git a/po-libgimp/.gitignore b/po-libgimp/.gitignore deleted file mode 100644 index d008ca8e1b..0000000000 --- a/po-libgimp/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/*.gmo -/*.mo -/*.pot -/Makefile -/Makefile.in -/POTFILES -/messages -/missing -/stamp-it diff --git a/po-plug-ins/.gitignore b/po-plug-ins/.gitignore deleted file mode 100644 index d008ca8e1b..0000000000 --- a/po-plug-ins/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/*.gmo -/*.mo -/*.pot -/Makefile -/Makefile.in -/POTFILES -/messages -/missing -/stamp-it diff --git a/po-python/.gitignore b/po-python/.gitignore deleted file mode 100644 index d008ca8e1b..0000000000 --- a/po-python/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/*.gmo -/*.mo -/*.pot -/Makefile -/Makefile.in -/POTFILES -/messages -/missing -/stamp-it diff --git a/po-script-fu/.gitignore b/po-script-fu/.gitignore deleted file mode 100644 index d008ca8e1b..0000000000 --- a/po-script-fu/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/*.gmo -/*.mo -/*.pot -/Makefile -/Makefile.in -/POTFILES -/messages -/missing -/stamp-it diff --git a/po-tags/.gitignore b/po-tags/.gitignore deleted file mode 100644 index cbe74eaa2d..0000000000 --- a/po-tags/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -/*.gmo -/*.mo -/*.pot diff --git a/po-tips/.gitignore b/po-tips/.gitignore deleted file mode 100644 index d008ca8e1b..0000000000 --- a/po-tips/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/*.gmo -/*.mo -/*.pot -/Makefile -/Makefile.in -/POTFILES -/messages -/missing -/stamp-it diff --git a/po-windows-installer/.gitignore b/po-windows-installer/.gitignore deleted file mode 100644 index d008ca8e1b..0000000000 --- a/po-windows-installer/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/*.gmo -/*.mo -/*.pot -/Makefile -/Makefile.in -/POTFILES -/messages -/missing -/stamp-it diff --git a/po/.gitignore b/po/.gitignore deleted file mode 100644 index 10e6953d4a..0000000000 --- a/po/.gitignore +++ /dev/null @@ -1,18 +0,0 @@ -/*.gmo -/*.mo -/*.pot -/boldquot.sed -/en@boldquot.header -/en@quot.header -/insert-header.sin -/quot.sed -/remove-potcdate.sin -/Makefile -/Makefile.in -/Makevars.template -/POTFILES -/Rules-quot -/messages -/missing -/po2tbl.sed.in -/stamp-it diff --git a/themes/.gitignore b/themes/.gitignore deleted file mode 100644 index 9ee6454019..0000000000 --- a/themes/.gitignore +++ /dev/null @@ -1,2 +0,0 @@ -/Makefile.in -/Makefile diff --git a/themes/Compact/Makefile.am b/themes/Compact/Makefile.am deleted file mode 100644 index 8c70304dbf..0000000000 --- a/themes/Compact/Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ -## Process this file with automake to produce Makefile.in - -themedatadir = $(gimpdatadir)/themes/Compact - -themedata_DATA = gimp.css gimp-dark.css compact.css - -EXTRA_DIST = $(themedata_DATA) diff --git a/themes/Darker/Makefile.am b/themes/Darker/Makefile.am deleted file mode 100644 index 94269ddc4d..0000000000 --- a/themes/Darker/Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ -## Process this file with automake to produce Makefile.in - -themedatadir = $(gimpdatadir)/themes/Default - -themedata_DATA = gimp.css gimp-dark.css - -EXTRA_DIST = $(themedata_DATA) diff --git a/themes/Default/Makefile.am b/themes/Default/Makefile.am deleted file mode 100644 index 01c385fc6f..0000000000 --- a/themes/Default/Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ -## Process this file with automake to produce Makefile.in - -themedatadir = $(gimpdatadir)/themes/Default -themeuidir = $(themedatadir)/ui - -themedata_DATA = gimp.css gimp-dark.css common.css common-dark.css common-light.css - -themeui_DATA = \ - ui/separator-handle-v.svg \ - ui/separator-handle-h.svg \ - ui/separator-handle-v-dark.svg \ - ui/separator-handle-h-dark.svg - -EXTRA_DIST = $(themedata_DATA) $(themeui_DATA) diff --git a/themes/Gray/Makefile.am b/themes/Gray/Makefile.am deleted file mode 100644 index 61a68aa5c0..0000000000 --- a/themes/Gray/Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ -## Process this file with automake to produce Makefile.in - -themedatadir = $(gimpdatadir)/themes/Gray - -themedata_DATA = gimp.css - -EXTRA_DIST = $(themedata_DATA) diff --git a/themes/Makefile.am b/themes/Makefile.am deleted file mode 100644 index 7a59319632..0000000000 --- a/themes/Makefile.am +++ /dev/null @@ -1,3 +0,0 @@ -## Process this file with automake to produce Makefile.in - -SUBDIRS = System Default Compact Gray diff --git a/themes/System/.gitignore b/themes/System/.gitignore deleted file mode 100644 index 1e2525ec36..0000000000 --- a/themes/System/.gitignore +++ /dev/null @@ -1,6 +0,0 @@ -/Makefile -/Makefile.in -/.xvpics -/.thumbnails -/gimp-stock-pixbufs.h -/gimp-wilber-pixbufs.h diff --git a/themes/System/Makefile.am b/themes/System/Makefile.am deleted file mode 100644 index 496ca988f6..0000000000 --- a/themes/System/Makefile.am +++ /dev/null @@ -1,7 +0,0 @@ -## Process this file with automake to produce Makefile.in - -themedatadir = $(gimpdatadir)/themes/System - -themedata_DATA = gimp.css - -EXTRA_DIST = $(themedata_DATA) diff --git a/tools/.gitignore b/tools/.gitignore deleted file mode 100644 index aab3e10d04..0000000000 --- a/tools/.gitignore +++ /dev/null @@ -1,12 +0,0 @@ -/Makefile -/Makefile.in -/.deps -/.libs -/kernelgen -/gimptool-2.99 -/gimptool-2.99.exe -/gimp-test-clipboard-2.99 -/gimp-test-clipboard-2.99.exe -/gimp-debug-resume.exe -/compute-svg-viewbox -/compute-svg-viewbox.exe diff --git a/tools/Makefile.am b/tools/Makefile.am deleted file mode 100644 index 03ae474c48..0000000000 --- a/tools/Makefile.am +++ /dev/null @@ -1,126 +0,0 @@ -## Process this file with automake to produce Makefile.in - -AUTOMAKE_OPTIONS = subdir-objects - -libgimpbase = $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la - -if PLATFORM_OSX -xobjective_c = "-xobjective-c" -xobjective_cxx = "-xobjective-c++" -xnone = "-xnone" -endif - -bin_PROGRAMS = \ - gimptool-@GIMP_TOOL_VERSION@ \ - gimp-test-clipboard-@GIMP_TOOL_VERSION@ - -if OS_WIN32 - -bin_PROGRAMS += gimp-debug-resume - -gimp_debug_resume_SOURCES = gimp-debug-resume.c - -endif - -EXTRA_PROGRAMS = \ - kernelgen - - -gimptool_@GIMP_TOOL_VERSION@_SOURCES = gimptool.c - -gimptool_@GIMP_TOOL_VERSION@_LDADD = \ - $(libgimpbase) \ - $(GTK_LIBS) - - -gimp_test_clipboard_@GIMP_TOOL_VERSION@_SOURCES = gimp-test-clipboard.c - -gimp_test_clipboard_@GIMP_TOOL_VERSION@_LDADD = \ - $(libgimpbase) \ - $(GTK_LIBS) - - -kernelgen_SOURCES = kernelgen.c - - - -if ENABLE_VECTOR_ICONS -# compute_svg_viewbox is not built or used because librsvg is just too buggy -# right now. But we keep the code around. The goal of this build tool will be -# to be able to extract SVG icons from a single SVG file at build time, rather -# than having to export and commit them manually. -#compute_svg_viewbox_SOURCES = compute-svg-viewbox.c - -#compute_svg_viewbox_CFLAGS = $(SVG_CFLAGS) - -#compute_svg_viewbox_LDADD = $(SVG_LIBS) - -# Build tools which must be built for the host platform. -#all-local: compute-svg-viewbox$(BUILD_EXEEXT) - -#noinst_PROGRAMS = compute-svg-viewbox - -#DISTCLEANFILES = compute-svg-viewbox$(BUILD_EXEEXT) -endif - -# Build tools which must be built for the build platform. -# Note: librsvg does not work well with at least -fsanitize=address so we -# disable all sanitizers which might have been added as CFLAGS. -colorsvg2png$(BUILD_EXEEXT): colorsvg2png.c - $(CC_FOR_BUILD) -o $@ $< $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) \ - -fno-sanitize=all \ - $(NATIVE_GLIB_LIBS) $(NATIVE_GLIB_CFLAGS) $(NATIVE_SVG_LIBS) $(NATIVE_SVG_CFLAGS) - -all-local: colorsvg2png$(BUILD_EXEEXT) - -DISTCLEANFILES = colorsvg2png$(BUILD_EXEEXT) - -AM_CPPFLAGS = \ - -DGIMP_APP_VERSION=\"@GIMP_APP_VERSION@\" \ - -DLOCALEDIR=\""$(gimplocaledir)"\" \ - -DPREFIX=\""$(prefix)"\" \ - -DEXEC_PREFIX=\""$(exec_prefix)"\" \ - -DBINDIR=\""$(bindir)"\" \ - -DSBINDIR=\""$(sbindir)"\" \ - -DLIBEXECDIR=\""$(libexecdir)"\" \ - -DDATADIR=\""$(datadir)"\" \ - -DDATAROOTDIR=\""$(datarootdir)"\" \ - -DSYSCONFDIR=\""$(sysconfdir)"\" \ - -DSHAREDSTATEDIR=\""$(sharedstatedir)"\" \ - -DLOCALSTATEDIR=\""$(localstatedir)"\" \ - -DLIBDIR=\""$(libdir)"\" \ - -DINFODIR=\""$(infodir)"\" \ - -DMANDIR=\""$(mandir)"\" \ - -DGIMPPLUGINDIR=\""$(gimpplugindir)"\" \ - -DGIMPDATADIR=\""$(gimpdatadir)"\" \ - -DCC=\""$(CC)"\" \ - -DGIMPDIR=\""$(gimpdir)"\" \ - -DGIMP_PLUGIN_VERSION=\""$(GIMP_PLUGIN_VERSION)"\" \ - -I$(top_srcdir) \ - $(GTK_CFLAGS) \ - -I$(includedir) - -AM_CFLAGS = \ - $(xobjective_c) - -AM_CXXFLAGS = \ - $(xobjective_cxx) - -AM_LDFLAGS = \ - $(xnone) - -EXTRA_DIST = \ - colorsvg2png.c \ - defcheck.py \ - generate-welcome-dialog-data.py \ - gimp-mkenums \ - gimppath2svg.py \ - mnemonic-clashes \ - performance-log-close-tags.py \ - performance-log-coalesce.py \ - performance-log-deduce.py \ - performance-log-expand.py \ - performance-log-progressive-coalesce.py \ - performance-log-resolve.py \ - performance-log-viewer \ - performance-log-viewer.py