Ravenports generated: 26 Oct 2022 05:05
[ravenports.git] / bucket_4D / openjade
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               openjade
4 VERSION=                1.3.2
5 EPOCH=                  1
6 KEYWORDS=               textproc
7 VARIANTS=               standard
8 SDESC[standard]=        SGML/XML parser toolkit and DSSSL engine
9 HOMEPAGE=               https://www.netfolder.com/
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            SF/openjade/openjade/1.3.2
14 DISTFILE[1]=            openjade-1.3.2.tar.gz:main
15 DF_INDEX=               1
16 SPKGS[standard]=        single
17
18 OPTIONS_AVAILABLE=      none
19 OPTIONS_STANDARD=       none
20
21 BUILDRUN_DEPENDS=       OpenSP:single:standard
22 RUN_DEPENDS=            xmlcatmgr:single:standard
23
24 USES=                   gmake libtool perl fbsd10fix
25
26 MUST_CONFIGURE=         gnu
27 CONFIGURE_ARGS=         --enable-default-catalog={{PREFIX}}/share/sgml/catalog
28                         --datadir={{PREFIX}}/share/sgml/openjade
29                         --disable-nls
30
31 MAKE_ENV=               STRIP="{{STRIP}}"
32
33 INSTALL_TARGET=         install install-man
34 PLIST_SUB=              XMLCATMGR={{LOCALBASE}}/bin/xmlcatmgr
35                         CATALOG_PORTS_SGML={{PREFIX}}/share/sgml/catalog.ports
36
37 post-install:
38         ${FIND} ${WRKSRC}/dsssl -depth -maxdepth 1 -type f \
39                 -exec ${INSTALL_DATA} {} ${STAGEDIR}/${PREFIX}/share/sgml/openjade \;
40
41 [FILE:213:descriptions/desc.single]
42 OpenJade is an implementation of the ISO/IEC 10179:1996 standard DSSSL
43 language.  It is based on the James Clark implementation of DSSSL named
44 Jade.  OpenJade is now developed and maintained by the OpenJade team.
45
46
47 [FILE:100:distinfo]
48 1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1       894834 openjade-1.3.2.tar.gz
49
50
51 [FILE:430:manifests/plist.single]
52 %%EXCLUDE-DARWIN%%lib/
53  libogrove.so
54  libogrove.so.0
55  libogrove.so.0.0.1
56  libospgrove.so
57  libospgrove.so.0
58  libospgrove.so.0.0.1
59  libostyle.so
60  libostyle.so.0
61  libostyle.so.0.0.1
62 bin/openjade
63 lib/
64  libogrove.a
65  libospgrove.a
66  libostyle.a
67 share/man/man1/openjade.1.gz
68 share/sgml/openjade/
69  README.jadetex
70  builtins.dsl
71  demo.dsl
72  demo.sgm
73  dsssl.dtd
74  extensions.dsl
75  fot.dtd
76  style-sheet.dtd
77 @xmlcatmgr share/sgml/openjade/catalog
78
79
80 [FILE:332:patches/patch-GroveApp.h]
81 --- spgrove/GroveApp.h.orig     Sun May  2 21:57:37 1999
82 +++ spgrove/GroveApp.h  Tue Aug  5 11:27:44 2003
83 @@ -7,9 +7,9 @@
84  #pragma interface
85  #endif
86  
87 -#include "ParserApp.h"
88 +#include <OpenSP/ParserApp.h>
89  #include "GroveBuilder.h"
90 -#include "HashTable.h"
91 +#include <OpenSP/HashTable.h>
92  
93  #ifdef SP_NAMESPACE
94  namespace SP_NAMESPACE {
95
96
97 [FILE:1132:patches/patch-GroveBuilder.cxx]
98 --- spgrove/GroveBuilder.cxx.orig       Sun Nov 17 03:01:12 2002
99 +++ spgrove/GroveBuilder.cxx    Tue Aug  5 11:27:44 2003
100 @@ -4,26 +4,24 @@
101  // FIXME location for SgmlDocument node.
102  
103  #include "config.h"
104 -#include "Boolean.h"
105 +#include <OpenSP/Boolean.h>
106  #include "Node.h"
107 -#include "Resource.h"
108 -#include "Ptr.h"
109 -#include "xnew.h"
110 -#include "Event.h"
111 +#include <OpenSP/Resource.h>
112 +#include <OpenSP/Ptr.h>
113 +#include <OpenSP/xnew.h>
114 +#include <OpenSP/Event.h>
115  #include "GroveBuilder.h"
116 -#include "ErrorCountEventHandler.h"
117 -#include "OutputCharStream.h"
118 -#include "MessageFormatter.h"
119 -#include "Dtd.h"
120 -#include "Syntax.h"
121 -#include "Attribute.h"
122 -#include "Vector.h"
123 +#include <OpenSP/ErrorCountEventHandler.h>
124 +#include <OpenSP/OutputCharStream.h>
125 +#include <OpenSP/MessageFormatter.h>
126 +#include <OpenSP/Dtd.h>
127 +#include <OpenSP/Syntax.h>
128 +#include <OpenSP/Attribute.h>
129 +#include <OpenSP/Vector.h>
130  #include "LocNode.h"
131  #include "SdNode.h"
132  #include "threads.h"
133 -#include "macros.h"
134 -#include <assert.h>
135 -#include <stdio.h>
136 +#include <OpenSP/macros.h>
137  
138  #ifdef _MSC_VER
139  #pragma warning ( disable : 4250 ) // inherits via dominance
140
141
142 [FILE:346:patches/patch-Makefile.lib.in]
143 --- Makefile.lib.in.orig        2002-01-22 11:57:53 UTC
144 +++ Makefile.lib.in
145 @@ -28,7 +28,7 @@
146  
147  install:
148         $(mkinstalldirs) $(DESTDIR)$(libdir)
149 -       $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) lib$(LIB).la $(DESTDIR)$(libdir)
150 +       $(LIBTOOL) --mode=install $(INSTALL) $(STRIP) lib$(LIB).la $(DESTDIR)$(libdir)
151  
152  depend: depend_src
153  depend.temp: $(GENSRCS)
154
155
156 [FILE:882:patches/patch-Makefile.prog.in]
157 --- Makefile.prog.in.orig       Tue Jan 22 20:57:53 2002
158 +++ Makefile.prog.in    Sun Aug 22 05:48:16 2004
159 @@ -12,7 +12,9 @@
160  
161  ALL_LIBS = $(XLIBS) $(LIBS)
162  Makefile.lt:
163 -       echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
164 +       echo 'LT_LIBS='`echo "$(ALL_LIBS)" | sed -e "s/\.a/.la/g" -e "s,[^ ]*libosp\.la[^ ]*,,"` "\\" >Makefile.lt
165 +       echo "  " `echo "$(ALL_LIBS)" | awk '{print $$4}'` >> Makefile.lt
166 +#      echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
167  
168  PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')
169  
170 @@ -25,7 +27,7 @@
171         -test -d $(DESTDIR)$(bindir) || \
172           (mkdir $(DESTDIR)$(bindir); chmod 755 $(DESTDIR)$(bindir))
173         -rm -f $(DESTDIR)$(bindir)/$(PROG)
174 -       $(LIBTOOL) --mode=install $(INSTALL) $(PROG) $(DESTDIR)$(bindir)
175 +       $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(bindir)
176  
177  depend: depend_src
178  depend.temp: $(GENSRCS)
179
180
181 [FILE:552:patches/patch-Node.h]
182 --- grove/Node.h.orig   Mon Oct 21 06:47:24 2002
183 +++ grove/Node.h        Tue Aug  5 11:27:44 2003
184 @@ -8,7 +8,8 @@
185  #endif
186  
187  #include <stddef.h>
188 -#include "IList.h"
189 +#include <limits.h>
190 +#include <OpenSP/IList.h>
191  
192  #ifdef SP_USE_DLL
193  #ifdef BUILD_LIBGROVE
194 @@ -34,10 +35,10 @@
195  #endif
196  
197  #ifdef SP_MULTI_BYTE
198 -#ifdef SP_WCHAR_T_USHORT
199 -typedef wchar_t GroveChar;
200 -#else
201 +#if UINT_MAX >= 0xffffffffL /* 2^32 - 1 */
202  typedef unsigned int GroveChar;
203 +#else
204 +typedef unsigned long GroveChar;
205  #endif
206  #else /* not SP_MULTI_BYTE */
207  typedef unsigned char GroveChar;
208
209
210 [FILE:640:patches/patch-TeXFOTBuilder.cxx]
211 --- jade/TeXFOTBuilder.cxx.orig 2011-09-24 14:17:02.000000000 +0000
212 +++ jade/TeXFOTBuilder.cxx      2011-09-24 14:19:42.000000000 +0000
213 @@ -83,6 +83,8 @@
214        value.convertString(nic_.placement);
215        }
216      ExtensionFlowObj *copy() const { return new PageFloatFlowObj(*this); }
217 +  public:
218 +    PageFloatFlowObj() {}
219    private:
220      PageFloatNIC nic_;
221      StringC name_;
222 @@ -96,6 +98,8 @@
223        fotb.endPageFootnote();
224      }
225      ExtensionFlowObj *copy() const { return new PageFootnoteFlowObj(*this); }
226 +  public:
227 +    PageFootnoteFlowObj() {}
228    private:
229    };
230    //////////////////////////////////////////////////////////////////////
231
232
233 [FILE:1440:patches/patch-TransformFOTBuilder.cxx]
234 --- jade/TransformFOTBuilder.cxx.orig   2011-09-24 14:20:28.000000000 +0000
235 +++ jade/TransformFOTBuilder.cxx        2011-09-24 14:22:32.000000000 +0000
236 @@ -41,6 +41,7 @@
237    };
238    class EntityRefFlowObj : public TransformExtensionFlowObj {
239    public:
240 +    EntityRefFlowObj() {}
241      void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
242        fotb.entityRef(name_);
243      }
244 @@ -56,6 +57,7 @@
245    };
246    class ProcessingInstructionFlowObj : public TransformExtensionFlowObj {
247    public:
248 +    ProcessingInstructionFlowObj() {}
249      void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
250        fotb.processingInstruction(data_);
251      }
252 @@ -98,6 +100,8 @@
253        }
254      }
255      ExtensionFlowObj *copy() const { return new EmptyElementFlowObj(*this); }
256 +  public:
257 +    EmptyElementFlowObj() {}
258    private:
259      ElementNIC nic_;
260    };
261 @@ -133,6 +137,8 @@
262        }
263      }
264      ExtensionFlowObj *copy() const { return new ElementFlowObj(*this); }
265 +  public:
266 +    ElementFlowObj() {}
267    private:
268      ElementNIC nic_;
269    };
270 @@ -150,6 +156,8 @@
271        value.convertString(systemId_);
272      }
273      ExtensionFlowObj *copy() const { return new EntityFlowObj(*this); }
274 +  public:
275 +    EntityFlowObj() {};
276    private:
277      StringC systemId_;
278    };
279 @@ -174,6 +182,8 @@
280        }
281      }
282      ExtensionFlowObj *copy() const { return new DocumentTypeFlowObj(*this); }
283 +  public:
284 +    DocumentTypeFlowObj() {}
285    private:
286      DocumentTypeNIC nic_;
287    };
288
289
290 [FILE:522:patches/patch-configure]
291 --- configure.orig      2002-12-01 16:18:40 UTC
292 +++ configure
293 @@ -4899,6 +4899,8 @@ _ACEOF
294  
295  fi
296  
297 +if false; then # begin <wchar.h>-disabling hack
298 +
299  echo "$as_me:$LINENO: checking for towupper" >&5
300  echo $ECHO_N "checking for towupper... $ECHO_C" >&6
301  if test "${ac_cv_func_towupper+set}" = set; then
302 @@ -4970,6 +4972,8 @@ _ACEOF
303  
304  fi
305  
306 +fi # end <wchar.h>-disabling hack
307 +
308  echo "$as_me:$LINENO: checking for gettext" >&5
309  echo $ECHO_N "checking for gettext... $ECHO_C" >&6
310  if test "${ac_cv_func_gettext+set}" = set; then
311
312
313 [FILE:744:patches/patch-msggen]
314 Use Getopt::Std in place of getopts.pl.
315 https://bugs.gentoo.org/show_bug.cgi?id=420083
316
317 --- msggen.pl
318 +++ msggen.pl
319 @@ -4,6 +4,7 @@
320  # See the file COPYING for copying permission.
321  
322  use POSIX;
323 +use Getopt::Std;
324  
325  # Package and version.
326  $package = 'openjade';
327 @@ -18,8 +19,7 @@
328  undef $opt_l;
329  undef $opt_p;
330  undef $opt_t;
331 -do 'getopts.pl';
332 -&Getopts('l:p:t:');
333 +getopts('l:p:t:');
334  $module = $opt_l;
335  $pot_file = $opt_p;
336  
337 @@ -72,7 +72,7 @@
338      else {
339         $field[0] =~ /^[IWQXE][0-9]$/ || &error("invalid first field");;
340         $type[$num] = substr($field[0], 0, 1);
341 -       $argc = int(substr($field[0], 1, 1));
342 +       $argc = substr($field[0], 1, 1);
343      }
344      $nargs[$num] = $argc;
345      $field[1] =~ /^[a-zA-Z_][a-zA-Z0-9_]+$/ || &error("invalid tag");
346