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

Meson: p11_system_config_modules instead of p11_package_config_modules #377

Merged
merged 1 commit into from
Jun 17, 2021

Conversation

concatime
Copy link
Contributor

A trivial typo.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.004%) to 71.868% when pulling e4adf90 on concatime:meson-typo into a36228a on p11-glue:master.

Copy link
Member

@ueno ueno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you.

@ueno ueno merged commit 576bba3 into p11-glue:master Jun 17, 2021
@ueno ueno added this to the 0.24.1 milestone Jan 17, 2022
@@ -307,7 +307,7 @@ p11_kit_pc_variables = [
'p11_module_configs=@0@'.format(prefix / p11_package_config_modules),
'p11_module_path=@0@'.format(prefix / p11_module_path),
'proxy_module=@0@/p11-kit-proxy.so'.format(prefix / libdir),
'p11_system_config_modules=@0@'.format(prefix / p11_package_config_modules)
'p11_system_config_modules=@0@'.format(prefix / p11_system_config_modules)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this really intended? It changes the value of p11_system_config_modules from what it is in the Autotools build Specifically:

-p11_system_config_modules=/usr/share/p11-kit/modules
+p11_system_config_modules=/etc/pkcs11/modules

I noticed this because of a breakage in Fedora's gnome-keyring build. We were using the previous value with the Autotools build and then with Meson.

Feel free to ignore me if this was really intended, and please accept my apologies in that case.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or is it possible that gnome-keyring is using the wrong path? I am asking because /etc seems like something for system administrators, while /usr/share is better suited for files fully controlled by the operating system.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@debarshiray thanks for looking into it! Yeah indeed this is a backward incompatible change, though I would suggest that applications switch to using p11_module_configs instead of p11_system_config_modules. I'll revert this change for now with a similar comment we have in Autotools .pc template.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, ok. :)

ueno added a commit to ueno/p11-kit that referenced this pull request Feb 4, 2022
For compatibility reasons, we keep p11_system_config_modules pointing
to p11_package_config_modules in the pkg-config file.

Spotted by Debarshi Ray in:
p11-glue#377 (review)

Signed-off-by: Daiki Ueno <ueno@gnu.org>
ueno added a commit that referenced this pull request Feb 4, 2022
For compatibility reasons, we keep p11_system_config_modules pointing
to p11_package_config_modules in the pkg-config file.

Spotted by Debarshi Ray in:
#377 (review)

Signed-off-by: Daiki Ueno <ueno@gnu.org>
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

Successfully merging this pull request may close these issues.

4 participants