summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2025-01-03 11:45:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-01-04 12:34:04 +0000
commit59486c65069a7fb519c77ea3d48dc7092b04363c (patch)
treeee84477781e106ca46f89a9af8f8de48a041aaec
parent84287daee01e5f8661dbf5098f4eb2f4d0b1b959 (diff)
downloadpoky-59486c65069a7fb519c77ea3d48dc7092b04363c.tar.gz
kbd: update 2.6.4 -> 2.7.1
(From OE-Core rev: 1e116a0f45a218a751a8c11faa642d976182c021) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/kbd/kbd/0001-Remove-non-free-Agafari-fonts.patch73
-rw-r--r--meta/recipes-core/kbd/kbd_2.7.1.bb (renamed from meta/recipes-core/kbd/kbd_2.6.4.bb)12
2 files changed, 3 insertions, 82 deletions
diff --git a/meta/recipes-core/kbd/kbd/0001-Remove-non-free-Agafari-fonts.patch b/meta/recipes-core/kbd/kbd/0001-Remove-non-free-Agafari-fonts.patch
deleted file mode 100644
index de279b55f9..0000000000
--- a/meta/recipes-core/kbd/kbd/0001-Remove-non-free-Agafari-fonts.patch
+++ /dev/null
@@ -1,73 +0,0 @@
1From b757e6842f9631757f0d1a6b3833aabffa9ffeee Mon Sep 17 00:00:00 2001
2From: Alexey Gladkov <legion@kernel.org>
3Date: Thu, 29 Feb 2024 17:38:37 +0100
4Subject: [PATCH] Remove non-free Agafari fonts
5
6Based on legal analysis, we are removing non-free fonts for now. If we
7can change the license of these fonts, we will return them back.
8
9From: Stanislav Brabec <sbrabec@suse.com>
10Date: Wed, 28 Feb 2024 16:47:54 +0100
11Subject: kbd: Legal problems of Agafari fonts
12
13 The data/consolefonts/README.Ethiopic contains a notice:
14 Agafari:
15 Donated by the Ethiopian Science and Technology Commission
16 <ncic@padis.gn.apc.org> or <ncic@telecom.net.et> and may be redistributed
17 for non-commercial use under Unix environments only.
18
19 According to our legal review, it makes impossible to distribute these
20 fonts as part of any commercial products, and even makes it impossible to
21 distribute kbd sources as part of any commercial product services.
22
23 Additionally, it makes the whole kbd package incompatible with GPL, so the
24 COPYING file (created during build of the tarball) cannot declare GPL
25 version 2. It also violates section 6 of GPL (no further restrictions).
26
27 That is why several GNU/Linux distributions exclude Agafari from the
28 release. To be on a safe side, SUSE even decided to repack any source
29 tarballs before putting it to their servers.
30
31 This was probably reported to the former kbd maintainer about 20 years ago,
32 but nothing changed over years.
33
34 That is why I recommend removing Agafari fonts and removing the reference
35 to them from README.Ethiopic. Alternatively, you can ask the Ethiopian
36 Science and Technology Commission for re-licensing.
37
38Signed-off-by: Alexey Gladkov <legion@kernel.org>
39
40Upstream-Status: Backport [https://github.com/legionus/kbd/commit/b757e6842f9631757f0d1a6b3833aabffa9ffeee]
41
42[do_configure prepend added to remove binary files]
43
44Signed-off-by: Peter Marko <peter.marko@siemens.com>
45---
46 data/consolefonts/Agafari-12.psfu | Bin 7989 -> 0 bytes
47 data/consolefonts/Agafari-14.psfu | Bin 9013 -> 0 bytes
48 data/consolefonts/Agafari-16.psfu | Bin 10037 -> 0 bytes
49 data/consolefonts/README.Ethiopic | 5 -----
50 4 files changed, 5 deletions(-)
51 delete mode 100644 data/consolefonts/Agafari-12.psfu
52 delete mode 100644 data/consolefonts/Agafari-14.psfu
53 delete mode 100644 data/consolefonts/Agafari-16.psfu
54
55diff --git a/data/consolefonts/README.Ethiopic b/data/consolefonts/README.Ethiopic
56index 7502722..2810797 100644
57--- a/data/consolefonts/README.Ethiopic
58+++ b/data/consolefonts/README.Ethiopic
59@@ -14,11 +14,6 @@ Ethiopic fonts:
60 restrictions below:
61
62
63-Agafari:
64- Donated by the Ethiopian Science and Technology Commission
65- <ncic@padis.gn.apc.org> or <ncic@telecom.net.et> and may be redistributed
66- for non-commercial use under Unix environments only.
67-
68 Goha and GohaClassic:
69 Donated by Yitna Firdyiwek <ybf2u@virgina.edu> of GohaTibeb Associates
70 and may be redistributed without restriction under the GNU GPL 2.0.
71--
722.30.2
73
diff --git a/meta/recipes-core/kbd/kbd_2.6.4.bb b/meta/recipes-core/kbd/kbd_2.7.1.bb
index 2331b51e59..9cff855b28 100644
--- a/meta/recipes-core/kbd/kbd_2.6.4.bb
+++ b/meta/recipes-core/kbd/kbd_2.7.1.bb
@@ -24,12 +24,12 @@ RPROVIDES:${PN} = "console-tools"
24RCONFLICTS:${PN} = "console-tools" 24RCONFLICTS:${PN} = "console-tools"
25 25
26SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/${BP}.tar.xz \ 26SRC_URI = "${KERNELORG_MIRROR}/linux/utils/${BPN}/${BP}.tar.xz \
27 file://0001-Remove-non-free-Agafari-fonts.patch \
28 " 27 "
29 28
30SRC_URI[sha256sum] = "519f8d087aecca7e0a33cd084bef92c066eb19731666653dcc70c9d71aa40926" 29SRC_URI[sha256sum] = "f167d899d92b56ccf12f6f49355173f93870a95f15d8aeebf5fdcd28a621aca8"
31 30
32EXTRA_OECONF = "--disable-tests" 31# 'gzip -n' is set due to https://github.com/legionus/kbd/issues/124
32EXTRA_OECONF = "--disable-tests --enable-compress='gzip -n'"
33PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \ 33PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \
34 " 34 "
35 35
@@ -45,12 +45,6 @@ FILES:${PN}-unimaps = "${datadir}/unimaps"
45 45
46RRECOMMENDS:${PN}-keymaps = "${PN}-keymaps-pine" 46RRECOMMENDS:${PN}-keymaps = "${PN}-keymaps-pine"
47 47
48# remove this when upgrading to newer version which has integrated
49# https://github.com/legionus/kbd/commit/b757e6842f9631757f0d1a6b3833aabffa9ffeee
50do_configure:prepend() {
51 rm -rf ${S}/data/consolefonts/Agafari-1*
52}
53
54do_install:append () { 48do_install:append () {
55 if [ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'yes', 'no', d)}" = "yes" ] \ 49 if [ "${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'yes', 'no', d)}" = "yes" ] \
56 && [ -f ${D}${sysconfdir}/pam.d/vlock ]; then 50 && [ -f ${D}${sysconfdir}/pam.d/vlock ]; then