[gimp/meson: 87/127] Add script-fu plugin



commit 12a41bad2dbb409265a6fa218c41562a9c24ba19
Author: Félix Piédallu <felix piedallu me>
Date:   Wed Jan 10 10:49:53 2018 +0100

    Add script-fu plugin

 plug-ins/script-fu/ftx/meson.build            |   12 +++++
 plug-ins/script-fu/meson.build                |   47 +++++++++++++++++
 plug-ins/script-fu/scripts/images/meson.build |    9 +++
 plug-ins/script-fu/scripts/meson.build        |   67 +++++++++++++++++++++++++
 plug-ins/script-fu/tinyscheme/meson.build     |   16 ++++++
 5 files changed, 151 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/script-fu/ftx/meson.build b/plug-ins/script-fu/ftx/meson.build
new file mode 100644
index 0000000..b5117c7
--- /dev/null
+++ b/plug-ins/script-fu/ftx/meson.build
@@ -0,0 +1,12 @@
+
+scriptfu_ftx = static_library('scriptfu-ftx',
+  'ftx.c',
+  include_directories: [ rootInclude, scriptfu_incdir, ],
+  dependencies: [
+    glib,
+  ],
+  c_args: [
+    '-DUSE_INTERFACE=1',
+  ],
+  install: false,
+)
diff --git a/plug-ins/script-fu/meson.build b/plug-ins/script-fu/meson.build
index e69de29..a1e04be 100644
--- a/plug-ins/script-fu/meson.build
+++ b/plug-ins/script-fu/meson.build
@@ -0,0 +1,47 @@
+scriptfu_incdir = include_directories('.')
+
+subdir('tinyscheme')
+subdir('ftx')
+subdir('scripts')
+
+plugin_scriptfu_sources = [
+  'scheme-wrapper.c',
+  'script-fu-console.c',
+  'script-fu-eval.c',
+  'script-fu-interface.c',
+  'script-fu-regex.c',
+  'script-fu-script.c',
+  'script-fu-scripts.c',
+  'script-fu-server.c',
+  'script-fu-text-console.c',
+  'script-fu-utils.c',
+  'script-fu.c',
+]
+
+scriptfu = executable('script-fu',
+  plugin_scriptfu_sources,
+  include_directories: [ rootInclude, ],
+  dependencies: [
+    gegl, gtk2, math,
+  ],
+  c_args: [
+    '-DSTANDALONE=0',
+    '-DUSE_INTERFACE=1',
+    '-DUSE_STRLWR=0',
+  ],
+  link_whole: [
+    scriptfu_tinyscheme,
+    scriptfu_ftx,
+  ],
+  link_with: [
+    libgimp,
+    libgimpbase,
+    libgimpcolor,
+    libgimpconfig,
+    libgimpmath,
+    libgimpui,
+    libgimpwidgets,
+  ],
+  install: true,
+  install_dir: join_paths(gimpplugindir, 'plug-ins'),
+)
diff --git a/plug-ins/script-fu/scripts/images/meson.build b/plug-ins/script-fu/scripts/images/meson.build
new file mode 100644
index 0000000..5735ec8
--- /dev/null
+++ b/plug-ins/script-fu/scripts/images/meson.build
@@ -0,0 +1,9 @@
+install_data([
+    'beavis.jpg',
+    'texture.jpg',
+    'texture1.jpg',
+    'texture2.jpg',
+    'texture3.jpg',
+  ],
+  install_dir: join_paths(gimpdatadir, 'scripts', 'images'),
+)
diff --git a/plug-ins/script-fu/scripts/meson.build b/plug-ins/script-fu/scripts/meson.build
new file mode 100644
index 0000000..a1a8d7c
--- /dev/null
+++ b/plug-ins/script-fu/scripts/meson.build
@@ -0,0 +1,67 @@
+subdir('images')
+
+scripts = [
+  '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-percent.scm',
+  'guides-new.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',
+  'plug-in-compat.init',
+  'predator.scm',
+  'reverse-layers.scm',
+  'ripply-anim.scm',
+  'round-corners.scm',
+  'script-fu-compat.init',
+  'script-fu-set-cmap.scm',
+  'script-fu-util.scm',
+  'script-fu.init',
+  'select-to-brush.scm',
+  'select-to-image.scm',
+  'select-to-pattern.scm',
+  'selection-round.scm',
+  'slide.scm',
+  'spinning-globe.scm',
+  'spyrogimp.scm',
+  'tileblur.scm',
+  'unsharp-mask.scm',
+  'waves-anim.scm',
+  'weave.scm',
+  'xach-effect.scm',
+]
+
+test_scripts = [
+  'contactsheet.scm',
+  'test-sphere.scm',
+  'ts-helloworld.scm',
+]
+
+install_data(
+  scripts,
+  install_dir: join_paths(gimpdatadir, 'scripts'),
+)
diff --git a/plug-ins/script-fu/tinyscheme/meson.build b/plug-ins/script-fu/tinyscheme/meson.build
new file mode 100644
index 0000000..45981df
--- /dev/null
+++ b/plug-ins/script-fu/tinyscheme/meson.build
@@ -0,0 +1,16 @@
+
+scriptfu_tinyscheme = static_library('scriptfu-tinyscheme',
+  'scheme.c',
+  include_directories: [ rootInclude, ],
+  dependencies: [
+    glib,
+  ],
+  c_args: [
+    '-DSTANDALONE=0',
+    '-DUSE_ASCII_NAMES=0',
+    '-DUSE_INTERFACE=1',
+    '-DUSE_MATH=1',
+    '-DUSE_STRLWR=0',
+  ],
+  install: false,
+)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]