Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

3
textproc/openjade/DESCR Normal file
View File

@@ -0,0 +1,3 @@
OpenJade is an implementation of the ISO/IEC 10179:1996 standard DSSSL
language. It is based on the James Clark implementation of DSSSL named
Jade. OpenJade is now developed and maintained by the OpenJade team.

View File

@@ -0,0 +1,45 @@
# $NetBSD: Makefile,v 1.26 2013/05/31 12:42:08 wiz Exp $
DISTNAME= openjade-1.3.2
PKGREVISION= 8
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=openjade/}
MAINTAINER= kogule@mars.dti.ne.jp
HOMEPAGE= http://openjade.sourceforge.net/
COMMENT= SGML/XML parser toolkit and DSSSL engine, successor to "jade"
LICENSE= mit
MAKE_JOBS_SAFE= no
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake perl
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --datadir=${OPENJADE_DATA_DIR}
CONFIGURE_ARGS+= --enable-default-catalog=${OPENJADE_DATA_DIR}/catalog
CONFIGURE_ARGS+= --enable-spincludedir=${BUILDLINK_PREFIX.opensp}/include/OpenSP
CONFIGURE_ARGS+= --enable-splibdir=${BUILDLINK_PREFIX.opensp}/lib
CONFIGURE_ENV+= CXXFLAGS=${CFLAGS:M*:Q}
SGML_CATALOGS= ${PREFIX}/share/sgml/openjade/catalog
OPENJADE_DATA_DIR= ${PREFIX}/share/sgml/openjade
OPENJADE_DOC_DIR= ${PREFIX}/share/doc/openjade
INSTALLATION_DIRS= ${OPENJADE_DATA_DIR}/pubtext \
${OPENJADE_DOC_DIR}/doc \
${OPENJADE_DOC_DIR}/jadedoc/images
post-install:
${INSTALL_DATA} ${WRKSRC}/dsssl/* ${DESTDIR}${OPENJADE_DATA_DIR}
${INSTALL_DATA} ${WRKSRC}/pubtext/* ${DESTDIR}${OPENJADE_DATA_DIR}/pubtext
${INSTALL_DATA} ${WRKSRC}/doc/*.htm ${DESTDIR}${OPENJADE_DOC_DIR}/doc
${INSTALL_DATA} ${WRKSRC}/jadedoc/copying.txt ${DESTDIR}${OPENJADE_DOC_DIR}/jadedoc
${INSTALL_DATA} ${WRKSRC}/jadedoc/*.htm ${DESTDIR}${OPENJADE_DOC_DIR}/jadedoc
${INSTALL_DATA} ${WRKSRC}/jadedoc/images/* ${DESTDIR}${OPENJADE_DOC_DIR}/jadedoc/images
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../textproc/opensp/buildlink3.mk"
.include "../../textproc/xmlcatmgr/catalogs.mk"
.include "../../mk/bsd.pkg.mk"

68
textproc/openjade/PLIST Normal file
View File

@@ -0,0 +1,68 @@
@comment $NetBSD: PLIST,v 1.5 2009/06/14 21:36:32 joerg Exp $
bin/openjade
lib/libogrove.la
lib/libospgrove.la
lib/libostyle.la
share/doc/openjade/doc/archform.htm
share/doc/openjade/doc/build.htm
share/doc/openjade/doc/catalog.htm
share/doc/openjade/doc/charset.htm
share/doc/openjade/doc/features.htm
share/doc/openjade/doc/generic.htm
share/doc/openjade/doc/ideas.htm
share/doc/openjade/doc/index.htm
share/doc/openjade/doc/new.htm
share/doc/openjade/doc/nsgmls.htm
share/doc/openjade/doc/sgmldecl.htm
share/doc/openjade/doc/sgmlnorm.htm
share/doc/openjade/doc/sgmlsout.htm
share/doc/openjade/doc/spam.htm
share/doc/openjade/doc/spent.htm
share/doc/openjade/doc/sx.htm
share/doc/openjade/doc/sysdecl.htm
share/doc/openjade/doc/sysid.htm
share/doc/openjade/doc/xml.htm
share/doc/openjade/jadedoc/autoconf.htm
share/doc/openjade/jadedoc/contributors.htm
share/doc/openjade/jadedoc/copying.txt
share/doc/openjade/jadedoc/dsssl2.htm
share/doc/openjade/jadedoc/images/background.gif
share/doc/openjade/jadedoc/images/dsssltitle.gif
share/doc/openjade/jadedoc/images/space.gif
share/doc/openjade/jadedoc/images/top-of-page.gif
share/doc/openjade/jadedoc/index.htm
share/doc/openjade/jadedoc/mif.htm
share/doc/openjade/jadedoc/rtf.htm
share/doc/openjade/jadedoc/tex.htm
share/doc/openjade/jadedoc/transform.htm
share/doc/openjade/jadedoc/xmlfo.htm
share/sgml/openjade/README.jadetex
share/sgml/openjade/builtins.dsl
share/sgml/openjade/catalog
share/sgml/openjade/demo.dsl
share/sgml/openjade/demo.sgm
share/sgml/openjade/dsssl.dtd
share/sgml/openjade/extensions.dsl
share/sgml/openjade/fot.dtd
share/sgml/openjade/pubtext/HTML32.dcl
share/sgml/openjade/pubtext/HTML32.dtd
share/sgml/openjade/pubtext/HTML32.soc
share/sgml/openjade/pubtext/HTML4-f.dtd
share/sgml/openjade/pubtext/HTML4-s.dtd
share/sgml/openjade/pubtext/HTML4.dcl
share/sgml/openjade/pubtext/HTML4.dtd
share/sgml/openjade/pubtext/HTML4.soc
share/sgml/openjade/pubtext/HTMLlat1.ent
share/sgml/openjade/pubtext/HTMLspec.ent
share/sgml/openjade/pubtext/HTMLsym.ent
share/sgml/openjade/pubtext/ISOlat1.ent
share/sgml/openjade/pubtext/ISOlat1.sgm
share/sgml/openjade/pubtext/html-1.dtd
share/sgml/openjade/pubtext/html-1s.dtd
share/sgml/openjade/pubtext/html-s.dtd
share/sgml/openjade/pubtext/html.dcl
share/sgml/openjade/pubtext/html.dtd
share/sgml/openjade/pubtext/html.soc
share/sgml/openjade/pubtext/xml.dcl
share/sgml/openjade/pubtext/xml.soc
share/sgml/openjade/style-sheet.dtd

View File

@@ -0,0 +1,15 @@
$NetBSD: distinfo,v 1.13 2012/10/04 20:59:24 tron Exp $
SHA1 (openjade-1.3.2.tar.gz) = 54e1999f41450fbd62c5d466002d79d3efca2321
RMD160 (openjade-1.3.2.tar.gz) = 3b12f6596a42c49a60cc07cd9b8f4c5fdf3bafd2
Size (openjade-1.3.2.tar.gz) = 894834 bytes
SHA1 (patch-aa) = 4914f08b6598d25af7b7f99a58e1e6490d292609
SHA1 (patch-ab) = cc5be75d416be38ada244301ba7171dc30751e75
SHA1 (patch-ac) = 535d81d8c04e5133878e329b274a00b910c61c96
SHA1 (patch-ad) = f8c950cc4a0ffb5bdba315a298c14a3e7ebcd637
SHA1 (patch-ae) = b67fde4062691b2d953cb4cb5b4ebd2428c3c285
SHA1 (patch-af) = 1e0db04b5b85ad3b71066e55f94bf3144d69efe5
SHA1 (patch-jade_TeXFOTBuilder.cxx) = 037953d73d896afae7531e313821224ccd1e30e4
SHA1 (patch-jade_TransformFOTBuilder.cxx) = cf4c51f05f95e31111a7e48d7984397ba4850e7d
SHA1 (patch-msggen.pl) = d55befeb6f859c9c3330c2083fce5d5281a496ef
SHA1 (patch-style_primitive.cxx) = a7f3328c436c9a73805cdd1abb4321f156b94c6e

View File

@@ -0,0 +1,70 @@
$NetBSD: patch-aa,v 1.3 2003/11/16 14:01:20 agc Exp $
--- configure.orig Sun Nov 9 21:44:24 2003
+++ configure Sun Nov 9 21:45:58 2003
@@ -4899,16 +4899,16 @@
fi
-echo "$as_me:$LINENO: checking for towupper" >&5
-echo $ECHO_N "checking for towupper... $ECHO_C" >&6
-if test "${ac_cv_func_towupper+set}" = set; then
+echo "$as_me:$LINENO: checking for wcsxfrm" >&5
+echo $ECHO_N "checking for wcsxfrm... $ECHO_C" >&6
+if test "${ac_cv_func_wcsxfrm+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
cat >conftest.$ac_ext <<_ACEOF
#line $LINENO "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
- which can conflict with char towupper (); below. */
+ which can conflict with char wcsxfrm (); below. */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error. */
#ifdef __cplusplus
@@ -4916,7 +4916,7 @@
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char towupper ();
+char wcsxfrm ();
char (*f) ();
#ifdef F77_DUMMY_MAIN
@@ -4931,10 +4931,10 @@
/* The GNU C library defines this for functions which it implements
to always fail with ENOSYS. Some functions are actually named
something starting with __ and the normal name is an alias. */
-#if defined (__stub_towupper) || defined (__stub___towupper)
+#if defined (__stub_wcsxfrm) || defined (__stub___towupper)
choke me
#else
-f = towupper;
+f = wcsxfrm;
#endif
;
@@ -4953,17 +4953,17 @@
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; }; then
- ac_cv_func_towupper=yes
+ ac_cv_func_wcsxfrm=yes
else
echo "$as_me: failed program was:" >&5
cat conftest.$ac_ext >&5
-ac_cv_func_towupper=no
+ac_cv_func_wcsxfrm=no
fi
rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
fi
-echo "$as_me:$LINENO: result: $ac_cv_func_towupper" >&5
-echo "${ECHO_T}$ac_cv_func_towupper" >&6
-if test $ac_cv_func_towupper = yes; then
+echo "$as_me:$LINENO: result: $ac_cv_func_wcsxfrm" >&5
+echo "${ECHO_T}$ac_cv_func_wcsxfrm" >&6
+if test $ac_cv_func_wcsxfrm = yes; then
cat >>confdefs.h <<\_ACEOF
#define SP_HAVE_WCHAR 1
_ACEOF

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.3 2006/12/10 23:02:40 minskim Exp $
--- Makefile.lib.in.orig 2002-01-22 03:57:53.000000000 -0800
+++ Makefile.lib.in
@@ -23,7 +23,7 @@ Makefile.lt:
echo 'LT_OBJS='`echo $(OBJS)|sed 's/\.o/.lo/g'` >Makefile.lt
lib$(LIB).la: $(LT_OBJS)
- $(LIBTOOL) --mode=link $(CC) $(LINKFLAGS) -o lib$(LIB).la $(LT_OBJS) \
+ $(LIBTOOL) --mode=link $(CXX) $(LINKFLAGS) -o lib$(LIB).la $(LT_OBJS) \
-rpath $(libdir) -version-info $(LTVERSION) $(DEPLIBS)
install:

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-ac,v 1.3 2006/12/10 23:02:40 minskim Exp $
--- spgrove/Makefile.sub.orig 2002-11-15 14:46:50.000000000 -0800
+++ spgrove/Makefile.sub
@@ -1,7 +1,8 @@
LTVERSION=0:1:0
LIB=ospgrove
INCLUDE=-I$(srcdir)/../grove
-DEPLIBS=-lm -L$(TOP)/grove -L$(TOP)/grove/.libs \
+DEPLIBS=$(TOP)/grove/libogrove.la \
+ -lm -losp -L$(TOP)/grove -L$(TOP)/grove/.libs \
-L$(TOP)/lib -L$(TOP)/lib/.libs \
$(LIB_THREADS)
OBJS=GroveApp.o GroveBuilder.o SdNode.o

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-ad,v 1.5 2006/12/10 23:02:40 minskim Exp $
--- style/Makefile.sub.orig 2002-11-15 14:46:50.000000000 -0800
+++ style/Makefile.sub
@@ -1,6 +1,7 @@
LTVERSION=0:1:0
LIB=ostyle
-DEPLIBS=-lm -L$(TOP)/grove -L$(TOP)/grove/.libs \
+DEPLIBS=$(TOP)/grove/libogrove.la $(TOP)/spgrove/libospgrove.la \
+ -lm -losp -L$(TOP)/grove -L$(TOP)/grove/.libs \
-L$(TOP)/lib -L$(TOP)/lib/.libs \
-L$(TOP)/spgrove -L$(TOP)/spgrove/.libs
OBJS=LangObj.o \

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-ae,v 1.3 2009/01/11 09:09:09 minskim Exp $
--- Makefile.prog.in.orig 2002-01-22 03:57:53.000000000 -0800
+++ Makefile.prog.in
@@ -12,14 +12,14 @@ LINKFLAGS = @LINKFLAGS@
ALL_LIBS = $(XLIBS) $(LIBS)
Makefile.lt:
- echo 'LT_LIBS='`echo $(ALL_LIBS)|sed 's/\.a/.la/g'` >Makefile.lt
+ echo 'LT_LIBS='`echo $(ALL_LIBS)|sed -e 's/\.a/.la/g' -e 's/-l[a-z]*//g'` >Makefile.lt
PROG:=$(shell echo "$(PROG)" | sed '@program_transform_name@')
all: $(PROG)
$(PROG): $(OBJS) $(COBJS) $(LT_LIBS)
- $(LIBTOOL) --mode=link $(CXX) $(LINKFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) $(LT_LIBS)
+ $(LIBTOOL) --mode=link $(CXX) $(LINKFLAGS) $(CXXFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(COBJS) `echo $(ALL_LIBS)|sed -e 's/\.a/.la/g'`
install: $(PROG)
-test -d $(DESTDIR)$(bindir) || \

View File

@@ -0,0 +1,10 @@
$NetBSD: patch-af,v 1.1 2006/12/10 23:02:40 minskim Exp $
--- jade/Makefile.sub.orig 2002-11-15 14:46:50.000000000 -0800
+++ jade/Makefile.sub
@@ -1,4 +1,5 @@
PROG=openjade
+DEPLIBS=$(TOP)/grove/libogrove.la $(TOP)/spgrove/libospgrove.la $(TOP)/style/libostyle.la
OBJS=jade.o SgmlFOTBuilder.o RtfFOTBuilder.o HtmlFOTBuilder.o \
TeXFOTBuilder.o TransformFOTBuilder.o MifFOTBuilder.o
INCLUDE=-I$(srcdir)/../grove -I$(srcdir)/../spgrove -I$(srcdir)/../style

View File

@@ -0,0 +1,17 @@
$NetBSD: patch-jade_TeXFOTBuilder.cxx,v 1.1 2011/04/22 07:27:45 adam Exp $
Fix building with Clang.
--- jade/TeXFOTBuilder.cxx.orig 2011-04-22 07:00:24.000000000 +0000
+++ jade/TeXFOTBuilder.cxx
@@ -1873,8 +1873,8 @@ static OutputByteStream &operator<<(Outp
FOTBuilder *makeTeXFOTBuilder(OutputByteStream *os, Messenger *mgr,
const FOTBuilder::Extension *&ext)
{
- static const TeXFOTBuilder::PageFloatFlowObj pageFloat;
- static const TeXFOTBuilder::PageFootnoteFlowObj pageFootnote;
+ static TeXFOTBuilder::PageFloatFlowObj pageFloat;
+ static TeXFOTBuilder::PageFootnoteFlowObj pageFootnote;
static const FOTBuilder::Extension extensions[] = {
{
"UNREGISTERED::Sebastian Rahtz//Flow Object Class::page-float",

View File

@@ -0,0 +1,25 @@
$NetBSD: patch-jade_TransformFOTBuilder.cxx,v 1.1 2011/04/22 07:27:45 adam Exp $
Fix building with Clang.
--- jade/TransformFOTBuilder.cxx.orig 2011-04-22 07:04:25.000000000 +0000
+++ jade/TransformFOTBuilder.cxx
@@ -248,12 +248,12 @@ FOTBuilder *makeTransformFOTBuilder(CmdL
const Vector<StringC> &options,
const FOTBuilder::Extension *&ext)
{
- static const TransformFOTBuilder::ProcessingInstructionFlowObj pi;
- static const TransformFOTBuilder::ElementFlowObj element;
- static const TransformFOTBuilder::EmptyElementFlowObj emptyElement;
- static const TransformFOTBuilder::EntityFlowObj entity;
- static const TransformFOTBuilder::EntityRefFlowObj entityRef;
- static const TransformFOTBuilder::DocumentTypeFlowObj documentType;
+ static TransformFOTBuilder::ProcessingInstructionFlowObj pi;
+ static TransformFOTBuilder::ElementFlowObj element;
+ static TransformFOTBuilder::EmptyElementFlowObj emptyElement;
+ static TransformFOTBuilder::EntityFlowObj entity;
+ static TransformFOTBuilder::EntityRefFlowObj entityRef;
+ static TransformFOTBuilder::DocumentTypeFlowObj documentType;
static const FOTBuilder::Extension extensions[] = {
{
"UNREGISTERED::James Clark//Flow Object Class::processing-instruction",

View File

@@ -0,0 +1,35 @@
$NetBSD: patch-msggen.pl,v 1.1 2012/10/04 20:59:24 tron Exp $
Fix build problem with Perl 5.16. Patch taken from Gentoo Linux:
https://bugs.gentoo.org/show_bug.cgi?id=420083
--- msggen.pl.orig 2002-10-20 22:47:23.000000000 +0100
+++ msggen.pl 2012-10-04 21:50:57.000000000 +0100
@@ -4,6 +4,7 @@
# See the file COPYING for copying permission.
use POSIX;
+use Getopt::Std;
# Package and version.
$package = 'openjade';
@@ -18,8 +19,7 @@
undef $opt_l;
undef $opt_p;
undef $opt_t;
-do 'getopts.pl';
-&Getopts('l:p:t:');
+getopts('l:p:t:');
$module = $opt_l;
$pot_file = $opt_p;
@@ -72,7 +72,7 @@
else {
$field[0] =~ /^[IWQXE][0-9]$/ || &error("invalid first field");;
$type[$num] = substr($field[0], 0, 1);
- $argc = int(substr($field[0], 1, 1));
+ $argc = substr($field[0], 1, 1);
}
$nargs[$num] = $argc;
$field[1] =~ /^[a-zA-Z_][a-zA-Z0-9_]+$/ || &error("invalid tag");

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-style_primitive.cxx,v 1.1 2012/08/06 16:51:50 jperkin Exp $
Avoid "call of overloaded 'pow(double, long int&)' is ambiguous" error.
--- style/primitive.cxx.orig Mon Aug 6 14:50:09 2012
+++ style/primitive.cxx Mon Aug 6 14:50:27 2012
@@ -5047,7 +5047,7 @@
if (!argv[1]->exactIntegerValue(n2))
return argError(interp, loc,
InterpreterMessages::notAnExactInteger, 1, argv[1]);
- return new (interp) QuantityObj(pow(d1,n2), dim1*n2);
+ return new (interp) QuantityObj(pow(d1,(double)n2), dim1*n2);
}
else {
if ((q2 == ELObj::noQuantity) || (dim2 != 0))