Opened 6 years ago

Closed 8 weeks ago

#57191 closed defect (fixed)

leptonica @1.76.0 requires giflib 5

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: leptonica

Description

leptonica has a dependency on giflib but as of version 1.76.0 it does not use it because it now requires giflib 5 while MacPorts still has giflib 4:

checking for DGifOpenFileHandle in -lgif... yes
checking gif_lib.h usability... yes
checking gif_lib.h presence... yes
checking for gif_lib.h... yes
checking giflib is at least version 5.1 (but not 5.1.2)... no

Our options are:

  1. Remove the giflib dependency from leptonica, add a configure arg to tell it not to try to use giflib, and increase leptonica's revision
  2. Upgrade giflib to version 5, and increase leptonica's revision to rebuild it

Change History (2)

comment:1 Changed 2 months ago by ryandesign (Ryan Carsten Schmidt)

A giflib5 port has been available for years now so leptonica could potentially use that.

comment:2 Changed 8 weeks ago by stromnov (Andrey Stromnov)

Resolution: fixed
Status: assignedclosed

In 85ab80d0f44060d74355395d2d6265ddd6e4930a/macports-ports (master):

leptonica: switch to giflib5

Closes: #57191

Note: See TracTickets for help on using tickets.