1 # This file is a part of Geeqie project (https://www.geeqie.org/).
2 # Copyright (C) 2008 - 2022 The Geeqie Team
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 2 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # Meson default directories used in this project:
23 # Project expanded default directories:
25 # bindir /usr/local/bin geeqie executable
26 # gq_bindir /usr/local/lib/geeqie * plugins scripts
27 # datadir /usr/local/share/
28 # /usr/local/share/applications geeqie.desktop
29 # [gq_]appdir /usr/local/share/geeqie/ * template.desktop
30 # desktopdir /usr/local/share/geeqie/applications plugin desktop files
31 # appdatadir /usr/local/share/metainfo org.geeqie.Geeqie.appdata.xml
32 # icondir /usr/local/share/pixmaps geeqie.png icon
33 # [gq_]helpdir /usr/local/share/doc/geeqie * readme files etc.
34 # [gq_]htmldir /usr/local/share/doc/geeqie/html * help files
35 # gq_localedir /usr/locale/share/locale
36 # mandir1 /usr/local/share/man/man1 man page
37 # podir project_root/po
39 # * See meson_options.txt file
45 version : run_command('./version.sh', check : true).stdout().strip(),
46 license : ['GPL-2.0-or-later'],
47 meson_version : '>=0.53.0',
48 default_options : ['warning_level=3', 'buildtype=debugoptimized', 'cpp_link_args=-rdynamic']
51 # To inhibit warnings from the generated files icons_inline.h and ui_icons.h
52 add_global_arguments('-Wno-overlength-strings', language : 'c')
54 # To compile originally-C files as C++
55 add_global_arguments('-Wno-error=deprecated-declarations', language : 'cpp')
56 add_global_arguments('-Wno-error=sign-compare', language : 'cpp')
57 add_global_arguments('-Wno-error=return-type', language : 'cpp')
58 add_global_arguments('-Wno-error=literal-suffix', language : 'cpp')
59 add_global_arguments('-Wno-error=write-strings', language : 'cpp')
61 # Project requirements
63 gnome = import('gnome')
64 thread_dep = dependency('threads')
65 cc = meson.get_compiler('c')
68 configuration_inc = include_directories('.')
70 # Extended stack trace using backward-app
71 option = get_option('devel')
73 if cc.has_link_argument('-ldwarf')
74 add_project_link_arguments('-ldwarf', language: 'cpp')
79 gdk_pixbuf_csource = find_program('gdk-pixbuf-csource', required : true)
80 glib_compile_resources = find_program('glib-compile-resources', required : true)
81 glib_genmarshal = find_program('glib-genmarshal', required : true)
83 option = get_option('git')
84 if not option.disabled()
85 running_from_git = find_program('git', required: false).found() and fs.is_dir('.git')
87 running_from_git = false
88 summary({'git' : ['disabled - ChangeLog, ChangeLog.html, lua-api help file created:', false]}, section : 'Documentation', bool_yn : true)
91 debug = get_option('debug')
93 # Note that main.cc sets prefix to the directory above where the executable is run from.
94 # This is to allow AppImages to be used
96 # These gq_* variables are paths relative to /prefix/,
97 # and are also used in defines in the source as GQ_*
98 if get_option('gq_appdir') == ''
99 gq_appdir = join_paths(get_option('datadir'), 'geeqie')
101 gq_appdir = get_option('gq_appdir')
104 # This is not the same as Meson bindir
105 if get_option('gq_bindir') == ''
106 gq_bindir = 'lib/geeqie'
108 gq_bindir = get_option('gq_bindir')
111 if get_option('gq_helpdir') == ''
112 gq_helpdir = join_paths(get_option('datadir'), 'doc/geeqie')
114 gq_helpdir = get_option('gq_helpdir')
117 if get_option('gq_htmldir') == ''
118 gq_htmldir = join_paths(get_option('datadir'), 'doc/geeqie/html')
120 gq_htmldir = get_option('gq_htmldir')
123 if get_option('gq_localedir') == ''
124 gq_localedir = join_paths(get_option('datadir'), 'locale')
126 gq_localedir = get_option('gq_localedir')
130 # Set up the absolute directory paths used
131 prefix = get_option('prefix')
132 datadir = join_paths(prefix, get_option('datadir'))
134 # Installation paths are absolute
135 appdir = join_paths(prefix, gq_appdir)
136 appdatadir = join_paths(datadir, 'metainfo')
137 desktopdir = join_paths(datadir, meson.project_name(), 'applications')
138 helpdir = join_paths(prefix, gq_helpdir)
139 htmldir = join_paths(prefix, gq_htmldir)
140 icondir = join_paths(datadir, 'pixmaps')
141 mandir1 = join_paths(datadir, 'man', 'man1')
143 podir = join_paths(meson.source_root(), 'po')
145 summary({'gq_appdir': gq_appdir,
146 'gq_bindir': gq_helpdir,
147 'gq_helpdir': gq_helpdir,
148 'gq_htmldir': gq_htmldir,
149 'gq_localedir': gq_localedir,
150 }, section: 'Directories')
152 # Create the define constants used in the sources. Set via config.h.in
153 conf_data = configuration_data()
154 conf_data.set_quoted('VERSION', meson.project_version())
155 conf_data.set('DEBUG', debug)
157 option = get_option('gtk4')
159 gtk_dep = dependency('gtk4', required: true)
160 conf_data.set('HAVE_GTK4', 1)
162 gtk_dep = dependency('gtk+-3.0', version : '>=3.24', required: true)
164 glib_dep = dependency('glib-2.0', version : '>=2.52', required: true)
166 # Required only when backward-cpp is used
169 option = get_option('devel')
171 libdw_dep = dependency('libdw', required : true)
173 libunwind_dep = dependency('libunwind', required : true)
174 if libunwind_dep.found()
175 conf_data.set('HAVE_DEVELOPER', 1)
176 summary({'developer mode' : ['extended stacktrace:', true]}, section : 'Debugging', bool_yn : true)
178 summary({'developer mode' : ['libunwind not found. extended stacktrace:', false]}, section : 'Debugging', bool_yn : true)
181 summary({'developer mode' : ['libdw not found. extended stacktrace:', false]}, section : 'Debugging', bool_yn : true)
184 summary({'developer mode' : ['extended stacktrace:', false]}, section : 'Debugging', bool_yn : true)
187 # Required only for seg. fault stacktrace and backtrace debugging
188 option = get_option('execinfo')
189 if not option.disabled()
190 result = cc.check_header('execinfo.h')
192 conf_data.set('HAVE_EXECINFO_H', 1)
193 summary({'execinfo' : ['stacktrace supported:', true]}, section : 'Debugging', bool_yn : true)
195 summary({'execinfo' : ['stacktrace supported:', false]}, section : 'Debugging', bool_yn : true)
198 summary({'execinfo' : ['stacktrace supported:', false]}, section : 'Debugging', bool_yn : true)
202 req_version = '>=3.4.0'
203 option = get_option('archive')
204 if not option.disabled()
205 libarchive_dep = dependency('libarchive', version : req_version, required : get_option('archive'))
206 if libarchive_dep.found()
207 conf_data.set('HAVE_ARCHIVE', 1)
208 summary({'archive' : ['archive files e.g. .zip supported:', true]}, section : 'Configuration', bool_yn : true)
210 summary({'archive' : ['libarchive ' + req_version + ' not found - archive files e.g. .zip supported::', false]}, section : 'Configuration', bool_yn : true)
213 summary({'archive' : ['disabled - archive files e.g. .zip supported:', false]}, section : 'Configuration', bool_yn : true)
217 req_version = '>=2.0'
218 option = get_option('cms')
219 if not option.disabled()
220 xxd = find_program('xxd', 'xxdi.pl', required : false)
222 lcms_dep = dependency('lcms2', version : req_version, required : get_option('cms'))
224 conf_data.set('HAVE_LCMS', 1)
225 conf_data.set('HAVE_LCMS2', 1)
226 summary({'cms' : ['color management supported:', true]}, section : 'Configuration', bool_yn : true)
228 summary({'cms' : ['lcms2' + req_version + ' not found - color management supported:', false]}, section : 'Configuration', bool_yn : true)
231 summary({'cms' : ['xxd or xxdi.pl not found - color management supported:', false]}, section : 'Configuration', bool_yn : true)
234 summary({'cms' : ['disabled - color management supported:', false]}, section : 'Configuration', bool_yn : true)
238 req_version = '>=2.5.27'
239 option = get_option('djvu')
240 if not option.disabled()
241 ddjvuapi_dep = dependency('ddjvuapi', version : req_version, required : get_option('djvu'))
242 if ddjvuapi_dep.found()
243 conf_data.set('HAVE_DJVU', 1)
244 summary({'djvu' : ['djvu files supported:', true]}, section : 'Configuration', bool_yn : true)
246 summary({'djvu' : ['ddjvuapi ' + req_version + ' not found - djvu files supported:', false]}, section : 'Configuration', bool_yn : true)
249 summary({'djvu' : ['disabled - djvu files supported:', false]}, section : 'Configuration', bool_yn : true)
252 option = get_option('evince')
253 if not option.disabled()
254 evince = find_program('evince', required : false)
256 summary({'print preview' : ['print preview supported:', true]}, section : 'Configuration', bool_yn : true)
258 summary({'print preview' : ['evince not found - print preview supported:', false]}, section : 'Configuration', bool_yn : true)
261 summary({'print preview' : ['disabled - print preview supported:', false]}, section : 'Configuration', bool_yn : true)
264 # Required only for seg. fault stacktrace and backtrace debugging
265 option = get_option('execinfo')
266 if not option.disabled()
267 result = cc.check_header('execinfo.h')
269 conf_data.set('HAVE_EXECINFO_H', 1)
270 summary({'execinfo' : ['stacktrace supported:', true]}, section : 'Configuration', bool_yn : true)
272 summary({'execinfo' : ['stacktrace supported:', false]}, section : 'Configuration', bool_yn : true)
275 summary({'execinfo' : ['stacktrace supported:', false]}, section : 'Configuration', bool_yn : true)
279 req_version = '>=0.11'
280 option = get_option('exiv2')
281 if not option.disabled()
282 exiv2_dep = dependency('exiv2', version : req_version, required : get_option('exiv2'))
284 conf_data.set('HAVE_EXIV2', 1)
285 summary({'exiv2' : ['image metadata processed by exiv2:', true]}, section : 'Configuration', bool_yn : true)
287 summary({'exiv2' : ['exiv2 ' + req_version + ' not found - image data not processed by exiv2:', false]}, section : 'Configuration', bool_yn : true)
290 summary({'exiv2' : ['disabled - image data processed by exiv2:', false]}, section : 'Configuration', bool_yn : true)
294 champlain_gtk_dep = []
297 req_version_champlain = '>=0.12'
298 req_version_champlain_gtk = '>=0.12'
299 req_version_clutter = '>=1.0'
300 req_version_clutter_gtk = '>=1.0'
301 option = get_option('gps-map')
302 if not option.disabled()
303 champlain_dep = dependency('champlain-0.12', version : req_version_champlain, required : get_option('gps-map'))
304 champlain_gtk_dep = dependency('champlain-gtk-0.12', version : req_version_champlain_gtk, required : get_option('gps-map'))
305 if champlain_dep.found() and champlain_gtk_dep.found()
306 clutter_dep = dependency('clutter-1.0', version : req_version_clutter, required : get_option('gps-map'))
307 clutter_gtk_dep = dependency('clutter-gtk-1.0', version : req_version_clutter_gtk, required : get_option('gps-map'))
308 if clutter_dep.found() and clutter_gtk_dep.found()
309 conf_data.set('HAVE_CLUTTER', 1)
310 conf_data.set('HAVE_LIBCHAMPLAIN', 1)
311 conf_data.set('HAVE_LIBCHAMPLAIN_GTK', 1)
312 summary({'gps-map' : ['GPS map displayed', true]}, section : 'Configuration', bool_yn : true)
314 if not clutter_dep.found()
315 summary({'gps-map-clutter' : ['clutter-1.0 ' + req_version_clutter + ' not found - GPS map displayed:', false]}, section : 'Configuration', bool_yn : true)
317 if not clutter_gtk_dep.found()
318 summary({'gps-map-clutter-gtk' : ['clutter-gtk-1.0 ' + req_version_clutter_gtk + ' not found - GPS map displayed:', false]}, section : 'Configuration', bool_yn : true)
322 if not champlain_dep.found()
323 summary({'gps-map-champlain' : ['champlain-0.12 ' + req_version_champlain + ' not found - GPS map displayed:', false]}, section : 'Configuration', bool_yn : true)
325 if not champlain_gtk_dep.found()
326 summary({'gps-map-champlain-gtk' : ['champlain-gtk-0.12 ' + req_version_champlain_gtk + ' not found - GPS map displayed:', false]}, section : 'Configuration', bool_yn : true)
330 summary({'gps-map' : ['disabled - GPS map displayed:', false]}, section : 'Configuration', bool_yn : true)
334 req_version = '>=1.3.2'
335 option = get_option('heif')
336 if not option.disabled()
337 libheif_dep = dependency('libheif', version : req_version, required : get_option('heif'))
338 if libheif_dep.found()
339 conf_data.set('HAVE_HEIF', 1)
340 summary({'heif' : ['heif files supported:', true]}, section : 'Configuration', bool_yn : true)
342 summary({'heif' : ['libheif ' + req_version + ' not found - heif files supported:', false]}, section : 'Configuration', bool_yn : true)
345 summary({'heif' : ['disabled - heif files supported:', false]}, section : 'Configuration', bool_yn : true)
349 req_version = '>=2.3.0'
350 option = get_option('j2k')
351 if not option.disabled()
352 libopenjp2_dep = dependency('libopenjp2', version : req_version, required : get_option('j2k'))
353 if libopenjp2_dep.found()
354 conf_data.set('HAVE_J2K', 1)
355 summary({'j2k' : ['j2k files supported:', true]}, section : 'Configuration', bool_yn : true)
357 summary({'j2k' : ['libopenjp2 ' + req_version + ' not found - j2k files supported:', false]}, section : 'Configuration', bool_yn : true)
360 summary({'j2k' : ['disabled - j2k files supported:', false]}, section : 'Configuration', bool_yn : true)
364 option = get_option('jpeg')
365 if not option.disabled()
366 libjpeg_dep = dependency('libjpeg', required : get_option('jpeg'))
367 if libjpeg_dep.found()
368 if cc.has_function('jpeg_destroy_decompress', dependencies : libjpeg_dep)
369 conf_data.set('HAVE_JPEG', 1)
370 summary({'jpeg' : ['jpeg files supported:', true]}, section : 'Configuration', bool_yn : true)
372 summary({'jpeg' : ['jpeg_destroy_decompress not found - jpeg files supported:', false]}, section : 'Configuration', bool_yn : true)
375 summary({'jpeg' : ['libjpeg: not found', false]}, section : 'Configuration', bool_yn : true)
378 summary({'jpeg' : ['disabled - jpeg files supported:', false]}, section : 'Configuration', bool_yn : true)
382 req_version = '>=0.3.7'
383 option = get_option('jpegxl')
384 if not option.disabled()
385 libjxl_dep = dependency('libjxl', version : req_version, required : get_option('jpegxl'))
386 if libjxl_dep.found()
387 conf_data.set('HAVE_JPEGXL', 1)
388 summary({'jpegxl' : ['jpegxl files supported:', true]}, section : 'Configuration', bool_yn : true)
390 summary({'jpegxl' : ['libjxl ' + req_version + ' not found - jpegxl files supported:', false]}, section : 'Configuration', bool_yn : true)
393 summary({'jpegxl' : ['disabled - jpegxl files supported:', false]}, section : 'Configuration', bool_yn : true)
397 req_version = '>=0.20'
398 option = get_option('libraw')
399 if not option.disabled()
400 libraw_dep = dependency('libraw', version : req_version, required : get_option('libraw'))
401 if libraw_dep.found()
402 conf_data.set('HAVE_RAW', 1)
403 summary({'libraw' : ['.cr3 files supported:', true]}, section : 'Configuration', bool_yn : true)
405 summary({'libraw' : ['libraw ' + req_version + ' not found - .cr3 files supported:', false]}, section : 'Configuration', bool_yn : true)
408 summary({'libraw' : ['disabled - .cr3 files supported:', false]}, section : 'Configuration', bool_yn : true)
412 req_version = '>=5.3'
413 option = get_option('lua')
414 if not option.disabled()
415 foreach name : ['lua', 'lua5.3', 'lua-5.3', 'lua53']
416 lua_dep = dependency(name, version: req_version, required: get_option('lua'))
422 conf_data.set('HAVE_LUA', 1)
423 summary({'lua' : ['lua supported:', true]}, section : 'Configuration', bool_yn : true)
425 summary({'lua' : ['lua ' + req_version + ' not found - lua supported:', false]}, section : 'Configuration', bool_yn : true)
428 summary({'lua' : ['disabled - lua supported:', false]}, section : 'Configuration', bool_yn : true)
431 option = get_option('pandoc')
432 if not option.disabled()
433 pandoc = find_program('pandoc', required : false)
435 readme_html = custom_target(
438 output: 'README.html',
439 command: [pandoc, '@INPUT@', '-o', '@OUTPUT@'],
441 install_dir: helpdir)
443 summary({'README' : ['README.html created:', true]}, section : 'Documentation', bool_yn : true)
445 summary({'README' : ['pandoc not found - README.html created:', false]}, section : 'Documentation', bool_yn : true)
447 install_data('README.md', 'COPYING', 'TODO', install_dir : helpdir)
449 summary({'pandoc' : ['disabled - README.html created:', false]}, section : 'Documentation', bool_yn : true)
452 poppler_glib_dep = []
453 req_version = '>=0.62'
454 option = get_option('pdf')
455 if not option.disabled()
456 poppler_glib_dep = dependency('poppler-glib', version : req_version, required : get_option('pdf'))
457 if poppler_glib_dep.found()
458 conf_data.set('HAVE_PDF', 1)
459 summary({'pdf' : ['pdf files supported:', true]}, section : 'Configuration', bool_yn : true)
461 summary({'pdf' : ['poppler-glib ' + req_version + ' not found - pdf files supported:', false]}, section : 'Configuration', bool_yn : true)
464 summary({'pdf' : ['disabled - pdf files supported:', false]}, section : 'Configuration', bool_yn : true)
468 req_version = '>=1.6'
469 option = get_option('spell')
470 if not option.disabled()
471 gspell_dep = dependency('gspell-1', version : req_version, required: get_option('spell'))
472 if gspell_dep.found()
473 conf_data.set('HAVE_SPELL', 1)
474 summary({'spell' : ['spelling checks enabled', true]}, section : 'Configuration', bool_yn : true)
476 summary({'spell' : ['gspell-1 ' + req_version + ' not found - spelling checks enabled', false]}, section : 'Configuration', bool_yn : true)
479 summary({'spell' : ['disabled - spelling checks enabled', false]}, section : 'Configuration', bool_yn : true)
483 option = get_option('tiff')
484 if not option.disabled()
485 tiff_dep = dependency('libtiff-4', required: get_option('tiff'))
487 if cc.has_function('TIFFClientOpen', dependencies : tiff_dep)
488 conf_data.set('HAVE_TIFF', 1)
489 summary({'tiff' : ['tiff files supported:', true]}, section : 'Configuration', bool_yn : true)
491 summary({'tiff' : ['TIFFClientOpen not found - tiff files supported:', false]}, section : 'Configuration', bool_yn : true)
494 summary({'tiff' : ['libtiff not found - tiff files supported:', false]}, section : 'Configuration', bool_yn : true)
497 summary({'tiff' : ['disabled - tiff files supported:', false]}, section : 'Configuration', bool_yn : true)
500 libffmpegthumbnailer_dep = []
501 req_version = '>=2.1.0'
502 option = get_option('videothumbnailer')
503 if not option.disabled()
504 libffmpegthumbnailer_dep = dependency('libffmpegthumbnailer',
505 version : req_version,
506 required : get_option('videothumbnailer'))
508 if libffmpegthumbnailer_dep.found()
509 conf_data.set('HAVE_FFMPEGTHUMBNAILER', 1)
510 summary({'videothumbnailer' : ['thumbnails of video files supported:', true]}, section : 'Configuration', bool_yn : true)
512 result = cc.has_member('struct video_thumbnailer_struct', 'prefer_embedded_metadata', prefix : '#include <libffmpegthumbnailer/videothumbnailerc.h>')
514 conf_data.set('HAVE_FFMPEGTHUMBNAILER_METADATA', 1)
516 summary({'fmpegthumbnailer_metadata' : ['fmpegthumbnailer_metadata found:', result]}, section : 'Thumbnailer', bool_yn : true)
518 result = cc.has_member('struct image_data_struct', 'image_data_width', prefix : '#include <libffmpegthumbnailer/videothumbnailerc.h>' )
520 conf_data.set('HAVE_FFMPEGTHUMBNAILER_RGB', 1)
522 summary({'fmpegthumbnailer_rgb' : ['fmpegthumbnailer_rgb found:', result]}, section : 'Thumbnailer', bool_yn : true)
524 result = cc.has_function('video_thumbnailer_set_size', dependencies : libffmpegthumbnailer_dep)
526 conf_data.set('HAVE_FFMPEGTHUMBNAILER_WH', 1)
528 summary({'fmpegthumbnailer_set_size' : ['fmpegthumbnailer_set_size found:', result]}, section : 'Thumbnailer', bool_yn : true)
530 summary({'videothumbnailer' : ['libvideothumbnailer ' + req_version + ' not found - thumbnails of video files supported', false]}, section : 'Configuration', bool_yn : true)
533 summary({'videothumbnailer' : ['disabled -thumbnails of video files supported', false]}, section : 'Configuration', bool_yn : true)
536 # libpixbufloader-webp is not loaded as part of libgdk-pixbuf. Just issue
537 # a warning if not installed
538 libwebp_dir = dependency('gdk-pixbuf-2.0', method: 'pkg-config').get_variable('gdk_pixbuf_moduledir')
539 libwebp_dep = cc.find_library('libpixbufloader-webp', dirs : libwebp_dir, required : false)
541 if libwebp_dep.found()
542 summary({'webp' : ['webp files supported:', true]}, section : 'Configuration', bool_yn : true)
544 summary({'webp' : ['webp-pixbuf-loader not installed - webp files supported:', false]}, section : 'Configuration', bool_yn : true)
547 # Check for nl_langinfo and _NL_TIME_FIRST_WEEKDAY
548 code = '''#include <langinfo.h>
550 int main (int argc, char ** argv) {
552 c = nl_langinfo(_NL_TIME_FIRST_WEEKDAY);
555 if cc.links(code, name : 'nl_langinfo and _NL_TIME_FIRST_WEEKDAY')
556 conf_data.set('HAVE__NL_TIME_FIRST_WEEKDAY', 1)
557 summary({'nl_langinfo' : ['first weekday depends on locale:', true]}, section : 'Documentation', bool_yn : true)
559 summary({'nl_langinfo' : ['nl_langinfo not found - first weekday depends on locale:', false, 'first weekday defaults to Monday']}, section : 'Documentation', bool_yn : true)
562 conf_data.set_quoted('GETTEXT_PACKAGE', meson.project_name())
563 conf_data.set_quoted('GQ_APPDIR', gq_appdir)
564 conf_data.set_quoted('GQ_BINDIR', gq_bindir)
565 conf_data.set_quoted('GQ_HELPDIR', gq_helpdir)
566 conf_data.set_quoted('GQ_HTMLDIR', gq_htmldir)
567 conf_data.set_quoted('GQ_LOCALEDIR', gq_localedir)
569 conf_data.set_quoted('PACKAGE', meson.project_name())
570 conf_data.set_quoted('PACKAGE_NAME', meson.project_name())
571 conf_data.set_quoted('PACKAGE_STRING', meson.project_version())
572 conf_data.set_quoted('PACKAGE_TARNAME', meson.project_name())
573 conf_data.set_quoted('PACKAGE_VERSION', meson.project_version())
574 conf_data.set_quoted('VERSION', meson.project_version())
576 configure_file(input : 'config.h.in',
579 configuration : conf_data)
581 # Process subdirs before the sources
585 # Generate the executable
588 # Generate the help files
591 # Install other project files
593 cmd = [find_program('gen_changelog.sh'), meson.current_source_dir(), meson.current_build_dir()]
596 input: 'ChangeLog.gqview',
597 output: ['ChangeLog', 'ChangeLog.html'],
600 install_dir: helpdir)
601 meson.add_dist_script(cmd)
602 summary({'ChangeLog' : ['ChangeLog, ChangeLog.html created:', true]}, section : 'Documentation', bool_yn : true)
603 elif fs.exists('ChangeLog.html')
604 install_data('ChangeLog', 'ChangeLog.html', install_dir: helpdir)
605 summary({'ChangeLog' : ['ChangeLog, ChangeLog.html installed from dist:', true]}, section : 'Documentation', bool_yn : true)
608 install_data('geeqie.png', install_dir : icondir)
609 install_data('geeqie.1', install_dir : mandir1)
612 input : 'geeqie.desktop.in',
613 output : 'geeqie.desktop',
617 install_dir : join_paths(datadir, 'applications'))
620 input : 'org.geeqie.Geeqie.appdata.xml.in',
621 output : 'org.geeqie.Geeqie.appdata.xml',
625 install_dir : appdatadir)
627 configure_file(input: 'geeqie.spec.in', output: 'geeqie.spec', configuration: conf_data)