"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "meson.build" between
gegl-0.4.18.tar.xz and gegl-0.4.20.tar.xz

About: GEGL (Generic Graphics Library) is a graph based image processing framework (mainly developed for GIMP).

meson.build  (gegl-0.4.18.tar.xz):meson.build  (gegl-0.4.20.tar.xz)
project('gegl', project('gegl',
'c', 'cpp', 'c', 'cpp',
license: 'GPL3+', license: 'GPL3+',
version: '0.4.18', version: '0.4.20',
meson_version: '>=0.50.0', meson_version: '>=0.50.0',
default_options: [ default_options: [
'c_std=gnu11', 'c_std=gnu11',
'cpp_std=gnu++14', 'cpp_std=gnu++14',
'buildtype=debugoptimized', 'buildtype=debugoptimized',
], ],
) )
# Making releases on the stable branch: # Making releases on the stable branch:
# micro_version += 1; # micro_version += 1;
skipping to change at line 75 skipping to change at line 75
host_os = host_machine.system() host_os = host_machine.system()
os_win32 = host_os.contains('mingw') or host_os.contains('windows') os_win32 = host_os.contains('mingw') or host_os.contains('windows')
os_android= host_os.contains('android') os_android= host_os.contains('android')
os_osx = host_os.contains('darwin') os_osx = host_os.contains('darwin')
if os_osx and cc.get_id() != 'clang' if os_osx and cc.get_id() != 'clang'
error('You should use Clang on OSx.') error('You should use Clang on OSx.')
endif endif
host_cpu = host_machine.cpu() host_cpu_family = host_machine.cpu_family()
if host_cpu.startswith('i') and host_cpu.endswith('86') message('Host machine cpu family: ' + host_cpu_family)
if host_cpu_family == 'x86'
have_x86 = true have_x86 = true
config.set10('ARCH_X86', true) config.set10('ARCH_X86', true)
elif host_cpu == 'x86_64' elif host_cpu_family == 'x86_64'
have_x86 = true have_x86 = true
config.set10('ARCH_X86', true) config.set10('ARCH_X86', true)
config.set10('ARCH_X86_64', true) config.set10('ARCH_X86_64', true)
elif host_cpu == 'ppc' or host_cpu == 'powerpc' elif host_cpu_family == 'ppc'
have_ppc = true have_ppc = true
config.set10('ARCH_PPC', true) config.set10('ARCH_PPC', true)
elif host_cpu == 'ppc64' or host_cpu == 'powerpc64' elif host_cpu_family == 'ppc64'
have_ppc = true have_ppc = true
config.set10('ARCH_PPC', true) config.set10('ARCH_PPC', true)
config.set10('ARCH_PPC64', true) config.set10('ARCH_PPC64', true)
else
error('Unknown host architecture')
endif endif
################################################################################ ################################################################################
# Compiler arguments # Compiler arguments
cflags_common = [] cflags_common = []
cflags_c = [] cflags_c = []
cflags_cpp = [] cflags_cpp = []
cflags_common += [ cflags_common += [
skipping to change at line 149 skipping to change at line 149
config.set('HAVE_UNISTD_H', cc.has_header('unistd.h')) config.set('HAVE_UNISTD_H', cc.has_header('unistd.h'))
config.set('HAVE_EXECINFO_H', cc.has_header('execinfo.h')) config.set('HAVE_EXECINFO_H', cc.has_header('execinfo.h'))
config.set('HAVE_FSYNC', cc.has_function('fsync')) config.set('HAVE_FSYNC', cc.has_function('fsync'))
config.set('HAVE_MALLOC_TRIM', cc.has_function('malloc_trim')) config.set('HAVE_MALLOC_TRIM', cc.has_function('malloc_trim'))
math = cc.find_library('m', required: false) math = cc.find_library('m', required: false)
libdl = cc.find_library('dl', required : false) libdl = cc.find_library('dl', required : false)
thread = dependency('threads') thread = dependency('threads')
babl = dependency('babl', version: '>=0.1.72') babl = dependency('babl', version: '>=0.1.74')
glib = dependency('glib-2.0', version: '>=2.44.0') glib = dependency('glib-2.0', version: '>=2.44.0')
gobject = dependency('gobject-2.0', version: '>=2.44.0') gobject = dependency('gobject-2.0', version: '>=2.44.0')
gmodule = dependency('gmodule-2.0', version: '>=2.44.0') gmodule = dependency('gmodule-2.0', version: '>=2.44.0')
gthread = dependency('gthread-2.0', version: '>=2.44.0') gthread = dependency('gthread-2.0', version: '>=2.44.0')
gio_os = os_win32 ? 'gio-windows-2.0' : 'gio-unix-2.0' gio_os = os_win32 ? 'gio-windows-2.0' : 'gio-unix-2.0'
gio = [ gio = [
dependency('gio-2.0', version: '>=2.44.0'), dependency('gio-2.0', version: '>=2.44.0'),
dependency(gio_os, version: '>=2.44.0'), dependency(gio_os, version: '>=2.44.0'),
] ]
json_glib = dependency('json-glib-1.0', version: '>=1.2.6') json_glib = dependency('json-glib-1.0', version: '>=1.2.6')
skipping to change at line 345 skipping to change at line 345
gobject, gobject,
gmodule, gmodule,
gio, gio,
json_glib, json_glib,
babl, babl,
], ],
libraries: [ libraries: [
gegl_lib, gegl_lib,
gegl_npd_lib, gegl_npd_lib,
math,
], ],
subdirs: api_name, subdirs: api_name,
) )
message('\n'.join(['', message('\n'.join(['',
'Building GEGL with prefix=@0@'.format(get_option('prefix')), 'Building GEGL with prefix=@0@'.format(get_option('prefix')),
'', '',
'Optional features:', 'Optional features:',
' GEGL docs: @0@'.format(get_option('docs')), ' GEGL docs: @0@'.format(get_option('docs')),
' Build workshop: @0@'.format(get_option('workshop')), ' Build workshop: @0@'.format(get_option('workshop')),
 End of changes. 8 change blocks. 
9 lines changed or deleted 10 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)