[csw-pkgsubmissions] newpkgs giflib, giflib_doc, giflib_rt, libungif

Roger Håkansson hson at opencsw.org
Fri Mar 12 18:17:39 CET 2010


Philip Brown wrote:
> On Fri, Mar 12, 2010 at 8:50 AM, Dagobert Michelsen <dam at opencsw.org> wrote:
>> Hi Phil,
> 
> *wave*
> 
> 
>> From the source:
>>
>>  * Module to dump graphic devices into a GIF file. Current supported
>> devices:
>> ...
>>  * 3. X11 using libX.a (#define __X11__).
>>
>> So you can directly grab X11 as gif. Something which you may or may not
>> want. I can
>> make a default without X11 and a full alternative which takes precedence if
>> installed.
>> Ok?
>>
>>
> 
> interesting. Okay, great.
> There are actually two ways you could do this.
> 
> 1. Actually do the whole "compile two separate versions of the
> library, put it in, and use alternatives"
> 
> 2. Compile a SINGLE, fully enabled library, but specify "lazy linking"
> for the X11 lib.
> Then in theory, the lib would only get used if the particular function
> needing it, gets called.
> I think.

Correct, imagmagick uses this for its modules, but only on sparc for 
some reason.
However, the package still need to have a dependency, otherwise the 
program will crash when you try to use that function...



More information about the pkgsubmissions mailing list