Ravenports generated: 01 Jun 2017 11:45
[ravenports.git] / bucket_4D / openjade
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               openjade
4 VERSION=                1.3.3p1
5 KEYWORDS=               textproc
6 VARIANTS=               standard
7 SDESC[standard]=        SGML/XML parser toolkit and DSSSL engine
8 HOMEPAGE=               http://www.netfolder.com/DSSSL/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            SF/openjade/openjade/1.3.3
13 DISTFILE[1]=            openjade-1.3.3-pre1.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 BUILDRUN_DEPENDS=       OpenSP:single:standard
21 RUN_DEPENDS=            xmlcatmgr:single:standard
22
23 USES=                   gmake libtool perl
24
25 DISTNAME=               openjade-1.3.3-pre1
26
27 FPC_EQUIVALENT=         textproc/openjade
28
29 MUST_CONFIGURE=         gnu
30 CONFIGURE_ARGS=         --enable-default-catalog={{PREFIX}}/share/sgml/catalog
31                         --datadir={{PREFIX}}/share/sgml/openjade
32                         --disable-nls
33
34 MAKE_ENV=               STRIP="{{STRIP}}"
35
36 INSTALL_TARGET=         install install-man
37 PLIST_SUB=              XMLCATMGR={{LOCALBASE}}/bin/xmlcatmgr
38                         CATALOG_PORTS_SGML={{PREFIX}}/share/sgml/catalog.ports
39
40 post-patch:
41         @${REINPLACE_CMD} -e 's|<iostream.h>|<iostream>|' \
42                 ${WRKSRC}/style/MultiLineInlineNote.cxx
43
44 post-install:
45         @${FIND} ${WRKSRC}/dsssl -depth -maxdepth 1 -type f \
46                 -exec ${INSTALL_DATA} {} ${STAGEDIR}/${PREFIX}/share/sgml/openjade \;
47
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.
52
53
54 [FILE:105:distinfo]
55 a15bbed48a4a6bc50d17abdb5e101eb1c60ba1ed52d5a0aff52f2d3aef9568e4      1058451 openjade-1.3.3-pre1.tar.gz
56
57
58 [FILE:721:manifests/plist.single]
59 @xmlcatmgr share/sgml/openjade/catalog
60 bin/openjade
61 lib/
62  libogrove.a
63  libogrove.so
64  libogrove.so.0
65  libogrove.so.0.0.1
66  libospgrove.a
67  libospgrove.so
68  libospgrove.so.0
69  libospgrove.so.0.0.1
70  libostyle.a
71  libostyle.so
72  libostyle.so.0
73  libostyle.so.0.0.1
74 share/man/man1/openjade.1.gz
75 share/sgml/openjade/
76  README.jadetex
77  builtins.dsl
78  demo.dsl
79  demo.sgm
80  dsssl.dtd
81  extensions.dsl
82  fot.dtd
83  lineNumber.dsl
84  lineNumber.sgml
85  ps.dsl
86  ps.fot
87  ps.sgml
88  psalig.dsl
89  pscs.dsl
90  pscspb.dsl
91  pscspb.sgml
92  psemb.dsl
93  psempha.dsl
94  psglyp.dsl
95  psglyp2.dsl
96  psinc.dsl
97  psinc.sgml
98  psinc2.dsl
99  psmulti.dsl
100  psmulti2.dsl
101  psmulti3.dsl
102  psradical.dsl
103  pssbs.dsl
104  pssbsi.dsl
105  sps.dsl
106  sps.sgml
107  spsanch.dsl
108  spsanch.sgml
109  style-sheet.dtd
110
111
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
115 @@ -7,9 +7,9 @@
116  #pragma interface
117  #endif
118  
119 -#include "ParserApp.h"
120 +#include <OpenSP/ParserApp.h>
121  #include "GroveBuilder.h"
122 -#include "HashTable.h"
123 +#include <OpenSP/HashTable.h>
124  
125  #ifdef SP_NAMESPACE
126  namespace SP_NAMESPACE {
127
128
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
132 @@ -4,26 +4,24 @@
133  // FIXME location for SgmlDocument node.
134  
135  #include "config.h"
136 -#include "Boolean.h"
137 +#include <OpenSP/Boolean.h>
138  #include "Node.h"
139 -#include "Resource.h"
140 -#include "Ptr.h"
141 -#include "xnew.h"
142 -#include "Event.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"
151 -#include "Dtd.h"
152 -#include "Syntax.h"
153 -#include "Attribute.h"
154 -#include "Vector.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>
162  #include "LocNode.h"
163  #include "SdNode.h"
164  #include "threads.h"
165 -#include "macros.h"
166 -#include <assert.h>
167 -#include <stdio.h>
168 +#include <OpenSP/macros.h>
169  
170  #ifdef _MSC_VER
171  #pragma warning ( disable : 4250 ) // inherits via dominance
172
173
174 [FILE:346:patches/patch-Makefile.lib.in]
175 --- Makefile.lib.in.orig        2002-01-22 11:57:53 UTC
176 +++ Makefile.lib.in
177 @@ -28,7 +28,7 @@
178  
179  install:
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)
183  
184  depend: depend_src
185  depend.temp: $(GENSRCS)
186
187
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
191 @@ -12,7 +12,9 @@
192  
193  ALL_LIBS = $(XLIBS) $(LIBS)
194  Makefile.lt:
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
199  
200  PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')
201  
202 @@ -25,7 +27,7 @@
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)
208  
209  depend: depend_src
210  depend.temp: $(GENSRCS)
211
212
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
216 @@ -8,7 +8,8 @@
217  #endif
218  
219  #include <stddef.h>
220 -#include "IList.h"
221 +#include <limits.h>
222 +#include <OpenSP/IList.h>
223  
224  #ifdef SP_USE_DLL
225  #ifdef BUILD_LIBGROVE
226 @@ -34,10 +35,10 @@
227  #endif
228  
229  #ifdef SP_MULTI_BYTE
230 -#ifdef SP_WCHAR_T_USHORT
231 -typedef wchar_t GroveChar;
232 -#else
233 +#if UINT_MAX >= 0xffffffffL /* 2^32 - 1 */
234  typedef unsigned int GroveChar;
235 +#else
236 +typedef unsigned long GroveChar;
237  #endif
238  #else /* not SP_MULTI_BYTE */
239  typedef unsigned char GroveChar;
240
241
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
245 @@ -83,6 +83,8 @@
246        value.convertString(nic_.placement);
247        }
248      ExtensionFlowObj *copy() const { return new PageFloatFlowObj(*this); }
249 +  public:
250 +    PageFloatFlowObj() {}
251    private:
252      PageFloatNIC nic_;
253      StringC name_;
254 @@ -96,6 +98,8 @@
255        fotb.endPageFootnote();
256      }
257      ExtensionFlowObj *copy() const { return new PageFootnoteFlowObj(*this); }
258 +  public:
259 +    PageFootnoteFlowObj() {}
260    private:
261    };
262    //////////////////////////////////////////////////////////////////////
263
264
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
268 @@ -41,6 +41,7 @@
269    };
270    class EntityRefFlowObj : public TransformExtensionFlowObj {
271    public:
272 +    EntityRefFlowObj() {}
273      void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
274        fotb.entityRef(name_);
275      }
276 @@ -56,6 +57,7 @@
277    };
278    class ProcessingInstructionFlowObj : public TransformExtensionFlowObj {
279    public:
280 +    ProcessingInstructionFlowObj() {}
281      void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
282        fotb.processingInstruction(data_);
283      }
284 @@ -98,6 +100,8 @@
285        }
286      }
287      ExtensionFlowObj *copy() const { return new EmptyElementFlowObj(*this); }
288 +  public:
289 +    EmptyElementFlowObj() {}
290    private:
291      ElementNIC nic_;
292    };
293 @@ -133,6 +137,8 @@
294        }
295      }
296      ExtensionFlowObj *copy() const { return new ElementFlowObj(*this); }
297 +  public:
298 +    ElementFlowObj() {}
299    private:
300      ElementNIC nic_;
301    };
302 @@ -150,6 +156,8 @@
303        value.convertString(systemId_);
304      }
305      ExtensionFlowObj *copy() const { return new EntityFlowObj(*this); }
306 +  public:
307 +    EntityFlowObj() {};
308    private:
309      StringC systemId_;
310    };
311 @@ -174,6 +182,8 @@
312        }
313      }
314      ExtensionFlowObj *copy() const { return new DocumentTypeFlowObj(*this); }
315 +  public:
316 +    DocumentTypeFlowObj() {}
317    private:
318      DocumentTypeNIC nic_;
319    };
320
321
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 @@
326  
327  fi
328  
329 +if false; then # begin <wchar.h>-disabling hack
330 +
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 @@
335  
336  fi
337  
338 +fi # end <wchar.h>-disabling hack
339 +
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
343
344
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
348
349 --- msggen.pl
350 +++ msggen.pl
351 @@ -4,6 +4,7 @@
352  # See the file COPYING for copying permission.
353  
354  use POSIX;
355 +use Getopt::Std;
356  
357  # Package and version.
358  $package = 'openjade';
359 @@ -18,8 +19,7 @@
360  undef $opt_l;
361  undef $opt_p;
362  undef $opt_t;
363 -do 'getopts.pl';
364 -&Getopts('l:p:t:');
365 +getopts('l:p:t:');
366  $module = $opt_l;
367  $pot_file = $opt_p;
368  
369 @@ -72,7 +72,7 @@
370      else {
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);
375      }
376      $nargs[$num] = $argc;
377      $field[1] =~ /^[a-zA-Z_][a-zA-Z0-9_]+$/ || &error("invalid tag");
378