SOURCES (AC-branch): poldek-dirdeps.patch - patch generated config...

glen glen at pld-linux.org
Thu Feb 14 15:19:05 CET 2008


Author: glen                         Date: Thu Feb 14 14:19:05 2008 GMT
Module: SOURCES                       Tag: AC-branch
---- Log message:
- patch generated config, do not attempt regen or other poldek.conf patches are lost

---- Files affected:
SOURCES:
   poldek-dirdeps.patch (1.1.2.1 -> 1.1.2.2) 

---- Diffs:

================================================================
Index: SOURCES/poldek-dirdeps.patch
diff -u SOURCES/poldek-dirdeps.patch:1.1.2.1 SOURCES/poldek-dirdeps.patch:1.1.2.2
--- SOURCES/poldek-dirdeps.patch:1.1.2.1	Fri Jan 18 00:11:22 2008
+++ SOURCES/poldek-dirdeps.patch	Thu Feb 14 15:18:59 2008
@@ -1,87 +1,12 @@
---- poldek-0.21-cvs20070703.00/doc/poldek.conf.xml~	2007-06-30 10:32:47.000000000 +0300
-+++ poldek-0.21-cvs20070703.00/doc/poldek.conf.xml	2008-01-13 16:36:22.437311829 +0200
-@@ -414,8 +414,10 @@
-   <option name="dependency engine version" type="integer" default="2" hidden="yes">
-   </option>
-  
--  <option name="auto directory dependencies" type="boolean3" default="auto" op="AUTODIRDEP">
-+  <option name="auto directory dependencies" type="boolean3" default="no" op="AUTODIRDEP">
-+  <description>
-   RPM 4.4.6 introduces auto dependencies based on package directories. Option controls this feature.
-+  </description>
-   </option>
-   
-   <option name="follow" type="boolean" default="yes" op="FOLLOW">
---- poldek/doc/Makefile.am~	2005-11-06 23:00:58.000000000 +0200
-+++ poldek/doc/Makefile.am	2008-01-14 10:11:50.113470814 +0200
-@@ -8,7 +8,7 @@
+--- poldek-0.21-cvs20070703.00/conf/poldek.conf~	2008-02-14 16:12:15.604671074 +0200
++++ poldek-0.21-cvs20070703.00/conf/poldek.conf	2008-02-14 16:13:12.373118918 +0200
+@@ -160,6 +160,9 @@
+ # Subtle dependency processing options, they should not be changed 
+ # unless you know what you are doing
  
- # xml configuration description & co.
- CONFXMLS  = poldek.conf.xml conf-xml2.sh \
--			conf-xml2conf.xsl conf-xml2refentry.xsl conf-xml2docb.xsl
-+			conf-xml2c.xsl conf-xml2conf.xsl conf-xml2refentry.xsl conf-xml2docb.xsl
- 
- # manual sources 
- MANUALS   = manual.xml manual.css manual.xsl
---- /dev/null	2006-03-28 14:00:37.000000000 +0300
-+++ poldek/doc/conf-xml2c.xsl	2005-11-01 21:08:20.000000000 +0200
-@@ -0,0 +1,59 @@
-+<xsl:stylesheet version="1.0" 
-+		xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-+
-+<!-- poldek.conf.xml -> conf_sections.c -->
-+<!-- $Id$ -->
-+
-+<xsl:output method="text" indent="no" />
-+<xsl:template match="/">
-+/* This file is generated from poldek.conf.xml. Do not edit */
-+#include &lt;stdlib.h&gt;
-+#include "conf_intern.h"
-+#include "poldek_ts.h"
-+  <xsl:for-each select="config/confsection">
-+static struct poldek_conf_tag <xsl:value-of select="@name"/>_tags[] = {
-+      <xsl:for-each select="optiongroup">
-+        <xsl:for-each select="option">
-+   { "<xsl:value-of select="@name"/>", 
-+     CONF_TYPE_<xsl:value-of select="translate(@type,'abcdefghijklmnopqrstuvwxyz','ABCDEFGHIJKLMNOPQRSTUVWXYZ')"/> 
-+             <xsl:if test="@multiple='yes'"> | CONF_TYPE_F_MULTI</xsl:if>
-+             <xsl:if test="@required='yes'"> | CONF_TYPE_F_REQUIRED</xsl:if>
-+             <xsl:if test="@env='yes'"> | CONF_TYPE_F_ENV</xsl:if>
-+             <xsl:if test="@list='yes'"> | CONF_TYPE_F_LIST</xsl:if>
-+             <xsl:if test="@path='yes'"> | CONF_TYPE_F_PATH</xsl:if>
-+             <xsl:if test="@obsoleted='yes'"> | CONF_TYPE_F_OBSL</xsl:if>,
-+             <xsl:choose>
-+               <xsl:when test="string-length(@default) > 0">"<xsl:value-of select="@default"/>"</xsl:when>
-+               <xsl:otherwise>NULL</xsl:otherwise>
-+             </xsl:choose>,
-+             <xsl:choose>
-+               <xsl:when test="string-length(@op) > 0">POLDEK_OP_<xsl:value-of select="@op"/></xsl:when>
-+               <xsl:otherwise>0</xsl:otherwise>
-+             </xsl:choose>, { 0 } },
-+             <xsl:for-each select="alias">
-+          {  "<xsl:value-of select="@name"/>", CONF_TYPE_F_ALIAS<xsl:if test="@obsoleted='yes'"> | CONF_TYPE_F_OBSL</xsl:if>, NULL, 0, { 0 } },
-+             </xsl:for-each>
-+             
-+        </xsl:for-each>
-+      </xsl:for-each>
-+          { NULL, 0, NULL, 0, { 0 } }
-+};
-+
-+    </xsl:for-each>
-+
-+
-+struct poldek_conf_section poldek_conf_sections[] = {
-+  <xsl:for-each select="config/confsection">
-+    { "<xsl:value-of select="@name"/>", <xsl:value-of select="@name"/>_tags, 
-+       <xsl:choose>
-+         <xsl:when test="@multiple='yes'">1</xsl:when>
-+         <xsl:otherwise>0</xsl:otherwise>
-+       </xsl:choose>,
-+    },
-+ </xsl:for-each>   
-+    { NULL, 0, 0 }
-+};
-+
-+</xsl:template>
-+</xsl:stylesheet>
++# RPM 4.4.6 introduces auto dependencies based on package directories. Option controls this feature.
++#auto directory dependencies = no
 +
+ # Automatically install packages required by installed ones.
+ #follow = yes
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/poldek-dirdeps.patch?r1=1.1.2.1&r2=1.1.2.2&f=u



More information about the pld-cvs-commit mailing list