1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-01-05 09:17:38 +03:00

Remove obsolete XML Software Autoupdate (XSA) file

This commit is contained in:
Nick Wellnhofer 2022-03-02 16:52:29 +01:00
parent d4f90698f4
commit 28d0399682
4 changed files with 4 additions and 94 deletions

View File

@ -25,7 +25,7 @@ EXTRA_DIST_wc = xmlcatalog_man.xml $(wildcard tutorial/*.html) \
$(wildcard *.1) $(wildcard *.xsl) $(wildcard *.html) \
$(wildcard *.gif) w3c.png $(wildcard html/*.html) \
$(wildcard html/*.png) libxml2-api.xml index.py search.php \
apibuild.py libxml2.xsa xmllint.xml xmlcatalog_man.xml \
apibuild.py xmllint.xml xmlcatalog_man.xml \
symbols.xml
endif
@ -149,7 +149,6 @@ EXTRA_DIST = \
library.html \
libxml.gif \
libxml2-api.xml \
libxml2.xsa \
namespaces.html \
newapi.xsl \
news.html \
@ -228,13 +227,12 @@ EXTRA_DIST = \
xmllint.html \
xmllint.xml \
xmlmem.html \
xmlreader.html \
xsa.xsl
xmlreader.html
man_MANS = xmllint.1 xmlcatalog.1
if REBUILD_DOCS
docs: web $(top_builddir)/NEWS libxml2.xsa $(man_MANS)
docs: web $(top_builddir)/NEWS $(man_MANS)
api: libxml2-api.xml libxml2-refs.xml $(APIPAGES) $(srcdir)/html/index.html $(WIN32_DIR)/libxml2.def.src $(srcdir)/site.xsl
@ -252,11 +250,6 @@ $(top_builddir)/NEWS: $(srcdir)/news.xsl $(srcdir)/news.html
-@(if [ -x $(XSLTPROC) ] ; then \
$(XSLTPROC) --nonet $(srcdir)/news.xsl $(srcdir)/news.html > $(top_builddir)/NEWS ; fi );
libxml2.xsa: $(srcdir)/xsa.xsl $(srcdir)/news.html
-@(if [ -x $(XSLTPROC) ] ; then \
echo "Rebuilding the NEWS file" ; \
$(XSLTPROC) --nonet $(srcdir)/xsa.xsl $(srcdir)/news.html > libxml2.xsa ; fi );
$(APIPAGES): libxml2-api.xml libxml2-refs.xml $(srcdir)/site.xsl $(srcdir)/api.xsl
-@(if [ -x $(XSLTPROC) ] ; then \
echo "Rebuilding the HTML API pages from libxml2-refs.xml" ; \

View File

@ -36,7 +36,6 @@ api.xsl xslt script to generate API cross-references APIchunk*.html
news.xsl xslt script to generate ../NEWS from news.html
site.xsl xslt script imported by api.xsl, generates most top-level
pages from news.html
xsa.xsl xslt script to generate libxml.xsa from news.html
xmlcatalog.1 Man page for xml catalogs, built from xmlcatalog_man.xml DocBook
source with "make xmlcatalog.1" or "make all"
@ -83,18 +82,10 @@ NOTE: Steps 1 through 7 are performed with the command "make rebuild";
5) Generate the NEWS file in the top directory:
xsltproc --nonet --output ../NEWS news.xsl news.html
6) Generate the XML Software Autoupdate file libxml2.xsa:
make libxml2.xsa, or,
xsltproc --nonet --output libxml2.xsa xsa.xsl news.html
7) Manually generate xmlcatalog.1 and xmllint.1 using manpages/docbook.xsl
6) Manually generate xmlcatalog.1 and xmllint.1 using manpages/docbook.xsl
stylesheet in docbook stylesheets. "make all" also takes care of this.
After these steps have been done, the documentation is complete.
The search engine is then set up using the script index.py, using
libxml2-api.xml, the HTML web pages generated above, and the HTML
mailing list archives at gnome.org.
Last update: 30 November 2003

View File

@ -1,20 +0,0 @@
<?xml version="1.0"?>
<!DOCTYPE xsa PUBLIC "-//LM Garshol//DTD XML Software Autoupdate 1.0//EN//XML" "http://www.garshol.priv.no/download/xsa/xsa.dtd">
<xsa>
<vendor>
<name>Daniel Veillard</name>
<email>daniel@veillard.com</email>
<url>http://veillard.com/</url>
</vendor>
<product id="libxml2">
<name>libxml2</name>
<version>v2.9.12</version>
<last-release> May 13 2021</last-release>
<info-url>https://gitlab.gnome.org/GNOME/libxml2</info-url>
<changes> - Build system:
Add fuzz.h and seed/regexp to EXTRA_DIST
</changes>
</product>
</xsa>

View File

@ -1,54 +0,0 @@
<?xml version="1.0"?>
<!--
Stylesheet generating the XSA entry for libxml2 based on the
latest News entry.
See http://www.garshol.priv.no/download/xsa/ for a description of XSA
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
xmlns:xhtml="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xhtml">
<xsl:output method="xml"
doctype-public="-//LM Garshol//DTD XML Software Autoupdate 1.0//EN//XML"
doctype-system="http://www.garshol.priv.no/download/xsa/xsa.dtd"
indent="yes"/>
<xsl:template match="/">
<xsa>
<vendor>
<name>Daniel Veillard</name>
<email>daniel@veillard.com</email>
<url>http://veillard.com/</url>
</vendor>
<product id="libxml2">
<name>libxml2</name>
<version><xsl:value-of select="substring-before(//xhtml:h3[2], ':')"/></version>
<last-release><xsl:value-of select="substring-after(//xhtml:h3[2], ':')"/></last-release>
<info-url>https://gitlab.gnome.org/GNOME/libxml2</info-url>
<changes>
<xsl:apply-templates select="//xhtml:h3[2]/following-sibling::*[1]"/>
</changes>
</product>
</xsa>
</xsl:template>
<xsl:template match="xhtml:h3">
</xsl:template>
<xsl:template match="xhtml:ul">
<xsl:apply-templates select=".//xhtml:li"/>
<xsl:text>
</xsl:text>
</xsl:template>
<xsl:template match="xhtml:li">
<xsl:text> - </xsl:text>
<xsl:value-of select="."/>
<xsl:text>
</xsl:text>
</xsl:template>
<xsl:template match="xhtml:a">
<xsl:value-of select="."/>
<xsl:text> at
</xsl:text>
<xsl:value-of select="@href"/>
<xsl:text>
</xsl:text>
</xsl:template>
</xsl:stylesheet>