Makes xorg-driver a required dep of xterm, since the preceding-sibling
is not a unique package. In xsl/gen_pkg_list.xsl
This commit is contained in:
parent
6b268524bf
commit
ee1e22bb30
1 changed files with 8 additions and 3 deletions
|
@ -202,7 +202,7 @@
|
||||||
</xsl:element>
|
</xsl:element>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<!-- Dependencies -->
|
<!-- Dependencies -->
|
||||||
<!-- If in Xorg chapter, consider that the preceding package is
|
<!-- If in Xorg or KDE chapter, consider that the preceding package is
|
||||||
the first dependency (not always noted in the book) -->
|
the first dependency (not always noted in the book) -->
|
||||||
<xsl:if test="ancestor::chapter[@id='kde4-core'] or
|
<xsl:if test="ancestor::chapter[@id='kde4-core'] or
|
||||||
(ancestor::chapter[@id='x-window-system'] and
|
(ancestor::chapter[@id='x-window-system'] and
|
||||||
|
@ -212,8 +212,13 @@
|
||||||
<xsl:element name="dependency">
|
<xsl:element name="dependency">
|
||||||
<xsl:attribute name="status">required</xsl:attribute>
|
<xsl:attribute name="status">required</xsl:attribute>
|
||||||
<xsl:attribute name="name">
|
<xsl:attribute name="name">
|
||||||
|
<xsl:choose>
|
||||||
|
<xsl:when test="@id='xterm2'">xorg7-driver</xsl:when>
|
||||||
|
<xsl:otherwise>
|
||||||
<xsl:value-of
|
<xsl:value-of
|
||||||
select="preceding-sibling::sect1[1]/@id"/>
|
select="preceding-sibling::sect1[1]/@id"/>
|
||||||
|
</xsl:otherwise>
|
||||||
|
</xsl:choose>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:attribute name="type">ref</xsl:attribute>
|
<xsl:attribute name="type">ref</xsl:attribute>
|
||||||
</xsl:element>
|
</xsl:element>
|
||||||
|
|
Reference in a new issue