Building OpenCV with GTK3 using Poudriere

I am trying to build graphics/opencv with GTK3 support x11-toolkits/gtk30 using Poudriere.

While I can set the config options correctly for the build process:

Code:
   ---Begin OPTIONS List---
===> The following configuration options are available for opencv-4.11.0_4:
     EIGEN=off: Add Eigen v3 Support, builds sfm modules
     GDAL=off: Add Geospatial Data Abstraction Library Support
     GDCM=off: Add Open source DICOM library Support
     HARDENING=off: Enables Build Hardening
     JAVA=off: Enable Java Support
     LTO=off: Enables Link Time Optimizations
     OPENCL=off: Add OpenCL Support
     PATENTED=off: Enable patented 2d feature detection USE AT OWN RISK
     PROTOBUF=on: Enable protobuf support, builds dnn modules
     PYTHON=on: Enable Python Support 3.6 or greater
     TBB=off: Add Intel Threading Building Blocks Support
     TESSERACT=off: Add Tesseract-based OCR
====> GUI (Graphical User Interface) support
  GTK3=on: GTK 3 GUI toolkit support
     VTK=off: Include VTK library support (build opencv_viz module)
====> Options available for the group IMAGE
     AVIF=off: AV1 Image File Format via libavif
     GPHOTO2=off: Add Gphoto2 Support
     JPEG=on: Add LibJpeg Support
     OGRE3D=off: Add OGRE support
     OPENEXR=on: Add OpenEXR Support
     PNG=on: Add LibPNG Support
     TIFF=on: Add LibTIFF Support
====> Video support
     DC1394=off: IEEE 1394 camera support
     FFMPEG=off: Link with ffmpeg
     GSTREAMER=off: Add GSTREAMER Support
     OBSENSOR=off: Orbbec 3D camera support
     V4L=on: Enable support for Video for Linux
     VULKAN=on: Add Vulkan Support
     WEBP=on: Add Webp Support
     XINE=off: Add Xine Support
====> Options available for the single BLAS: you have to select exactly one of them
     ATLAS=off: ATLAS blas implementation with lapacke
     NOBLAS=off: Disable support for lapack/blas
     OPENBLAS=on: OpenBLAS blas implementation with lapacke
====> Options available for the radio JPEG2K: you can only select none or one of them
     JASPER=off: Add Jasper Support for JPEG2000
     OPENJPEG=on: Add OpenJPEG Support for JPEG2000, OpenCV preferred
===> Use 'make config' to modify these settings
---End OPTIONS List---

My problem is GTK3 support is not enabled in the built library (as my application complains about missing support) and it seems, from the build logs, x11-toolkits/gtk30
is not included in the Poudriere jail.

Code:
-- Checking for module 'gtk+-3.0'
--   Package 'gtk+-3.0' not found
-- Checking for module 'gtk+-2.0'
--   Package 'gtk+-2.0' not found

What am I missing?
 
This commit should fix it i guess.

https://cgit.freebsd.org/ports/commit/?id=4bd9d66994d8b8d9a479534d9897b2092f180ca8
 
Back
Top