4 Commits

Author SHA1 Message Date
Yoann Congal e079466992 qhull: add native variant
Since commit 4042e529b9 ("python3-matplotlib: Upgrade to 3.10.1"),
python3-matplotlib depends on qhull and has native variant, so qhull
does need the native variant as well.

Fixes this warning from AB[0]:
WARNING: Nothing PROVIDES 'qhull-native' (but virtual:native:/srv/pokybuild/yocto-worker/meta-oe-mirror/build/meta-openembedded/meta-python/recipes-devtools/python/python3-matplotlib_3.10.3.bb DEPENDS on or otherwise requires it). Close matches:
[0]: https://autobuilder.yoctoproject.org/valkyrie/#/builders/82/builds/377/steps/12/logs/warnings

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-25 17:12:12 -07:00
Alper Ak a33826618e qhull: Add patch for CMake 4+ compatibility
Fix:

| CMake Error at CMakeLists.txt:71 (cmake_minimum_required):
|   Compatibility with CMake < 3.5 has been removed from CMake.
|
|   Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
|   to tell CMake that the project requires at least <min> but has been updated
|   to work with policies introduced by <max> or earlier.
|
|   Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
|
|
| -- Configuring incomplete, errors occurred!

Signed-off-by: Alper Ak <alperyasinak1@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-07-09 09:16:06 -07:00
Martin Jansa 883d5636f4 qhull: pass LIB_INSTALL_DIR to fix builds with multilib
* fixes:
ERROR: QA Issue: lib32-qhull: Files/directories were installed but not shipped in any package:
  /usr/lib/libqhull_r.so.8.0.2
  /usr/lib/libqhullcpp.a
  /usr/lib/libqhull_r.so.8.0
  /usr/lib/libqhullstatic_r.a
  /usr/lib/libqhullstatic.a
  /usr/lib/libqhull_r.so
  /usr/lib/cmake
  /usr/lib/pkgconfig
  /usr/lib/cmake/Qhull
  /usr/lib/cmake/Qhull/QhullTargets.cmake
  /usr/lib/cmake/Qhull/QhullTargets-noconfig.cmake
  /usr/lib/cmake/Qhull/QhullConfig.cmake
  /usr/lib/cmake/Qhull/QhullConfigVersion.cmake
  /usr/lib/pkgconfig/qhullcpp.pc
  /usr/lib/pkgconfig/qhullstatic_r.pc
  /usr/lib/pkgconfig/qhullstatic.pc
  /usr/lib/pkgconfig/qhull_r.pc
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
lib32-qhull: 17 installed and not shipped files. [installed-vs-shipped]

as well as lib32-python3-matplotlib failures which won't find qhull as /usr/lib
isn't staged by lib32-qhull.

Run-time dependency qhull_r found: NO (tried pkgconfig and cmake)
Check usable header "libqhull_r/qhull_ra.h" : YES

../matplotlib-3.10.1/extern/meson.build:28:19: ERROR: C shared or static library 'qhull_r' not found

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-04-15 12:52:19 -07:00
Khem Raj 92bb251b1e qhull: Add recipe
This recipe is needed to build latest version of matplotlib python module
when internal vendored modules are not used which is preferred here, avoids
complicating recipe to counter meson's wrap logic

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Rob Woolley <rob.woolley@windriver.com>
2025-04-10 18:39:31 -07:00