# HG changeset patch
# User Nick Wellnhofer <wellnhofer@aevum.de>
# Date 1644874278 -3600
#      Mon Feb 14 22:31:18 2022 +0100
# Node ID bcb06c481167ba503f0f77babe8bd0527f347d08
# Parent  99cbcac46d298a5083adeb9a55be03f9fb732355
Update links

Documentation and releases are now available on gitlab.gnome.org.

diff --git a/CMakeLists.txt b/CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -145,7 +145,7 @@
 	set(PACKAGE_NAME "libxslt")
 	set(PACKAGE_STRING "libxslt ${LIBXSLT_DOTTED_VERSION}")
 	set(PACKAGE_TARNAME "libxslt")
-	set(PACKAGE_URL "http://www.xmlsoft.org/libxslt")
+	set(PACKAGE_URL "https://gitlab.gnome.org/GNOME/libxslt")
 	set(PACKAGE_VERSION ${LIBXSLT_DOTTED_VERSION})
 	check_include_files("float.h;stdarg.h;stdlib.h;string.h" STDC_HEADERS)
 	set(_ALL_SOURCE ON)
diff --git a/INSTALL b/INSTALL
--- a/INSTALL
+++ b/INSTALL
@@ -4,9 +4,10 @@
 =============
 
 this library requires a recent version of libxml2 which you can grab from
-either the GNOME FTP or the xmlsoft.org server:
+either the GNOME download server or the GitLab release page:
 
-  ftp://xmlsoft.org/
+    https://gitlab.gnome.org/GNOME/libxml2/-/releases
+    https://download.gnome.org/sources/libxml2/
 
 When installing from a distribution package like a tar.gz:
 ==========================================================
diff --git a/README b/README
--- a/README
+++ b/README
@@ -2,12 +2,12 @@
      XSLT support for libxml2 (XML toolkit from the GNOME project)
 
 Full documentation is available on-line at
-    http://xmlsoft.org/XSLT/
+    https://gitlab.gnome.org/GNOME/libxslt/-/wikis
 
 This code is released under the MIT Licence see the Copyright file.
  
 To report bugs, follow the instructions at:
-  http://xmlsoft.org/XSLT/bugs.html
+    https://gitlab.gnome.org/GNOME/libxslt/-/issues
 
 A mailing-list xslt@gnome.org is available, to subscribe:
     http://mail.gnome.org/mailman/listinfo/xslt
diff --git a/configure.ac b/configure.ac
--- a/configure.ac
+++ b/configure.ac
@@ -611,7 +611,7 @@
 
 if test "x$LIBXML_LIBS" = "x"
 then
-	AC_MSG_ERROR([Could not find libxml2 anywhere, check ftp://xmlsoft.org/.])
+	AC_MSG_ERROR([Could not find libxml2 anywhere.])
 fi
 
 
diff --git a/doc/tutorial/libxslttutorial.html b/doc/tutorial/libxslttutorial.html
--- a/doc/tutorial/libxslttutorial.html
+++ b/doc/tutorial/libxslttutorial.html
@@ -114,9 +114,6 @@
 <a name="id2708026"></a><a href="http://www.w3.org/Style/XSL/" target="_top">W3C
 	  XSL page.</a>
 </p></li>
-<li><p>
-<a name="id2708047"></a><a href="http://xmlsoft.org/XSLT/" target="_top">libxslt</a>
-</p></li>
 </ul></div>
 
     </p>
diff --git a/doc/tutorial/libxslttutorial.xml b/doc/tutorial/libxslttutorial.xml
--- a/doc/tutorial/libxslttutorial.xml
+++ b/doc/tutorial/libxslttutorial.xml
@@ -94,9 +94,6 @@
 	  <para><ulink url="http://www.w3.org/Style/XSL/">W3C
 	  <acronym>XSL</acronym> page.</ulink></para>
 	</listitem>
-	<listitem>
-	  <para><ulink url="http://xmlsoft.org/XSLT/">libxslt</ulink></para>
-	</listitem>
       </itemizedlist>
 
     </para>
diff --git a/doc/tutorial2/libxslt_pipes.html b/doc/tutorial2/libxslt_pipes.html
--- a/doc/tutorial2/libxslt_pipes.html
+++ b/doc/tutorial2/libxslt_pipes.html
@@ -31,7 +31,7 @@
 libxslt should be easily portable between the two systems. In
 practice, however, there arise various wrinkles. These do not have
 anything to do with libxml or libxslt per se, but rather with the
-different compilation and linking procedures of each system.</p><p>The presented solution is an extension of <a href="http://xmlsoft.org/XSLT/tutorial/libxslttutorial.html" target="_top">John
+different compilation and linking procedures of each system.</p><p>The presented solution is an extension of <a href="https://gnome.pages.gitlab.gnome.org/libxslt/tutorial/libxslttutorial.html" target="_top">John
 Fleck's libxslt tutorial</a>, but the present tutorial tries to be
 self-contained. It develops a minimal libxslt application
 (libxslt_pipes) that can perform a series of transformations to a
diff --git a/doc/tutorial2/libxslt_pipes.xml b/doc/tutorial2/libxslt_pipes.xml
--- a/doc/tutorial2/libxslt_pipes.xml
+++ b/doc/tutorial2/libxslt_pipes.xml
@@ -61,7 +61,7 @@
 different compilation and linking procedures of each system.</para>
 
 <para>The presented solution is an extension of <ulink
-url="http://xmlsoft.org/XSLT/tutorial/libxslttutorial.html">John
+url="https://gnome.pages.gitlab.gnome.org/libxslt/tutorial/libxslttutorial.html">John
 Fleck's libxslt tutorial</ulink>, but the present tutorial tries to be
 self-contained. It develops a minimal libxslt application
 (libxslt_pipes) that can perform a series of transformations to a
diff --git a/doc/xsa.xsl b/doc/xsa.xsl
--- a/doc/xsa.xsl
+++ b/doc/xsa.xsl
@@ -22,7 +22,7 @@
     <name>libxslt</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>http://xmlsoft.org/XSLT/</info-url>
+    <info-url>https://gitlab.gnome.org/GNOME/libxslt</info-url>
     <changes>
     <xsl:apply-templates select="//xhtml:h3[2]/following-sibling::*[1]"/>
     </changes>
diff --git a/doc/xsltproc.xml b/doc/xsltproc.xml
--- a/doc/xsltproc.xml
+++ b/doc/xsltproc.xml
@@ -599,7 +599,7 @@
 				<para><citerefentry>
 						<refentrytitle>libxml</refentrytitle>
 						<manvolnum>3</manvolnum>
-					</citerefentry> web page <ulink url="http://www.xmlsoft.org/"/>
+					</citerefentry> web page <ulink url="https://gitlab.gnome.org/GNOME/libxslt"/>
 				</para>
 			</listitem>
 			<listitem>
diff --git a/libxslt.doap b/libxslt.doap
--- a/libxslt.doap
+++ b/libxslt.doap
@@ -12,7 +12,6 @@
 implements most of the EXSLT set of processor-portable extensions
 functions and some of Saxon's evaluate and expressions
 extensions.</description>
-  <homepage rdf:resource="http://xmlsoft.org/XSLT/" />
   <mailing-list rdf:resource="http://mail.gnome.org/mailman/listinfo/xslt" />
   <category rdf:resource="http://api.gnome.org/doap-extensions#infrastructure" />
   <programming-language>C</programming-language>
diff --git a/libxslt.m4 b/libxslt.m4
--- a/libxslt.m4
+++ b/libxslt.m4
@@ -122,9 +122,8 @@
       {
         printf("\n*** An old version of libxslt (%d.%d.%d) was found.\n",
                xslt_major_version, xslt_minor_version, xslt_micro_version);
-        printf("*** You need a version of libxslt newer than %d.%d.%d. The latest version of\n",
+        printf("*** You need a version of libxslt newer than %d.%d.%d.\n",
            major, minor, micro);
-        printf("*** libxslt is always available from ftp://ftp.xmlsoft.org.\n");
         printf("***\n");
         printf("*** If you have already installed a sufficiently new version, this error\n");
         printf("*** probably means that the wrong copy of the xslt-config shell script is\n");
diff --git a/libxslt.spec.in b/libxslt.spec.in
--- a/libxslt.spec.in
+++ b/libxslt.spec.in
@@ -4,9 +4,9 @@
 Release: 1%{?dist}%{?extra_release}
 License: MIT
 Group: Development/Libraries
-Source: ftp://xmlsoft.org/XSLT/libxslt-%{version}.tar.gz
+Source: https://download.gnome.org/sources/libxslt/@LIBXSLT_MAJOR_VERSION@.@LIBXSLT_MINOR_VERSION@/libxslt-%{version}.tar.xz
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
-URL: http://xmlsoft.org/XSLT/
+URL: https://gitlab.gnome.org/GNOME/libxslt
 Requires: libxml2 >= @LIBXML_REQUIRED_VERSION@
 BuildRequires: libxml2-devel >= @LIBXML_REQUIRED_VERSION@
 BuildRequires: python python-devel
@@ -129,4 +129,4 @@
 
 %changelog
 * @RELDATE@ Daniel Veillard <veillard@redhat.com>
-- upstream release @VERSION@ see http://xmlsoft.org/XSLT/news.html
+- upstream release @VERSION@
diff --git a/libxslt/extensions.c b/libxslt/extensions.c
--- a/libxslt/extensions.c
+++ b/libxslt/extensions.c
@@ -1970,12 +1970,6 @@
 
 /************************************************************************
  *									*
- *		Test module http://xmlsoft.org/XSLT/			*
- *									*
- ************************************************************************/
-
-/************************************************************************
- *									*
  *		Test of the extension module API			*
  *									*
  ************************************************************************/
diff --git a/libxslt/extensions.h b/libxslt/extensions.h
--- a/libxslt/extensions.h
+++ b/libxslt/extensions.h
@@ -246,7 +246,7 @@
 					 const xmlChar *URI);
 
 /**
- * Test module http://xmlsoft.org/XSLT/
+ * Test of the extension module API
  */
 XSLTPUBFUN void XSLTCALL
 		xsltRegisterTestModule	(void);
diff --git a/libxslt/libxslt.3 b/libxslt/libxslt.3
--- a/libxslt/libxslt.3
+++ b/libxslt/libxslt.3
@@ -21,7 +21,7 @@
 .SH AUTHORS
 Daniel Veillard (daniel@veillard.com).
 If you download and install this package look at instructions on the
-Web site http://xmlsoft.org/XSLT/ .
+Web site https://gitlab.gnome.org/GNOME/libxslt .
 Manual page by Heiko W. Rupp (hwr@pilhuhn.de)
 .SH SEE ALSO
 .IR libexslt (3), 
diff --git a/python/tests/pyxsltproc.py b/python/tests/pyxsltproc.py
--- a/python/tests/pyxsltproc.py
+++ b/python/tests/pyxsltproc.py
@@ -124,8 +124,7 @@
     print("\t         file:///etc/xml/catalog are activated by default")
     print("\t--xinclude : do XInclude processing on document input")
     print("\t--profile or --norman : dump profiling information ")
-    print("\nProject libxslt home page: http://xmlsoft.org/XSLT/")
-    print("To report bugs and get help: http://xmlsoft.org/XSLT/bugs.html")
+    print("\nProject libxslt home page: https://gitlab.gnome.org/GNOME/libxslt")
 
 def main(args = None):
     global debug
diff --git a/xsltproc/xsltproc.c b/xsltproc/xsltproc.c
--- a/xsltproc/xsltproc.c
+++ b/xsltproc/xsltproc.c
@@ -548,8 +548,7 @@
 #endif
     printf("\t--load-trace : print trace of all external entites loaded\n");
     printf("\t--profile or --norman : dump profiling information \n");
-    printf("\nProject libxslt home page: http://xmlsoft.org/XSLT/\n");
-    printf("To report bugs and get help: http://xmlsoft.org/XSLT/bugs.html\n");
+    printf("\nProject libxslt home page: https://gitlab.gnome.org/GNOME/libxslt\n");
 }
 
 int