693b532d22
- redland/*/makefile.mk: + fix bugs + use evil -dylib_file hack so redland builds on unxmacxi - redland/*.patch: + add dmakefile for wntmsci12 build
201 lines
5.5 KiB
Diff
201 lines
5.5 KiB
Diff
--- misc/rasqal-0.9.15/LICENSE.txt Sun Apr 22 23:09:08 2007
|
|
+++ misc/build/rasqal-0.9.15/LICENSE.txt Mon Jun 16 15:55:45 2008
|
|
@@ -61,3 +61,15 @@
|
|
|
|
Copyright (C) 2003-2007 Dave Beckett
|
|
Copyright (C) 2003-2005 University of Bristol
|
|
+
|
|
+
|
|
+LGPL Disclaimer
|
|
+
|
|
+For the avoidance of doubt, except that if any license choice other
|
|
+than GPL or LGPL is available it will apply instead, Sun elects to
|
|
+use only the Lesser General Public License version 2.1 (LGPLv2) at
|
|
+this time for any software where a choice of LGPL license versions
|
|
+is made available with the language indicating that LGPLv2.1 or any
|
|
+later version may be used, or where a choice of which version of the
|
|
+LGPL is applied is otherwise unspecified.
|
|
+
|
|
--- misc/rasqal-0.9.15/src/makefile.mk Mon Jun 16 19:30:20 2008
|
|
+++ misc/build/rasqal-0.9.15/src/makefile.mk Mon Jun 16 19:25:48 2008
|
|
@@ -1,1 +1,95 @@
|
|
-dummy
|
|
+#*************************************************************************
|
|
+#
|
|
+# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
+#
|
|
+# Copyright 2008 by Sun Microsystems, Inc.
|
|
+#
|
|
+# OpenOffice.org - a multi-platform office productivity suite
|
|
+#
|
|
+# $RCSfile: rasqal-0.9.15.patch,v $
|
|
+#
|
|
+# $Revision: 1.2 $
|
|
+#
|
|
+# This file is part of OpenOffice.org.
|
|
+#
|
|
+# OpenOffice.org is free software: you can redistribute it and/or modify
|
|
+# it under the terms of the GNU Lesser General Public License version 3
|
|
+# only, as published by the Free Software Foundation.
|
|
+#
|
|
+# OpenOffice.org is distributed in the hope that it will be useful,
|
|
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
+# GNU Lesser General Public License version 3 for more details
|
|
+# (a copy is included in the LICENSE file that accompanied this code).
|
|
+#
|
|
+# You should have received a copy of the GNU Lesser General Public License
|
|
+# version 3 along with OpenOffice.org. If not, see
|
|
+# <http://www.openoffice.org/license.html>
|
|
+# for a copy of the LGPLv3 License.
|
|
+#
|
|
+#*************************************************************************
|
|
+
|
|
+PRJ=..$/..$/..$/..$/..
|
|
+
|
|
+PRJNAME=redland
|
|
+TARGET=rasqal
|
|
+LIBTARGET=NO
|
|
+
|
|
+EXTERNAL_WARNINGS_NOT_ERRORS=TRUE
|
|
+
|
|
+
|
|
+# --- Settings -----------------------------------------------------
|
|
+
|
|
+.INCLUDE : settings.mk
|
|
+
|
|
+CDEFS+=-DRASQAL_INTERNAL -DWIN32 -DNDEBUG -D_WINDOWS -D_USRDLL -DWIN32_EXPORTS -D_MT
|
|
+
|
|
+# --- Files --------------------------------------------------------
|
|
+
|
|
+SLOFILES = \
|
|
+ $(SLO)$/rasqal_datetime.obj \
|
|
+ $(SLO)$/rasqal_decimal.obj \
|
|
+ $(SLO)$/rasqal_engine.obj \
|
|
+ $(SLO)$/rasqal_expr.obj \
|
|
+ $(SLO)$/rasqal_feature.obj \
|
|
+ $(SLO)$/rasqal_general.obj \
|
|
+ $(SLO)$/rasqal_graph_pattern.obj \
|
|
+ $(SLO)$/rasqal_literal.obj \
|
|
+ $(SLO)$/rasqal_map.obj \
|
|
+ $(SLO)$/rasqal_query_results.obj \
|
|
+ $(SLO)$/rasqal_query.obj \
|
|
+ $(SLO)$/rasqal_raptor.obj \
|
|
+ $(SLO)$/rasqal_result_formats.obj \
|
|
+ $(SLO)$/rasqal_xsd_datatypes.obj \
|
|
+ $(SLO)$/rdql_lexer.obj \
|
|
+ $(SLO)$/rdql_parser.obj \
|
|
+ $(SLO)$/sparql_lexer.obj \
|
|
+ $(SLO)$/sparql_parser.obj \
|
|
+ $(SLO)$/strcasecmp.obj \
|
|
+
|
|
+
|
|
+# $(SLO)$/rasqal_redland.obj \
|
|
+
|
|
+SHL1DEPN= makefile.mk
|
|
+SHL1OBJS= $(SLOFILES)
|
|
+SHL1USE_EXPORTS=name
|
|
+
|
|
+#SHL1TARGET= $(TARGET)$(DLLPOSTFIX)
|
|
+SHL1TARGET= $(TARGET)
|
|
+SHL1IMPLIB= lib$(TARGET)
|
|
+
|
|
+#SHL1VERSIONMAP=../service/exports.map
|
|
+SHL1DEF=$(MISC)$/$(SHL1TARGET).def
|
|
+DEF1NAME=$(SHL1TARGET)
|
|
+
|
|
+SHL1STDLIBS= \
|
|
+ $(PRJ)$/$(INPATH)$/lib$/libraptor.lib \
|
|
+
|
|
+
|
|
+#$(LIBXML2LIB) \
|
|
+# $(XSLTLIB) \
|
|
+
|
|
+# --- Targets ------------------------------------------------------
|
|
+
|
|
+.INCLUDE : target.mk
|
|
+
|
|
--- misc/rasqal-0.9.15/src/rasqal-config.in Sun Apr 22 22:58:51 2007
|
|
+++ misc/build/rasqal-0.9.15/src/rasqal-config.in Mon Jun 16 15:55:45 2008
|
|
@@ -22,13 +22,22 @@
|
|
#
|
|
#
|
|
|
|
-prefix=@prefix@
|
|
+prefix=${SOLARVERSION}/${INPATH}
|
|
+exec_prefix=${SOLARVERSION}/${INPATH}
|
|
+#includedir=${SOLARVERSION}/${INPATH}/inc${UPDMINOREXT}/external
|
|
+#libdir=${SOLARVERSION}/${INPATH}/lib${UPDMINOREXT}
|
|
+# HACK: map to build directory
|
|
+includedir=../../../../inc
|
|
+libdir=../../../../lib
|
|
+includes=-I${includedir}
|
|
|
|
-if test "@includedir@" != /usr/include ; then
|
|
- includes="-I@includedir@"
|
|
-else
|
|
- includes=
|
|
-fi
|
|
+#prefix=@prefix@
|
|
+#
|
|
+#if test "@includedir@" != /usr/include ; then
|
|
+# includes="-I@includedir@"
|
|
+#else
|
|
+# includes=
|
|
+#fi
|
|
|
|
|
|
usage()
|
|
@@ -109,7 +118,8 @@
|
|
echo $includes
|
|
fi
|
|
if test "$echo_libs" = "yes"; then
|
|
- echo -L@libdir@ -lrasqal
|
|
+# echo -L@libdir@ -lrasqal
|
|
+ echo -L${libdir} -lrasqal
|
|
fi
|
|
if test "$echo_libtool_libs" = "yes"; then
|
|
echo @libdir@/@RASQAL_LIBTOOLLIBS@
|
|
--- misc/rasqal-0.9.15/src/win32_rasqal_config.h Mon Apr 23 09:18:27 2007
|
|
+++ misc/build/rasqal-0.9.15/src/win32_rasqal_config.h Mon Jun 16 15:55:45 2008
|
|
@@ -39,10 +39,13 @@
|
|
|
|
#define HAVE_STDLIB_H 1
|
|
|
|
+#define HAVE_ERRNO_H 1
|
|
+
|
|
#define HAVE_STRICMP 1
|
|
|
|
/* MS names for these functions */
|
|
-#define vsnprintf _vsnprintf
|
|
+// next line breaks build on wntmsci12
|
|
+//#define vsnprintf _vsnprintf
|
|
#define snprintf _snprintf
|
|
#define access _access
|
|
#define stricmp _stricmp
|
|
@@ -87,6 +90,9 @@
|
|
#include <io.h>
|
|
#include <memory.h>
|
|
|
|
+// argh! stupid winnt.h...
|
|
+#undef DELETE
|
|
+
|
|
/* This is a SPARQL token define */
|
|
#ifdef OPTIONAL
|
|
#undef OPTIONAL
|
|
@@ -118,8 +124,14 @@
|
|
/* #define RAPTOR_TRIPLES_SOURCE_REDLAND 1 */
|
|
|
|
/* Use PCRE regex library */
|
|
-#define RASQAL_REGEX_PCRE 1
|
|
+//#define RASQAL_REGEX_PCRE 1
|
|
|
|
+#define HAVE_LIBXML_SCHEMASINTERNALS_H 1
|
|
+#define HAVE_LIBXML_XMLSCHEMASTYPES_H 1
|
|
+#define HAVE_LIBXML_XMLSCHEMAS_H 1
|
|
+
|
|
+#define RASQAL_DECIMAL_NONE 1
|
|
+
|
|
#ifdef _DEBUG
|
|
#define RASQAL_DEBUG 1
|
|
#endif
|