summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/screen
diff options
context:
space:
mode:
authorMing Liu <liu.ming50@gmail.com>2024-10-23 11:44:26 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-10-25 15:25:33 +0100
commit96a6df7b14c51be156995b79767b9fadd15f9b6e (patch)
treef2c577095ff60f2ace6d643ec46abcc1a692a573 /meta/recipes-extended/screen
parent406774306e994dbe47b93ecea727e7629755680a (diff)
downloadpoky-96a6df7b14c51be156995b79767b9fadd15f9b6e.tar.gz
screen: uprev to 5.0.0
License-Update: A typo "httpss->https" fixed in Copyright. Drop deprecated patches. Inherit autotools-brokensep instead of autotools, there are some generated headers in ${B} that referring to ${S}. (From OE-Core rev: 061c99fb84b25cca8783efa66851b52c74126063) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/screen')
-rw-r--r--meta/recipes-extended/screen/screen/0001-Remove-more-compatibility-stuff.patch31
-rw-r--r--meta/recipes-extended/screen/screen/0001-fix-for-multijob-build.patch58
-rw-r--r--meta/recipes-extended/screen/screen/0002-comm.h-now-depends-on-term.h.patch30
-rw-r--r--meta/recipes-extended/screen/screen_5.0.0.bb (renamed from meta/recipes-extended/screen/screen_4.9.1.bb)11
4 files changed, 4 insertions, 126 deletions
diff --git a/meta/recipes-extended/screen/screen/0001-Remove-more-compatibility-stuff.patch b/meta/recipes-extended/screen/screen/0001-Remove-more-compatibility-stuff.patch
deleted file mode 100644
index 1413724d07..0000000000
--- a/meta/recipes-extended/screen/screen/0001-Remove-more-compatibility-stuff.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1This fixes
2../screen-4.6.2/pty.c: In function 'OpenPTY':
3../screen-4.6.2/pty.c:328:7: warning: implicit declaration of function 'openpty'; did you mean 'openat'? [-Wimplicit-function-declaration]
4 if (openpty(&f, &s, TtyName, NULL, NULL) != 0)
5 ^~~~~~~
6
7Signed-off-by: Amadeusz Sławiński <amade@asmblr.net>
8Signed-off-by: Adrian Bunk <bunk@stusta.de>
9Upstream-Status: Backport
10
11---
12 pty.c | 6 +-----
13 1 file changed, 1 insertion(+), 5 deletions(-)
14
15diff --git a/pty.c b/pty.c
16index 1c0660e..502338f 100644
17--- a/pty.c
18+++ b/pty.c
19@@ -47,11 +47,7 @@
20 # include <sys/ttold.h>
21 #endif
22
23-#ifdef ISC
24-# include <sys/tty.h>
25-# include <sys/sioctl.h>
26-# include <sys/pty.h>
27-#endif
28+#include <pty.h>
29
30 #ifdef sgi
31 # include <sys/sysmacros.h>
diff --git a/meta/recipes-extended/screen/screen/0001-fix-for-multijob-build.patch b/meta/recipes-extended/screen/screen/0001-fix-for-multijob-build.patch
deleted file mode 100644
index fbdb0eb478..0000000000
--- a/meta/recipes-extended/screen/screen/0001-fix-for-multijob-build.patch
+++ /dev/null
@@ -1,58 +0,0 @@
1From 79ad2885e26631077dd6b8aebe17ae95b38133a6 Mon Sep 17 00:00:00 2001
2From: Jackie Huang <jackie.huang@windriver.com>
3Date: Tue, 26 Jul 2016 14:23:59 +0800
4Subject: [PATCH] fix for multijob build
5
6make sure that comm.sh script generates comm.h header before doing
7anything else
8
9Signed-off-by: Amadeusz Sawiski <amade@asmblr.net>
10
11Upstream-Status: Backport
12
13Backport patch to fix parallel build failure and update context to make patch
14coulde be applied.
15
16http://git.savannah.gnu.org/cgit/screen.git/commit?id=c0de6dd
17
18Signed-off-by: Kai Kang <kai.kang@windriver.com>
19Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
20---
21 Makefile.in | 8 ++++----
22 1 file changed, 4 insertions(+), 4 deletions(-)
23
24diff --git a/Makefile.in b/Makefile.in
25index aca7da3..3607711 100644
26--- a/Makefile.in
27+++ b/Makefile.in
28@@ -298,7 +298,7 @@ search.o: layout.h viewport.h canvas.h search.c config.h screen.h os.h osdef.h a
29 comm.h layer.h term.h image.h display.h window.h mark.h extern.h
30 tty.o: layout.h viewport.h canvas.h tty.c config.h screen.h os.h osdef.h ansi.h acls.h comm.h \
31 layer.h term.h image.h display.h window.h extern.h
32-term.o: layout.h viewport.h canvas.h term.c term.h
33+term.o: layout.h viewport.h canvas.h term.c term.h comm.h
34 window.o: layout.h viewport.h canvas.h window.c config.h screen.h os.h osdef.h ansi.h acls.h \
35 comm.h layer.h term.h image.h display.h window.h extern.h logfile.h
36 utmp.o: layout.h viewport.h canvas.h utmp.c config.h screen.h os.h osdef.h ansi.h acls.h \
37@@ -324,7 +324,7 @@ canvas.o: layout.h viewport.h canvas.h canvas.c config.h screen.h os.h osdef.h a
38 comm.h layer.h term.h image.h display.h window.h extern.h \
39 braille.h
40 comm.o: layout.h viewport.h canvas.h comm.c config.h acls.h comm.h
41-kmapdef.o: layout.h viewport.h canvas.h kmapdef.c config.h
42+kmapdef.o: layout.h viewport.h canvas.h kmapdef.c config.h comm.h
43 acls.o: layout.h viewport.h canvas.h acls.c config.h screen.h os.h osdef.h ansi.h acls.h comm.h \
44 layer.h term.h image.h display.h window.h extern.h
45 braille.o: layout.h viewport.h canvas.h braille.c config.h screen.h os.h osdef.h ansi.h acls.h \
46@@ -350,7 +350,7 @@ layout.o: layout.h viewport.h canvas.h layout.c config.h screen.h os.h osdef.h a
47 viewport.o: layout.h viewport.h canvas.h viewport.c config.h screen.h os.h osdef.h ansi.h acls.h \
48 comm.h layer.h term.h image.h display.h window.h extern.h \
49 braille.h
50-list_generic.o: list_generic.h list_generic.c layer.h screen.h osdef.h
51-list_display.o: list_generic.h list_display.c layer.h screen.h osdef.h
52+list_generic.o: list_generic.h list_generic.c layer.h screen.h osdef.h comm.h
53+list_display.o: list_generic.h list_display.c layer.h screen.h osdef.h comm.h
54 list_window.o: list_generic.h list_window.c window.h layer.h screen.h osdef.h comm.h
55
56--
571.9.1
58
diff --git a/meta/recipes-extended/screen/screen/0002-comm.h-now-depends-on-term.h.patch b/meta/recipes-extended/screen/screen/0002-comm.h-now-depends-on-term.h.patch
deleted file mode 100644
index a01dc24751..0000000000
--- a/meta/recipes-extended/screen/screen/0002-comm.h-now-depends-on-term.h.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1Upstream-Status: Backport
2
3Backport from:
4
5http://git.savannah.gnu.org/cgit/screen.git/commit/?id=39c5f1c
6
7Signed-off-by: Kai Kang <kai.kang@windriver.com>
8---
9From 39c5f1c76f1fcef4b5958bf828a63f53426b6984 Mon Sep 17 00:00:00 2001
10From: Mike Gerwitz <mike@mikegerwitz.com>
11Date: Tue, 24 Dec 2013 22:16:31 -0500
12Subject: [PATCH] comm.h now depends on term.h
13
14---
15 src/Makefile.in | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18Index: screen-4.6.1/Makefile.in
19===================================================================
20--- screen-4.6.1.orig/Makefile.in
21+++ screen-4.6.1/Makefile.in
22@@ -133,7 +133,7 @@ kmapdef.c: term.h
23 tty.c: tty.sh
24 sh $(srcdir)/tty.sh tty.c
25
26-comm.h: comm.c comm.sh config.h
27+comm.h: comm.c comm.sh config.h term.h
28 AWK=$(AWK) CC="$(CC) $(CFLAGS)" srcdir=${srcdir} sh $(srcdir)/comm.sh
29
30 osdef.h: osdef.sh config.h osdef.h.in
diff --git a/meta/recipes-extended/screen/screen_4.9.1.bb b/meta/recipes-extended/screen/screen_5.0.0.bb
index 57d1481049..fec5663fc2 100644
--- a/meta/recipes-extended/screen/screen_4.9.1.bb
+++ b/meta/recipes-extended/screen/screen_5.0.0.bb
@@ -8,7 +8,7 @@ BUGTRACKER = "https://savannah.gnu.org/bugs/?func=additem&group=screen"
8SECTION = "console/utils" 8SECTION = "console/utils"
9 9
10LICENSE = "GPL-3.0-or-later" 10LICENSE = "GPL-3.0-or-later"
11LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ 11LIC_FILES_CHKSUM = "file://COPYING;md5=c678957b0c8e964aa6c70fd77641a71e \
12 file://screen.h;endline=26;md5=b8dc717c9a3dba842ae6c44ca0f73f52 \ 12 file://screen.h;endline=26;md5=b8dc717c9a3dba842ae6c44ca0f73f52 \
13 " 13 "
14 14
@@ -18,19 +18,16 @@ RDEPENDS:${PN} = "base-files"
18 18
19SRC_URI = "${GNU_MIRROR}/screen/screen-${PV}.tar.gz \ 19SRC_URI = "${GNU_MIRROR}/screen/screen-${PV}.tar.gz \
20 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'file://screen.pam', '', d)} \ 20 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'file://screen.pam', '', d)} \
21 file://0002-comm.h-now-depends-on-term.h.patch \
22 file://0001-fix-for-multijob-build.patch \
23 file://0001-Remove-more-compatibility-stuff.patch \
24 " 21 "
25 22
26SRC_URI[sha256sum] = "26cef3e3c42571c0d484ad6faf110c5c15091fbf872b06fa7aa4766c7405ac69" 23SRC_URI[sha256sum] = "f04a39d00a0e5c7c86a55338808903082ad5df4d73df1a2fd3425976aed94971"
27 24
28inherit autotools texinfo 25inherit autotools-brokensep texinfo
29 26
30PACKAGECONFIG ??= "" 27PACKAGECONFIG ??= ""
31PACKAGECONFIG[utempter] = "ac_cv_header_utempter_h=yes,ac_cv_header_utempter_h=no,libutempter," 28PACKAGECONFIG[utempter] = "ac_cv_header_utempter_h=yes,ac_cv_header_utempter_h=no,libutempter,"
32 29
33EXTRA_OECONF = "--with-pty-mode=0620 --with-pty-group=5 --with-sys-screenrc=${sysconfdir}/screenrc \ 30EXTRA_OECONF = "--with-pty-mode=0620 --with-pty-group=5 --with-system_screenrc=${sysconfdir}/screenrc \
34 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}" 31 ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}"
35 32
36do_install:append () { 33do_install:append () {