[liblouis-liblouisxml] Re: liblouisxml and Autotools

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Sat, 29 Mar 2008 00:20:43 -0500

Eitan,

Thanks much for taking on this task! I am answering your questions in 
the body of your message below.

On Fri, Mar 28, 2008 at 05:17:21PM -0700, Eitan Isaacson wrote:
> John,
> 
> Thanks for those pointers. I started working on a local autotooled copy,
> it is looking promising.
> 
> I have a few questions about the current liblouisxml tarball that you
> could hopefully clear up:
> - A bunch of files in lbx_files seem to be tables that exist in
> liblouis. Could we eliminate them, and have all braille translation
> tables only in liblouis?
No. the tables in lbx_files are actually used. The ones in liblouis are 
only for testing and reference. The tables in lbx_files are kept 
up-to-date. That is net necessarily true of the tables in the moreTables 
subdirectory of liblouis. In fact, that subdirectory might be eliminated 
and the tables provided in another way.

> - louis.h exists in the "src" directory, this seems to be a copy of
> liblouis's public header. My autotooled version automatically pics up
> the path to the installed header. Could we get rid of this? It will also
> eliminate the 2 or 4 byte character problem.
Yes. liblouisxml inherits 2 or 4-byte characters from liblouis.

> - There are a bunch of files that exist both in the doc directory and
> the lbx_files directory, for example the cfg files and the *.sem files.
> Could we consolidate them into the lbx directory? If not could we give
> them another name? maybe prefix them with example_ if the are supposed
> to be examples.
They are examples. However, since they are in a different directory I 
didn't think it was necessary to change the file names. It might be a 
good idea.

> - The tarball had a compiled binary in lbx_files called makenemethdefs.
> I assume this was a mistake, and if anything only the source file should
> be there.
Both the binary and the source can be elimitated. They were used in 
early developmnt.

> - There are some files in lbx_files ending in ".p", should they be
> there?
No. they are fragments used in development. Also get rid of any files 
that begin "old_". I'll have to do a better job of getting rid of junk.

> - I hope to find a way for autogenerating sem_names.h like you did you
> your tarball, in the meantime, it is distributed statically.
That is ok for now. My updates will always have the latest semnames.h 
anyway.

> - Also a nice feature would be proper cfg file search paths: First look
> for cfg files in the CWD, then the users home directory under
> ".louisxml", and if nothing is found - go to the system default in
> "/etc". Obviously this will only work well in POSIX platforms, I'll
> think of something for Windows too.
The choices.h file is supposed to give a choice of where liblouisxml 
will look for files and even allow changing the name of the lbx_files 
directory. It was introduced to make assigning paths in a web 
application easier.

Thanks,
John

> 
> Cheers,
>       Eitan.
> 
> On Fri, 2008-03-28 at 13:10 -0500, John J. Boyer wrote:
> > Eitan,
> > 
> > liblouisxml has two dependencies, libxml2 and liblouis. I think libxml2 
> > also requires iconv. I was working on shell commands to test for these 
> > dependencies when I got involved with other commitments.
> > 
> > John
> > 
> > On Fri, Mar 28, 2008 at 10:25:18AM -0700, Eitan Isaacson wrote:
> > > On Fri, 2008-03-28 at 08:53 +0100, Lars Bj??rndal wrote:
> > > > Maybe you are also willing to make liblouisxml autotooled and SVN-ed?
> > > > That would be great, I think!
> > > 
> > > Now that you mention it, I'll get to it sooner rather than later!
> > > 
> > > For a description of the software and to download it go to
> > > http://www.jjb-software.com
> > 
> 
> For a description of the software and to download it go to
> http://www.jjb-software.com

-- 
John J. boyer; President, Chief Software Developer
JJB Software, Inc.
http://www.jjb-software.com
Madison, WI USA
Developing software for people with disabilities

For a description of the software and to download it go to
http://www.jjb-software.com

Other related posts: