[csw-maintainers] Which x11 library to choose?

Maciej (Matchek) Blizinski maciej at opencsw.org
Mon Mar 8 19:16:03 CET 2010


On Mon, Mar 8, 2010 at 6:10 PM, Philip Brown <phil at bolthole.com> wrote:
> On Sat, Mar 6, 2010 at 3:47 AM, Maciej (Matchek) Blizinski
> <maciej at opencsw.org> wrote:
>>
>>> Otherwise we end up with the same problem as we have right now, some
>>> packages are linked with Sun X11 and some with OpenCSW X11 and when creating
>>> a package which is linked to libraries from both categories we get into
>>> trouble.
>>
>> Is it possible to assess how often there are libraries that are not
>> likely to be linked against?
>>
>> I'm asking, because I'm thinking that it might be a good candidate for
>> an automated check.
>
> I dont think its possible to make an automated check. Because it
> mostly boils down to you having to "magically know", if the library
> you are packaging, will ever be needed/wanted by a program that uses
> GNOME/gtk.
>
> Thus, the default presumtion these days, is "it needs CSW x11 libs,
> unless know know it wont".

The automated check could work as follows:

- if it's a binary, it's okay if it links against the Sun X11.
- if it's a library, throw an error if it links against the Sun X11.

If the maintainer knows it doesn't need to use X11 libs, the error tag
can be overriden.

Would such check make our packages better?


More information about the maintainers mailing list