Initial Commit
- initial default booting image
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
From fd002bd3ab730a0976dc000477f7dd9e162c0269 Mon Sep 17 00:00:00 2001
|
||||
From: Maarten ter Huurne <maarten@treewalker.org>
|
||||
Date: Sun, 14 Sep 2014 23:58:34 +0200
|
||||
Subject: [PATCH] Do not create backup of old installed binary
|
||||
|
||||
This is a rather unusual feature that packagers will not expect.
|
||||
|
||||
Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
|
||||
[baruch: update for 4.6.2]
|
||||
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
||||
[Julien: rebase on top of 4.9.1]
|
||||
[Julien: rebase on top of 5.0.0]
|
||||
Signed-off-by: Julien Olivain <ju.o@free.fr>
|
||||
[Bernd: rebase on top of 5.0.2]
|
||||
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
|
||||
---
|
||||
Makefile.in | 5 -----
|
||||
1 file changed, 5 deletions(-)
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 92f434a..860ecd7 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -85,12 +85,8 @@ tests/test-detach-cli: tests/integration-detach.c tests/macros.h screen
|
||||
$(CC) $(CPPFLAGS) $(CFLAGS) $< -o $@
|
||||
|
||||
install_bin: screen installdirs
|
||||
- -if [ -f $(DESTDIR)$(bindir)/$(SCREEN) ] && [ ! -f $(DESTDIR)$(bindir)/$(SCREEN).old ]; \
|
||||
- then mv $(DESTDIR)$(bindir)/$(SCREEN) $(DESTDIR)$(bindir)/$(SCREEN).old; fi
|
||||
$(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/$(SCREEN)
|
||||
-chown root $(DESTDIR)$(bindir)/$(SCREEN) && chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN)
|
||||
-# This doesn't work if $(bindir)/screen is a symlink
|
||||
- -if [ -f $(DESTDIR)$(bindir)/screen ] && [ ! -f $(DESTDIR)$(bindir)/screen.old ]; then mv $(DESTDIR)$(bindir)/screen $(DESTDIR)$(bindir)/screen.old; fi
|
||||
rm -f $(DESTDIR)$(bindir)/screen
|
||||
(cd $(DESTDIR)$(bindir) && ln -f -s $(SCREEN) screen)
|
||||
cp $(srcdir)/utf8encodings/?? $(DESTDIR)$(SCREENENCODINGS)
|
||||
@@ -115,7 +111,6 @@ installdirs:
|
||||
uninstall:
|
||||
rm -f $(DESTDIR)$(bindir)/$(SCREEN)
|
||||
rm -f $(DESTDIR)$(bindir)/screen
|
||||
- -mv $(DESTDIR)$(bindir)/screen.old $(DESTDIR)$(bindir)/screen
|
||||
rm -f $(DESTDIR)$(ETCSCREENRC)
|
||||
cd doc; $(MAKE) uninstall
|
||||
|
||||
--
|
||||
2.46.2
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
From c348717c7f13efc2c26723670c4d520985eb41f7 Mon Sep 17 00:00:00 2001
|
||||
From: Maarten ter Huurne <maarten@treewalker.org>
|
||||
Date: Mon, 15 Sep 2014 00:03:05 +0200
|
||||
Subject: [PATCH] Change binary permission flags even if chown fails
|
||||
|
||||
Typically when creating a package, the build is not run as root, so
|
||||
the chown will fail. But the chmod can still be done.
|
||||
|
||||
Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
|
||||
[Julien: rebase on top of 4.9.1]
|
||||
[Julien: rebase on top of 5.0.0]
|
||||
Signed-off-by: Julien Olivain <ju.o@free.fr>
|
||||
---
|
||||
Makefile.in | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 860ecd7..5bb5ed8 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -78,7 +78,8 @@ tests/test-%: tests/test-%.c %.o tests/mallocmock.o tests/macros.h tests/signatu
|
||||
|
||||
install_bin: screen installdirs
|
||||
$(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/$(SCREEN)
|
||||
- -chown root $(DESTDIR)$(bindir)/$(SCREEN) && chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN)
|
||||
+ -chown root $(DESTDIR)$(bindir)/$(SCREEN)
|
||||
+ -chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN)
|
||||
rm -f $(DESTDIR)$(bindir)/screen
|
||||
(cd $(DESTDIR)$(bindir) && ln -f -s $(SCREEN) screen)
|
||||
cp $(srcdir)/utf8encodings/?? $(DESTDIR)$(SCREENENCODINGS)
|
||||
--
|
||||
2.46.2
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
From 4baa4ff25a583456d781e553604a79c51a46bd53 Mon Sep 17 00:00:00 2001
|
||||
From: Maarten ter Huurne <maarten@treewalker.org>
|
||||
Date: Mon, 15 Sep 2014 00:06:20 +0200
|
||||
Subject: [PATCH] Support overriding SCREEN to get a non-versioned binary
|
||||
|
||||
If a packager runs "make install SCREEN=screen", do not create
|
||||
"screen" as a symlink to itself.
|
||||
|
||||
Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
|
||||
[Julien: rebase on top of 4.9.1]
|
||||
[Julien: rebase on top of 5.0.0]
|
||||
Signed-off-by: Julien Olivain <ju.o@free.fr>
|
||||
---
|
||||
Makefile.in | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index 5bb5ed8..d03129e 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -80,8 +80,10 @@ install_bin: screen installdirs
|
||||
$(INSTALL_PROGRAM) screen $(DESTDIR)$(bindir)/$(SCREEN)
|
||||
-chown root $(DESTDIR)$(bindir)/$(SCREEN)
|
||||
-chmod 4755 $(DESTDIR)$(bindir)/$(SCREEN)
|
||||
+ifneq (${SCREEN},screen)
|
||||
rm -f $(DESTDIR)$(bindir)/screen
|
||||
(cd $(DESTDIR)$(bindir) && ln -f -s $(SCREEN) screen)
|
||||
+endif
|
||||
cp $(srcdir)/utf8encodings/?? $(DESTDIR)$(SCREENENCODINGS)
|
||||
|
||||
###############################################################################
|
||||
--
|
||||
2.46.2
|
||||
|
||||
251
package/screen/0004-Renamed-sched.h-to-eventqueue.h.patch
Normal file
251
package/screen/0004-Renamed-sched.h-to-eventqueue.h.patch
Normal file
@@ -0,0 +1,251 @@
|
||||
From 50041d75d59e7343f1fd45bec5bd0c92b47e0a8e Mon Sep 17 00:00:00 2001
|
||||
From: Maarten ter Huurne <maarten@treewalker.org>
|
||||
Date: Mon, 15 Sep 2014 00:24:41 +0200
|
||||
Subject: [PATCH] Renamed sched.h to eventqueue.h
|
||||
|
||||
There is a <sched.h> system header that got shadowed by "sched.h".
|
||||
While Screen itself doesn't include <sched.h>, other system headers
|
||||
might include it indirectly. This broke the build when using uClibc
|
||||
with pthread support.
|
||||
|
||||
Signed-off-by: Maarten ter Huurne <maarten@treewalker.org>
|
||||
[Julien: rebase on top of 4.9.1]
|
||||
[Julien: rebase on top of 5.0.0, renamed all occurences of sched.h]
|
||||
Signed-off-by: Julien Olivain <ju.o@free.fr>
|
||||
---
|
||||
Makefile.in | 66 ++++++++++++++++++++---------------------
|
||||
canvas.h | 2 +-
|
||||
sched.h => eventqueue.h | 0
|
||||
sched.c | 2 +-
|
||||
screen.h | 2 +-
|
||||
window.h | 2 +-
|
||||
winmsg.c | 2 +-
|
||||
7 files changed, 38 insertions(+), 38 deletions(-)
|
||||
rename sched.h => eventqueue.h (100%)
|
||||
|
||||
diff --git a/Makefile.in b/Makefile.in
|
||||
index d03129e..69ffe60 100644
|
||||
--- a/Makefile.in
|
||||
+++ b/Makefile.in
|
||||
@@ -165,116 +165,116 @@ depend.in: $(CFILES) term.h
|
||||
###############################################################################
|
||||
|
||||
### Dependencies:
|
||||
-screen.o: screen.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+screen.o: screen.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h winmsg.h winmsgbuf.h winmsgcond.h backtick.h \
|
||||
fileio.h mark.h attacher.h encoding.h help.h misc.h process.h socket.h \
|
||||
termcap.h tty.h utmp.h
|
||||
-ansi.o: ansi.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+ansi.o: ansi.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h winmsg.h winmsgbuf.h winmsgcond.h backtick.h encoding.h \
|
||||
fileio.h help.h mark.h misc.h process.h resize.h
|
||||
-fileio.o: fileio.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+fileio.o: fileio.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h fileio.h misc.h process.h winmsgbuf.h termcap.h encoding.h
|
||||
-mark.o: mark.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+mark.o: mark.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h encoding.h fileio.h mark.h process.h winmsgbuf.h search.h
|
||||
-misc.o: misc.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+misc.o: misc.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h
|
||||
-resize.o: resize.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+resize.o: resize.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h process.h winmsgbuf.h resize.h telnet.h
|
||||
-socket.o: socket.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+socket.o: socket.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h encoding.h fileio.h list_generic.h misc.h process.h \
|
||||
winmsgbuf.h resize.h socket.h termcap.h tty.h utmp.h
|
||||
-search.o: search.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+search.o: search.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h mark.h input.h
|
||||
-tty.o: tty.c config.h screen.h os.h ansi.h sched.h acls.h comm.h layer.h \
|
||||
+tty.o: tty.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h layer.h \
|
||||
term.h image.h canvas.h display.h layout.h viewport.h window.h logfile.h \
|
||||
fileio.h misc.h pty.h telnet.h tty.h
|
||||
term.o: term.c term.h
|
||||
-window.o: window.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+window.o: window.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h winmsg.h winmsgbuf.h winmsgcond.h backtick.h fileio.h help.h \
|
||||
input.h mark.h misc.h process.h pty.h resize.h telnet.h termcap.h tty.h \
|
||||
utmp.h
|
||||
-utmp.o: utmp.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+utmp.o: utmp.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h misc.h tty.h utmp.h
|
||||
-help.o: help.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+help.o: help.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h misc.h list_generic.h process.h winmsgbuf.h
|
||||
-termcap.o: termcap.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+termcap.o: termcap.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h encoding.h misc.h process.h winmsgbuf.h resize.h termcap.h
|
||||
-input.o: input.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+input.o: input.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h misc.h
|
||||
-attacher.o: attacher.c config.h screen.h os.h ansi.h sched.h acls.h \
|
||||
+attacher.o: attacher.c config.h screen.h os.h ansi.h eventqueue.h acls.h \
|
||||
comm.h layer.h term.h image.h canvas.h display.h layout.h viewport.h \
|
||||
window.h logfile.h misc.h socket.h tty.h
|
||||
-pty.o: pty.c config.h screen.h os.h ansi.h sched.h acls.h comm.h layer.h \
|
||||
+pty.o: pty.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h layer.h \
|
||||
term.h image.h canvas.h display.h layout.h viewport.h window.h logfile.h
|
||||
-process.o: process.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+process.o: process.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h winmsg.h winmsgbuf.h winmsgcond.h backtick.h encoding.h \
|
||||
fileio.h help.h input.h kmapdef.h list_generic.h mark.h misc.h process.h \
|
||||
resize.h search.h socket.h telnet.h termcap.h tty.h utmp.h
|
||||
-display.o: display.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+display.o: display.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h winmsg.h winmsgbuf.h winmsgcond.h backtick.h encoding.h mark.h \
|
||||
misc.h process.h pty.h resize.h termcap.h tty.h
|
||||
-comm.o: comm.c config.h os.h screen.h ansi.h sched.h acls.h comm.h \
|
||||
+comm.o: comm.c config.h os.h screen.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h
|
||||
kmapdef.o: kmapdef.c config.h
|
||||
-acls.o: acls.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+acls.o: acls.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h mark.h misc.h process.h winmsgbuf.h
|
||||
-logfile.o: logfile.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+logfile.o: logfile.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h misc.h
|
||||
-layer.o: layer.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+layer.o: layer.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h encoding.h mark.h tty.h
|
||||
-winmsg.o: winmsg.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+winmsg.o: winmsg.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h winmsg.h winmsgbuf.h winmsgcond.h backtick.h fileio.h \
|
||||
process.h mark.h
|
||||
-winmsgbuf.o: winmsgbuf.c winmsgbuf.h screen.h os.h ansi.h sched.h acls.h \
|
||||
+winmsgbuf.o: winmsgbuf.c winmsgbuf.h screen.h os.h ansi.h eventqueue.h acls.h \
|
||||
comm.h layer.h term.h image.h canvas.h display.h layout.h viewport.h \
|
||||
window.h logfile.h
|
||||
winmsgcond.o: winmsgcond.c winmsgcond.h
|
||||
-backtick.o: backtick.c backtick.h screen.h os.h ansi.h sched.h acls.h \
|
||||
+backtick.o: backtick.c backtick.h screen.h os.h ansi.h eventqueue.h acls.h \
|
||||
comm.h layer.h term.h image.h canvas.h display.h layout.h viewport.h \
|
||||
window.h logfile.h fileio.h
|
||||
-sched.o: sched.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+sched.o: sched.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h
|
||||
telnet.o: telnet.c config.h comm.h
|
||||
-encoding.o: encoding.c config.h screen.h os.h ansi.h sched.h acls.h \
|
||||
+encoding.o: encoding.c config.h screen.h os.h ansi.h eventqueue.h acls.h \
|
||||
comm.h layer.h term.h image.h canvas.h display.h layout.h viewport.h \
|
||||
window.h logfile.h encoding.h fileio.h
|
||||
-canvas.o: canvas.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+canvas.o: canvas.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h help.h list_generic.h resize.h
|
||||
-layout.o: layout.c config.h screen.h os.h ansi.h sched.h acls.h comm.h \
|
||||
+layout.o: layout.c config.h screen.h os.h ansi.h eventqueue.h acls.h comm.h \
|
||||
layer.h term.h image.h canvas.h display.h layout.h viewport.h window.h \
|
||||
logfile.h fileio.h misc.h process.h winmsgbuf.h resize.h
|
||||
-viewport.o: viewport.c config.h screen.h os.h ansi.h sched.h acls.h \
|
||||
+viewport.o: viewport.c config.h screen.h os.h ansi.h eventqueue.h acls.h \
|
||||
comm.h layer.h term.h image.h canvas.h display.h layout.h viewport.h \
|
||||
window.h logfile.h
|
||||
-list_display.o: list_display.c config.h screen.h os.h ansi.h sched.h \
|
||||
+list_display.o: list_display.c config.h screen.h os.h ansi.h eventqueue.h \
|
||||
acls.h comm.h layer.h term.h image.h canvas.h display.h layout.h \
|
||||
viewport.h window.h logfile.h list_generic.h misc.h
|
||||
-list_generic.o: list_generic.c config.h screen.h os.h ansi.h sched.h \
|
||||
+list_generic.o: list_generic.c config.h screen.h os.h ansi.h eventqueue.h \
|
||||
acls.h comm.h layer.h term.h image.h canvas.h display.h layout.h \
|
||||
viewport.h window.h logfile.h input.h list_generic.h misc.h
|
||||
-list_window.o: list_window.c config.h screen.h os.h ansi.h sched.h acls.h \
|
||||
+list_window.o: list_window.c config.h screen.h os.h ansi.h eventqueue.h acls.h \
|
||||
comm.h layer.h term.h image.h canvas.h display.h layout.h viewport.h \
|
||||
window.h logfile.h winmsg.h winmsgbuf.h winmsgcond.h backtick.h input.h \
|
||||
list_generic.h misc.h process.h
|
||||
diff --git a/canvas.h b/canvas.h
|
||||
index 8460d9a..ec5fdaa 100644
|
||||
--- a/canvas.h
|
||||
+++ b/canvas.h
|
||||
@@ -31,7 +31,7 @@
|
||||
#define SCREEN_CANVAS_H
|
||||
|
||||
#include "layer.h"
|
||||
-#include "sched.h"
|
||||
+#include "eventqueue.h"
|
||||
|
||||
#define SLICE_UNKN 0
|
||||
#define SLICE_VERT (1 << 0)
|
||||
diff --git a/sched.h b/eventqueue.h
|
||||
similarity index 100%
|
||||
rename from sched.h
|
||||
rename to eventqueue.h
|
||||
diff --git a/sched.c b/sched.c
|
||||
index 3618f11..dc59b11 100644
|
||||
--- a/sched.c
|
||||
+++ b/sched.c
|
||||
@@ -28,7 +28,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
-#include "sched.h"
|
||||
+#include "eventqueue.h"
|
||||
|
||||
#include <poll.h>
|
||||
#include <stdint.h>
|
||||
diff --git a/screen.h b/screen.h
|
||||
index 308c365..e39c2b1 100644
|
||||
--- a/screen.h
|
||||
+++ b/screen.h
|
||||
@@ -67,7 +67,7 @@ struct mode {
|
||||
#include "ansi.h"
|
||||
#include "image.h"
|
||||
#include "layer.h"
|
||||
-#include "sched.h"
|
||||
+#include "eventqueue.h"
|
||||
#include "term.h"
|
||||
#include "window.h"
|
||||
|
||||
diff --git a/window.h b/window.h
|
||||
index bc08c6c..294aa64 100644
|
||||
--- a/window.h
|
||||
+++ b/window.h
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
-#include "sched.h"
|
||||
+#include "eventqueue.h"
|
||||
#include "logfile.h"
|
||||
#include "screen.h"
|
||||
#include "layer.h"
|
||||
diff --git a/winmsg.c b/winmsg.c
|
||||
index 2418439..891a20a 100644
|
||||
--- a/winmsg.c
|
||||
+++ b/winmsg.c
|
||||
@@ -44,7 +44,7 @@
|
||||
#include "logfile.h"
|
||||
#include "mark.h"
|
||||
#include "process.h"
|
||||
-#include "sched.h"
|
||||
+#include "eventqueue.h"
|
||||
|
||||
/* TODO: rid global variable (has been renamed to point this out; see commit
|
||||
* history) */
|
||||
--
|
||||
2.46.2
|
||||
|
||||
22
package/screen/Config.in
Normal file
22
package/screen/Config.in
Normal file
@@ -0,0 +1,22 @@
|
||||
config BR2_PACKAGE_SCREEN
|
||||
bool "screen"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_USE_WCHAR
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # C17
|
||||
select BR2_PACKAGE_LIBXCRYPT if BR2_TOOLCHAIN_USES_GLIBC
|
||||
select BR2_PACKAGE_NCURSES
|
||||
help
|
||||
Screen is a full-screen window manager that multiplexes a
|
||||
physical terminal between several processes, typically
|
||||
interactive shells. Each virtual terminal provides the
|
||||
functions of the DEC VT100 terminal and, in addition,
|
||||
several control functions from the ANSI X3.64 (ISO 6429) and
|
||||
ISO 2022 standards (e.g., insert/delete line and support for
|
||||
multiple character sets).
|
||||
|
||||
http://www.gnu.org/software/screen/
|
||||
|
||||
comment "screen needs a toolchain w/ wchar, gcc >= 8"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_8
|
||||
5
package/screen/screen.hash
Normal file
5
package/screen/screen.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
# https://ftp.gnu.org/gnu/screen/screen-5.0.2.tar.gz.sig
|
||||
sha256 ca9a2c7e240919bc7ac12124593ae4529bb4eb5f7349d8857829b7e3f0b3b332 screen-5.0.2.tar.gz
|
||||
# Locally calculated
|
||||
sha256 e79e9c8a0c85d735ff98185918ec94ed7d175efc377012787aebcf3b80f0d90b COPYING
|
||||
43
package/screen/screen.mk
Normal file
43
package/screen/screen.mk
Normal file
@@ -0,0 +1,43 @@
|
||||
################################################################################
|
||||
#
|
||||
# screen
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SCREEN_VERSION = 5.0.2
|
||||
SCREEN_SITE = $(BR2_GNU_MIRROR)/screen
|
||||
SCREEN_LICENSE = GPL-3.0+
|
||||
SCREEN_LICENSE_FILES = COPYING
|
||||
SCREEN_CPE_ID_VENDOR = gnu
|
||||
SCREEN_SELINUX_MODULES = screen
|
||||
SCREEN_DEPENDENCIES = ncurses
|
||||
SCREEN_AUTORECONF = YES
|
||||
SCREEN_CONF_ENV = CFLAGS="$(TARGET_CFLAGS)"
|
||||
SCREEN_CONF_OPTS = --enable-colors256 --enable-socket-dir
|
||||
SCREEN_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) SCREEN=screen install_bin
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBXCRYPT),y)
|
||||
SCREEN_DEPENDENCIES += libxcrypt
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LINUX_PAM),y)
|
||||
SCREEN_DEPENDENCIES += linux-pam
|
||||
SCREEN_CONF_OPTS += --enable-pam
|
||||
else
|
||||
SCREEN_CONF_OPTS += --disable-pam
|
||||
endif
|
||||
|
||||
define SCREEN_INSTALL_SCREENRC
|
||||
$(INSTALL) -m 0755 -D $(@D)/etc/screenrc $(TARGET_DIR)/etc/screenrc
|
||||
endef
|
||||
SCREEN_POST_INSTALL_TARGET_HOOKS += SCREEN_INSTALL_SCREENRC
|
||||
|
||||
# Add /usr/bin/screen to /etc/shells otherwise some login tools like dropbear
|
||||
# can reject the user connection. See man shells.
|
||||
define SCREEN_ADD_SCREEN_TO_SHELLS
|
||||
grep -qsE '^/usr/bin/screen$$' $(TARGET_DIR)/etc/shells \
|
||||
|| echo "/usr/bin/screen" >> $(TARGET_DIR)/etc/shells
|
||||
endef
|
||||
SCREEN_TARGET_FINALIZE_HOOKS += SCREEN_ADD_SCREEN_TO_SHELLS
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user