1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= SGML/XML parser toolkit and DSSSL engine
8 HOMEPAGE= http://www.jclark.com/jade/
11 DOWNLOAD_GROUPS= main patches
12 SITES[main]= ftp://ftp.jclark.com/pub/jade/
13 http://dist.bsdlab.org/
14 SITES[patches]= http://dist.bsdlab.org/
15 DISTFILE[1]= jade-1.2.1.tar.gz:main
16 DISTFILE[2]= jade_1.2.1-35.diff.gz:patches
18 SPKGS[standard]= complete
22 OPTIONS_AVAILABLE= none
23 OPTIONS_STANDARD= none
25 RUN_DEPENDS= xmlcatmgr:single:standard
26 USES= destdirfix gmake libtool c++:primary
32 CONFIGURE_ARGS= --enable-default-catalog={{PREFIX}}/share/sgml/catalog
36 INSTALL_REQ_TOOLCHAIN= yes
39 @${FIND} ${WRKSRC} \( -name \*.orig -o -name \*~ \) \
43 .for i in jade nsgmls sgmlnorm spam spent sx
44 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/$i
46 .for i in grove sp spgrove style
47 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${i}.so
49 @${MKDIR} ${STAGEDIR}${PREFIX}/include/sp \
50 ${STAGEDIR}${PREFIX}/share/doc/jade \
51 ${STAGEDIR}${PREFIX}/share/sgml/jade \
52 ${STAGEDIR}${PREFIX}/share/xml/jade
53 ${INSTALL_DATA} ${WRKSRC}/include/* ${STAGEDIR}${PREFIX}/include/sp
54 ${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${STAGEDIR}${PREFIX}/share/doc/jade
55 ${INSTALL_DATA} ${WRKSRC}/dsssl/* ${STAGEDIR}${PREFIX}/share/sgml/jade
56 ${INSTALL_DATA} ${WRKSRC}/pubtext/xml* ${STAGEDIR}${PREFIX}/share/xml/jade
58 [FILE:395:descriptions/desc.primary]
59 An object-oriented SGML/XML parser toolkit and DSSSL engine.
63 * Provides access to all information about SGML document
64 * Supports almost all optional SGML features
65 * Sophisticated entity manager
66 * Supports multi-byte character sets
68 * Written in C++ from scratch
75 84e2f8a2a87aab44f86a46b71405d4f919b219e4c73e03a83ab6c746a674b187 1092062 jade-1.2.1.tar.gz
76 c6cc35f8a23e88736bc4870caaa70a4cb83fd954885ddcb4f1df8acefff0801d 226237 jade_1.2.1-35.diff.gz
79 [FILE:2544:manifests/plist.primary]
80 @xmlcatmgr share/sgml/jade/catalog
118 ErrorCountEventHandler.h
121 ExtendEntityManager.h
124 GenericEventHandler.h
128 HashTableItemBase.cxx
139 IdentityCodingSystem.h
141 InternalInputSource.h
154 MessageEventHandler.h
186 RewindStorageObject.h
191 SearchResultMessageArg.h
204 TranslateCodingSystem.h
208 UnicodeCodingSystem.h
261 [FILE:241:manifests/plist.docs]
284 [FILE:665:patches/patch-CharsetRegistry.cxx]
285 --- lib/CharsetRegistry.cxx.orig Sat Jul 31 17:03:07 2004
286 +++ lib/CharsetRegistry.cxx Sat Jul 31 17:05:46 2004
288 static const unsigned short iso8859_9[] = {
289 #include "iso8859-9.h"
291 +static const unsigned short koi8_r[] = {
294 static const unsigned short iso646_jis_G0[] = {
295 #include "iso646-jis.h"
298 { CharsetRegistry::ISO8859_7, iso8859_7 },
299 { CharsetRegistry::ISO8859_8, iso8859_8 },
300 { CharsetRegistry::ISO8859_9, iso8859_9 },
301 + { CharsetRegistry::KOI8_R, koi8_r },
302 { CharsetRegistry::ISO646_JIS_G0, iso646_jis_G0 },
303 { CharsetRegistry::JIS0201, jis0201 },
307 [FILE:360:patches/patch-CharsetRegistry.h]
308 --- include/CharsetRegistry.h.orig Sat Jul 31 17:02:57 2004
309 +++ include/CharsetRegistry.h Sat Jul 31 17:05:32 2004
314 + KOI8_R = 65534, // not registered
315 BIG5 = 65535 // not registered
317 static ISORegistrationNumber getRegistrationNumber(const StringC &desig,
320 [FILE:2291:patches/patch-CodingSystemKit.cxx]
321 --- lib/CodingSystemKit.cxx.orig Sat Jul 31 17:03:29 2004
322 +++ lib/CodingSystemKit.cxx Sat Jul 31 17:08:59 2004
334 TranslateCodingSystem iso8859_7CodingSystem_;
335 TranslateCodingSystem iso8859_8CodingSystem_;
336 TranslateCodingSystem iso8859_9CodingSystem_;
337 + TranslateCodingSystem koi8_rCodingSystem_;
339 Win32CodingSystem ansiCodingSystem_;
340 Win32CodingSystem oemCodingSystem_;
342 { CharsetRegistry::UNREGISTERED, 0x0 }
345 +static const TranslateCodingSystem::Desc koi8_rDesc[] = {
346 + { CharsetRegistry::ISO646_C0, 0x0 },
347 + { CharsetRegistry::ISO646_ASCII_G0, 0x0 },
348 + // FIXME: only GR part of KOI8-R is handled (i.e. 160..255)
349 + // since koi8-r does not follow ISO control/graphic model
350 + { CharsetRegistry::KOI8_R, 0x80 },
351 + { CharsetRegistry::UNREGISTERED, 0x0 }
354 #endif /* SP_MULTI_BYTE */
356 const CodingSystemKitImpl::Entry CodingSystemKitImpl::bctfTable_[] = {
358 { "ISO-8859-8", iso8859_8 },
359 { "IS8859-9", iso8859_9 },
360 { "ISO-8859-9", iso8859_9 },
361 + { "KOI8-R", koi8_r }, // RFC 1489
362 + { "KOI8", koi8_r },
367 iso8859_7CodingSystem_(&identityCodingSystem_, iso8859_7Desc, &systemCharset_, 0x100, unicodeReplaceChar),
368 iso8859_8CodingSystem_(&identityCodingSystem_, iso8859_8Desc, &systemCharset_, 0x100, unicodeReplaceChar),
369 iso8859_9CodingSystem_(&identityCodingSystem_, iso8859_9Desc, &systemCharset_, 0x100, unicodeReplaceChar),
370 + koi8_rCodingSystem_(&identityCodingSystem_, koi8_rDesc, &systemCharset_, 0x100, unicodeReplaceChar),
371 eucjpCodingSystem_(&eucBctf_, jis2Desc, &systemCharset_, 0x8000, unicodeReplaceChar),
372 euccnCodingSystem_(&eucBctf_, gbDesc, &systemCharset_, 0x8000, unicodeReplaceChar),
373 euckrCodingSystem_(&eucBctf_, kscDesc, &systemCharset_, 0x8000, unicodeReplaceChar),
375 return &iso8859_8CodingSystem_;
377 return &iso8859_9CodingSystem_;
379 + return &koi8_rCodingSystem_;
381 return &xmlCodingSystem_;
385 [FILE:163:patches/patch-Makefile.in]
386 --- Makefile.in.orig 1998-10-12 21:11:06.000000000 -0500
387 +++ Makefile.in 2011-02-15 16:18:41.000000000 -0600
394 [FILE:248:patches/patch-Ptr.cxx]
395 --- include/Ptr.cxx.orig Tue Jul 22 09:20:15 2003
396 +++ include/Ptr.cxx Tue Jul 22 09:20:42 2003
402 + if (((Resource*)ptr_)->unref())
408 [FILE:260:patches/patch-Ptr.h]
409 --- include/Ptr.h.orig Wed Oct 7 14:15:50 1998
410 +++ include/Ptr.h Tue Jul 22 09:19:49 2003
412 #define Ptr_INCLUDED 1
415 +#include "Resource.h"
417 // T must have Resource as a public base class
418 // T may be an incomplete type
421 [FILE:640:patches/patch-TeXFOTBuilder.cxx]
422 --- jade/TeXFOTBuilder.cxx.orig 2011-09-24 14:17:02.000000000 +0000
423 +++ jade/TeXFOTBuilder.cxx 2011-09-24 14:19:42.000000000 +0000
425 value.convertString(nic_.placement);
427 ExtensionFlowObj *copy() const { return new PageFloatFlowObj(*this); }
429 + PageFloatFlowObj() {}
434 fotb.endPageFootnote();
436 ExtensionFlowObj *copy() const { return new PageFootnoteFlowObj(*this); }
438 + PageFootnoteFlowObj() {}
441 //////////////////////////////////////////////////////////////////////
444 [FILE:1440:patches/patch-TransformFOTBuilder.cxx]
445 --- jade/TransformFOTBuilder.cxx.orig 2011-09-24 14:20:28.000000000 +0000
446 +++ jade/TransformFOTBuilder.cxx 2011-09-24 14:22:32.000000000 +0000
449 class EntityRefFlowObj : public TransformExtensionFlowObj {
451 + EntityRefFlowObj() {}
452 void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
453 fotb.entityRef(name_);
457 class ProcessingInstructionFlowObj : public TransformExtensionFlowObj {
459 + ProcessingInstructionFlowObj() {}
460 void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
461 fotb.processingInstruction(data_);
466 ExtensionFlowObj *copy() const { return new EmptyElementFlowObj(*this); }
468 + EmptyElementFlowObj() {}
475 ExtensionFlowObj *copy() const { return new ElementFlowObj(*this); }
477 + ElementFlowObj() {}
482 value.convertString(systemId_);
484 ExtensionFlowObj *copy() const { return new EntityFlowObj(*this); }
486 + EntityFlowObj() {};
493 ExtensionFlowObj *copy() const { return new DocumentTypeFlowObj(*this); }
495 + DocumentTypeFlowObj() {}
497 DocumentTypeNIC nic_;
501 [FILE:297:patches/patch-assert.cxx]
502 --- lib/assert.cxx.orig Wed Apr 25 12:42:54 2001
503 +++ lib/assert.cxx Wed Apr 25 12:43:26 2001
508 -void exit (int __status) __THROW __attribute__ ((__noreturn__));
509 +//void exit (int) __attribute__ ((__noreturn__));
515 [FILE:304:patches/patch-config.h]
516 --- include/config.h.orig Fri Jun 14 12:58:51 2002
517 +++ include/config.h Fri Jun 14 13:01:00 2002
520 #define SP_NO_STD_NAMESPACE
521 #undef SP_NEW_H_MISSING
523 +#define SP_HAVE_TYPENAME
524 +#undef SP_NO_STD_NAMESPACE
528 #endif /* __GNUG__ */
531 [FILE:922:patches/patch-koi8-r.h]
532 --- /dev/null Sat Jul 31 17:25:08 2004
533 +++ include/koi8-r.h Sat Jul 31 17:04:24 2004
535 +/* KOI8-R (GR only) */
537 +0x2550, 0x2551, 0x2552, 0x0451, 0x2553, 0x2554, 0x2555, 0x2556,
538 +0x2557, 0x2558, 0x2559, 0x255a, 0x255b, 0x255c, 0x255d, 0x255e,
539 +0x255f, 0x2560, 0x2561, 0x0401, 0x2562, 0x2563, 0x2564, 0x2565,
540 +0x2566, 0x2567, 0x2568, 0x2569, 0x256a, 0x256b, 0x256c, 0x00a9,
541 +0x044e, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433,
542 +0x0445, 0x0438, 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e,
543 +0x043f, 0x044f, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432,
544 +0x044c, 0x044b, 0x0437, 0x0448, 0x044d, 0x0449, 0x0447, 0x044a,
545 +0x042e, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413,
546 +0x0425, 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e,
547 +0x041f, 0x042f, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412,
548 +0x042c, 0x042b, 0x0417, 0x0428, 0x042d, 0x0429, 0x0427, 0x042a,
552 [FILE:10942:patches/patch-koi8r.dcl]
553 --- /dev/null Sat Jul 31 17:25:08 2004
554 +++ pubtext/koi8r.dcl Sat Jul 31 17:04:35 2004
556 + <!SGML "ISO 8879:1986 (ENR)"
558 +-- SGML Declaration that declares document charset to be the alphabet --
559 +-- part of the koi8-r encoding. --
561 +-- Derived from default declaration for James Clark's SP SGML parser. --
562 +-- Only parts related to character sets was modified. Tailor the rest --
563 +-- of the defaults to suit your needs. --
565 +-- Thanks to OmniMark for their excellent paper "Understanding The --
566 +-- SGML Declaration" (http://www.omnimark.com/resources/white/dec/) --
567 +-- [Copyright OmniMark Technologies Corporation, 1997. All rights --
568 +-- reserved]. Few key paragraphs from this paper are quoted below to --
569 +-- give you some idea of what is going on. --
571 +-- Many, many thanks to James Clark for his patience and kind help. --
575 +-- The meanings of characters in an SGML document are defined using --
576 +-- three types of character sets: --
578 +-- 1. The "syntax-reference character set" is used to assign meanings --
579 +-- to character numbers. --
581 +-- 2. A correspondence is defined between characters in the --
582 +-- syntax-reference character set and characters in a "base --
583 +-- character set", which transfers the meanings of syntax-reference --
584 +-- characters to corresponding base characters. --
586 +-- 3. A correspondence is then defined between characters in one or --
587 +-- more base character sets and the "document character set". One --
588 +-- of the base character sets must have been defined by being --
589 +-- associated with a syntax-reference character set in a previous --
594 +-- The document character set is what defines what characters can be --
595 +-- used in the markup and text of a document and defines what those --
596 +-- characters mean. --
598 + -- The document character set part of the SGML Declaration --
599 + -- selects one or more base character sets ... --
601 + BASESET "ISO Registration Number 176//CHARSET
602 + ISO/IEC 10646-1:1993 UCS-2
603 + with implementation level 3//ESC 2/5 2/15 4/5"
606 + -- ... and defines the correspondences between characters in --
607 + -- the base character sets and the document character set. --
616 + 163 1 1105 -- CYRILLIC SMALL LETTER IO --
618 + 179 1 1025 -- CYRILLIC CAPITAL LETTER IO --
620 + 191 1 169 -- COPYRIGHT SIGN --
621 + 192 1 1102 -- CYRILLIC SMALL LETTER YU --
622 + 193 1 1072 -- CYRILLIC SMALL LETTER A --
623 + 194 1 1073 -- CYRILLIC SMALL LETTER BE --
624 + 195 1 1094 -- CYRILLIC SMALL LETTER TSE --
625 + 196 1 1076 -- CYRILLIC SMALL LETTER DE --
626 + 197 1 1077 -- CYRILLIC SMALL LETTER IE --
627 + 198 1 1092 -- CYRILLIC SMALL LETTER EF --
628 + 199 1 1075 -- CYRILLIC SMALL LETTER GHE --
629 + 200 1 1093 -- CYRILLIC SMALL LETTER HA --
630 + 201 1 1080 -- CYRILLIC SMALL LETTER I --
631 + 202 1 1081 -- CYRILLIC SMALL LETTER SHORT I --
632 + 203 1 1082 -- CYRILLIC SMALL LETTER KA --
633 + 204 1 1083 -- CYRILLIC SMALL LETTER EL --
634 + 205 1 1084 -- CYRILLIC SMALL LETTER EM --
635 + 206 1 1085 -- CYRILLIC SMALL LETTER EN --
636 + 207 1 1086 -- CYRILLIC SMALL LETTER O --
637 + 208 1 1087 -- CYRILLIC SMALL LETTER PE --
638 + 209 1 1103 -- CYRILLIC SMALL LETTER YA --
639 + 210 1 1088 -- CYRILLIC SMALL LETTER ER --
640 + 211 1 1089 -- CYRILLIC SMALL LETTER ES --
641 + 212 1 1090 -- CYRILLIC SMALL LETTER TE --
642 + 213 1 1091 -- CYRILLIC SMALL LETTER U --
643 + 214 1 1078 -- CYRILLIC SMALL LETTER ZHE --
644 + 215 1 1074 -- CYRILLIC SMALL LETTER VE --
645 + 216 1 1100 -- CYRILLIC SMALL LETTER SOFT SIGN --
646 + 217 1 1099 -- CYRILLIC SMALL LETTER YERU --
647 + 218 1 1079 -- CYRILLIC SMALL LETTER ZE --
648 + 219 1 1096 -- CYRILLIC SMALL LETTER SHA --
649 + 220 1 1101 -- CYRILLIC SMALL LETTER E --
650 + 222 1 1095 -- CYRILLIC SMALL LETTER CHE --
651 + 221 1 1097 -- CYRILLIC SMALL LETTER SHCHA --
652 + 223 1 1098 -- CYRILLIC SMALL LETTER HARD SIGN --
653 + 224 1 1070 -- CYRILLIC CAPITAL LETTER YU --
654 + 225 1 1040 -- CYRILLIC CAPITAL LETTER A --
655 + 226 1 1041 -- CYRILLIC CAPITAL LETTER BE --
656 + 227 1 1062 -- CYRILLIC CAPITAL LETTER TSE --
657 + 228 1 1044 -- CYRILLIC CAPITAL LETTER DE --
658 + 229 1 1045 -- CYRILLIC CAPITAL LETTER IE --
659 + 230 1 1060 -- CYRILLIC CAPITAL LETTER EF --
660 + 231 1 1043 -- CYRILLIC CAPITAL LETTER GHE --
661 + 232 1 1061 -- CYRILLIC CAPITAL LETTER HA --
662 + 233 1 1048 -- CYRILLIC CAPITAL LETTER I --
663 + 234 1 1049 -- CYRILLIC CAPITAL LETTER SHORT I --
664 + 235 1 1050 -- CYRILLIC CAPITAL LETTER KA --
665 + 236 1 1051 -- CYRILLIC CAPITAL LETTER EL --
666 + 237 1 1052 -- CYRILLIC CAPITAL LETTER EM --
667 + 238 1 1053 -- CYRILLIC CAPITAL LETTER EN --
668 + 239 1 1054 -- CYRILLIC CAPITAL LETTER O --
669 + 240 1 1055 -- CYRILLIC CAPITAL LETTER PE --
670 + 241 1 1071 -- CYRILLIC CAPITAL LETTER YA --
671 + 242 1 1056 -- CYRILLIC CAPITAL LETTER ER --
672 + 243 1 1057 -- CYRILLIC CAPITAL LETTER ES --
673 + 244 1 1058 -- CYRILLIC CAPITAL LETTER TE --
674 + 245 1 1059 -- CYRILLIC CAPITAL LETTER U --
675 + 246 1 1046 -- CYRILLIC CAPITAL LETTER ZHE --
676 + 247 1 1042 -- CYRILLIC CAPITAL LETTER VE --
677 + 248 1 1068 -- CYRILLIC CAPITAL LETTER SOFT SIGN --
678 + 249 1 1067 -- CYRILLIC CAPITAL LETTER YERU --
679 + 250 1 1047 -- CYRILLIC CAPITAL LETTER ZE --
680 + 251 1 1064 -- CYRILLIC CAPITAL LETTER SHA --
681 + 252 1 1069 -- CYRILLIC CAPITAL LETTER E --
682 + 253 1 1065 -- CYRILLIC CAPITAL LETTER SHCHA --
683 + 254 1 1063 -- CYRILLIC CAPITAL LETTER CHE --
684 + 255 1 1066 -- CYRILLIC CAPITAL LETTER HARD SIGN --
687 + PUBLIC "ISO 8879:1986//CAPACITY Reference//EN"
695 + -- The Syntax-Reference Character Set is defined similarly to --
696 + -- the document character set. It is, however, used --
697 + -- exclusively to define the concrete syntax. The character --
698 + -- assignments within it are used only in the following --
699 + -- concrete syntax definitions. --
701 + -- The main function of the concrete syntax is to assign --
702 + -- meanings to characters: to make them name characters or --
703 + -- function characters, such as RE. The meaning given in the --
704 + -- concrete syntax to each syntax-reference character is --
705 + -- assigned to the corresponding base character. The document --
706 + -- character set then assigns these meanings to the characters --
707 + -- in the parsed document itself. --
709 + BASESET "ISO Registration Number 176//CHARSET
710 + ISO/IEC 10646-1:1993 UCS-2
711 + with implementation level 3//ESC 2/5 2/15 4/5"
720 + 169 1 169 -- COPYRIGHT SIGN --
722 + 1025 1 1025 -- CYRILLIC CAPITAL LETTER IO --
724 + 1040 64 1040 -- russian alphabet except io --
726 + 1105 1 1105 -- CYRILLIC SMALL LETTER IO --
729 + RE 13 -- record end --
730 + RS 10 -- record start --
731 + SPACE 32 -- space --
732 + TAB SEPCHAR 9 -- additional spec chars --
735 + -- Now declare that russian letters are valid chars to --
736 + -- start names with and define case mapping as well. --
737 + -- Use TC for Extended Naming Rules (Annex J to 8879). --
739 + LCNMSTRT 1072-1103 1105
740 + UCNMSTRT 1040-1071 1025
743 + NAMECASE GENERAL YES
769 +FEATURES -- feature usage declarations --
784 + SUBDOC YES 99999999
787 +-- End of FEATURES --
794 [FILE:445:patches/patch-lib__instmac.m4]
795 *** lib/instmac.m4.orig Sun Jul 6 20:20:04 1997
796 --- lib/instmac.m4 Sun Jul 6 20:20:54 1997
799 __undefine(`undefine')__dnl
800 __undefine(`undivert')__dnl
801 __undefine(`unix')__dnl
802 ! __dnl __changequote(,)__dnl disable quoting
807 __undefine(`undefine')__dnl
808 __undefine(`undivert')__dnl
809 __undefine(`unix')__dnl
810 ! __dnl __changequote(,)__dnl