FS#52703 - [libpng12] libpng12.pc deleted along with libpng.pc
Attached to Project:
Community Packages
Opened by tdy (tdy) - Wednesday, 25 January 2017, 03:44 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 25 January 2017, 08:24 GMT
Opened by tdy (tdy) - Wednesday, 25 January 2017, 03:44 GMT
Last edited by Doug Newgard (Scimmia) - Wednesday, 25 January 2017, 08:24 GMT
|
Details
Description:
The whole /usr/lib/pkgconfig folder is deleted, which removes both libpng.pc and libpng12.pc. Without libpng12.pc, configure scripts can't check/use libpng12 with pkg-config (e.g. I have a package that tries `pkg-config --check libpng12`). If we delete libpng.pc and keep libpng12.pc, it should still be compatible with extra/libpng as far as I can tell. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Wednesday, 25 January 2017, 08:24 GMT
Reason for closing: Not a bug
Wednesday, 25 January 2017, 08:24 GMT
Reason for closing: Not a bug
I don't really know what goes on under the hood, so I'm not sure if there's any other use for the pc file. In my case I came across a configure script tries to check for libpng12 with $(pkg-config --exists libpng12) and then tries to add -lpng12 with $(pkg-config --libs libpng12). For now I just manually added `-lpng12` to the compile args and it works, but I just didn't get why libpng12.pc had been removed.