All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/localedef: add license data
@ 2026-07-15 12:30 Alexis Lothoré via buildroot
  2026-07-20 15:52 ` Fiona Klute via buildroot
  0 siblings, 1 reply; 3+ messages in thread
From: Alexis Lothoré via buildroot @ 2026-07-15 12:30 UTC (permalink / raw)
  To: buildroot; +Cc: Thomas Petazzoni, Nicolas Carrier, Alexis Lothoré

When running `make legal-info` for a buil based on glibc and configured
to generate some locale data (eg: BR2_GENERATE_LOCALE="C.UTF-8"), the
following warning is printed:

  WARNING: localedef-2.43-45-gdae425b554207f7c4599c7fac707ad4c08545674: \
  cannot save license (HOST_LOCALEDEF_LICENSE_FILES not defined)

Define the missing LOCALEDEF_LICENSE and LOCALEDEF_LICENSE_FILES to get
rid of the warning. The header in locale/programs/localedef.c states
that the program is released under GPL, so use GPLv2, as also st stated
by glibc.mk in the glibc package in buildroot.

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
---
Up to my knowledge this package never had the needed license data, so
all currently maintained versions are affected by the issue.
---
 package/localedef/localedef.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/localedef/localedef.mk b/package/localedef/localedef.mk
index 732ed6d4ad1d..aa7dba2b5170 100644
--- a/package/localedef/localedef.mk
+++ b/package/localedef/localedef.mk
@@ -11,6 +11,8 @@ LOCALEDEF_VERSION = 2.43-45-gdae425b554207f7c4599c7fac707ad4c08545674
 LOCALEDEF_SOURCE = glibc-$(LOCALEDEF_VERSION)$(BR_FMT_VERSION_git).tar.gz
 LOCALEDEF_SITE = https://sourceware.org/git/glibc.git
 LOCALEDEF_SITE_METHOD = git
+LOCALEDEF_LICENSE = GPL-2.0+
+LOCALEDEF_LICENSE_FILES = COPYINGv2
 HOST_LOCALEDEF_DL_SUBDIR = glibc
 
 HOST_LOCALEDEF_DEPENDENCIES = \

---
base-commit: 643f480f4379afe5677ec399c802b8d33734b601
change-id: 20260715-legal-info-localdef-cc9caf1a3f3a

Best regards,
--  
Alexis Lothoré <alexis.lothore@bootlin.com>

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-08-03 14:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-15 12:30 [Buildroot] [PATCH] package/localedef: add license data Alexis Lothoré via buildroot
2026-07-20 15:52 ` Fiona Klute via buildroot
2026-08-03 14:06   ` Alexis Lothoré via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.