FS#45589 - [iniparser] pkg-config support

Attached to Project: Arch Linux
Opened by Anonymous Submitter - Wednesday, 08 July 2015, 16:10 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:24 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The package doesn't ship a .pc file for pkg-config

Additional info:
* package version(s): 4.0-2

The Makefile shipped by upstream doesn't support installs at all, so the installation procedure has been added by Arch which is why I am reporting this here and not upstream.

I suggest to include a .pc file in order to make the library easy to include into autoconf/automake projects. For a project I have written one myself, and attached it here. A direct inclusion into the package should require no changes.
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:24 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/iniparser/issues/1
Comment by Jan de Groot (JGC) - Thursday, 09 July 2015, 13:14 GMT
I don't see any reason to include a .pc file if the file isn't integrated on every distro that packages iniparser. Adding the .pc file creates an arch-specific way of detecting iniparser on a system.
Comment by Dan Shick (dan.shick) - Wednesday, 05 May 2021, 08:46 GMT
  • Field changed: Percent Complete (100% → 0%)
A pkg-config file was added to the project in 2018 but this package does not install it. https://github.com/ndevilla/iniparser/blob/master/iniparser.pc
Comment by Andreas Radke (AndyRTR) - Wednesday, 05 May 2021, 08:47 GMT
Maybe we should also use the upstream Makefile that was introduced 2010...
Comment by Christian Hesse (eworm) - Wednesday, 05 May 2021, 08:55 GMT
We use the Makefile to build, but it does not provide an install target. Or did I miss anything?
Comment by Eli Schwartz (eschwartz) - Wednesday, 05 May 2021, 11:11 GMT
https://github.com/ndevilla/iniparser/pull/93

> it would be nice to have a basic iniparser.pc in the repository to be able to use iniparser in specific build systems (e.g. Buildroot). I know that this PR will not work for everyone, and that, according to FAQ, some proposals for more advanced integrations has already been rejected, so what is your opinion on the question (since this request would not change the main Makefile) ?

Apparently the pkg-config file got accepted specifically because it didn't modify the Makefile. Go figure.
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...