summaryrefslogtreecommitdiff
path: root/repo/apps/xterm
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/apps/xterm
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/apps/xterm')
-rw-r--r--repo/apps/xterm/posix-ptys.patch21
-rw-r--r--repo/apps/xterm/xterm.xibuild63
2 files changed, 0 insertions, 84 deletions
diff --git a/repo/apps/xterm/posix-ptys.patch b/repo/apps/xterm/posix-ptys.patch
deleted file mode 100644
index 596699f..0000000
--- a/repo/apps/xterm/posix-ptys.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-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();
diff --git a/repo/apps/xterm/xterm.xibuild b/repo/apps/xterm/xterm.xibuild
deleted file mode 100644
index 6350155..0000000
--- a/repo/apps/xterm/xterm.xibuild
+++ /dev/null
@@ -1,63 +0,0 @@
-#!/bin/sh
-
-MAKEDEPS="make"
-DEPS="libxft libxaw ncurses luit xbitmaps libxkbfile"
-
-DESC="X Terminal Emulator"
-
-PKG_VER=371
-SOURCE=ftp://ftp.invisible-island.net/xterm/xterm-$PKG_VER.tgz
-ADDITIONAL="
- posix-ptys.patch
-"
-
-prepare () {
- apply_pacthes
- sed -i '/v0/{n;s/new:/new:kb=^?:/}' termcap &&
- printf '\tkbs=\\177,\n' >> terminfo &&
-
- export TERMINFO=/usr/share/terminfo
-}
-
-build () {
- ./configure \
- $XORG_CONFIG \
- --prefix=/usr \
- --sysconfdir=/etc \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --localstatedir=/var \
- --with-x \
- --disable-full-tgetent \
- --disable-imake \
- --enable-ansi-color \
- --enable-88-color \
- --enable-256-color \
- --enable-broken-osc \
- --enable-broken-st \
- --enable-load-vt-fonts \
- --enable-i18n \
- --enable-wide-chars \
- --enable-doublechars \
- --enable-warnings \
- --enable-tcap-query \
- --enable-logging \
- --enable-dabbrev \
- --enable-freetype \
- --enable-luit \
- --enable-mini-luit \
- --enable-narrowproto \
- --enable-exec-xterm \
- --enable-sixel-graphics \
- --with-tty-group=tty \
- --with-utempter
- make
-}
-
-package () {
- make DESTDIR=$PKG_DEST install
- make DESTDIR=$PKG_DEST install-ti
-
- mkdir -p $PKG_DEST/usr/share/applications &&
- cp *.desktop $PKG_DEST/usr/share/applications/
-}