]>
Commit | Line | Data |
---|---|---|
1e016fce JB |
1 | Backport of: |
2 | commit 1273639b93dea51af1b0dd39651bf15c3bbff2d9 | |
3 | Author: Federico Mena Quintero <federico@gnome.org> | |
4 | Date: Fri Jan 25 11:21:11 2019 -0600 | |
5 | ||
6 | Try to make Docbook 5 really work... | |
7 | ||
8 | diff --git a/doc/rsvg-docs.xml b/doc/rsvg-docs.xml | |
9 | index 12b50518..d744e2e0 100644 | |
10 | --- a/doc/rsvg-docs.xml | |
11 | +++ b/doc/rsvg-docs.xml | |
12 | @@ -1,12 +1,10 @@ | |
13 | <?xml version="1.0" encoding="UTF-8" ?> | |
14 | -<!DOCTYPE book | |
15 | +<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML 5.0//EN" | |
16 | + "http://www.oasis-open.org/docbook/xml/5.0" | |
17 | [ | |
18 | <!ENTITY version SYSTEM "version.xml"> | |
19 | ]> | |
20 | -<book xmlns="http://docbook.org/ns/docbook" | |
21 | - xmlns:xi="http://www.w3.org/2001/XInclude" | |
22 | - xmlns:xlink="http://www.w3.org/1999/xlink" | |
23 | - version="5.1"> | |
24 | +<book xmlns:xi="http://www.w3.org/2001/XInclude"> | |
25 | <!-- | |
26 | Copyright © 2009, 2010 Christian Persch | |
27 | Copyright © 2017 Federico Mena Quintero | |
28 | @@ -24,7 +22,7 @@ | |
29 | For librsvg version &version; | |
30 | ||
31 | The latest version of this documentation can be found on-line at the | |
32 | - <link xlink:href="http://library.gnome.org/devel/rsvg/index.html" role="online-location">GNOME Library</link>. | |
33 | + <link href="http://library.gnome.org/devel/rsvg/index.html" role="online-location">GNOME Library</link>. | |
34 | </releaseinfo> | |
35 | ||
36 | <copyright> | |
37 | @@ -57,7 +55,7 @@ | |
38 | ||
39 | You may obtain a copy of the <citetitle>GNU General Public Licence</citetitle> | |
40 | from the Free Software Foundation at | |
41 | - <link xlink:href="http://www.gnu.org/licences/">GNU Licences web site</link> | |
42 | + <link href="http://www.gnu.org/licences/">GNU Licences web site</link> | |
43 | or by writing to: | |
44 | ||
45 | <address> | |
46 | @@ -70,16 +68,14 @@ | |
47 | </legalnotice> | |
48 | </info> | |
49 | ||
50 | - <part xml:id="rsvg"> | |
51 | + <part id="rsvg"> | |
52 | <title>API Reference</title> | |
53 | <partintro> | |
54 | <para> | |
55 | Librsvg is a library for rendering Scalable Vector Graphics 1.1 | |
56 | - files (<link | |
57 | - xlink:href="https://www.w3.org/TR/SVG/">SVG 1.1</link>). | |
58 | + files (<link href="https://www.w3.org/TR/SVG/">SVG 1.1</link>). | |
59 | Specifically, it can take non-animated, non-scripted SVG data | |
60 | - and render it into a <link | |
61 | - xlink:href="https://www.cairographics.org/">Cairo</link> | |
62 | + and render it into a <link href="https://www.cairographics.org/">Cairo</link> | |
63 | surface. Normally this means an in-memory raster surface, but | |
64 | it could also be any of the other surface types that Cairo | |
65 | supports. | |
66 | @@ -87,7 +83,7 @@ | |
67 | ||
68 | <para> | |
69 | Librsvg supports many of the graphic features in the <link | |
70 | - xlink:href="https://www.w3.org/TR/SVG/">SVG 1.1 | |
71 | + href="https://www.w3.org/TR/SVG/">SVG 1.1 | |
72 | specification</link>. The main features of SVG 1.1 that | |
73 | librsvg does not support are the following: | |
74 | </para> | |
75 | @@ -192,7 +188,7 @@ | |
76 | <para> | |
77 | You may obtain a copy of the <citetitle>GNU General Public Licence</citetitle> | |
78 | from the Free Software Foundation at | |
79 | - <link xlink:href="http://www.gnu.org/licences/">GNU Licences web site</link> | |
80 | + <link href="http://www.gnu.org/licences/">GNU Licences web site</link> | |
81 | or by writing to: | |
82 | ||
83 | <address> | |
84 | --- librsvg-2.44.14/librsvg/rsvg-handle.c.orig 2019-02-15 19:20:24.000000000 +0100 | |
85 | +++ librsvg-2.44.14/librsvg/rsvg-handle.c 2019-06-09 17:05:18.357977812 +0200 | |
86 | @@ -31,7 +31,7 @@ | |
87 | * or in the most general form, from a #GInputStream that will provide SVG data. | |
88 | * | |
89 | * Librsvg supports reading <link | |
90 | - * xlink:href="https://www.w3.org/TR/SVG/">SVG 1.1</link> data. It also | |
91 | + * href="https://www.w3.org/TR/SVG/">SVG 1.1</link> data. It also | |
92 | * supports SVGZ files, which is just an SVG stream compressed with the GZIP | |
93 | * algorithm. | |
94 | * | |
95 | @@ -43,7 +43,7 @@ | |
96 | * and that it has an image element like this: | |
97 | * | |
98 | * |[ | |
99 | - * <image xlink:href="resources/foo.png" .../> | |
100 | + * <image href="resources/foo.png" .../> | |
101 | * ]| | |
102 | * | |
103 | * In this case, librsvg needs to know the location of the toplevel |