[lokisetup] [PATCH] more control over static/dynamic linking

Ludwig Nussel ludwig.nussel at gmx.de
Sun Dec 19 06:31:23 EST 2004

Stephane Peter wrote:
> On Dec 16, 2004, at 2:46 PM, Ludwig Nussel wrote:
> >Stephane Peter wrote:
> >>OK, well since we did have code making use of GPM, I just fixed the
> >>detection so that it may be used. After all it is quite a useful
> >>feature of the dialog code that is there, and I see no compelling
> >>reason to remove it.
> >
> >It adds a dependency on libgpm. I suppose the ncurses version is
> >more often used over ssh rather than native linux console so there
> >probably isn't any benefit.
> Well it's a dependency on a small static library. Nothing much to worry 
> about, and when you are a console with mouse support, it is nice to 
> have.

Did you check whether it is designed to properly deal with different
versions of gpm? Does it open any config files that might change
syntax? Does it dlopen external libs? And then it's still GPL. If
you distribute a binary linked with it you have to provide the
source for yet another library. So IMHO gpm support is ok for an
external loki-setup but not for one in a makeself archive.

> >And while we are at it here is another patch for non-static libz.
> >Would probably cause unexpected effects if it's linked statically
> >and drawn in dynamically at the same time.
> Well I do care quite a lot about unexpected side effects. ;-) Your last 
> patch completely broke the static linking of GTK on non-Linux 
> platforms, which I critically needed for my own projects. I have fixed 
> this now, but it's still very delicate to alter the linking system 
> without breaking something.

A good reason to make a release and then clean up the mess.


(o_  Ludwig.Nussel at gmx.de
V_/_ PGP Key ID: FF8135CE

More information about the Lokisetup mailing list