On 05/13/2012 12:38 AM, Ragnar Thomsen wrote:
> On Sunday 13 May 2012 00:02:00 Armin K. wrote:
>>
>> checking for PTHREADSTUBS... yes
>>
>> is actually using pkg-config for checking for existence of
>> pthread-stubs.pc file which is provided by libpthread-stubs. It will
>> fail if that one is not installed. But no worries, that one is installed
>> with Xorg.
>>
>> Then:
>>
>> checking for CAIRO... yes
>>
>> it is used only in one test - tests/modetest/modetest.c and that one is
>> being run:
>>
>> Making all in modetest
>> make[3]: Entering directory `/home/armin/src/libdrm-2.4.34/tests/modetest'
>>     CC     modetest.o
>>     CCLD   modetest
>>
>> And this one:
>>
>> checking for native atomic primitives... Intel
>>
>> It can use native compiler primitives, in this case Intel - provided by
>> newer compilers (maybe) or fall back to libatomic-ops (checked in
>> configure.ac).
>>
>> Ones that are not listed are:
>>
>> checking for PCIACCESS... yes
>>
>> Is libpciaccess from Xorg Libraries. It is needed for libdrm_intel.
>>
>> Mentioned in intel/intel_bufmgr.c
>>
>> and as you said:
>>
>> checking for VALGRIND... no
>>
>> Optionally used by libdrm_intel to surpress false warnings.
>>
>> Introduced with
>>
>> http://cgit.freedesktop.org/mesa/drm/commit/?id=90b23cc24c19fbe131d84237c553
>> 11cafeb4ca21
>>
>> I did not bother to upgrade it, since it introduces major nouveau change
>> which will probably be available in linux 3.4.
>
> So I guess libpthreads and Xorg libraries should be required deps, while
> libatomic-ops, valgrind and cairo are optional. This sound about right?
> A note could be added that cairo is req for tests.
> Should we list pkg-config as a req dep as well?
>
> -Ragnar-
>

xorg libraries should be enough since it will pull pthread stubs via 
libxcb. As for the pkg-config, it should be set as required at protocol 
headers page since it is used for detection of util-macros. Also, libXau 
needs it to find protocol headers and such.

libatomic-ops are unnecesary if using new toolchain, and lfs stable has 
recent enough one so it can be removed from deps list.

As for cairo and valgrind, they can be set as optional with additional 
notes if desired.
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to