From 37606179a9771eb819868d3a026c7d756d2544a8 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Thu, 21 Jan 2016 10:20:26 -0500 Subject: [PATCH] Add abduco and dvtm packages --- packages/abduco/build.sh | 9 +++++++++ packages/dvtm/build.sh | 9 +++++++++ packages/dvtm/vt.c.patch | 28 ++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100644 packages/abduco/build.sh create mode 100644 packages/dvtm/build.sh create mode 100644 packages/dvtm/vt.c.patch diff --git a/packages/abduco/build.sh b/packages/abduco/build.sh new file mode 100644 index 000000000..c6fe107a9 --- /dev/null +++ b/packages/abduco/build.sh @@ -0,0 +1,9 @@ +TERMUX_PKG_HOMEPAGE=http://www.brain-dump.org/projects/abduco/ +TERMUX_PKG_DESCRIPTION="Clean and simple terminal session manager" +TERMUX_PKG_VERSION=0.5 +TERMUX_PKG_SRCURL=http://www.brain-dump.org/projects/abduco/abduco-${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_DEPENDS="libutil,dvtm" + +export PREFIX=$TERMUX_PREFIX +CFLAGS+=" $CPPFLAGS" diff --git a/packages/dvtm/build.sh b/packages/dvtm/build.sh new file mode 100644 index 000000000..3775ec75f --- /dev/null +++ b/packages/dvtm/build.sh @@ -0,0 +1,9 @@ +TERMUX_PKG_HOMEPAGE=http://www.brain-dump.org/projects/dvtm/ +TERMUX_PKG_DESCRIPTION="Terminal tiling window manager" +TERMUX_PKG_VERSION=0.15 +TERMUX_PKG_SRCURL=http://www.brain-dump.org/projects/dvtm/dvtm-${TERMUX_PKG_VERSION}.tar.gz +TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_DEPENDS="libutil, ncurses" + +export PREFIX=$TERMUX_PREFIX +CFLAGS+=" $CPPFLAGS" diff --git a/packages/dvtm/vt.c.patch b/packages/dvtm/vt.c.patch new file mode 100644 index 000000000..e1dcaea98 --- /dev/null +++ b/packages/dvtm/vt.c.patch @@ -0,0 +1,28 @@ +diff -u -r ../dvtm-0.15/vt.c ./vt.c +--- ../dvtm-0.15/vt.c 2016-01-09 06:40:56.000000000 -0500 ++++ ./vt.c 2016-01-21 08:09:47.457953606 -0500 +@@ -21,7 +21,9 @@ + #include + #include + #include ++#ifndef __ANDROID__ + #include ++#endif + #include + #include + #include +@@ -1309,10 +1311,14 @@ + + static void is_utf8_locale(void) + { ++#ifdef __ANDROID__ ++ is_utf8 = true; ++#else + const char *cset = nl_langinfo(CODESET); + if (!cset) + cset = "ANSI_X3.4-1968"; + is_utf8 = !strcmp(cset, "UTF-8"); ++#endif + } + + static wchar_t get_vt100_graphic(char c)