The older version uses #liblouis's data files, but assumes liblouis is already installed. It also assumes that liblouis is installed in one particular place, so isn't very portable - it will fail at the whim of a platform's package manager or depending on whether you installed liblouis via the package manager or from source. The new version bundles the data files with the code and can always find them, so it works no matter whether you're on #Linux, a Mac, #IllumOS, or anything in between. 2/3
I realise that bundling the data isn't quite ideal, but this was a quick fix to get it working. I've added creating an #XS binding and a #PerlAlien jobby for liblouis to my to-do list, and once that's done App::Brl2Brl can switch to using that instead of bundled data. 3/3
As promised, this bundles the data files with the module. The module will use the bundled copy by default so you will need to periodically update them.
The user can over-ride the default by either ...
David Cantrell π
in reply to David Cantrell π • • •David Cantrell π
in reply to David Cantrell π • • •Gene Boggs
in reply to David Cantrell π • • •Mark Gardner
in reply to David Cantrell π • • •Nicely done! https://github.com/larsbjorndal/App-Brl2Brl/pull/1
How did you get in touch with Lars in the first place?
Bundle liblouis data files with the module by DrHyde Β· Pull Request #1 Β· larsbjorndal/App-Brl2Brl
GitHubPerl reshared this.
David Cantrell π
in reply to Mark Gardner • • •Perl reshared this.