Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg-config files have version undefined #123

Closed
maxice8 opened this issue Dec 12, 2020 · 3 comments
Closed

pkg-config files have version undefined #123

maxice8 opened this issue Dec 12, 2020 · 3 comments

Comments

@maxice8
Copy link

maxice8 commented Dec 12, 2020

This breaks Alpine Linux which rely on Version: to be something usable to automatically generate dependencies for -dev packages.

prefix=/usr
libdir=${prefix}/lib
includedir=${prefix}/include

Name: inih
Description: simple .INI file parser
Version: undefined
Libs: -L${libdir} -linih
Cflags: -I${includedir}
@benhoyt
Copy link
Owner

benhoyt commented Dec 13, 2020

Unfortunately I'm not familiar with pkg-config (or the meson.build files that I guess generates this). @stephanlachnit, any idea of the best approach here?

@stephanlachnit
Copy link
Contributor

This is indeed correct, it used to have a version but this requires an update of meson.build on every update, which didn't always happen resulting in wrong versions.

I would just add it downstream (by patching Meson with three lines) if it's important.

@maxice8
Copy link
Author

maxice8 commented Dec 13, 2020

Understood, added downstream.

@maxice8 maxice8 closed this as completed Dec 13, 2020
algitbot pushed a commit to alpinelinux/aports that referenced this issue Dec 13, 2020
stephanlachnit added a commit to stephanlachnit/inih that referenced this issue Feb 5, 2021
stephanlachnit added a commit to stephanlachnit/inih that referenced this issue Feb 5, 2021
stephanlachnit added a commit to stephanlachnit/inih that referenced this issue Feb 6, 2021
benhoyt pushed a commit that referenced this issue Feb 7, 2021
* meson: enable distro settings by default

Signed-off-by: Stephan Lachnit <[email protected]>

* meson: add note about version in pkg-config file

See also #123.

Signed-off-by: Stephan Lachnit <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants