[gimp/meson: 48/127] Add all missing plugins. TODO fix some missing ld.
- From: Félix Piédallu <fpiedallu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/meson: 48/127] Add all missing plugins. TODO fix some missing ld.
- Date: Fri, 2 Feb 2018 16:03:47 +0000 (UTC)
commit 8f51463cb36b21a1dd0c8d61dc44f83e70a85566
Author: Félix Piédallu <felix piedallu me>
Date: Mon Nov 20 21:33:21 2017 +0100
Add all missing plugins. TODO fix some missing ld.
meson.build | 3 +-
plug-ins/common/meson.build | 487 +++++++++++++++++++++++++++++++
plug-ins/file-bmp/meson.build | 24 ++
plug-ins/file-exr/meson.build | 23 ++
plug-ins/file-faxg3/meson.build | 23 ++
plug-ins/file-fits/meson.build | 23 ++
plug-ins/file-fli/meson.build | 23 ++
plug-ins/file-ico/meson.build | 25 ++
plug-ins/file-jpeg/meson.build | 28 ++
plug-ins/file-psd/meson.build | 28 ++
plug-ins/file-raw/meson.build | 25 ++
plug-ins/file-sgi/meson.build | 23 ++
plug-ins/file-tiff/meson.build | 25 ++
plug-ins/file-webp/meson.build | 25 ++
plug-ins/flame/meson.build | 25 ++
plug-ins/fractal-explorer/meson.build | 23 ++
plug-ins/gfig/gfig-examples/meson.build | 14 +
plug-ins/gfig/images/meson.build | 40 +++
plug-ins/gfig/meson.build | 39 +++
plug-ins/lighting/images/meson.build | 15 -
plug-ins/lighting/meson.build | 3 +-
21 files changed, 927 insertions(+), 17 deletions(-)
---
diff --git a/meson.build b/meson.build
index 41213e8..5c8ca56 100644
--- a/meson.build
+++ b/meson.build
@@ -1,7 +1,7 @@
# Meson build file
# http://bugzilla.gnome.org/enter_bug.cgi?product=GIMP
-project('gimp', 'c', version : '2.9.7',
+project('gimp', ['c', 'cpp'], version : '2.9.7',
meson_version : '>=0.40.0',
default_options : [
'sysconfdir=/etc',
@@ -584,6 +584,7 @@ xmllint = find_program('xmllint', required: false)
xsltproc= find_program('xsltproc',required: false)
intltool_merge = find_program('intltool-merge')
desktop_validate = find_program('desktop-file-validate')
+gdk_pixbuf_csource = find_program('gdk-pixbuf-csource')
# Check for vector icons
diff --git a/plug-ins/common/meson.build b/plug-ins/common/meson.build
index e69de29..4910d4d 100644
--- a/plug-ins/common/meson.build
+++ b/plug-ins/common/meson.build
@@ -0,0 +1,487 @@
+# TODO common.rc.o
+
+common_exes_list = [
+ [
+ 'align-layers',
+ [ 'align-layers.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'animation-optimize',
+ [ 'animation-optimize.c', ],
+ [ gtk2, gegl, gdk_pixbuf, cairo ],
+ ],
+ [
+ 'animation-play',
+ [ 'animation-play.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'blinds',
+ [ 'blinds.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'blur',
+ [ 'blur.c', ],
+ [ gtk2, gegl, gdk_pixbuf, cairo, ],
+ ],
+ [
+ 'border-average',
+ [ 'border-average.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'cartoon',
+ [ 'cartoon.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'checkerboard',
+ [ 'checkerboard.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'cml-explorer',
+ [ 'cml-explorer.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'color-cube-analyze',
+ [ 'color-cube-analyze.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'color-enhance',
+ [ 'color-enhance.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'colorify',
+ [ 'colorify.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'colormap-remap',
+ [ 'colormap-remap.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'compose',
+ [ 'compose.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'contrast-normalize',
+ [ 'contrast-normalize.c', ],
+ [ gtk2, gegl, gdk_pixbuf, cairo, ],
+ ],
+ [
+ 'contrast-retinex',
+ [ 'contrast-retinex.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'crop-zealous',
+ [ 'crop-zealous.c', ],
+ [ gtk2, gegl, gdk_pixbuf, cairo, ],
+ ],
+ [
+ 'curve-bend',
+ [ 'curve-bend.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'decompose',
+ [ 'decompose.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'depth-merge',
+ [ 'depth-merge.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'despeckle',
+ [ 'despeckle.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'destripe',
+ [ 'destripe.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'edge-dog',
+ [ 'edge-dog.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'edge-neon',
+ [ 'edge-neon.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'emboss',
+ [ 'emboss.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-cel',
+ [ 'file-cel.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-compressor',
+ [ 'file-compressor.c', ],
+ [ gdk_pixbuf, cairo, gio, liblzma, bz2, zlib, ],
+ ],
+ [
+ 'file-csource',
+ [ 'file-csource.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-desktop-link',
+ [ 'file-desktop-link.c', ],
+ [ gtk2, gegl, gdk_pixbuf, cairo, ],
+ ],
+ [
+ 'file-dicom',
+ [ 'file-dicom.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-gbr',
+ [ 'file-gbr.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-gegl',
+ [ 'file-gegl.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-gif-load',
+ [ 'file-gif-load.c', ],
+ [ gtk2, gegl, gdk_pixbuf, cairo, ],
+ ],
+ [
+ 'file-gif-save',
+ [ 'file-gif-save.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-gih',
+ [ 'file-gih.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-glob',
+ [ 'file-glob.c', ],
+ [ gtk2, gegl, gdk_pixbuf, cairo, ],
+ ],
+ [
+ 'file-header',
+ [ 'file-header.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-html-table',
+ [ 'file-html-table.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-jp2-load',
+ [ 'file-jp2-load.c', ],
+ [ gtk2, gegl, gdk_pixbuf, jp2, ],
+ ],
+ [
+ 'file-mng',
+ [ 'file-mng.c', ],
+ [ gtk2, gegl, libmng, ],
+ ],
+ [
+ 'file-pat',
+ [ 'file-pat.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-pcx',
+ [ 'file-pcx.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-pdf-load',
+ [ 'file-pdf-load.c', ],
+ [ gtk2, gegl, gdk_pixbuf, poppler ],
+ ],
+ [
+ 'file-pdf-save',
+ [ 'file-pdf-save.c', ],
+ [ gtk2, gegl, gdk_pixbuf, poppler, cairo ],
+ ],
+ [
+ 'file-pix',
+ [ 'file-pix.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-png',
+ [ 'file-png.c', ],
+ [ gtk2, gegl, libpng, ],
+ ],
+ [
+ 'file-pnm',
+ [ 'file-pnm.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-ps',
+ [ 'file-ps.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-psp',
+ [ 'file-psp.c', ],
+ [ gtk2, gegl, zlib, ],
+ ],
+ [
+ 'file-raw-data',
+ [ 'file-raw-data.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-sunras',
+ [ 'file-sunras.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-svg',
+ [ 'file-svg.c', ],
+ [ gtk2, rsvg, ],
+ ],
+ [
+ 'file-tga',
+ [ 'file-tga.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-wmf',
+ [ 'file-wmf.c', ],
+ [ gtk2, gegl, wmf, ],
+ ],
+ [
+ 'file-xbm',
+ [ 'file-xbm.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'file-xmc',
+ [ 'file-xmc.c', ],
+ [ gtk2, gegl, xmc, ],
+ ],
+ [
+ 'file-xpm',
+ [ 'file-xpm.c', ],
+ [ gtk2, gegl, xpm, ],
+ ],
+ [
+ 'file-xwd',
+ [ 'file-xwd.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'film',
+ [ 'film.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'filter-pack',
+ [ 'filter-pack.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'fractal-trace',
+ [ 'fractal-trace.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'goat-exercise',
+ [ 'goat-exercise.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'gradient-map',
+ [ 'gradient-map.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'grid',
+ [ 'grid.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'guillotine',
+ [ 'guillotine.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'hot',
+ [ 'hot.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'jigsaw',
+ [ 'jigsaw.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'mail',
+ [ 'mail.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'max-rgb',
+ [ 'max-rgb.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'newsprint',
+ [ 'newsprint.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'nl-filter',
+ [ 'nl-filter.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'oilify',
+ [ 'oilify.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'photocopy',
+ [ 'photocopy.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'plugin-browser',
+ [ 'plugin-browser.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'procedure-browser',
+ [ 'procedure-browser.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'qbist',
+ [ 'qbist.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'ripple',
+ [ 'ripple.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'sample-colorize',
+ [ 'sample-colorize.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'sharpen',
+ [ 'sharpen.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'smooth-palette',
+ [ 'smooth-palette.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'softglow',
+ [ 'softglow.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'sparkle',
+ [ 'sparkle.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'sphere-designer',
+ [ 'sphere-designer.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'tile-small',
+ [ 'tile-small.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'tile',
+ [ 'tile.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'unit-editor',
+ [ 'unit-editor.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'unsharp-mask',
+ [ 'unsharp-mask.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'van-gogh-lic',
+ [ 'van-gogh-lic.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'warp',
+ [ 'warp.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'wavelet-decompose',
+ [ 'wavelet-decompose.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'web-browser',
+ [ 'web-browser.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ],
+ [
+ 'web-page',
+ [ 'web-page.c', ],
+ [ gtk2, gegl, gdk_pixbuf, ],
+ ]
+]
+
+foreach exe : common_exes_list
+ exe_name = exe[0]
+ exe_sources = exe[1]
+ exe_deps = exe[2]
+
+ executable(exe_name,
+ exe_sources,
+ include_directories: [ rootInclude, ],
+ link_with : [
+ libgimp,
+ libgimpbase,
+ libgimpcolor,
+ libgimpconfig,
+ libgimpmath,
+ libgimpui,
+ libgimpwidgets,
+ ],
+ dependencies: exe_deps,
+ install: true,
+ install_dir: join_paths(gimpplugindir, 'plug-ins'),
+ )
+endforeach
diff --git a/plug-ins/file-bmp/meson.build b/plug-ins/file-bmp/meson.build
index e69de29..9428143 100644
--- a/plug-ins/file-bmp/meson.build
+++ b/plug-ins/file-bmp/meson.build
@@ -0,0 +1,24 @@
+# TODO file-bmp.rc.o
+
+file_bmp = executable('file-bmp',
+ [
+ 'bmp-load.c',
+ 'bmp-save.c',
+ 'bmp.c',
+ ],
+ include_directories: [ rootInclude, ],
+ dependencies: [
+ gtk2, gegl,
+ ],
+ link_with: [
+ libgimp,
+ libgimpbase,
+ libgimpcolor,
+ libgimpconfig,
+ libgimpmath,
+ libgimpui,
+ libgimpwidgets,
+ ],
+ install: true,
+ install_dir: join_paths(gimpplugindir, 'plug-ins'),
+)
diff --git a/plug-ins/file-exr/meson.build b/plug-ins/file-exr/meson.build
index e69de29..024bc62 100644
--- a/plug-ins/file-exr/meson.build
+++ b/plug-ins/file-exr/meson.build
@@ -0,0 +1,23 @@
+# TODO file-exr.rc.o
+
+file_exr = executable('file-exr',
+ [
+ 'file-exr.c',
+ 'openexr-wrapper.cc',
+ ],
+ include_directories: [ rootInclude, ],
+ dependencies: [
+ gtk2, gegl, openexr, lcms,
+ ],
+ link_with: [
+ libgimp,
+ libgimpbase,
+ libgimpcolor,
+ libgimpconfig,
+ libgimpmath,
+ libgimpui,
+ libgimpwidgets,
+ ],
+ install: true,
+ install_dir: join_paths(gimpplugindir, 'plug-ins'),
+)
diff --git a/plug-ins/file-faxg3/meson.build b/plug-ins/file-faxg3/meson.build
index e69de29..9e7a8b6 100644
--- a/plug-ins/file-faxg3/meson.build
+++ b/plug-ins/file-faxg3/meson.build
@@ -0,0 +1,23 @@
+# TODO file-faxg3.rc.o
+
+file_faxg3 = executable('file-faxg3',
+ [
+ 'faxg3.c',
+ 'g3.c',
+ ],
+ include_directories: [ rootInclude, ],
+ dependencies: [
+ gtk2, gegl, gdk_pixbuf, cairo,
+ ],
+ link_with: [
+ libgimp,
+ libgimpbase,
+ libgimpcolor,
+ libgimpconfig,
+ libgimpmath,
+ libgimpui,
+ libgimpwidgets,
+ ],
+ install: true,
+ install_dir: join_paths(gimpplugindir, 'plug-ins'),
+)
diff --git a/plug-ins/file-fits/meson.build b/plug-ins/file-fits/meson.build
index e69de29..1cc8481 100644
--- a/plug-ins/file-fits/meson.build
+++ b/plug-ins/file-fits/meson.build
@@ -0,0 +1,23 @@
+# TODO file-fits.rc.o
+
+file_fits = executable('file-fits',
+ [
+ 'fits-io.c',
+ 'fits.c',
+ ],
+ include_directories: [ rootInclude, ],
+ dependencies: [
+ gtk2, gegl,
+ ],
+ link_with: [
+ libgimp,
+ libgimpbase,
+ libgimpcolor,
+ libgimpconfig,
+ libgimpmath,
+ libgimpui,
+ libgimpwidgets,
+ ],
+ install: true,
+ install_dir: join_paths(gimpplugindir, 'plug-ins'),
+)
diff --git a/plug-ins/file-fli/meson.build b/plug-ins/file-fli/meson.build
index e69de29..51201aa 100644
--- a/plug-ins/file-fli/meson.build
+++ b/plug-ins/file-fli/meson.build
@@ -0,0 +1,23 @@
+# TODO file-fli.rc.o
+
+file_fli = executable('file-fli',
+ [
+ 'fli-gimp.c',
+ 'fli.c',
+ ],
+ include_directories: [ rootInclude, ],
+ dependencies: [
+ gtk2, gegl,
+ ],
+ link_with: [
+ libgimp,
+ libgimpbase,
+ libgimpcolor,
+ libgimpconfig,
+ libgimpmath,
+ libgimpui,
+ libgimpwidgets,
+ ],
+ install: true,
+ install_dir: join_paths(gimpplugindir, 'plug-ins'),
+)
diff --git a/plug-ins/file-ico/meson.build b/plug-ins/file-ico/meson.build
index e69de29..c9551ad 100644
--- a/plug-ins/file-ico/meson.build
+++ b/plug-ins/file-ico/meson.build
@@ -0,0 +1,25 @@
+# TODO file-ico.rc.o
+
+file_ico = executable('file-ico',
+ [
+ 'ico-dialog.c',
+ 'ico-load.c',
+ 'ico-save.c',
+ 'ico.c',
+ ],
+ include_directories: [ rootInclude, ],
+ dependencies: [
+ gtk2, gegl,
+ ],
+ link_with: [
+ libgimp,
+ libgimpbase,
+ libgimpcolor,
+ libgimpconfig,
+ libgimpmath,
+ libgimpui,
+ libgimpwidgets,
+ ],
+ install: true,
+ install_dir: join_paths(gimpplugindir, 'plug-ins'),
+)
diff --git a/plug-ins/file-jpeg/meson.build b/plug-ins/file-jpeg/meson.build
index e69de29..5af0696 100644
--- a/plug-ins/file-jpeg/meson.build
+++ b/plug-ins/file-jpeg/meson.build
@@ -0,0 +1,28 @@
+# TODO file-jpeg.rc.o
+
+file_jpeg = executable('file-jpeg',
+ [
+ 'jpeg-icc.c',
+ 'jpeg-load.c',
+ 'jpeg-quality.c',
+ 'jpeg-save.c',
+ 'jpeg-settings.c',
+ 'jpeg.c',
+ 'jpegqual.c',
+ ],
+ include_directories: [ rootInclude, ],
+ dependencies: [
+ gtk2, gegl, libjpeg, lcms, gexiv2,
+ ],
+ link_with: [
+ libgimp,
+ libgimpbase,
+ libgimpcolor,
+ libgimpconfig,
+ libgimpmath,
+ libgimpui,
+ libgimpwidgets,
+ ],
+ install: true,
+ install_dir: join_paths(gimpplugindir, 'plug-ins'),
+)
diff --git a/plug-ins/file-psd/meson.build b/plug-ins/file-psd/meson.build
index e69de29..af3fbfa 100644
--- a/plug-ins/file-psd/meson.build
+++ b/plug-ins/file-psd/meson.build
@@ -0,0 +1,28 @@
+# TODO file-psd.rc.o
+
+file_psd = executable('file-psd',
+ [
+ 'psd-image-res-load.c',
+ 'psd-layer-res-load.c',
+ 'psd-load.c',
+ 'psd-save.c',
+ 'psd-thumb-load.c',
+ 'psd-util.c',
+ 'psd.c',
+ ],
+ include_directories: [ rootInclude, ],
+ dependencies: [
+ gtk2, gegl
+ ],
+ link_with: [
+ libgimp,
+ libgimpbase,
+ libgimpcolor,
+ libgimpconfig,
+ libgimpmath,
+ libgimpui,
+ libgimpwidgets,
+ ],
+ install: true,
+ install_dir: join_paths(gimpplugindir, 'plug-ins'),
+)
diff --git a/plug-ins/file-raw/meson.build b/plug-ins/file-raw/meson.build
index e69de29..2fcff6a 100644
--- a/plug-ins/file-raw/meson.build
+++ b/plug-ins/file-raw/meson.build
@@ -0,0 +1,25 @@
+# TODO file-raw.rc.o
+
+file_raw = executable('file-raw',
+ [
+ 'file-darktable.c',
+ 'file-raw-placeholder.c',
+ 'file-raw-utils.c',
+ 'file-rawtherapee.c',
+ ],
+ include_directories: [ rootInclude, ],
+ dependencies: [
+ gtk2, gegl,
+ ],
+ link_with: [
+ libgimp,
+ libgimpbase,
+ libgimpcolor,
+ libgimpconfig,
+ libgimpmath,
+ libgimpui,
+ libgimpwidgets,
+ ],
+ install: true,
+ install_dir: join_paths(gimpplugindir, 'plug-ins'),
+)
diff --git a/plug-ins/file-sgi/meson.build b/plug-ins/file-sgi/meson.build
index e69de29..5f64c3a 100644
--- a/plug-ins/file-sgi/meson.build
+++ b/plug-ins/file-sgi/meson.build
@@ -0,0 +1,23 @@
+# TODO file-sgi.rc.o
+
+file_sgi = executable('file-sgi',
+ [
+ 'sgi-lib.c',
+ 'sgi.c',
+ ],
+ include_directories: [ rootInclude, ],
+ dependencies: [
+ gtk2, gegl,
+ ],
+ link_with: [
+ libgimp,
+ libgimpbase,
+ libgimpcolor,
+ libgimpconfig,
+ libgimpmath,
+ libgimpui,
+ libgimpwidgets,
+ ],
+ install: true,
+ install_dir: join_paths(gimpplugindir, 'plug-ins'),
+)
diff --git a/plug-ins/file-tiff/meson.build b/plug-ins/file-tiff/meson.build
index e69de29..cff5fed 100644
--- a/plug-ins/file-tiff/meson.build
+++ b/plug-ins/file-tiff/meson.build
@@ -0,0 +1,25 @@
+# TODO file-tiff.rc.o
+
+file_tiff = executable('file-tiff',
+ [
+ 'file-tiff-io.c',
+ 'file-tiff-save.c',
+ 'file-tiff.c',
+ 'file-tiff-load.c',
+ ],
+ include_directories: [ rootInclude, ],
+ dependencies: [
+ gtk2, gegl, gexiv2, webp,
+ ],
+ link_with: [
+ libgimp,
+ libgimpbase,
+ libgimpcolor,
+ libgimpconfig,
+ libgimpmath,
+ libgimpui,
+ libgimpwidgets,
+ ],
+ install: true,
+ install_dir: join_paths(gimpplugindir, 'plug-ins'),
+)
diff --git a/plug-ins/file-webp/meson.build b/plug-ins/file-webp/meson.build
index e69de29..a9d7a0c 100644
--- a/plug-ins/file-webp/meson.build
+++ b/plug-ins/file-webp/meson.build
@@ -0,0 +1,25 @@
+# TODO file-webp.rc.o
+
+file_webp = executable('file-webp',
+ [
+ 'file-webp-dialog.c',
+ 'file-webp-load.c',
+ 'file-webp-save.c',
+ 'file-webp.c',
+ ],
+ include_directories: [ rootInclude, ],
+ dependencies: [
+ gtk2, gegl, gexiv2, webp,
+ ],
+ link_with: [
+ libgimp,
+ libgimpbase,
+ libgimpcolor,
+ libgimpconfig,
+ libgimpmath,
+ libgimpui,
+ libgimpwidgets,
+ ],
+ install: true,
+ install_dir: join_paths(gimpplugindir, 'plug-ins'),
+)
diff --git a/plug-ins/flame/meson.build b/plug-ins/flame/meson.build
index e69de29..ea83978 100644
--- a/plug-ins/flame/meson.build
+++ b/plug-ins/flame/meson.build
@@ -0,0 +1,25 @@
+# TODO flame.rc.o
+
+flame = executable('flame',
+ [
+ 'cmap.c',
+ 'flame.c',
+ 'libifs.c',
+ 'rect.c',
+ ],
+ include_directories: [ rootInclude, ],
+ dependencies: [
+ gtk2, gegl,
+ ],
+ link_with: [
+ libgimp,
+ libgimpbase,
+ libgimpcolor,
+ libgimpconfig,
+ libgimpmath,
+ libgimpui,
+ libgimpwidgets,
+ ],
+ install: true,
+ install_dir: join_paths(gimpplugindir, 'plug-ins'),
+)
diff --git a/plug-ins/fractal-explorer/meson.build b/plug-ins/fractal-explorer/meson.build
index e69de29..4088cb9 100644
--- a/plug-ins/fractal-explorer/meson.build
+++ b/plug-ins/fractal-explorer/meson.build
@@ -0,0 +1,23 @@
+# TODO fractal-explorer.rc.o
+
+fractal_explorer = executable('fractal-explorer',
+ [
+ 'fractal-explorer-dialogs.c',
+ 'fractal-explorer.c',
+ ],
+ include_directories: [ rootInclude, ],
+ dependencies: [
+ gtk2, gegl,
+ ],
+ link_with: [
+ libgimp,
+ libgimpbase,
+ libgimpcolor,
+ libgimpconfig,
+ libgimpmath,
+ libgimpui,
+ libgimpwidgets,
+ ],
+ install: true,
+ install_dir: join_paths(gimpplugindir, 'plug-ins'),
+)
diff --git a/plug-ins/gfig/gfig-examples/meson.build b/plug-ins/gfig/gfig-examples/meson.build
new file mode 100644
index 0000000..f6c21b3
--- /dev/null
+++ b/plug-ins/gfig/gfig-examples/meson.build
@@ -0,0 +1,14 @@
+install_data([
+ 'A_star',
+ 'curves',
+ 'polys',
+ 'ring',
+ 'ring+star',
+ 'simily',
+ 'spirals_and_stars',
+ 'sprial',
+ 'star2',
+ 'stars',
+ ],
+ install_dir: join_paths(gimpdatadir, 'gfig'),
+)
\ No newline at end of file
diff --git a/plug-ins/gfig/images/meson.build b/plug-ins/gfig/images/meson.build
new file mode 100644
index 0000000..657aec9
--- /dev/null
+++ b/plug-ins/gfig/images/meson.build
@@ -0,0 +1,40 @@
+stock_icons = [
+ 'stock-bezier',
+ 'stock-circle',
+ 'stock-copy-object',
+ 'stock-curve',
+ 'stock-delete-object',
+ 'stock-ellipse',
+ 'stock-line',
+ 'stock-logo',
+ 'stock-move-object',
+ 'stock-move-point',
+ 'stock-polygon',
+ 'stock-rectangle',
+ 'stock-select-object',
+ 'stock-show-all',
+ 'stock-spiral',
+ 'stock-star',
+]
+
+stock_icons_list = []
+foreach name : stock_icons
+ stock_icons_list += name.underscorify()
+ stock_icons_list += join_paths(
+ meson.source_root(),
+ meson.current_source_dir(),
+ name + '.png'
+ )
+endforeach
+
+stock_pixbufs_h = custom_target('gfig-stock-pixbufs.h',
+ input : [ ],
+ output: [ 'gfig-stock-pixbufs.h', ],
+ command: [
+ gdk_pixbuf_csource,
+ '--raw',
+ '--build-list',
+ stock_icons_list,
+ ],
+ capture: true,
+)
diff --git a/plug-ins/gfig/meson.build b/plug-ins/gfig/meson.build
index e69de29..433ec66 100644
--- a/plug-ins/gfig/meson.build
+++ b/plug-ins/gfig/meson.build
@@ -0,0 +1,39 @@
+subdir('images')
+# TODO gfig.rc.o
+
+gfig = executable('gfig',
+ [
+ 'gfig-arc.c',
+ 'gfig-bezier.c',
+ 'gfig-circle.c',
+ 'gfig-dialog.c',
+ 'gfig-dobject.c',
+ 'gfig-ellipse.c',
+ 'gfig-grid.c',
+ 'gfig-line.c',
+ 'gfig-poly.c',
+ 'gfig-preview.c',
+ 'gfig-rectangle.c',
+ 'gfig-spiral.c',
+ 'gfig-star.c',
+ 'gfig-stock.c',
+ 'gfig-style.c',
+ 'gfig.c',
+ stock_pixbufs_h,
+ ],
+ include_directories: [ rootInclude, ],
+ dependencies: [
+ gtk2, gegl,
+ ],
+ link_with: [
+ libgimp,
+ libgimpbase,
+ libgimpcolor,
+ libgimpconfig,
+ libgimpmath,
+ libgimpui,
+ libgimpwidgets,
+ ],
+ install: true,
+ install_dir: join_paths(gimpplugindir, 'plug-ins'),
+)
diff --git a/plug-ins/lighting/images/meson.build b/plug-ins/lighting/images/meson.build
index be197be..27caf38 100644
--- a/plug-ins/lighting/images/meson.build
+++ b/plug-ins/lighting/images/meson.build
@@ -21,10 +21,6 @@ foreach name : stock_icons
)
endforeach
-message(stock_icons_list)
-
-gdk_pixbuf_csource = find_program('gdk-pixbuf-csource')
-
stock_pixbufs_h = custom_target('stock-pixbufs.h',
input : [ ],
output: [ 'stock-pixbufs.h', ],
@@ -36,14 +32,3 @@ stock_pixbufs_h = custom_target('stock-pixbufs.h',
],
capture: true,
)
-
-# stock-icons.list: $(STOCK_IMAGES) Makefile.am
-# ( rm -f $@; \
-# for image in $(STOCK_IMAGES); do \
-# echo $$image | \
-# sed -e 's|.*/||' -e 's|-|_|g' -e 's|\.png$$||' >> $@; \
-# echo " $(srcdir)/$$image" >> $@; \
-# done )
-#
-# $(srcdir)/stock-pixbufs.h: stock-icons.list
-# $(GDK_PIXBUF_CSOURCE) --raw --build-list `cat stock-icons.list` > $(@F)
diff --git a/plug-ins/lighting/meson.build b/plug-ins/lighting/meson.build
index c808cde..378fb06 100644
--- a/plug-ins/lighting/meson.build
+++ b/plug-ins/lighting/meson.build
@@ -10,8 +10,9 @@ lighting = executable('lighting',
'lighting-shade.c',
'lighting-stock.c',
'lighting-ui.c',
+ stock_pixbufs_h,
],
- include_directories: [ rootInclude, ],
+ include_directories: [ rootInclude, include_directories('.'), ],
dependencies: [
gtk2, gegl,
],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]