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