#68212 closed defect (fixed)

gdal @3.7.2: not built with GIF support?

Reported by: PaulWessel (Paul Wessel) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: nilason (Nicklas Larsson)
Port: gdal

Description (last modified by ryandesign (Ryan Carsten Schmidt))

On Windows, GDAL 3.7.2 gives this

gdalinfo --formats | grep GIF
  GIF -raster- (rwv): Graphics Interchange Format (.gif)
  BIGGIF -raster- (rov): Graphics Interchange Format (.gif)

but on macOS version 3.7.2 the gif format is not listed. I install gdal via

sudo port install gdal +hdf5 +netcdf +openjpeg

and this is the first time I notice lack of GIF support. Is this an omission, policy change, or a new variant I must add (e.g., +gif)?

I notice my gdalinfo says this

gdalinfo --version
GDAL 3.7.2, released 2023/09/05 (debug build)

MacOS Ventura (13.5.2)

Change History (3)

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

Cc: nilason added
Description: modified (diff)
Owner: set to Veence
Port: gdal added
Status: newassigned
Summary: GDAL not built with GIF support?gdal @3.7.2: not built with GIF support?

The gdal port declares a dependency on the giflib port and it uses the configure argument -DGDAL_USE_GIF=ON so I think the intention was that gdal should have gif support. But at configure time it has this somewhat conflicting output:

-- Found GIF: /opt/local/lib/libgif.dylib (found version "4.2.3") 
-- The following OPTIONAL packages have been found:
 * GIF
   GIF compression library (external)
-- The following features have been disabled:
 * gdal_GIF, Graphics Interchange Format

comment:2 Changed 14 months ago by nilason (Nicklas Larsson)

comment:3 Changed 14 months ago by nilason (Nicklas Larsson)

Resolution: fixed
Status: assignedclosed

In e022e6b89e72ce7b1df7e31268a99405d7a35cad/macports-ports (master):

gdal: enable GIF driver

Closes: #68212

Note: See TracTickets for help on using tickets.