FS#15565 - [brltty] rc.d scripts request

Attached to Project: Arch Linux
Opened by Zachary Kline (zkline) - Saturday, 18 July 2009, 17:19 GMT
Last edited by Giovanni Scafora (giovanni) - Sunday, 19 July 2009, 19:11 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
Hi,
It would be very much appreciated if brltty were provided with a script in /etc/rc.d.
It is intended to be a daemon and thus such a script makes sense to integrate with the rest of the Arch daemon and init system.
This task depends upon

Closed by  Giovanni Scafora (giovanni)
Sunday, 19 July 2009, 19:11 GMT
Reason for closing:  Fixed
Comment by Giovanni Scafora (giovanni) - Saturday, 18 July 2009, 17:58 GMT
Hi Roman,

sorry but I don't use this software, I only upgraded it to the new version.
Comment by Roman Kyrylych (Romashka) - Saturday, 18 July 2009, 18:00 GMT
ah, didn't know that
Comment by Roman Kyrylych (Romashka) - Saturday, 18 July 2009, 18:05 GMT
@Zachary: since you appear to be the one using brltty - can you make a rc.d script and test it so it's known to work?
You can find the prototype here: http://projects.archlinux.org/?p=abs.git;a=blob_plain;f=prototypes/rc-script.proto;hb=HEAD
Comment by Giovanni Scafora (giovanni) - Saturday, 18 July 2009, 18:10 GMT
@Zachary: I have no time for that, but if you can make a rc.d script and if it works, I can add it.
Comment by Zachary Kline (zkline) - Saturday, 18 July 2009, 20:45 GMT
Hi,
The script attached here seems to work. Note that I also created a /etc/brltty.conf file, not attached, to get this to work fully.
Best,
Zack.
   brltty (1.1 KiB)
Comment by Roman Kyrylych (Romashka) - Saturday, 18 July 2009, 20:52 GMT
I guess conf.d/brltty.conf sets $brltty_args. Please attach it too (with args that should be considered as default).
Comment by Zachary Kline (zkline) - Saturday, 18 July 2009, 21:04 GMT
Done.
I did everything in /etc/brltty.conf, which is customized for my own system.
I'd recommend other users of the package do it the same way. Incidentally, there's a sample brltty.conf file in the docs/ directory of the upstream source apparently.
Comment by Giovanni Scafora (giovanni) - Saturday, 18 July 2009, 23:38 GMT
Done!
Just pushed brltty-4.0-2 for i686 and x86_64.
Please, test it and let me know.
Comment by Zachary Kline (zkline) - Sunday, 19 July 2009, 18:53 GMT
Hi,
This seems to work.
I don't have any actual display hardware to use with it yet.
The tty driver does what it's supposed to though.
There's an ugly warning message in the configuration stage about tclConfig.sh.
Do we want to have yet another dependency for the sake of a tcl binding, or do we want to disable that particular configuration option?
Leaving it on doesn't prevent building, it just looks ugly to my way of thinking.
Thoughts?
Best,
Zack.
Comment by Giovanni Scafora (giovanni) - Sunday, 19 July 2009, 18:57 GMT
I've built brltty-4.0-2 without tcl and ocaml deps.
If you think that I should build brltty with these deps, I can do it.
Let me know.
Comment by Zachary Kline (zkline) - Sunday, 19 July 2009, 19:01 GMT
I haven't personally got any use for either binding.
My vote is leave it without: anybody who wants them can rebuild it themselves easy enough.
Comment by Giovanni Scafora (giovanni) - Sunday, 19 July 2009, 19:10 GMT
OK, thanks Zack.

Loading...