Skip to contentSkip to conversation

p11-kit: backport fix for handle USE_NLS from master

PATCH In review AshishKumar Mishra 1 participant 4 messages Sep 19, 2025 – Oct 13, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 p11-kit: backport fix for handle USE_NLS from master

From: AshishKumar Mishra <[email protected]>

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 & scarthgap applied the patch manually

---
 meta/recipes-support/p11-kit/p11-kit_0.25.3.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-support/p11-kit/p11-kit_0.25.3.bb +1 -0
index 2ede38deba..5921a46c88 100644
@@ -20,6 +20,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} += " \
Signature · 1 line
2.43.0
#1 lore raw

Hi Team ,
Any feedback on this or if any suggestion

Thanks ,
Ashish

#2 lore raw

Hi Anuj,

Good morning.
These are backported patches from master.
Would request to please consider this patch for merge. If you have any feedback / suggestion, please feel free to share. I will work accordingly.

Thanks,
Ashish

#3 lore raw

Hi Anuj ,

Good Morning.
Would request to please consider this patch for merge. If any feedback / suggestion , i can rework accordingly.

Thanks ,
Ashish