[liblouis-liblouisxml] SV: Re: Suggestion: -v version display in file2brl program

  • From: Bue Vester-Andersen <bue@xxxxxxxxxxxxxxxxxx>
  • To: <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Mon, 31 Mar 2014 16:56:50 +0200

Christian Egli writes:

But can't you get version info using ldd, i.e. ldd `which file2brl`?

Maybe on Linux, but definitely not in Windows. I have tried to check the 
version properties of the various dll files, but they are not revealed for some 
reason. Maybe because of the way the dlls are being cross-compiled.

Also, I think it would make good sense for file2brl and Braille Blaster to be 
able to show the version of its subcomponents. If you have more than one copy 
on your machine for some reason, it might not be easy to tell which version is 
being used. If you need to use a certain version (e.g. the newest) of LibLouis 
with a program, it would be nice to be able to verify that the program is 
actually using the given version.

I am mostly writing tables. So, I didn't know it could be that tricky to have a 
program display the version of its libraries together with its own version. 
Although it would be nice to have, their probably are more important things on 
which to spend a lot of time. I for one actually do have a couple of wishes for 
Liblouis that would ease the writing of the Danish tables a lot.

Best regards
Bue



-----Oprindelig meddelelse-----
Fra: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx 
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] På vegne af Christian Egli
Sendt: 31. marts 2014 10:53
Til: John J. Boyer
Cc: liblouis-liblouisxml@xxxxxxxxxxxxx
Emne: [liblouis-liblouisxml] Re: Suggestion: -v version display in file2brl 
program

"John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx> writes:

> liblouisutdml has a function lbu_version that displays both versions.
> There is a bug either in file2brl or in this function. BrailleBlaster
> should also be calling this function. However, I'm not sure it is in
> the Java bindings.

file2brl uses the version_etc function from the gnulib version-etc
module. It provides a standard way to provide version information. If
you also want the liblouis version info you would have to extend this.
But can't you get version info using ldd, i.e. ldd `which file2brl`?

Thanks
Christian


-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland

-----
SBS Leser, die neue Hoerbuch-App fuer iPhone und iPad. Mehr Infos unter 
http://online.sbs.ch
For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

For a description of the software, to download it and links to
project pages go to http://www.abilitiessoft.com

Other related posts: