summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/docbook-xml
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/docbook-xml')
-rw-r--r--meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS4
-rw-r--r--meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb28
-rw-r--r--meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb5
3 files changed, 8 insertions, 29 deletions
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS
index 6da7f5b8c7..13f303dc6a 100644
--- a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS
+++ b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS
@@ -10,7 +10,3 @@ If you modify the DocBook DTD in any way, except for declaring and
10referencing additional sets of general entities and declaring 10referencing additional sets of general entities and declaring
11additional notations, label your DTD as a variant of DocBook. See 11additional notations, label your DTD as a variant of DocBook. See
12the maintenance documentation for more information. 12the maintenance documentation for more information.
13
14Please direct all questions, bug reports, or suggestions for
15changes to the docbook@lists.oasis-open.org mailing list. For more
16information, see http://www.oasis-open.org/docbook/.
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb
index 5229a0366c..1148d53694 100644
--- a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb
+++ b/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4_4.5.bb
@@ -3,28 +3,13 @@ DESCRIPTION = "Document type definitions for verification of XML data \
3files against the DocBook rule set." 3files against the DocBook rule set."
4HOMEPAGE = "https://docbook.org" 4HOMEPAGE = "https://docbook.org"
5 5
6# The upstream sources are not distributed with a license file. 6LICENSE = "DocBook"
7# LICENSE-OASIS is included as a "patch" to workaround this. When 7NO_GENERIC_LICENSE[DocBook] = "LICENSE-OASIS"
8# upgrading this recipe, please verify whether this is still needed.
9 8
10LICENSE = "OASIS" 9LIC_FILES_CHKSUM = "file://docbook-4.5/docbookx.dtd;beginline=15;endline=30;md5=ab12da76ad94a41d04e1587693ebd9b6 \
11LIC_FILES_CHKSUM = "file://${S}/LICENSE-OASIS;md5=c608985dd5f7f215e669e7639a0b1d2e" 10 file://LICENSE-OASIS;md5=b9ee6208caa6e66c68dfad6f31d73f92"
12
13# To support apps with xml schema backward compatibility, we must
14# install a set of schemas. Install the latest based on PV and then
15# name any specific versions as required. TODO: Figure out a mechanism
16# to filter exactly which versions are necessary, if that's even
17# possible.
18#
19# DocBook.org lists available release packages at https://docbook.org/xml/.
20#
21# The release packages relate docbook source at
22# https://github.com/docbook/docbook but building them requires the
23# Gradle build system. In future, it might be safer to use the source
24# tree which would also enable proper SBOM generation through the
25# bitbake build system.
26#
27 11
12# Install the latest 4.5 DTDs, and the previous releases for backward compatibility.
28SRC_URI = "https://docbook.org/xml/4.1.2/docbkx412.zip;name=payload412;subdir=docbook-4.1.2 \ 13SRC_URI = "https://docbook.org/xml/4.1.2/docbkx412.zip;name=payload412;subdir=docbook-4.1.2 \
29 https://docbook.org/xml/4.2/docbook-xml-4.2.zip;name=payload42;subdir=docbook-4.2 \ 14 https://docbook.org/xml/4.2/docbook-xml-4.2.zip;name=payload42;subdir=docbook-4.2 \
30 https://docbook.org/xml/4.3/docbook-xml-4.3.zip;name=payload43;subdir=docbook-4.3 \ 15 https://docbook.org/xml/4.3/docbook-xml-4.3.zip;name=payload43;subdir=docbook-4.3 \
@@ -41,8 +26,7 @@ SRC_URI[payloadPV.sha256sum] = "4e4e037a2b83c98c6c94818390d4bdd3f6e10f6ec62dd791
41 26
42UPSTREAM_CHECK_REGEX = "docbook-xml-(?P<pver>4(\.\d+)).zip" 27UPSTREAM_CHECK_REGEX = "docbook-xml-(?P<pver>4(\.\d+)).zip"
43 28
44S = "${WORKDIR}/sources" 29S = "${UNPACKDIR}"
45UNPACKDIR = "${S}"
46 30
47do_configure (){ 31do_configure (){
48 : 32 :
diff --git a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb
index beda0abe95..7e4730b5e9 100644
--- a/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb
+++ b/meta/recipes-devtools/docbook-xml/docbook-xsl-stylesheets_1.79.1.bb
@@ -1,20 +1,19 @@
1SUMMARY = "XSL stylesheets for processing DocBook XML to various output formats" 1SUMMARY = "XSL stylesheets for processing DocBook XML to various output formats"
2HOMEPAGE = "http://docbook.sourceforge.net" 2HOMEPAGE = "http://docbook.sourceforge.net"
3LICENSE = "XSL" 3LICENSE = "DocBook-XML"
4LIC_FILES_CHKSUM = "file://COPYING;md5=6beadd98f9c54ab0c387e14211ee4d0e" 4LIC_FILES_CHKSUM = "file://COPYING;md5=6beadd98f9c54ab0c387e14211ee4d0e"
5 5
6SRC_URI = "${SOURCEFORGE_MIRROR}/docbook/docbook-xsl-${PV}.tar.bz2 \ 6SRC_URI = "${SOURCEFORGE_MIRROR}/docbook/docbook-xsl-${PV}.tar.bz2 \
7 file://docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch \ 7 file://docbook-xsl-stylesheets-no-bashism-in-docbook-xsl-up.patch \
8" 8"
9 9
10SRC_URI[md5sum] = "b48cbf929a2ad85e6672f710777ca7bc"
11SRC_URI[sha256sum] = "725f452e12b296956e8bfb876ccece71eeecdd14b94f667f3ed9091761a4a968" 10SRC_URI[sha256sum] = "725f452e12b296956e8bfb876ccece71eeecdd14b94f667f3ed9091761a4a968"
12 11
13UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/docbook/files/docbook-xsl/" 12UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/docbook/files/docbook-xsl/"
14# Reject versions ending in .0 as those are release candidates 13# Reject versions ending in .0 as those are release candidates
15UPSTREAM_CHECK_REGEX = "/docbook-xsl/(?P<pver>(\d+[\.\-_]*)+(?!\.0)\.\d+)/" 14UPSTREAM_CHECK_REGEX = "/docbook-xsl/(?P<pver>(\d+[\.\-_]*)+(?!\.0)\.\d+)/"
16 15
17S = "${WORKDIR}/docbook-xsl-${PV}" 16S = "${UNPACKDIR}/docbook-xsl-${PV}"
18 17
19inherit allarch xmlcatalog 18inherit allarch xmlcatalog
20 19