[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnunet] branch master updated: BUILD: Meson add more file targets
From: |
gnunet |
Subject: |
[gnunet] branch master updated: BUILD: Meson add more file targets |
Date: |
Thu, 28 Sep 2023 14:25:26 +0200 |
This is an automated email from the git hooks/post-receive script.
martin-schanzenbach pushed a commit to branch master
in repository gnunet.
The following commit(s) were added to refs/heads/master by this push:
new d43a6c820 BUILD: Meson add more file targets
d43a6c820 is described below
commit d43a6c820edcf173fe4822bdf15a3ecb6ca32cf6
Author: Martin Schanzenbach <schanzen@gnunet.org>
AuthorDate: Thu Sep 28 14:23:13 2023 +0200
BUILD: Meson add more file targets
---
meson.build | 7 +++++++
src/gns/meson.build | 12 ++++++++++++
src/gnsrecord/meson.build | 2 +-
src/identity/meson.build | 11 +++++++++++
src/namestore/meson.build | 16 ++++++++++++++++
src/peerinfo-tool/meson.build | 14 ++++++++++++++
src/reclaim/meson.build | 30 ++++++++++++++++++++++++++++++
src/rest/meson.build | 20 ++++++++++++++++++++
8 files changed, 111 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 79f7ef7aa..e7c4a8eb1 100644
--- a/meson.build
+++ b/meson.build
@@ -214,6 +214,13 @@ endif
if zbar_dep.found()
add_project_arguments('-DHAVE_ZBAR', language : 'c')
endif
+jose_dep = dependency('libjose', required : false)
+if not jose_dep.found()
+ jose_dep = cc.find_library('jose', required : false)
+endif
+if jose_dep.found()
+ add_project_arguments('-DHAVE_JOSE', language : 'c')
+endif
## FIXME conversation: pulse/gst detection in configure.ac obviously
## broken. Needs reconsideration. No idea for now.
diff --git a/src/gns/meson.build b/src/gns/meson.build
index d9f1b5e9d..b55a9d883 100644
--- a/src/gns/meson.build
+++ b/src/gns/meson.build
@@ -63,6 +63,18 @@ shared_module('gnunet_plugin_block_gns',
include_directories: [incdir, configuration_inc],
install:true,
install_dir: get_option('libdir')/'gnunet')
+shared_module('gnunet_plugin_rest_gns',
+ ['plugin_rest_gns.c'],
+ dependencies: [libgnunetrest_dep,
+ libgnunetgnsrecord_dep,
+ libgnunetgnsrecordjson_dep,
+ libgnunetgns_dep,
+ libgnunetutil_dep,
+ json_dep,
+ mhd_dep],
+ include_directories: [incdir, configuration_inc],
+ install: true,
+ install_dir: get_option('libdir') / 'gnunet' / 'libexec')
executable ('gnunet-gns',
diff --git a/src/gnsrecord/meson.build b/src/gnsrecord/meson.build
index 72ff6e47e..36a127bc1 100644
--- a/src/gnsrecord/meson.build
+++ b/src/gnsrecord/meson.build
@@ -35,5 +35,5 @@ libgnunetgnsrecordjson = library('gnunetgnsrecordjson',
include_directories: [incdir, configuration_inc],
install: true,
install_dir: get_option('libdir'))
-libgnunetgnsrecordjson_dep = declare_dependency(link_with : libgnunetgnsrecord)
+libgnunetgnsrecordjson_dep = declare_dependency(link_with :
libgnunetgnsrecordjson)
diff --git a/src/identity/meson.build b/src/identity/meson.build
index 4ca6091bb..4d2af220c 100644
--- a/src/identity/meson.build
+++ b/src/identity/meson.build
@@ -28,6 +28,17 @@ libgnunetidentity = library('gnunetidentity',
libgnunetidentity_dep = declare_dependency(link_with : libgnunetidentity)
pkg.generate(libgnunetidentity, url: 'https://www.gnunet.org',
description : 'API to access and organize private keys of the
user egos')
+shared_module('gnunet_plugin_rest_identity',
+ ['plugin_rest_identity.c'],
+ dependencies: [libgnunetrest_dep,
+ libgnunetidentity_dep,
+ libgnunetutil_dep,
+ json_dep,
+ mhd_dep],
+ include_directories: [incdir, configuration_inc],
+ install: true,
+ install_dir: get_option('libdir') / 'gnunet' / 'libexec')
+
executable ('gnunet-identity',
['gnunet-identity.c'],
diff --git a/src/namestore/meson.build b/src/namestore/meson.build
index 133c98d6c..ea44779cd 100644
--- a/src/namestore/meson.build
+++ b/src/namestore/meson.build
@@ -32,6 +32,22 @@ libgnunetnamestore_dep = declare_dependency(link_with :
libgnunetnamestore)
pkg.generate(libgnunetnamestore, url: 'https://www.gnunet.org',
description : 'Provides API for storing GNS records to a
database')
+shared_module('gnunet_plugin_rest_namestore',
+ ['plugin_rest_namestore.c'],
+ dependencies: [libgnunetrest_dep,
+ libgnunetidentity_dep,
+ libgnunetgnsrecordjson_dep,
+ libgnunetgnsrecord_dep,
+ libgnunetnamestore_dep,
+ libgnunetjson_dep,
+ libgnunetutil_dep,
+ json_dep,
+ mhd_dep],
+ include_directories: [incdir, configuration_inc],
+ install: true,
+ install_dir: get_option('libdir') / 'gnunet' / 'libexec')
+
+
shared_module('gnunet_plugin_namestore_sqlite',
libgnunetpluginnamestore_sqlite_src,
dependencies: [libgnunetutil_dep,
diff --git a/src/peerinfo-tool/meson.build b/src/peerinfo-tool/meson.build
index f44121c29..7e63cd2ad 100644
--- a/src/peerinfo-tool/meson.build
+++ b/src/peerinfo-tool/meson.build
@@ -5,6 +5,20 @@ if get_option('monolith')
subdir_done()
endif
+shared_module('gnunet_plugin_rest_peerinfo',
+ ['plugin_rest_peerinfo.c'],
+ dependencies: [libgnunetrest_dep,
+ libgnunetpeerinfo_dep,
+ libgnunettransport_dep,
+ libgnunethello_dep,
+ libgnunetutil_dep,
+ json_dep,
+ mhd_dep],
+ include_directories: [incdir, configuration_inc],
+ install: true,
+ install_dir: get_option('libdir') / 'gnunet' / 'libexec')
+
+
executable ('gnunet-peerinfo',
gnunetpeerinfotool_src,
dependencies: [libgnunetutil_dep,
diff --git a/src/reclaim/meson.build b/src/reclaim/meson.build
index 4ccda79c2..02ea2ed7d 100644
--- a/src/reclaim/meson.build
+++ b/src/reclaim/meson.build
@@ -51,6 +51,36 @@ libgnunetdid_dep = declare_dependency(link_with :
libgnunetdid)
pkg.generate(libgnunetdid, url: 'https://www.gnunet.org',
description : 'Provides API to manipulate DID')
+shared_module('gnunet_plugin_rest_reclaim',
+ ['plugin_rest_reclaim.c'],
+ dependencies: [libgnunetrest_dep,
+ libgnunetidentity_dep,
+ libgnunetreclaim_dep,
+ libgnunetjson_dep,
+ libgnunetutil_dep,
+ json_dep,
+ mhd_dep],
+ include_directories: [incdir, configuration_inc],
+ install: true,
+ install_dir: get_option('libdir') / 'gnunet' / 'libexec')
+
+
+shared_module('gnunet_plugin_rest_openid_connect',
+ ['plugin_rest_openid_connect.c', 'oidc_helper.c'],
+ dependencies: [libgnunetrest_dep,
+ libgnunetreclaim_dep,
+ libgnunetidentity_dep,
+ libgnunetgns_dep,
+ libgnunetutil_dep,
+ jose_dep,
+ gcrypt_dep,
+ json_dep,
+ mhd_dep],
+ include_directories: [incdir, configuration_inc],
+ install: true,
+ install_dir: get_option('libdir') / 'gnunet' / 'libexec')
+
+
executable ('gnunet-reclaim',
'gnunet-reclaim.c',
dependencies: [libgnunetreclaim_dep,
diff --git a/src/rest/meson.build b/src/rest/meson.build
index e9c9235cb..beb2ee2c3 100644
--- a/src/rest/meson.build
+++ b/src/rest/meson.build
@@ -29,6 +29,26 @@ pkg.generate(libgnunetrest, url: 'https://www.gnunet.org',
description : 'Provides API for accessing the REST service')
libgnunetrest_dep = declare_dependency(link_with : libgnunetrest)
+shared_module('gnunet_plugin_rest_config',
+ ['plugin_rest_config.c'],
+ dependencies: [libgnunetrest_dep,
+ libgnunetutil_dep,
+ json_dep,
+ mhd_dep],
+ include_directories: [incdir, configuration_inc],
+ install: true,
+ install_dir: get_option('libdir') / 'gnunet' / 'libexec')
+shared_module('gnunet_plugin_rest_copying',
+ ['plugin_rest_copying.c'],
+ dependencies: [libgnunetrest_dep,
+ libgnunetutil_dep,
+ json_dep,
+ mhd_dep],
+ include_directories: [incdir, configuration_inc],
+ install: true,
+ install_dir: get_option('libdir') / 'gnunet' / 'libexec')
+
+
executable ('gnunet-rest-server',
gnunetservicerest_src,
dependencies: [libgnunetrest_dep, libgnunetutil_dep, mhd_dep],
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnunet] branch master updated: BUILD: Meson add more file targets,
gnunet <=