Opened 8 years ago

Last modified 6 weeks ago

#49876 new update

giflib: update to 5.1.4

Reported by: jakepetroules (Jake Petroules) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: Schamschula (Marius Schamschula)
Port: giflib

Description


Change History (6)

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Port: giflib added
Type: requestupdate

#35817 explains why I did not upgrade giflib to version 5.x, last time I looked into the situation. If the situation has changed, please let me know.

comment:2 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: giflib needs update to 5.1.1giflib: update to 5.1.4

Maybe it's time to revisit this.

The latest version of giflib is now 5.1.4.

Just checking a few of the dependents, leptonica, kdelibs4, libgdiplus, webp, and imlib2 have had giflib 5 support for years. leptonica is now considering dropping support for giflib < 5.1.

There are currently 68 ports that depend on giflib, including some rather old ones like qt4-x11 that probably don't support giflib 5. If we update giflib to version 5, we probably need to make a giflib4 port for compatibility with those old ports.

comment:3 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

A PR was submitted but it was incomplete and closed for lack of activity.

Last edited 5 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:4 Changed 4 years ago by Schamschula (Marius Schamschula)

Cc: Schamschula added

comment:5 Changed 4 years ago by Schamschula (Marius Schamschula)

I just ran into this issue while trying to create a Portfile for py-imagecodecs. giflib 4.x causes errors like

imagecodecs/_gif.c:3032:54: error: too many arguments to function call, expected 0, have 1
      __pyx_v_errormessage = ((char *)GifErrorString(__pyx_v_errorcode));
                                      ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/opt/local/include/gif_lib.h:203:1: note: 'GifErrorString' declared here
extern char *GifErrorString(void);     /* new in 2012 - ESR */
^

while giflib 5.2.1 builds the gif support cleanly.

comment:6 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

A giflib5 port has been available for years now.

Note: See TracTickets for help on using tickets.