Debian

Available patches from Ubuntu

To see Ubuntu differences wrt. to Debian, write down a grep-dctrl query identifying the packages you're interested in:
grep-dctrl -n -sPackage Sources.Debian
(e.g. -FPackage linux-ntfs or linux-ntfs)

Modified packages are listed below:

Debian ( Changelog | PTS | Bugs ) Ubuntu ( Changelog | txt | LP | Bugs ) | Diff from Ubuntu

Source: brltty

brltty (5.6-5ubuntu3) disco; urgency=medium * No-change rebuild for icu soname changes. -- Matthias Klose <doko@ubuntu.com> Tue, 13 Nov 2018 08:10:54 +0000 brltty (5.6-5ubuntu2) disco; urgency=medium * No-change rebuild to build without python3.6 support. -- Matthias Klose <doko@ubuntu.com> Sat, 03 Nov 2018 16:34:40 +0000 brltty (5.6-5ubuntu1) cosmic; urgency=medium * Merged fixes from Debian, including the patch to work with the current polkit version (lp: #1782320) -- Sebastien Bacher <seb128@ubuntu.com> Wed, 29 Aug 2018 09:46:17 +0200

Modifications :
  1. Download patch debian/brltty.postinst

    --- 5.6-5/debian/brltty.postinst 2017-06-27 23:44:58.000000000 +0000 +++ 5.6-5ubuntu3/debian/brltty.postinst 2018-05-18 16:19:51.000000000 +0000 @@ -9,6 +9,10 @@ fi #update-rc.d brltty start 10 23 . > /dev/null +if type update-initramfs >/dev/null 2>&1; then + update-initramfs -u +fi + # Recover from incorrect init.d script headers in version 4.0-8 and earlier if [ "$1" = "configure" ] && dpkg --compare-versions "$2" le "4.0-8" \ && [ -f /etc/rcS.d/S[0-9][0-9]brltty ] \
  2. Download patch debian/brltty.udev.rules

    --- 5.6-5/debian/brltty.udev.rules 1970-01-01 00:00:00.000000000 +0000 +++ 5.6-5ubuntu3/debian/brltty.udev.rules 2018-05-09 02:28:17.000000000 +0000 @@ -0,0 +1,134 @@ +# udev rules file for brltty +# + +ACTION!="add", GOTO="brltty_rules_end" + +SUBSYSTEM=="usb_device", GOTO="brltty_usb_begin" +SUBSYSTEM=="usb", KERNEL!="*:*", GOTO="brltty_usb_begin" +GOTO="brltty_rules_end" + +LABEL="brltty_usb_begin" + +# Alva +ATTRS{idVendor}=="06b0", ATTRS{idProduct}=="0001", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0798", ATTRS{idProduct}=="0624", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0798", ATTRS{idProduct}=="0640", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0798", ATTRS{idProduct}=="0680", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" + +# Baum +ATTRS{idVendor}=="0403", ATTRS{idProduct}=="fe70", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0403", ATTRS{idProduct}=="fe71", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0403", ATTRS{idProduct}=="fe72", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0403", ATTRS{idProduct}=="fe73", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0403", ATTRS{idProduct}=="fe74", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0403", ATTRS{idProduct}=="fe75", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0403", ATTRS{idProduct}=="fe76", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0403", ATTRS{idProduct}=="fe77", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="2000", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="2001", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="2002", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="2007", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="2008", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="2009", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="2010", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="2011", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="2014", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="2015", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="2016", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="3000", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="3001", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="4004", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="4005", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="4007", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="4008", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="6001", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="6002", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="6003", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="6004", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="6005", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="6006", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="6007", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="6008", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="6009", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="600a", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="6011", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="6012", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="6013", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="6101", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="6102", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0904", ATTRS{idProduct}=="6103", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" + +# BrailleNote +ATTRS{idVendor}=="1c71", ATTRS{idProduct}=="c004", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" + +# EuroBraille +ATTRS{idVendor}=="c251", ATTRS{idProduct}=="1122", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="c251", ATTRS{idProduct}=="1123", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="c251", ATTRS{idProduct}=="1124", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="c251", ATTRS{idProduct}=="1125", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="c251", ATTRS{idProduct}=="1126", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="c251", ATTRS{idProduct}=="1127", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="c251", ATTRS{idProduct}=="1128", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="c251", ATTRS{idProduct}=="1129", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="c251", ATTRS{idProduct}=="112a", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="c251", ATTRS{idProduct}=="112b", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="c251", ATTRS{idProduct}=="112c", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="c251", ATTRS{idProduct}=="112d", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="c251", ATTRS{idProduct}=="112e", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="c251", ATTRS{idProduct}=="112f", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="c251", ATTRS{idProduct}=="1130", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="c251", ATTRS{idProduct}=="1131", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="c251", ATTRS{idProduct}=="1132", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" + +# FreedomScientific +ATTRS{idVendor}=="0f4e", ATTRS{idProduct}=="0100", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0f4e", ATTRS{idProduct}=="0111", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0f4e", ATTRS{idProduct}=="0112", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0f4e", ATTRS{idProduct}=="0114", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" + +# Hedo +ATTRS{idVendor}=="0403", ATTRS{idProduct}=="de58", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0403", ATTRS{idProduct}=="de59", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" + +# HandyTech +ATTRS{idVendor}=="0921", ATTRS{idProduct}=="1200", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="1fe4", ATTRS{idProduct}=="0003", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="1fe4", ATTRS{idProduct}=="0044", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="1fe4", ATTRS{idProduct}=="0054", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="1fe4", ATTRS{idProduct}=="0055", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="1fe4", ATTRS{idProduct}=="0064", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="1fe4", ATTRS{idProduct}=="0074", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="1fe4", ATTRS{idProduct}=="0081", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="1fe4", ATTRS{idProduct}=="0082", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="1fe4", ATTRS{idProduct}=="0083", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="1fe4", ATTRS{idProduct}=="0084", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="1fe4", ATTRS{idProduct}=="0086", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="1fe4", ATTRS{idProduct}=="0087", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="1fe4", ATTRS{idProduct}=="008a", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="1fe4", ATTRS{idProduct}=="008b", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" + +# HIMS +ATTRS{idVendor}=="045e", ATTRS{idProduct}=="930a", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="045e", ATTRS{idProduct}=="930b", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" + +# HumanWare +ATTRS{idVendor}=="1c71", ATTRS{idProduct}=="c005", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="1c71", ATTRS{idProduct}=="c006", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" + +# BrailleMemo +ATTRS{idVendor}=="1148", ATTRS{idProduct}=="0301", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" + +# Metec +ATTRS{idVendor}=="0452", ATTRS{idProduct}=="0100", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" + +# Papenmeier +ATTRS{idVendor}=="0403", ATTRS{idProduct}=="f208", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" + +# Pegasus +ATTRS{idVendor}=="4242", ATTRS{idProduct}=="0001", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" + +# Voyager +ATTRS{idVendor}=="0798", ATTRS{idProduct}=="0001", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" +ATTRS{idVendor}=="0798", ATTRS{idProduct}=="0600", TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty-udev.service" + +LABEL="brltty_rules_end"
  3. Download patch debian/brltty-udeb.prebaseconfig

    --- 5.6-5/debian/brltty-udeb.prebaseconfig 2017-10-01 20:08:43.000000000 +0000 +++ 5.6-5ubuntu3/debian/brltty-udeb.prebaseconfig 2018-05-18 16:19:51.000000000 +0000 @@ -83,6 +83,7 @@ if [ -r $pid ] && kill -0 `cat $pid`; th if [ -f $file ]; then if grep brltty= $file >/dev/null ; then parse `cat "${file}"` >>/target/etc/brltty.conf + chroot /target systemctl enable brltty fi fi
  4. Download patch debian/brltty.preinst

    --- 5.6-5/debian/brltty.preinst 2017-06-27 23:44:58.000000000 +0000 +++ 5.6-5ubuntu3/debian/brltty.preinst 2018-05-18 16:19:51.000000000 +0000 @@ -7,6 +7,22 @@ do dpkg-maintscript-helper rm_conffile /etc/brltty/$i 4.4-9~ brltty -- "$@" done +# Make sure the brltty systemd service is disabled when upgrading from xenial +# or earlier, and disable it if upgrading from 5.3.1-2ubuntu4. +if [ "$1" = "upgrade" ]; then + if dpkg --compare-versions "$2" le "5.3.1-2ubuntu3"; then + if [ -f /etc/default/brltty ]; then + . /etc/default/brltty + fi + + if [ -n "$RUN_BRLTTY" ] && [ "$RUN_BRLTTY" = "no" ]; then + deb-systemd-helper disable brltty.service > /dev/null || true + fi + elif [ "$2" = "5.3.1-2ubuntu4" ]; then + deb-systemd-helper disable brltty.service > /dev/null || true + fi +fi + #DEBHELPER#
  5. Download patch debian/31brltty

    --- 5.6-5/debian/31brltty 1970-01-01 00:00:00.000000000 +0000 +++ 5.6-5ubuntu3/debian/31brltty 2018-05-09 02:28:17.000000000 +0000 @@ -0,0 +1,12 @@ +#! /bin/sh +set -e + +if egrep -q 'braille=ask|brltty' /proc/cmdline && [ -f /etc/brltty.conf ]; then + if [ -e /target/etc/brltty.conf ]; then + mv /target/etc/brltty.conf /target/etc/brltty.conf.orig + fi + cp -a /etc/brltty.conf /target/etc/brltty.conf + chroot /target systemctl enable brltty +fi + +exit 0
  6. Download patch debian/rules

    --- 5.6-5/debian/rules 2018-06-29 19:10:51.000000000 +0000 +++ 5.6-5ubuntu3/debian/rules 2018-05-18 16:19:51.000000000 +0000 @@ -26,7 +26,8 @@ CONFIGURE_OPTIONS = --mandir=/usr/share/ DEB_CONFIGURE_OPTIONS = --with-curses=ncursesw --disable-stripping -UDEB_CFLAGS=-Os -fomit-frame-pointer +DEB_CFLAGS= -I$(JAVA_HOME)/include -I$(JAVA_HOME)/include/linux +UDEB_CFLAGS=-Os -fomit-frame-pointer $(DEB_CFLAGS) UDEB_DISABLE=speech-support pcm-support midi-support fm-support \ contracted-braille api gpm iconv icu x polkit UDEB_CONFIGURE_OPTIONS=--with-braille-driver=-vr,all \ @@ -44,6 +45,8 @@ endif export JAVA_HOME=/usr/lib/jvm/default-java +PATH := $(JAVA_HOME)/bin:$(PATH) + binary: binary-indep binary-arch clean: @@ -172,9 +175,11 @@ brltty: build-brltty build-python for file in Drivers/Braille/*/README*; \ do cp $$file `pwd`/debian/$(PACKAGE)/usr/share/doc/brltty/`basename $$(dirname $$file)`.`basename $$file`; \ done - dh_systemd_enable -p$@ + cp debian/brltty.udev.rules debian/$@/lib/udev/rules.d/85-brltty.rules + dh_systemd_enable -p$@ --no-enable + dh_systemd_enable -p$@ --name=brltty-udev debian/brltty-udev.service # -r because we don't want to lose the console on an upgrade - dh_installinit -p$@ -r -- start 25 S . + # dh_installinit -p$@ --no-start # and likewise for systemd dh_systemd_start -p$@ --restart-after-upgrade dh_installchangelogs Documents/ChangeLog @@ -249,6 +254,7 @@ brltty-udeb: build-udeb cp debian/brltty-udeb.udev.rules debian/$@/lib/udev/rules.d/brltty.rules cp debian/brltty-udeb.udev.sh debian/$@/lib/udev/brltty.sh chmod +x debian/$@/lib/udev/brltty.sh + install -m755 debian/brltty-setup debian/$@/sbin/brltty-setup cp debian/brltty-udeb.sh debian/$@/lib/brltty/brltty.sh chmod +x debian/$@/lib/brltty/brltty.sh mkdir -p debian/$@/usr/share/brltty-udeb
  7. Download patch debian/initramfs/brltty.sh

    --- 5.6-5/debian/initramfs/brltty.sh 1970-01-01 00:00:00.000000000 +0000 +++ 5.6-5ubuntu3/debian/initramfs/brltty.sh 2018-05-09 02:28:17.000000000 +0000 @@ -0,0 +1,38 @@ +#! /bin/sh +set -e + +# A fake /lib/brltty/brltty.sh for the initramfs. Rather than actually +# starting brltty (which is problematic because brltty would have to be shut +# down and restarted when switching out of early userspace), we just write +# out a brltty.conf which will be copied over to the real root filesystem +# later. + +brailleDriver=auto +brailleDevice=usb: + +while [ "$1" ]; do + case $1 in + -b) + brailleDriver="$2" + shift 2 + ;; + -d) + brailleDevice="$2" + shift 2 + ;; + -*) + shift 2 + ;; + *) + shift + ;; + esac +done + +cat >/dev/.initramfs/brltty.conf <<EOF +# Created by $0 +braille-driver $brailleDriver +braille-device $brailleDevice +EOF + +exit 0
  8. Download patch debian/NEWS

    --- 5.6-5/debian/NEWS 2017-06-27 23:44:58.000000000 +0000 +++ 5.6-5ubuntu3/debian/NEWS 2018-05-18 16:19:51.000000000 +0000 @@ -7,12 +7,29 @@ brltty (5.4-1~1) experimental; urgency=m -- Samuel Thibault <sthibault@debian.org> Sat, 08 Oct 2016 16:36:31 +0200 +brltty (5.4-0ubuntu1) UNRELEASED; urgency=medium + + If you do not use a Braille display connected via USB, you now need to + enable BrlTTY by enabling the BrlTTY systemd service: sudo systemctl enable + brltty + + -- Luke Yelavich <luke@buffalo> Wed, 17 Aug 2016 12:36:16 +1000 + brltty (3.10~r3654-1) experimental; urgency=low Support for Unicode (UTF-8) has been added. -- Mario Lang <mlang@debian.org> Fri, 11 Apr 2008 19:39:06 +0200 +brltty (3.7.2-7ubuntu1) feisty; urgency=low + + * In order for brltty to run from the init script, you must now set + RUN_BRLTTY=yes in /etc/default/brltty. (This is not required for + non-serial USB devices, for which brltty is started automatically by + udev.) + + -- Colin Watson <cjwatson@ubuntu.com> Wed, 7 Feb 2007 17:16:31 +0000 + brltty (3.7.2-1) unstable; urgency=low Prior to this version, braille driver/device
  9. Download patch debian/brltty.install

    --- 5.6-5/debian/brltty.install 2018-06-29 19:10:51.000000000 +0000 +++ 5.6-5ubuntu3/debian/brltty.install 2018-05-18 16:19:51.000000000 +0000 @@ -11,3 +11,7 @@ debian/initramfs/hooks/brltty usr/share/ debian/initramfs/scripts/init-premount/brltty usr/share/initramfs-tools/scripts/init-premount debian/tmp/usr/share/polkit-1/actions debian/tmp/usr/share/metainfo +debian/initramfs/scripts/init-top/brltty usr/share/initramfs-tools/scripts/init-top +debian/initramfs/brltty.sh usr/share/brltty/initramfs +debian/brltty-setup sbin +debian/31brltty usr/lib/ubiquity/target-config
  10. Download patch debian/control

    --- 5.6-5/debian/control 2018-07-17 07:49:16.000000000 +0000 +++ 5.6-5ubuntu3/debian/control 2018-08-29 07:48:06.000000000 +0000 @@ -1,7 +1,8 @@ Source: brltty Section: admin Priority: optional -Maintainer: Debian Accessibility Team <pkg-a11y-devel@lists.alioth.debian.org> +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> +XSBC-Original-Maintainer: Debian Accessibility Team <pkg-a11y-devel@lists.alioth.debian.org> Uploaders: Samuel Thibault <sthibault@debian.org> Vcs-Browser: https://anonscm.debian.org/git/pkg-a11y/brltty.git Vcs-Git: https://anonscm.debian.org/git/pkg-a11y/brltty.git @@ -31,8 +32,8 @@ X-Python3-Version: >= 3.2 Package: brltty Architecture: any -Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.2-14), policykit-1 -Recommends: python +Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base (>= 3.2-14), policykit-1, initramfs-tools (>= 0.40ubuntu30) [linux-any] +Recommends: python3 Replaces: libbrlapi1 (<< 3.7.2-7.1) Suggests: brltty-speechd, brltty-x11, console-braille
  11. Download patch debian/brltty.sh

    --- 5.6-5/debian/brltty.sh 1970-01-01 00:00:00.000000000 +0000 +++ 5.6-5ubuntu3/debian/brltty.sh 2018-05-09 02:28:17.000000000 +0000 @@ -0,0 +1,5 @@ +#!/bin/sh +pid=/var/run/brltty +[ -r $pid ] && kill -0 `cat $pid` && exit 0 +exec /bin/brltty -P $pid "$@" +
  12. Download patch debian/brltty-udeb.dirs

    --- 5.6-5/debian/brltty-udeb.dirs 2018-06-29 19:10:51.000000000 +0000 +++ 5.6-5ubuntu3/debian/brltty-udeb.dirs 2018-05-18 16:19:51.000000000 +0000 @@ -4,4 +4,5 @@ lib/brltty lib/debian-installer.d lib/debian-installer-startup.d lib/udev +sbin/ usr/lib/finish-install.d
  13. Download patch debian/brltty-udeb.init

    --- 5.6-5/debian/brltty-udeb.init 2017-06-27 23:44:58.000000000 +0000 +++ 5.6-5ubuntu3/debian/brltty-udeb.init 2018-05-18 16:19:51.000000000 +0000 @@ -1,5 +1,6 @@ #!/bin/sh -if grep -q brltty /proc/cmdline -then +if grep -q braille=ask /proc/cmdline; then + brltty-setup || true +elif grep -q brltty /proc/cmdline; then /lib/brltty/brltty.sh -E fi
  14. Download patch debian/brltty-udeb.udev.rules

    --- 5.6-5/debian/brltty-udeb.udev.rules 2018-06-29 19:10:51.000000000 +0000 +++ 5.6-5ubuntu3/debian/brltty-udeb.udev.rules 2018-05-18 16:19:51.000000000 +0000 @@ -15,9 +15,9 @@ LABEL="brltty_usb_begin" # Generic identifiers # We disable the at, ce, and mm drivers: these devices are very rare, and detection # conflicts with ht or sk devices. -ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{manufacturer}=="FTDI", RUN+="/lib/udev/brltty.sh -b hm,ht -d usb:" -ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", ATTRS{manufacturer}=="Silicon Labs", RUN+="/lib/udev/brltty.sh -b sk -d usb:" -ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea80", ATTRS{manufacturer}=="Silicon Laboratories", RUN+="/lib/udev/brltty.sh -b sk -d usb:" +#ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{manufacturer}=="FTDI", RUN+="/lib/udev/brltty.sh -b hm,ht -d usb:" +#ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60", ATTRS{manufacturer}=="Silicon Labs", RUN+="/lib/udev/brltty.sh -b sk -d usb:" +#ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea80", ATTRS{manufacturer}=="Silicon Laboratories", RUN+="/lib/udev/brltty.sh -b sk -d usb:" # Alva
  15. Download patch debian/initramfs/scripts/init-premount/brltty

    --- 5.6-5/debian/initramfs/scripts/init-premount/brltty 2018-06-29 19:10:51.000000000 +0000 +++ 5.6-5ubuntu3/debian/initramfs/scripts/init-premount/brltty 2018-05-18 16:19:51.000000000 +0000 @@ -1,5 +1,6 @@ #!/bin/sh +OPTION=FRAMEBUFFER PREREQ="udev" prereqs() { @@ -15,9 +16,6 @@ esac [ -x /bin/brltty ] || exit 0 -[ -d /proc/bus/usb ] && mount -t usbfs usbfs /proc/bus/usb -cp /proc/mounts /etc/mtab - # Start BRLTTY if [ -r /etc/brltty.conf ]; then /bin/brltty -eqN 2>/dev/tty2
  16. Download patch debian/brltty-setup

    --- 5.6-5/debian/brltty-setup 1970-01-01 00:00:00.000000000 +0000 +++ 5.6-5ubuntu3/debian/brltty-setup 2018-05-09 02:28:17.000000000 +0000 @@ -0,0 +1,60 @@ +#! /bin/sh +set -e + +# Exits zero if a device was configured, otherwise non-zero. + +cat <<EOF +=== BRAILLE CONFIGURATION === + +Please specify the type of braille device you wish to configure. +See http://access.ubuntu.com/braille for details. +Note that USB devices not connected via a USB serial converter will be +detected automatically, so if you have one of these you can press X. + +B - Bluetooth +S - Serial +U - USB serial +X - Exit +EOF +printf "Device type (b/s/u/x): " +read device_type +echo + +case "$device_type" in + [bB]) + echo "== Bluetooth device configuration ==" + echo + printf "Bluetooth device address: " + read b_address + echo + echo "Configuring bluetooth braille device on address" \ + "$b_address" + /lib/brltty/brltty.sh -b auto -d "bluetooth:$b_address" + ;; + [sS]) + echo "== Serial device configuration ==" + echo + printf "Serial port (0-9 for ttyS0-9): " + read s_port + printf "Device type (brltty model code): " + read s_model echo + echo "Configuring serial braille device on ttyS$s_port" + /lib/brltty/brltty.sh -b "$s_model" -d "serial:ttyS$s_port" + ;; + [uU]) + echo "== USB serial device configuration ==" + echo + printf "USB serial port: " + read u_port + printf "Device type (brltty model code): " + read u_model + echo + echo "Configuring serial braille device on ttyUSB$u_port" + /lib/brltty/brltty.sh -b "$u_model" -d "serial:ttyUSB$u_port" + ;; + *) + exit 1 + ;; +esac + +exit 0
  17. Download patch debian/initramfs/scripts/init-top/brltty

    --- 5.6-5/debian/initramfs/scripts/init-top/brltty 1970-01-01 00:00:00.000000000 +0000 +++ 5.6-5ubuntu3/debian/initramfs/scripts/init-top/brltty 2018-05-09 02:28:17.000000000 +0000 @@ -0,0 +1,22 @@ +#! /bin/sh +set -e + +OPTION=FRAMEBUFFER +PREREQ="framebuffer console_setup" + +prereqs () { + echo "$PREREQ" +} + +case $1 in + prereqs) + prereqs + exit 0 + ;; +esac + +if grep -q braille=ask /proc/cmdline; then + brltty-setup || true +fi + +exit 0
  18. Download patch debian/brltty-udev.service

    --- 5.6-5/debian/brltty-udev.service 1970-01-01 00:00:00.000000000 +0000 +++ 5.6-5ubuntu3/debian/brltty-udev.service 2018-05-09 02:28:17.000000000 +0000 @@ -0,0 +1,29 @@ +[Unit] + +Description=Braille Device Support +Documentation=man:brltty(1) +Documentation=http://brltty.com/ + +DefaultDependencies=no +StopWhenUnneeded=true + +RequiresMountsFor=/var/lib/brltty + + +[Service] + +Type=notify +ExecStart=/sbin/brltty -n -p /var/run/brltty.pid + +TimeoutStartSec=5 +TimeoutStopSec=10 + +Restart=always +RestartSec=30 + +Nice=-10 +OOMScoreAdjust=-900 + +ProtectHome=read-only +ProtectSystem=full +SystemCallArchitectures=native
  19. Download patch debian/initramfs/hooks/brltty.in

    --- 5.6-5/debian/initramfs/hooks/brltty.in 2018-06-29 19:10:51.000000000 +0000 +++ 5.6-5ubuntu3/debian/initramfs/hooks/brltty.in 2018-05-18 16:19:51.000000000 +0000 @@ -1,5 +1,6 @@ #!/bin/sh -e +OPTION=FRAMEBUFFER PREREQS="" prereqs() { echo "$PREREQS"; } @@ -35,4 +36,9 @@ if [ "$START_IN_INITRAMFS" = "true" -o " manual_add_modules uinput echo "done" +else + mkdir -p $DESTDIR/lib/brltty + copy_exec /usr/share/brltty/initramfs/brltty.sh /lib/brltty + mkdir -p $DESTDIR/sbin + copy_exec /sbin/brltty-setup /sbin fi
  20. Download patch debian/brltty.dirs

    --- 5.6-5/debian/brltty.dirs 2018-06-29 19:10:51.000000000 +0000 +++ 5.6-5ubuntu3/debian/brltty.dirs 2018-05-18 16:19:51.000000000 +0000 @@ -1,4 +1,8 @@ etc/brltty lib/brltty +lib/udev/rules.d +usr/lib/ubiquity/target-config +usr/share/brltty/initramfs usr/share/initramfs-tools/hooks +usr/share/initramfs-tools/scripts/init-top usr/share/initramfs-tools/scripts/init-premount
  1. brltty