[BRLTTY] Brltty woes on Centos 7

Adrian van Bloois adrian at pa0rda.nl
Tue Feb 28 11:51:17 EST 2017


On Tue, Feb 28, 2017 at 10:22:50AM -0500, Dave Mielke wrote:
> [quoted lines by Keith Wessel on 2017/02/28 at 08:26 -0600]
> 
> >While the version of brltty that Centos provides works, it lacks a couple
> >things. 
> 
> And, if you're using a laptop on battery power, 4.5 is much less friendly to 
> that battery than 5 is.
> 
> >First, I can't, for anything, get any sound out of it for alert
> >tunes. After looking at its dependencies, I noticed it didn't have alsa libs
> >listed. Could it be that the Centos-distributed version (brltty-4.5-13.el7)
> >doesn't have any sound support other than the beeper device?
> 
> Do ldd on the brltty executable to see which libraries it's using.
> 
> >So, I tried the brltty-5.4 RPM available for download from brltty.com. I
> >really wanted to move to Brltty V5, anyway. I run it at home on a Gentoo
> >system, and I like a number of the changes including the new button mappings
> >for my PowerBraille 80. Sadly, it's looking for, among other things, libicu
> >4.9. Centos 7 comes with 5.0. Sigh.
> 
> Best, really, to build brltty for yourself. That way, you can specifically 
> configure it for the system you have.
> 
> >Next stop, the source RPM. Try to build my own. I attempt to add the many
> >dependencies required to build the RPM: 23 that I didn't yet have. However,
> >one can't be met: gcc-java. It's not available in RHEL and Centos 7 that I
> >can see.
> 
> You can configure with --disable-java-bindings. That shouldn't cause any 
> problems. Again, though, doing that may require a non-RPM build. Get the 
> tarball - not the rpm - and build from that.
> 
> >Can anyone point me to a binary RPM of Brltty for Centos 7 that has ALSA
> >support for PCM alert tunes? Or perhaps the Centos one does and I'm just not
> >configuring something right? I tried many times this week to make it work.
> 
> I myself am not familiar with CentOS 7. Maybe someone else on this list is.
yes, I'm running CentOS 7.3 since a couple of months.
As Dave suggests,  use the tarball!!!
Attached is my brltty.service which differs from the one from the rpm or
the one from the tarball.
My configure script is like this:
./configure \
	--prefix=/usr/local \
	--sysconfdir=/etc \
	--datadir=//usr/local/share \
	--localstatedir=/var \
	--disable-java-bindings \
	--disable-tcl-bindings \
	--disable-lisp-bindings \
	--disable-ocaml-bindings \
	--with-braille-driver=YOURDISPLAYDRIVER \
	--with-curses=ncurses \
	--with-screen-driver=lx
> 
> >Alternatively, can anyone make suggestions for building the srpm? What
> >changes might I need to make to the configure command-line to not need
> >gcc-java, 
> 
> As mentioned above: Build from the tarball, and configure with 
> --disable-java-bindings.
> 
> >and would might I lose if I left that out? 
> 
> Only the functinality of anything that relies on the Java bindings for BrlAPI. 
> I don't think there are any major public apps that do.
> 
> >Would that hurt any of the Gnome/Orca brlapi integration?
> 
> No. They use the Python bindings.
> 
> -- 
> Dave Mielke           | 2213 Fox Crescent | The Bible is the very Word of God.
> Phone: 1-613-726-0014 | Ottawa, Ontario   | http://Mielke.cc/bible/
> EMail: Dave at Mielke.cc | Canada  K2A 1H7   | http://FamilyRadio.org/
> _______________________________________________
> This message was sent via the BRLTTY mailing list.
> To post a message, send an e-mail to: BRLTTY at brltty.com
> For general information, go to: http://brltty.com/mailman/listinfo/brltty

-- 
	Adri P. van Bloois


"Elegance is not a dispensable luxury but a factor that decides between 
 success and failure."
	Edsger W. Dijkstra


More information about the BRLTTY mailing list