summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
Diffstat (limited to 'user')
-rw-r--r--user/lcov/APKBUILD27
-rw-r--r--user/os-prober/APKBUILD50
-rw-r--r--user/tmux/APKBUILD8
-rw-r--r--user/tmux/xterm-DECLRMM.patch23
4 files changed, 105 insertions, 3 deletions
diff --git a/user/lcov/APKBUILD b/user/lcov/APKBUILD
new file mode 100644
index 000000000..94bc30eb5
--- /dev/null
+++ b/user/lcov/APKBUILD
@@ -0,0 +1,27 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=lcov
+pkgver=1.14
+pkgrel=0
+pkgdesc="Graphical frontend for GCC GCov"
+url="http://ltp.sourceforge.net/coverage/lcov.php"
+arch="noarch"
+license="GPL-2.0+"
+depends="perl"
+makedepends=""
+subpackages="$pkgname-doc"
+source="https://downloads.sourceforge.net/ltp/lcov-$pkgver.tar.gz"
+
+build() {
+ make
+}
+
+check() {
+ make test
+}
+
+package() {
+ GIT_DIR= make PREFIX=/usr DESTDIR="$pkgdir" install
+}
+
+sha512sums="2d60c3a63e300dda96171c432fe304840acc76bf6275f60934d08e80765f9f85671e8b77bfed758fc45842a80156586dc0d67c42c9f215f4f163840fc5cf65bc lcov-1.14.tar.gz"
diff --git a/user/os-prober/APKBUILD b/user/os-prober/APKBUILD
new file mode 100644
index 000000000..65ff5061b
--- /dev/null
+++ b/user/os-prober/APKBUILD
@@ -0,0 +1,50 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=os-prober
+pkgver=1.77
+pkgrel=0
+pkgdesc="Utility to detect operating systems on hard drives"
+url="http://joeyh.name/code/os-prober/"
+arch="all"
+options="!check" # No test suite.
+license="GPL-2.0+ AND GPL-1.0+"
+depends="/bin/sh"
+makedepends=""
+subpackages=""
+source="http://deb.debian.org/debian/pool/main/o/os-prober/os-prober_$pkgver.tar.xz"
+
+build() {
+ make
+}
+
+package() {
+ case $CTARGET_ARCH in
+ i486|i586|pmmx|x86*)
+ PROBE_ARCH=x86;;
+ ppc*)
+ PROBE_ARCH=powerpc;;
+ sparc*)
+ PROBE_ARCH=sparc;;
+ *)
+ PROBE_ARCH=$CTARGET_ARCH;;
+ esac
+ for probes in os-probes os-probes/mounted os-probes/init \
+ linux-boot-probes linux-boot-probes/mounted; do
+ mkdir -p "$pkgdir/usr/lib/$probes"
+ for file in $probes/common/*; do
+ install -Dm644 $file "$pkgdir/usr/lib/$probes"
+ done
+ if [ -e "$probes/${PROBE_ARCH}" ]; then
+ install -Dm644 $probes/${PROBE_ARCH}/* \
+ "$pkgdir/usr/lib/$probes"
+ fi
+ done
+ mkdir -p "$pkgdir"/usr/lib/os-prober "$pkgdir"/usr/bin
+ mkdir -p "$pkgdir"/usr/share/os-prober
+ install -Dm755 newns "$pkgdir"/usr/lib/os-prober/
+ install -Dm755 os-prober "$pkgdir"/usr/bin/
+ install -Dm755 linux-boot-prober "$pkgdir"/usr/bin/
+ install -Dm644 common.sh "$pkgdir"/usr/share/os-prober/
+}
+
+sha512sums="4d9c22ccc4d950644a06a17ec4424aca5ff82aeb20052dc389dd451b6b9a1799c5a9438644a29093153730af42066abbbbb78f593f2564314c9adbd43f60e39b os-prober_1.77.tar.xz"
diff --git a/user/tmux/APKBUILD b/user/tmux/APKBUILD
index 12caf643d..eed2ea5e2 100644
--- a/user/tmux/APKBUILD
+++ b/user/tmux/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer:
pkgname=tmux
pkgver=2.9a
-pkgrel=0
+pkgrel=1
pkgdesc="Tool to control multiple terminals from a single terminal"
url="https://tmux.github.io/"
arch="all"
@@ -10,7 +10,8 @@ license="MIT"
depends="ncurses-terminfo"
makedepends="bsd-compat-headers libevent-dev libutempter-dev ncurses-dev"
subpackages="$pkgname-doc"
-source="https://github.com/tmux/tmux/releases/download/$pkgver/$pkgname-$pkgver.tar.gz"
+source="https://github.com/tmux/tmux/releases/download/$pkgver/$pkgname-$pkgver.tar.gz
+ xterm-DECLRMM.patch"
build() {
./configure \
@@ -37,4 +38,5 @@ package() {
done
}
-sha512sums="aca6882688727c10c5647443fdd18bbd6c0f80b7a3bf9667903d1b89d523e604cd715f176f33f2e5673258f00e626a6dc273f80fe97ae4f91621814d89985713 tmux-2.9a.tar.gz"
+sha512sums="aca6882688727c10c5647443fdd18bbd6c0f80b7a3bf9667903d1b89d523e604cd715f176f33f2e5673258f00e626a6dc273f80fe97ae4f91621814d89985713 tmux-2.9a.tar.gz
+7fb006f8f24d60614fcaeadace933c2ad6674d2476980736a830f63a40d7110638942478322336849d47707c99ab7de0cb01ff39806a4c9144650daf2f666773 xterm-DECLRMM.patch"
diff --git a/user/tmux/xterm-DECLRMM.patch b/user/tmux/xterm-DECLRMM.patch
new file mode 100644
index 000000000..b9bef3455
--- /dev/null
+++ b/user/tmux/xterm-DECLRMM.patch
@@ -0,0 +1,23 @@
+From 26f274011096b9eacfd2753d8f7afcb63e796ab9 Mon Sep 17 00:00:00 2001
+From: nicm <nicm>
+Date: Thu, 1 Aug 2019 11:45:34 +0000
+Subject: [PATCH] xterm 348 now disables margins when resized, so send DECLRMM
+ again.
+
+---
+ tty.c | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/tty.c b/tty.c
+index ab1da9fd3..024aef271 100644
+--- a/tty.c
++++ b/tty.c
+@@ -1879,6 +1879,8 @@ tty_invalidate(struct tty *tty)
+ tty->rlower = tty->rright = UINT_MAX;
+
+ if (tty->flags & TTY_STARTED) {
++ if (tty_use_margin(tty))
++ tty_puts(tty, "\033[?69h"); /* DECLRMM */
+ tty_putcode(tty, TTYC_SGR0);
+
+ tty->mode = ALL_MODES;