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
27 USES= destdirfix fbsd10fix gmake libtool c++:primary
29 FPC_EQUIVALENT= textproc/jade
35 CONFIGURE_ARGS= --enable-default-catalog={{PREFIX}}/share/sgml/catalog
39 INSTALL_REQ_TOOLCHAIN= yes
42 @${FIND} ${WRKSRC} \( -name \*.orig -o -name \*~ \) \
46 .for i in jade nsgmls sgmlnorm spam spent sx
47 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/$i
49 .for i in grove sp spgrove style
50 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${i}.so
52 @${MKDIR} ${STAGEDIR}${PREFIX}/include/sp \
53 ${STAGEDIR}${PREFIX}/share/doc/jade \
54 ${STAGEDIR}${PREFIX}/share/sgml/jade \
55 ${STAGEDIR}${PREFIX}/share/xml/jade
56 ${INSTALL_DATA} ${WRKSRC}/include/* ${STAGEDIR}${PREFIX}/include/sp
57 ${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${STAGEDIR}${PREFIX}/share/doc/jade
58 ${INSTALL_DATA} ${WRKSRC}/dsssl/* ${STAGEDIR}${PREFIX}/share/sgml/jade
59 ${INSTALL_DATA} ${WRKSRC}/pubtext/xml* ${STAGEDIR}${PREFIX}/share/xml/jade
61 [FILE:395:descriptions/desc.primary]
62 An object-oriented SGML/XML parser toolkit and DSSSL engine.
66 * Provides access to all information about SGML document
67 * Supports almost all optional SGML features
68 * Sophisticated entity manager
69 * Supports multi-byte character sets
71 * Written in C++ from scratch
78 84e2f8a2a87aab44f86a46b71405d4f919b219e4c73e03a83ab6c746a674b187 1092062 jade-1.2.1.tar.gz
79 c6cc35f8a23e88736bc4870caaa70a4cb83fd954885ddcb4f1df8acefff0801d 226237 jade_1.2.1-35.diff.gz
82 [FILE:2544:manifests/plist.primary]
83 @xmlcatmgr share/sgml/jade/catalog
121 ErrorCountEventHandler.h
124 ExtendEntityManager.h
127 GenericEventHandler.h
131 HashTableItemBase.cxx
142 IdentityCodingSystem.h
144 InternalInputSource.h
157 MessageEventHandler.h
189 RewindStorageObject.h
194 SearchResultMessageArg.h
207 TranslateCodingSystem.h
211 UnicodeCodingSystem.h
264 [FILE:241:manifests/plist.docs]
287 [FILE:665:patches/patch-CharsetRegistry.cxx]
288 --- lib/CharsetRegistry.cxx.orig Sat Jul 31 17:03:07 2004
289 +++ lib/CharsetRegistry.cxx Sat Jul 31 17:05:46 2004
291 static const unsigned short iso8859_9[] = {
292 #include "iso8859-9.h"
294 +static const unsigned short koi8_r[] = {
297 static const unsigned short iso646_jis_G0[] = {
298 #include "iso646-jis.h"
301 { CharsetRegistry::ISO8859_7, iso8859_7 },
302 { CharsetRegistry::ISO8859_8, iso8859_8 },
303 { CharsetRegistry::ISO8859_9, iso8859_9 },
304 + { CharsetRegistry::KOI8_R, koi8_r },
305 { CharsetRegistry::ISO646_JIS_G0, iso646_jis_G0 },
306 { CharsetRegistry::JIS0201, jis0201 },
310 [FILE:360:patches/patch-CharsetRegistry.h]
311 --- include/CharsetRegistry.h.orig Sat Jul 31 17:02:57 2004
312 +++ include/CharsetRegistry.h Sat Jul 31 17:05:32 2004
317 + KOI8_R = 65534, // not registered
318 BIG5 = 65535 // not registered
320 static ISORegistrationNumber getRegistrationNumber(const StringC &desig,
323 [FILE:2291:patches/patch-CodingSystemKit.cxx]
324 --- lib/CodingSystemKit.cxx.orig Sat Jul 31 17:03:29 2004
325 +++ lib/CodingSystemKit.cxx Sat Jul 31 17:08:59 2004
337 TranslateCodingSystem iso8859_7CodingSystem_;
338 TranslateCodingSystem iso8859_8CodingSystem_;
339 TranslateCodingSystem iso8859_9CodingSystem_;
340 + TranslateCodingSystem koi8_rCodingSystem_;
342 Win32CodingSystem ansiCodingSystem_;
343 Win32CodingSystem oemCodingSystem_;
345 { CharsetRegistry::UNREGISTERED, 0x0 }
348 +static const TranslateCodingSystem::Desc koi8_rDesc[] = {
349 + { CharsetRegistry::ISO646_C0, 0x0 },
350 + { CharsetRegistry::ISO646_ASCII_G0, 0x0 },
351 + // FIXME: only GR part of KOI8-R is handled (i.e. 160..255)
352 + // since koi8-r does not follow ISO control/graphic model
353 + { CharsetRegistry::KOI8_R, 0x80 },
354 + { CharsetRegistry::UNREGISTERED, 0x0 }
357 #endif /* SP_MULTI_BYTE */
359 const CodingSystemKitImpl::Entry CodingSystemKitImpl::bctfTable_[] = {
361 { "ISO-8859-8", iso8859_8 },
362 { "IS8859-9", iso8859_9 },
363 { "ISO-8859-9", iso8859_9 },
364 + { "KOI8-R", koi8_r }, // RFC 1489
365 + { "KOI8", koi8_r },
370 iso8859_7CodingSystem_(&identityCodingSystem_, iso8859_7Desc, &systemCharset_, 0x100, unicodeReplaceChar),
371 iso8859_8CodingSystem_(&identityCodingSystem_, iso8859_8Desc, &systemCharset_, 0x100, unicodeReplaceChar),
372 iso8859_9CodingSystem_(&identityCodingSystem_, iso8859_9Desc, &systemCharset_, 0x100, unicodeReplaceChar),
373 + koi8_rCodingSystem_(&identityCodingSystem_, koi8_rDesc, &systemCharset_, 0x100, unicodeReplaceChar),
374 eucjpCodingSystem_(&eucBctf_, jis2Desc, &systemCharset_, 0x8000, unicodeReplaceChar),
375 euccnCodingSystem_(&eucBctf_, gbDesc, &systemCharset_, 0x8000, unicodeReplaceChar),
376 euckrCodingSystem_(&eucBctf_, kscDesc, &systemCharset_, 0x8000, unicodeReplaceChar),
378 return &iso8859_8CodingSystem_;
380 return &iso8859_9CodingSystem_;
382 + return &koi8_rCodingSystem_;
384 return &xmlCodingSystem_;
388 [FILE:163:patches/patch-Makefile.in]
389 --- Makefile.in.orig 1998-10-12 21:11:06.000000000 -0500
390 +++ Makefile.in 2011-02-15 16:18:41.000000000 -0600
397 [FILE:248:patches/patch-Ptr.cxx]
398 --- include/Ptr.cxx.orig Tue Jul 22 09:20:15 2003
399 +++ include/Ptr.cxx Tue Jul 22 09:20:42 2003
405 + if (((Resource*)ptr_)->unref())
411 [FILE:260:patches/patch-Ptr.h]
412 --- include/Ptr.h.orig Wed Oct 7 14:15:50 1998
413 +++ include/Ptr.h Tue Jul 22 09:19:49 2003
415 #define Ptr_INCLUDED 1
418 +#include "Resource.h"
420 // T must have Resource as a public base class
421 // T may be an incomplete type
424 [FILE:640:patches/patch-TeXFOTBuilder.cxx]
425 --- jade/TeXFOTBuilder.cxx.orig 2011-09-24 14:17:02.000000000 +0000
426 +++ jade/TeXFOTBuilder.cxx 2011-09-24 14:19:42.000000000 +0000
428 value.convertString(nic_.placement);
430 ExtensionFlowObj *copy() const { return new PageFloatFlowObj(*this); }
432 + PageFloatFlowObj() {}
437 fotb.endPageFootnote();
439 ExtensionFlowObj *copy() const { return new PageFootnoteFlowObj(*this); }
441 + PageFootnoteFlowObj() {}
444 //////////////////////////////////////////////////////////////////////
447 [FILE:1440:patches/patch-TransformFOTBuilder.cxx]
448 --- jade/TransformFOTBuilder.cxx.orig 2011-09-24 14:20:28.000000000 +0000
449 +++ jade/TransformFOTBuilder.cxx 2011-09-24 14:22:32.000000000 +0000
452 class EntityRefFlowObj : public TransformExtensionFlowObj {
454 + EntityRefFlowObj() {}
455 void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
456 fotb.entityRef(name_);
460 class ProcessingInstructionFlowObj : public TransformExtensionFlowObj {
462 + ProcessingInstructionFlowObj() {}
463 void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
464 fotb.processingInstruction(data_);
469 ExtensionFlowObj *copy() const { return new EmptyElementFlowObj(*this); }
471 + EmptyElementFlowObj() {}
478 ExtensionFlowObj *copy() const { return new ElementFlowObj(*this); }
480 + ElementFlowObj() {}
485 value.convertString(systemId_);
487 ExtensionFlowObj *copy() const { return new EntityFlowObj(*this); }
489 + EntityFlowObj() {};
496 ExtensionFlowObj *copy() const { return new DocumentTypeFlowObj(*this); }
498 + DocumentTypeFlowObj() {}
500 DocumentTypeNIC nic_;
504 [FILE:297:patches/patch-assert.cxx]
505 --- lib/assert.cxx.orig Wed Apr 25 12:42:54 2001
506 +++ lib/assert.cxx Wed Apr 25 12:43:26 2001
511 -void exit (int __status) __THROW __attribute__ ((__noreturn__));
512 +//void exit (int) __attribute__ ((__noreturn__));
518 [FILE:304:patches/patch-config.h]
519 --- include/config.h.orig Fri Jun 14 12:58:51 2002
520 +++ include/config.h Fri Jun 14 13:01:00 2002
523 #define SP_NO_STD_NAMESPACE
524 #undef SP_NEW_H_MISSING
526 +#define SP_HAVE_TYPENAME
527 +#undef SP_NO_STD_NAMESPACE
531 #endif /* __GNUG__ */
534 [FILE:922:patches/patch-koi8-r.h]
535 --- /dev/null Sat Jul 31 17:25:08 2004
536 +++ include/koi8-r.h Sat Jul 31 17:04:24 2004
538 +/* KOI8-R (GR only) */
540 +0x2550, 0x2551, 0x2552, 0x0451, 0x2553, 0x2554, 0x2555, 0x2556,
541 +0x2557, 0x2558, 0x2559, 0x255a, 0x255b, 0x255c, 0x255d, 0x255e,
542 +0x255f, 0x2560, 0x2561, 0x0401, 0x2562, 0x2563, 0x2564, 0x2565,
543 +0x2566, 0x2567, 0x2568, 0x2569, 0x256a, 0x256b, 0x256c, 0x00a9,
544 +0x044e, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433,
545 +0x0445, 0x0438, 0x0439, 0x043a, 0x043b, 0x043c, 0x043d, 0x043e,
546 +0x043f, 0x044f, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432,
547 +0x044c, 0x044b, 0x0437, 0x0448, 0x044d, 0x0449, 0x0447, 0x044a,
548 +0x042e, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413,
549 +0x0425, 0x0418, 0x0419, 0x041a, 0x041b, 0x041c, 0x041d, 0x041e,
550 +0x041f, 0x042f, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412,
551 +0x042c, 0x042b, 0x0417, 0x0428, 0x042d, 0x0429, 0x0427, 0x042a,
555 [FILE:10942:patches/patch-koi8r.dcl]
556 --- /dev/null Sat Jul 31 17:25:08 2004
557 +++ pubtext/koi8r.dcl Sat Jul 31 17:04:35 2004
559 + <!SGML "ISO 8879:1986 (ENR)"
561 +-- SGML Declaration that declares document charset to be the alphabet --
562 +-- part of the koi8-r encoding. --
564 +-- Derived from default declaration for James Clark's SP SGML parser. --
565 +-- Only parts related to character sets was modified. Tailor the rest --
566 +-- of the defaults to suit your needs. --
568 +-- Thanks to OmniMark for their excellent paper "Understanding The --
569 +-- SGML Declaration" (http://www.omnimark.com/resources/white/dec/) --
570 +-- [Copyright OmniMark Technologies Corporation, 1997. All rights --
571 +-- reserved]. Few key paragraphs from this paper are quoted below to --
572 +-- give you some idea of what is going on. --
574 +-- Many, many thanks to James Clark for his patience and kind help. --
578 +-- The meanings of characters in an SGML document are defined using --
579 +-- three types of character sets: --
581 +-- 1. The "syntax-reference character set" is used to assign meanings --
582 +-- to character numbers. --
584 +-- 2. A correspondence is defined between characters in the --
585 +-- syntax-reference character set and characters in a "base --
586 +-- character set", which transfers the meanings of syntax-reference --
587 +-- characters to corresponding base characters. --
589 +-- 3. A correspondence is then defined between characters in one or --
590 +-- more base character sets and the "document character set". One --
591 +-- of the base character sets must have been defined by being --
592 +-- associated with a syntax-reference character set in a previous --
597 +-- The document character set is what defines what characters can be --
598 +-- used in the markup and text of a document and defines what those --
599 +-- characters mean. --
601 + -- The document character set part of the SGML Declaration --
602 + -- selects one or more base character sets ... --
604 + BASESET "ISO Registration Number 176//CHARSET
605 + ISO/IEC 10646-1:1993 UCS-2
606 + with implementation level 3//ESC 2/5 2/15 4/5"
609 + -- ... and defines the correspondences between characters in --
610 + -- the base character sets and the document character set. --
619 + 163 1 1105 -- CYRILLIC SMALL LETTER IO --
621 + 179 1 1025 -- CYRILLIC CAPITAL LETTER IO --
623 + 191 1 169 -- COPYRIGHT SIGN --
624 + 192 1 1102 -- CYRILLIC SMALL LETTER YU --
625 + 193 1 1072 -- CYRILLIC SMALL LETTER A --
626 + 194 1 1073 -- CYRILLIC SMALL LETTER BE --
627 + 195 1 1094 -- CYRILLIC SMALL LETTER TSE --
628 + 196 1 1076 -- CYRILLIC SMALL LETTER DE --
629 + 197 1 1077 -- CYRILLIC SMALL LETTER IE --
630 + 198 1 1092 -- CYRILLIC SMALL LETTER EF --
631 + 199 1 1075 -- CYRILLIC SMALL LETTER GHE --
632 + 200 1 1093 -- CYRILLIC SMALL LETTER HA --
633 + 201 1 1080 -- CYRILLIC SMALL LETTER I --
634 + 202 1 1081 -- CYRILLIC SMALL LETTER SHORT I --
635 + 203 1 1082 -- CYRILLIC SMALL LETTER KA --
636 + 204 1 1083 -- CYRILLIC SMALL LETTER EL --
637 + 205 1 1084 -- CYRILLIC SMALL LETTER EM --
638 + 206 1 1085 -- CYRILLIC SMALL LETTER EN --
639 + 207 1 1086 -- CYRILLIC SMALL LETTER O --
640 + 208 1 1087 -- CYRILLIC SMALL LETTER PE --
641 + 209 1 1103 -- CYRILLIC SMALL LETTER YA --
642 + 210 1 1088 -- CYRILLIC SMALL LETTER ER --
643 + 211 1 1089 -- CYRILLIC SMALL LETTER ES --
644 + 212 1 1090 -- CYRILLIC SMALL LETTER TE --
645 + 213 1 1091 -- CYRILLIC SMALL LETTER U --
646 + 214 1 1078 -- CYRILLIC SMALL LETTER ZHE --
647 + 215 1 1074 -- CYRILLIC SMALL LETTER VE --
648 + 216 1 1100 -- CYRILLIC SMALL LETTER SOFT SIGN --
649 + 217 1 1099 -- CYRILLIC SMALL LETTER YERU --
650 + 218 1 1079 -- CYRILLIC SMALL LETTER ZE --
651 + 219 1 1096 -- CYRILLIC SMALL LETTER SHA --
652 + 220 1 1101 -- CYRILLIC SMALL LETTER E --
653 + 222 1 1095 -- CYRILLIC SMALL LETTER CHE --
654 + 221 1 1097 -- CYRILLIC SMALL LETTER SHCHA --
655 + 223 1 1098 -- CYRILLIC SMALL LETTER HARD SIGN --
656 + 224 1 1070 -- CYRILLIC CAPITAL LETTER YU --
657 + 225 1 1040 -- CYRILLIC CAPITAL LETTER A --
658 + 226 1 1041 -- CYRILLIC CAPITAL LETTER BE --
659 + 227 1 1062 -- CYRILLIC CAPITAL LETTER TSE --
660 + 228 1 1044 -- CYRILLIC CAPITAL LETTER DE --
661 + 229 1 1045 -- CYRILLIC CAPITAL LETTER IE --
662 + 230 1 1060 -- CYRILLIC CAPITAL LETTER EF --
663 + 231 1 1043 -- CYRILLIC CAPITAL LETTER GHE --
664 + 232 1 1061 -- CYRILLIC CAPITAL LETTER HA --
665 + 233 1 1048 -- CYRILLIC CAPITAL LETTER I --
666 + 234 1 1049 -- CYRILLIC CAPITAL LETTER SHORT I --
667 + 235 1 1050 -- CYRILLIC CAPITAL LETTER KA --
668 + 236 1 1051 -- CYRILLIC CAPITAL LETTER EL --
669 + 237 1 1052 -- CYRILLIC CAPITAL LETTER EM --
670 + 238 1 1053 -- CYRILLIC CAPITAL LETTER EN --
671 + 239 1 1054 -- CYRILLIC CAPITAL LETTER O --
672 + 240 1 1055 -- CYRILLIC CAPITAL LETTER PE --
673 + 241 1 1071 -- CYRILLIC CAPITAL LETTER YA --
674 + 242 1 1056 -- CYRILLIC CAPITAL LETTER ER --
675 + 243 1 1057 -- CYRILLIC CAPITAL LETTER ES --
676 + 244 1 1058 -- CYRILLIC CAPITAL LETTER TE --
677 + 245 1 1059 -- CYRILLIC CAPITAL LETTER U --
678 + 246 1 1046 -- CYRILLIC CAPITAL LETTER ZHE --
679 + 247 1 1042 -- CYRILLIC CAPITAL LETTER VE --
680 + 248 1 1068 -- CYRILLIC CAPITAL LETTER SOFT SIGN --
681 + 249 1 1067 -- CYRILLIC CAPITAL LETTER YERU --
682 + 250 1 1047 -- CYRILLIC CAPITAL LETTER ZE --
683 + 251 1 1064 -- CYRILLIC CAPITAL LETTER SHA --
684 + 252 1 1069 -- CYRILLIC CAPITAL LETTER E --
685 + 253 1 1065 -- CYRILLIC CAPITAL LETTER SHCHA --
686 + 254 1 1063 -- CYRILLIC CAPITAL LETTER CHE --
687 + 255 1 1066 -- CYRILLIC CAPITAL LETTER HARD SIGN --
690 + PUBLIC "ISO 8879:1986//CAPACITY Reference//EN"
698 + -- The Syntax-Reference Character Set is defined similarly to --
699 + -- the document character set. It is, however, used --
700 + -- exclusively to define the concrete syntax. The character --
701 + -- assignments within it are used only in the following --
702 + -- concrete syntax definitions. --
704 + -- The main function of the concrete syntax is to assign --
705 + -- meanings to characters: to make them name characters or --
706 + -- function characters, such as RE. The meaning given in the --
707 + -- concrete syntax to each syntax-reference character is --
708 + -- assigned to the corresponding base character. The document --
709 + -- character set then assigns these meanings to the characters --
710 + -- in the parsed document itself. --
712 + BASESET "ISO Registration Number 176//CHARSET
713 + ISO/IEC 10646-1:1993 UCS-2
714 + with implementation level 3//ESC 2/5 2/15 4/5"
723 + 169 1 169 -- COPYRIGHT SIGN --
725 + 1025 1 1025 -- CYRILLIC CAPITAL LETTER IO --
727 + 1040 64 1040 -- russian alphabet except io --
729 + 1105 1 1105 -- CYRILLIC SMALL LETTER IO --
732 + RE 13 -- record end --
733 + RS 10 -- record start --
734 + SPACE 32 -- space --
735 + TAB SEPCHAR 9 -- additional spec chars --
738 + -- Now declare that russian letters are valid chars to --
739 + -- start names with and define case mapping as well. --
740 + -- Use TC for Extended Naming Rules (Annex J to 8879). --
742 + LCNMSTRT 1072-1103 1105
743 + UCNMSTRT 1040-1071 1025
746 + NAMECASE GENERAL YES
772 +FEATURES -- feature usage declarations --
787 + SUBDOC YES 99999999
790 +-- End of FEATURES --
797 [FILE:445:patches/patch-lib__instmac.m4]
798 *** lib/instmac.m4.orig Sun Jul 6 20:20:04 1997
799 --- lib/instmac.m4 Sun Jul 6 20:20:54 1997
802 __undefine(`undefine')__dnl
803 __undefine(`undivert')__dnl
804 __undefine(`unix')__dnl
805 ! __dnl __changequote(,)__dnl disable quoting
810 __undefine(`undefine')__dnl
811 __undefine(`undivert')__dnl
812 __undefine(`unix')__dnl
813 ! __dnl __changequote(,)__dnl