FS#76910 - [giflib] Add pkg-config file

Attached to Project: Arch Linux
Opened by Mike Sharov (msharov) - Thursday, 22 December 2022, 17:01 GMT
Last edited by Toolybird (Toolybird) - Friday, 15 September 2023, 23:07 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

giflib does not install a pkg-config file, needed for discovering how to link to it.
The file should go into /usr/lib/pkgconfig/giflib.pc
And should contain:

prefix=/usr
exec_prefix=/usr
libdir=/usr/lib
includedir=/usr/include

Name: giflib
Description: Reads GIFs
Version: 5.2.1
Libs: -L${libdir} -lgif
Cflags: -I${includedir}

I also opened an upstream bug for this:
https://sourceforge.net/p/giflib/feature-requests/9/
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 15 September 2023, 23:07 GMT
Reason for closing:  Upstream
Additional comments about closing:  As per JGC comment, definitely an upstream issue.
Comment by Jan de Groot (JGC) - Friday, 23 December 2022, 14:41 GMT
I don't see any need to implement this downstream.

Current detection uses a simple check that includes gif_lib.h and links to -lgif. No special CFLAGS or LDFLAGS required, as both are in /usr/include and /usr/lib.

Adding this downstream means you can use pkg-config only on Archlinux.

Loading...