diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-04-02 15:18:20 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-04-03 08:42:38 +0200 |
commit | a8a410eda74399b7726b50ff1748e3daafdc9069 (patch) | |
tree | 16af9213d2641bf8587d9872077009cca936e6c1 /testing | |
parent | 9ae5e44177a1d3024512270da005114289b2b895 (diff) | |
download | aports-a8a410eda74399b7726b50ff1748e3daafdc9069.tar.bz2 aports-a8a410eda74399b7726b50ff1748e3daafdc9069.tar.xz |
community/drawterm: move from testing
Diffstat (limited to 'testing')
-rw-r--r-- | testing/drawterm/APKBUILD | 54 | ||||
-rw-r--r-- | testing/drawterm/fix-off-by-one.patch | 14 | ||||
-rw-r--r-- | testing/drawterm/respect-env.patch | 22 |
3 files changed, 0 insertions, 90 deletions
diff --git a/testing/drawterm/APKBUILD b/testing/drawterm/APKBUILD deleted file mode 100644 index 9e59c11810..0000000000 --- a/testing/drawterm/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> -# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net> -pkgname=drawterm -pkgver=20170119 -pkgrel=2 -pkgdesc="Connect to Plan 9 CPU servers from other operating systems" -url="http://drawterm.9front.org/" -arch="all !armhf !aarch64" -license="custom" -depends="" -options="!check" -makedepends="linux-headers libx11-dev libxt-dev" -install="" -subpackages="$pkgname-dbg" -source="http://dev.alpinelinux.org/archive/$pkgname/$pkgname-$pkgver.tar.gz - fix-off-by-one.patch - respect-env.patch" - -_srcurl="https://code.9front.org/hg/$pkgname" -_srcrev="169f32a871c9" - -builddir="$srcdir"/$pkgname-$pkgver -snapshot() { - mkdir -p "$srcdir" && cd "$srcdir" - - hg clone "$_srcurl" $pkgname-$pkgver \ - -r "$_srcrev" - hg --cwd "$pkgname-$pkgver" archive \ - -t tgz \ - -X ".hg*" \ - -p $pkgname-$pkgver/ \ - "$srcdir"/$pkgname-$pkgver.tar.gz - - scp "$srcdir"/$pkgname-$pkgver.tar.gz \ - dev.alpinelinux.org:/archive/$pkgname/ -} - -build() { - CONF=unix make X11INC=/usr/include/X11 \ - X11LIB=/usr/lib/X11 \ - -C "$builddir" -} - -package() { - cd "$builddir" - install -Dm755 $pkgname \ - "$pkgdir"/usr/bin/$pkgname - install -Dm644 LICENSE \ - "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} - -sha512sums="fec2895bd01940cd91ed6c4b73fd13ec6a55c5a5b2241f48430a73af44e6e4c649819a2ee9feee1880d4bf27ab007a229c6b5170039b73f1f19f8b0e6d04c510 drawterm-20170119.tar.gz -dc57264470e2ab583c7dfbb6451b9fcea47e37a24bdeb7e512ab50a0321f086b471dbe08b2d13514c7842e084f5fdf078f917a19e62bd6aaceb2e199e8169374 fix-off-by-one.patch -be42c27a550b49f13fa26cdd698fb4d8387d989141cae1a3671deceb82b9286c9f73772ec9731698c7ecef69949381f9eda8af1dc1d9957fa373752e52f809bb respect-env.patch" diff --git a/testing/drawterm/fix-off-by-one.patch b/testing/drawterm/fix-off-by-one.patch deleted file mode 100644 index a1b6d5dc33..0000000000 --- a/testing/drawterm/fix-off-by-one.patch +++ /dev/null @@ -1,14 +0,0 @@ -upstream url: https://code.9front.org/hg/drawterm/rev/fbf56ef73faf - -diff -upr drawterm-20170119.orig/kern/devmouse.c drawterm-20170119/kern/devmouse.c ---- drawterm-20170119.orig/kern/devmouse.c 2017-01-30 09:18:21.250082979 +0100 -+++ drawterm-20170119/kern/devmouse.c 2017-01-30 09:18:40.093373597 +0100 -@@ -122,7 +122,7 @@ mouseclose(Chan *c) - long - mouseread(Chan *c, void *va, long n, vlong offset) - { -- char buf[4*12+1]; -+ char buf[1+4*12+1]; - Mousestate m; - uchar *p; - int b; diff --git a/testing/drawterm/respect-env.patch b/testing/drawterm/respect-env.patch deleted file mode 100644 index 7bf5db6810..0000000000 --- a/testing/drawterm/respect-env.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -upr drawterm-20170119.orig/Make.unix drawterm-20170119/Make.unix ---- drawterm-20170119.orig/Make.unix 2017-01-23 22:41:27.402630694 +0100 -+++ drawterm-20170119/Make.unix 2017-01-23 22:41:43.879309573 +0100 -@@ -5,12 +5,15 @@ AR=ar - AS=as - RANLIB=ranlib - X11=/usr/X11R6 --CC=gcc --CFLAGS=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11)/include -D_THREAD_SAFE $(PTHREAD) -O2 -+X11INC=$(X11)/include -+X11LIB=$(X11)/lib -+CC?=gcc -+CFLAGS?=-O2 -+CFLAGS+=-Wall -Wno-missing-braces -ggdb -I$(ROOT) -I$(ROOT)/include -I$(ROOT)/kern -c -I$(X11INC) -D_THREAD_SAFE $(PTHREAD) - O=o - OS=posix - GUI=x11 --LDADD=-L$(X11)/lib64 -L$(X11)/lib -lX11 -ggdb -+LDADD=-L$(X11LIB) -lX11 -ggdb - LDFLAGS=$(PTHREAD) - TARG=drawterm - # AUDIO=none |