[dia: 39/105] #19: Add the more easy-to-port plugins.
- From: Zander <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia: 39/105] #19: Add the more easy-to-port plugins.
- Date: Mon, 28 Jan 2019 19:22:36 +0000 (UTC)
commit bee3343cd9cfac849ecd608cbbd9e81a0700a244
Author: Eduard Nicodei <eddnicodei gmail com>
Date: Mon Dec 31 10:45:37 2018 +0000
#19: Add the more easy-to-port plugins.
- The remaining ones will require a bit more work.
plug-ins/layout/meson.build | 7 +++++++
plug-ins/libart/meson.build | 8 ++++++++
plug-ins/meson.build | 32 ++++++++++++++++++++++----------
plug-ins/metapost/meson.build | 6 ++++++
plug-ins/pgf/meson.build | 6 ++++++
plug-ins/pixbuf/meson.build | 1 +
plug-ins/pstricks/meson.build | 6 ++++++
plug-ins/shape/meson.build | 6 ++++++
plug-ins/svg/meson.build | 7 +++++++
plug-ins/vdx/meson.build | 9 +++++++++
plug-ins/wpg/meson.build | 6 ++++++
plug-ins/xfig/meson.build | 8 ++++++++
12 files changed, 92 insertions(+), 10 deletions(-)
---
diff --git a/plug-ins/layout/meson.build b/plug-ins/layout/meson.build
new file mode 100644
index 00000000..5fa80724
--- /dev/null
+++ b/plug-ins/layout/meson.build
@@ -0,0 +1,7 @@
+sources = files(
+ 'dia-graph.cpp',
+ 'layout.cpp',
+ 'ogdf-simple.cpp'
+)
+
+install_plugins_desc += [['layout_filter', sources, []]]
diff --git a/plug-ins/libart/meson.build b/plug-ins/libart/meson.build
new file mode 100644
index 00000000..ef54185d
--- /dev/null
+++ b/plug-ins/libart/meson.build
@@ -0,0 +1,8 @@
+sources = files(
+ 'dialibart.c',
+ 'dialibartrenderer.c',
+ 'render_libart.c',
+ 'export_png.c',
+)
+
+install_plugins_desc += [['art_filter', sources, []]]
diff --git a/plug-ins/meson.build b/plug-ins/meson.build
index 01199799..8c7cf4a3 100644
--- a/plug-ins/meson.build
+++ b/plug-ins/meson.build
@@ -6,28 +6,40 @@ install_plugins_desc = []
subdir('cairo')
subdir('cgm')
+
+# Note that this does not get installed
subdir('drs')
+
subdir('dxf')
subdir('hpgl')
+subdir('shape')
+subdir('pixbuf')
+
-# TODO: enable or remove these.
+# FIXME: requires OGDF
#subdir('layout')
-#subdir('libart')
-#subdir('metapost')
+subdir('libart')
+subdir('metapost')
+
+# FIXME: does not compile
#subdir('pdf')
-#subdir('pgf')
-#subdir('pixbuf')
+
+subdir('pgf')
#subdir('postscript')
-#subdir('pstricks')
+
+subdir('pstricks')
#subdir('python')
-#subdir('shape')
#subdir('stress')
-#subdir('svg')
+
+subdir('svg')
+# FIXME: requires visio-types.h
#subdir('vdx')
+
#subdir('wmf')
-#subdir('wpg')
-#subdir('xfig')
+subdir('wpg')
+subdir('xfig')
+
#subdir('xslt')
foreach p : install_plugins_desc
diff --git a/plug-ins/metapost/meson.build b/plug-ins/metapost/meson.build
new file mode 100644
index 00000000..b0137be9
--- /dev/null
+++ b/plug-ins/metapost/meson.build
@@ -0,0 +1,6 @@
+sources = files(
+ 'metapost.c',
+ 'render_metapost.c',
+)
+
+install_plugins_desc += [['metapost_filter', sources, []]]
diff --git a/plug-ins/pgf/meson.build b/plug-ins/pgf/meson.build
new file mode 100644
index 00000000..f458eb7b
--- /dev/null
+++ b/plug-ins/pgf/meson.build
@@ -0,0 +1,6 @@
+sources = files(
+ 'pgf.c',
+ 'render_pgf.c',
+)
+
+install_plugins_desc += [['pgf_filter', sources, []]]
diff --git a/plug-ins/pixbuf/meson.build b/plug-ins/pixbuf/meson.build
new file mode 100644
index 00000000..db57769d
--- /dev/null
+++ b/plug-ins/pixbuf/meson.build
@@ -0,0 +1 @@
+install_plugins_desc += [['pixbuf_filter', files('pixbuf.c'), []]]
diff --git a/plug-ins/pstricks/meson.build b/plug-ins/pstricks/meson.build
new file mode 100644
index 00000000..f8c80612
--- /dev/null
+++ b/plug-ins/pstricks/meson.build
@@ -0,0 +1,6 @@
+sources = files(
+ 'pstricks.c',
+ 'render_pstricks.c',
+)
+
+install_plugins_desc += [['pstricks_filter', sources, []]]
diff --git a/plug-ins/shape/meson.build b/plug-ins/shape/meson.build
new file mode 100644
index 00000000..1aab2f2b
--- /dev/null
+++ b/plug-ins/shape/meson.build
@@ -0,0 +1,6 @@
+sources = files(
+ 'shape.c',
+ 'shape-export.c',
+)
+
+install_plugins_desc += [['shape_filter', sources, []]]
diff --git a/plug-ins/svg/meson.build b/plug-ins/svg/meson.build
new file mode 100644
index 00000000..3c628f46
--- /dev/null
+++ b/plug-ins/svg/meson.build
@@ -0,0 +1,7 @@
+sources = files(
+ 'svg.c',
+ 'render_svg.c',
+ 'svg-import.c',
+)
+
+install_plugins_desc += [['svg_filter', sources, []]]
diff --git a/plug-ins/vdx/meson.build b/plug-ins/vdx/meson.build
new file mode 100644
index 00000000..8b789ff0
--- /dev/null
+++ b/plug-ins/vdx/meson.build
@@ -0,0 +1,9 @@
+sources = files(
+ 'vdx.c',
+ 'vdx-import.c',
+ 'vdx-export.c',
+ 'vdx-common.c',
+ 'vdx-xml.c',
+)
+
+install_plugins_desc += [['vdx_filter', sources, [], true]]
diff --git a/plug-ins/wpg/meson.build b/plug-ins/wpg/meson.build
new file mode 100644
index 00000000..e148d9db
--- /dev/null
+++ b/plug-ins/wpg/meson.build
@@ -0,0 +1,6 @@
+sources = files(
+ 'wpg.c',
+ 'wpg-import.c',
+)
+
+install_plugins_desc += [['wpg_filter', sources, []]]
diff --git a/plug-ins/xfig/meson.build b/plug-ins/xfig/meson.build
new file mode 100644
index 00000000..75285f56
--- /dev/null
+++ b/plug-ins/xfig/meson.build
@@ -0,0 +1,8 @@
+sources = files(
+ 'xfig.c',
+ 'xfig-import.c',
+ 'xfig-export.c',
+ 'xfig-common.c',
+)
+
+install_plugins_desc += [['xfig_filter', sources, []]]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]