Revert "docbook-sgml-dtd*native: remove old versions"
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Mon, 16 Aug 2010 09:34:37 +0000 (11:34 +0200)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Mon, 16 Aug 2010 09:34:37 +0000 (11:34 +0200)
This reverts commit 5329088185d8f55f721cba92deab06dc859e9df1.
some recipes pin specifically to the 3.1 version, so reinstating that one

recipes/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb [new file with mode: 0644]
recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb [new file with mode: 0644]

diff --git a/recipes/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb b/recipes/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb
new file mode 100644 (file)
index 0000000..939fd53
--- /dev/null
@@ -0,0 +1,15 @@
+require docbook-sgml-dtd-native.inc
+
+DTD_VERSION = "3.1"
+
+SRC_URI = "http://www.docbook.org/sgml/3.1/docbk31.zip;md5sum=432749c0c806dbae81c8bcb70da3b5d3"
+
+do_compile() {
+    # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd-3.html
+    # for details.
+    sed -i -e '/ISO 8879/d' -e 's|DTDDECL "-//OASIS//DTD DocBook V3.1//EN"|SGMLDECL|g' docbook.cat
+}
+
+
+SRC_URI[md5sum] = "432749c0c806dbae81c8bcb70da3b5d3"
+SRC_URI[sha256sum] = "20261d2771b9a052abfa3d8fab1aa62be05791a010281c566f9073bf0e644538"
diff --git a/recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb b/recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb
new file mode 100644 (file)
index 0000000..2bc43e1
--- /dev/null
@@ -0,0 +1,15 @@
+require docbook-sgml-dtd-native.inc
+
+DTD_VERSION = "4.1"
+
+SRC_URI = "http://docbook.org/sgml/4.1/docbk41.zip"
+
+do_compile() {
+    # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd.html
+    # for details.
+               sed -i -e '/ISO 8879/d' -e '/gml/d' docbook.cat
+}
+
+
+SRC_URI[md5sum] = "489f6ff2a2173eb1e14216c10533ede2"
+SRC_URI[sha256sum] = "deaafcf0a3677692e7ad4412c0e41c1db3e9da6cdcdb3dd32b2cc1f9c97d6311"