[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261043

            Bug ID: 261043
           Summary: graphics/kf5-kimageformats: enable JPEG XL by default
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: kde at FreeBSD.org
          Reporter: jbeich at FreeBSD.org
        Depends on: 261003
             Flags: maintainer-feedback?(kde at FreeBSD.org)
          Assignee: kde at FreeBSD.org

Created attachment 230828
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=230828&action=edit
v1 (apply via "git am")

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")


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261003
[Bug 261003] graphics/libjxl: pkg-config deps list nonexistent libhwy package
-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list