Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] docbook-xml-dtd4: correct license name
@ 2025-03-10  7:12 Hongxu Jia
  2025-03-10  7:16 ` Patchtest results for " patchtest
  2025-03-17 12:43 ` [OE-core] " Ross Burton
  0 siblings, 2 replies; 5+ messages in thread
From: Hongxu Jia @ 2025-03-10  7:12 UTC (permalink / raw)
  To: openembedded-core

- Use license in source file to instead local file LICENSE-OASIS

- Refer debian[1], rename license LICENSE-OASIS to DocBook

The content of license has no change

License-Update: rename license LICENSE-OASIS -> DocBook

[1] https://salsa.debian.org/debian/docbook-xml/-/blob/debian/master/debian/copyright?ref_type=heads#L28

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 .../common-licenses/DocBook}                     |  2 +-
 meta/files/common-licenses/OASIS                 | 13 -------------
 .../docbook-xml/docbook-xml-dtd4_4.5.bb          | 16 +++++++++-------
 3 files changed, 10 insertions(+), 21 deletions(-)
 rename meta/{recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS => files/common-licenses/DocBook} (92%)
 delete mode 100644 meta/files/common-licenses/OASIS

diff --git a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS b/meta/files/common-licenses/DocBook
similarity index 92%
rename from meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS
rename to meta/files/common-licenses/DocBook
index 6da7f5b8c74..822a0f07e40 100644
--- a/meta/recipes-devtools/docbook-xml/docbook-xml-dtd4/LICENSE-OASIS
+++ b/meta/files/common-licenses/DocBook
@@ -11,6 +11,6 @@ referencing additional sets of general entities and declaring
 additional notations, label your DTD as a variant of DocBook.  See
 the maintenance documentation for more information.
 
-Please direct all questions, bug reports, or suggestions for 
+Please direct all questions, bug reports, or suggestions for
 changes to the docbook@lists.oasis-open.org mailing list. For more
 information, see http://www.oasis-open.org/docbook/.
diff --git a/meta/files/common-licenses/OASIS b/meta/files/common-licenses/OASIS
deleted file mode 100644
index f93df7af270..00000000000
--- a/meta/files/common-licenses/OASIS
+++ /dev/null
@@ -1,13 +0,0 @@
-  Permission to use, copy, modify and distribute the DocBook DTD and
-  its accompanying documentation for any purpose and without fee is
-  hereby granted in perpetuity, provided that the above copyright
-  notice and this paragraph appear in all copies.  The copyright
-  holders make no representation about the suitability of the DTD for
-  any purpose.  It is provided "as is" without expressed or implied
-  warranty.
-
-  If you modify the DocBook DTD in any way, except for declaring and
-  referencing additional sets of general entities and declaring
-  additional notations, label your DTD as a variant of DocBook.  See
-  the maintenance documentation for more information.
-
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 5229a0366c2..d858d09630d 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,12 +3,14 @@ DESCRIPTION = "Document type definitions for verification of XML data \
 files against the DocBook rule set."
 HOMEPAGE = "https://docbook.org"
 
-# The upstream sources are not distributed with a license file.
-# LICENSE-OASIS is included as a "patch" to workaround this. When
-# upgrading this recipe, please verify whether this is still needed.
-
-LICENSE = "OASIS"
-LIC_FILES_CHKSUM = "file://${S}/LICENSE-OASIS;md5=c608985dd5f7f215e669e7639a0b1d2e"
+LICENSE = "DocBook"
+LIC_FILES_CHKSUM = "\
+    file://docbook-4.1.2/docbookx.dtd;beginline=12;endline=27;md5=21a24edab68530fae39dd512ba69840e \
+    file://docbook-4.2/docbookx.dtd;beginline=13;endline=28;md5=ab12da76ad94a41d04e1587693ebd9b6 \
+    file://docbook-4.3/docbookx.dtd;beginline=13;endline=28;md5=ab12da76ad94a41d04e1587693ebd9b6 \
+    file://docbook-4.4/docbookx.dtd;beginline=15;endline=30;md5=ab12da76ad94a41d04e1587693ebd9b6 \
+    file://docbook-4.5/docbookx.dtd;beginline=15;endline=30;md5=ab12da76ad94a41d04e1587693ebd9b6 \
+"
 
 # To support apps with xml schema backward compatibility, we must
 # install a set of schemas. Install the latest based on PV and then
@@ -31,7 +33,7 @@ SRC_URI = "https://docbook.org/xml/4.1.2/docbkx412.zip;name=payload412;subdir=do
            https://docbook.org/xml/4.4/docbook-xml-4.4.zip;name=payload44;subdir=docbook-4.4 \
            https://docbook.org/xml/${PV}/docbook-xml-${PV}.zip;name=payloadPV;subdir=docbook-${PV} \
            file://docbook-xml-update-catalog.xml.patch \
-           file://LICENSE-OASIS"
+           "
 
 SRC_URI[payload412.sha256sum] = "30f0644064e0ea71751438251940b1431f46acada814a062870f486c772e7772"
 SRC_URI[payload42.sha256sum] = "acc4601e4f97a196076b7e64b368d9248b07c7abf26b34a02cca40eeebe60fa2"
-- 
2.34.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2025-03-19  2:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-10  7:12 [PATCH] docbook-xml-dtd4: correct license name Hongxu Jia
2025-03-10  7:16 ` Patchtest results for " patchtest
2025-03-10  7:29   ` Hongxu Jia
2025-03-17 12:43 ` [OE-core] " Ross Burton
2025-03-19  2:41   ` Hongxu Jia

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox