unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
blob 0cf3dd68d10b52ffcc455de81e09f063d6d782d8 2501 bytes (raw)
name: meson.build 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
 
project('notmuch',
	['c', 'cpp'],
	license: 'GPLv3+',
       meson_version: '>=0.49.2')

dep_xapian = dependency('xapian-core')
dep_gmime = dependency('gmime-3.0', version: '>=3.0.3')
dep_glib = dependency('glib-2.0', version: '>=2.22')
dep_zlib = dependency('zlib', version: '>=1.2.5.2')
dep_talloc = dependency('talloc')
dep_valgrind = dependency('valgrind', required: false)
dep_bash_completion = dependency('bash-completion', version: '>=1.90',
				 required: false)
ruby_versions = ['2.7', '2.6', '2.5']
foreach v : ruby_versions
  dep_ruby = dependency('ruby-@0@'.format(v))
  if dep_ruby.found()
    break
  endif
endforeach
cmd_python = find_program('python3', 'python', 'python2')
cmd_doxygen = find_program('doxygen', required: false)
cmd_ruby = find_program('ruby', required: false)
cmd_sphinx = find_program('sphinx-build', required: false)
cmd_emacs = find_program('emacs', required: false)
cmd_desktop_file_install = find_program('desktop-file-install', required: false)

add_global_arguments('-Wno-deprecated-declarations', language: ['c', 'cpp'])

add_project_arguments('-D_GNU_SOURCE', language: ['c', 'cpp'])
add_project_arguments('-include', 'config.h', language: ['c', 'cpp'])

inc_cli = include_directories('.')

subdir('compat')
subdir('parse-time-string')
subdir('util')
subdir('lib')
subdir('bindings/ruby')
subdir('test')

notmuch_client_srcs = [
	'command-line-arguments.c',
	'debugger.c',
	'gmime-filter-reply.c',
	'hooks.c',
	'mime-node.c',
	'notmuch-compact.c',
	'notmuch-config.c',
	'notmuch-count.c',
	'notmuch-dump.c',
	'notmuch-insert.c',
	'notmuch-new.c',
	'notmuch-reindex.c',
	'notmuch-reply.c',
	'notmuch-restore.c',
	'notmuch-search.c',
	'notmuch-setup.c',
	'notmuch-show.c',
	'notmuch-tag.c',
	'notmuch-time.c',
	'notmuch.c',
	'query-string.c',
	'sprinter-json.c',
	'sprinter-sexp.c',
	'sprinter-text.c',
	'status.c',
	'tag-util.c',
]

executable('notmuch', notmuch_client_srcs,
	   include_directories: [inc_util, inc_compat, inc_lib],
	   dependencies: [dep_gmime, dep_zlib, dep_glib, dep_talloc],
	   link_with: [lib_compat, lib_util, lib_parse_time, lib_notmuch.get_static_lib()],
	   install: true)

executable('notmuch-shared', notmuch_client_srcs,
	   include_directories: [inc_util, inc_compat, inc_lib],
	   dependencies: [dep_gmime, dep_zlib, dep_glib, dep_talloc],
	   link_with: [lib_compat, lib_util, lib_parse_time, lib_notmuch],
	   install: true)

configure_file(input: 'sh.config.in',
	       output: 'sh.config',
	       configuration: config)

debug log:

solving 0cf3dd68 ...
found 0cf3dd68 in https://yhetil.org/notmuch/20200217111019.231584-1-qsx@chaotikum.eu/
found 6a924a68 in https://yhetil.org/notmuch/20200111164049.8237-1-jani@nikula.org/

applying [1/2] https://yhetil.org/notmuch/20200111164049.8237-1-jani@nikula.org/
diff --git a/meson.build b/meson.build
new file mode 100644
index 000000000000..6a924a684cad


applying [2/2] https://yhetil.org/notmuch/20200217111019.231584-1-qsx@chaotikum.eu/
diff --git a/meson.build b/meson.build
index 6a924a68..0cf3dd68 100644

Checking patch meson.build...
Applied patch meson.build cleanly.
Checking patch meson.build...
Applied patch meson.build cleanly.

index at:
100644 0cf3dd68d10b52ffcc455de81e09f063d6d782d8	meson.build

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).