Ravenports generated: 02 Apr 2018 18:22
[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=               http://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:407:manifests/plist.single]
52 @xmlcatmgr share/sgml/openjade/catalog
53 bin/openjade
54 lib/
55  libogrove.a
56  libogrove.so
57  libogrove.so.0
58  libogrove.so.0.0.1
59  libospgrove.a
60  libospgrove.so
61  libospgrove.so.0
62  libospgrove.so.0.0.1
63  libostyle.a
64  libostyle.so
65  libostyle.so.0
66  libostyle.so.0.0.1
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
78
79 [FILE:332:patches/patch-GroveApp.h]
80 --- spgrove/GroveApp.h.orig     Sun May  2 21:57:37 1999
81 +++ spgrove/GroveApp.h  Tue Aug  5 11:27:44 2003
82 @@ -7,9 +7,9 @@
83  #pragma interface
84  #endif
85  
86 -#include "ParserApp.h"
87 +#include <OpenSP/ParserApp.h>
88  #include "GroveBuilder.h"
89 -#include "HashTable.h"
90 +#include <OpenSP/HashTable.h>
91  
92  #ifdef SP_NAMESPACE
93  namespace SP_NAMESPACE {
94
95
96 [FILE:1132:patches/patch-GroveBuilder.cxx]
97 --- spgrove/GroveBuilder.cxx.orig       Sun Nov 17 03:01:12 2002
98 +++ spgrove/GroveBuilder.cxx    Tue Aug  5 11:27:44 2003
99 @@ -4,26 +4,24 @@
100  // FIXME location for SgmlDocument node.
101  
102  #include "config.h"
103 -#include "Boolean.h"
104 +#include <OpenSP/Boolean.h>
105  #include "Node.h"
106 -#include "Resource.h"
107 -#include "Ptr.h"
108 -#include "xnew.h"
109 -#include "Event.h"
110 +#include <OpenSP/Resource.h>
111 +#include <OpenSP/Ptr.h>
112 +#include <OpenSP/xnew.h>
113 +#include <OpenSP/Event.h>
114  #include "GroveBuilder.h"
115 -#include "ErrorCountEventHandler.h"
116 -#include "OutputCharStream.h"
117 -#include "MessageFormatter.h"
118 -#include "Dtd.h"
119 -#include "Syntax.h"
120 -#include "Attribute.h"
121 -#include "Vector.h"
122 +#include <OpenSP/ErrorCountEventHandler.h>
123 +#include <OpenSP/OutputCharStream.h>
124 +#include <OpenSP/MessageFormatter.h>
125 +#include <OpenSP/Dtd.h>
126 +#include <OpenSP/Syntax.h>
127 +#include <OpenSP/Attribute.h>
128 +#include <OpenSP/Vector.h>
129  #include "LocNode.h"
130  #include "SdNode.h"
131  #include "threads.h"
132 -#include "macros.h"
133 -#include <assert.h>
134 -#include <stdio.h>
135 +#include <OpenSP/macros.h>
136  
137  #ifdef _MSC_VER
138  #pragma warning ( disable : 4250 ) // inherits via dominance
139
140
141 [FILE:346:patches/patch-Makefile.lib.in]
142 --- Makefile.lib.in.orig        2002-01-22 11:57:53 UTC
143 +++ Makefile.lib.in
144 @@ -28,7 +28,7 @@
145  
146  install:
147         $(mkinstalldirs) $(DESTDIR)$(libdir)
148 -       $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) lib$(LIB).la $(DESTDIR)$(libdir)
149 +       $(LIBTOOL) --mode=install $(INSTALL) $(STRIP) lib$(LIB).la $(DESTDIR)$(libdir)
150  
151  depend: depend_src
152  depend.temp: $(GENSRCS)
153
154
155 [FILE:882:patches/patch-Makefile.prog.in]
156 --- Makefile.prog.in.orig       Tue Jan 22 20:57:53 2002
157 +++ Makefile.prog.in    Sun Aug 22 05:48:16 2004
158 @@ -12,7 +12,9 @@
159  
160  ALL_LIBS = $(XLIBS) $(LIBS)
161  Makefile.lt:
162 -       echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
163 +       echo 'LT_LIBS='`echo "$(ALL_LIBS)" | sed -e "s/\.a/.la/g" -e "s,[^ ]*libosp\.la[^ ]*,,"` "\\" >Makefile.lt
164 +       echo "  " `echo "$(ALL_LIBS)" | awk '{print $$4}'` >> Makefile.lt
165 +#      echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
166  
167  PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')
168  
169 @@ -25,7 +27,7 @@
170         -test -d $(DESTDIR)$(bindir) || \
171           (mkdir $(DESTDIR)$(bindir); chmod 755 $(DESTDIR)$(bindir))
172         -rm -f $(DESTDIR)$(bindir)/$(PROG)
173 -       $(LIBTOOL) --mode=install $(INSTALL) $(PROG) $(DESTDIR)$(bindir)
174 +       $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(bindir)
175  
176  depend: depend_src
177  depend.temp: $(GENSRCS)
178
179
180 [FILE:552:patches/patch-Node.h]
181 --- grove/Node.h.orig   Mon Oct 21 06:47:24 2002
182 +++ grove/Node.h        Tue Aug  5 11:27:44 2003
183 @@ -8,7 +8,8 @@
184  #endif
185  
186  #include <stddef.h>
187 -#include "IList.h"
188 +#include <limits.h>
189 +#include <OpenSP/IList.h>
190  
191  #ifdef SP_USE_DLL
192  #ifdef BUILD_LIBGROVE
193 @@ -34,10 +35,10 @@
194  #endif
195  
196  #ifdef SP_MULTI_BYTE
197 -#ifdef SP_WCHAR_T_USHORT
198 -typedef wchar_t GroveChar;
199 -#else
200 +#if UINT_MAX >= 0xffffffffL /* 2^32 - 1 */
201  typedef unsigned int GroveChar;
202 +#else
203 +typedef unsigned long GroveChar;
204  #endif
205  #else /* not SP_MULTI_BYTE */
206  typedef unsigned char GroveChar;
207
208
209 [FILE:640:patches/patch-TeXFOTBuilder.cxx]
210 --- jade/TeXFOTBuilder.cxx.orig 2011-09-24 14:17:02.000000000 +0000
211 +++ jade/TeXFOTBuilder.cxx      2011-09-24 14:19:42.000000000 +0000
212 @@ -83,6 +83,8 @@
213        value.convertString(nic_.placement);
214        }
215      ExtensionFlowObj *copy() const { return new PageFloatFlowObj(*this); }
216 +  public:
217 +    PageFloatFlowObj() {}
218    private:
219      PageFloatNIC nic_;
220      StringC name_;
221 @@ -96,6 +98,8 @@
222        fotb.endPageFootnote();
223      }
224      ExtensionFlowObj *copy() const { return new PageFootnoteFlowObj(*this); }
225 +  public:
226 +    PageFootnoteFlowObj() {}
227    private:
228    };
229    //////////////////////////////////////////////////////////////////////
230
231
232 [FILE:1440:patches/patch-TransformFOTBuilder.cxx]
233 --- jade/TransformFOTBuilder.cxx.orig   2011-09-24 14:20:28.000000000 +0000
234 +++ jade/TransformFOTBuilder.cxx        2011-09-24 14:22:32.000000000 +0000
235 @@ -41,6 +41,7 @@
236    };
237    class EntityRefFlowObj : public TransformExtensionFlowObj {
238    public:
239 +    EntityRefFlowObj() {}
240      void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
241        fotb.entityRef(name_);
242      }
243 @@ -56,6 +57,7 @@
244    };
245    class ProcessingInstructionFlowObj : public TransformExtensionFlowObj {
246    public:
247 +    ProcessingInstructionFlowObj() {}
248      void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
249        fotb.processingInstruction(data_);
250      }
251 @@ -98,6 +100,8 @@
252        }
253      }
254      ExtensionFlowObj *copy() const { return new EmptyElementFlowObj(*this); }
255 +  public:
256 +    EmptyElementFlowObj() {}
257    private:
258      ElementNIC nic_;
259    };
260 @@ -133,6 +137,8 @@
261        }
262      }
263      ExtensionFlowObj *copy() const { return new ElementFlowObj(*this); }
264 +  public:
265 +    ElementFlowObj() {}
266    private:
267      ElementNIC nic_;
268    };
269 @@ -150,6 +156,8 @@
270        value.convertString(systemId_);
271      }
272      ExtensionFlowObj *copy() const { return new EntityFlowObj(*this); }
273 +  public:
274 +    EntityFlowObj() {};
275    private:
276      StringC systemId_;
277    };
278 @@ -174,6 +182,8 @@
279        }
280      }
281      ExtensionFlowObj *copy() const { return new DocumentTypeFlowObj(*this); }
282 +  public:
283 +    DocumentTypeFlowObj() {}
284    private:
285      DocumentTypeNIC nic_;
286    };
287
288
289 [FILE:534:patches/patch-configure]
290 --- configure.orig      Sun Dec  1 17:18:40 2002
291 +++ configure   Fri Feb 28 03:26:00 2003
292 @@ -4899,6 +4899,8 @@
293  
294  fi
295  
296 +if false; then # begin <wchar.h>-disabling hack
297 +
298  echo "$as_me:$LINENO: checking for towupper" >&5
299  echo $ECHO_N "checking for towupper... $ECHO_C" >&6
300  if test "${ac_cv_func_towupper+set}" = set; then
301 @@ -4970,6 +4972,8 @@
302  
303  fi
304  
305 +fi # end <wchar.h>-disabling hack
306 +
307  echo "$as_me:$LINENO: checking for gettext" >&5
308  echo $ECHO_N "checking for gettext... $ECHO_C" >&6
309  if test "${ac_cv_func_gettext+set}" = set; then
310
311
312 [FILE:744:patches/patch-msggen]
313 Use Getopt::Std in place of getopts.pl.
314 https://bugs.gentoo.org/show_bug.cgi?id=420083
315
316 --- msggen.pl
317 +++ msggen.pl
318 @@ -4,6 +4,7 @@
319  # See the file COPYING for copying permission.
320  
321  use POSIX;
322 +use Getopt::Std;
323  
324  # Package and version.
325  $package = 'openjade';
326 @@ -18,8 +19,7 @@
327  undef $opt_l;
328  undef $opt_p;
329  undef $opt_t;
330 -do 'getopts.pl';
331 -&Getopts('l:p:t:');
332 +getopts('l:p:t:');
333  $module = $opt_l;
334  $pot_file = $opt_p;
335  
336 @@ -72,7 +72,7 @@
337      else {
338         $field[0] =~ /^[IWQXE][0-9]$/ || &error("invalid first field");;
339         $type[$num] = substr($field[0], 0, 1);
340 -       $argc = int(substr($field[0], 1, 1));
341 +       $argc = substr($field[0], 1, 1);
342      }
343      $nargs[$num] = $argc;
344      $field[1] =~ /^[a-zA-Z_][a-zA-Z0-9_]+$/ || &error("invalid tag");
345