2.99.12: meson `jpeg-xl=disabled` does not work
First of all look like passing in meson options -D jpeg-xl=disabled
does not work and meson fails because it cannot find libjxl
+ /usr/bin/meson --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . x86_64-redhat-linux-gnu -D aa=disabled -D alsa=enabled -D appdata-test=disabled -D bug-report-url=https://gitlab.gnome.org/GNOME/gimp/-/issues/ -D cairo-pdf=enabled -D check-update=no -D enable-console-bin=true -D enable-default-bin=true -D enable-multiproc=true -D ghostscript=enabled -D gi-docgen=enabled -D g-ir-doc=true -D gudev=enabled -D jpeg-xl=discbled -D headless-tests=enabled -D heif=enabled -D javascript=true -D jpeg2000=enabled -D jpeg-xl=enabled -D libbacktrace=false -D libunwind=false -D linux-input=enabled -D lua=true -D mng=enabled -D openexr=enabled -D print=true -D profiling=false -D python=true -D vala-plugins=enabled -D vector-icons=true -D webkit-unmaintained=true -D webp=enabled -D wmf=disabled -D xcursor=enabled -D xpm=enabled
The Meson build system
Version: 0.63.2
Source dir: /home/tkloczko/rpmbuild/BUILD/gimp-2.99.12
Build dir: /home/tkloczko/rpmbuild/BUILD/gimp-2.99.12/x86_64-redhat-linux-gnu
Build type: native build
Project name: gimp
Project version: 2.99.12
C compiler for the host machine: /usr/bin/gcc (gcc 12.2.1 "gcc (GCC) 12.2.1 20220819 (Red Hat 12.2.1-2)")
C linker for the host machine: /usr/bin/gcc ld.bfd 2.39-3
C++ compiler for the host machine: /usr/bin/g++ (gcc 12.2.1 "g++ (GCC) 12.2.1 20220819 (Red Hat 12.2.1-2)")
C++ linker for the host machine: /usr/bin/g++ ld.bfd 2.39-3
Host machine cpu family: x86_64
Host machine cpu: x86_64
meson.build:89: WARNING: Module unstable-simd has no backwards or forwards compatibility and might not exist in future releases.
Message: Host machine cpu family: x86_64
Message: Host os: linux
Compiler for C supports arguments -mmx: NO
Compiler for C supports arguments -sse: NO
Compiler for C supports arguments -msse2: YES
Compiler for C supports arguments -msse4.1: YES
Compiler for C supports arguments -fdiagnostics-show-option: YES
Compiler for C supports arguments -fno-common: YES
Compiler for C supports arguments -Wformat: YES
Compiler for C supports arguments -Wformat-security: YES
Compiler for C supports arguments -Winit-self: YES
Compiler for C supports arguments -Wlogical-op: YES
Compiler for C supports arguments -Wmissing-declarations: YES
Compiler for C supports arguments -Wmissing-format-attribute: YES
Compiler for C supports arguments -Wpointer-arith: YES
Compiler for C supports arguments -Wreturn-type: YES
Compiler for C supports arguments -Wtype-limits: YES
Compiler for C supports arguments -Wabsolute-value: YES
Compiler for C supports arguments -Wdeclaration-after-statement: YES
Compiler for C supports arguments -Wenum-conversion: YES
Compiler for C supports arguments -Wliteral-conversion: NO
Compiler for C supports arguments -Wno-strict-prototypes: YES
Compiler for C supports arguments -Wold-style-definition: YES
Compiler for C supports arguments -Wparentheses-equality: NO
Compiler for C supports arguments -W#pragma-messages: NO
Compiler for C supports arguments -Wsometimes-uninitialized: NO
Compiler for C supports arguments -Wtautological-unsigned-enum-zero-compare: NO
Compiler for C supports arguments -Wunneeded-internal-declaration: NO
Compiler for C supports arguments -Wunused-function: YES
Compiler for C supports arguments -Wunused-value: YES
Compiler for C supports arguments -Werror=implicit-function-declaration: YES
Library m found: YES
Library dl found: YES
Found pkg-config: /usr/bin/pkg-config (1.9.3)
Run-time dependency atk found: YES 2.38.0
Run-time dependency babl found: YES 0.1.96
Run-time dependency cairo found: YES 1.17.6
Run-time dependency fontconfig found: YES 2.14.0
Run-time dependency freetype2 found: YES 24.3.18
Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.9
Run-time dependency gegl-0.4 found: YES 0.4.38
Run-time dependency gexiv2 found: YES 0.14.0
Run-time dependency gio-2.0 found: YES 2.74.0
Run-time dependency gio-unix-2.0 found: YES 2.74.0
Run-time dependency glib-2.0 found: YES 2.74.0
Run-time dependency gobject-2.0 found: YES 2.74.0
Run-time dependency gmodule-no-export-2.0 found: YES 2.74.0
Run-time dependency gtk+-3.0 found: YES 3.24.34
Run-time dependency harfbuzz found: YES 5.2.0
Run-time dependency json-glib-1.0 found: YES 1.6.6
Run-time dependency lcms2 found: YES 2.13
Run-time dependency libmypaint found: YES 1.6.1
Run-time dependency mypaint-brushes-2.0 found: YES 2.0.2
Run-time dependency pangocairo found: YES 1.50.10
Run-time dependency pangoft2 found: YES 1.50.10
Run-time dependency librsvg-2.0 found: YES 2.55.1
Library socket found: NO
Run-time dependency appstream-glib found: YES 0.8.1
Run-time dependency libarchive found: YES 3.6.1
Run-time dependency x11 found: YES 1.8.1
Run-time dependency xmu found: YES 1.1.3
Run-time dependency xext found: YES 1.3.4
Run-time dependency xfixes found: YES 6.0.0
Has header "X11/Xmu/WinUtil.h" with dependencies xext, xmu: YES
Has header "X11/extensions/shape.h" with dependencies xext, xmu: YES
Checking for function "XmuClientWindow" with dependencies xext, xmu: YES
Checking for function "XShapeGetRectangles" with dependencies xext, xmu: YES
Has header "X11/extensions/shape.h" : YES (cached)
Has header "X11/Xmu/WinUtil.h" : YES (cached)
Run-time dependency libtiff-4 found: YES 4.4.0
Run-time dependency libjpeg found: YES 2.1.4
Run-time dependency zlib found: YES 1.2.11.zlib-ng
Library bz2 found: YES
Run-time dependency liblzma found: YES 5.2.6
Library gs found: YES
Run-time dependency libpng found: YES 1.6.37
Run-time dependency libmng found: YES 2.0.2
Library aa skipped: feature aa disabled
Run-time dependency xpm found: YES 3.5.13
Run-time dependency openexr found: YES 3.1.5
Run-time dependency libwebp found: YES 1.2.4
Run-time dependency libwebpmux found: YES 1.2.4
Run-time dependency libwebpdemux found: YES 1.2.4
Run-time dependency libheif found: YES 1.13.0
Vala compiler for the host machine: valac (valac 0.56.3)
Library babl-0.1 found: YES
Run-time dependency webkit2gtk-4.0 found: YES 2.38.0
Run-time dependency poppler-glib found: YES 22.08.0
Run-time dependency poppler-data found: YES 0.4.11
Run-time dependency cairo-pdf found: YES 1.17.6
Dependency libwmf skipped: feature wmf disabled
Run-time dependency libopenjp2 found: YES 2.5.0
Found CMake: /usr/bin/cmake (3.24.2)
WARNING: CMake Toolchain: Failed to determine CMake compilers state
Run-time dependency libjxl found: NO (tried pkgconfig and cmake)
meson.build:827:0: ERROR: Dependency "libjxl" not found, tried pkgconfig and cmake
Edited by Tomasz Kłoczko