[amaya-dev]Re: More questions abour the build system

On Saturday 14 October 2006 21:42, Régis Boudin wrote:
> Hi,
>
> I've been digging a bit through the build system, trying to clean up
> things a bit, and I have a couple of remarks/questions :

Thanks for doing this work.

> 1/According to what's in the configure.ac, plugins are not supported
> anymore. Would you be interested by a patch getting rid of references to
> it in in configure/Makefile.in files ?

Yes, that's a good idea.

> 2/ I noticed that the redland RDF library is only used with the
> bookmarks. The annotations module only needs the raptor library. Knowing
> this, what do you think of the following ideas
> * getting rid of the --enable-redland configuration flag, and
> automatically care about it if someone asks for the module needing it.
> * do the same with libraptor.
> * add a "--enable-system-raptor" flag which would make it possible to
> use the builtin redland with shared libraptor or link against a shared
> one without redland when it's not needed. I'm not certain about the
> "static raptor & shared redland" situation, however.

Normally we have to use static raptor & redland.

> 3/I started cleaning up the configure.ac file, rewriting the
> --enable-XXX flags to make a better use of the autoconf macros (standard
> display of options, default choice, etc...). If you are interested, I
> will be happy to try and continue on this.

Great.

> Also, to react on Hugh Sasse, I certainly second the request to have a
> tarball unpacking everything into a subdirectory. Though I'm trying to
> move away from the fullsrc archive for the Debian package, I was
> disappointed to end up with 5 directories the first time...

Yes, I agree with the Hugh request.
I guess we also have to generate two different fullsrc archives: one for 
Windows and another for Linux and MacOs platforms.
Today the fullsrc archive includes the Mesa library that is not needed on 
Windows platforms, and libraries that are only needed on Windows platforms 
(png, jpeg, freetype), but this should be prepared and experimented.

> I would also suggest to move to automake instead of the home-made
> Makefile.in, and would be happy to do some work on that.
>
> Attached is a patch which contains the following changes :
> -remove the "#include <redland.h>" where it's not needed
> -remove all references to the plugin module in
> configure.in/Makefile.in/Options.in
> -get rid tests against non-existing variables in configure.in
> -rewrite most of the --enable tests to make better use of the autoconf
> features.
>
> Any comment is more than welcome. Any suggestion whether I should
> continue to work on this sort of thing or not would be appreciated as
> well :).

Your work is very useful for us.
I suggest we generate binary distributions this week as we planned to do.
Then we prepare the new source distribution next week, so we have more time to 
complete and test it.

> Regards,
> Regis

Regards
     Irène.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France

Received on Monday, 16 October 2006 13:45:16 UTC