diff options
| author | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-06-29 23:15:54 +0800 |
|---|---|---|
| committer | emmett1 <emmett1.2miligrams@protonmail.com> | 2024-06-29 23:15:54 +0800 |
| commit | ae4593e20cef97c7323d522b40994a59425cd6d5 (patch) | |
| tree | 7b3e8750bbbfa32e917869e325027108ee59ee85 /repos/xorg/xterm | |
| parent | b5aa76f45da627817380276080b2b8bba6e74f68 (diff) | |
| download | alicelinux-ae4593e20cef97c7323d522b40994a59425cd6d5.tar.gz alicelinux-ae4593e20cef97c7323d522b40994a59425cd6d5.zip | |
added xorg repo
Diffstat (limited to 'repos/xorg/xterm')
| -rw-r--r-- | repos/xorg/xterm/.files | 34 | ||||
| -rw-r--r-- | repos/xorg/xterm/abuild | 17 | ||||
| -rw-r--r-- | repos/xorg/xterm/depends | 2 | ||||
| -rw-r--r-- | repos/xorg/xterm/posix-ptys.patch | 21 |
4 files changed, 74 insertions, 0 deletions
diff --git a/repos/xorg/xterm/.files b/repos/xorg/xterm/.files new file mode 100644 index 00000000..95872204 --- /dev/null +++ b/repos/xorg/xterm/.files @@ -0,0 +1,34 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/koi8rxterm +-rwxr-xr-x root/root usr/bin/resize +-rwxr-xr-x root/root usr/bin/uxterm +-rwxr-xr-x root/root usr/bin/xterm +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/X11/ +drwxr-xr-x root/root usr/share/X11/app-defaults/ +-rw-r--r-- root/root usr/share/X11/app-defaults/KOI8RXTerm +-rw-r--r-- root/root usr/share/X11/app-defaults/KOI8RXTerm-color +-rw-r--r-- root/root usr/share/X11/app-defaults/UXTerm +-rw-r--r-- root/root usr/share/X11/app-defaults/UXTerm-color +-rw-r--r-- root/root usr/share/X11/app-defaults/XTerm +-rw-r--r-- root/root usr/share/X11/app-defaults/XTerm-color +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/koi8rxterm.1.gz +-rw-r--r-- root/root usr/share/man/man1/resize.1.gz +-rw-r--r-- root/root usr/share/man/man1/uxterm.1.gz +-rw-r--r-- root/root usr/share/man/man1/xterm.1.gz +drwxr-xr-x root/root usr/share/pixmaps/ +-rw-r--r-- root/root usr/share/pixmaps/filled-xterm_16x16.xpm +-rw-r--r-- root/root usr/share/pixmaps/filled-xterm_32x32.xpm +-rw-r--r-- root/root usr/share/pixmaps/filled-xterm_48x48.xpm +-rw-r--r-- root/root usr/share/pixmaps/mini.xterm_16x16.xpm +-rw-r--r-- root/root usr/share/pixmaps/mini.xterm_32x32.xpm +-rw-r--r-- root/root usr/share/pixmaps/mini.xterm_48x48.xpm +-rw-r--r-- root/root usr/share/pixmaps/xterm-color_16x16.xpm +-rw-r--r-- root/root usr/share/pixmaps/xterm-color_32x32.xpm +-rw-r--r-- root/root usr/share/pixmaps/xterm-color_48x48.xpm +-rw-r--r-- root/root usr/share/pixmaps/xterm_16x16.xpm +-rw-r--r-- root/root usr/share/pixmaps/xterm_32x32.xpm +-rw-r--r-- root/root usr/share/pixmaps/xterm_48x48.xpm diff --git a/repos/xorg/xterm/abuild b/repos/xorg/xterm/abuild new file mode 100644 index 00000000..bb99ad93 --- /dev/null +++ b/repos/xorg/xterm/abuild @@ -0,0 +1,17 @@ +name=xterm +version=390 +release=1 +source="https://invisible-mirror.net/archives/$name/$name-$version.tgz + posix-ptys.patch" +export TERMINFO=/usr/share/terminfo +build_opt="--with-app-defaults=/usr/share/X11/app-defaults --enable-freetype --enable-wide-chars --with-x" + +prebuild() { + sed -i '/v0/{n;s/new:/new:kb=^?:/}' termcap + printf '\tkbs=\\177,\n' >> terminfo +} + +postbuild() { + # exist in busybox + rm $PKG/usr/bin/resize +} diff --git a/repos/xorg/xterm/depends b/repos/xorg/xterm/depends new file mode 100644 index 00000000..921830a7 --- /dev/null +++ b/repos/xorg/xterm/depends @@ -0,0 +1,2 @@ +libxaw +fontconfig diff --git a/repos/xorg/xterm/posix-ptys.patch b/repos/xorg/xterm/posix-ptys.patch new file mode 100644 index 00000000..596699fd --- /dev/null +++ b/repos/xorg/xterm/posix-ptys.patch @@ -0,0 +1,21 @@ +diff -upr xterm-323.orig/main.c xterm-323/main.c +--- xterm-323.orig/main.c 2016-03-09 15:30:51.191053881 +0100 ++++ xterm-323/main.c 2016-03-09 15:31:17.961635229 +0100 +@@ -2654,7 +2654,7 @@ get_pty(int *pty, char *from GCC_UNUSED) + close(opened_tty); + opened_tty = -1; + } +-#elif defined(HAVE_POSIX_OPENPT) && defined(HAVE_PTSNAME) && defined(HAVE_GRANTPT_PTY_ISATTY) ++#elif defined(HAVE_POSIX_OPENPT) && defined(HAVE_PTSNAME) + if ((*pty = posix_openpt(O_RDWR)) >= 0) { + char *name = ptsname(*pty); + if (name != 0) { +@@ -3735,7 +3735,7 @@ spawnXTerm(XtermWidget xw) + /* + * now in child process + */ +-#if defined(_POSIX_SOURCE) || defined(SVR4) || defined(__convex__) || defined(__SCO__) || defined(__QNX__) ++#if defined(_POSIX_VERSION) || defined(SVR4) || defined(__convex__) || defined(__SCO__) || defined(__QNX__) + int pgrp = setsid(); /* variable may not be used... */ + #else + int pgrp = getpid(); |