[liblouis-liblouisxml] Re: Louis

  • From: "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Mon, 25 Jan 2010 13:53:06 -0600

Christian,

Thanks for your detailed reply. I would hesitate to use gnulib in the 
libraries, since it is GPL.

John

On Mon, Jan 25, 2010 at 11:54:27AM +0100, Christian Egli wrote:
> Hi 
> 
> This is very exciting. I'd love to see liblouis running on ARM.
> 
> > On Fri, Jan 22, 2010 at 07:40:50AM -0500, Ken Perry wrote:
> >>    We
> >>    have to restage everything so I ran into a problem with the man files.  
> >> It
> >>    seems that it can't find one of the man files if I change the install
> >>    locations from the default.  I was able to hack around this to get a 
> >> build
> >>    by just removing man from the targets in the Makefile after the 
> >> configure
> >>    stage. 
> 
> Can you tell me more what exactly the problem was? Do you do
> cross-compilation? It might well be that there is a problem in the build
> system that doesn't manifest itself on the platform I'm building.
> 
> >>    First make sure all paths can be reconfigured it seems like they can but
> >>    it doesn't seem to work perfectly and that might be that the build 
> >> system
> >>    was just changed in the last release to include the man and docs.
> 
> Yes the build system was changed to include man pages. It shouldn't
> build the man pages if help2man is not installed. But again I need to
> know more details about the problem.
> 
> >>    Second I think some more configuration options might need to be added 
> >> for
> >>    example I am building this package for a small platform.  What is needed
> >>    is to be able to pass in some config options and tell it I just want to
> >>    build the library not the tests, docs, man, 
> 
> That is no problem. We can do that. However are you sure this saves you
> a lot of disk space? The tests are not installed, the tools only take up
> about 150k on my system. The docs (including man pages) are probably
> about 300k. As a temporary measure you could probably just specify /tmp
> as an installation directory for doc and man (--docdir=/tmp and
> --mandir=/tmp) and delete them after installation.
> 
> >>    GNULib is so I am not sure if I need it or not.  
> 
> Gnulib is a portability library so in theory you should benefit from it
> :-). At the moment it is only used for the tools but I was thinking of
> also making use of it for the library so we could get rid of some of the
> "#ifdef plaform_foo" in the code.
> 
> >>    I probably need all the tables 
> 
> The tables do take a lot of space and I don't know of you need all of
> them. The more you install the more languages you support.
> 
> >>    but it might be good if you can cherry pick which of the packages
> >>    you are installing. So maybe there should be a with and with-out
> >>    option for each of the folders.
> 
> I don't understand what you mean by "packages", but I'm all in favor of
> more with and with-out options.
> 
> >>    I am not a big auto config tools person I am wondering how hard it is to
> >>    do what I suggested above with doing the with and without statements. I
> >>    code in just about any language so I can pick stuff up quick but it 
> >> would
> >>    be helpful if I had an example of how to go about doing this do you have
> >>    suggested documentation on the autogen tools and how to twiddle with it?
> 
> Autotools can be a bit intimidating at first, but once you get the hang
> of it I think it is not such a big deal. Have a look at the automake
> documentation (http://sources.redhat.com/automake/automake.html) and
> especially the Usage of conditionals
> (http://sources.redhat.com/automake/automake.html#Usage-of-Conditionals)
> which has examples. One example of how this is used currently can be
> found in configure.ac for the use of help2man.
> 
> What you suggest above is not very hard. It is more of a question of how
> much configurability do we want to allow. This makes sense for users
> like you that need this flexibility but might confuse the casual user.
> 
> I'd wholeheartedly welcome any patches that make liblouis work better on
> ARM. If you need any help let us know.
> 
> Thanks
> Christian
> -- 
> Christian Egli
> Swiss Library for the Blind, Visually Impaired and Print Disabled
> Grubenstrasse 12, CH-8045 Z??rich, Switzerland
> For a description of the software and to download it go to
> http://www.jjb-software.com

-- 
John J. boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin 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: