docbook-utils and related recipes, v2
cover docbook-utils and related recipes, v2
From: Scott Garman <[email protected]>
Hello,
This is a second iteration of my docbook-utils pull request based on feedback from Josh and Saul.
Pull URL: git://git.pokylinux.org/poky-contrib.git
Branch: sgarman/docbook-utils
Browse: http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=sgarman/docbook-utils
Thanks,
Scott Garman <[email protected]>
---
Scott Garman (9):
sgml-common: new recipe v0.6.3
docbook-sgml-dtd: new recipes - v3.1, v4.1, v4.5
docbook-dsssl-stylesheets: new recipe v1.79
sgmlspl: new recipe, v1.03ii
opensp: new recipe v1.5
openjade: new recipe v1.3.2
docbook-utils: new recipe v0.6.14
iputils: enable generation of man pages distro_tracking_fields.inc: added docbook-utils and dependencies
.../conf/distro/include/distro_tracking_fields.inc | 69 + .../docbook-dsssl-stylesheets-native_1.79.bb | 52 + .../docbook-sgml-dtd-3.1-native.bb | 23 + .../docbook-sgml-dtd-4.1-native.bb | 23 + .../docbook-sgml-dtd-4.5-native.bb | 17 + .../docbook-sgml-dtd/docbook-sgml-dtd-native.inc | 53 + .../docbook-sgml-dtd/files/LICENSE-OASIS | 16 + .../docbook-utils/docbook-utils_0.6.14.bb | 20 + .../openjade/openjade-1.3.2/autoconf.patch | 173 ++ .../openjade/openjade-1.3.2/configure.patch | 68 + .../openjade/openjade-1.3.2/makefile.patch | 34 + .../openjade-1.3.2/oj-native-libosp-fix.patch | 15 + meta/recipes-devtools/openjade/openjade_1.3.2.bb | 66 + .../opensp/opensp/attributevalue.patch | 62 + .../opensp/opensp/fix-docdir.patch | 14 + meta/recipes-devtools/opensp/opensp/m4.patch | 1925 ++++++++++++++++++++ .../opensp/opensp/rangmap-fix.patch | 15 + meta/recipes-devtools/opensp/opensp_1.5.bb | 27 + .../sgml-common/sgml-common-0.6.3/autohell.patch | 58 + .../sgml-common/sgml-common-0.6.3/license.patch | 26 + .../sgml-common/sgml-common-native_0.6.3.bb | 50 + .../sgml-common/sgml-common_0.6.3.bb | 52 + meta/recipes-devtools/sgmlspl/files/combined.patch | 457 +++++ .../sgmlspl/sgmlspl-native_1.03ii.bb | 17 + meta/recipes-extended/iputils/iputils_s20101006.bb | 10 +- 25 files changed, 3337 insertions(+), 5 deletions(-) create mode 100644 meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb create mode 100644 meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb create mode 100644 meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb create mode 100644 meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-4.5-native.bb create mode 100644 meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc create mode 100644 meta/recipes-devtools/docbook-sgml-dtd/files/LICENSE-OASIS create mode 100644 meta/recipes-devtools/docbook-utils/docbook-utils_0.6.14.bb create mode 100644 meta/recipes-devtools/openjade/openjade-1.3.2/autoconf.patch create mode 100644 meta/recipes-devtools/openjade/openjade-1.3.2/configure.patch create mode 100644 meta/recipes-devtools/openjade/openjade-1.3.2/makefile.patch create mode 100644 meta/recipes-devtools/openjade/openjade-1.3.2/oj-native-libosp-fix.patch create mode 100644 meta/recipes-devtools/openjade/openjade_1.3.2.bb create mode 100644 meta/recipes-devtools/opensp/opensp/attributevalue.patch create mode 100644 meta/recipes-devtools/opensp/opensp/fix-docdir.patch create mode 100644 meta/recipes-devtools/opensp/opensp/m4.patch create mode 100644 meta/recipes-devtools/opensp/opensp/rangmap-fix.patch create mode 100644 meta/recipes-devtools/opensp/opensp_1.5.bb create mode 100644 meta/recipes-devtools/sgml-common/sgml-common-0.6.3/autohell.patch create mode 100644 meta/recipes-devtools/sgml-common/sgml-common-0.6.3/license.patch create mode 100644 meta/recipes-devtools/sgml-common/sgml-common-native_0.6.3.bb create mode 100644 meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb create mode 100644 meta/recipes-devtools/sgmlspl/files/combined.patch create mode 100644 meta/recipes-devtools/sgmlspl/sgmlspl-native_1.03ii.bb
Signature · 1 line
1.7.3.5
PATCH 1/9 sgml-common: new recipe v0.6.3
From: Scott Garman <[email protected]>
Recipe derived from OpenEmbedded.
--- .../sgml-common/sgml-common-0.6.3/autohell.patch | 58 ++++++++++++++++++++ .../sgml-common/sgml-common-0.6.3/license.patch | 26 +++++++++ .../sgml-common/sgml-common-native_0.6.3.bb | 50 +++++++++++++++++ .../sgml-common/sgml-common_0.6.3.bb | 52 ++++++++++++++++++ 4 files changed, 186 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-devtools/sgml-common/sgml-common-0.6.3/autohell.patch create mode 100644 meta/recipes-devtools/sgml-common/sgml-common-0.6.3/license.patch create mode 100644 meta/recipes-devtools/sgml-common/sgml-common-native_0.6.3.bb create mode 100644 meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb
meta/recipes-devtools/sgml-common/sgml-common-0.6.3/autohell.patch new file +58 -0
@@ -0,0 +1,58 @@ +Patch obtained from OpenEmbedded. + +Signed-off-by: Scott Garman <[email protected]> +--- sgml-common-0.6.3/bin/Makefile.am~autohell.patch 2001-01-30 15:42:21.000000000 +0100 ++++ sgml-common-0.6.3/bin/Makefile.am 2004-06-17 11:51:11.000000000 +0200 +@@ -1,6 +1,5 @@ + primitive_scripts = sgmlwhich + +-bindir = $(prefix)/bin + bin_SCRIPTS = install-catalog $(primitive_scripts) + + EXTRA_DIST = install-catalog.in $(primitive_scripts) +--- /dev/null 2003-09-23 19:59:22.000000000 +0200 ++++ sgml-common-0.6.3/bin/sgmlwhich.in 2004-06-17 11:51:11.000000000 +0200 +@@ -0,0 +1,7 @@ ++#!/bin/sh ++# Location of the main configuration file for consistency with non-LSB platforms ++# Send any comments to Eric Bischoff <[email protected]> ++# This program is under GPL license. See LICENSE file for details. ++ ++echo "@sysconfdir@/sgml/sgml.conf" ++# Simple, isn't it? ;-) +--- /dev/null 2003-09-23 19:59:22.000000000 +0200 ++++ sgml-common-0.6.3/config/sgml.conf.in 2004-06-17 11:51:11.000000000 +0200 +@@ -0,0 +1,2 @@ ++SGML_BASE_DIR=@datadir@/sgml ++SGML_CATALOGS_DIR=@sysconfdir@/sgml +--- sgml-common-0.6.3/configure.in~autohell.patch 2001-05-25 18:40:54.000000000 +0200 ++++ sgml-common-0.6.3/configure.in 2004-06-17 11:53:22.000000000 +0200 +@@ -3,11 +3,6 @@ + + AM_INIT_AUTOMAKE(sgml-common, 0.6.3) + +-docdir='$(prefix)/doc' +-AC_SUBST(docdir) +- +-dnl Checks for programs. +- + dnl Checks for libraries. + + dnl Checks for header files. +@@ -18,6 +13,5 @@ + + AC_OUTPUT(Makefile \ + bin/Makefile bin/install-catalog \ +- config/Makefile \ +- doc/Makefile doc/HTML/Makefile doc/man/Makefile doc/refentry/Makefile \ ++ config/Makefile config/sgml.conf bin/sgmlwhich \ + sgml-iso-entities/Makefile xml-iso-entities/Makefile) + +--- sgml-common-0.6.3/Makefile.am~no-docs 2001-05-25 18:22:01.000000000 +0200 ++++ sgml-common-0.6.3/Makefile.am 2004-06-17 11:49:09.000000000 +0200 +@@ -1,4 +1,4 @@ +-SUBDIRS = bin config doc sgml-iso-entities xml-iso-entities ++SUBDIRS = bin config sgml-iso-entities xml-iso-entities + + sgmlcodir = $(prefix)/share/sgml + sgmlco_DATA = xml.dcl
meta/recipes-devtools/sgml-common/sgml-common-0.6.3/license.patch new file +26 -0
@@ -0,0 +1,26 @@ +The COPYING file sgml-common ships with is just a symlink to +/usr/share/automake/COPYING, which means we can't verify it +using our normal means. We workaround this by using this patch +to create our own license file. + +Upstream was notified about this on 2011-01-24. When upgrading +this recipe, this should be fixed and you should remove this +patch. + +Signed-off-by: Scott Garman <[email protected]> +diff -urN sgml-common-0.6.3.orig/LICENSE-GPLv2 sgml-common-0.6.3/LICENSE-GPLv2 +--- sgml-common-0.6.3.orig/LICENSE-GPLv2 1969-12-31 16:00:00.000000000 -0800 ++++ sgml-common-0.6.3/LICENSE-GPLv2 2011-01-28 17:05:17.299528001 -0800 +@@ -0,0 +1,12 @@ ++Copyright (C) 1997 Christian Schwarz <[email protected]>. ++Copyright (C) 2001-2004 Ardo van Rangelrooij <[email protected]> ++ ++This is free software; you may redistribute it and/or modify it under ++the terms of the GNU General Public License as published by the Free ++Software Foundation; either version 2, or (at your option) any later ++version. ++ ++This is distributed in the hope that it will be useful, but without ++any warranty; without even the implied warranty of merchantability or ++fitness for a particular purpose. See the GNU General Public License ++for more details.
meta/recipes-devtools/sgml-common/sgml-common-native_0.6.3.bb new file +50 -0
50 lines not on this page · raw message
meta/recipes-devtools/sgml-common/sgml-common_0.6.3.bb new file +52 -0
52 lines not on this page · raw message
Signature · 1 line
1.7.3.5
PATCH 2/9 docbook-sgml-dtd: new recipes - v3.1, v4.1, v4.5
In reply to Scott GarmanFrom: Scott Garman <[email protected]>
These are recipes for DTDs commonly used when generating documentation for free software. Recipes dervied from the versions in OpenEmbedded.
--- .../docbook-sgml-dtd-3.1-native.bb | 23 +++++++++ .../docbook-sgml-dtd-4.1-native.bb | 23 +++++++++ .../docbook-sgml-dtd-4.5-native.bb | 17 ++++++ .../docbook-sgml-dtd/docbook-sgml-dtd-native.inc | 53 ++++++++++++++++++++ .../docbook-sgml-dtd/files/LICENSE-OASIS | 16 ++++++ 5 files changed, 132 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb create mode 100644 meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb create mode 100644 meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-4.5-native.bb create mode 100644 meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc create mode 100644 meta/recipes-devtools/docbook-sgml-dtd/files/LICENSE-OASIS
meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb new file +23 -0
@@ -0,0 +1,23 @@ +require docbook-sgml-dtd-native.inc + +LICENSE = "OASIS" +LIC_FILES_CHKSUM = "file://LICENSE-OASIS;md5=c608985dd5f7f215e669e7639a0b1d2e" + +DTD_VERSION = "3.1" + +PR = "${INC_PR}.0" + +# Note: 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. +SRC_URI = "http://www.docbook.org/sgml/3.1/docbk31.zip \ + file://LICENSE-OASIS" + +SRC_URI[md5sum] = "432749c0c806dbae81c8bcb70da3b5d3" +SRC_URI[sha256sum] = "20261d2771b9a052abfa3d8fab1aa62be05791a010281c566f9073bf0e644538" + +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 +}
meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb new file +23 -0
@@ -0,0 +1,23 @@ +require docbook-sgml-dtd-native.inc + +LICENSE = "OASIS" +LIC_FILES_CHKSUM = "file://LICENSE-OASIS;md5=c608985dd5f7f215e669e7639a0b1d2e" + +DTD_VERSION = "4.1" + +PR = "${INC_PR}.0" + +# Note: 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. +SRC_URI = "http://docbook.org/sgml/4.1/docbk41.zip \ + file://LICENSE-OASIS" + +SRC_URI[md5sum] = "489f6ff2a2173eb1e14216c10533ede2" +SRC_URI[sha256sum] = "deaafcf0a3677692e7ad4412c0e41c1db3e9da6cdcdb3dd32b2cc1f9c97d6311" + +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 +}
meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-4.5-native.bb new file +17 -0
@@ -0,0 +1,17 @@ +require docbook-sgml-dtd-native.inc + +LICENSE = "OASIS" +LIC_FILES_CHKSUM = "file://LICENSE-OASIS;md5=c608985dd5f7f215e669e7639a0b1d2e" + +DTD_VERSION = "4.5" + +PR = "${INC_PR}.0" + +SRC_URI[md5sum] = "07c581f4bbcba6d3aac85360a19f95f7" +SRC_URI[sha256sum] = "8043e514e80c6c19cb146b5d37937d1305bf3abf9b0097c36df7f70f611cdf43" + +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 +}
meta/recipes-devtools/docbook-sgml-dtd/docbook-sgml-dtd-native.inc new file +53 -0
53 lines not on this page · raw message
meta/recipes-devtools/docbook-sgml-dtd/files/LICENSE-OASIS new file +16 -0
@@ -0,0 +1,16 @@ +Permission to use, copy, modify and distribute the DocBook XML 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. + +Please direct all questions, bug reports, or suggestions for +changes to the [email protected] mailing list. For more +information, see http://www.oasis-open.org/docbook/.
Signature · 1 line
1.7.3.5
PATCH 3/9 docbook-dsssl-stylesheets: new recipe v1.79
In reply to Scott GarmanFrom: Scott Garman <[email protected]>
Recipe migrated from OpenEmbedded.
--- .../docbook-dsssl-stylesheets-native_1.79.bb | 52 ++++++++++++++++++++ 1 files changed, 52 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb
meta/recipes-devtools/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb new file +52 -0
@@ -0,0 +1,52 @@ +SUMMARY = "DSSSL stylesheets used to transform SGML and XML DocBook files" +DESCRIPTION = "DSSSL stylesheets used to transform SGML and XML DocBook files" +HOMEPAGE= "http://docbook.sourceforge.net" +# Simple persmissive +LICENSE = "DSSSL" +LIC_FILES_CHKSUM = "file://README;beginline=41;endline=74;md5=875385159b2ee76ecf56136ae7f542d6" + +DEPENDS = "sgml-common-native" + +PR = "r0" + +SRC_URI = "${SOURCEFORGE_MIRROR}/docbook/docbook-dsssl-${PV}.tar.bz2" + +SRC_URI[md5sum] = "bc192d23266b9a664ca0aba4a7794c7c" +SRC_URI[sha256sum] = "2f329e120bee9ef42fbdd74ddd60e05e49786c5a7953a0ff4c680ae6bdf0e2bc" + +S = "${WORKDIR}/docbook-dsssl-${PV}" + +inherit native + +SYSROOT_PREPROCESS_FUNCS += "docbook_dssl_stylesheets_native_mangle" + +do_install () { + # Refer to http://www.linuxfromscratch.org/blfs/view/stable/pst/docbook-dsssl.html + # for details. + install -d ${D}${bindir} + install -m 0755 bin/collateindex.pl ${D}${bindir} + + install -d ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV} + install -m 0644 catalog ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV} + cp -PpRr common ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV} + + install-catalog --add ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat \ + ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV}/catalog + + install-catalog --add ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat \ + ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV}/common/catalog + + install-catalog --add ${sysconfdir}/sgml/sgml-docbook.cat \ + ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat + + # Move these to the image directory so they get staged properly. + install -d ${D}${sysconfdir}/sgml + cp ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat ${D}${sysconfdir}/sgml/ + cp ${sysconfdir}/sgml/sgml-docbook.cat ${D}${sysconfdir}/sgml/ + cp ${sysconfdir}/sgml/catalog ${D}${sysconfdir}/sgml/ +} + +docbook_dssl_stylesheets_native_mangle () { + # Remove the image directory path ${D} from the .cat file. + sed -i -e "s|${D}||g" ${SYSROOT_DESTDIR}${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat +}
Signature · 1 line
1.7.3.5
PATCH 4/9 sgmlspl: new recipe, v1.03ii
In reply to Scott GarmanFrom: Scott Garman <[email protected]>
Recipe derived from OpenEmbedded.
--- meta/recipes-devtools/sgmlspl/files/combined.patch | 457 ++++++++++++++++++++ .../sgmlspl/sgmlspl-native_1.03ii.bb | 17 + 2 files changed, 474 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-devtools/sgmlspl/files/combined.patch create mode 100644 meta/recipes-devtools/sgmlspl/sgmlspl-native_1.03ii.bb
meta/recipes-devtools/sgmlspl/files/combined.patch new file +457 -0
@@ -0,0 +1,457 @@ +Patch obtained from OpenEmbedded. + +Signed-off-by: Scott Garman <[email protected]> +--- libsgmls-perl-1.03ii.orig/Makefile ++++ libsgmls-perl-1.03ii/Makefile +@@ -94,5 +94,5 @@ + mv /tmp/${DIST} SGMLSpm + + clean: +- cd DOC; make clean ++ #cd DOC; make clean + rm -f *~ core *.tar *.tar.gz +--- libsgmls-perl-1.03ii.orig/Makefile.PL ++++ libsgmls-perl-1.03ii/Makefile.PL +@@ -0,0 +1,17 @@ ++use ExtUtils::MakeMaker; ++# See lib/ExtUtils/MakeMaker.pm for details of how to influence ++# the contents of the Makefile that is written. ++WriteMakefile( ++ 'NAME' => 'SGMLS', ++ 'VERSION' => '1.03ii', ++ 'PM' => { 'SGMLS.pm' => '$(INST_LIBDIR)/SGMLS.pm', ++ 'Output.pm' => '$(INST_LIBDIR)/SGMLS/Output.pm', ++ 'Refs.pm' => '$(INST_LIBDIR)/SGMLS/Refs.pm', ++ 'skel.pl' => '$(INST_LIBDIR)/sgmlspl-specs/skel.pl', ++ }, ++ 'MAN3PODS'=> { 'SGMLS.pm' => '$(INST_MAN3DIR)/SGMLS.3pm', ++ 'Output.pm' => '$(INST_MAN3DIR)/SGMLS::Output.3pm', ++ 'Refs.pm' => '$(INST_MAN3DIR)/SGMLS::Refs.3pm', ++ }, ++ 'EXE_FILES' => [ 'sgmlspl', ], ++); +--- libsgmls-perl-1.03ii.orig/Output.pm ++++ libsgmls-perl-1.03ii/Output.pm +@@ -5,7 +5,7 @@ + @ISA = Exporter; + @EXPORT = qw(output push_output pop_output); + +-$version = '$Id: Output.pm,v 1.6 1995/12/05 12:21:51 david Exp $'; ++$version = '$Id: Output.pm,v 1.1 1999/10/26 19:30:45 ardo Exp $'; + + =head1 NAME + +--- libsgmls-perl-1.03ii.orig/Refs.pm ++++ libsgmls-perl-1.03ii/Refs.pm +@@ -2,11 +2,11 @@ + + use Carp; + +-$version = '$Id: Refs.pm,v 1.5 1995/12/03 21:28:36 david Exp $'; ++$version = '$Id: Refs.pm,v 1.1 1999/10/26 19:30:45 ardo Exp $'; + + =head1 NAME + +-SGMLS::Refs ++SGMLS::Refs - Forward refeence handling + + =head1 SYNOPSIS + +--- libsgmls-perl-1.03ii.orig/sgmlspl.1 ++++ libsgmls-perl-1.03ii/sgmlspl.1 +@@ -0,0 +1,47 @@ ++.\" -*- nroff -*- ++.\" ---------------------------------------------------------------------- ++.TH SGMLSPL 1 "October 26, 1999" "SGMLSPL" "SGMLSPL" ++.\" ++.\" ---------------------------------------------------------------------- ++.SH "NAME" ++sgmlspl \- a simple post-processor for nsgmls ++.\" ++.\" ---------------------------------------------------------------------- ++.SH "SYNOPSIS" ++.B sgmlspl ++.I "spec file" ++.\" ++.\" ---------------------------------------------------------------------- ++.SH "DESCRIPTION" ++sgmlspl is a sample application to convert SGML documents to other ++formats by providing a specification file detailing exactly how to ++handle each element, external data entity, subdocument entity, CDATA ++string, record end, SDATA string, and processing instruction. ++ ++To use sgmlspl, prepare a specification file containing regular perl5 ++code. If the SGML document were named doc.sgml, the sgmlspl ++specification file were named, spec.pl, and the name of the new file ++were doc.latex, then use the following command in a Unix shell to ++convert the SGML document: ++ ++nsgmls doc.sgml | sgmlspl spec.pl > doc.latex ++ ++sgmlspl will pass any additional arguments on to the specification ++file, which can then process them in the regular perl5 fashion. ++.\" ++.\" ---------------------------------------------------------------------- ++.SH "SEE ALSO" ++.TP ++.BR /usr/share/doc/sgmls-doc/sgmlspl/sgmlspl.html ++sgmlspl documentation in HTML format ++.TP ++.BR /usr/share/doc/sgmls-doc/SGMLSpm/sgmls.html ++SGMLS documentation in HTML format ++.TP ++.BR nsgmls (1) ++.\" ++.\" ---------------------------------------------------------------------- ++.SH "AUTHOR" ++Ardo van Rangelrooij <[email protected]> ++.\" ++.\" ---------------------------------------------------------------------- +--- libsgmls-perl-1.03ii.orig/sgmlspl ++++ libsgmls-perl-1.03ii/sgmlspl +@@ -0,0 +1,323 @@ ++#!/usr/bin/perl ++######################################################################## ++# sgmlspl: a simple SGML postprocesser for the SGMLS and NSGMLS ++# parsers (requires SGMLS.pm library). ++# ++# Copyright (c) 1995 by David Megginson <[email protected]> ++# ++# This program is free software; you can redistribute it and/or modify ++# it under the terms of the GNU General Public License as published by ++# the Free Software Foundation; either version 2 of the License, or ++# (at your option) any later version. ++# ++# This program is distributed in the hope that it will be useful, ++# but WITHOUT ANY WARRANTY; without even the implied warranty of ++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ++# GNU General Public License for more details. ++# ++# You should have received a copy of the GNU General Public License ++# along with this program; if not, write to the Free Software ++# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. ++# ++# $Log: sgmlspl,v $ ++# Revision 1.1 2004/02/23 01:23:07 ardo ++# Added debian changes for version 1.03ii-27. ++# ++# Revision 1.1 2001/04/15 14:42:01 ardo ++# *** empty log message *** ++# ++# Revision 1.8 1995/12/03 21:46:31 david ++# Eliminated all use of the SGMLS_Event::key method. ++# ++# Revision 1.7 1995/11/15 20:22:24 david ++# Changed "use Output" to "use SGMLS::Output". Qualified the STDIN ++# filehandle for the SGMLS object with the main:: package name. ++# ++# Revision 1.6 1995/08/12 16:15:14 david ++# Revised version for 1.01 distribution. ++# ++# Revision 1.5 1995/04/27 11:52:25 david ++# Changed 'print' to 'main::output' for re handler; empty string ++# translates into an empty sub {} rather than a sub printing an empty ++# string; instead of evaluating every argument as a perl script, take ++# only the first as a perl script and the rest as its arguments; allow ++# empty scripts or scripts which do not end with '1;'; pass the event ++# itself as the second argument to each handler, after the event data. ++# ++# Revision 1.4 1995/04/23 14:44:58 david ++# Use the Output package. Fixed the $version variable. ++# ++# Revision 1.3 1995/04/22 21:02:49 david ++# Added some missing 'last SWITCH;' statements in the sgmls function. ++# ++# Revision 1.2 1995/04/22 20:58:48 david ++# Added $SGMLS_PL::version variable and changed SDATA notation from ++# [SDATA] to |SDATA|. ++# ++# Revision 1.1 1995/04/22 14:40:50 david ++# Initial revision ++# ++######################################################################## ++ ++use SGMLS::Output; ++ ++package SGMLS_PL; ++use SGMLS; ++ ++$version = '$Id: sgmlspl,v 1.1 2004/02/23 01:23:07 ardo Exp $'; ++ ++# ++# Set up handler defaults. ++# ++$start_document_handler = sub {}; ++$end_document_handler = sub {}; ++$start_element_handlers = { '' => sub {} }; ++$end_element_handlers = { '' => sub {} }; ++$cdata_handler = sub { main::output($_[0]); }; ++$sdata_handlers = { '' => sub { main::output($_[0]);} }; ++$re_handler = sub { main::output("\n"); }; ++$pi_handler = sub { '' => sub {} }; ++$entity_handlers = { '' => sub {} }; ++$start_subdoc_handlers = { '' => sub {} }; ++$end_subdoc_handlers = { '' => sub {} }; ++$conforming_handler = sub {}; ++ ++# ++# Main access point: declare handlers for different SGML events. ++# ++# Usage: sgml(event, handler); ++# ++# The event may be one of the following strings, or a special pattern. ++# The generic events are as follow: ++# ++# 'start' The beginning of the document. ++# 'end' The end of the document. ++# 'start_element' The beginning of an element. ++# 'end_element' The end of an element. ++# 'cdata' Regular character data. ++# 'sdata' Special system-specific data. ++# 're' A record-end. ++# 'pi' A processing instruction. ++# 'entity' An external-entity reference. ++# 'start_subdoc' The beginning of a subdocument entity. ++# 'end_subdoc' The end of a subdocument entity. ++# 'conforming' The document is conforming. ++# ++# In addition to these generic events, it is possible to handlers ++# for certain specific, named events, as follow: ++# ++# '<GI>' The beginning of element GI. ++# '</GI>' The end of element GI. ++# '[SDATA]' The system-specific data SDATA. ++# '&ENAME;' A reference to the external entity ENAME. ++# '{ENAME}' The beginning of the subdocument-entity ENAME. ++# '{/ENAME}' The end of the subdocument-entity ENAME. ++# ++# ++# The handler may be a string, which will simply be printed when the ++# event occurs (this is usually useful only for the specific, named ++# events), or a reference to an anonymous subroutine, which will ++# receive two arguments: the event data and the event itself. For ++# example, ++# ++# sgml('<FOO>', "\n\\begin{foo}\n"); ++# ++# and ++# ++# sgml('<FOO>', sub { output("\n\\begin{foo}\n"); }); ++# ++# will have identical results. ++# ++sub main::sgml { ++ my ($spec,$handler) = (@_); ++ if (ref($handler) ne 'CODE') { ++ $handler =~ s/\\/\\\\/g; ++ $handler =~ s/'/\\'/g; ++ if ($handler eq '') { ++ $handler = sub {}; ++ } else { ++ $handler = eval "sub { main::output('$handler'); };"; ++ } ++ } ++ SWITCH: { ++ # start-document handler ++ $spec eq 'start' && do { ++ $start_document_handler = $handler; ++ last SWITCH; ++ }; ++ # end-document handler ++ $spec eq 'end' && do { ++ $end_document_handler = $handler; ++ last SWITCH; ++ }; ++ # start-element handler ++ $spec =~ /^<([^\/].*|)>$/ && do { ++ $start_element_handlers->{$1} = $handler; ++ last SWITCH; ++ }; ++ # generic start-element handler ++ $spec eq 'start_element' && do { ++ $start_element_handlers->{''} = $handler; ++ last SWITCH; ++ }; ++ # end-element handler ++ $spec =~ /^<\/(.*)>$/ && do { ++ $end_element_handlers->{$1} = $handler; ++ last SWITCH; ++ }; ++ # generic end-element handler ++ $spec =~ 'end_element' && do { ++ $end_element_handlers->{''} = $handler; ++ last SWITCH; ++ }; ++ # cdata handler ++ $spec eq 'cdata' && do { ++ $cdata_handler = $handler; ++ last SWITCH; ++ }; ++ # sdata handler ++ $spec =~ /^\|(.*)\|$/ && do { ++ $sdata_handlers->{$1} = $handler; ++ last SWITCH; ++ }; ++ # generic sdata handler ++ $spec eq 'sdata' && do { ++ $sdata_handlers->{''} = $handler; ++ last SWITCH; ++ }; ++ # record-end handler ++ $spec eq 're' && do { ++ $re_handler = $handler; ++ last SWITCH; ++ }; ++ # processing-instruction handler ++ $spec eq 'pi' && do { ++ $pi_handler = $handler; ++ last SWITCH; ++ }; ++ # entity-reference handler ++ $spec =~ /^\&(.*);$/ && do { ++ $entity_handlers->{$1} = $handler; ++ last SWITCH; ++ }; ++ # generic entity-reference handler ++ $spec eq 'entity' && do { ++ $entity_handlers->{''} = $handler; ++ last SWITCH; ++ }; ++ # start-subdoc handler ++ $spec =~ /^\{([^\/].*|)\}$/ && do { ++ $start_subdoc_handlers->{$1} = $handler; ++ last SWITCH; ++ }; ++ # generic start-subdoc handler ++ $spec eq 'start_subdoc' && do { ++ $start_subdoc_handlers->{''} = $handler; ++ last SWITCH; ++ }; ++ # end-subdoc handler ++ $spec =~ /^\{\/(.*)\}$/ && do { ++ $end_subdoc_handlers->{$1} = $handler; ++ last SWITCH; ++ }; ++ # generic end-subdoc handler ++ $spec eq 'end_subdoc' && do { ++ $end_subdoc_handlers->{''} = $handler; ++ last SWITCH; ++ }; ++ # conforming handler ++ $spec eq 'conforming' && do { ++ $conforming_handler = $handler; ++ last SWITCH; ++ }; ++ ++ die "Bad SGML handler pattern: $spec\n"; ++ } ++} ++ ++ ++# ++# The first argument on the command line is a perl module which will be ++# read here and evaluated in the 'main' package -- everything else will ++# be an argument to it. ++# ++package main; ++ ++$ARGV = shift; ++unless ($ARGV eq '' || do 'sgmlspl-specs/' . $ARGV || do $ARGV) { ++ if (!-e $ARGV) { ++ die "FATAL: $ARGV does not exist.\n"; ++ } elsif (!-r $ARGV) { ++ die "FATAL: $ARGV exists but is read-protected.\n"; ++ } elsif ($@) { ++ die "FATAL: $@\n"; ++ } ++} ++ ++ ++# ++# Do the actual work, using the SGMLS package. ++# ++package SGMLS_PL; ++ ++$parse = new SGMLS(main::STDIN); # a new parse object ++ ++&{$start_document_handler}(); # run the start handler. ++ ++ # run the appropriate handler for each ++ # event ++while ($event = $parse->next_event) { ++ my $type = $event->type; ++ SWITCH: { ++ $type eq 'start_element' && do { ++ &{($start_element_handlers->{$event->data->name}|| ++ $start_element_handlers->{''} || sub {})}($event->data,$event); ++ last SWITCH; ++ }; ++ $type eq 'end_element' && do { ++ &{($end_element_handlers->{$event->data->name}|| ++ $end_element_handlers->{''} || sub {})}($event->data,$event); ++ last SWITCH; ++ }; ++ $type eq 'cdata' && do { ++ &{$cdata_handler}($event->data,$event); ++ last SWITCH; ++ }; ++ $type eq 'sdata' && do { ++ &{($sdata_handlers->{$event->data}|| ++ $sdata_handlers->{''} || sub {})}($event->data,$event); ++ last SWITCH; ++ }; ++ $type eq 're' && do { ++ &{$re_handler}($event->data,$event); ++ last SWITCH; ++ }; ++ $type eq 'pi' && do { ++ &{$pi_handler}($event->data,$event); ++ last SWITCH; ++ }; ++ $type eq 'entity' && do { ++ &{($entity_handlers->{$event->data->name}|| ++ $entity_handlers->{''} || sub {})}($event->data,$event); ++ last SWITCH; ++ }; ++ $type eq 'start_subdoc' && do { ++ &{($start_subdoc_handlers->{$event->data->name}|| ++ $start_subdoc_handlers->{''} || sub {})}($event->data,$event); ++ last SWITCH; ++ }; ++ $type eq 'end_subdoc' && do { ++ &{($end_subdoc_handlers->{$event->data->name}|| ++ $end_subdoc_handlers->{''} || sub {})}($event->data,$event); ++ last SWITCH; ++ }; ++ $type eq 'conforming' && do { ++ &{$conforming_handler}($event->data,$event); ++ last SWITCH; ++ }; ++ ++ die "Unknown SGML event type: $type\n"; ++ } ++} ++ ++&{$end_document_handler}(); # run the end handler +--- libsgmls-perl-1.03ii.orig/sgmlspl.pl ++++ libsgmls-perl-1.03ii/sgmlspl.pl +@@ -238,7 +238,7 @@ + package main; + + $ARGV = shift; +-unless ($ARGV eq '' || do $ARGV) { ++unless ($ARGV eq '' || do 'sgmlspl-specs/' . $ARGV || do $ARGV) { + if (!-e $ARGV) { + die "FATAL: $ARGV does not exist.\n"; + } elsif (!-r $ARGV) { +--- libsgmls-perl-1.03ii.orig/SGMLS.pm ++++ libsgmls-perl-1.03ii/SGMLS.pm +@@ -1,7 +1,7 @@ + package SGMLS; + use Carp; + +-$version = '$Revision: 1.14 $'; ++$version = '$Revision: 1.1 $'; + + =head1 NAME +
meta/recipes-devtools/sgmlspl/sgmlspl-native_1.03ii.bb new file +17 -0
@@ -0,0 +1,17 @@ +SUMMARY = "A simple post-processor for SGMLS and NSGMLS" +DESCRIPTION = "A simple post-processor for SGMLS and NSGMLS" +HOMEPAGE = "http://search.cpan.org/src/DMEGG/SGMLSpm-1.03ii/DOC/HTML/SGMLSpm/sgmlspm.html" +SECTION = "libs" +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760" +PR = "r0" + +SRC_URI = "http://www.cpan.org/authors/id/D/DM/DMEGG/SGMLSpm-${PV}.tar.gz \ + file://combined.patch" + +SRC_URI[md5sum] = "5bcb197fd42e67d51c739b1414d514a7" +SRC_URI[sha256sum] = "f06895c0206dada9f9e7f07ecaeb6a3651fd648f4820f49c1f76bfeaec2f2913" + +S = "${WORKDIR}/SGMLSpm" + +inherit native cpan
Signature · 1 line
1.7.3.5
PATCH 5/9 opensp: new recipe v1.5
In reply to Scott GarmanFrom: Scott Garman <[email protected]>
Recipe derived from OpenEmbedded. Removed old-style staging and converted to BBCLASSEXTEND.
--- .../opensp/opensp/attributevalue.patch | 62 + .../opensp/opensp/fix-docdir.patch | 14 + meta/recipes-devtools/opensp/opensp/m4.patch | 1925 ++++++++++++++++++++ .../opensp/opensp/rangmap-fix.patch | 15 + meta/recipes-devtools/opensp/opensp_1.5.bb | 27 + 5 files changed, 2043 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-devtools/opensp/opensp/attributevalue.patch create mode 100644 meta/recipes-devtools/opensp/opensp/fix-docdir.patch create mode 100644 meta/recipes-devtools/opensp/opensp/m4.patch create mode 100644 meta/recipes-devtools/opensp/opensp/rangmap-fix.patch create mode 100644 meta/recipes-devtools/opensp/opensp_1.5.bb
meta/recipes-devtools/opensp/opensp/attributevalue.patch new file +62 -0
@@ -0,0 +1,62 @@ +Patch obtained from OpenEmbedded. + +Signed-off-by: Scott Garman <[email protected]> +--- OpenSP-1.5/include/Attribute.h~attributevalue 2000-03-09 13:30:56.000000000 -0500 ++++ OpenSP-1.5/include/Attribute.h 2004-01-20 14:11:36.000000000 -0500 +@@ -31,6 +31,28 @@ + class AttributeContext; + class Syntax; + ++class SP_API AttributeValue : public Resource { ++public: ++ enum Type { ++ implied, ++ cdata, ++ tokenized ++ }; ++ AttributeValue(); ++ virtual ~AttributeValue(); ++ virtual AttributeSemantics *makeSemantics(const DeclaredValue *, ++ AttributeContext &, ++ const StringC &, ++ unsigned &, ++ unsigned &) const; ++ virtual Type info(const Text *&, const StringC *&) const = 0; ++ virtual const Text *text() const; ++ virtual Boolean recoverUnquoted(const StringC &, const Location &, ++ AttributeContext &, const StringC &); ++ static Boolean handleAsUnterminated(const Text &, AttributeContext &); ++}; ++ ++ + class SP_API AttributeDefinitionDesc { + public: + AttributeDefinitionDesc() { } +@@ -380,27 +402,6 @@ + ConstPtr<Notation> notation_; + }; + +-class SP_API AttributeValue : public Resource { +-public: +- enum Type { +- implied, +- cdata, +- tokenized +- }; +- AttributeValue(); +- virtual ~AttributeValue(); +- virtual AttributeSemantics *makeSemantics(const DeclaredValue *, +- AttributeContext &, +- const StringC &, +- unsigned &, +- unsigned &) const; +- virtual Type info(const Text *&, const StringC *&) const = 0; +- virtual const Text *text() const; +- virtual Boolean recoverUnquoted(const StringC &, const Location &, +- AttributeContext &, const StringC &); +- static Boolean handleAsUnterminated(const Text &, AttributeContext &); +-}; +- + class SP_API ImpliedAttributeValue : public AttributeValue { + public: + ImpliedAttributeValue();
meta/recipes-devtools/opensp/opensp/fix-docdir.patch new file +14 -0
@@ -0,0 +1,14 @@ +Patch obtained from OpenEmbedded. + +Signed-off-by: Scott Garman <[email protected]> +Index: OpenSP-1.5/doc/Makefile.am +=================================================================== +--- OpenSP-1.5.orig/doc/Makefile.am 2000-05-06 09:10:32.000000000 +1000 ++++ OpenSP-1.5/doc/Makefile.am 2007-06-02 12:46:50.000000000 +1000 +@@ -1,6 +1,5 @@ + ## Process this file with automake to produce Makefile.in + +-docdir = $(prefix)/doc + pkgdocdir = $(docdir)/@PACKAGE@ + + MAINTAINERCLEANFILES = Makefile.in
meta/recipes-devtools/opensp/opensp/m4.patch new file +1925 -0
1,925 lines not on this page · raw message
meta/recipes-devtools/opensp/opensp/rangmap-fix.patch new file +15 -0
@@ -0,0 +1,15 @@ +Patch obtained from OpenEmbedded. + +Signed-off-by: Scott Garman <[email protected]> +Index: OpenSP-1.5/include/RangeMap.cxx +=================================================================== +--- OpenSP-1.5.orig/include/RangeMap.cxx 2000-02-26 03:55:21.000000000 +1100 ++++ OpenSP-1.5/include/RangeMap.cxx 2007-06-02 11:48:17.000000000 +1000 +@@ -7,6 +7,7 @@ + #include "RangeMap.h" + #include "ISet.h" + #include "types.h" ++#include "constant.h" + + #ifdef SP_NAMESPACE + namespace SP_NAMESPACE {
meta/recipes-devtools/opensp/opensp_1.5.bb new file +27 -0
@@ -0,0 +1,27 @@ +SUMMARY = "An SGML parser" +DESCRIPTION = "An SGML parser used by the OpenJade suite of utilities." +HOMEPAGE = "http://openjade.sourceforge.net" +SECTION = "libs" +LICENSE = "BSD" +LIC_FILES_CHKSUM = "file://COPYING;md5=641ff1e4511f0a87044ad42f87cb1045" + +PR = "r0" + +# At -Os it encounters calls to some inline functions which are then +# not found in any other objects with gcc 4.5 +FULL_OPTIMIZATION += "-O2" + +SRC_URI = "${SOURCEFORGE_MIRROR}/openjade/OpenSP-${PV}.tar.gz \ + file://m4.patch \ + file://attributevalue.patch \ + file://rangmap-fix.patch \ + file://fix-docdir.patch" + +SRC_URI[md5sum] = "87f56e79ae0c20397f4207d61d154303" +SRC_URI[sha256sum] = "987eeb9460185950e066e5db3b5fa531e53e213742b545288405552a5a7bb704" + +S = "${WORKDIR}/OpenSP-${PV}" + +inherit autotools gettext + +BBCLASSEXTEND = "native"
Signature · 1 line
1.7.3.5
PATCH 6/9 openjade: new recipe v1.3.2
In reply to Scott GarmanFrom: Scott Garman <[email protected]>
Recipe derived from OpenEmbedded.
--- .../openjade/openjade-1.3.2/autoconf.patch | 173 ++++++++++++++++++++ .../openjade/openjade-1.3.2/configure.patch | 68 ++++++++ .../openjade/openjade-1.3.2/makefile.patch | 34 ++++ .../openjade-1.3.2/oj-native-libosp-fix.patch | 15 ++ meta/recipes-devtools/openjade/openjade_1.3.2.bb | 66 ++++++++ 5 files changed, 356 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-devtools/openjade/openjade-1.3.2/autoconf.patch create mode 100644 meta/recipes-devtools/openjade/openjade-1.3.2/configure.patch create mode 100644 meta/recipes-devtools/openjade/openjade-1.3.2/makefile.patch create mode 100644 meta/recipes-devtools/openjade/openjade-1.3.2/oj-native-libosp-fix.patch create mode 100644 meta/recipes-devtools/openjade/openjade_1.3.2.bb
meta/recipes-devtools/openjade/openjade-1.3.2/autoconf.patch new file +173 -0
@@ -0,0 +1,173 @@ +Patch obtained from OpenEmbedded. + +Signed-off-by: Scott Garman <[email protected]> +-- config/acinclude.m4 ++++ config/acinclude.m4 2002/04/08 23:13:37 +@@ -0,0 +1,61 @@ ++dnl Configure-time switch with default ++dnl ++dnl Each switch defines an --enable-FOO and --disable-FOO option in ++dnl the resulting configure script. ++dnl ++dnl Usage: ++dnl SMR_SWITCH(name, description, default, pos-def, neg-def) ++dnl ++dnl where: ++dnl ++dnl name name of switch; generates --enable-name & --disable-name ++dnl options ++dnl description help string is set to this prefixed by "enable" or ++dnl "disable", whichever is the non-default value ++dnl default either "on" or "off"; specifies default if neither ++dnl --enable-name nor --disable-name is specified ++dnl pos-def a symbol to AC_DEFINE if switch is on (optional) ++dnl neg-def a symbol to AC_DEFINE if switch is off (optional) ++dnl ++AC_DEFUN(SMR_SWITCH, [ ++ AC_MSG_CHECKING(whether to enable $2) ++ AC_ARG_ENABLE( ++ $1, ++ ifelse($3, on, ++ [ --disable-[$1] disable [$2]], ++ [ --enable-[$1] enable [$2]]), ++ [ if test "$enableval" = yes; then ++ AC_MSG_RESULT(yes) ++ ifelse($4, , , AC_DEFINE($4)) ++ else ++ AC_MSG_RESULT(no) ++ ifelse($5, , , AC_DEFINE($5)) ++ fi ], ++ ifelse($3, on, ++ [ AC_MSG_RESULT(yes) ++ ifelse($4, , , AC_DEFINE($4)) ], ++ [ AC_MSG_RESULT(no) ++ ifelse($5, , , AC_DEFINE($5))]))]) ++ ++dnl ++dnl Examine size_t and define SIZE_T_IS_UINT, if size_t is an unsigned int ++dnl ++AC_DEFUN(OJ_SIZE_T_IS_UINT,[ ++ AC_REQUIRE([AC_TYPE_SIZE_T]) ++ AC_MSG_CHECKING(whether size_t is unsigned int) ++ ac_cv_size_t_is_uint=no ++ AC_LANG_SAVE ++ AC_LANG_CPLUSPLUS ++ AC_TRY_COMPILE([#include <unistd.h> ++ ++ template<class T> class foo { }; ++ ++ ], [ ++ foo<size_t> x; ++ foo<unsigned int> y; ++ x = y; ++ ],ac_cv_size_t_is_uint=yes) ++ AC_LANG_RESTORE ++ AC_MSG_RESULT($ac_cv_size_t_is_uint) ++ test "$ac_cv_size_t_is_uint" = "yes" && AC_DEFINE(SIZE_T_IS_UINT) ++]) +Index: openjade-1.3.2/config/acinclude.m4 +=================================================================== +--- openjade-1.3.2.orig/config/acinclude.m4 ++++ openjade-1.3.2/config/acinclude.m4 +@@ -1,3 +1,64 @@ ++dnl Configure-time switch with default ++dnl ++dnl Each switch defines an --enable-FOO and --disable-FOO option in ++dnl the resulting configure script. ++dnl ++dnl Usage: ++dnl SMR_SWITCH(name, description, default, pos-def, neg-def) ++dnl ++dnl where: ++dnl ++dnl name name of switch; generates --enable-name & --disable-name ++dnl options ++dnl description help string is set to this prefixed by "enable" or ++dnl "disable", whichever is the non-default value ++dnl default either "on" or "off"; specifies default if neither ++dnl --enable-name nor --disable-name is specified ++dnl pos-def a symbol to AC_DEFINE if switch is on (optional) ++dnl neg-def a symbol to AC_DEFINE if switch is off (optional) ++dnl ++AC_DEFUN(SMR_SWITCH, [ ++ AC_MSG_CHECKING(whether to enable $2) ++ AC_ARG_ENABLE( ++ $1, ++ ifelse($3, on, ++ [ --disable-[$1] disable [$2]], ++ [ --enable-[$1] enable [$2]]), ++ [ if test "$enableval" = yes; then ++ AC_MSG_RESULT(yes) ++ ifelse($4, , , AC_DEFINE($4)) ++ else ++ AC_MSG_RESULT(no) ++ ifelse($5, , , AC_DEFINE($5)) ++ fi ], ++ ifelse($3, on, ++ [ AC_MSG_RESULT(yes) ++ ifelse($4, , , AC_DEFINE($4)) ], ++ [ AC_MSG_RESULT(no) ++ ifelse($5, , , AC_DEFINE($5))]))]) ++ ++dnl ++dnl Examine size_t and define SIZE_T_IS_UINT, if size_t is an unsigned int ++dnl ++AC_DEFUN(OJ_SIZE_T_IS_UINT,[ ++ AC_REQUIRE([AC_TYPE_SIZE_T]) ++ AC_MSG_CHECKING(whether size_t is unsigned int) ++ ac_cv_size_t_is_uint=no ++ AC_LANG_SAVE ++ AC_LANG_CPLUSPLUS ++ AC_TRY_COMPILE([#include <unistd.h> ++ ++ template<class T> class foo { }; ++ ++ ], [ ++ foo<size_t> x; ++ foo<unsigned int> y; ++ x = y; ++ ],ac_cv_size_t_is_uint=yes) ++ AC_LANG_RESTORE ++ AC_MSG_RESULT($ac_cv_size_t_is_uint) ++ test "$ac_cv_size_t_is_uint" = "yes" && AC_DEFINE(SIZE_T_IS_UINT) ++]) + dnl + dnl Examine size_t and define SIZE_T_IS_UINT, if size_t is an unsigned int + dnl +Index: openjade-1.3.2/config/aclocal.m4 +=================================================================== +--- openjade-1.3.2.orig/config/aclocal.m4 ++++ openjade-1.3.2/config/aclocal.m4 +@@ -3352,7 +3352,7 @@ dnl Each switch defines an --enable-FOO + dnl the resulting configure script. + dnl + dnl Usage: +-dnl smr_SWITCH(name, description, default, pos-def, neg-def) ++dnl SMR_SWITCH(name, description, default, pos-def, neg-def) + dnl + dnl where: + dnl +@@ -3365,7 +3365,7 @@ dnl --enable-name nor --disa + dnl pos-def a symbol to AC_DEFINE if switch is on (optional) + dnl neg-def a symbol to AC_DEFINE if switch is off (optional) + dnl +-AC_DEFUN(smr_SWITCH, [ ++AC_DEFUN(SMR_SWITCH, [ + AC_MSG_CHECKING(whether to enable $2) + AC_ARG_ENABLE( + $1, +Index: openjade-1.3.2/config/configure.in +=================================================================== +--- openjade-1.3.2.orig/config/configure.in ++++ openjade-1.3.2/config/configure.in +@@ -243,8 +243,8 @@ AC_ARG_ENABLE(http, + dnl + dnl optional backends + dnl +-smr_SWITCH(mif, support for FrameMaker MIF output, on, JADE_MIF, DUMMY) +-smr_SWITCH(html, support for HTML+CSS output, on, JADE_HTML, DUMMY) ++SMR_SWITCH(mif, support for FrameMaker MIF output, on, JADE_MIF, DUMMY) ++SMR_SWITCH(html, support for HTML+CSS output, on, JADE_HTML, DUMMY) + + + dnl
meta/recipes-devtools/openjade/openjade-1.3.2/configure.patch new file +68 -0
68 lines not on this page · raw message
meta/recipes-devtools/openjade/openjade-1.3.2/makefile.patch new file +34 -0
@@ -0,0 +1,34 @@ +Patch obtained from OpenEmbedded. + +Signed-off-by: Scott Garman <[email protected]> +Index: openjade-1.3.2/spgrove/Makefile.sub +=================================================================== +--- openjade-1.3.2.orig/spgrove/Makefile.sub ++++ openjade-1.3.2/spgrove/Makefile.sub +@@ -1,8 +1,8 @@ + LTVERSION=0:1:0 + LIB=ospgrove + INCLUDE=-I$(srcdir)/../grove +-DEPLIBS=-lm -L$(TOP)/grove -L$(TOP)/grove/.libs \ +- -L$(TOP)/lib -L$(TOP)/lib/.libs \ ++DEPLIBS=-lm $(TOP)/grove \ ++ $(TOP)/lib \ + $(LIB_THREADS) + OBJS=GroveApp.o GroveBuilder.o SdNode.o + GENSRCS=grove_inst.cxx +Index: openjade-1.3.2/style/Makefile.sub +=================================================================== +--- openjade-1.3.2.orig/style/Makefile.sub ++++ openjade-1.3.2/style/Makefile.sub +@@ -1,8 +1,8 @@ + LTVERSION=0:1:0 + LIB=ostyle +-DEPLIBS=-lm -L$(TOP)/grove -L$(TOP)/grove/.libs \ +- -L$(TOP)/lib -L$(TOP)/lib/.libs \ +- -L$(TOP)/spgrove -L$(TOP)/spgrove/.libs ++DEPLIBS=-lm $(TOP)/grove \ ++ $(TOP)/lib \ ++ $(TOP)/spgrove + OBJS=LangObj.o \ + Collector.o \ + DssslApp.o \
meta/recipes-devtools/openjade/openjade-1.3.2/oj-native-libosp-fix.patch new file +15 -0
@@ -0,0 +1,15 @@ +Patch obtained from OpenEmbedded. + +Signed-off-by: Scott Garman <[email protected]> +Index: openjade-1.3.2/Makefile.prog.in +=================================================================== +--- openjade-1.3.2.orig/Makefile.prog.in 2007-12-21 14:48:00.000000000 +0100 ++++ openjade-1.3.2/Makefile.prog.in 2007-12-21 14:50:12.000000000 +0100 +@@ -13,6 +13,7 @@ + ALL_LIBS = $(XLIBS) $(LIBS) + Makefile.lt: + echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt ++ sed -i -e "s|libosp.la|libosp.so|" Makefile.lt + + PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@') +
meta/recipes-devtools/openjade/openjade_1.3.2.bb new file +66 -0
66 lines not on this page · raw message
Signature · 1 line
1.7.3.5
PATCH 7/9 docbook-utils: new recipe v0.6.14
In reply to Scott GarmanFrom: Scott Garman <[email protected]>
Recipe derived from OpenEmbedded. Converted to use BBCLASSEXTEND.
--- .../docbook-utils/docbook-utils_0.6.14.bb | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) create mode 100644 meta/recipes-devtools/docbook-utils/docbook-utils_0.6.14.bb
meta/recipes-devtools/docbook-utils/docbook-utils_0.6.14.bb new file +20 -0
@@ -0,0 +1,20 @@ +SUMMARY = "Utilities for formatting and manipulating DocBook documents" +DESCRIPTION = "A collection of all the free software tools you need to \ +work on and format DocBook documents." +HOMEPAGE = "http://sources.redhat.com/docbook-tools/" +SECTION = "console/utils" +PRIORITY = "required" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" +DEPENDS = "openjade-native sgmlspl-native docbook-dsssl-stylesheets-native docbook-sgml-dtd-3.1-native" + +PR = "r0" + +SRC_URI = "ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/docbook-utils-${PV}.tar.gz" + +SRC_URI[md5sum] = "6b41b18c365c01f225bc417cf632d81c" +SRC_URI[sha256sum] = "48faab8ee8a7605c9342fb7b906e0815e3cee84a489182af38e8f7c0df2e92e9" + +inherit autotools + +BBCLASSEXTEND = "native"
Signature · 1 line
1.7.3.5
PATCH 8/9 iputils: enable generation of man pages
In reply to Scott GarmanFrom: Scott Garman <[email protected]>
Enable documentation generation.
--- meta/recipes-extended/iputils/iputils_s20101006.bb | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-)
meta/recipes-extended/iputils/iputils_s20101006.bb +5 -5
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://ping.c;beginline=1;endline=35;md5=f9ceb201733e9a6cf8f file://arping.c;beginline=1;endline=10;md5=ada2a6d06acc90f943bddf40d15e0541 \ file://tftpd.c;beginline=1;endline=32;md5=28834bf8a91a5b8a92755dbee709ef96 " -DEPENDS = "sysfsutils openssl" +DEPENDS = "sysfsutils openssl docbook-utils-native" PR = "r0"
@@ -30,7 +30,7 @@ SRC_URI[sha256sum] = "fd3af46c80ebb99607c2ca1f2a3608b6fe828e25bbec6e54f2afd25f6d # which is not available in poky do_compile () { - oe_runmake 'CC=${CC} -D_GNU_SOURCE' VPATH="${STAGING_LIBDIR}" all + oe_runmake 'CC=${CC} -D_GNU_SOURCE' VPATH="${STAGING_LIBDIR}" all man } do_install () {
@@ -44,9 +44,9 @@ do_install () { install -m 0755 $i ${D}${base_bindir}/ done # Manual pages for things we build packages for -# for i in tracepath.8 traceroute6.8 ping.8 arping.8; do -# install -m 0644 doc/$i ${D}${mandir}/man8/ || true -# done + for i in tracepath.8 traceroute6.8 ping.8 arping.8; do + install -m 0644 doc/$i ${D}${mandir}/man8/ || true + done } # Busybox also provides ping and ping6, so use update-alternatives
Signature · 1 line
1.7.3.5
PATCH 9/9 distro_tracking_fields.inc: added docbook-utils and dependencies
In reply to Scott GarmanFrom: Scott Garman <[email protected]>
These are distro tracking field additions for recipes used for creating documentation: sgml-common, docbook-sgml-dtd, docbook-dsssl-stylesheet, sgmlspl, opensp, openjade, docbook-utils
--- .../conf/distro/include/distro_tracking_fields.inc | 69 ++++++++++++++++++++ 1 files changed, 69 insertions(+), 0 deletions(-)
meta/conf/distro/include/distro_tracking_fields.inc +69 -0
@@ -5512,3 +5512,72 @@ RECIPE_LATEST_VERSION_pn-man = "1.6f" RECIPE_LATEST_VERSION_pn-mc = "4.7.5pre1" RECIPE_NO_UPDATE_REASON_pn-bind = "Latest Stable version, 4.7.5pre1 is Alpha/Beta" +RECIPE_STATUS_pn-sgml-common = "green" +RECIPE_DEPENDENCY_CHECK_pn-sgml-common = "not done" +RECIPE_LATEST_VERSION_pn-sgml-common = "0.6.3" +RECIPE_NO_OF_PATCHES_pn-sgml-common = "2" +RECIPE_LATEST_RELEASE_DATE_pn-sgml-common = "2001/05/25" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sgml-common = "unknown" +RECIPE_COMMENTS_pn-sgml-common = "" +RECIPE_LAST_UPDATE_pn-sgml-common = "Jan 28, 2011" +RECIPE_MAINTAINER_pn-sgml-common = "Scott Garman <[email protected]>" + +RECIPE_STATUS_pn-docbook-sgml-dtd = "green" +RECIPE_DEPENDENCY_CHECK_pn-docbook-sgml-dtd = "not done" +RECIPE_LATEST_VERSION_pn-docbook-sgml-dtd = "4.5" +RECIPE_NO_OF_PATCHES_pn-docbook-sgml-dtd = "1" +RECIPE_LATEST_RELEASE_DATE_pn-docbook-sgml-dtd = "2010/05/21" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-docbook-sgml-dtd = "unknown" +RECIPE_COMMENTS_pn-docbook-sgml-dtd = "" +RECIPE_LAST_UPDATE_pn-docbook-sgml-dtd = "Jan 28, 2011" +RECIPE_MAINTAINER_pn-docbook-sgml-dtd = "Scott Garman <[email protected]>" + +RECIPE_STATUS_pn-docbook-dsssl-stylesheet = "green" +RECIPE_DEPENDENCY_CHECK_pn-docbook-dsssl-stylesheet = "not done" +RECIPE_LATEST_VERSION_pn-docbook-dsssl-stylesheet = "1.79" +RECIPE_NO_OF_PATCHES_pn-docbook-dsssl-stylesheet = "0" +RECIPE_LATEST_RELEASE_DATE_pn-docbook-dsssl-stylesheet = "2008/08/12" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-docbook-dsssl-stylesheet = "unknown" +RECIPE_COMMENTS_pn-docbook-dsssl-stylesheet = "" +RECIPE_LAST_UPDATE_pn-docbook-dsssl-stylesheet = "Jan 26, 2011" +RECIPE_MAINTAINER_pn-docbook-dsssl-stylesheet = "Scott Garman <[email protected]>" + +RECIPE_STATUS_pn-sgmlspl = "green" +RECIPE_DEPENDENCY_CHECK_pn-sgmlspl = "not done" +RECIPE_LATEST_VERSION_pn-sgmlspl = "1.03ii" +RECIPE_NO_OF_PATCHES_pn-sgmlspl = "1" +RECIPE_LATEST_RELEASE_DATE_pn-sgmlspl = "1995/12/07" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-sgmlspl = "5 days" +RECIPE_COMMENTS_pn-sgmlspl = "" +RECIPE_LAST_UPDATE_pn-sgmlspl = "Jan 26, 2011" +RECIPE_MAINTAINER_pn-sgmlspl = "Scott Garman <[email protected]>" + +RECIPE_STATUS_pn-opensp = "green" +RECIPE_DEPENDENCY_CHECK_pn-opensp = "not done" +RECIPE_LATEST_VERSION_pn-opensp = "" +RECIPE_NO_OF_PATCHES_pn-opensp = "4" +RECIPE_LATEST_RELEASE_DATE_pn-opensp = "2002/11/24" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-opensp = "2 years" +RECIPE_COMMENTS_pn-opensp = "" +RECIPE_LAST_UPDATE_pn-opensp = "Jan 26, 2011" +RECIPE_MAINTAINER_pn-opensp = "Scott Garman <[email protected]>" + +RECIPE_STATUS_pn-openjade = "green" +RECIPE_DEPENDENCY_CHECK_pn-openjade = "not done" +RECIPE_LATEST_VERSION_pn-openjade = "1.3.2" +RECIPE_NO_OF_PATCHES_pn-openjade = "3" +RECIPE_LATEST_RELEASE_DATE_pn-openjade = "2002/12/01" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-openjade = "8 months" +RECIPE_COMMENTS_pn-openjade = "" +RECIPE_LAST_UPDATE_pn-openjade = "Jan 26, 2011" +RECIPE_MAINTAINER_pn-openjade = "Scott Garman <[email protected]>" + +RECIPE_STATUS_pn-docbook-utils = "green" +RECIPE_DEPENDENCY_CHECK_pn-docbook-utils = "not done" +RECIPE_LATEST_VERSION_pn-docbook-utils = "0.6.14" +RECIPE_NO_OF_PATCHES_pn-docbook-utils = "0" +RECIPE_LATEST_RELEASE_DATE_pn-docbook-utils = "2004/02/11" +RECIPE_TIME_BETWEEN_LAST_TWO_RELEASES_pn-docbook-utils = "1 month" +RECIPE_COMMENTS_pn-docbook-utils = "" +RECIPE_LAST_UPDATE_pn-docbook-utils = "Jan 26, 2011" +RECIPE_MAINTAINER_pn-docbook-utils = "Scott Garman <[email protected]>"
Signature · 1 line
1.7.3.5