]> git.pld-linux.org Git - packages/poldek.git/blame - poldek-dirdeps.patch
This commit was manufactured by cvs2git to create branch 'DEVEL'.
[packages/poldek.git] / poldek-dirdeps.patch
CommitLineData
ef17323a 1--- poldek-0.21-cvs20070703.00/doc/poldek.conf.xml~ 2007-06-30 10:32:47.000000000 +0300
2+++ poldek-0.21-cvs20070703.00/doc/poldek.conf.xml 2008-01-13 16:36:22.437311829 +0200
3@@ -414,8 +414,10 @@
4 <option name="dependency engine version" type="integer" default="2" hidden="yes">
5 </option>
6
7- <option name="auto directory dependencies" type="boolean3" default="auto" op="AUTODIRDEP">
8+ <option name="auto directory dependencies" type="boolean3" default="no" op="AUTODIRDEP">
9+ <description>
10 RPM 4.4.6 introduces auto dependencies based on package directories. Option controls this feature.
11+ </description>
12 </option>
13
14 <option name="follow" type="boolean" default="yes" op="FOLLOW">
15--- poldek/doc/Makefile.am~ 2005-11-06 23:00:58.000000000 +0200
16+++ poldek/doc/Makefile.am 2008-01-14 10:11:50.113470814 +0200
17@@ -8,7 +8,7 @@
18
19 # xml configuration description & co.
20 CONFXMLS = poldek.conf.xml conf-xml2.sh \
21- conf-xml2conf.xsl conf-xml2refentry.xsl conf-xml2docb.xsl
22+ conf-xml2c.xsl conf-xml2conf.xsl conf-xml2refentry.xsl conf-xml2docb.xsl
23
24 # manual sources
25 MANUALS = manual.xml manual.css manual.xsl
26--- /dev/null 2006-03-28 14:00:37.000000000 +0300
27+++ poldek/doc/conf-xml2c.xsl 2005-11-01 21:08:20.000000000 +0200
28@@ -0,0 +1,59 @@
29+<xsl:stylesheet version="1.0"
30+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
31+
32+<!-- poldek.conf.xml -> conf_sections.c -->
33+<!-- $Id$ -->
34+
35+<xsl:output method="text" indent="no" />
36+<xsl:template match="/">
37+/* This file is generated from poldek.conf.xml. Do not edit */
38+#include &lt;stdlib.h&gt;
39+#include "conf_intern.h"
40+#include "poldek_ts.h"
41+ <xsl:for-each select="config/confsection">
42+static struct poldek_conf_tag <xsl:value-of select="@name"/>_tags[] = {
43+ <xsl:for-each select="optiongroup">
44+ <xsl:for-each select="option">
45+ { "<xsl:value-of select="@name"/>",
46+ CONF_TYPE_<xsl:value-of select="translate(@type,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/>
47+ <xsl:if test="@multiple='yes'"> | CONF_TYPE_F_MULTI</xsl:if>
48+ <xsl:if test="@required='yes'"> | CONF_TYPE_F_REQUIRED</xsl:if>
49+ <xsl:if test="@env='yes'"> | CONF_TYPE_F_ENV</xsl:if>
50+ <xsl:if test="@list='yes'"> | CONF_TYPE_F_LIST</xsl:if>
51+ <xsl:if test="@path='yes'"> | CONF_TYPE_F_PATH</xsl:if>
52+ <xsl:if test="@obsoleted='yes'"> | CONF_TYPE_F_OBSL</xsl:if>,
53+ <xsl:choose>
54+ <xsl:when test="string-length(@default) > 0">"<xsl:value-of select="@default"/>"</xsl:when>
55+ <xsl:otherwise>NULL</xsl:otherwise>
56+ </xsl:choose>,
57+ <xsl:choose>
58+ <xsl:when test="string-length(@op) > 0">POLDEK_OP_<xsl:value-of select="@op"/></xsl:when>
59+ <xsl:otherwise>0</xsl:otherwise>
60+ </xsl:choose>, { 0 } },
61+ <xsl:for-each select="alias">
62+ { "<xsl:value-of select="@name"/>", CONF_TYPE_F_ALIAS<xsl:if test="@obsoleted='yes'"> | CONF_TYPE_F_OBSL</xsl:if>, NULL, 0, { 0 } },
63+ </xsl:for-each>
64+
65+ </xsl:for-each>
66+ </xsl:for-each>
67+ { NULL, 0, NULL, 0, { 0 } }
68+};
69+
70+ </xsl:for-each>
71+
72+
73+struct poldek_conf_section poldek_conf_sections[] = {
74+ <xsl:for-each select="config/confsection">
75+ { "<xsl:value-of select="@name"/>", <xsl:value-of select="@name"/>_tags,
76+ <xsl:choose>
77+ <xsl:when test="@multiple='yes'">1</xsl:when>
78+ <xsl:otherwise>0</xsl:otherwise>
79+ </xsl:choose>,
80+ },
81+ </xsl:for-each>
82+ { NULL, 0, 0 }
83+};
84+
85+</xsl:template>
86+</xsl:stylesheet>
87+
This page took 0.043324 seconds and 4 git commands to generate.