Update of /people/at/packages/libxml2.git Changes since `LIBXML2_2_6_27-g74a6d6b': Makefile.am | 3 +- libxml2.map | 160 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 162 insertions(+), 1 deletions(-) commit 27e819804a4c4aac841eb5b24108852063dd743b Author: Alexey Tourbin Date: Sun Oct 29 20:32:00 2006 +0300 added libxml2.map Here goes `symbol versioning' (c) drepper for the libxml2 shared library. One problem is that I have to start from some point. We have consecutive builds starting from 2.6.2, but that would spread just too old dependencies. Master 2.4 had 2.6.11, and the next build was 2.6.13, so I start with that. Another problem is that I cannot hide all those `__xml*' symbols, nor even `__html*'. They are all in header files, and some of them are in use. So, as for now, I do not hide anything; only symbol versioning is being introduced. Maintainers! Maintainers! Maintainers! Here is how to cook up your version script quickly. $ GET ftp://ftp.altlinux.org/pub/distributions/archive/Sisyphus/index/libxml2 >list $ sed -i 's;src\.rpm$;i586.rpm;;s;SRPMS;i586/RPMS;' list $ rsync -a --files-from=list rsync.altlinux.org::archive/Sisyphus/ . Welcome to ALT Linux Team public rsync archive! ... $ (read f1; while read f2; do rpmsodiff $f1 $f2; f1=$f2; done) out $ sed -n '/^LIBXML2_/,/^};/p' out >libxml2.map Grok that! (Hint: you need rpmsodiff from qa-robot.) Full changes since `LIBXML2_2_6_27-g74a6d6b' follow: diff --git a/Makefile.am b/Makefile.am index 5ef9d90..f2f805b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -17,7 +17,8 @@ bin_SCRIPTS=xml2-config lib_LTLIBRARIES = libxml2.la libxml2_la_LIBADD = @THREAD_LIBS@ @Z_LIBS@ $(ICONV_LIBS) @M_LIBS@ @WIN32_EXTRA_LIBADD@ -libxml2_la_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@ @WIN32_EXTRA_LDFLAGS@ -version-info @LIBXML_VERSION_INFO@ @MODULE_PLATFORM_LIBS@ +export_symbols = -Wl,--version-script=libxml2.map -Wl,-z,defs +libxml2_la_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@ @WIN32_EXTRA_LDFLAGS@ -version-info @LIBXML_VERSION_INFO@ $(export_symbols) @MODULE_PLATFORM_LIBS@ if WITH_TRIO_SOURCES libxml2_la_SOURCES = SAX.c entities.c encoding.c error.c parserInternals.c \ diff --git a/libxml2.map b/libxml2.map new file mode 100644 index 0000000..7efb180 --- /dev/null +++ b/libxml2.map @@ -0,0 +1,160 @@ +LIBXML2_2.6.13 { + global: + xmlParseInNodeContext; + xmlSchemaGetFacetValueAsULong; + xmlSchemaGetParserErrors; + xmlSchemaGetValidErrors; + xmlSchemaValPredefTypeNodeNoNorm; + xmlSchemaValidateLengthFacet; +}; +LIBXML2_2.6.14 { + global: + xmlAutomataNewCountTrans2; + xmlAutomataNewOnceTrans2; + xmlSchemaSetValidOptions; + xmlSchemaValidCtxtGetOptions; + xmlSchemaValidateOneElement; +}; +LIBXML2_2.6.15 { + global: + xmlDebugCheckDocument; + xmlDocCopyNodeList; + xmlNewDocPI; + xmlTextReaderConstEncoding; + xmlTextReaderConstXmlVersion; + xmlTextReaderIsNamespaceDecl; + xmlTextReaderStandalone; +}; +LIBXML2_2.6.16 { + global: + xmlMemBlocks; + xmlRelaxNGInitTypes; +}; +LIBXML2_2.6.17 { + global: + xmlDictExists; + xmlModuleClose; + xmlModuleFree; + xmlModuleOpen; + xmlModuleSymbol; + xmlRegExecErrInfo; + xmlRegExecNextValues; + xmlSchemaWhiteSpaceReplace; + xmlTextReaderGetParserColumnNumber; + xmlTextReaderGetParserLineNumber; +}; +LIBXML2_2.6.18 { + global: + xmlCopyDocElementContent; + xmlDictCleanup; + xmlFreeDocElementContent; + xmlFreeStreamCtxt; + xmlHashCreateDict; + xmlNewDocElementContent; + xmlPatternFromRoot; + xmlPatternGetStreamCtxt; + xmlPatternMaxDepth; + xmlPatternStreamable; + xmlSchemaCompareValuesWhtsp; + xmlSchemaCopyValue; + xmlSchemaGetCanonValue; + xmlSchemaNewNOTATIONValue; + xmlSchemaNewStringValue; + xmlStreamPop; + xmlStreamPush; + xmlStreamPushAttr; + xmlTextReaderByteConsumed; +}; +LIBXML2_2.6.19 { + global: + xmlSchemaGetValType; + xmlSchemaValidateFacetWhtsp; + xmlSchemaValidateLengthFacetWhtsp; +}; +LIBXML2_2.6.20 { + global: + xmlDOMWrapAdoptNode; + xmlDOMWrapFreeCtxt; + xmlDOMWrapNewCtxt; + xmlDOMWrapReconcileNamespaces; + xmlDOMWrapRemoveNode; + xmlSchemaGetCanonValueWhtsp; + xmlSchemaIsValid; + xmlSchemaNewQNameValue; + xmlSchemaSAXPlug; + xmlSchemaSAXUnplug; + xmlSchemaValidateFile; + xmlSchemaValueAppend; + xmlSchemaValueGetAsBoolean; + xmlSchemaValueGetAsString; + xmlSchemaValueGetNext; + xmlTextReaderSchemaValidate; + xmlTextReaderSetSchema; +}; +LIBXML2_2.6.21 { + global: + emptyExp; + forbiddenExp; + xmlAutomataNewNegTrans; + xmlExpCtxtNbCons; + xmlExpCtxtNbNodes; + xmlExpDump; + xmlExpExpDerive; + xmlExpFree; + xmlExpFreeCtxt; + xmlExpGetLanguage; + xmlExpGetStart; + xmlExpIsNillable; + xmlExpMaxToken; + xmlExpNewAtom; + xmlExpNewCtxt; + xmlExpNewOr; + xmlExpNewRange; + xmlExpNewSeq; + xmlExpParse; + xmlExpRef; + xmlExpStringDerive; + xmlExpSubsume; + xmlHasFeature; + xmlParseURIRaw; + xmlPatternMinDepth; + xmlRelaxNGSetValidStructuredErrors; + xmlSchemaSetValidStructuredErrors; + xmlSchematronFree; + xmlSchematronFreeParserCtxt; + xmlSchematronFreeValidCtxt; + xmlSchematronNewDocParserCtxt; + xmlSchematronNewMemParserCtxt; + xmlSchematronNewParserCtxt; + xmlSchematronNewValidCtxt; + xmlSchematronParse; + xmlSchematronValidateDoc; +}; +LIBXML2_2.6.23 { + global: + htmlDocDumpMemoryFormat; + xmlOutputBufferCreateBuffer; + xmlSaveToBuffer; + xmlSchemaSetParserStructuredErrors; + xmlStreamPushNode; + xmlStreamWantsAnyNode; + xmlTextReaderSchemaValidateCtxt; +}; +LIBXML2_2.6.24 { + global: + __htmlParseContent; + xmlDOMWrapCloneNode; + xmlRelaxNGSetParserStructuredErrors; +}; +LIBXML2_2.6.26 { + global: + xmlXPathContextSetCache; +}; +LIBXML2_2.6.27 { + global: + htmlNewParserCtxt; + xmlPathToURI; + xmlResolveResourceFromCatalog; + xmlXIncludeProcessFlagsData; + xmlXPathCompiledEvalToBoolean; +};