diff options
Diffstat (limited to 'testing/brltty')
-rw-r--r-- | testing/brltty/PKGBUILD | 50 | ||||
-rwxr-xr-x | testing/brltty/brltty | 68 | ||||
-rw-r--r-- | testing/brltty/brltty.conf | 2 | ||||
-rw-r--r-- | testing/brltty/brltty.install | 20 | ||||
-rw-r--r-- | testing/brltty/brltty.service | 12 |
5 files changed, 0 insertions, 152 deletions
diff --git a/testing/brltty/PKGBUILD b/testing/brltty/PKGBUILD deleted file mode 100644 index 76d9f9466..000000000 --- a/testing/brltty/PKGBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# $Id: PKGBUILD 167187 2012-09-26 22:24:47Z tomegun $ -# Maintainer: -# Contributor: Jan de Groot <jgc@archlinux.org> -# Contributor: Giovanni Scafora <giovanni@archlinux.org> - -pkgname=brltty -pkgver=4.3 -pkgrel=6 -pkgdesc="Braille display driver for Linux/Unix" -arch=('i686' 'x86_64') -url="http://mielke.cc/brltty" -license=('GPL' 'LGPL') -depends=('libxaw' 'at-spi2-core' 'gpm' 'icu' 'python2' 'tcl' 'atk' 'libxtst' 'pyrex') -makedepends=('bluez') -optdepends=('bluez: bluetooth support') -backup=(etc/brltty.conf etc/conf.d/brltty.conf) -options=('!makeflags' '!emptydirs') -install=brltty.install -source=(http://mielke.cc/$pkgname/releases/$pkgname-$pkgver.tar.gz - 'brltty' - 'brltty.conf' - 'brltty.service') - -build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --localstatedir=/var \ - --with-screen-driver=a2 \ - --enable-gpm \ - --disable-java-bindings \ - --disable-caml-bindings \ - PYTHON=/usr/bin/python2 - - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make INSTALL_ROOT="$pkgdir" install - install -D -m755 "$srcdir/brltty" "$pkgdir/etc/rc.d/brltty" - install -D -m644 "$srcdir/brltty.conf" "$pkgdir/etc/conf.d/brltty.conf" - install -D -m644 Documents/brltty.conf "$pkgdir/etc/brltty.conf" - install -D -m644 "$srcdir/brltty.service" "$pkgdir/usr/lib/systemd/system/brltty.service" -} -md5sums=('5ada573f88df32b6150db3b9a620e20b' - '831ebaf0c56091702929c68805d20c4f' - 'a8ab8b3dd059e96e1734bc9cdcf844fc' - '7acecd700b9f94d76fe4a6ad56cb0448') diff --git a/testing/brltty/brltty b/testing/brltty/brltty deleted file mode 100755 index 5ed21a52d..000000000 --- a/testing/brltty/brltty +++ /dev/null @@ -1,68 +0,0 @@ -#!/bin/bash - -daemon_name=brltty - -. /etc/rc.conf -. /etc/rc.d/functions -. /etc/conf.d/$daemon_name.conf - -get_pid() { - pidof -o %PPID $daemon_name -} - -case "$1" in - start) - stat_busy "Starting $daemon_name daemon" - - PID=$(get_pid) - if [ -z "$PID" ]; then - [ -f /var/run/$daemon_name.pid ] && rm -f /var/run/$daemon_name.pid - # RUN - $daemon_name $brltty_args - # - if [ $? -gt 0 ]; then - stat_fail - exit 1 - else - echo $(get_pid) > /var/run/$daemon_name.pid - add_daemon $daemon_name - stat_done - fi - else - stat_fail - exit 1 - fi - ;; - - stop) - stat_busy "Stopping $daemon_name daemon" - PID=$(get_pid) - # KILL - [ ! -z "$PID" ] && kill $PID &> /dev/null - # - if [ $? -gt 0 ]; then - stat_fail - exit 1 - else - rm -f /var/run/$daemon_name.pid &> /dev/null - rm_daemon $daemon_name - stat_done - fi - ;; - - restart) - $0 stop - sleep 3 - $0 start - ;; - - status) - stat_busy "Checking $daemon_name status"; - ck_status $daemon_name - ;; - - *) - echo "usage: $0 {start|stop|restart|status}" -esac - -exit 0 diff --git a/testing/brltty/brltty.conf b/testing/brltty/brltty.conf deleted file mode 100644 index 94115e1d5..000000000 --- a/testing/brltty/brltty.conf +++ /dev/null @@ -1,2 +0,0 @@ -# Specify any arguments to pass to brltty here. -brltty_args=""
\ No newline at end of file diff --git a/testing/brltty/brltty.install b/testing/brltty/brltty.install deleted file mode 100644 index 952ae58ff..000000000 --- a/testing/brltty/brltty.install +++ /dev/null @@ -1,20 +0,0 @@ -post_install () { - getent group brlapi &>/dev/null || groupadd -r brlapi - if [ ! -e /etc/brlapi.key ]; then - mcookie >/etc/brlapi.key - chmod 0640 /etc/brlapi.key - chgrp brlapi /etc/brlapi.key - echo "Please add your user to the brlapi group." - fi -} - -post_upgrade () { - post_install -} - -post_remove () { - getent group brlapi >/dev/null 2>&1 && groupdel brlapi - if [ -e /etc/brlapi.key ]; then - rm -f /etc/brlapi.key - fi -} diff --git a/testing/brltty/brltty.service b/testing/brltty/brltty.service deleted file mode 100644 index 1b9d55e32..000000000 --- a/testing/brltty/brltty.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Braille Console Driver -DefaultDependencies=no -Before=sysinit.target - -[Service] -ExecStart=/usr/bin/brltty --pid-file=/run/brltty.pid -Type=forking -PIDFile=/run/brltty.pid - -[Install] -WantedBy=multi-user.target |