Add xfce4-terminal and required dependency libvte. Tested on Android 9 device. Fixes issue #158.

This commit is contained in:
Florian Fischer 2019-11-16 20:34:31 +01:00 committed by Yaksh Bariya
parent 5730b9d736
commit 9ba19a9ae5
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
3 changed files with 37 additions and 0 deletions

15
x11-packages/libvte/build.sh Executable file
View File

@ -0,0 +1,15 @@
TERMUX_PKG_HOMEPAGE=https://gitlab.gnome.org/GNOME/vte/
TERMUX_PKG_DESCRIPTION="Virtual Terminal library"
TERMUX_PKG_LICENSE="GPL-3.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
TERMUX_PKG_VERSION=0.58.2
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://download.gnome.org/sources/vte/${TERMUX_PKG_VERSION:0:4}/vte-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=33c966d2b1f2c3b0f9416dbca883fd746159b5bd040350e3b78f8104b2a42bc0
TERMUX_PKG_DEPENDS="gtk3, libgnutls, fribidi, pcre2"
TERMUX_PKG_RM_AFTER_INSTALL="lib/locale"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-Dgir=false -Dvapi=false"
termux_step_pre_configure() {
CXXFLAGS+=" -DLINE_MAX=_POSIX2_LINE_MAX"
}

View File

@ -0,0 +1,12 @@
diff -uNr vte-0.58.2/src/vte.cc vte-0.58.2-mod/src/vte.cc
--- vte-0.58.2/src/vte.cc 2019-10-11 12:53:07.000000000 +0200
+++ vte-0.58.2-mod/src/vte.cc 2019-11-16 20:00:24.144300789 +0100
@@ -29,6 +29,8 @@
#ifdef HAVE_SYS_TERMIOS_H
#include <sys/termios.h>
#endif
+#include <termios.h>
+#include <unistd.h>
#include <glib.h>
#include <glib/gi18n-lib.h>

View File

@ -0,0 +1,10 @@
TERMUX_PKG_HOMEPAGE=https://docs.xfce.org/apps/terminal/start
TERMUX_PKG_DESCRIPTION="Terminal Emulator for the XFCE environment"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
TERMUX_PKG_VERSION=0.8.8
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://archive.xfce.org/src/apps/xfce4-terminal/${TERMUX_PKG_VERSION:0:3}/xfce4-terminal-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=8fba6a60d3a0fee07417ad7c36bf78cc45be1b27f0759e125051aa73f08487fd
TERMUX_PKG_DEPENDS="desktop-file-utils, exo, hicolor-icon-theme, garcon, libxfce4ui, xfconf, libvte"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--enable-gtk3"