[Buildroot] [PATCH v2] New package: ImLib2

Yegor Yefremov yegor_sub1 at visionsystems.de
Wed Oct 12 09:59:11 UTC 2011


Am 12.10.2011 11:53, schrieb Thomas Petazzoni:
> Le Wed, 12 Oct 2011 11:44:46 +0200,
> Yegor Yefremov <yegor_sub1 at visionsystems.de> a écrit :
>
>>> The dependencies on X.org are quite a mess these days. Maybe
>>> packages depend on xserver-xorg_server, while they should depend on
>>> the X11 libraries that they require.
>> O.K. BR2_PACKAGE_XSERVER_XORG_SERVER definitely specifies that
>> libXext is to be selected. 
> Yes, but technically speaking, all X11 client libraries and programs
> should *not* depend on the X.org server, but rather on the needed X11
> libraries. For several reasons:
>
>  *) Because technically, the clients don't require the server to
>     already be built ;
>
>  *) Because if one day, we manage to enable parallel building of
>     packages, it is great to have correct dependencies ;
>
>  *) Because you can imagine a setup in which you build several X11
>     client libraries and programs, but not the X server, and the
>     X applications display their windows to a remote X server, which is
>     not built by Buildroot.

O.K. I make ImLib2 depend on libXext. Du to the fact, that libX11 is selected by libXext I don't need this additional dependency.

For feh I then make 2 dependencies: 

BR2_PACKAGE_XLIB_LIBXINERAMA
BR2_PACKAGE_XLIB_LIBXT

Yegor




More information about the buildroot mailing list