diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/cli/gns/meson.build | 34 | ||||
-rw-r--r-- | src/service/arm/meson.build | 79 | ||||
-rw-r--r-- | src/service/datastore/meson.build | 162 | ||||
-rw-r--r-- | src/service/gns/meson.build | 168 | ||||
-rw-r--r-- | src/service/namestore/meson.build | 2 |
5 files changed, 228 insertions, 217 deletions
diff --git a/src/cli/gns/meson.build b/src/cli/gns/meson.build index bde5d9808..d4529c941 100644 --- a/src/cli/gns/meson.build +++ b/src/cli/gns/meson.build | |||
@@ -1,21 +1,21 @@ | |||
1 | configure_file(input : 'gnunet-gns-proxy-setup-ca.in', | 1 | configure_file(input : 'gnunet-gns-proxy-setup-ca.in', |
2 | output : 'gnunet-gns-proxy-setup-ca', | 2 | output : 'gnunet-gns-proxy-setup-ca', |
3 | configuration : cdata, | 3 | configuration : cdata, |
4 | install: true, | 4 | install: true, |
5 | install_dir: get_option('bindir')) | 5 | install_dir: get_option('bindir')) |
6 | 6 | ||
7 | install_data('gnunet-gns-proxy-ca.template', | 7 | install_data('gnunet-gns-proxy-ca.template', |
8 | install_dir: get_option('datadir')/'gnunet') | 8 | install_dir: get_option('datadir')/'gnunet') |
9 | 9 | ||
10 | executable ('gnunet-gns', | 10 | executable ('gnunet-gns', |
11 | 'gnunet-gns.c', | 11 | 'gnunet-gns.c', |
12 | dependencies: [libgnunetgns_dep, | 12 | dependencies: [libgnunetgns_dep, |
13 | libgnunetgnsrecord_dep, | 13 | libgnunetgnsrecord_dep, |
14 | idn_dep, | 14 | idn_dep, |
15 | libgnunetutil_dep], | 15 | libgnunetutil_dep], |
16 | include_directories: [incdir, configuration_inc], | 16 | include_directories: [incdir, configuration_inc], |
17 | install: true, | 17 | install: true, |
18 | install_dir: get_option('bindir')) | 18 | install_dir: get_option('bindir')) |
19 | 19 | ||
20 | testgns = [ | 20 | testgns = [ |
21 | 'test_dns2gns', | 21 | 'test_dns2gns', |
@@ -37,7 +37,7 @@ testgns = [ | |||
37 | 'test_gns_soa_lookup', | 37 | 'test_gns_soa_lookup', |
38 | 'test_gns_txt_lookup', | 38 | 'test_gns_txt_lookup', |
39 | 'test_gns_zkey_lookup', | 39 | 'test_gns_zkey_lookup', |
40 | ] | 40 | ] |
41 | 41 | ||
42 | testconfigs = [ | 42 | testconfigs = [ |
43 | 'test_dns2gns.conf', | 43 | 'test_dns2gns.conf', |
@@ -46,7 +46,7 @@ testconfigs = [ | |||
46 | 'test_gns_lookup_peer1.conf', | 46 | 'test_gns_lookup_peer1.conf', |
47 | 'test_gns_lookup_peer2.conf', | 47 | 'test_gns_lookup_peer2.conf', |
48 | 'test_gns_simple_lookup.conf' | 48 | 'test_gns_simple_lookup.conf' |
49 | ] | 49 | ] |
50 | 50 | ||
51 | foreach f : testconfigs | 51 | foreach f : testconfigs |
52 | configure_file(input: f, output: f, copy: true) | 52 | configure_file(input: f, output: f, copy: true) |
@@ -56,8 +56,8 @@ foreach t : testgns | |||
56 | 56 | ||
57 | test_filename = t + '.sh' | 57 | test_filename = t + '.sh' |
58 | test_file = configure_file(input : test_filename, | 58 | test_file = configure_file(input : test_filename, |
59 | output : test_filename, | 59 | output : test_filename, |
60 | copy: true) | 60 | copy: true) |
61 | 61 | ||
62 | test(t, test_file, suite: 'gns', workdir: meson.current_build_dir(), is_parallel: false) | 62 | test(t, test_file, suite: 'gns', workdir: meson.current_build_dir(), is_parallel: false) |
63 | endforeach | 63 | endforeach |
diff --git a/src/service/arm/meson.build b/src/service/arm/meson.build index db37c7424..56c992efe 100644 --- a/src/service/arm/meson.build +++ b/src/service/arm/meson.build | |||
@@ -1,5 +1,5 @@ | |||
1 | libgnunetarm_src = ['arm_api.c', | 1 | libgnunetarm_src = ['arm_api.c', |
2 | 'arm_monitor_api.c'] | 2 | 'arm_monitor_api.c'] |
3 | 3 | ||
4 | gnunetservicearm_src = ['gnunet-service-arm.c'] | 4 | gnunetservicearm_src = ['gnunet-service-arm.c'] |
5 | 5 | ||
@@ -8,54 +8,54 @@ testexpbo_src = ['test_exponential_backoff.c'] | |||
8 | testgnunetservice_src = ['test_gnunet_service_arm.c'] | 8 | testgnunetservice_src = ['test_gnunet_service_arm.c'] |
9 | 9 | ||
10 | configure_file(input : 'arm.conf.in', | 10 | configure_file(input : 'arm.conf.in', |
11 | output : 'arm.conf', | 11 | output : 'arm.conf', |
12 | configuration : cdata, | 12 | configuration : cdata, |
13 | install: true, | 13 | install: true, |
14 | install_dir: pkgcfgdir) | 14 | install_dir: pkgcfgdir) |
15 | 15 | ||
16 | libgnunetarm = library('gnunetarm', | 16 | libgnunetarm = library('gnunetarm', |
17 | libgnunetarm_src, | 17 | libgnunetarm_src, |
18 | dependencies: libgnunetutil_dep, | 18 | dependencies: libgnunetutil_dep, |
19 | version: '2.0.0', | 19 | version: '2.0.0', |
20 | soversion: '2', | 20 | soversion: '2', |
21 | include_directories: [incdir, configuration_inc], | 21 | include_directories: [incdir, configuration_inc], |
22 | install: true, | 22 | install: true, |
23 | install_dir: get_option('libdir')) | 23 | install_dir: get_option('libdir')) |
24 | pkg.generate(libgnunetarm, url: 'https://www.gnunet.org', | 24 | pkg.generate(libgnunetarm, url: 'https://www.gnunet.org', |
25 | description : 'Provides API for accessing the Automated Restart Manager service') | 25 | description : 'Provides API for accessing the Automated Restart Manager service') |
26 | libgnunetarm_dep = declare_dependency(link_with : libgnunetarm) | 26 | libgnunetarm_dep = declare_dependency(link_with : libgnunetarm) |
27 | 27 | ||
28 | executable ('gnunet-service-arm', | 28 | executable ('gnunet-service-arm', |
29 | gnunetservicearm_src, | 29 | gnunetservicearm_src, |
30 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], | 30 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], |
31 | include_directories: [incdir, configuration_inc], | 31 | include_directories: [incdir, configuration_inc], |
32 | install: true, | 32 | install: true, |
33 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | 33 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') |
34 | 34 | ||
35 | mockservice = executable ('mockup-service', | 35 | mockservice = executable ('mockup-service', |
36 | ['mockup-service.c'], | 36 | ['mockup-service.c'], |
37 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], | 37 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], |
38 | include_directories: [incdir, configuration_inc], | 38 | include_directories: [incdir, configuration_inc], |
39 | install: false) | 39 | install: false) |
40 | 40 | ||
41 | testarmapi = executable ('test_arm_api', | 41 | testarmapi = executable ('test_arm_api', |
42 | testarmapi_src, | 42 | testarmapi_src, |
43 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], | 43 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], |
44 | include_directories: [incdir, configuration_inc], | 44 | include_directories: [incdir, configuration_inc], |
45 | install: false) | 45 | install: false) |
46 | testexpbo = executable ('test_exponential_backoff', | 46 | testexpbo = executable ('test_exponential_backoff', |
47 | testexpbo_src, | 47 | testexpbo_src, |
48 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], | 48 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], |
49 | include_directories: [incdir, configuration_inc], | 49 | include_directories: [incdir, configuration_inc], |
50 | install: false) | 50 | install: false) |
51 | testgnunetservice = executable ('test_gnunet_service', | 51 | testgnunetservice = executable ('test_gnunet_service', |
52 | testgnunetservice_src, | 52 | testgnunetservice_src, |
53 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], | 53 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], |
54 | include_directories: [incdir, configuration_inc], | 54 | include_directories: [incdir, configuration_inc], |
55 | install: false) | 55 | install: false) |
56 | configure_file(copy: true, | 56 | configure_file(copy: true, |
57 | input: 'test_arm_api_data.conf', | 57 | input: 'test_arm_api_data.conf', |
58 | output: 'test_arm_api_data.conf') | 58 | output: 'test_arm_api_data.conf') |
59 | 59 | ||
60 | # FIXME: We need to convert the convoluted awk script from Makefile.am here | 60 | # FIXME: We need to convert the convoluted awk script from Makefile.am here |
61 | #configure_file(copy: true, | 61 | #configure_file(copy: true, |
@@ -63,9 +63,12 @@ configure_file(copy: true, | |||
63 | # output: 'test_gnunet_arm.py') | 63 | # output: 'test_gnunet_arm.py') |
64 | 64 | ||
65 | test('test_arm_api', testarmapi, workdir: meson.current_build_dir(), | 65 | test('test_arm_api', testarmapi, workdir: meson.current_build_dir(), |
66 | suite: 'arm') | 66 | is_parallel: false, |
67 | suite: 'arm') | ||
67 | test('test_exponential_backoff', testexpbo, workdir: meson.current_build_dir(), | 68 | test('test_exponential_backoff', testexpbo, workdir: meson.current_build_dir(), |
68 | depends: mockservice, | 69 | depends: mockservice, |
70 | is_parallel: false, | ||
69 | timeout: 60, suite: 'arm') | 71 | timeout: 60, suite: 'arm') |
70 | test('test_gnunet_service_arm', testgnunetservice, workdir: meson.current_build_dir(), | 72 | test('test_gnunet_service_arm', testgnunetservice, workdir: meson.current_build_dir(), |
71 | suite: 'arm') | 73 | is_parallel: false, |
74 | suite: 'arm') | ||
diff --git a/src/service/datastore/meson.build b/src/service/datastore/meson.build index b81d8bb86..802ebb0a0 100644 --- a/src/service/datastore/meson.build +++ b/src/service/datastore/meson.build | |||
@@ -3,10 +3,10 @@ libgnunetdatastore_src = ['datastore_api.c'] | |||
3 | gnunetservicedatastore_src = ['gnunet-service-datastore.c'] | 3 | gnunetservicedatastore_src = ['gnunet-service-datastore.c'] |
4 | 4 | ||
5 | configure_file(input : 'datastore.conf.in', | 5 | configure_file(input : 'datastore.conf.in', |
6 | output : 'datastore.conf', | 6 | output : 'datastore.conf', |
7 | configuration : cdata, | 7 | configuration : cdata, |
8 | install: true, | 8 | install: true, |
9 | install_dir: pkgcfgdir) | 9 | install_dir: pkgcfgdir) |
10 | 10 | ||
11 | if get_option('monolith') | 11 | if get_option('monolith') |
12 | foreach p : libgnunetdatastore_src + gnunetservicedatastore_src | 12 | foreach p : libgnunetdatastore_src + gnunetservicedatastore_src |
@@ -15,112 +15,118 @@ if get_option('monolith') | |||
15 | endif | 15 | endif |
16 | 16 | ||
17 | libgnunetdatastore = library('gnunetdatastore', | 17 | libgnunetdatastore = library('gnunetdatastore', |
18 | libgnunetdatastore_src, | 18 | libgnunetdatastore_src, |
19 | soversion: '1', | 19 | soversion: '1', |
20 | version: '1.0.0', | 20 | version: '1.0.0', |
21 | dependencies: [libgnunetutil_dep, | 21 | dependencies: [libgnunetutil_dep, |
22 | libgnunetstatistics_dep, | 22 | libgnunetstatistics_dep, |
23 | libgnunetdatacache_dep], | 23 | libgnunetdatacache_dep], |
24 | include_directories: [incdir, configuration_inc], | 24 | include_directories: [incdir, configuration_inc], |
25 | install: true, | 25 | install: true, |
26 | install_dir: get_option('libdir')) | 26 | install_dir: get_option('libdir')) |
27 | libgnunetdatastore_dep = declare_dependency(link_with : libgnunetdatastore) | 27 | libgnunetdatastore_dep = declare_dependency(link_with : libgnunetdatastore) |
28 | pkg.generate(libgnunetdatastore, url: 'https://www.gnunet.org', | 28 | pkg.generate(libgnunetdatastore, url: 'https://www.gnunet.org', |
29 | description : 'Management API for the datastore for persistent storage to disk') | 29 | description : 'Management API for the datastore for persistent storage to disk') |
30 | 30 | ||
31 | executable ('gnunet-service-datastore', | 31 | executable ('gnunet-service-datastore', |
32 | gnunetservicedatastore_src, | 32 | gnunetservicedatastore_src, |
33 | dependencies: [libgnunetdatastore_dep, | 33 | dependencies: [libgnunetdatastore_dep, |
34 | libgnunetutil_dep, | 34 | libgnunetutil_dep, |
35 | libgnunetstatistics_dep, | 35 | libgnunetstatistics_dep, |
36 | libgnunetdatacache_dep], | 36 | libgnunetdatacache_dep], |
37 | include_directories: [incdir, configuration_inc], | 37 | include_directories: [incdir, configuration_inc], |
38 | install: true, | 38 | install: true, |
39 | install_dir: get_option('libdir')/'gnunet'/'libexec') | 39 | install_dir: get_option('libdir')/'gnunet'/'libexec') |
40 | 40 | ||
41 | testds_sqlite = executable ('test_store_api_sqlite', | 41 | testds_sqlite = executable ('test_store_api_sqlite', |
42 | ['test_datastore_api.c'], | 42 | ['test_datastore_api.c'], |
43 | dependencies: [ | 43 | dependencies: [ |
44 | libgnunetdatastore_dep, | 44 | libgnunetdatastore_dep, |
45 | libgnunetutil_dep, | 45 | libgnunetutil_dep, |
46 | libgnunettesting_dep | 46 | libgnunettesting_dep |
47 | ], | 47 | ], |
48 | include_directories: [incdir, configuration_inc], | 48 | include_directories: [incdir, configuration_inc], |
49 | install: false) | 49 | install: false) |
50 | 50 | ||
51 | testds_mgmt_sqlite = executable ('test_datastore_api_management_sqlite', | 51 | testds_mgmt_sqlite = executable ('test_datastore_api_management_sqlite', |
52 | ['test_datastore_api_management.c'], | 52 | ['test_datastore_api_management.c'], |
53 | dependencies: [ | 53 | dependencies: [ |
54 | libgnunetdatastore_dep, | 54 | libgnunetdatastore_dep, |
55 | libgnunetutil_dep, | 55 | libgnunetutil_dep, |
56 | libgnunettesting_dep | 56 | libgnunettesting_dep |
57 | ], | 57 | ], |
58 | include_directories: [incdir, configuration_inc], | 58 | include_directories: [incdir, configuration_inc], |
59 | install: false) | 59 | install: false) |
60 | 60 | ||
61 | testds_heap = executable ('test_datastore_api_heap', | 61 | testds_heap = executable ('test_datastore_api_heap', |
62 | ['test_datastore_api.c'], | 62 | ['test_datastore_api.c'], |
63 | dependencies: [ | 63 | dependencies: [ |
64 | libgnunetdatastore_dep, | 64 | libgnunetdatastore_dep, |
65 | libgnunetutil_dep, | 65 | libgnunetutil_dep, |
66 | libgnunettesting_dep | 66 | libgnunettesting_dep |
67 | ], | 67 | ], |
68 | include_directories: [incdir, configuration_inc], | 68 | include_directories: [incdir, configuration_inc], |
69 | install: false) | 69 | install: false) |
70 | 70 | ||
71 | testds_mgmt_heap = executable ('test_datastore_api_management_heap', | 71 | testds_mgmt_heap = executable ('test_datastore_api_management_heap', |
72 | ['test_datastore_api_management.c'], | 72 | ['test_datastore_api_management.c'], |
73 | dependencies: [ | 73 | dependencies: [ |
74 | libgnunetdatastore_dep, | 74 | libgnunetdatastore_dep, |
75 | libgnunetutil_dep, | 75 | libgnunetutil_dep, |
76 | libgnunettesting_dep | 76 | libgnunettesting_dep |
77 | ], | 77 | ], |
78 | include_directories: [incdir, configuration_inc], | 78 | include_directories: [incdir, configuration_inc], |
79 | install: false) | 79 | install: false) |
80 | 80 | ||
81 | testds_pq = executable ('test_datastore_api_postgres', | 81 | testds_pq = executable ('test_datastore_api_postgres', |
82 | ['test_datastore_api.c'], | 82 | ['test_datastore_api.c'], |
83 | dependencies: [ | 83 | dependencies: [ |
84 | libgnunetdatastore_dep, | 84 | libgnunetdatastore_dep, |
85 | libgnunetutil_dep, | 85 | libgnunetutil_dep, |
86 | libgnunettesting_dep | 86 | libgnunettesting_dep |
87 | ], | 87 | ], |
88 | include_directories: [incdir, configuration_inc], | 88 | include_directories: [incdir, configuration_inc], |
89 | install: false) | 89 | install: false) |
90 | 90 | ||
91 | testds_mgmt_pq = executable ('test_datastore_api_management_postgres', | 91 | testds_mgmt_pq = executable ('test_datastore_api_management_postgres', |
92 | ['test_datastore_api_management.c'], | 92 | ['test_datastore_api_management.c'], |
93 | dependencies: [ | 93 | dependencies: [ |
94 | libgnunetdatastore_dep, | 94 | libgnunetdatastore_dep, |
95 | libgnunetutil_dep, | 95 | libgnunetutil_dep, |
96 | libgnunettesting_dep | 96 | libgnunettesting_dep |
97 | ], | 97 | ], |
98 | include_directories: [incdir, configuration_inc], | 98 | include_directories: [incdir, configuration_inc], |
99 | install: false) | 99 | install: false) |
100 | 100 | ||
101 | configure_file(input : 'test_defaults.conf', | 101 | configure_file(input : 'test_defaults.conf', |
102 | output : 'test_defaults.conf', | 102 | output : 'test_defaults.conf', |
103 | copy: true) | 103 | copy: true) |
104 | configure_file(input : 'test_datastore_api_data_sqlite.conf', | 104 | configure_file(input : 'test_datastore_api_data_sqlite.conf', |
105 | output : 'test_datastore_api_data_sqlite.conf', | 105 | output : 'test_datastore_api_data_sqlite.conf', |
106 | copy: true) | 106 | copy: true) |
107 | configure_file(input : 'test_datastore_api_data_heap.conf', | 107 | configure_file(input : 'test_datastore_api_data_heap.conf', |
108 | output : 'test_datastore_api_data_heap.conf', | 108 | output : 'test_datastore_api_data_heap.conf', |
109 | copy: true) | 109 | copy: true) |
110 | configure_file(input : 'test_datastore_api_data_postgres.conf', | 110 | configure_file(input : 'test_datastore_api_data_postgres.conf', |
111 | output : 'test_datastore_api_data_postgres.conf', | 111 | output : 'test_datastore_api_data_postgres.conf', |
112 | copy: true) | 112 | copy: true) |
113 | 113 | ||
114 | test('test_datastore_api_sqlite', testds_sqlite, | 114 | test('test_datastore_api_sqlite', testds_sqlite, |
115 | is_parallel: false, | ||
115 | suite: 'datastore', workdir: meson.current_build_dir()) | 116 | suite: 'datastore', workdir: meson.current_build_dir()) |
116 | test('test_datastore_api_management_sqlite', testds_mgmt_sqlite, | 117 | test('test_datastore_api_management_sqlite', testds_mgmt_sqlite, |
118 | is_parallel: false, | ||
117 | suite: 'datastore', workdir: meson.current_build_dir()) | 119 | suite: 'datastore', workdir: meson.current_build_dir()) |
118 | test('test_datastore_api_heap', testds_heap, | 120 | test('test_datastore_api_heap', testds_heap, |
121 | is_parallel: false, | ||
119 | suite: 'datastore', workdir: meson.current_build_dir()) | 122 | suite: 'datastore', workdir: meson.current_build_dir()) |
120 | test('test_datastore_api_management_heap', testds_mgmt_heap, | 123 | test('test_datastore_api_management_heap', testds_mgmt_heap, |
124 | is_parallel: false, | ||
121 | suite: 'datastore', workdir: meson.current_build_dir()) | 125 | suite: 'datastore', workdir: meson.current_build_dir()) |
122 | test('test_datastore_api_postgres', testds_pq, | 126 | test('test_datastore_api_postgres', testds_pq, |
127 | is_parallel: false, | ||
123 | suite: 'datastore', workdir: meson.current_build_dir()) | 128 | suite: 'datastore', workdir: meson.current_build_dir()) |
124 | test('test_datastore_api_management_postgres', testds_mgmt_pq, | 129 | test('test_datastore_api_management_postgres', testds_mgmt_pq, |
130 | is_parallel: false, | ||
125 | suite: 'datastore', workdir: meson.current_build_dir()) | 131 | suite: 'datastore', workdir: meson.current_build_dir()) |
126 | 132 | ||
diff --git a/src/service/gns/meson.build b/src/service/gns/meson.build index fb70a72b0..a12d7e918 100644 --- a/src/service/gns/meson.build +++ b/src/service/gns/meson.build | |||
@@ -1,21 +1,21 @@ | |||
1 | libgnunetgns_src = ['gns_api.c', 'gns_tld_api.c'] | 1 | libgnunetgns_src = ['gns_api.c', 'gns_tld_api.c'] |
2 | 2 | ||
3 | gnunetservicegns_src = ['gnunet-service-gns.c', | 3 | gnunetservicegns_src = ['gnunet-service-gns.c', |
4 | 'gnunet-service-gns_resolver.c', | 4 | 'gnunet-service-gns_resolver.c', |
5 | 'gnunet-service-gns_interceptor.c'] | 5 | 'gnunet-service-gns_interceptor.c'] |
6 | 6 | ||
7 | gnunetgnsproxy_src = ['gnunet-gns-proxy.c'] | 7 | gnunetgnsproxy_src = ['gnunet-gns-proxy.c'] |
8 | 8 | ||
9 | configure_file(input : 'gns.conf.in', | 9 | configure_file(input : 'gns.conf.in', |
10 | output : 'gns.conf', | 10 | output : 'gns.conf', |
11 | configuration : cdata, | 11 | configuration : cdata, |
12 | install: true, | 12 | install: true, |
13 | install_dir: pkgcfgdir) | 13 | install_dir: pkgcfgdir) |
14 | configure_file(input : 'tlds.conf', | 14 | configure_file(input : 'tlds.conf', |
15 | output : 'tlds.conf', | 15 | output : 'tlds.conf', |
16 | configuration : cdata, | 16 | configuration : cdata, |
17 | install: true, | 17 | install: true, |
18 | install_dir: pkgcfgdir) | 18 | install_dir: pkgcfgdir) |
19 | 19 | ||
20 | if get_option('monolith') | 20 | if get_option('monolith') |
21 | foreach p : libgnunetgns_src + gnunetservicegns_src | 21 | foreach p : libgnunetgns_src + gnunetservicegns_src |
@@ -24,88 +24,88 @@ if get_option('monolith') | |||
24 | endif | 24 | endif |
25 | 25 | ||
26 | libgnunetgns = library('gnunetgns', | 26 | libgnunetgns = library('gnunetgns', |
27 | libgnunetgns_src, | 27 | libgnunetgns_src, |
28 | soversion: '0', | 28 | soversion: '0', |
29 | version: '0.0.0', | 29 | version: '0.0.0', |
30 | dependencies: [libgnunetutil_dep, | 30 | dependencies: [libgnunetutil_dep, |
31 | libgnunetgnsrecord_dep, | 31 | libgnunetgnsrecord_dep, |
32 | libgnunetidentity_dep], | 32 | libgnunetidentity_dep], |
33 | include_directories: [incdir, configuration_inc], | 33 | include_directories: [incdir, configuration_inc], |
34 | install: true, | 34 | install: true, |
35 | install_dir: get_option('libdir')) | 35 | install_dir: get_option('libdir')) |
36 | libgnunetgns_dep = declare_dependency(link_with : libgnunetgns) | 36 | libgnunetgns_dep = declare_dependency(link_with : libgnunetgns) |
37 | pkg.generate(libgnunetgns, url: 'https://www.gnunet.org', | 37 | pkg.generate(libgnunetgns, url: 'https://www.gnunet.org', |
38 | description : 'Provides API to access the GNU Name System') | 38 | description : 'Provides API to access the GNU Name System') |
39 | 39 | ||
40 | executable ('gnunet-gns-proxy', | 40 | executable ('gnunet-gns-proxy', |
41 | gnunetgnsproxy_src, | 41 | gnunetgnsproxy_src, |
42 | dependencies: [libgnunetgns_dep, | 42 | dependencies: [libgnunetgns_dep, |
43 | libgnunetutil_dep, | 43 | libgnunetutil_dep, |
44 | mhd_dep, | 44 | mhd_dep, |
45 | idn_dep, | 45 | idn_dep, |
46 | curl_dep, | 46 | curl_dep, |
47 | gnutls_dep, | 47 | gnutls_dep, |
48 | libgnunetidentity_dep], | 48 | libgnunetidentity_dep], |
49 | include_directories: [incdir, configuration_inc], | 49 | include_directories: [incdir, configuration_inc], |
50 | install: true, | 50 | install: true, |
51 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | 51 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') |
52 | 52 | ||
53 | executable ('gnunet-service-gns', | 53 | executable ('gnunet-service-gns', |
54 | gnunetservicegns_src, | 54 | gnunetservicegns_src, |
55 | dependencies: [libgnunetgns_dep, | 55 | dependencies: [libgnunetgns_dep, |
56 | libgnunetutil_dep, | 56 | libgnunetutil_dep, |
57 | libgnunetstatistics_dep, | 57 | libgnunetstatistics_dep, |
58 | libgnunetcore_dep, | 58 | libgnunetcore_dep, |
59 | libgnunetdht_dep, | 59 | libgnunetdht_dep, |
60 | libgnunetdns_dep, | 60 | libgnunetdns_dep, |
61 | idn_dep, | 61 | idn_dep, |
62 | libgnunetidentity_dep, | 62 | libgnunetidentity_dep, |
63 | libgnunetnamecache_dep, | 63 | libgnunetnamecache_dep, |
64 | libgnunetrevocation_dep, | 64 | libgnunetrevocation_dep, |
65 | libgnunetgnsrecord_dep, | 65 | libgnunetgnsrecord_dep, |
66 | libgnunetcadet_dep, | 66 | libgnunetcadet_dep, |
67 | libgnunetblock_dep], | 67 | libgnunetblock_dep], |
68 | include_directories: [incdir, configuration_inc], | 68 | include_directories: [incdir, configuration_inc], |
69 | install: true, | 69 | install: true, |
70 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | 70 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') |
71 | executable ('gnunet-bcd', | 71 | executable ('gnunet-bcd', |
72 | ['gnunet-bcd.c'], | 72 | ['gnunet-bcd.c'], |
73 | dependencies: [libgnunetgns_dep, | 73 | dependencies: [libgnunetgns_dep, |
74 | libgnunetutil_dep, | 74 | libgnunetutil_dep, |
75 | libgnunetstatistics_dep, | 75 | libgnunetstatistics_dep, |
76 | libgnunetcore_dep, | 76 | libgnunetcore_dep, |
77 | libgnunetdht_dep, | 77 | libgnunetdht_dep, |
78 | libgnunetdns_dep, | 78 | libgnunetdns_dep, |
79 | mhd_dep, | 79 | mhd_dep, |
80 | idn_dep, | 80 | idn_dep, |
81 | libgnunetidentity_dep, | 81 | libgnunetidentity_dep, |
82 | libgnunetnamecache_dep, | 82 | libgnunetnamecache_dep, |
83 | libgnunetrevocation_dep, | 83 | libgnunetrevocation_dep, |
84 | libgnunetgnsrecord_dep, | 84 | libgnunetgnsrecord_dep, |
85 | libgnunetcadet_dep, | 85 | libgnunetcadet_dep, |
86 | libgnunetblock_dep], | 86 | libgnunetblock_dep], |
87 | include_directories: [incdir, configuration_inc], | 87 | include_directories: [incdir, configuration_inc], |
88 | install: true, | 88 | install: true, |
89 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | 89 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') |
90 | executable ('gnunet-dns2gns', | 90 | executable ('gnunet-dns2gns', |
91 | ['gnunet-dns2gns.c'], | 91 | ['gnunet-dns2gns.c'], |
92 | dependencies: [libgnunetgns_dep, | 92 | dependencies: [libgnunetgns_dep, |
93 | libgnunetutil_dep, | 93 | libgnunetutil_dep, |
94 | libgnunetstatistics_dep, | 94 | libgnunetstatistics_dep, |
95 | libgnunetvpn_dep, | 95 | libgnunetvpn_dep, |
96 | libgnunetcore_dep, | 96 | libgnunetcore_dep, |
97 | libgnunetdht_dep, | 97 | libgnunetdht_dep, |
98 | libgnunetdns_dep, | 98 | libgnunetdns_dep, |
99 | idn_dep, | 99 | idn_dep, |
100 | libgnunetidentity_dep, | 100 | libgnunetidentity_dep, |
101 | libgnunetnamecache_dep, | 101 | libgnunetnamecache_dep, |
102 | libgnunetrevocation_dep, | 102 | libgnunetrevocation_dep, |
103 | libgnunetgnsrecord_dep, | 103 | libgnunetgnsrecord_dep, |
104 | libgnunetcadet_dep, | 104 | libgnunetcadet_dep, |
105 | libgnunetblock_dep], | 105 | libgnunetblock_dep], |
106 | include_directories: [incdir, configuration_inc], | 106 | include_directories: [incdir, configuration_inc], |
107 | install: true, | 107 | install: true, |
108 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | 108 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') |
109 | 109 | ||
110 | 110 | ||
111 | if have_nss | 111 | if have_nss |
diff --git a/src/service/namestore/meson.build b/src/service/namestore/meson.build index 4169e7fde..d4fc9579a 100644 --- a/src/service/namestore/meson.build +++ b/src/service/namestore/meson.build | |||
@@ -96,6 +96,7 @@ foreach tn : namestoreapitestnames | |||
96 | include_directories: [incdir, configuration_inc], | 96 | include_directories: [incdir, configuration_inc], |
97 | install: false) | 97 | install: false) |
98 | test(tn + '_sqlite', t, workdir: meson.current_build_dir(), | 98 | test(tn + '_sqlite', t, workdir: meson.current_build_dir(), |
99 | is_parallel: false, | ||
99 | suite: 'namestore') | 100 | suite: 'namestore') |
100 | if pq_dep.found() | 101 | if pq_dep.found() |
101 | t_pq = executable (tn + '_postgres', | 102 | t_pq = executable (tn + '_postgres', |
@@ -109,6 +110,7 @@ foreach tn : namestoreapitestnames | |||
109 | include_directories: [incdir, configuration_inc], | 110 | include_directories: [incdir, configuration_inc], |
110 | install: false) | 111 | install: false) |
111 | test(tn + '_postgres', t, workdir: meson.current_build_dir(), | 112 | test(tn + '_postgres', t, workdir: meson.current_build_dir(), |
113 | is_parallel: false, | ||
112 | suite: 'namestore') | 114 | suite: 'namestore') |
113 | endif | 115 | endif |
114 | endforeach | 116 | endforeach |