aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-vcltesttool
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2005-10-17 17:41:59 +0800
committermaho <maho@FreeBSD.org>2005-10-17 17:41:59 +0800
commit72c4d91b26389d5c65544cc2d22513de0ae02d6f (patch)
tree19a58dde83d226a9d659d25bacaf10e62efd1023 /editors/openoffice.org-vcltesttool
parent22d2ae6c6a7a9027789709f4cde14702441e1351 (diff)
downloadfreebsd-ports-graphics-72c4d91b26389d5c65544cc2d22513de0ae02d6f.tar.gz
freebsd-ports-graphics-72c4d91b26389d5c65544cc2d22513de0ae02d6f.tar.zst
freebsd-ports-graphics-72c4d91b26389d5c65544cc2d22513de0ae02d6f.zip
Update to 2.0m134
Diffstat (limited to 'editors/openoffice.org-vcltesttool')
-rw-r--r--editors/openoffice.org-vcltesttool/Makefile13
-rw-r--r--editors/openoffice.org-vcltesttool/distinfo4
-rw-r--r--editors/openoffice.org-vcltesttool/files/Makefile.others8
-rw-r--r--editors/openoffice.org-vcltesttool/files/fbsd4-workaroundpatch39
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-config_office+set_soenv.in12
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-postprocess+prj+build.lst18
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-rsc+source+rscpp+makefile.mk18
-rw-r--r--editors/openoffice.org-vcltesttool/files/patch-solenv+inc+unxfbsdi.mk29
-rw-r--r--editors/openoffice.org-vcltesttool/files/pkg-message.in9
9 files changed, 93 insertions, 57 deletions
diff --git a/editors/openoffice.org-vcltesttool/Makefile b/editors/openoffice.org-vcltesttool/Makefile
index 32cbfe846a3..e492019e2bb 100644
--- a/editors/openoffice.org-vcltesttool/Makefile
+++ b/editors/openoffice.org-vcltesttool/Makefile
@@ -58,8 +58,8 @@ IGNORE= Install lang/perl5.8 then try again
CODELINE= 680
RELEASE_NR= 1.9
-MILESTONE= 130
-SNAPDATE= 20050916
+MILESTONE= 134
+SNAPDATE= 20051014
INSTALLATION_BASEDIR= openoffice.org${RELEASE_NR}m${MILESTONE}
EXECBASE= openoffice.org-${RELEASE_NR}m${MILESTONE}
DIST_SUBDIR= openoffice.org2.0
@@ -171,11 +171,11 @@ do-build:
.endif
do-install:
- @cd ${WRKSRC}/instsetoo_native/unxfbsd.pro/OpenOffice/install/${LOCALIZED_LANG}/freebsd-*/ ; ${LS} *.tgz > ${WRKDIR}/INSTALLFILES
+ @cd ${WRKSRC}/instsetoo_native/unxfbsd.pro/OpenOffice/bsd/install/${LOCALIZED_LANG}/freebsd-*/ ; ${LS} *.tgz > ${WRKDIR}/INSTALLFILES
@${RM} -Rf ${WRKDIR}/tmp
@${MKDIR} ${WRKDIR}/tmp
@for i in `${CAT} ${WRKDIR}/INSTALLFILES`; do \
- ${CP} ${WRKSRC}/instsetoo_native/unxfbsd.pro/OpenOffice/install/${LOCALIZED_LANG}/freebsd-*/$$i ${WRKDIR}/tmp ; \
+ ${CP} ${WRKSRC}/instsetoo_native/unxfbsd.pro/OpenOffice/bsd/install/${LOCALIZED_LANG}/freebsd-*/$$i ${WRKDIR}/tmp ; \
cd ${WRKDIR}/tmp ; ${TAR} xfz ${WRKDIR}/tmp/$$i ; \
done
@${MKDIR} ${PREFIX}/${INSTALLATION_BASEDIR}
@@ -200,6 +200,11 @@ post-install:
@${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-simpress
@${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-spadmin
@${LN} -fs ${PREFIX}/bin/${EXECBASE} ${PREFIX}/bin/${EXECBASE}-swriter
+# python post-install script start
+# consult instsetoo_native/inc_openoffice/unix/shellscripts_pyuno.txt
+ @cd ${PREFIX}/${INSTALLATION_BASEDIR}/program ; ${LN} -s python-core-2.3.4 ${PREFIX}/${INSTALLATION_BASEDIR}/program/python-core; ${LN} -s python.sh ${PREFIX}/${INSTALLATION_BASEDIR}/program/python
+ ${CHMOD} +x ${PREFIX}/${INSTALLATION_BASEDIR}/program/python-core-2.3.4/bin/python
+# python post-install script end
@${PRINTF} "bin/openoffice.org\n" > ${TMPPLIST}
@cd ${PREFIX} ; ${FIND} -s bin -type f | ${GREP} ${EXECBASE} >> ${TMPPLIST}
@cd ${PREFIX} ; ${FIND} -s bin -type l | ${GREP} ${EXECBASE} >> ${TMPPLIST}
diff --git a/editors/openoffice.org-vcltesttool/distinfo b/editors/openoffice.org-vcltesttool/distinfo
index 9461486acce..d197cee9100 100644
--- a/editors/openoffice.org-vcltesttool/distinfo
+++ b/editors/openoffice.org-vcltesttool/distinfo
@@ -1,5 +1,5 @@
-MD5 (openoffice.org2.0/OOo_1.9m130_source.tar.bz2) = f32f5ec192bca93770350a22356951e3
-SIZE (openoffice.org2.0/OOo_1.9m130_source.tar.bz2) = 228179471
+MD5 (openoffice.org2.0/OOo_1.9m134_source.tar.bz2) = ee2bb0be1307e1edea82969dcec794b0
+SIZE (openoffice.org2.0/OOo_1.9m134_source.tar.bz2) = 228972679
MD5 (openoffice.org2.0/gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
SIZE (openoffice.org2.0/gpc231.tar.Z) = 27917
MD5 (openoffice.org2.0/mozilla-source-1.7.5.tar.gz) = d3f3528b6c5eade402ed058207cffa14
diff --git a/editors/openoffice.org-vcltesttool/files/Makefile.others b/editors/openoffice.org-vcltesttool/files/Makefile.others
index 0432f503c88..e97ee054c43 100644
--- a/editors/openoffice.org-vcltesttool/files/Makefile.others
+++ b/editors/openoffice.org-vcltesttool/files/Makefile.others
@@ -16,9 +16,9 @@ package-rename:
package-canonical:
@${ECHO_MSG} "===> Canonical packaging for OpenOffice.org";
- @cd ${WRKSRC}/instsetoo_native/unxfbsd.pro/OpenOffice/install/${LOCALIZED_LANG}/freebsd-*/ ;\
+ @cd ${WRKSRC}/instsetoo_native/unxfbsd.pro/OpenOffice/bsd/install/${LOCALIZED_LANG}/freebsd-*/ ;\
${TAR} cfj ${WRKDIR}/../${PACKAGE_BASENAME}_native_install_${LOCALIZED_LANG}${PKG_SUFX} .
- @${CP} ${WRKSRC}/instsetoo_native/unxfbsd.pro/OpenOffice_languagepack/install/${LOCALIZED_LANG}/freebsd-*/openoffice*.tgz .
+ @${CP} ${WRKSRC}/instsetoo_native/unxfbsd.pro/OpenOffice_languagepack/bsd/install/${LOCALIZED_LANG}/freebsd-*/openoffice*.tgz .
sdk:
@${ECHO_MSG} "===> Make SDK of OpenOffice.org"
@@ -30,7 +30,7 @@ ure:
@${RM} -fr ${WRKDIR}/ure_tmp
@${MKDIR} ${WRKDIR}/ure_tmp
@cd ${WRKDIR}/ure_tmp ; \
- ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd.pro/URE/install/${LOCALIZED_LANG}/freebsd-*/openoffice*.tgz
+ ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd.pro/URE/bsd/install/${LOCALIZED_LANG}/freebsd-*/openoffice*.tgz
@cd ${WRKDIR}/ure_tmp/opt/openoffice* ; \
${MKDIR} ../${INSTALLATION_BASEDIR} ; \
${MV} * ../${INSTALLATION_BASEDIR} ; cd .. ; \
@@ -53,7 +53,7 @@ languagepack:
@${MKDIR} ${WRKDIR}/langpack_tmp
.if defined (LOCALIZED_LANG)
@cd ${WRKDIR}/langpack_tmp ; \
- ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd.pro/OpenOffice_languagepack/install/${LOCALIZED_LANG}/freebsd-*/openoffice*.tgz
+ ${TAR} xfz ${WRKSRC}/instsetoo_native/unxfbsd.pro/OpenOffice_languagepack/bsd/install/${LOCALIZED_LANG}/freebsd-*/openoffice*.tgz
@cd ${WRKDIR}/langpack_tmp/opt/openoffice* ; \
${MKDIR} ../${INSTALLATION_BASEDIR} ; \
${MV} * ../${INSTALLATION_BASEDIR} ; cd .. ; \
diff --git a/editors/openoffice.org-vcltesttool/files/fbsd4-workaroundpatch b/editors/openoffice.org-vcltesttool/files/fbsd4-workaroundpatch
index 18134798418..d6938882858 100644
--- a/editors/openoffice.org-vcltesttool/files/fbsd4-workaroundpatch
+++ b/editors/openoffice.org-vcltesttool/files/fbsd4-workaroundpatch
@@ -40,42 +40,3 @@ diff -u -r1.5 makefile.mk
SHL1STDLIBS= \
$(BFXMLOFFLIB) \
-#########################################################################
-Issutracker : #i52984#, #i54178#
-CWS : N/A
-Author: : <yury_tarasievich@yahoo.com> <yury_t@openoffice.org> (JCA)
-Description :
-Workaround for FreeBSD4. For rsc/rscpp, -pthread is ignored although it is
-specifled, so specified twice. it does solve the probem. this is redundant
-for other FreeBSDs, I believe it is safe. otherwise rsc bombs like:
-libstlport_gcc.so which claims `Undefined symbol "pthread_mutex_lock"'.
-
-Index: solenv/inc/unxfbsdi.mk
-===================================================================
-RCS file: /cvs/tools/solenv/inc/unxfbsdi.mk,v
-retrieving revision 1.17
-diff -u -r1.17 unxfbsdi.mk
---- solenv/inc/unxfbsdi.mk 18 Aug 2005 12:04:47 -0000 1.17
-+++ solenv/inc/unxfbsdi.mk 3 Sep 2005 11:10:07 -0000
-@@ -72,7 +72,7 @@
- #LINKOUTPUT_FILTER=" |& $(SOLARENV)$/bin$/msg_filter"
-
- # _PTHREADS is needed for the stl
--CDEFS+=$(PTHREAD_CFLAGS) -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400
-+CDEFS+=$(PTHREAD_CFLAGS) -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450
-
- # enable visibility define in "sal/types.h"
- .IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
-@@ -217,8 +217,10 @@
-
- LIBSALCPPRT*=-Wl,--whole-archive -lsalcpprt -Wl,--no-whole-archive
-
--LIBSTLPORT=$(DYNAMIC) -lstlport_gcc
--LIBSTLPORTST=$(STATIC) -lstlport_gcc $(DYNAMIC)
-+# Workaround for FreeBSD4. In some case $(PTHREAD_LIBS), namely -pthread
-+# is ignored although it is specifled. This is redundant for other FreeBSDs.
-+LIBSTLPORT=$(DYNAMIC) -lstlport_gcc $(PTHREAD_LIBS)
-+LIBSTLPORTST=$(STATIC) -lstlport_gcc $(DYNAMIC) $(PTHREAD_LIBS)
-
- #FILLUPARC=$(STATIC) -lsupc++ $(DYNAMIC)
-
diff --git a/editors/openoffice.org-vcltesttool/files/patch-config_office+set_soenv.in b/editors/openoffice.org-vcltesttool/files/patch-config_office+set_soenv.in
new file mode 100644
index 00000000000..93e375b46f8
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/files/patch-config_office+set_soenv.in
@@ -0,0 +1,12 @@
+--- config_office/set_soenv.in~ Thu Sep 22 23:30:56 2005
++++ config_office/set_soenv.in Sat Oct 1 12:59:30 2005
+@@ -347,6 +347,9 @@
+ $JRELIBDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386";
+ $JRETOOLKITDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."client";
+ $JRETHREADDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."native_threads";
++ if( @GCCVER@ >= 30401 ) {
++ $CVER = "C341";
++ }
+ }
+ elsif ( $platform =~ m/linux-gnu/ )
+ {
diff --git a/editors/openoffice.org-vcltesttool/files/patch-postprocess+prj+build.lst b/editors/openoffice.org-vcltesttool/files/patch-postprocess+prj+build.lst
new file mode 100644
index 00000000000..cc04678794e
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/files/patch-postprocess+prj+build.lst
@@ -0,0 +1,18 @@
+Issutracker : #i56070#
+CWS : N/A
+Author: : <maho@openoffice.org>
+Description : some *.desktop files missing on making installsets
+
+Index: postprocess/prj/build.lst
+===================================================================
+RCS file: /cvs/installation/postprocess/prj/build.lst,v
+retrieving revision 1.20
+diff -u -r1.20 build.lst
+--- postprocess/prj/build.lst 23 Sep 2005 13:55:35 -0000 1.20
++++ postprocess/prj/build.lst 16 Oct 2005 08:36:25 -0000
+@@ -1,4 +1,4 @@
+-po postprocess :: accessibility automation basctl bean BINFILTER:binfilter chart2 configmgr CRASHREP:crashrep dbaccess desktop dtrans embeddedobj embedserv EPM:epm eventattacher extensions extras fileaccess filter forms fpicker helpcontent2 hwpfilter io lingucomponent MATHMLDTD:MathMLDTD MSFONTEXTRACT:msfontextract ODK:odk officecfg package padmin psprint_config remotebridges sc scaddins scp2 scripting sd setup_native slideshow starmath sw testshl testshl2 testtools ucb UnoControls unoxml ure wizards xmlsecurity BITSTREAM_VERA_FONTS:bitstream_vera_fonts DICTIONARIES:dictionaries OOo:pyuno OOo:readlicense_oo SO:top NULL
++po postprocess :: accessibility automation basctl bean BINFILTER:binfilter chart2 configmgr CRASHREP:crashrep dbaccess desktop dtrans embeddedobj embedserv EPM:epm eventattacher extensions extras fileaccess filter forms fpicker helpcontent2 hwpfilter io lingucomponent MATHMLDTD:MathMLDTD MSFONTEXTRACT:msfontextract ODK:odk officecfg package padmin psprint_config remotebridges sc scaddins scp2 scripting sd setup_native slideshow starmath sw sysui testshl testshl2 testtools ucb UnoControls unoxml ure wizards xmlsecurity BITSTREAM_VERA_FONTS:bitstream_vera_fonts DICTIONARIES:dictionaries OOo:pyuno OOo:readlicense_oo SO:top NULL
+ po postprocess usr1 - all po_mkout NULL
+ po postprocess\checkxml nmake - all po_checkxml NULL
+ po postprocess\packconfig nmake - all po_packconfig po_checkxml NULL
diff --git a/editors/openoffice.org-vcltesttool/files/patch-rsc+source+rscpp+makefile.mk b/editors/openoffice.org-vcltesttool/files/patch-rsc+source+rscpp+makefile.mk
new file mode 100644
index 00000000000..713232e42a7
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/files/patch-rsc+source+rscpp+makefile.mk
@@ -0,0 +1,18 @@
+#i54178#
+
+Index: rsc/source/rscpp/makefile.mk
+===================================================================
+RCS file: /cvs/gsl/rsc/source/rscpp/makefile.mk,v
+retrieving revision 1.5
+diff -u -r1.5 makefile.mk
+--- rsc/source/rscpp/makefile.mk 8 Sep 2005 14:00:27 -0000 1.5
++++ rsc/source/rscpp/makefile.mk 21 Sep 2005 10:18:09 -0000
+@@ -36,6 +36,8 @@
+
+ TARGETTYPE=CUI
+ TARGETTHREAD=ST
++# we don't need STL in this project
++NO_DEFAULT_STL=TRUE
+
+ PRJNAME=rsc
+ TARGET=rscpp
diff --git a/editors/openoffice.org-vcltesttool/files/patch-solenv+inc+unxfbsdi.mk b/editors/openoffice.org-vcltesttool/files/patch-solenv+inc+unxfbsdi.mk
new file mode 100644
index 00000000000..ff89caae4ff
--- /dev/null
+++ b/editors/openoffice.org-vcltesttool/files/patch-solenv+inc+unxfbsdi.mk
@@ -0,0 +1,29 @@
+STLPORT_VERSION is 450 for FreeBSD
+
+--- solenv/inc/unxfbsdi.mk~ Thu Sep 8 18:52:53 2005
++++ solenv/inc/unxfbsdi.mk Fri Sep 30 14:08:04 2005
+@@ -45,7 +45,7 @@
+ #LINKOUTPUT_FILTER=" |& $(SOLARENV)$/bin$/msg_filter"
+
+ # _PTHREADS is needed for the stl
+-CDEFS+=$(PTHREAD_CFLAGS) -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400
++CDEFS+=$(PTHREAD_CFLAGS) -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450
+
+ # enable visibility define in "sal/types.h"
+ .IF "$(HAVE_GCC_VISIBILITY_FEATURE)" == "TRUE"
+--- solenv/inc/unxfbsdi.mk~ Sat Oct 1 08:52:58 2005
++++ solenv/inc/unxfbsdi.mk Sat Oct 1 12:52:34 2005
+@@ -190,8 +190,13 @@
+
+ LIBSALCPPRT*=-Wl,--whole-archive -lsalcpprt -Wl,--no-whole-archive
+
++.IF "$(USE_STLP_DEBUG)" != ""
++LIBSTLPORT=$(DYNAMIC) -lstlport_gcc_stldebug
++LIBSTLPORTST=$(STATIC) -lstlport_gcc_stldebug $(DYNAMIC)
++.ELSE # "$(USE_STLP_DEBUG)" != ""
+ LIBSTLPORT=$(DYNAMIC) -lstlport_gcc
+ LIBSTLPORTST=$(STATIC) -lstlport_gcc $(DYNAMIC)
++.ENDIF # "$(USE_STLP_DEBUG)" != ""
+
+ #FILLUPARC=$(STATIC) -lsupc++ $(DYNAMIC)
+
diff --git a/editors/openoffice.org-vcltesttool/files/pkg-message.in b/editors/openoffice.org-vcltesttool/files/pkg-message.in
index 0ecb7061e69..016629fb8c3 100644
--- a/editors/openoffice.org-vcltesttool/files/pkg-message.in
+++ b/editors/openoffice.org-vcltesttool/files/pkg-message.in
@@ -38,13 +38,6 @@ OO.org does need $LANG to be set to a suitable value.
3. If you run into problems
--------------------------------------------------
If you somehow run into problems, please remove the already installed
-".openoffice.org%%RELEASE_NR%%.%%MILESTONE%%" dir in your homedir.
+".openoffice.org2" dir in your homedir.
Redo the user installation and the problems should go away.
-4. Known issue
---------------------------------------------------
-If you invoke English version of OOo setting LANG as C or not
-setting LANG environment,
-`I18N: Operating system doesn't support locale "en_US"'
-in this case you should set LANG as en_US.ISO8859-15
-or en_US.ISO8859-1.