Author: pierre
Date: Sat Oct  7 01:17:57 2017
New Revision: 4010

Log:
Add ninja and python to the list of LFS packages which should not appear,
since they are also in BLFS

Modified:
   jhalfs/trunk/BLFS/xsl/gen_pkg_list.xsl
   jhalfs/trunk/BLFS/xsl/lfs_make_book.xsl

Modified: jhalfs/trunk/BLFS/xsl/gen_pkg_list.xsl
==============================================================================
--- jhalfs/trunk/BLFS/xsl/gen_pkg_list.xsl      Thu Sep 14 10:10:47 2017        
(r4009)
+++ jhalfs/trunk/BLFS/xsl/gen_pkg_list.xsl      Sat Oct  7 01:17:57 2017        
(r4010)
@@ -98,6 +98,9 @@
       <xsl:when test="./productname='dbus'"/>
 <!-- Systemd version is taken from BLFS -->
       <xsl:when test="./productname='systemd'"/>
+<!-- Same for python and ninja -->
+      <xsl:when test="./productname='ninja'"/>
+      <xsl:when test="./productname='Python'"/>
       <xsl:otherwise>
         <package><xsl:text>&#xA;        </xsl:text>
           <xsl:element name="name">

Modified: jhalfs/trunk/BLFS/xsl/lfs_make_book.xsl
==============================================================================
--- jhalfs/trunk/BLFS/xsl/lfs_make_book.xsl     Thu Sep 14 10:10:47 2017        
(r4009)
+++ jhalfs/trunk/BLFS/xsl/lfs_make_book.xsl     Sat Oct  7 01:17:57 2017        
(r4010)
@@ -15,6 +15,8 @@
                       $package='dbus' or
                       $package='vim' or
                       $package='systemd' or
+                      $package='ninja' or
+                      $package='Python' or
                       $package='shadow'"/>
       <xsl:when test="$package='LFS-Release'">true</xsl:when>
       <xsl:otherwise>
@@ -33,6 +35,8 @@
                       $package='dbus' or
                       $package='vim' or
                       $package='systemd' or
+                      $package='ninja' or
+                      $package='Python' or
                       $package='shadow'"/>
       <xsl:when test="$package='linux'">
         <xsl:for-each select="document($lfsbook)">
@@ -55,7 +59,7 @@
   <xsl:template match="*" mode="lfs">
     <xsl:choose>
 <!--variablelist may contain id attributes equal to the name of the package,
-    which generates non-unique id. They are of not mcuh use (short 
descriptions)
+    which generates non-unique id. They are of not much use (short 
descriptions)
     here. So just remove them-->
       <xsl:when test="self::variablelist"/>
 <!--The id's in lfs are of the form ch-xxx-package. We do not want to
-- 
http://lists.linuxfromscratch.org/listinfo/alfs-log
Unsubscribe: See the above information page

Reply via email to