maintainer-feedback requested: [Bug 261043] graphics/kf5-kimageformats: enable JPEG XL by default

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jan 8 20:45:28 GMT 2022


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-kde (Team)
<kde at FreeBSD.org> for maintainer-feedback:
Bug 261043: graphics/kf5-kimageformats: enable JPEG XL by default
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261043



--- Description ---
See https://en.wikipedia.org/wiki/JPEG_XL

Seems to be already by default if libjxl package is found/installed, so track
the dependency in the port. One downside is libjxl the binary package is a bit
heavy due to dependency on gimp-app. This is temporary until review D16457 but
disabling gimp by default would violate "batteries included" approach while
splitting the build increases maintenance.

CMakeLists.txt:
  option(KIMAGEFORMATS_JXL "Enable plugin for JPEG XL format" ON)
  if(KIMAGEFORMATS_JXL)
      pkg_check_modules(LibJXL IMPORTED_TARGET libjxl>=0.6.1)
      pkg_check_modules(LibJXLThreads IMPORTED_TARGET libjxl_threads>=0.6.1)
  endif()
  add_feature_info(LibJXL LibJXL_FOUND "required for the QImage plugin for JPEG
XL images")


More information about the kde-freebsd mailing list