Apologies if this has been raised, considered, and discarded before.
As things stand, the order in which the XCB-related packages are installed
is as follows:
* xcb-proto-1.13
* libxcb-1.13.1
* Xorg Libraries
* xcb-util-0.4.0
* xcb-util-image-0.4.0
* xcb-util-keysyms-0.4.0
* xcb-util-renderutil-0.3.9
* xcb-util-wm-0.4.1
* xcb-util-cursor-0.1.3
I note that the commands used to install the xcb-util packages are
the same CMMI set for all six of them, bar xcb-util-image only, in
having a test suite.
I believe that would be possible to combine the installation of those
last six packages into a form that matches the Libraries, Applications
and Fonts sections, where the XCB-Util specific bits would be:
cat > xcb-util.md5 << "EOF"
2e97feed81919465a04ccc71e4073313 xcb-util-0.4.0.tar.bz2
08fe8ffecc8d4e37c0ade7906b3f4c87 xcb-util-image-0.4.0.tar.bz2
1022293083eec9e62d5659261c29e367 xcb-util-keysyms-0.4.0.tar.bz2
468b119c94da910e1291f3ffab91019a xcb-util-renderutil-0.3.9.tar.bz2
87b19a1cd7bfcb65a24e36c300e03129 xcb-util-wm-0.4.1.tar.bz2
6ac3b17cba51aaaa36ba035a53527214 xcb-util-cursor-0.1.3.tar.bz2
EOF
mkdir xcb-util &&
cd xcb-util &&
grep -v '^#' ../xcb-util.md5 | awk '{print $2}' | wget -i- -c \
-B https://xcb.freedesktop.org/dist &&
md5sum -c ../xcb-util.md5
bash -e
for package in $(grep -v '^#' ../xcb-util.md5 | awk '{print $2}')
do
packagedir=${package%.tar.bz2}
tar -xf $package
pushd $packagedir
./configure $XORG_CONFIG
make -n
case $packagedir in
xcb-util-image-[0-9]* )
#LD_LIBRARY_PATH=$XORG_PREFIX/lib make check 2>&1 | tee
../$packagedir-make_check.log
;;
* )
#echo "Package does not have a test suite" >
../$packagedir-make_check.log
;;
esac
make -n install
popd
rm -rf $packagedir
done
exit
Obviously, this would require a bit of re-writing of those six
individual xcb-util sections, so as to combine them into just
the one, however, all of the text is already there.
Would this change, and the increased automation it brings, be
of use to the BLFS Book?
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page