[arch-commits] Commit in brltty/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Apr 15 15:46:28 UTC 2021


    Date: Thursday, April 15, 2021 @ 15:46:28
  Author: foutrelis
Revision: 412563

archrelease: copy trunk to staging-x86_64

Added:
  brltty/repos/staging-x86_64/
  brltty/repos/staging-x86_64/PKGBUILD
    (from rev 412562, brltty/trunk/PKGBUILD)
  brltty/repos/staging-x86_64/brltty-6.2-systemd_sysusers_groups.patch
    (from rev 412562, brltty/trunk/brltty-6.2-systemd_sysusers_groups.patch)
  brltty/repos/staging-x86_64/brltty.install
    (from rev 412562, brltty/trunk/brltty.install)

------------------------------------------+
 PKGBUILD                                 |   81 +++++++++++++++++++++++++++++
 brltty-6.2-systemd_sysusers_groups.patch |   46 ++++++++++++++++
 brltty.install                           |   12 ++++
 3 files changed, 139 insertions(+)

Copied: brltty/repos/staging-x86_64/PKGBUILD (from rev 412562, brltty/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2021-04-15 15:46:28 UTC (rev 412563)
@@ -0,0 +1,81 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Alexander Epaneshnikov <aarnaarn2 at gmail.com>
+# Contributor: Tom Gundersen <teg at jklm.no>
+# Contributor: Jan de Groot <jgc at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+
+pkgname=brltty
+pkgver=6.3
+pkgrel=2
+pkgdesc="Braille display driver for Linux/Unix"
+arch=('x86_64')
+url="https://brltty.app"
+license=('LGPL2.1')
+depends=('bluez-libs' 'gcc-libs' 'glibc' 'liblouis' 'libspeechd' 'pcre'
+'polkit' 'tcl')
+makedepends=('alsa-lib' 'at-spi2-atk' 'at-spi2-core' 'atk' 'cython' 'dbus'
+'dracut' 'espeak-ng' 'expat' 'festival' 'glib2' 'gpm' 'icu' 'java-environment'
+'libxaw' 'ncurses' 'ocaml-ctypes' 'ocaml-findlib' 'speech-dispatcher'
+'systemd-libs')
+optdepends=('at-spi2-core: X11/GNOME Apps accessibility'
+            'atk: ATK bridge for X11/GNOME accessibility'
+            'espeak-ng: espeak-ng driver'
+            'java-runtime: Java support'
+            'libxaw: X11 support'
+            'libxt: X11 support'
+            'libx11: for xbrlapi'
+            'libxfixes: for xbrlapi'
+            'libxtst: for xbrlapi'
+            'ocaml: OCaml support'
+            'python: Python support'
+            'speech-dispatcher: speech-dispatcher driver')
+provides=('libbrlapi.so')
+backup=(etc/brltty.conf)
+options=('!emptydirs')
+install=brltty.install
+source=("https://brltty.app/archive/${pkgname}-${pkgver}.tar.bz2"
+        "${pkgname}-6.2-systemd_sysusers_groups.patch"
+)
+sha512sums=('687fbb30703d4c9fd7b55d27fabecf26c58f7c032c82bcdee1405259da74f85516e268fc49d1bdb2f704b92532cf5c466712cc09b1a4ba5304d4e021af74b7b8'
+            '32ba91271e2247b4a330cd213ed75b591268cb99a79c2efd9ae675804faee027c6b2f782768cb2329a65fc914ca2400b2901f35ce1fc2522c6691b343799eb02')
+b2sums=('c321e1bdd6d7956620fa354edcf8eee0c8a0011ebfabb4cff98cb5a22c23d5667e6b73cbdbf282c9c36cc4d50ded4e147174c45da36e3fec03cc0a8d2121459a'
+        '036e36d558594bb06af1eb41ff5fc9ae52ccf4bad54556c3f4f81a5e2f31f574039835e5e756455527c327a73d563a3db54a9f32e3478545a2a22c2725aaeee2')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  patch -Np1 -i ../"${pkgname}-6.2-systemd_sysusers_groups.patch"
+  ./autogen
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc \
+              --localstatedir=/var \
+              --mandir=/usr/share/man \
+              --with-scripts-directory=/usr/lib/brltty \
+              --with-tables-directory=/usr/share/brltty \
+              --with-writable-directory=/run/brltty \
+              --enable-gpm \
+              --disable-stripping
+  make
+}
+
+package() {
+  depends+=('libasound.so' 'libdbus-1.so' 'libexpat.so' 'libgio-2.0.so'
+  'libglib-2.0.so' 'libgobject-2.0.so' 'libicuuc.so' 'libgpm.so'
+  'libncursesw.so' 'libsystemd.so')
+  cd "${pkgname}-${pkgver}"
+  make INSTALL_ROOT="${pkgdir}" install
+  make INSTALL_ROOT="${pkgdir}" install-systemd
+  make INSTALL_ROOT="${pkgdir}" install-udev
+  # dracut support may still be problematic
+  # https://bugs.archlinux.org/task/69424
+  # https://bugs.archlinux.org/task/69440
+  make INSTALL_ROOT="${pkgdir}" install-dracut
+  make INSTALL_ROOT="${pkgdir}" install-polkit
+  install -vDm 644 "Documents/${pkgname}.conf" -t "${pkgdir}/etc/"
+
+  # fix directory permission and ownership
+  install -vdm 750 -o root -g 102 "$pkgdir/usr/share/polkit-1/rules.d"
+}

Copied: brltty/repos/staging-x86_64/brltty-6.2-systemd_sysusers_groups.patch (from rev 412562, brltty/trunk/brltty-6.2-systemd_sysusers_groups.patch)
===================================================================
--- staging-x86_64/brltty-6.2-systemd_sysusers_groups.patch	                        (rev 0)
+++ staging-x86_64/brltty-6.2-systemd_sysusers_groups.patch	2021-04-15 15:46:28 UTC (rev 412563)
@@ -0,0 +1,46 @@
+diff -ruN a/Autostart/Systemd/brltty at .service.in b/Autostart/Systemd/brltty at .service.in
+--- a/Autostart/Systemd/brltty at .service.in	2020-12-11 23:51:58.000000000 +0100
++++ b/Autostart/Systemd/brltty at .service.in	2021-01-20 23:57:46.159394660 +0100
+@@ -83,8 +83,8 @@
+ 
+ # for serial I/O (/dev/ttyS<n>)
+ # probably only one of these should be uncommented
+-SupplementaryGroups=dialout
+-#SupplementaryGroups=uucp
++# SupplementaryGroups=dialout
++SupplementaryGroups=uucp
+ 
+ # for USB I/o via USBFS (/dev/bus/usb/*/*)
+ SupplementaryGroups=root
+@@ -93,7 +93,7 @@
+ SupplementaryGroups=audio
+ 
+ # for playing sound via the Pulse Audio daemon
+-SupplementaryGroups=pulse-access
++# SupplementaryGroups=pulse-access
+ 
+ # for monitoring keyboard input (/dev/input/*)
+ SupplementaryGroups=input
+diff -ruN a/Autostart/Systemd/sysusers b/Autostart/Systemd/sysusers
+--- a/Autostart/Systemd/sysusers	2020-11-29 13:35:32.000000000 +0100
++++ b/Autostart/Systemd/sysusers	2021-01-20 23:58:58.186157113 +0100
+@@ -30,8 +30,8 @@
+ 
+ # for serial I/O (/dev/ttyS<n>)
+ # probably only one of these should be uncommented
+-m brltty dialout
+-#m brltty uucp
++# m brltty dialout
++m brltty uucp
+ 
+ # for USB I/o (/dev/bus/usb/*/*)
+ m brltty root
+@@ -40,7 +40,7 @@
+ m brltty audio
+ 
+ # for playing sound via the Pulse Audio daemon
+-m brltty pulse-access
++# m brltty pulse-access
+ 
+ # for monitoring keyboard input (/dev/input/*)
+ m brltty input

Copied: brltty/repos/staging-x86_64/brltty.install (from rev 412562, brltty/trunk/brltty.install)
===================================================================
--- staging-x86_64/brltty.install	                        (rev 0)
+++ staging-x86_64/brltty.install	2021-04-15 15:46:28 UTC (rev 412563)
@@ -0,0 +1,12 @@
+post_install () {
+  [ ! -e /etc/brlapi.key ] && brltty-genkey
+  echo "Please add your user to the brlapi group."
+}
+
+post_upgrade () {
+  post_install
+}
+
+post_remove() {
+  [ -e /etc/brlapi.key ] && rm -v /etc/brlapi.key
+}



More information about the arch-commits mailing list