Upgrade to upstream SVN revision 1689959.

patch-jpeg and patch-nss have been upstreamed and are no longer needed.

patch-i118574 no longer seems necessary for a clean build.

Regnerate patch-i114430 with make makepatch.

Always build using boost from ports instead of the bundled boost, updating
the BUILD_DEPENDS with the header that configure looks for.

Add missing LIB_DEPENDS that are brought in by other dependencies, but are
directly linked as requested by pkgconfig/*.pc.

Build using sane and xrender headers from ports instead of bundled headers.

Update LICENSE* to account for bundled software.

Reformat pkg-message and mention that the scanner interface can be enabled
by installing sane-backends.

Pet portlint.

Reviewed by:	pfg
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D3064
This commit is contained in:
Don Lewis 2015-07-13 21:03:26 +00:00
parent ec3ca64d19
commit 8f77e148d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=391960
7 changed files with 87 additions and 414 deletions

View File

@ -17,6 +17,7 @@ PKGNAMESUFFIX= -${LANG_SUFFIX}
.endif
PKGNAMESUFFIX= -devel
DISTFILES= ${OOOSRC}${AOODISTTAG} unowinreg.dll:unoreg ${EXTSRC}:extsrc
DIST_SUBDIR= openoffice
EXTRACT_ONLY= ${OOOSRC}
MAINTAINER= office@FreeBSD.org
@ -24,7 +25,28 @@ MAINTAINER= office@FreeBSD.org
#Frequent Patch submitters should optionally sign Apache iCLA
COMMENT= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser (developer version)
LICENSE= APACHE20
LICENSE= APACHE20 ADOBE BSD3CLAUSE BSD4CLAUSE BSL ICU MIT MPL \
PSFL TWAIN W3C
LICENSE_COMB= multi
LICENSE_NAME_ADOBE= Adobe Systems Incorporated license
LICENSE_NAME_ICU= ICU License
LICENSE_NAME_TWAIN= TWAIN Working Group license
LICENSE_NAME_W3C= W3C license
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE_ALv2
LICENSE_FILE_ADOBE= ${WRKSRC}/LICENSE_ADOBE
LICENSE_FILE_BSD3CLAUSE= ${WRKSRC}/LICENSE_BSD3CLAUSE
LICENSE_FILE_BSD4CLAUSE= ${WRKSRC}/LICENSE_BSD4CLAUSE
LICENSE_FILE_BSL= ${WRKSRC}/LICENSE_BSL
LICENSE_FILE_ICU= ${WRKSRC}/LICENSE_ICU
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE_MIT
LICENSE_FILE_MPL= ${WRKSRC}/LICENSE_MPL
LICENSE_FILE_PSFL= ${WRKSRC}/LICENSE_PSFL
LICENSE_FILE_TWAIN= ${WRKSRC}/LICENSE_TWAIN
LICENSE_FILE_W3C= ${WRKSRC}/LICENSE_W3C
LICENSE_PERMS_ADOBE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_PERMS_ICU= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_PERMS_TWAIN= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
LICENSE_PERMS_W3C= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
BUILD_DEPENDS= \
p5-Archive-Zip>=0:${PORTSDIR}/archivers/p5-Archive-Zip \
@ -33,11 +55,13 @@ BUILD_DEPENDS= \
${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip \
zip:${PORTSDIR}/archivers/zip \
ant:${PORTSDIR}/devel/apache-ant \
${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs \
dmake:${PORTSDIR}/devel/dmake \
epm:${PORTSDIR}/devel/epm \
${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf \
imake:${PORTSDIR}/devel/imake \
gpatch:${PORTSDIR}/devel/patch \
${LOCALBASE}/include/sane/sane.h:${PORTSDIR}/graphics/sane-backends \
${LOCALBASE}/bin/vigra-config:${PORTSDIR}/graphics/vigra \
${JAVALIBDIR}/commons-httpclient.jar:${PORTSDIR}/java/jakarta-commons-httpclient \
${JAVALIBDIR}/commons-lang.jar:${PORTSDIR}/java/jakarta-commons-lang \
@ -48,6 +72,7 @@ BUILD_DEPENDS= \
p5-libwww>=0:${PORTSDIR}/www/p5-libwww
LIB_DEPENDS= \
libapr-1.so:${PORTSDIR}/devel/apr1 \
libnspr4.so:${PORTSDIR}/devel/nspr \
libcurl.so:${PORTSDIR}/ftp/curl \
libcairo.so:${PORTSDIR}/graphics/cairo \
libpng.so:${PORTSDIR}/graphics/png \
@ -62,7 +87,8 @@ LIB_DEPENDS= \
libtextcat.so:${PORTSDIR}/textproc/libtextcat \
libmythes-1.2.so:${PORTSDIR}/textproc/mythes \
librdf.so:${PORTSDIR}/textproc/redland \
libserf-1.so:${PORTSDIR}/www/serf
libserf-1.so:${PORTSDIR}/www/serf \
libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
RUN_DEPENDS= \
${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme \
${JAVALIBDIR}/commons-httpclient.jar:${PORTSDIR}/java/jakarta-commons-httpclient \
@ -74,9 +100,9 @@ AOOVERSION2= 2
AOOVERSION3= 0
# From solenv/inc/minor.mk SOURCEREVISION LAST_MINOR BUILD
AOOTAG= AOO420m1\(Build:9800\)
SVNREVISION= 1677314
SVNREVISION= 1689959
#AOORC=rc3
EXTSRC= ApacheOpenOffice.ext_sources.${AOOVERSION1}.x.x.20150118.tar.gz
EXTSRC= ApacheOpenOffice.ext_sources.${AOOVERSION1}.x.x.20150707.tar.gz
AOOVERSION= ${AOOVERSION1}.${AOOVERSION2}.${AOOVERSION3}
AOOXXX= ${AOOVERSION1}${AOOVERSION2}${AOOVERSION3}
@ -96,7 +122,6 @@ OOODIR= openoffice${AOOVERSION1}
AOOUDIR= .openoffice.org\/${AOOVERSION1}
INSTALLATION_BASEDIR?= openoffice-${AOOSUFFIX}
EXECBASE?= openoffice-${AOOSUFFIX}
DIST_SUBDIR= openoffice
NO_LATEST_LINK= yes
@ -112,7 +137,8 @@ USE_PERL5= build
USE_XORG= x11 ice xaw xau xext xrender xrandr \
xi xt xcursor xdamage xcomposite xfixes
USES= autoreconf:autoconf bison compiler cpe desktop-file-utils \
gmake jpeg perl5 pkgconfig python tar:${TARTYPE}
gettext-runtime gmake iconv jpeg perl5 pkgconfig python \
tar:${TARTYPE}
WITHOUT_CPU_CFLAGS= true
CPE_PRODUCT= ${PORTNAME:S|apache-||}
CPE_VENDOR= apache
@ -150,12 +176,10 @@ CPP= clang-cpp35
CC= clang35
CXX= clang++35
. endif
BUILD_DEPENDS+= ${LOCALBASE}/lib/libboost_regex.a:${PORTSDIR}/devel/boost-libs
CONFIGURE_ARGS+= --with-system-boost
CPPFLAGS+= -I${LOCALBASE}/include
.else
USE_GCC= yes
SUBST= "s/-fexceptions/& -fno-enforce-eh-specs/;s/-DHAVE_STL_INCLUDE_PATH//"
SUBST= "s/-fexceptions/& -fno-enforce-eh-specs/;s/-DHAVE_STL_INCLUDE_PATH/-DBOOST_TR1_DISABLE_INCLUDE_NEXT -DBOOST_TR1_GCC_INCLUDE_PATH=c++/"
.endif
.if ${ARCH} == amd64
@ -203,6 +227,7 @@ CONFIGURE_ARGS+= \
--with-system-apr-util \
--with-system-beanshell \
--with-beanshell-jar=${JAVALIBDIR}/bsh.jar \
--with-system-boost \
--enable-category-b \
--with-system-cairo --enable-cairo \
--with-system-coinmp \
@ -240,6 +265,7 @@ CONFIGURE_ARGS+= \
--with-system-poppler \
--with-system-python \
--with-system-redland \
--with-system-sane \
--with-system-serf \
--with-system-stdlibs \
--enable-symbols=small \
@ -248,6 +274,7 @@ CONFIGURE_ARGS+= \
--enable-verbose \
--with-system-vigra \
--enable-wiki-publisher \
--with-system-xrender \
--with-system-zlib
#OOOEXTENSIONS+= minimizer/presentation-minimizer.oxt
@ -281,6 +308,34 @@ post-extract:
${TAR} -C ${WRKSUBDIR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${EXTSRC}
${CP} ${DISTDIR}/${DIST_SUBDIR}/unowinreg.dll ${WRKSRC}/external/unowinreg/
${RM} -rf ${WRKSRC}/l10n
${SED} -e '\|^For main/vcl/unx/generic/fontmanager/parseAFM|,/^__/p' \
-e '\|^For PostScript(R) AFM|,/^__/p' \
-e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ADOBE}
${SED} -e '\|^For main/unixODBC|,/^__/p' \
-e '\|^For main/connectivity|,/^__/p' \
-e '\|^For main/libtextcat/data|,/^__/p' \
-e '\|^For integration of HSQLDB|,/^__/p' \
-e '\|^For C preprocessor|,/^__/p' \
-e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD3CLAUSE}
${SED} -e '\|^For ICC |,/^__/p' \
-e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSD4CLAUSE}
${SED} -e '\|^For integration of the C++ Boost |,/^__/p' \
-e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_BSL}
${SED} -e '\|^For main/i18npool/source/breakiterator|,/^__/p' \
-e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_ICU}
${SED} -e '\|^For Multi-Dimensional Data|,/^__/p' \
-e '\|^For XSLT MathML Library|,/^__/p' \
-e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_MIT}
${SED} -e '\|^For XMLSec Library|,/^__/p' \
-e d ${WRKSRC}/LICENSE_category_b >> ${LICENSE_FILE_MIT}
${SED} -e '\|^For Graphite|,$$d' \
${WRKSRC}/LICENSE_category_b > ${LICENSE_FILE_MPL}
${SED} -e '\|^For main/filter/source/config/tools/merge/pyAltFCFGMerge|,/^__/p' \
-e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_PSFL}
${SED} -e '\|^For main/twain|,/^__/p' \
-e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_TWAIN}
${SED} -e '\|^For main/MathMLDTD|,/^__/p' \
-e d ${WRKSRC}/LICENSE > ${LICENSE_FILE_W3C}
post-patch:
.if defined (USE_GCC)

View File

@ -1,6 +1,6 @@
SHA256 (openoffice/apache-openoffice-r1677314-src.tar.xz) = 7db08f046ae1cb87ac5d9788a4507d4bd70df1be73c9044a71182087f9ff231c
SIZE (openoffice/apache-openoffice-r1677314-src.tar.xz) = 215202736
SHA256 (openoffice/apache-openoffice-r1689959-src.tar.xz) = 22f66a8d19d1bb3355370875628f5bc44ec02c7ce75fb57021ced1834eb8da29
SIZE (openoffice/apache-openoffice-r1689959-src.tar.xz) = 215148292
SHA256 (openoffice/unowinreg.dll) = f563e522922133db9340b0306711c2d8767cc3481dd9e7d9b0d059906d12653c
SIZE (openoffice/unowinreg.dll) = 6144
SHA256 (openoffice/ApacheOpenOffice.ext_sources.4.x.x.20150118.tar.gz) = b01b8894469a80667b0551ea6c0abffd3fb9e79c8a304d48091ff57ab53f10b7
SIZE (openoffice/ApacheOpenOffice.ext_sources.4.x.x.20150118.tar.gz) = 102513542
SHA256 (openoffice/ApacheOpenOffice.ext_sources.4.x.x.20150707.tar.gz) = 966a8333c83a18ddd84401389006d6e0b52b8175924b808b54b88211669985fa
SIZE (openoffice/ApacheOpenOffice.ext_sources.4.x.x.20150707.tar.gz) = 28957004

View File

@ -1,8 +1,6 @@
Index: sc/source/core/tool/interpr5.cxx
===================================================================
--- sc/source/core/tool/interpr5.cxx (revision 1678278)
+++ sc/source/core/tool/interpr5.cxx (working copy)
@@ -1611,7 +1611,7 @@
--- sc/source/core/tool/interpr5.cxx.orig 2014-09-19 18:03:51 UTC
+++ sc/source/core/tool/interpr5.cxx
@@ -1611,14 +1611,14 @@ void ScInterpreter::ScPow()
if (bFlag)
{ for ( SCSIZE i = 0; i < nCount; i++ )
if (pMat->IsValue(i))
@ -11,7 +9,6 @@ Index: sc/source/core/tool/interpr5.cxx
else
pResMat->PutString(ScGlobal::GetRscString(STR_NO_VALUE), i);
}
@@ -1618,7 +1618,7 @@
else
{ for ( SCSIZE i = 0; i < nCount; i++ )
if (pMat->IsValue(i))
@ -20,7 +17,7 @@ Index: sc/source/core/tool/interpr5.cxx
else
pResMat->PutString(ScGlobal::GetRscString(STR_NO_VALUE), i);
}
@@ -1628,7 +1628,7 @@
@@ -1628,7 +1628,7 @@ void ScInterpreter::ScPow()
PushIllegalArgument();
}
else

View File

@ -1,323 +0,0 @@
--- unoxml/source/dom/attr.hxx.orig 2011-11-03 21:05:47.000000000 -0500
+++ unoxml/source/dom/attr.hxx 2011-11-03 21:06:26.000000000 -0500
@@ -30,6 +30,7 @@
#include <memory>
+#include <cwchar> // for std::mbstate_t
#include <libxml/tree.h>
#include <cppuhelper/implbase1.hxx>
--- unoxml/source/dom/characterdata.hxx.orig 2011-11-03 21:12:41.000000000 -0500
+++ unoxml/source/dom/characterdata.hxx 2011-11-03 21:13:08.000000000 -0500
@@ -28,6 +28,7 @@
#ifndef DOM_CHARACTERDATA_HXX
#define DOM_CHARACTERDATA_HXX
+#include <cwchar> // for std::mbstate_t
#include <libxml/tree.h>
#include <sal/types.h>
--- unoxml/source/dom/childlist.cxx.orig 2011-11-03 21:36:22.000000000 -0500
+++ unoxml/source/dom/childlist.cxx 2011-11-03 21:37:22.000000000 -0500
@@ -27,6 +27,7 @@
#include <childlist.hxx>
+#include <cwchar> // for std::mbstate_t
#include <libxml/tree.h>
#include <node.hxx>
--- unoxml/source/dom/document.hxx.orig 2011-11-03 20:59:53.000000000 -0500
+++ unoxml/source/dom/document.hxx 2011-11-03 21:00:40.000000000 -0500
@@ -31,6 +31,7 @@
#include <set>
#include <memory>
+#include <cwchar> // for std::mbstate_t
#include <libxml/tree.h>
#include <sal/types.h>
--- unoxml/source/dom/documentbuilder.cxx.orig 2011-11-03 21:15:44.000000000 -0500
+++ unoxml/source/dom/documentbuilder.cxx 2011-11-03 21:16:26.000000000 -0500
@@ -31,6 +31,7 @@
#include <stdio.h>
#include <stdarg.h>
+#include <cwchar> // for std::mbstate_t
#include <libxml/xmlerror.h>
#include <libxml/tree.h>
--- unoxml/source/dom/documenttype.hxx.orig 2011-11-03 21:19:12.000000000 -0500
+++ unoxml/source/dom/documenttype.hxx 2011-11-03 21:19:39.000000000 -0500
@@ -28,6 +28,7 @@
#ifndef DOM_DOCUMENTTYPE_HXX
#define DOM_DOCUMENTTYPE_HXX
+#include <cwchar> // for std::mbstate_t
#include <libxml/tree.h>
#include <sal/types.h>
--- unoxml/source/dom/element.hxx.orig 2011-11-03 21:02:39.000000000 -0500
+++ unoxml/source/dom/element.hxx 2011-11-03 21:03:48.000000000 -0500
@@ -28,6 +28,7 @@
#ifndef DOM_ELEMENT_HXX
#define DOM_ELEMENT_HXX
+#include <cwchar> // for std::mbstate_t
#include <libxml/tree.h>
#include <com/sun/star/uno/Reference.h>
--- unoxml/source/dom/elementlist.hxx.orig 2011-11-03 21:33:35.000000000 -0500
+++ unoxml/source/dom/elementlist.hxx 2011-11-03 21:34:07.000000000 -0500
@@ -32,6 +32,7 @@
#include <boost/scoped_array.hpp>
+#include <cwchar> // for std::mbstate_t
#include <libxml/tree.h>
#include <sal/types.h>
--- unoxml/source/dom/entity.hxx.orig 2011-11-03 21:21:42.000000000 -0500
+++ unoxml/source/dom/entity.hxx 2011-11-03 21:22:28.000000000 -0500
@@ -28,6 +28,7 @@
#ifndef DOM_ENTITY_HXX
#define DOM_ENTITY_HXX
+#include <cwchar> // for std::mbstate_t
#include <libxml/tree.h>
#include <libxml/entities.h>
--- unoxml/source/dom/entityreference.hxx.orig 2011-11-03 21:24:36.000000000 -0500
+++ unoxml/source/dom/entityreference.hxx 2011-11-03 21:25:13.000000000 -0500
@@ -28,6 +28,7 @@
#ifndef DOM_ENTITYREFERENCE_HXX
#define DOM_ENTITYREFERENCE_HXX
+#include <cwchar> // for std::mbstate_t
#include <libxml/tree.h>
#include <com/sun/star/uno/Reference.h>
--- unoxml/source/dom/node.hxx.orig 2011-11-03 20:54:49.000000000 -0500
+++ unoxml/source/dom/node.hxx 2011-11-03 20:56:47.000000000 -0500
@@ -30,6 +30,7 @@
#include <hash_map>
+#include <cwchar> // for std::mbstate_t
#include <libxml/tree.h>
#include <sal/types.h>
--- unoxml/source/dom/notation.hxx.orig 2011-11-03 21:27:17.000000000 -0500
+++ unoxml/source/dom/notation.hxx 2011-11-03 21:28:12.000000000 -0500
@@ -28,6 +28,7 @@
#ifndef DOM_NOTATION_HXX
#define DOM_NOTATION_HXX
+#include <cwchar> // for std::mbstate_t
#include <libxml/tree.h>
#include <com/sun/star/uno/Reference.h>
--- unoxml/source/dom/processinginstruction.hxx.orig 2011-11-03 21:30:54.000000000 -0500
+++ unoxml/source/dom/processinginstruction.hxx 2011-11-03 21:31:30.000000000 -0500
@@ -28,6 +28,7 @@
#ifndef DOM_PROCESSINGINSTRUCTION_HXX
#define DOM_PROCESSINGINSTRUCTION_HXX
+#include <cwchar> // for std::mbstate_t
#include <libxml/tree.h>
#include <com/sun/star/uno/Reference.h>
--- unoxml/source/dom/text.hxx.orig 2011-11-03 21:10:46.000000000 -0500
+++ unoxml/source/dom/text.hxx 2011-11-03 21:11:14.000000000 -0500
@@ -28,6 +28,7 @@
#ifndef DOM_TEXT_HXX
#define DOM_TEXT_HXX
+#include <cwchar> // for std::mbstate_t
#include <libxml/tree.h>
#include <sal/types.h>
--- unoxml/source/events/eventdispatcher.hxx.orig 2011-11-03 21:51:05.000000000 -0500
+++ unoxml/source/events/eventdispatcher.hxx 2011-11-03 21:55:59.000000000 -0500
@@ -31,6 +31,7 @@
#include <map>
#include <vector>
+#include <cwchar> // for std::mbstate_t
#include <libxml/tree.h>
#include <rtl/ustring.hxx>
--- jvmfwk/source/elements.hxx.orig 2011-11-03 14:14:18.000000000 -0500
+++ jvmfwk/source/elements.hxx 2011-11-03 14:24:14.000000000 -0500
@@ -32,6 +32,7 @@
#include "fwkutil.hxx"
#include "rtl/ustring.hxx"
#include "rtl/byteseq.hxx"
+#include <cwchar> // for std::mbstate_t
#include "libxml/parser.h"
#include "boost/optional.hpp"
--- jvmfwk/source/fwkbase.cxx.orig 2011-11-03 14:31:12.000000000 -0500
+++ jvmfwk/source/fwkbase.cxx 2011-11-03 14:32:34.000000000 -0500
@@ -32,6 +32,7 @@
#include "rtl/uri.hxx"
#include "osl/thread.hxx"
#include "osl/process.h"
+#include <cwchar> // for std::mbstate_t
#include "libxml/xpathInternals.h"
#include "osl/file.hxx"
#include "osl/module.hxx"
--- jvmfwk/source/libxmlutil.hxx.orig 2011-11-03 14:28:02.000000000 -0500
+++ jvmfwk/source/libxmlutil.hxx 2011-11-03 14:28:52.000000000 -0500
@@ -27,7 +27,7 @@
#if !defined INCLUDED_JVMFWK_LIBXMLUTIL_HXX
#define INCLUDED_JVMFWK_LIBXMLUTIL_HXX
-
+#include <cwchar> // for std::mbstate_t
#include "libxml/parser.h"
#include "libxml/xpath.h"
//#include "libxml/xpathinternals.h"
--- xmlhelp/source/cxxhelp/provider/urlparameter.cxx.orig 2011-11-03 23:28:51.000000000 -0500
+++ xmlhelp/source/cxxhelp/provider/urlparameter.cxx 2011-11-03 23:33:15.000000000 -0500
@@ -46,6 +46,7 @@
#include <comphelper/processfactory.hxx>
#include <rtl/uri.hxx>
#include <rtl/ustrbuf.hxx>
+#include <cwchar> // for std::mbstate_t
#include <libxslt/xslt.h>
#include <libxslt/transform.h>
#include <libxslt/xsltutils.h>
--- unoxml/source/xpath/nodelist.hxx.orig 2011-11-03 21:42:28.000000000 -0500
+++ unoxml/source/xpath/nodelist.hxx 2011-11-03 21:43:53.000000000 -0500
@@ -38,6 +38,7 @@
#include <com/sun/star/xml/dom/XNodeList.hpp>
#include <com/sun/star/xml/xpath/XXPathObject.hpp>
+#include <cwchar> // for std::mbstate_t
#include "libxml/tree.h"
#include "libxml/xpath.h"
--- unoxml/source/xpath/xpathapi.cxx.orig 2011-11-03 21:46:02.000000000 -0500
+++ unoxml/source/xpath/xpathapi.cxx 2011-11-03 21:46:34.000000000 -0500
@@ -30,6 +30,7 @@
#include <stdarg.h>
#include <string.h>
+#include <cwchar> // for std::mbstate_t
#include <libxml/tree.h>
#include <libxml/xmlerror.h>
#include <libxml/xpath.h>
Index: main/forms/source/xforms/xpathlib/xpathlib.hxx
===================================================================
--- forms/source/xforms/xpathlib/xpathlib.hxx (revision 1235458)
+++ forms/source/xforms/xpathlib/xpathlib.hxx (working copy)
@@ -20,7 +20,7 @@
*************************************************************/
-
+#include <cwchar> // for std::mbstate_t
#include <libxml/tree.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
--- avmedia/source/gstreamer/gstplayer.hxx 2012-02-02 07:33:58.000000000 +0900
+++ avmedia/source/gstreamer/gstplayer.hxx 2012-02-02 07:35:03.000000000 +0900
@@ -24,6 +24,8 @@
#ifndef _GSTPLAYER_HXX
#define _GSTPLAYER_HXX
+#include <cwchar> // for std::mbstate_t
+
#include "gstcommon.hxx"
#include <glib.h>
#include <glib/gatomic.h>
--- xmlsecurity/source/xmlsec/biginteger.cxx 2012-02-04 10:36:05.000000000 +0900
+++ xmlsecurity/source/xmlsec/biginteger.cxx 2012-02-01 16:51:40.000000000 +0900
@@ -19,7 +19,7 @@
*
*************************************************************/
-
+#include <cwchar> // for std::mbstate_t
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_xmlsecurity.hxx"
--- xmlsecurity/source/xmlsec/errorcallback.cxx 2012-02-04 10:37:52.000000000 +0900
+++ xmlsecurity/source/xmlsec/errorcallback.cxx 2012-02-01 16:51:40.000000000 +0900
@@ -19,7 +19,7 @@
*
*************************************************************/
-
+#include <cwchar> // for std::mbstate_t
// MARKER(update_precomp.py): autogen include statement, do not remove
#include "precompiled_xmlsecurity.hxx"
--- xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx 2012-02-03 13:03:47.000000000 +0900
+++ xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx 2012-02-01 16:51:40.000000000 +0900
@@ -24,6 +24,8 @@
#ifndef _XSECURITYENVIRONMENT_NSSIMPL_HXX_
#define _XSECURITYENVIRONMENT_NSSIMPL_HXX_
+#include <cwchar> // for std::mbstate_t
+
#include <sal/config.h>
#include <rtl/ustring.hxx>
#include <cppuhelper/factory.hxx>
--- xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx 2012-02-04 10:33:01.000000000 +0900
+++ xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx 2012-02-01 16:51:40.000000000 +0900
@@ -24,6 +24,8 @@
#ifndef _SEINITIALIZERIMPL_HXX
#define _SEINITIALIZERIMPL_HXX
+#include <cwchar> // for std::mbstate_t
+
#include <com/sun/star/xml/crypto/XXMLSecurityContext.hpp>
#include <com/sun/star/xml/crypto/XSEInitializer.hpp>
--- xmlsecurity/source/xmlsec/saxhelper.hxx 2012-02-04 10:34:58.000000000 +0900
+++ xmlsecurity/source/xmlsec/saxhelper.hxx 2012-02-01 16:51:40.000000000 +0900
@@ -24,6 +24,8 @@
#ifndef _SAXHELPER_HXX
#define _SAXHELPER_HXX
+#include <cwchar> // for std::mbstate_t
+
#include "libxml/tree.h"
#include <com/sun/star/xml/sax/SAXException.hpp>
--- xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx 2012-02-04 10:36:45.000000000 +0900
+++ xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx 2012-02-01 16:51:40.000000000 +0900
@@ -20,6 +20,7 @@
*************************************************************/
+#include <cwchar> // for std::mbstate_t
#ifndef _XMLELEMENTWRAPPER_XMLSECIMPL_HXX
#define _XMLELEMENTWRAPPER_XMLSECIMPL_HXX
--- xmlsecurity/source/xmlsec/xmlstreamio.hxx 2012-02-04 10:37:09.000000000 +0900
+++ xmlsecurity/source/xmlsec/xmlstreamio.hxx 2012-02-01 16:51:40.000000000 +0900
@@ -19,7 +19,7 @@
*
*************************************************************/
-
+#include <cwchar> // for std::mbstate_t
#ifndef _XMLSTREAMIO_XMLSECIMPL_HXX_
#define _XMLSTREAMIO_XMLSECIMPL_HXX_

View File

@ -1,12 +0,0 @@
--- svtools/Library_svt.mk.orig 2014-02-25 00:28:36.000000000 -0800
+++ svtools/Library_svt.mk 2014-08-04 21:40:00.000000000 -0700
@@ -76,6 +76,9 @@
$(eval $(call gb_Library_set_ldflags,svt,\
$$(filter-out -L/usr/lib/jvm%,$$(LDFLAGS)) \
))
+$(eval $(call gb_Library_set_ldflags,svt,\
+ $$(shell echo $$(LDFLAGS) | sed 's/ -L[^ ]*\/jre\/lib\/[^ ]*//g') \
+))
ifeq ($(GUIBASE),os2)
# YD FIXME above is not working... needs ldflags hack...
$(eval $(call gb_Library_set_ldflags,svt,\

View File

@ -1,43 +0,0 @@
--- set_soenv.in~ 2014-01-22 15:21:04.000000000 +0900
+++ set_soenv.in 2014-02-03 12:12:03.000000000 +0900
@@ -1864,6 +1864,8 @@
ToFile( "SYSTEM_STDLIBS", "@SYSTEM_STDLIBS@", "e" );
ToFile( "SYSTEM_ZLIB", "@SYSTEM_ZLIB@", "e" );
ToFile( "SYSTEM_NSS", "@SYSTEM_NSS@", "e" );
+ToFile( "NSS_CFLAGS", "@NSS_CFLAGS@", "e" );
+ToFile( "NSS_LIBS", "@NSS_LIBS@", "e" );
ToFile( "SYSTEM_OPENSSL", "@SYSTEM_OPENSSL@", "e" );
ToFile( "OPENSSL_CFLAGS", "@OPENSSL_CFLAGS@", "e" );
ToFile( "OPENSSL_LIBS", "@OPENSSL_LIBS@", "e" );
--- xmlsecurity/util/makefile.mk 2014-02-03 15:50:50.000000000 +0900
+++ xmlsecurity/util/makefile.mk 2014-02-03 16:03:11.000000000 +0900
@@ -98,12 +98,12 @@
SHL2STDLIBS +=-ldl
.ENDIF
-.IF "$(ENABLE_NSS_MODULE)"=="YES" && "$(SYSTEM_NSS)"!="YES"
+.IF "$(ENABLE_NSS_MODULE)"=="YES" && "$(SYSTEM_NSS)"=="YES"
.IF "$(NSPR_LIB)" != ""
SHL2STDLIBS += $(NSPR_LIB)
.ENDIF
-.IF "$(NSS_LIB)" != ""
-SHL2STDLIBS += $(NSS_LIB)
+.IF "$(NSS_LIBS)" != ""
+SHL2STDLIBS += $(NSS_LIBS)
.ENDIF
.ENDIF
--- xmlsecurity/source/xmlsec/nss/makefile.mk 2014-01-22 15:07:16.000000000 +0900
+++ xmlsecurity/source/xmlsec/nss/makefile.mk 2014-02-03 16:13:30.000000000 +0900
@@ -48,8 +48,8 @@
NSPR_INC = $(MOZ_INC)$/nspr
.ELSE
# TODO: better use pkgconfig to find the proper system include path
-NSS_INC = /usr/include/nss3
-NSPR_INC = /usr/include/nspr4
+NSS_INC = $(NSS_CFLAGS)
+NSPR_INC = $(NSS_CFLAGS)
.ENDIF
.IF "$(GUI)" == "WNT"

View File

@ -6,20 +6,20 @@ Written by: Martin Blapp <mbr@freebsd.org>
Apache OpenOffice %%AOOTAG%% will soon be installed in
%%PREFIX%%/%%EXECBASE%%
1. User installation
1. Scanner interface
--------------------
To enable the scanner interface, install the sane-backends package.
Just type "%%EXECBASE%%" after you have successfully
installed the package. If there is no installed
.openoffice.org directory in your home directory, the
setup installs the "%%AOOUDIR%%" folder.
2. User installation
--------------------
Just type "%%EXECBASE%%" after you have successfully installed
the package. If there is no installed .openoffice.org directory in your
home directory, the setup installs the "%%AOOUDIR%%" folder.
2. Starting Apache OpenOffice
3. Starting Apache OpenOffice
-----------------------------
There are some wrappers installed for faster startup.
Add "%%PREFIX%%/bin/" to your PATH and you will be able
to use them.
There are some wrappers installed for faster startup. Add "%%PREFIX%%/bin/"
to your PATH and you will be able to use them.
%%PREFIX%%/bin/%%EXECBASE%%
%%PREFIX%%/bin/%%EXECBASE%%-sbase
@ -31,11 +31,10 @@ to use them.
%%PREFIX%%/bin/%%EXECBASE%%-spadmin
%%PREFIX%%/bin/%%EXECBASE%%-swriter
OO.org does need $LANG to be set to a suitable value.
OpenOffice does need $LANG to be set to a suitable value.
3. If you run into problems
4. If you run into problems
--------------------------------------------------
If you somehow run into problems, please remove the already
installed "%%AOOUDIR%%" directory in your home directory,
then redo the user installation and the problems should go
away.
If you somehow run into problems, please remove the already installed
"%%AOOUDIR%%" directory in your home directory, then redo the
user installation and the problems should go away.