diff mbox series

[kirkstone] 2/2] p11-kit: backport fix for handle USE_NLS from master

Message ID 20250926164850.40701-2-emailaddress.ashish@gmail.com
State New
Headers show
Series [kirkstone] 2/2] p11-kit: backport fix for handle USE_NLS from master | expand

Commit Message

Ashish Mishra Sept. 26, 2025, 4:48 p.m. UTC
From: AshishKumar Mishra <emailaddress.ashish@gmail.com>

Disable NLS in the build when USE_NLS is off.

(From OE-Core rev: b94798ecd535956ef4565663710ea9a701ff21ed)

This change corresponds to upstream eeb3974472429a99a724f324dc8a63e435741f68
from master .
Since the p11-kit version are different between master & kirkstone
applied the patch manually

Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: AshishKumar Mishra <emailaddress.ashish@gmail.com>
---
 meta/recipes-support/p11-kit/p11-kit_0.24.1.bb | 1 +
 1 file changed, 1 insertion(+)

Comments

Ashish Mishra Sept. 29, 2025, 4:50 a.m. UTC | #1
@ Gyorgy Sarvari  :

Good Morning .
Please do consider this patch for merge in Kirkstone
If any suggestion / feedback on this , feel free to share .
Will work on it accordingly
Have shared the 2 patch changes for same

Thanks ,
Ashish
Gyorgy Sarvari Oct. 1, 2025, 1:26 p.m. UTC | #2
Same as for systemd - this should go to the other ML.

On 9/26/25 18:48, AshishKumar Mishra wrote:
> From: AshishKumar Mishra <emailaddress.ashish@gmail.com>
>
> Disable NLS in the build when USE_NLS is off.
>
> (From OE-Core rev: b94798ecd535956ef4565663710ea9a701ff21ed)
>
> This change corresponds to upstream eeb3974472429a99a724f324dc8a63e435741f68
> from master .
> Since the p11-kit version are different between master & kirkstone
> applied the patch manually
>
> Signed-off-by: Philip Lorenz <philip.lorenz@bmw.de>
> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> Signed-off-by: AshishKumar Mishra <emailaddress.ashish@gmail.com>
> ---
>  meta/recipes-support/p11-kit/p11-kit_0.24.1.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-support/p11-kit/p11-kit_0.24.1.bb b/meta/recipes-support/p11-kit/p11-kit_0.24.1.bb
> index 72b446204a..62aca0cfee 100644
> --- a/meta/recipes-support/p11-kit/p11-kit_0.24.1.bb
> +++ b/meta/recipes-support/p11-kit/p11-kit_0.24.1.bb
> @@ -18,6 +18,7 @@ PACKAGECONFIG ??= ""
>  PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native"
>  PACKAGECONFIG[trust-paths] = "-Dtrust_paths=/etc/ssl/certs/ca-certificates.crt,,,ca-certificates"
>  
> +EXTRA_OEMESON:append = " -Dnls=${@'false' if d.getVar('USE_NLS') == 'no' else 'true'}"
>  GTKDOC_MESON_OPTION = 'gtk_doc'
>  
>  FILES:${PN} += " \
diff mbox series

Patch

diff --git a/meta/recipes-support/p11-kit/p11-kit_0.24.1.bb b/meta/recipes-support/p11-kit/p11-kit_0.24.1.bb
index 72b446204a..62aca0cfee 100644
--- a/meta/recipes-support/p11-kit/p11-kit_0.24.1.bb
+++ b/meta/recipes-support/p11-kit/p11-kit_0.24.1.bb
@@ -18,6 +18,7 @@  PACKAGECONFIG ??= ""
 PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native"
 PACKAGECONFIG[trust-paths] = "-Dtrust_paths=/etc/ssl/certs/ca-certificates.crt,,,ca-certificates"
 
+EXTRA_OEMESON:append = " -Dnls=${@'false' if d.getVar('USE_NLS') == 'no' else 'true'}"
 GTKDOC_MESON_OPTION = 'gtk_doc'
 
 FILES:${PN} += " \