Changeset ee1e22b for BLFS


Ignore:
Timestamp:
04/22/2012 08:59:19 PM (12 years ago)
Author:
Pierre Labastie <pierre@…>
Branches:
ablfs
Children:
dd7e92a4
Parents:
6b26852
Message:

Makes xorg-driver a required dep of xterm, since the preceding-sibling
is not a unique package. In xsl/gen_pkg_list.xsl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BLFS/xsl/gen_pkg_list.xsl

    r6b26852 ree1e22b  
    203203          </xsl:if>
    204204<!-- Dependencies -->
    205 <!-- If in Xorg chapter, consider that the preceding package is
     205<!-- If in Xorg or KDE chapter, consider that the preceding package is
    206206     the first dependency (not always noted in the book) -->
    207207          <xsl:if test="ancestor::chapter[@id='kde4-core'] or
     
    213213              <xsl:attribute name="status">required</xsl:attribute>
    214214              <xsl:attribute name="name">
    215                 <xsl:value-of
    216                   select="preceding-sibling::sect1[1]/@id"/>
     215                <xsl:choose>
     216                  <xsl:when test="@id='xterm2'">xorg7-driver</xsl:when>
     217                  <xsl:otherwise>
     218                    <xsl:value-of
     219                      select="preceding-sibling::sect1[1]/@id"/>
     220                  </xsl:otherwise>
     221                </xsl:choose>
    217222              </xsl:attribute>
    218223              <xsl:attribute name="type">ref</xsl:attribute>
Note: See TracChangeset for help on using the changeset viewer.