Opened 2 years ago

Closed 2 years ago

#65677 closed request (fixed)

libjxl: port request

Reported by: mascguy (Christopher Nielsen) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: libjxl

Description

Add new port libjxl, to provide support for emerging standard JPEG XL.

Upstream repo:

https://github.com/libjxl/libjxl

Sample rpm:

https://src.fedoraproject.org/rpms/jpegxl/raw/rawhide/f/jpegxl.spec

Attachments (1)

Portfile.libjxl-devel.txt (4.5 KB) - added by mascguy (Christopher Nielsen) 2 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 2 years ago by mascguy (Christopher Nielsen)

Port: libjxl added; jxl removed

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 1976ac72981beeb2fb5cceeb7fa67047e86cce95/macports-ports (master):

New port: libjxl

Closes: #65677

comment:3 Changed 2 years ago by mascguy (Christopher Nielsen)

Awesome, thanks Josh!

comment:4 Changed 2 years ago by mascguy (Christopher Nielsen)

While I know it's early - with items like giflib5 still outstanding - I took a quick stab at fixing the build issues for older macOS releases.

My approach was to simply utilize macports-libcxx, via pg legacysupport 1.1, to handle the issues. That seems to do the trick, except for one last item: The final link fails, due to use of --exclude-libs=ALL. (It wasn't clear to me whether further changes are needed for the cmake patch related to that, or if I'm missing something else.)

Attached is my local portfile for libjxl-devel, which I've been testing with. I don't plan on committing this though - unless you want me to? - as it'll arguably be superfluous once the current port is finalized.

Anyhow, if you're interested, see attached. Not sure whether you'll find it helpful, but it also includes a few minor fixes for outstanding lint issues.

Last edited 2 years ago by mascguy (Christopher Nielsen) (previous) (diff)

Changed 2 years ago by mascguy (Christopher Nielsen)

Attachment: Portfile.libjxl-devel.txt added

comment:5 Changed 2 years ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: closedreopened

Reopening, since this isn't working across-the-board yet.

comment:6 Changed 2 years ago by mascguy (Christopher Nielsen)

Owner: changed from mascguy to jmroot
Status: reopenedassigned

comment:7 Changed 2 years ago by mascguy (Christopher Nielsen)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.