[dia: 28/105] #19: Add port all objects/* to meson.
- From: Zander <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia: 28/105] #19: Add port all objects/* to meson.
- Date: Mon, 28 Jan 2019 19:21:41 +0000 (UTC)
commit a90204c7662f2e439235ee31c2ecfd4224b2da76
Author: Eduard Nicodei <eddnicodei gmail com>
Date: Mon Dec 24 14:50:17 2018 +0000
#19: Add port all objects/* to meson.
objects/AADL/meson.build | 28 ++++++++++++++++++++++++
objects/Database/meson.build | 16 ++++++++++++++
objects/ER/meson.build | 17 +++++++++++++++
objects/FS/meson.build | 16 ++++++++++++++
objects/GRAFCET/meson.build | 21 ++++++++++++++++++
objects/Istar/meson.build | 17 +++++++++++++++
objects/Jackson/meson.build | 16 ++++++++++++++
objects/KAOS/meson.build | 17 +++++++++++++++
objects/Misc/meson.build | 19 ++++++++++++++++
objects/SADT/meson.build | 16 ++++++++++++++
objects/Sozi/meson.build | 18 +++++++++++++++
objects/UML/meson.build | 47 ++++++++++++++++++++++++++++++++++++++++
objects/chronogram/meson.build | 16 ++++++++++++++
objects/custom_lines/meson.build | 15 +++++++++++++
objects/flowchart/meson.build | 17 +++++++++++++++
objects/meson.build | 18 ++++++++++++++-
objects/network/meson.build | 17 +++++++++++++++
sheets/meson.build | 6 ++++-
18 files changed, 335 insertions(+), 2 deletions(-)
---
diff --git a/objects/AADL/meson.build b/objects/AADL/meson.build
new file mode 100644
index 00000000..d4e6c630
--- /dev/null
+++ b/objects/AADL/meson.build
@@ -0,0 +1,28 @@
+object_sources = [
+ 'aadl.c',
+ 'aadlbox.c',
+ 'aadldata.c',
+ 'aadlport.c',
+ 'aadlbus.c',
+ 'aadldevice.c',
+ 'aadlmemory.c',
+ 'aadlprocess.c',
+ 'aadlprocessor.c',
+ 'aadlsubprogram.c',
+ 'aadlsystem.c',
+ 'aadltext.c',
+ 'aadlthread.c',
+ 'aadlthreadgroup.c',
+ 'aadlpackage.c',
+ 'edit_port_declaration.c',
+]
+
+library('aadl_objects',
+ object_sources,
+ dependencies : [libgtk_dep, libglib_dep, libxml_dep, libm_dep],
+ link_with : libdia,
+ include_directories : [configuration_inc, libdia_inc],
+ install : true,
+ install_dir : dialibdir
+)
+
diff --git a/objects/Database/meson.build b/objects/Database/meson.build
new file mode 100644
index 00000000..c4472a8c
--- /dev/null
+++ b/objects/Database/meson.build
@@ -0,0 +1,16 @@
+object_sources = [
+ 'database.c',
+ 'table.c',
+ 'reference.c',
+ 'compound.c'
+]
+
+library('db_objects',
+ object_sources,
+ dependencies : [libgtk_dep, libglib_dep, libxml_dep, libm_dep],
+ link_with : libdia,
+ include_directories : [configuration_inc, libdia_inc],
+ install : true,
+ install_dir : dialibdir
+)
+
diff --git a/objects/ER/meson.build b/objects/ER/meson.build
new file mode 100644
index 00000000..b32e2166
--- /dev/null
+++ b/objects/ER/meson.build
@@ -0,0 +1,17 @@
+object_sources = [
+ 'entity.c',
+ 'relationship.c',
+ 'attribute.c',
+ 'participation.c',
+ 'er.c'
+]
+
+library('er_objects',
+ object_sources,
+ dependencies : [libgtk_dep, libglib_dep, libxml_dep, libm_dep],
+ link_with : libdia,
+ include_directories : [configuration_inc, libdia_inc],
+ install : true,
+ install_dir : dialibdir
+)
+
diff --git a/objects/FS/meson.build b/objects/FS/meson.build
new file mode 100644
index 00000000..f1781439
--- /dev/null
+++ b/objects/FS/meson.build
@@ -0,0 +1,16 @@
+object_sources = [
+ 'fs.c',
+ 'flow.c',
+ 'flow-ortho.c',
+ 'function.c'
+]
+
+library('fs_objects',
+ object_sources,
+ dependencies : [libgtk_dep, libglib_dep, libxml_dep, libm_dep],
+ link_with : libdia,
+ include_directories : [configuration_inc, libdia_inc],
+ install : true,
+ install_dir : dialibdir
+)
+
diff --git a/objects/GRAFCET/meson.build b/objects/GRAFCET/meson.build
new file mode 100644
index 00000000..c031b724
--- /dev/null
+++ b/objects/GRAFCET/meson.build
@@ -0,0 +1,21 @@
+object_sources = [
+ 'grafcet.c',
+ 'step.c',
+ 'action.c',
+ 'action_text_draw.c',
+ 'transition.c',
+ 'boolequation.c',
+ 'condition.c',
+ 'vergent.c',
+ 'vector.c'
+]
+
+library('grafcet_objects',
+ object_sources,
+ dependencies : [libgtk_dep, libglib_dep, libxml_dep, libm_dep],
+ link_with : libdia,
+ include_directories : [configuration_inc, libdia_inc],
+ install : true,
+ install_dir : dialibdir
+)
+
diff --git a/objects/Istar/meson.build b/objects/Istar/meson.build
new file mode 100644
index 00000000..2309b9a3
--- /dev/null
+++ b/objects/Istar/meson.build
@@ -0,0 +1,17 @@
+object_sources = [
+ 'istar.c',
+ 'actor.c',
+ 'goal.c',
+ 'other.c',
+ 'link.c'
+]
+
+library('istar_objects',
+ object_sources,
+ dependencies : [libgtk_dep, libglib_dep, libxml_dep, libm_dep],
+ link_with : libdia,
+ include_directories : [configuration_inc, libdia_inc],
+ install : true,
+ install_dir : dialibdir
+)
+
diff --git a/objects/Jackson/meson.build b/objects/Jackson/meson.build
new file mode 100644
index 00000000..2c6346f8
--- /dev/null
+++ b/objects/Jackson/meson.build
@@ -0,0 +1,16 @@
+object_sources = [
+ 'jackson.c',
+ 'domain.c',
+ 'requirement.c',
+ 'phenomenon.c'
+]
+
+library('jackson_objects',
+ object_sources,
+ dependencies : [libgtk_dep, libglib_dep, libxml_dep, libm_dep],
+ link_with : libdia,
+ include_directories : [configuration_inc, libdia_inc],
+ install : true,
+ install_dir : dialibdir
+)
+
diff --git a/objects/KAOS/meson.build b/objects/KAOS/meson.build
new file mode 100644
index 00000000..70e277e3
--- /dev/null
+++ b/objects/KAOS/meson.build
@@ -0,0 +1,17 @@
+object_sources = [
+ 'kaos.c',
+ 'goal.c',
+ 'other.c',
+ 'metabinrel.c',
+ 'metaandorrel.c'
+]
+
+library('kaos_objects',
+ object_sources,
+ dependencies : [libgtk_dep, libglib_dep, libxml_dep, libm_dep],
+ link_with : libdia,
+ include_directories : [configuration_inc, libdia_inc],
+ install : true,
+ install_dir : dialibdir
+)
+
diff --git a/objects/Misc/meson.build b/objects/Misc/meson.build
new file mode 100644
index 00000000..463cc16d
--- /dev/null
+++ b/objects/Misc/meson.build
@@ -0,0 +1,19 @@
+object_sources = [
+ 'libmisc.c',
+ 'analog_clock.c',
+ 'diagram_as_object.c',
+ 'grid_object.c',
+ 'measure.c',
+ 'n_gon.c',
+ 'tree.c'
+]
+
+library('misc_objects',
+ object_sources,
+ dependencies : [libgtk_dep, libglib_dep, libxml_dep, libm_dep],
+ link_with : libdia,
+ include_directories : [configuration_inc, libdia_inc],
+ install : true,
+ install_dir : dialibdir
+)
+
diff --git a/objects/SADT/meson.build b/objects/SADT/meson.build
new file mode 100644
index 00000000..6683eaec
--- /dev/null
+++ b/objects/SADT/meson.build
@@ -0,0 +1,16 @@
+object_sources = [
+ 'sadt.c',
+ 'arrow.c',
+ 'box.c',
+ 'annotation.c'
+]
+
+library('sadt_objects',
+ object_sources,
+ dependencies : [libgtk_dep, libglib_dep, libxml_dep, libm_dep],
+ link_with : libdia,
+ include_directories : [configuration_inc, libdia_inc],
+ install : true,
+ install_dir : dialibdir
+)
+
diff --git a/objects/Sozi/meson.build b/objects/Sozi/meson.build
new file mode 100644
index 00000000..6b212b1d
--- /dev/null
+++ b/objects/Sozi/meson.build
@@ -0,0 +1,18 @@
+# This depends on WITH_SOZI compilation option.
+if false
+ object_sources = [
+ 'sozi.c',
+ 'sozi-object.c',
+ 'sozi-frame.c',
+ 'sozi-media.c'
+ ]
+
+ library('sozi_objects',
+ object_sources,
+ dependencies : [libgtk_dep, libglib_dep, libxml_dep, libm_dep],
+ link_with : libdia,
+ include_directories : [configuration_inc, libdia_inc],
+ install : true,
+ install_dir : dialibdir
+ )
+endif
diff --git a/objects/UML/meson.build b/objects/UML/meson.build
new file mode 100644
index 00000000..db7ff469
--- /dev/null
+++ b/objects/UML/meson.build
@@ -0,0 +1,47 @@
+object_sources = [
+ 'uml.c',
+ 'class.c',
+ 'class_dialog.c',
+ 'class_attributes_dialog.c',
+ 'class_operations_dialog.c',
+ 'class_templates_dialog.c',
+ 'note.c',
+ 'actor.c',
+ 'usecase.c',
+ 'realizes.c',
+ 'constraint.c',
+ 'small_package.c',
+ 'large_package.c',
+ 'implements.c',
+ 'generalization.c',
+ 'association.c',
+ 'dependency.c',
+ 'message.c',
+ 'object.c',
+ 'lifeline.c',
+ 'component.c',
+ 'component_feature.c',
+ 'classicon.c',
+ 'state.c',
+ 'activity.c',
+ 'state_term.c',
+ 'node.c',
+ 'branch.c',
+ 'fork.c',
+ 'stereotype.c',
+ 'transition.c',
+ 'umlattribute.c',
+ 'umloperation.c',
+ 'umlparameter.c',
+ 'umlformalparameter.c'
+]
+
+library('uml_objects',
+ object_sources,
+ dependencies : [libgtk_dep, libglib_dep, libxml_dep, libm_dep],
+ link_with : libdia,
+ include_directories : [configuration_inc, libdia_inc],
+ install : true,
+ install_dir : dialibdir
+)
+
diff --git a/objects/chronogram/meson.build b/objects/chronogram/meson.build
new file mode 100644
index 00000000..08530ee3
--- /dev/null
+++ b/objects/chronogram/meson.build
@@ -0,0 +1,16 @@
+object_sources = [
+ 'chronogram.c',
+ 'chronoref.c',
+ 'chronoline.c',
+ 'chronoline_event.c'
+]
+
+library('chronogram_objects',
+ object_sources,
+ dependencies : [libgtk_dep, libglib_dep, libxml_dep, libm_dep],
+ link_with : libdia,
+ include_directories : [configuration_inc, libdia_inc],
+ install : true,
+ install_dir : dialibdir
+)
+
diff --git a/objects/custom_lines/meson.build b/objects/custom_lines/meson.build
new file mode 100644
index 00000000..5e8110f8
--- /dev/null
+++ b/objects/custom_lines/meson.build
@@ -0,0 +1,15 @@
+object_sources = [
+ 'custom_lines.c',
+ 'custom_linetypes.c',
+ 'line_info.c'
+]
+
+library('custom_lines_objects',
+ object_sources,
+ dependencies : [libgtk_dep, libglib_dep, libxml_dep, libm_dep],
+ link_with : libdia,
+ include_directories : [configuration_inc, libdia_inc],
+ install : true,
+ install_dir : dialibdir
+)
+
diff --git a/objects/flowchart/meson.build b/objects/flowchart/meson.build
new file mode 100644
index 00000000..424bd1e8
--- /dev/null
+++ b/objects/flowchart/meson.build
@@ -0,0 +1,17 @@
+object_sources = [
+ 'box.c',
+ 'parallelogram.c',
+ 'diamond.c',
+ 'ellipse.c',
+ 'flowchart.c'
+]
+
+library('flowchart_objects',
+ object_sources,
+ dependencies : [libgtk_dep, libglib_dep, libxml_dep, libm_dep],
+ link_with : libdia,
+ include_directories : [configuration_inc, libdia_inc],
+ install : true,
+ install_dir : dialibdir
+)
+
diff --git a/objects/meson.build b/objects/meson.build
index 0fd629a4..9566d777 100644
--- a/objects/meson.build
+++ b/objects/meson.build
@@ -1,2 +1,18 @@
-subdir('standard')
+subdir('AADL')
+subdir('chronogram')
subdir('custom')
+subdir('custom_lines')
+subdir('Database')
+subdir('ER')
+subdir('flowchart')
+subdir('FS')
+subdir('GRAFCET')
+subdir('Istar')
+subdir('Jackson')
+subdir('KAOS')
+subdir('Misc')
+subdir('network')
+subdir('SADT')
+subdir('Sozi')
+subdir('standard')
+subdir('UML')
diff --git a/objects/network/meson.build b/objects/network/meson.build
new file mode 100644
index 00000000..4153ac85
--- /dev/null
+++ b/objects/network/meson.build
@@ -0,0 +1,17 @@
+object_sources = [
+ 'network.c',
+ 'bus.c',
+ 'radiocell.c',
+ 'basestation.c',
+ 'wanlink.c'
+]
+
+library('network_objects',
+ object_sources,
+ dependencies : [libgtk_dep, libglib_dep, libxml_dep, libm_dep],
+ link_with : libdia,
+ include_directories : [configuration_inc, libdia_inc],
+ install : true,
+ install_dir : dialibdir
+)
+
diff --git a/sheets/meson.build b/sheets/meson.build
index 2b06382c..466a62fc 100644
--- a/sheets/meson.build
+++ b/sheets/meson.build
@@ -88,10 +88,14 @@ sheet_files = [
'BPMN.sheet',
'Lights.sheet',
'Database.sheet',
- 'Sozi.sheet',
'Shape_Design.sheet',
]
+# TODO: this needs to depend on whether we have valid instalation of sozi.
+if false
+ sheet_files += ['Sozi.sheet']
+endif
+
# FIXME: use gettext:
# https://github.com/mesonbuild/meson/issues/1565
# https://github.com/systemd/systemd/commit/c81217920effddc93fb780cf8f9eb699d6fe1319
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]