mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
opensp: new recipe v1.5
Recipe derived from OpenEmbedded. Removed old-style staging and converted to BBCLASSEXTEND. Signed-off-by: Scott Garman <scott.a.garman@intel.com>
This commit is contained in:
committed by
Richard Purdie
parent
60450eb353
commit
edca98225b
@@ -0,0 +1,62 @@
|
|||||||
|
Patch obtained from OpenEmbedded.
|
||||||
|
|
||||||
|
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
|
||||||
|
--- 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();
|
||||||
@@ -0,0 +1,14 @@
|
|||||||
|
Patch obtained from OpenEmbedded.
|
||||||
|
|
||||||
|
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
|
||||||
|
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
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,15 @@
|
|||||||
|
Patch obtained from OpenEmbedded.
|
||||||
|
|
||||||
|
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
|
||||||
|
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 {
|
||||||
@@ -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"
|
||||||
Reference in New Issue
Block a user