[MacPorts] #68212: gdal @3.7.2: not built with GIF support? (was: GDAL not built with GIF support?)

MacPorts noreply at macports.org
Thu Sep 21 11:48:41 UTC 2023


#68212: gdal @3.7.2: not built with GIF support?
-------------------------+----------------------
  Reporter:  PaulWessel  |      Owner:  Veence
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:
      Port:  gdal        |
-------------------------+----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * cc: nilason (added)
 * owner:  (none) => Veence
 * port:   => gdal


Old description:

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

New description:

 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)

--

Comment:

 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68212#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list