1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= SGML/XML parser toolkit and DSSSL engine
8 HOMEPAGE= http://www.netfolder.com/
12 SITES[main]= SF/openjade/openjade/1.3.3
13 DISTFILE[1]= openjade-1.3.3-pre1.tar.gz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 BUILDRUN_DEPENDS= OpenSP:single:standard
21 RUN_DEPENDS= xmlcatmgr:single:standard
23 USES= gmake libtool perl
25 DISTNAME= openjade-1.3.3-pre1
27 FPC_EQUIVALENT= textproc/openjade
30 CONFIGURE_ARGS= --enable-default-catalog={{PREFIX}}/share/sgml/catalog
31 --datadir={{PREFIX}}/share/sgml/openjade
34 MAKE_ENV= STRIP="{{STRIP}}"
36 INSTALL_TARGET= install install-man
37 PLIST_SUB= XMLCATMGR={{LOCALBASE}}/bin/xmlcatmgr
38 CATALOG_PORTS_SGML={{PREFIX}}/share/sgml/catalog.ports
41 @${REINPLACE_CMD} -e 's|<iostream.h>|<iostream>|' \
42 ${WRKSRC}/style/MultiLineInlineNote.cxx
45 @${FIND} ${WRKSRC}/dsssl -depth -maxdepth 1 -type f \
46 -exec ${INSTALL_DATA} {} ${STAGEDIR}/${PREFIX}/share/sgml/openjade \;
48 [FILE:213:descriptions/desc.single]
49 OpenJade is an implementation of the ISO/IEC 10179:1996 standard DSSSL
50 language. It is based on the James Clark implementation of DSSSL named
51 Jade. OpenJade is now developed and maintained by the OpenJade team.
55 a15bbed48a4a6bc50d17abdb5e101eb1c60ba1ed52d5a0aff52f2d3aef9568e4 1058451 openjade-1.3.3-pre1.tar.gz
58 [FILE:721:manifests/plist.single]
59 @xmlcatmgr share/sgml/openjade/catalog
74 share/man/man1/openjade.1.gz
112 [FILE:332:patches/patch-GroveApp.h]
113 --- spgrove/GroveApp.h.orig Sun May 2 21:57:37 1999
114 +++ spgrove/GroveApp.h Tue Aug 5 11:27:44 2003
119 -#include "ParserApp.h"
120 +#include <OpenSP/ParserApp.h>
121 #include "GroveBuilder.h"
122 -#include "HashTable.h"
123 +#include <OpenSP/HashTable.h>
126 namespace SP_NAMESPACE {
129 [FILE:1132:patches/patch-GroveBuilder.cxx]
130 --- spgrove/GroveBuilder.cxx.orig Sun Nov 17 03:01:12 2002
131 +++ spgrove/GroveBuilder.cxx Tue Aug 5 11:27:44 2003
133 // FIXME location for SgmlDocument node.
136 -#include "Boolean.h"
137 +#include <OpenSP/Boolean.h>
139 -#include "Resource.h"
143 +#include <OpenSP/Resource.h>
144 +#include <OpenSP/Ptr.h>
145 +#include <OpenSP/xnew.h>
146 +#include <OpenSP/Event.h>
147 #include "GroveBuilder.h"
148 -#include "ErrorCountEventHandler.h"
149 -#include "OutputCharStream.h"
150 -#include "MessageFormatter.h"
153 -#include "Attribute.h"
155 +#include <OpenSP/ErrorCountEventHandler.h>
156 +#include <OpenSP/OutputCharStream.h>
157 +#include <OpenSP/MessageFormatter.h>
158 +#include <OpenSP/Dtd.h>
159 +#include <OpenSP/Syntax.h>
160 +#include <OpenSP/Attribute.h>
161 +#include <OpenSP/Vector.h>
168 +#include <OpenSP/macros.h>
171 #pragma warning ( disable : 4250 ) // inherits via dominance
174 [FILE:346:patches/patch-Makefile.lib.in]
175 --- Makefile.lib.in.orig 2002-01-22 11:57:53 UTC
180 $(mkinstalldirs) $(DESTDIR)$(libdir)
181 - $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) lib$(LIB).la $(DESTDIR)$(libdir)
182 + $(LIBTOOL) --mode=install $(INSTALL) $(STRIP) lib$(LIB).la $(DESTDIR)$(libdir)
185 depend.temp: $(GENSRCS)
188 [FILE:882:patches/patch-Makefile.prog.in]
189 --- Makefile.prog.in.orig Tue Jan 22 20:57:53 2002
190 +++ Makefile.prog.in Sun Aug 22 05:48:16 2004
193 ALL_LIBS = $(XLIBS) $(LIBS)
195 - echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
196 + echo 'LT_LIBS='`echo "$(ALL_LIBS)" | sed -e "s/\.a/.la/g" -e "s,[^ ]*libosp\.la[^ ]*,,"` "\\" >Makefile.lt
197 + echo " " `echo "$(ALL_LIBS)" | awk '{print $$4}'` >> Makefile.lt
198 +# echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
200 PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')
203 -test -d $(DESTDIR)$(bindir) || \
204 (mkdir $(DESTDIR)$(bindir); chmod 755 $(DESTDIR)$(bindir))
205 -rm -f $(DESTDIR)$(bindir)/$(PROG)
206 - $(LIBTOOL) --mode=install $(INSTALL) $(PROG) $(DESTDIR)$(bindir)
207 + $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(bindir)
210 depend.temp: $(GENSRCS)
213 [FILE:552:patches/patch-Node.h]
214 --- grove/Node.h.orig Mon Oct 21 06:47:24 2002
215 +++ grove/Node.h Tue Aug 5 11:27:44 2003
222 +#include <OpenSP/IList.h>
225 #ifdef BUILD_LIBGROVE
230 -#ifdef SP_WCHAR_T_USHORT
231 -typedef wchar_t GroveChar;
233 +#if UINT_MAX >= 0xffffffffL /* 2^32 - 1 */
234 typedef unsigned int GroveChar;
236 +typedef unsigned long GroveChar;
238 #else /* not SP_MULTI_BYTE */
239 typedef unsigned char GroveChar;
242 [FILE:640:patches/patch-TeXFOTBuilder.cxx]
243 --- jade/TeXFOTBuilder.cxx.orig 2011-09-24 14:17:02.000000000 +0000
244 +++ jade/TeXFOTBuilder.cxx 2011-09-24 14:19:42.000000000 +0000
246 value.convertString(nic_.placement);
248 ExtensionFlowObj *copy() const { return new PageFloatFlowObj(*this); }
250 + PageFloatFlowObj() {}
255 fotb.endPageFootnote();
257 ExtensionFlowObj *copy() const { return new PageFootnoteFlowObj(*this); }
259 + PageFootnoteFlowObj() {}
262 //////////////////////////////////////////////////////////////////////
265 [FILE:1440:patches/patch-TransformFOTBuilder.cxx]
266 --- jade/TransformFOTBuilder.cxx.orig 2011-09-24 14:20:28.000000000 +0000
267 +++ jade/TransformFOTBuilder.cxx 2011-09-24 14:22:32.000000000 +0000
270 class EntityRefFlowObj : public TransformExtensionFlowObj {
272 + EntityRefFlowObj() {}
273 void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
274 fotb.entityRef(name_);
278 class ProcessingInstructionFlowObj : public TransformExtensionFlowObj {
280 + ProcessingInstructionFlowObj() {}
281 void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
282 fotb.processingInstruction(data_);
287 ExtensionFlowObj *copy() const { return new EmptyElementFlowObj(*this); }
289 + EmptyElementFlowObj() {}
296 ExtensionFlowObj *copy() const { return new ElementFlowObj(*this); }
298 + ElementFlowObj() {}
303 value.convertString(systemId_);
305 ExtensionFlowObj *copy() const { return new EntityFlowObj(*this); }
307 + EntityFlowObj() {};
314 ExtensionFlowObj *copy() const { return new DocumentTypeFlowObj(*this); }
316 + DocumentTypeFlowObj() {}
318 DocumentTypeNIC nic_;
322 [FILE:534:patches/patch-configure]
323 --- configure.orig Sun Dec 1 17:18:40 2002
324 +++ configure Fri Feb 28 03:26:00 2003
325 @@ -4899,6 +4899,8 @@
329 +if false; then # begin <wchar.h>-disabling hack
331 echo "$as_me:$LINENO: checking for towupper" >&5
332 echo $ECHO_N "checking for towupper... $ECHO_C" >&6
333 if test "${ac_cv_func_towupper+set}" = set; then
334 @@ -4970,6 +4972,8 @@
338 +fi # end <wchar.h>-disabling hack
340 echo "$as_me:$LINENO: checking for gettext" >&5
341 echo $ECHO_N "checking for gettext... $ECHO_C" >&6
342 if test "${ac_cv_func_gettext+set}" = set; then
345 [FILE:744:patches/patch-msggen]
346 Use Getopt::Std in place of getopts.pl.
347 https://bugs.gentoo.org/show_bug.cgi?id=420083
352 # See the file COPYING for copying permission.
357 # Package and version.
358 $package = 'openjade';
371 $field[0] =~ /^[IWQXE][0-9]$/ || &error("invalid first field");;
372 $type[$num] = substr($field[0], 0, 1);
373 - $argc = int(substr($field[0], 1, 1));
374 + $argc = substr($field[0], 1, 1);
376 $nargs[$num] = $argc;
377 $field[1] =~ /^[a-zA-Z_][a-zA-Z0-9_]+$/ || &error("invalid tag");