[gl2ps] lack of build system
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Sat Oct 3 02:04:54 CEST 2009
Dominik 'Rathann' Mierzejewski wrote:
> Hello all,
> I am a developer for Fedora Linux distribution. I made a package of gl2ps
> as a shared library, but the lack of build system and no ABI versioning
> meant I had to take care of that myself. So far there haven't been any
> incompatible ABI changes, but that could well change.
>
> To help solve this, I'm attaching a simple Makefile that builds gl2ps
> as a static and a shared library and allows keeping track of the ABI
> version. It's not a fully-fledged build system, but I think it's good
> enough for a start. Feel free to modify it in any way you please and
> distribute it with gl2ps.
>
> I'm also attaching a patch that changes calls to exit(3) to return NULL,
> because a shared library should never call exit(3) directly.
Hi Dominik - Thanks for the patch.
Instead of your makefile I just added our internal cmake configuration
file, which should do pretty much what you need. Let me know if some
things are missing...
http://geuz.org/gl2ps/src/gl2ps-nightly.tgz
Christophe
>
> Regards,
> R.
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gl2ps mailing list
> gl2ps at geuz.org
> http://www.geuz.org/mailman/listinfo/gl2ps
--
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine