diff --git a/BLFS/gen-special.sh b/BLFS/gen-special.sh
index c96e68e..3949d07 100755
--- a/BLFS/gen-special.sh
+++ b/BLFS/gen-special.sh
@@ -13,7 +13,7 @@ if test -z "${SPECIAL_FILE}"; then SPECIAL_FILE=specialCases.xsl;fi
EXCEPTIONS=$(grep 'ENTITY.*version[ ]*"[^0-9"&.].*[0-9]' $BLFS_XML |
sed 's@^[^"]*"\([^"]*\)".*@\1@')
# Version for X Window packages without a version in the book
-XVERSION=$(grep 'ENTITY xorg7-release' $BLFS_XML |
+XVERSION=$(grep 'ENTITY xorg-version' $BLFS_XML |
sed 's@^[^"]*"\([^"]*\)".*@\1@')
# The case of udev
# Set PATH to be sure to find udevadm
diff --git a/BLFS/xsl/dependencies.xsl b/BLFS/xsl/dependencies.xsl
index 83781e9..b2542a7 100644
--- a/BLFS/xsl/dependencies.xsl
+++ b/BLFS/xsl/dependencies.xsl
@@ -42,8 +42,8 @@
- xterm2
- xterm2
+ xinit
+ xinit
diff --git a/BLFS/xsl/scripts.xsl b/BLFS/xsl/scripts.xsl
index 1f8bf28..263948b 100644
--- a/BLFS/xsl/scripts.xsl
+++ b/BLFS/xsl/scripts.xsl
@@ -1,4 +1,4 @@
-
+
cd $SRC_DIR/MesaLib
-UNPACKDIR=`head -n1 unpacked | sed 's@^./@@;s@/.*@@'`
+UNPACKDIR=`grep '[^./]\+' unpacked | head -n1 | sed 's@^./@@;s@/.*@@'`
rm -rf $UNPACKDIR unpacked
-->
@@ -125,11 +125,11 @@ cd xc
if [ "${PACKAGE%.zip}" = "${PACKAGE}" ]; then
if [[ -e unpacked ]] ; then
- UNPACKDIR=`head -n1 unpacked | sed 's@^./@@;s@/.*@@'`
+ UNPACKDIR=`grep '[^./]\+' unpacked | head -n1 | sed 's@^./@@;s@/.*@@'`
[[ -n $UNPACKDIR ]] && [[ -d $UNPACKDIR ]] && rm -rf $UNPACKDIR
fi
tar -xvf $PACKAGE > unpacked
- UNPACKDIR=`head -n1 unpacked | sed 's@^./@@;s@/.*@@'`
+ UNPACKDIR=`grep '[^./]\+' unpacked | head -n1 | sed 's@^./@@;s@/.*@@'`
else
UNPACKDIR=${PACKAGE%.zip}
[[ -n $UNPACKDIR ]] && [[ -d $UNPACKDIR ]] && rm -rf $UNPACKDIR
@@ -150,56 +150,24 @@ cd $UNPACKDIR
-
+
-
-
- mkdir -p ${section}
cd ${section}
-
- for line in $(grep -v '^#' ../${sect_ver}.wget) ; do
- if [[ ! -f ${line} ]] ; then
- if [[ -f $SRC_ARCHIVE/Xorg/${section}/${line} ]] ; then
- cp $SRC_ARCHIVE/Xorg/${section}/${line} ${line}
- elif [[ -f $SRC_ARCHIVE/Xorg/${line} ]] ; then
- cp $SRC_ARCHIVE/Xorg/${line} ${line}
- elif [[ -f $SRC_ARCHIVE/${section}/${line} ]] ; then
- cp $SRC_ARCHIVE/${section}/${line} ${line}
- elif [[ -f $SRC_ARCHIVE/${line} ]] ; then
- cp $SRC_ARCHIVE/${line} ${line}
- else
- wget -T 30 -t 5 ${FTP_X_SERVER}pub/individual/${section}/${line} || \
- wget -T 30 -t 5 http://xorg.freedesktop.org/releases/individual/${section}/${line}
- fi
- fi
-done
-md5sum -c ../${sect_ver}.md5
-cp ../${sect_ver}.wget ../${sect_ver}.wget.orig
-cp ../${sect_ver}.md5 ../${sect_ver}.md5.orig
+
+
- for package in $(grep -v '^#' ../${sect_ver}.wget) ; do
- packagedir=$(echo $package | sed 's/.tar.bz2//')
- tar -xf ${package}
- cd ${packagedir}
-
- cd ..
- rm -rf ${packagedir}
- sed -i "/${package}/d" ../${sect_ver}.wget
- sed -i "/${package}/d" ../${sect_ver}.md5
-done
-mv ../${sect_ver}.wget.orig ../${sect_ver}.wget
-mv ../${sect_ver}.md5.orig ../${sect_ver}.md5
+
sudo /sbin/
ldconfig
+ if [[ $XORG_PREFIX != /usr ]] ; then
-
+ fi
@@ -272,7 +240,7 @@ mv ../${sect_ver}.md5.orig ../${sect_ver}.md5
select="following-sibling::itemizedlist[1]/listitem/para"
mode="package"/>
-
+
@@ -451,6 +419,13 @@ fi
+
+
+
+
+
+
+
[[ ! -d $SRC_DIR/blfs-bootscripts ]] && mkdir $SRC_DIR/blfs-bootscripts
@@ -504,6 +479,69 @@ popd
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ # bash -e
+
+
+
+
+
+
+
+
+ # exit
+
+
+
+
+
+
+
+
+ mkdir -p
+
+
+
+
+
+
+
+
+ rm -rf
+
+
+
+
+
+
+
+
+
+