rpms/libxslt/devel key.patch,1.1,1.2 libxslt.spec,1.51,1.52

Daniel Veillard (veillard) fedora-extras-commits at redhat.com
Mon Apr 28 15:40:00 UTC 2008


Author: veillard

Update of /cvs/pkgs/rpms/libxslt/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv6187

Modified Files:
	key.patch libxslt.spec 
Log Message:
- and the previous patch was incomplte breaking the python bindings
  see 444317 and 444455
Daniel


key.patch:

Index: key.patch
===================================================================
RCS file: /cvs/pkgs/rpms/libxslt/devel/key.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- key.patch	22 Apr 2008 15:49:56 -0000	1.1
+++ key.patch	28 Apr 2008 15:39:23 -0000	1.2
@@ -215,3 +215,50 @@
  
  doc_info_mismatch:
      xsltTransformError(ctxt, NULL, ctxt->inst,
+--- python/libxslt-py.c.orig	2008-04-28 17:25:21.000000000 +0200
++++ python/libxslt-py.c	2008-04-08 19:18:45.000000000 +0200
+@@ -1639,6 +1639,22 @@ libxslt_xsltRegisterTmpRVT(PyObject *sel
+ }
+ 
+ PyObject *
++libxslt_xsltInitAllDocKeys(PyObject *self ATTRIBUTE_UNUSED, PyObject *args) {
++    PyObject *py_retval;
++    int c_retval;
++    xsltTransformContextPtr ctxt;
++    PyObject *pyobj_ctxt;
++
++    if (!PyArg_ParseTuple(args, (char *)"O:xsltInitAllDocKeys", &pyobj_ctxt))
++        return(NULL);
++    ctxt = (xsltTransformContextPtr) PytransformCtxt_Get(pyobj_ctxt);
++
++    c_retval = xsltInitAllDocKeys(ctxt);
++    py_retval = libxml_intWrap((int) c_retval);
++    return(py_retval);
++}
++
++PyObject *
+ libxslt_xsltPrintErrorContext(PyObject *self ATTRIBUTE_UNUSED, PyObject *args) {
+     xsltTransformContextPtr ctxt;
+     PyObject *pyobj_ctxt;
+--- doc/libxslt-api.xml.orig	2008-04-28 17:24:55.000000000 +0200
++++ doc/libxslt-api.xml	2008-04-08 19:18:48.000000000 +0200
+@@ -529,6 +529,7 @@
+      <exports symbol='xsltAllocateExtra' type='function'/>
+      <exports symbol='xsltParseSequenceConstructor' type='function'/>
+      <exports symbol='xsltRegisterTmpRVT' type='function'/>
++     <exports symbol='xsltInitAllDocKeys' type='function'/>
+      <exports symbol='xsltExtensionInstructionResultFinalize' type='function'/>
+      <exports symbol='xsltPointerListFree' type='function'/>
+      <exports symbol='xsltIsBlank' type='function'/>
+@@ -2337,6 +2338,11 @@ exits'/>
+       <info>Initializes the processor (e.g. registers built-in extensions, etc.)</info>
+       <return type='void'/>
+     </function>
++    <function name='xsltInitAllDocKeys' file='xsltInternals'>
++      <info>INTERNAL ROUTINE ONLY  Check if any keys on the current document need to be computed</info>
++      <return type='int' info=''/>
++      <arg name='ctxt' type='xsltTransformContextPtr' info=''/>
++    </function>
+     <function name='xsltInitCtxtExts' file='extensions'>
+       <info>Initialize the set of modules with registered stylesheet data</info>
+       <return type='int' info='the number of modules initialized or -1 in case of error'/>


Index: libxslt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libxslt/devel/libxslt.spec,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- libxslt.spec	22 Apr 2008 15:49:56 -0000	1.51
+++ libxslt.spec	28 Apr 2008 15:39:23 -0000	1.52
@@ -1,7 +1,7 @@
 Summary: Library providing the Gnome XSLT engine
 Name: libxslt
 Version: 1.1.23
-Release: 2%{?dist}%{?extra_release}
+Release: 3%{?dist}%{?extra_release}
 License: MIT
 Group: Development/Libraries
 Source: ftp://xmlsoft.org/XSLT/libxslt-%{version}.tar.gz
@@ -124,6 +124,10 @@
 %doc python/tests/*.xsl
 
 %changelog
+* Mon Apr 28 2008 Daniel Veillard <veillard at redhat.com> 1.1.23-3.fc10
+- and the previous patch was incomplte breaking the python bindings
+  see 444317 and 444455
+
 * Tue Apr 22 2008 Daniel Veillard <veillard at redhat.com> 1.1.23-2.fc10
 - revert a key initialization patch from 1.1.23 which seems broken
   see rhbz#442097




More information about the fedora-extras-commits mailing list