Opened 2 years ago

#57191 assigned defect

leptonica @1.76.0 requires giflib 5

Reported by: ryandesign (Ryan Schmidt) Owned by: stromnov (Andrew 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 (0)

Note: See TracTickets for help on using tickets.