1

[alpine-aports] [PATCH] testing/mlterm: New aport

Marian Buschsieweke
Details
Message ID
<20180416155346.25423-1-marian.buschsieweke@ovgu.de>
Sender timestamp
1523894026
DKIM signature
missing
Download raw message
Patch: +37 -0
http://mlterm.sourceforge.net/
Mlterm is a multilingual terminal emulator on X11.

According to a recent LWN article [1], mlterm performs quite excellent
regarding input latency. As input latency can result in lower typing speed and
increases eye strain, muscle strain and the error rate, mlterm might be even
interesting for those who don't care about multilingual features.

[1]: https://lwn.net/Articles/751763/
---
 testing/mlterm/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 testing/mlterm/APKBUILD

diff --git a/testing/mlterm/APKBUILD b/testing/mlterm/APKBUILD
new file mode 100644
index 0000000000..f11a89093b
--- /dev/null
+++ b/testing/mlterm/APKBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Marian Buschsieweke <marian.buschsieweke@ovgu.de>
+pkgname=mlterm
+pkgver=3.8.5
+pkgrel=0
+pkgdesc="Mlterm is a multilingual terminal emulator on X11"
+url="http://mlterm.sourceforge.net/"
+arch="all"
+license="BSD"
+makedepends="libx11-dev fribidi-dev cairo-dev"
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+	cd "$builddir"
+	./configure \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--target=$CTARGET \
+		--with-pic \
+		--disable-static \
+		--disable-ssh2 \
+		--disable-image \
+		--disable-dl-ctl \
+		--enable-optimize-redrawing
+	make all
+}
+
+package() {
+	cd "$builddir"
+	make DESTDIR="$pkgdir" install
+	# Fix permissions
+	chmod 755 "$pkgdir/usr/bin/mlterm"
+}
+sha512sums="c43a121ed6572bdd4501a6b27f54df65ff2c09682485c7902c5cbd6b4be64f35efcf8cce3923d77afc412d681a390edc240a6a2503478ea97e0c4953e0b807a7  mlterm-3.8.5.tar.gz"
-- 
2.17.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Leonardo Arena
Details
Message ID
<CAGG_d8BsM-YnDODpCOkZ49RJf0WQszU254xuSynC_sQDGsozNg@mail.gmail.com>
In-Reply-To
<20180416155346.25423-1-marian.buschsieweke@ovgu.de> (view parent)
Sender timestamp
1531833316
DKIM signature
missing
Download raw message
Hi,

sorry for the wait.

On Mon, Apr 16, 2018 at 5:53 PM, Marian Buschsieweke <
marian.buschsieweke@ovgu.de> wrote:

> http://mlterm.sourceforge.net/
> Mlterm is a multilingual terminal emulator on X11.
>
> According to a recent LWN article [1], mlterm performs quite excellent
> regarding input latency. As input latency can result in lower typing speed
> and
> increases eye strain, muscle strain and the error rate, mlterm might be
> even
> interesting for those who don't care about multilingual features.
>
> [1]: https://lwn.net/Articles/751763/
> ---
>  testing/mlterm/APKBUILD | 37 +++++++++++++++++++++++++++++++++++++
>  1 file changed, 37 insertions(+)
>  create mode 100644 testing/mlterm/APKBUILD
>
>

It fails to build for me with:


 gcc -Os -fomit-frame-pointer -Os -fomit-frame-pointer -DUSE_UTMPX
"-DLIBEXECDIR=\"/usr/libexec\"" "-DBINDIR=\"/usr/bin\"" -I. -c
bl_pty_bsd.c  -fPIC -DPIC -o .libs/bl_pty_bsd.o
../libtool --mode=compile gcc   -Os -fomit-frame-pointer -Os
-fomit-frame-pointer  -DUSE_UTMPX -DLIBEXECDIR=\"/usr/libexec\"
-DBINDIR=\"/usr/bin\" -I. -c bl_dlfcn_dl.c
bl_pty_bsd.c: In function 'bl_pty_fork':
bl_pty_bsd.c:177:20: error: 'CEOF' undeclared (first use in this function)
   tio.c_cc[VEOF] = CEOF;


Thanks!

/eo