Skip to contentSkip to conversation

1/2] systemd: backport fix for handle USE_NLS from master

PATCH In review AshishKumar Mishra 2 participants 6 messages Sep 26, 2025 – Oct 3, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 1/2] systemd: backport fix for handle USE_NLS from master

From: AshishKumar Mishra <[email protected]>

Do not build translations when NLS is disabled. (From OE-Core rev: 83795ef6c3fa12a863cd20b7ec1a2607606987b6)

This change corresponds to upstream d848b454e64ffbd642590b4bbc378619e1547ad3 from master .
Since the systemd version are different between master & kirkstone applied the patch manually

---
 meta/recipes-core/systemd/systemd_250.14.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/systemd/systemd_250.14.bb +1 -0
index 66d20a46fd..087c0035eb 100644
@@ -235,6 +235,7 @@ EXTRA_OEMESON += "-Dnobody-user=nobody \
                   -Dmode=release \
                   -Dsystem-alloc-uid-min=101 \
                   -Dsystem-uid-max=999 \
+                  -Dtranslations=${@'false' if d.getVar('USE_NLS') == 'no' else 'true'} \
                   -Dsystem-alloc-gid-min=101 \
                   -Dsystem-gid-max=999 \
                   "
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/1 2/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 & kirkstone applied the patch manually

---
 meta/recipes-support/p11-kit/p11-kit_0.24.1.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-support/p11-kit/p11-kit_0.24.1.bb +1 -0
index 72b446204a..62aca0cfee 100644
@@ -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} += " \
Signature · 1 line
2.43.0
#2 lore raw

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

@ 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

#3 lore raw

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

In reply to AshishKumar Mishra

Same as for systemd - this should go to the other ML.

Quoted 31 lines · AshishKumar Mishra

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

---
 meta/recipes-support/p11-kit/p11-kit_0.24.1.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-support/p11-kit/p11-kit_0.24.1.bb +1 -0
index 72b446204a..62aca0cfee 100644
@@ -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} += " \
#4 lore raw
In reply to AshishKumar Mishra

Note that systemd is in oe-core, and I am not able to apply it - the correct mailing list for this would be [email protected]

Quoted 30 lines · AshishKumar Mishra

From: AshishKumar Mishra <[email protected]>

Do not build translations when NLS is disabled. (From OE-Core rev: 83795ef6c3fa12a863cd20b7ec1a2607606987b6)

This change corresponds to upstream d848b454e64ffbd642590b4bbc378619e1547ad3 from master .
Since the systemd version are different between master & kirkstone applied the patch manually

---
 meta/recipes-core/systemd/systemd_250.14.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/systemd/systemd_250.14.bb +1 -0
index 66d20a46fd..087c0035eb 100644
@@ -235,6 +235,7 @@ EXTRA_OEMESON += "-Dnobody-user=nobody \
                   -Dmode=release \
                   -Dsystem-alloc-uid-min=101 \
                   -Dsystem-uid-max=999 \
+                  -Dtranslations=${@'false' if d.getVar('USE_NLS') == 'no' else 'true'} \
                   -Dsystem-alloc-gid-min=101 \
                   -Dsystem-gid-max=999 \
                   "