FS#47842 - [lua52] pkg-config file naming inconsistent
Attached to Project:
Arch Linux
Opened by Silvan Jegen (Shugyousha) - Thursday, 21 January 2016, 08:47 GMT
Last edited by Anatol Pomozov (anatolik) - Tuesday, 07 June 2016, 04:00 GMT
Opened by Silvan Jegen (Shugyousha) - Thursday, 21 January 2016, 08:47 GMT
Last edited by Anatol Pomozov (anatolik) - Tuesday, 07 June 2016, 04:00 GMT
|
Details
Description:
The pkg-config file of the lua51 package is installed as '/usr/lib/pkgconfig/lua5.1.pc' while the .pc file of this package is installed as '/usr/lib/pkgconfig/lua52.pc' (note the missing dot). Because the include paths are '/usr/include/lua5.1' and '/usr/include/lua5.2' respectively, changing this package's .pc file name to '/usr/lib/pkgconfig/lua5.2.pc' makes the naming more consistent and avoids surprising users. |
This task depends upon
https://packages.debian.org/jessie/amd64/liblua5.1-0-dev/filelist
https://packages.debian.org/sid/amd64/liblua5.2-dev/filelist
https://packages.debian.org/sid/amd64/liblua5.3-dev/filelist
One weird thing I spotted that 5.2 for Jessie has only one *.pc file - lua5.2.pc https://packages.debian.org/jessie/amd64/liblua5.2-dev/filelist
lua-5.1.pc
lua-5.2.pc
so a different pattern again.
Adding all those .pc files seems like overkill but it would be the most convenient for the users. I definitely think we should have consistent naming between 5.1 and 5.2 in any case.
With recent lua updates it is what I have at my computer:
$ ls -l /usr/lib/pkgconfig/lua*
-rw-r--r-- 1 root root 669 Jun 6 15:09 /usr/lib/pkgconfig/lua51.pc
-rw-r--r-- 1 root root 442 May 4 2015 /usr/lib/pkgconfig/lua52.pc
-rw-r--r-- 1 root root 425 Jun 6 15:02 /usr/lib/pkgconfig/lua53.pc
lrwxrwxrwx 1 root root 27 Jun 6 15:02 /usr/lib/pkgconfig/lua.pc -> /usr/lib/pkgconfig/lua53.pc
The issue with the different naming patterns between the distros still stands however. If you don't want to make the decision of adding the different .pc-filename-patterns I can close this bug now?