diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2003-04-12 21:35:37 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2003-04-12 21:35:37 +0000 |
commit | eac008a175a68de1041d41b3094f6615b8ccb516 (patch) | |
tree | cf60a020ae1514bfe11d1d5dc43d2b849cf1c18c | |
parent | a3544c2e3bcdf46a33111d47ffb8d4de9dd8849a (diff) | |
download | ports-eac008a175a68de1041d41b3094f6615b8ccb516.tar.gz ports-eac008a175a68de1041d41b3094f6615b8ccb516.zip |
Notes
33 files changed, 420 insertions, 465 deletions
diff --git a/editors/openoffice-1.0/Makefile b/editors/openoffice-1.0/Makefile index f8d66e855cb8..0a12abe5d921 100644 --- a/editors/openoffice-1.0/Makefile +++ b/editors/openoffice-1.0/Makefile @@ -6,8 +6,7 @@ # PORTNAME= openoffice -PORTVERSION= 1.0.2 -PORTREVISION= 2 +PORTVERSION= 1.0.3 CATEGORIES+= editors MASTER_SITES+= http://ny1.mirror.openoffice.org/%SUBDIR%/ \ http://ftp.gwdg.de/pub/misc/openoffice/%SUBDIR%/ \ @@ -355,6 +354,8 @@ post-extract: @${MAKE} extract-mozilla @-${RM} ${WRKSRC}/../moz/zipped/*.zip @${CHMOD} +x ${WRKSRC}/../solenv/bin/zipdep.pl + @${MKDIR} -p ${WRKSRC}/../bridges/source/cpp_uno/gcc2_freebsd_intel-sjlj + @${MKDIR} -p ${WRKSRC}/../bridges/source/cpp_uno/gcc3_freebsd_intel .if defined(L10NHELP) @${ECHO_MSG} "===> Extracting L10NHELP sub project" @${MKDIR} ${WRKDIR}/L10NHELP diff --git a/editors/openoffice-1.0/distinfo b/editors/openoffice-1.0/distinfo index 577a3ec9fd1f..8ffac2253f36 100644 --- a/editors/openoffice-1.0/distinfo +++ b/editors/openoffice-1.0/distinfo @@ -1,4 +1,4 @@ -MD5 (openoffice/OOo_1.0.2_source.tar.bz2) = 8a82b4dbdd4e305b6f6db70ea65dce8c +MD5 (openoffice/OOo_1.0.3_source.tar.bz2) = 984146931906a7d53300b29f58f6a899 MD5 (openoffice/gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9 MD5 (openoffice/patch-openoffice-mozilla101-2002-10-14) = 463058a33377a9226f919d00e39dc28a MD5 (openoffice/helpcontent) = 832193e5f8954fea10392b73e8dab8c5 diff --git a/editors/openoffice-1.0/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice-1.0/files/patch-berkeleydb+db-3.2.9.patch index b3f090de1f03..e2928d1dbe54 100644 --- a/editors/openoffice-1.0/files/patch-berkeleydb+db-3.2.9.patch +++ b/editors/openoffice-1.0/files/patch-berkeleydb+db-3.2.9.patch @@ -1,61 +1,23 @@ --- ../berkeleydb/db-3.2.9.patch.orig Sun Jan 19 14:58:19 2003 +++ ../berkeleydb/db-3.2.9.patch Sun Jan 19 15:00:02 2003 -@@ -45,52 +45,82 @@ - CCLINK= @MAKEFILE_CCLINK@ - *** misc/db-3.2.9/dist/configure Wed Jan 24 10:16:18 2001 - --- misc/build/db-3.2.9/dist/configure Tue Jan 7 11:37:05 2003 --*************** --*** 995,1000 **** ----- 995,1001 ---- -- CPPFLAGS="-D_REENTRANT $CPPFLAGS";; -- mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS" -- LIBS="-lsocket -lsvipc $LIBS";; +@@ -51,7 +51,7 @@ + CPPFLAGS="-D_REENTRANT $CPPFLAGS";; + mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS" + LIBS="-lsocket -lsvipc $LIBS";; -+ netbsd*) optimize_def="-O2";; -- osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";; -- *qnx) cat >> confdefs.h <<\EOF -- #define HAVE_QNX 1 --*************** --*** 1795,1800 **** ----- 1796,1803 ---- -- case "$host_os" in -- solaris*) JINCSUBDIRS="solaris";; -- linux*) JINCSUBDIRS="linux genunix";; --+ irix*) JINCSUBDIRS="irix";; +++ netbsd*) optimize_def="-O";; + osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";; + *qnx) cat >> confdefs.h <<\EOF + #define HAVE_QNX 1 +@@ -62,54 +62,57 @@ + solaris*) JINCSUBDIRS="solaris";; + linux*) JINCSUBDIRS="linux genunix";; + + irix*) JINCSUBDIRS="irix";; -+ netbsd*) JINCSUBDIRS="netbsd linux solaris genunix";; -- *) JINCSUBDIRS="genunix";; -- esac -- -+@@ -984,9 +984,9 @@ -+ optimize_def="-O2" -+ LIBS="-lipc $LIBS";; -+ bsdi*) optimize_def="-O2";; -+-freebsd*) optimize_def="-O2" -+- CPPFLAGS="-D_THREAD_SAFE $CPPFLAGS" -+- LIBS="-pthread";; -++freebsd*) optimize_def="-O" -++ CPPFLAGS="$PTHREAD_CFLAGS $CPPFLAGS" -++ LIBS="$PTHREAD_LIBS";; -+ hpux*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";; -+ irix*) optimize_def="-O2" -+ CPPFLAGS="-D_SGI_MP_SOURCE $CPPFLAGS";; -+@@ -995,6 +995,7 @@ -+ CPPFLAGS="-D_REENTRANT $CPPFLAGS";; -+ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS" -+ LIBS="-lsocket -lsvipc $LIBS";; -++netbsd*) optimize_def="-O2";; -+ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";; -+ *qnx) cat >> confdefs.h <<\EOF -+ #define HAVE_QNX 1 -+@@ -1795,6 +1796,9 @@ -+ case "$host_os" in -+ solaris*) JINCSUBDIRS="solaris";; -+ linux*) JINCSUBDIRS="linux genunix";; -++ irix*) JINCSUBDIRS="irix";; -++ netbsd*) JINCSUBDIRS="netbsd linux solaris genunix";; -++ freebsd*) JINCSUBDIRS="freebsd linux solaris genunix";; -+ *) JINCSUBDIRS="genunix";; -+ esac -+ +++ freebsd*) JINCSUBDIRS="linux solaris genunix";; + *) JINCSUBDIRS="genunix";; + esac + *** misc/db-3.2.9/dist/ltconfig Fri Oct 13 16:23:00 2000 --- misc/build/db-3.2.9/dist/ltconfig Tue Jan 7 11:37:05 2003 -*************** @@ -84,49 +46,70 @@ - fi - ;; - -+@@ -1194,11 +1194,12 @@ +-*** misc/db-3.2.9/dist/ltconfig Fri Oct 13 16:23:00 2000 +---- misc/build/db-3.2.9/dist/ltconfig Tue Jan 7 11:37:05 2003 +-*************** +-*** 1955,1961 **** +- version_type=irix +- need_lib_prefix=no +- need_version=no +-! soname_spec='${libname}${release}.so.$major' +- library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major ${libname}${release}.so $libname.so' +- case "$host_os" in +- irix5*) +---- 1955,1961 ---- +- version_type=irix +- need_lib_prefix=no +- need_version=no +-! soname_spec='${libname}${release}.so' +- library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major ${libname}${release}.so $libname.so' +- case "$host_os" in +- irix5*) ++@@ -1202,6 +1202,17 @@ ++ fi ++ ;; + -+ netbsd*) -+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then -+- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib' -+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+- else -+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib' -+ # can we support soname and/or expsyms with a.out? -oliva +++ freebsd*) +++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then +++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib' +++ # can we support soname and/or expsyms with a.out? -oliva ++ else ++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib' ++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ++ need_version=no -+ fi -+ ;; -+ -+@@ -1365,10 +1366,13 @@ -+ -+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries. -+ freebsd*) -+- archive_cmds='$CC -shared -o $lib $libobjs $deplibs $linkopts' -++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib' -++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname \ -++ ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+ hardcode_libdir_flag_spec='-R$libdir' -+ hardcode_direct=yes -+ hardcode_shlibpath_var=no -++ need_version=no -+ ;; -+ -+ hpux9* | hpux10* | hpux11*) -+@@ -2020,6 +2024,14 @@ +++ fi +++ ;; +++ ++ solaris* | sysv5*) ++ if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then ++ ld_shlibs=no ++@@ -1955,7 +1966,7 @@ ++ version_type=irix ++ need_lib_prefix=no ++ need_version=no ++- soname_spec='${libname}${release}.so.$major' +++ soname_spec='${libname}${release}.so' ++ library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major ${libname}${release}.so $libname.so' ++ case "$host_os" in ++ irix5*) ++@@ -2019,6 +2030,20 @@ ++ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' + soname_spec='${libname}${release}.so$major' + dynamic_linker='NetBSD ld.elf_so' -+ fi +++ fi ++ shlibpath_var=LD_LIBRARY_PATH ++ ;; ++ ++freebsd*) ++ version_type=sunos -++ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' -++ soname_spec='${libname}${release}.so$major' -++ dynamic_linker='FreeBSD ld.elf_so' +++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then +++ library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' +++ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' +++ dynamic_linker='FreeBSD (a.out) ld.so' +++ else +++ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' +++ soname_spec='${libname}${release}.so$major' +++ dynamic_linker='FreeBSD ld.elf_so' ++ fi + shlibpath_var=LD_LIBRARY_PATH + ;; -+ diff --git a/editors/openoffice-1.0/files/patch-berkeleydb+makefile.mk b/editors/openoffice-1.0/files/patch-berkeleydb+makefile.mk new file mode 100644 index 000000000000..5e9491a54dcc --- /dev/null +++ b/editors/openoffice-1.0/files/patch-berkeleydb+makefile.mk @@ -0,0 +1,12 @@ +--- ../berkeleydb/makefile.mk.orig Sat Apr 12 14:45:40 2003 ++++ ../berkeleydb/makefile.mk Sat Apr 12 14:46:29 2003 +@@ -84,7 +84,9 @@ + + BUILD_DIR=$(CONFIGURE_DIR) + BUILD_ACTION=make ++.IF "$(OS)"!="FREEBSD" + BUILD_FLAGS=-j$(MAXPROCESS) ++.ENDIF + + OUT2LIB=$(BUILD_DIR)$/.libs$/libdb*.so + diff --git a/editors/openoffice-1.0/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel b/editors/openoffice-1.0/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel index 777286e24b7b..c11aaa918d05 100644 --- a/editors/openoffice-1.0/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel +++ b/editors/openoffice-1.0/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel @@ -1217,7 +1217,7 @@ + * + ************************************************************************/ + -+#include <malloc.h> ++#include <stdlib.h> +#include <rtl/alloc.h> + +#include <uno/data.h> @@ -1255,9 +1255,7 @@ + if (! pThis) dummy_can_throw_anything("xxx"); // address something + + volatile long edx = 0, eax = 0; // for register returns -+ void * stackptr; + asm volatile ( -+ "mov %%esp, %6\n\t" + // copy values + "mov %0, %%eax\n\t" + "mov %%eax, %%edx\n\t" @@ -1281,11 +1279,13 @@ + "mov %%eax, %4\n\t" + "mov %%edx, %5\n\t" + // cleanup stack -+ "mov %6, %%esp\n\t" ++ "mov %0, %%eax\n\t" ++ "shl $2, %%eax\n\t" ++ "add %%eax, %%esp\n\t" + : -+ : "m"(nStackLongs), "m"(pStackLongs), "m"(pThis), "m"(nVtableIndex), -+ "m"(eax), "m"(edx), "m"(stackptr) -+ : "eax", "edx" ); ++ : "m"(nStackLongs), "m"(pStackLongs), "m"(pThis), "m"(nVtableIndex), "m"(eax), "m"(edx) ++ : "eax", "edx" ); ++ + switch( eReturnType ) + { + case typelib_TypeClass_HYPER: diff --git a/editors/openoffice-1.0/files/patch-codemaker+source+codemaker+global.cxx b/editors/openoffice-1.0/files/patch-codemaker+source+codemaker+global.cxx new file mode 100644 index 000000000000..057d4ec4d670 --- /dev/null +++ b/editors/openoffice-1.0/files/patch-codemaker+source+codemaker+global.cxx @@ -0,0 +1,14 @@ +--- ../codemaker/source/codemaker/global.cxx.orig Fri Apr 4 00:14:50 2003 ++++ ../codemaker/source/codemaker/global.cxx Fri Apr 4 00:14:53 2003 +@@ -164,11 +164,7 @@ + strncat(tmpPattern, "/", sizeof(tmpPattern)-1-strlen(tmpPattern)); + strncat(tmpPattern, pPrefix, sizeof(tmpPattern)-1-strlen(tmpPattern)); + strncat(tmpPattern, "XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice-1.0/files/patch-registry+source+registry.cxx b/editors/openoffice-1.0/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice-1.0/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice-1.0/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice-1.0/files/patch-sal+osl+unx+nlsupport.c index 9bebad2b4386..2cca9a3b76f9 100644 --- a/editors/openoffice-1.0/files/patch-sal+osl+unx+nlsupport.c +++ b/editors/openoffice-1.0/files/patch-sal+osl+unx+nlsupport.c @@ -48,46 +48,7 @@ #if defined(SOLARIS) -@@ -299,23 +305,23 @@ - #elif defined(IRIX) - - const _pair _nl_language_list[] = { -- { "ISO8859-1", RTL_TEXTENCODING_ISO_8859_1 }, /* Western */ -- { "ISO8859-2", RTL_TEXTENCODING_ISO_8859_2 }, /* Central European */ -- { "ISO8859-5", RTL_TEXTENCODING_ISO_8859_5 }, /* Cyrillic */ -- { "ISO8859-7", RTL_TEXTENCODING_ISO_8859_7 }, /* Greek */ -- { "ISO8859-9", RTL_TEXTENCODING_ISO_8859_9 }, /* Turkish */ -- { "ISO8859-15", RTL_TEXTENCODING_ISO_8859_15 }, /* Western Updated (w/Euro sign) */ -- { "eucJP", RTL_TEXTENCODING_EUC_JP }, /* Japan */ -- { "eucKR", RTL_TEXTENCODING_EUC_KR }, /* Korea */ -- { "eucCN", RTL_TEXTENCODING_EUC_CN }, /* China */ -- { "eucTW", RTL_TEXTENCODING_EUC_TW }, /* Taiwan - Traditional Chinese */ -- { "big5", RTL_TEXTENCODING_BIG5 }, /* China - Traditional Chinese */ -- { "eucgbk", RTL_TEXTENCODING_DONTKNOW }, /* China - Simplified Chinese */ -- { "gbk", RTL_TEXTENCODING_GBK }, /* China - Simplified Chinese */ -- { "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */ -+ { "BIG5", RTL_TEXTENCODING_BIG5 }, /* China - Traditional Chinese */ -+ { "EUCCN", RTL_TEXTENCODING_EUC_CN }, /* China */ -+ { "EUCGBK", RTL_TEXTENCODING_DONTKNOW }, /* China - Simplified Chinese */ -+ { "EUCJP", RTL_TEXTENCODING_EUC_JP }, /* Japan */ -+ { "EUCKR", RTL_TEXTENCODING_EUC_KR }, /* Korea */ -+ { "EUCTW", RTL_TEXTENCODING_EUC_TW }, /* Taiwan - Traditional Chinese */ -+ { "GBK", RTL_TEXTENCODING_GBK }, /* China - Simplified Chinese */ -+ { "ISO8859-1", RTL_TEXTENCODING_ISO_8859_1 }, /* Western */ -+ { "ISO8859-15", RTL_TEXTENCODING_ISO_8859_15 }, /* Western Updated (w/Euro sign) */ -+ { "ISO8859-2", RTL_TEXTENCODING_ISO_8859_2 }, /* Central European */ -+ { "ISO8859-5", RTL_TEXTENCODING_ISO_8859_5 }, /* Cyrillic */ -+ { "ISO8859-7", RTL_TEXTENCODING_ISO_8859_7 }, /* Greek */ -+ { "ISO8859-9", RTL_TEXTENCODING_ISO_8859_9 }, /* Turkish */ -+ { "SJIS", RTL_TEXTENCODING_SHIFT_JIS } /* Japan */ - }; - --#elif defined(LINUX) || defined(NETBSD) -+#elif defined(LINUX) - - const _pair _nl_language_list[] = { - { "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */ -@@ -496,7 +502,59 @@ +@@ -497,7 +503,59 @@ { "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */ }; @@ -148,7 +109,7 @@ static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER; -@@ -618,7 +676,7 @@ +@@ -619,7 +677,7 @@ return ret; } @@ -157,7 +118,7 @@ /* * FIXME: the MacOS X implemetation is missing -@@ -651,7 +709,7 @@ +@@ -652,7 +710,7 @@ return 0; } @@ -166,7 +127,7 @@ /* * This implementation of osl_getTextEncodingFromLocale maps -@@ -684,6 +742,7 @@ +@@ -685,6 +743,7 @@ { "iso8859-8", RTL_TEXTENCODING_ISO_8859_8 }, { "iso8859-9", RTL_TEXTENCODING_ISO_8859_9 }, { "koi8-r", RTL_TEXTENCODING_KOI8_R }, @@ -174,7 +135,7 @@ { "pck", RTL_TEXTENCODING_MS_932 }, #if (0) { "sun_eu_greek", RTL_TEXTENCODING_DONTKNOW }, -@@ -887,6 +946,6 @@ +@@ -888,6 +947,6 @@ return 0; } diff --git a/editors/openoffice-1.0/files/patch-svx+source+dialog+txenctab.src b/editors/openoffice-1.0/files/patch-svx+source+dialog+txenctab.src index b8178b78384c..05258a0a70e4 100644 --- a/editors/openoffice-1.0/files/patch-svx+source+dialog+txenctab.src +++ b/editors/openoffice-1.0/files/patch-svx+source+dialog+txenctab.src @@ -32,13 +32,13 @@ < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; < "Eastern Europe (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; -@@ -512,7 +516,8 @@ - < "Китайский традиционный (BIG5)" ; RTL_TEXTENCODING_GBK ; > ; - < "Японский (EUC-JP)" ; RTL_TEXTENCODING_BIG5 ; > ; - < "Китайский упрощенный (EUC-CN)" ; RTL_TEXTENCODING_EUC_JP ; > ; -- < "Кириллический (KOI8-R)" ; RTL_TEXTENCODING_EUC_CN ; > ; -+ < "Кириллический (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; -+ < "Кириллический (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; - < "Юникод (UTF-7)" ; RTL_TEXTENCODING_EUC_TW ; > ; - < "Юникод (UTF-8)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; - < "Восточноевропейский (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; +@@ -1217,7 +1221,8 @@ + < "з№ЃдЅ“е—дёе›ЅиЄћ (EUC-TW)" ; RTL_TEXTENCODING_EUC_TW ; > ; + < "ж—Ґжњ¬иЄћ (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "з°ЎдЅ“е—дёе›ЅиЄћ (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; +- < "г‚гѓЄгѓ«иЄћ (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "\xe3\x82\xad\xe3\x83\xaa\xe3\x83\xab\xe8\xaa\x9e (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "\xe3\x82\xad\xe3\x83\xaa\xe3\x83\xab\xe8\xaa\x9e (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "東欧 (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; diff --git a/editors/openoffice-1.0/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice-1.0/files/patch-sysui+tools+lngconv+lngconv.cxx index e7497406c222..a62a9c84a935 100644 --- a/editors/openoffice-1.0/files/patch-sysui+tools+lngconv+lngconv.cxx +++ b/editors/openoffice-1.0/files/patch-sysui+tools+lngconv+lngconv.cxx @@ -4,8 +4,8 @@ #include <stdlib.h> #include <stdio.h> --#if defined( LINUX ) || defined (SOLARIS) -+#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD) +-#if defined( LINUX ) || defined (SOLARIS) || defined(IRIX) ++#if defined(LINUX) || defined (SOLARIS) || defined(IRIX) || defined (FREEBSD) #include <locale.h> #include <langinfo.h> #endif diff --git a/editors/openoffice-1.0/pkg-message b/editors/openoffice-1.0/pkg-message index 5fe88fe4ffed..7e350cc28402 100644 --- a/editors/openoffice-1.0/pkg-message +++ b/editors/openoffice-1.0/pkg-message @@ -1,4 +1,4 @@ -OpenOffice.org Build 1.0.2 Personal Install How-To +OpenOffice.org Build 1.0.3 Personal Install How-To Written by: Martin Blapp <mbr@freebsd.org> @@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully installed the package. If there is no installed OO.org dir in your homedir, you'll be prompted to install some files and choose a installed JDK. -The setup installs a "OpenOffice.org1.0.2" folder +The setup installs a "OpenOffice.org1.0.3" folder in your homedir. If the setup tells you there is already an installed @@ -76,7 +76,7 @@ If you had installed the english version, and then have switched to a localized OO.org, it will crash instantly. To solve this issue, please remove the already installed -OpenOffice.org1.0.2 dir in your homedir and remove the +OpenOffice.org1.0.3 dir in your homedir and remove the appropriate entry from ".sversionrc". After you have done this, redo the user installation and the problem will go away. diff --git a/editors/openoffice.org-1.0/Makefile b/editors/openoffice.org-1.0/Makefile index f8d66e855cb8..0a12abe5d921 100644 --- a/editors/openoffice.org-1.0/Makefile +++ b/editors/openoffice.org-1.0/Makefile @@ -6,8 +6,7 @@ # PORTNAME= openoffice -PORTVERSION= 1.0.2 -PORTREVISION= 2 +PORTVERSION= 1.0.3 CATEGORIES+= editors MASTER_SITES+= http://ny1.mirror.openoffice.org/%SUBDIR%/ \ http://ftp.gwdg.de/pub/misc/openoffice/%SUBDIR%/ \ @@ -355,6 +354,8 @@ post-extract: @${MAKE} extract-mozilla @-${RM} ${WRKSRC}/../moz/zipped/*.zip @${CHMOD} +x ${WRKSRC}/../solenv/bin/zipdep.pl + @${MKDIR} -p ${WRKSRC}/../bridges/source/cpp_uno/gcc2_freebsd_intel-sjlj + @${MKDIR} -p ${WRKSRC}/../bridges/source/cpp_uno/gcc3_freebsd_intel .if defined(L10NHELP) @${ECHO_MSG} "===> Extracting L10NHELP sub project" @${MKDIR} ${WRKDIR}/L10NHELP diff --git a/editors/openoffice.org-1.0/distinfo b/editors/openoffice.org-1.0/distinfo index 577a3ec9fd1f..8ffac2253f36 100644 --- a/editors/openoffice.org-1.0/distinfo +++ b/editors/openoffice.org-1.0/distinfo @@ -1,4 +1,4 @@ -MD5 (openoffice/OOo_1.0.2_source.tar.bz2) = 8a82b4dbdd4e305b6f6db70ea65dce8c +MD5 (openoffice/OOo_1.0.3_source.tar.bz2) = 984146931906a7d53300b29f58f6a899 MD5 (openoffice/gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9 MD5 (openoffice/patch-openoffice-mozilla101-2002-10-14) = 463058a33377a9226f919d00e39dc28a MD5 (openoffice/helpcontent) = 832193e5f8954fea10392b73e8dab8c5 diff --git a/editors/openoffice.org-1.0/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice.org-1.0/files/patch-berkeleydb+db-3.2.9.patch index b3f090de1f03..e2928d1dbe54 100644 --- a/editors/openoffice.org-1.0/files/patch-berkeleydb+db-3.2.9.patch +++ b/editors/openoffice.org-1.0/files/patch-berkeleydb+db-3.2.9.patch @@ -1,61 +1,23 @@ --- ../berkeleydb/db-3.2.9.patch.orig Sun Jan 19 14:58:19 2003 +++ ../berkeleydb/db-3.2.9.patch Sun Jan 19 15:00:02 2003 -@@ -45,52 +45,82 @@ - CCLINK= @MAKEFILE_CCLINK@ - *** misc/db-3.2.9/dist/configure Wed Jan 24 10:16:18 2001 - --- misc/build/db-3.2.9/dist/configure Tue Jan 7 11:37:05 2003 --*************** --*** 995,1000 **** ----- 995,1001 ---- -- CPPFLAGS="-D_REENTRANT $CPPFLAGS";; -- mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS" -- LIBS="-lsocket -lsvipc $LIBS";; +@@ -51,7 +51,7 @@ + CPPFLAGS="-D_REENTRANT $CPPFLAGS";; + mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS" + LIBS="-lsocket -lsvipc $LIBS";; -+ netbsd*) optimize_def="-O2";; -- osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";; -- *qnx) cat >> confdefs.h <<\EOF -- #define HAVE_QNX 1 --*************** --*** 1795,1800 **** ----- 1796,1803 ---- -- case "$host_os" in -- solaris*) JINCSUBDIRS="solaris";; -- linux*) JINCSUBDIRS="linux genunix";; --+ irix*) JINCSUBDIRS="irix";; +++ netbsd*) optimize_def="-O";; + osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";; + *qnx) cat >> confdefs.h <<\EOF + #define HAVE_QNX 1 +@@ -62,54 +62,57 @@ + solaris*) JINCSUBDIRS="solaris";; + linux*) JINCSUBDIRS="linux genunix";; + + irix*) JINCSUBDIRS="irix";; -+ netbsd*) JINCSUBDIRS="netbsd linux solaris genunix";; -- *) JINCSUBDIRS="genunix";; -- esac -- -+@@ -984,9 +984,9 @@ -+ optimize_def="-O2" -+ LIBS="-lipc $LIBS";; -+ bsdi*) optimize_def="-O2";; -+-freebsd*) optimize_def="-O2" -+- CPPFLAGS="-D_THREAD_SAFE $CPPFLAGS" -+- LIBS="-pthread";; -++freebsd*) optimize_def="-O" -++ CPPFLAGS="$PTHREAD_CFLAGS $CPPFLAGS" -++ LIBS="$PTHREAD_LIBS";; -+ hpux*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";; -+ irix*) optimize_def="-O2" -+ CPPFLAGS="-D_SGI_MP_SOURCE $CPPFLAGS";; -+@@ -995,6 +995,7 @@ -+ CPPFLAGS="-D_REENTRANT $CPPFLAGS";; -+ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS" -+ LIBS="-lsocket -lsvipc $LIBS";; -++netbsd*) optimize_def="-O2";; -+ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";; -+ *qnx) cat >> confdefs.h <<\EOF -+ #define HAVE_QNX 1 -+@@ -1795,6 +1796,9 @@ -+ case "$host_os" in -+ solaris*) JINCSUBDIRS="solaris";; -+ linux*) JINCSUBDIRS="linux genunix";; -++ irix*) JINCSUBDIRS="irix";; -++ netbsd*) JINCSUBDIRS="netbsd linux solaris genunix";; -++ freebsd*) JINCSUBDIRS="freebsd linux solaris genunix";; -+ *) JINCSUBDIRS="genunix";; -+ esac -+ +++ freebsd*) JINCSUBDIRS="linux solaris genunix";; + *) JINCSUBDIRS="genunix";; + esac + *** misc/db-3.2.9/dist/ltconfig Fri Oct 13 16:23:00 2000 --- misc/build/db-3.2.9/dist/ltconfig Tue Jan 7 11:37:05 2003 -*************** @@ -84,49 +46,70 @@ - fi - ;; - -+@@ -1194,11 +1194,12 @@ +-*** misc/db-3.2.9/dist/ltconfig Fri Oct 13 16:23:00 2000 +---- misc/build/db-3.2.9/dist/ltconfig Tue Jan 7 11:37:05 2003 +-*************** +-*** 1955,1961 **** +- version_type=irix +- need_lib_prefix=no +- need_version=no +-! soname_spec='${libname}${release}.so.$major' +- library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major ${libname}${release}.so $libname.so' +- case "$host_os" in +- irix5*) +---- 1955,1961 ---- +- version_type=irix +- need_lib_prefix=no +- need_version=no +-! soname_spec='${libname}${release}.so' +- library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major ${libname}${release}.so $libname.so' +- case "$host_os" in +- irix5*) ++@@ -1202,6 +1202,17 @@ ++ fi ++ ;; + -+ netbsd*) -+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then -+- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib' -+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+- else -+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib' -+ # can we support soname and/or expsyms with a.out? -oliva +++ freebsd*) +++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then +++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib' +++ # can we support soname and/or expsyms with a.out? -oliva ++ else ++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib' ++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ++ need_version=no -+ fi -+ ;; -+ -+@@ -1365,10 +1366,13 @@ -+ -+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries. -+ freebsd*) -+- archive_cmds='$CC -shared -o $lib $libobjs $deplibs $linkopts' -++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib' -++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname \ -++ ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+ hardcode_libdir_flag_spec='-R$libdir' -+ hardcode_direct=yes -+ hardcode_shlibpath_var=no -++ need_version=no -+ ;; -+ -+ hpux9* | hpux10* | hpux11*) -+@@ -2020,6 +2024,14 @@ +++ fi +++ ;; +++ ++ solaris* | sysv5*) ++ if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then ++ ld_shlibs=no ++@@ -1955,7 +1966,7 @@ ++ version_type=irix ++ need_lib_prefix=no ++ need_version=no ++- soname_spec='${libname}${release}.so.$major' +++ soname_spec='${libname}${release}.so' ++ library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major ${libname}${release}.so $libname.so' ++ case "$host_os" in ++ irix5*) ++@@ -2019,6 +2030,20 @@ ++ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' + soname_spec='${libname}${release}.so$major' + dynamic_linker='NetBSD ld.elf_so' -+ fi +++ fi ++ shlibpath_var=LD_LIBRARY_PATH ++ ;; ++ ++freebsd*) ++ version_type=sunos -++ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' -++ soname_spec='${libname}${release}.so$major' -++ dynamic_linker='FreeBSD ld.elf_so' +++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then +++ library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' +++ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' +++ dynamic_linker='FreeBSD (a.out) ld.so' +++ else +++ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' +++ soname_spec='${libname}${release}.so$major' +++ dynamic_linker='FreeBSD ld.elf_so' ++ fi + shlibpath_var=LD_LIBRARY_PATH + ;; -+ diff --git a/editors/openoffice.org-1.0/files/patch-berkeleydb+makefile.mk b/editors/openoffice.org-1.0/files/patch-berkeleydb+makefile.mk new file mode 100644 index 000000000000..5e9491a54dcc --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-berkeleydb+makefile.mk @@ -0,0 +1,12 @@ +--- ../berkeleydb/makefile.mk.orig Sat Apr 12 14:45:40 2003 ++++ ../berkeleydb/makefile.mk Sat Apr 12 14:46:29 2003 +@@ -84,7 +84,9 @@ + + BUILD_DIR=$(CONFIGURE_DIR) + BUILD_ACTION=make ++.IF "$(OS)"!="FREEBSD" + BUILD_FLAGS=-j$(MAXPROCESS) ++.ENDIF + + OUT2LIB=$(BUILD_DIR)$/.libs$/libdb*.so + diff --git a/editors/openoffice.org-1.0/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel b/editors/openoffice.org-1.0/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel index 777286e24b7b..c11aaa918d05 100644 --- a/editors/openoffice.org-1.0/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel +++ b/editors/openoffice.org-1.0/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel @@ -1217,7 +1217,7 @@ + * + ************************************************************************/ + -+#include <malloc.h> ++#include <stdlib.h> +#include <rtl/alloc.h> + +#include <uno/data.h> @@ -1255,9 +1255,7 @@ + if (! pThis) dummy_can_throw_anything("xxx"); // address something + + volatile long edx = 0, eax = 0; // for register returns -+ void * stackptr; + asm volatile ( -+ "mov %%esp, %6\n\t" + // copy values + "mov %0, %%eax\n\t" + "mov %%eax, %%edx\n\t" @@ -1281,11 +1279,13 @@ + "mov %%eax, %4\n\t" + "mov %%edx, %5\n\t" + // cleanup stack -+ "mov %6, %%esp\n\t" ++ "mov %0, %%eax\n\t" ++ "shl $2, %%eax\n\t" ++ "add %%eax, %%esp\n\t" + : -+ : "m"(nStackLongs), "m"(pStackLongs), "m"(pThis), "m"(nVtableIndex), -+ "m"(eax), "m"(edx), "m"(stackptr) -+ : "eax", "edx" ); ++ : "m"(nStackLongs), "m"(pStackLongs), "m"(pThis), "m"(nVtableIndex), "m"(eax), "m"(edx) ++ : "eax", "edx" ); ++ + switch( eReturnType ) + { + case typelib_TypeClass_HYPER: diff --git a/editors/openoffice.org-1.0/files/patch-codemaker+source+codemaker+global.cxx b/editors/openoffice.org-1.0/files/patch-codemaker+source+codemaker+global.cxx new file mode 100644 index 000000000000..057d4ec4d670 --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-codemaker+source+codemaker+global.cxx @@ -0,0 +1,14 @@ +--- ../codemaker/source/codemaker/global.cxx.orig Fri Apr 4 00:14:50 2003 ++++ ../codemaker/source/codemaker/global.cxx Fri Apr 4 00:14:53 2003 +@@ -164,11 +164,7 @@ + strncat(tmpPattern, "/", sizeof(tmpPattern)-1-strlen(tmpPattern)); + strncat(tmpPattern, pPrefix, sizeof(tmpPattern)-1-strlen(tmpPattern)); + strncat(tmpPattern, "XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice.org-1.0/files/patch-registry+source+registry.cxx b/editors/openoffice.org-1.0/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice.org-1.0/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice.org-1.0/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice.org-1.0/files/patch-sal+osl+unx+nlsupport.c index 9bebad2b4386..2cca9a3b76f9 100644 --- a/editors/openoffice.org-1.0/files/patch-sal+osl+unx+nlsupport.c +++ b/editors/openoffice.org-1.0/files/patch-sal+osl+unx+nlsupport.c @@ -48,46 +48,7 @@ #if defined(SOLARIS) -@@ -299,23 +305,23 @@ - #elif defined(IRIX) - - const _pair _nl_language_list[] = { -- { "ISO8859-1", RTL_TEXTENCODING_ISO_8859_1 }, /* Western */ -- { "ISO8859-2", RTL_TEXTENCODING_ISO_8859_2 }, /* Central European */ -- { "ISO8859-5", RTL_TEXTENCODING_ISO_8859_5 }, /* Cyrillic */ -- { "ISO8859-7", RTL_TEXTENCODING_ISO_8859_7 }, /* Greek */ -- { "ISO8859-9", RTL_TEXTENCODING_ISO_8859_9 }, /* Turkish */ -- { "ISO8859-15", RTL_TEXTENCODING_ISO_8859_15 }, /* Western Updated (w/Euro sign) */ -- { "eucJP", RTL_TEXTENCODING_EUC_JP }, /* Japan */ -- { "eucKR", RTL_TEXTENCODING_EUC_KR }, /* Korea */ -- { "eucCN", RTL_TEXTENCODING_EUC_CN }, /* China */ -- { "eucTW", RTL_TEXTENCODING_EUC_TW }, /* Taiwan - Traditional Chinese */ -- { "big5", RTL_TEXTENCODING_BIG5 }, /* China - Traditional Chinese */ -- { "eucgbk", RTL_TEXTENCODING_DONTKNOW }, /* China - Simplified Chinese */ -- { "gbk", RTL_TEXTENCODING_GBK }, /* China - Simplified Chinese */ -- { "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */ -+ { "BIG5", RTL_TEXTENCODING_BIG5 }, /* China - Traditional Chinese */ -+ { "EUCCN", RTL_TEXTENCODING_EUC_CN }, /* China */ -+ { "EUCGBK", RTL_TEXTENCODING_DONTKNOW }, /* China - Simplified Chinese */ -+ { "EUCJP", RTL_TEXTENCODING_EUC_JP }, /* Japan */ -+ { "EUCKR", RTL_TEXTENCODING_EUC_KR }, /* Korea */ -+ { "EUCTW", RTL_TEXTENCODING_EUC_TW }, /* Taiwan - Traditional Chinese */ -+ { "GBK", RTL_TEXTENCODING_GBK }, /* China - Simplified Chinese */ -+ { "ISO8859-1", RTL_TEXTENCODING_ISO_8859_1 }, /* Western */ -+ { "ISO8859-15", RTL_TEXTENCODING_ISO_8859_15 }, /* Western Updated (w/Euro sign) */ -+ { "ISO8859-2", RTL_TEXTENCODING_ISO_8859_2 }, /* Central European */ -+ { "ISO8859-5", RTL_TEXTENCODING_ISO_8859_5 }, /* Cyrillic */ -+ { "ISO8859-7", RTL_TEXTENCODING_ISO_8859_7 }, /* Greek */ -+ { "ISO8859-9", RTL_TEXTENCODING_ISO_8859_9 }, /* Turkish */ -+ { "SJIS", RTL_TEXTENCODING_SHIFT_JIS } /* Japan */ - }; - --#elif defined(LINUX) || defined(NETBSD) -+#elif defined(LINUX) - - const _pair _nl_language_list[] = { - { "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */ -@@ -496,7 +502,59 @@ +@@ -497,7 +503,59 @@ { "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */ }; @@ -148,7 +109,7 @@ static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER; -@@ -618,7 +676,7 @@ +@@ -619,7 +677,7 @@ return ret; } @@ -157,7 +118,7 @@ /* * FIXME: the MacOS X implemetation is missing -@@ -651,7 +709,7 @@ +@@ -652,7 +710,7 @@ return 0; } @@ -166,7 +127,7 @@ /* * This implementation of osl_getTextEncodingFromLocale maps -@@ -684,6 +742,7 @@ +@@ -685,6 +743,7 @@ { "iso8859-8", RTL_TEXTENCODING_ISO_8859_8 }, { "iso8859-9", RTL_TEXTENCODING_ISO_8859_9 }, { "koi8-r", RTL_TEXTENCODING_KOI8_R }, @@ -174,7 +135,7 @@ { "pck", RTL_TEXTENCODING_MS_932 }, #if (0) { "sun_eu_greek", RTL_TEXTENCODING_DONTKNOW }, -@@ -887,6 +946,6 @@ +@@ -888,6 +947,6 @@ return 0; } diff --git a/editors/openoffice.org-1.0/files/patch-svx+source+dialog+txenctab.src b/editors/openoffice.org-1.0/files/patch-svx+source+dialog+txenctab.src index b8178b78384c..05258a0a70e4 100644 --- a/editors/openoffice.org-1.0/files/patch-svx+source+dialog+txenctab.src +++ b/editors/openoffice.org-1.0/files/patch-svx+source+dialog+txenctab.src @@ -32,13 +32,13 @@ < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; < "Eastern Europe (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; -@@ -512,7 +516,8 @@ - < "Китайский традиционный (BIG5)" ; RTL_TEXTENCODING_GBK ; > ; - < "Японский (EUC-JP)" ; RTL_TEXTENCODING_BIG5 ; > ; - < "Китайский упрощенный (EUC-CN)" ; RTL_TEXTENCODING_EUC_JP ; > ; -- < "Кириллический (KOI8-R)" ; RTL_TEXTENCODING_EUC_CN ; > ; -+ < "Кириллический (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; -+ < "Кириллический (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; - < "Юникод (UTF-7)" ; RTL_TEXTENCODING_EUC_TW ; > ; - < "Юникод (UTF-8)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; - < "Восточноевропейский (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; +@@ -1217,7 +1221,8 @@ + < "з№ЃдЅ“е—дёе›ЅиЄћ (EUC-TW)" ; RTL_TEXTENCODING_EUC_TW ; > ; + < "ж—Ґжњ¬иЄћ (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "з°ЎдЅ“е—дёе›ЅиЄћ (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; +- < "г‚гѓЄгѓ«иЄћ (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "\xe3\x82\xad\xe3\x83\xaa\xe3\x83\xab\xe8\xaa\x9e (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "\xe3\x82\xad\xe3\x83\xaa\xe3\x83\xab\xe8\xaa\x9e (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "東欧 (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; diff --git a/editors/openoffice.org-1.0/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice.org-1.0/files/patch-sysui+tools+lngconv+lngconv.cxx index e7497406c222..a62a9c84a935 100644 --- a/editors/openoffice.org-1.0/files/patch-sysui+tools+lngconv+lngconv.cxx +++ b/editors/openoffice.org-1.0/files/patch-sysui+tools+lngconv+lngconv.cxx @@ -4,8 +4,8 @@ #include <stdlib.h> #include <stdio.h> --#if defined( LINUX ) || defined (SOLARIS) -+#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD) +-#if defined( LINUX ) || defined (SOLARIS) || defined(IRIX) ++#if defined(LINUX) || defined (SOLARIS) || defined(IRIX) || defined (FREEBSD) #include <locale.h> #include <langinfo.h> #endif diff --git a/editors/openoffice.org-1.0/pkg-message b/editors/openoffice.org-1.0/pkg-message index 5fe88fe4ffed..7e350cc28402 100644 --- a/editors/openoffice.org-1.0/pkg-message +++ b/editors/openoffice.org-1.0/pkg-message @@ -1,4 +1,4 @@ -OpenOffice.org Build 1.0.2 Personal Install How-To +OpenOffice.org Build 1.0.3 Personal Install How-To Written by: Martin Blapp <mbr@freebsd.org> @@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully installed the package. If there is no installed OO.org dir in your homedir, you'll be prompted to install some files and choose a installed JDK. -The setup installs a "OpenOffice.org1.0.2" folder +The setup installs a "OpenOffice.org1.0.3" folder in your homedir. If the setup tells you there is already an installed @@ -76,7 +76,7 @@ If you had installed the english version, and then have switched to a localized OO.org, it will crash instantly. To solve this issue, please remove the already installed -OpenOffice.org1.0.2 dir in your homedir and remove the +OpenOffice.org1.0.3 dir in your homedir and remove the appropriate entry from ".sversionrc". After you have done this, redo the user installation and the problem will go away. diff --git a/editors/openoffice/Makefile b/editors/openoffice/Makefile index f8d66e855cb8..0a12abe5d921 100644 --- a/editors/openoffice/Makefile +++ b/editors/openoffice/Makefile @@ -6,8 +6,7 @@ # PORTNAME= openoffice -PORTVERSION= 1.0.2 -PORTREVISION= 2 +PORTVERSION= 1.0.3 CATEGORIES+= editors MASTER_SITES+= http://ny1.mirror.openoffice.org/%SUBDIR%/ \ http://ftp.gwdg.de/pub/misc/openoffice/%SUBDIR%/ \ @@ -355,6 +354,8 @@ post-extract: @${MAKE} extract-mozilla @-${RM} ${WRKSRC}/../moz/zipped/*.zip @${CHMOD} +x ${WRKSRC}/../solenv/bin/zipdep.pl + @${MKDIR} -p ${WRKSRC}/../bridges/source/cpp_uno/gcc2_freebsd_intel-sjlj + @${MKDIR} -p ${WRKSRC}/../bridges/source/cpp_uno/gcc3_freebsd_intel .if defined(L10NHELP) @${ECHO_MSG} "===> Extracting L10NHELP sub project" @${MKDIR} ${WRKDIR}/L10NHELP diff --git a/editors/openoffice/distinfo b/editors/openoffice/distinfo index 577a3ec9fd1f..8ffac2253f36 100644 --- a/editors/openoffice/distinfo +++ b/editors/openoffice/distinfo @@ -1,4 +1,4 @@ -MD5 (openoffice/OOo_1.0.2_source.tar.bz2) = 8a82b4dbdd4e305b6f6db70ea65dce8c +MD5 (openoffice/OOo_1.0.3_source.tar.bz2) = 984146931906a7d53300b29f58f6a899 MD5 (openoffice/gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9 MD5 (openoffice/patch-openoffice-mozilla101-2002-10-14) = 463058a33377a9226f919d00e39dc28a MD5 (openoffice/helpcontent) = 832193e5f8954fea10392b73e8dab8c5 diff --git a/editors/openoffice/files/patch-berkeleydb+db-3.2.9.patch b/editors/openoffice/files/patch-berkeleydb+db-3.2.9.patch index b3f090de1f03..e2928d1dbe54 100644 --- a/editors/openoffice/files/patch-berkeleydb+db-3.2.9.patch +++ b/editors/openoffice/files/patch-berkeleydb+db-3.2.9.patch @@ -1,61 +1,23 @@ --- ../berkeleydb/db-3.2.9.patch.orig Sun Jan 19 14:58:19 2003 +++ ../berkeleydb/db-3.2.9.patch Sun Jan 19 15:00:02 2003 -@@ -45,52 +45,82 @@ - CCLINK= @MAKEFILE_CCLINK@ - *** misc/db-3.2.9/dist/configure Wed Jan 24 10:16:18 2001 - --- misc/build/db-3.2.9/dist/configure Tue Jan 7 11:37:05 2003 --*************** --*** 995,1000 **** ----- 995,1001 ---- -- CPPFLAGS="-D_REENTRANT $CPPFLAGS";; -- mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS" -- LIBS="-lsocket -lsvipc $LIBS";; +@@ -51,7 +51,7 @@ + CPPFLAGS="-D_REENTRANT $CPPFLAGS";; + mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS" + LIBS="-lsocket -lsvipc $LIBS";; -+ netbsd*) optimize_def="-O2";; -- osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";; -- *qnx) cat >> confdefs.h <<\EOF -- #define HAVE_QNX 1 --*************** --*** 1795,1800 **** ----- 1796,1803 ---- -- case "$host_os" in -- solaris*) JINCSUBDIRS="solaris";; -- linux*) JINCSUBDIRS="linux genunix";; --+ irix*) JINCSUBDIRS="irix";; +++ netbsd*) optimize_def="-O";; + osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";; + *qnx) cat >> confdefs.h <<\EOF + #define HAVE_QNX 1 +@@ -62,54 +62,57 @@ + solaris*) JINCSUBDIRS="solaris";; + linux*) JINCSUBDIRS="linux genunix";; + + irix*) JINCSUBDIRS="irix";; -+ netbsd*) JINCSUBDIRS="netbsd linux solaris genunix";; -- *) JINCSUBDIRS="genunix";; -- esac -- -+@@ -984,9 +984,9 @@ -+ optimize_def="-O2" -+ LIBS="-lipc $LIBS";; -+ bsdi*) optimize_def="-O2";; -+-freebsd*) optimize_def="-O2" -+- CPPFLAGS="-D_THREAD_SAFE $CPPFLAGS" -+- LIBS="-pthread";; -++freebsd*) optimize_def="-O" -++ CPPFLAGS="$PTHREAD_CFLAGS $CPPFLAGS" -++ LIBS="$PTHREAD_LIBS";; -+ hpux*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";; -+ irix*) optimize_def="-O2" -+ CPPFLAGS="-D_SGI_MP_SOURCE $CPPFLAGS";; -+@@ -995,6 +995,7 @@ -+ CPPFLAGS="-D_REENTRANT $CPPFLAGS";; -+ mpeix*) CPPFLAGS="-D_POSIX_SOURCE -D_SOCKET_SOURCE $CPPFLAGS" -+ LIBS="-lsocket -lsvipc $LIBS";; -++netbsd*) optimize_def="-O2";; -+ osf*) CPPFLAGS="-D_REENTRANT $CPPFLAGS";; -+ *qnx) cat >> confdefs.h <<\EOF -+ #define HAVE_QNX 1 -+@@ -1795,6 +1796,9 @@ -+ case "$host_os" in -+ solaris*) JINCSUBDIRS="solaris";; -+ linux*) JINCSUBDIRS="linux genunix";; -++ irix*) JINCSUBDIRS="irix";; -++ netbsd*) JINCSUBDIRS="netbsd linux solaris genunix";; -++ freebsd*) JINCSUBDIRS="freebsd linux solaris genunix";; -+ *) JINCSUBDIRS="genunix";; -+ esac -+ +++ freebsd*) JINCSUBDIRS="linux solaris genunix";; + *) JINCSUBDIRS="genunix";; + esac + *** misc/db-3.2.9/dist/ltconfig Fri Oct 13 16:23:00 2000 --- misc/build/db-3.2.9/dist/ltconfig Tue Jan 7 11:37:05 2003 -*************** @@ -84,49 +46,70 @@ - fi - ;; - -+@@ -1194,11 +1194,12 @@ +-*** misc/db-3.2.9/dist/ltconfig Fri Oct 13 16:23:00 2000 +---- misc/build/db-3.2.9/dist/ltconfig Tue Jan 7 11:37:05 2003 +-*************** +-*** 1955,1961 **** +- version_type=irix +- need_lib_prefix=no +- need_version=no +-! soname_spec='${libname}${release}.so.$major' +- library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major ${libname}${release}.so $libname.so' +- case "$host_os" in +- irix5*) +---- 1955,1961 ---- +- version_type=irix +- need_lib_prefix=no +- need_version=no +-! soname_spec='${libname}${release}.so' +- library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major ${libname}${release}.so $libname.so' +- case "$host_os" in +- irix5*) ++@@ -1202,6 +1202,17 @@ ++ fi ++ ;; + -+ netbsd*) -+ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then -+- archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib' -+- archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+- else -+ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib' -+ # can we support soname and/or expsyms with a.out? -oliva +++ freebsd*) +++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then +++ archive_cmds='$LD -Bshareable $libobjs $deplibs $linkopts -o $lib' +++ # can we support soname and/or expsyms with a.out? -oliva ++ else ++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib' ++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' ++ need_version=no -+ fi -+ ;; -+ -+@@ -1365,10 +1366,13 @@ -+ -+ # FreeBSD 3 and greater uses gcc -shared to do shared libraries. -+ freebsd*) -+- archive_cmds='$CC -shared -o $lib $libobjs $deplibs $linkopts' -++ archive_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname -o $lib' -++ archive_expsym_cmds='$CC -shared $libobjs $deplibs $linkopts ${wl}-soname $wl$soname \ -++ ${wl}-retain-symbols-file $wl$export_symbols -o $lib' -+ hardcode_libdir_flag_spec='-R$libdir' -+ hardcode_direct=yes -+ hardcode_shlibpath_var=no -++ need_version=no -+ ;; -+ -+ hpux9* | hpux10* | hpux11*) -+@@ -2020,6 +2024,14 @@ +++ fi +++ ;; +++ ++ solaris* | sysv5*) ++ if $LD -v 2>&1 | egrep 'BFD 2\.8' > /dev/null; then ++ ld_shlibs=no ++@@ -1955,7 +1966,7 @@ ++ version_type=irix ++ need_lib_prefix=no ++ need_version=no ++- soname_spec='${libname}${release}.so.$major' +++ soname_spec='${libname}${release}.so' ++ library_names_spec='${libname}${release}.so.$versuffix ${libname}${release}.so.$major ${libname}${release}.so $libname.so' ++ case "$host_os" in ++ irix5*) ++@@ -2019,6 +2030,20 @@ ++ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' + soname_spec='${libname}${release}.so$major' + dynamic_linker='NetBSD ld.elf_so' -+ fi +++ fi ++ shlibpath_var=LD_LIBRARY_PATH ++ ;; ++ ++freebsd*) ++ version_type=sunos -++ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' -++ soname_spec='${libname}${release}.so$major' -++ dynamic_linker='FreeBSD ld.elf_so' +++ if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then +++ library_names_spec='${libname}${release}.so$versuffix ${libname}.so$versuffix' +++ finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir' +++ dynamic_linker='FreeBSD (a.out) ld.so' +++ else +++ library_names_spec='${libname}${release}.so$versuffix ${libname}${release}.so$major ${libname}${release}.so ${libname}.so' +++ soname_spec='${libname}${release}.so$major' +++ dynamic_linker='FreeBSD ld.elf_so' ++ fi + shlibpath_var=LD_LIBRARY_PATH + ;; -+ diff --git a/editors/openoffice/files/patch-berkeleydb+makefile.mk b/editors/openoffice/files/patch-berkeleydb+makefile.mk new file mode 100644 index 000000000000..5e9491a54dcc --- /dev/null +++ b/editors/openoffice/files/patch-berkeleydb+makefile.mk @@ -0,0 +1,12 @@ +--- ../berkeleydb/makefile.mk.orig Sat Apr 12 14:45:40 2003 ++++ ../berkeleydb/makefile.mk Sat Apr 12 14:46:29 2003 +@@ -84,7 +84,9 @@ + + BUILD_DIR=$(CONFIGURE_DIR) + BUILD_ACTION=make ++.IF "$(OS)"!="FREEBSD" + BUILD_FLAGS=-j$(MAXPROCESS) ++.ENDIF + + OUT2LIB=$(BUILD_DIR)$/.libs$/libdb*.so + diff --git a/editors/openoffice/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel b/editors/openoffice/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel index 777286e24b7b..c11aaa918d05 100644 --- a/editors/openoffice/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel +++ b/editors/openoffice/files/patch-bridges+source+cpp_uno+gcc3_freebsd_intel @@ -1217,7 +1217,7 @@ + * + ************************************************************************/ + -+#include <malloc.h> ++#include <stdlib.h> +#include <rtl/alloc.h> + +#include <uno/data.h> @@ -1255,9 +1255,7 @@ + if (! pThis) dummy_can_throw_anything("xxx"); // address something + + volatile long edx = 0, eax = 0; // for register returns -+ void * stackptr; + asm volatile ( -+ "mov %%esp, %6\n\t" + // copy values + "mov %0, %%eax\n\t" + "mov %%eax, %%edx\n\t" @@ -1281,11 +1279,13 @@ + "mov %%eax, %4\n\t" + "mov %%edx, %5\n\t" + // cleanup stack -+ "mov %6, %%esp\n\t" ++ "mov %0, %%eax\n\t" ++ "shl $2, %%eax\n\t" ++ "add %%eax, %%esp\n\t" + : -+ : "m"(nStackLongs), "m"(pStackLongs), "m"(pThis), "m"(nVtableIndex), -+ "m"(eax), "m"(edx), "m"(stackptr) -+ : "eax", "edx" ); ++ : "m"(nStackLongs), "m"(pStackLongs), "m"(pThis), "m"(nVtableIndex), "m"(eax), "m"(edx) ++ : "eax", "edx" ); ++ + switch( eReturnType ) + { + case typelib_TypeClass_HYPER: diff --git a/editors/openoffice/files/patch-codemaker+source+codemaker+global.cxx b/editors/openoffice/files/patch-codemaker+source+codemaker+global.cxx new file mode 100644 index 000000000000..057d4ec4d670 --- /dev/null +++ b/editors/openoffice/files/patch-codemaker+source+codemaker+global.cxx @@ -0,0 +1,14 @@ +--- ../codemaker/source/codemaker/global.cxx.orig Fri Apr 4 00:14:50 2003 ++++ ../codemaker/source/codemaker/global.cxx Fri Apr 4 00:14:53 2003 +@@ -164,11 +164,7 @@ + strncat(tmpPattern, "/", sizeof(tmpPattern)-1-strlen(tmpPattern)); + strncat(tmpPattern, pPrefix, sizeof(tmpPattern)-1-strlen(tmpPattern)); + strncat(tmpPattern, "XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice/files/patch-registry+source+registry.cxx b/editors/openoffice/files/patch-registry+source+registry.cxx new file mode 100644 index 000000000000..502abe41e48d --- /dev/null +++ b/editors/openoffice/files/patch-registry+source+registry.cxx @@ -0,0 +1,14 @@ +--- ../registry/source/registry.cxx.orig Fri Apr 4 00:09:08 2003 ++++ ../registry/source/registry.cxx Fri Apr 4 00:06:25 2003 +@@ -145,11 +145,7 @@ + + RTL_CONSTASCII_LENGTH("/reg_XXXXXX") ) ); + strncat(tmpPattern, "/reg_XXXXXX", sizeof(tmpPattern)-1-strlen(tmpPattern)); + +-#if defined(FREEBSD) || defined(MACOSX) +- pTmpName = mkstemp(tmpPattern); +-#else + pTmpName = mktemp(tmpPattern); +-#endif + #endif + + return OString(pTmpName); diff --git a/editors/openoffice/files/patch-sal+osl+unx+nlsupport.c b/editors/openoffice/files/patch-sal+osl+unx+nlsupport.c index 9bebad2b4386..2cca9a3b76f9 100644 --- a/editors/openoffice/files/patch-sal+osl+unx+nlsupport.c +++ b/editors/openoffice/files/patch-sal+osl+unx+nlsupport.c @@ -48,46 +48,7 @@ #if defined(SOLARIS) -@@ -299,23 +305,23 @@ - #elif defined(IRIX) - - const _pair _nl_language_list[] = { -- { "ISO8859-1", RTL_TEXTENCODING_ISO_8859_1 }, /* Western */ -- { "ISO8859-2", RTL_TEXTENCODING_ISO_8859_2 }, /* Central European */ -- { "ISO8859-5", RTL_TEXTENCODING_ISO_8859_5 }, /* Cyrillic */ -- { "ISO8859-7", RTL_TEXTENCODING_ISO_8859_7 }, /* Greek */ -- { "ISO8859-9", RTL_TEXTENCODING_ISO_8859_9 }, /* Turkish */ -- { "ISO8859-15", RTL_TEXTENCODING_ISO_8859_15 }, /* Western Updated (w/Euro sign) */ -- { "eucJP", RTL_TEXTENCODING_EUC_JP }, /* Japan */ -- { "eucKR", RTL_TEXTENCODING_EUC_KR }, /* Korea */ -- { "eucCN", RTL_TEXTENCODING_EUC_CN }, /* China */ -- { "eucTW", RTL_TEXTENCODING_EUC_TW }, /* Taiwan - Traditional Chinese */ -- { "big5", RTL_TEXTENCODING_BIG5 }, /* China - Traditional Chinese */ -- { "eucgbk", RTL_TEXTENCODING_DONTKNOW }, /* China - Simplified Chinese */ -- { "gbk", RTL_TEXTENCODING_GBK }, /* China - Simplified Chinese */ -- { "sjis", RTL_TEXTENCODING_SHIFT_JIS }, /* Japan */ -+ { "BIG5", RTL_TEXTENCODING_BIG5 }, /* China - Traditional Chinese */ -+ { "EUCCN", RTL_TEXTENCODING_EUC_CN }, /* China */ -+ { "EUCGBK", RTL_TEXTENCODING_DONTKNOW }, /* China - Simplified Chinese */ -+ { "EUCJP", RTL_TEXTENCODING_EUC_JP }, /* Japan */ -+ { "EUCKR", RTL_TEXTENCODING_EUC_KR }, /* Korea */ -+ { "EUCTW", RTL_TEXTENCODING_EUC_TW }, /* Taiwan - Traditional Chinese */ -+ { "GBK", RTL_TEXTENCODING_GBK }, /* China - Simplified Chinese */ -+ { "ISO8859-1", RTL_TEXTENCODING_ISO_8859_1 }, /* Western */ -+ { "ISO8859-15", RTL_TEXTENCODING_ISO_8859_15 }, /* Western Updated (w/Euro sign) */ -+ { "ISO8859-2", RTL_TEXTENCODING_ISO_8859_2 }, /* Central European */ -+ { "ISO8859-5", RTL_TEXTENCODING_ISO_8859_5 }, /* Cyrillic */ -+ { "ISO8859-7", RTL_TEXTENCODING_ISO_8859_7 }, /* Greek */ -+ { "ISO8859-9", RTL_TEXTENCODING_ISO_8859_9 }, /* Turkish */ -+ { "SJIS", RTL_TEXTENCODING_SHIFT_JIS } /* Japan */ - }; - --#elif defined(LINUX) || defined(NETBSD) -+#elif defined(LINUX) - - const _pair _nl_language_list[] = { - { "ANSI_X3.110-1983", RTL_TEXTENCODING_DONTKNOW }, /* ISO-IR-99 NAPLPS */ -@@ -496,7 +502,59 @@ +@@ -497,7 +503,59 @@ { "WIN-SAMI-2", RTL_TEXTENCODING_DONTKNOW } /* WS2 */ }; @@ -148,7 +109,7 @@ static pthread_mutex_t aLocalMutex = PTHREAD_MUTEX_INITIALIZER; -@@ -618,7 +676,7 @@ +@@ -619,7 +677,7 @@ return ret; } @@ -157,7 +118,7 @@ /* * FIXME: the MacOS X implemetation is missing -@@ -651,7 +709,7 @@ +@@ -652,7 +710,7 @@ return 0; } @@ -166,7 +127,7 @@ /* * This implementation of osl_getTextEncodingFromLocale maps -@@ -684,6 +742,7 @@ +@@ -685,6 +743,7 @@ { "iso8859-8", RTL_TEXTENCODING_ISO_8859_8 }, { "iso8859-9", RTL_TEXTENCODING_ISO_8859_9 }, { "koi8-r", RTL_TEXTENCODING_KOI8_R }, @@ -174,7 +135,7 @@ { "pck", RTL_TEXTENCODING_MS_932 }, #if (0) { "sun_eu_greek", RTL_TEXTENCODING_DONTKNOW }, -@@ -887,6 +946,6 @@ +@@ -888,6 +947,6 @@ return 0; } diff --git a/editors/openoffice/files/patch-svx+source+dialog+txenctab.src b/editors/openoffice/files/patch-svx+source+dialog+txenctab.src index b8178b78384c..05258a0a70e4 100644 --- a/editors/openoffice/files/patch-svx+source+dialog+txenctab.src +++ b/editors/openoffice/files/patch-svx+source+dialog+txenctab.src @@ -32,13 +32,13 @@ < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; < "Eastern Europe (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; -@@ -512,7 +516,8 @@ - < "Китайский традиционный (BIG5)" ; RTL_TEXTENCODING_GBK ; > ; - < "Японский (EUC-JP)" ; RTL_TEXTENCODING_BIG5 ; > ; - < "Китайский упрощенный (EUC-CN)" ; RTL_TEXTENCODING_EUC_JP ; > ; -- < "Кириллический (KOI8-R)" ; RTL_TEXTENCODING_EUC_CN ; > ; -+ < "Кириллический (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; -+ < "Кириллический (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; - < "Юникод (UTF-7)" ; RTL_TEXTENCODING_EUC_TW ; > ; - < "Юникод (UTF-8)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; - < "Восточноевропейский (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; +@@ -1217,7 +1221,8 @@ + < "з№ЃдЅ“е—дёе›ЅиЄћ (EUC-TW)" ; RTL_TEXTENCODING_EUC_TW ; > ; + < "ж—Ґжњ¬иЄћ (ISO-2022-JP)" ; RTL_TEXTENCODING_ISO_2022_JP ; > ; + < "з°ЎдЅ“е—дёе›ЅиЄћ (ISO-2022-CN)" ; RTL_TEXTENCODING_ISO_2022_CN ; > ; +- < "г‚гѓЄгѓ«иЄћ (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "\xe3\x82\xad\xe3\x83\xaa\xe3\x83\xab\xe8\xaa\x9e (KOI8-R)" ; RTL_TEXTENCODING_KOI8_R ; > ; ++ < "\xe3\x82\xad\xe3\x83\xaa\xe3\x83\xab\xe8\xaa\x9e (KOI8-U)" ; RTL_TEXTENCODING_KOI8_U ; > ; + < "Unicode (UTF-7)" ; RTL_TEXTENCODING_UTF7 ; > ; + < "Unicode (UTF-8)" ; RTL_TEXTENCODING_UTF8 ; > ; + < "東欧 (ISO-8859-10)" ; RTL_TEXTENCODING_ISO_8859_10 ; > ; diff --git a/editors/openoffice/files/patch-sysui+tools+lngconv+lngconv.cxx b/editors/openoffice/files/patch-sysui+tools+lngconv+lngconv.cxx index e7497406c222..a62a9c84a935 100644 --- a/editors/openoffice/files/patch-sysui+tools+lngconv+lngconv.cxx +++ b/editors/openoffice/files/patch-sysui+tools+lngconv+lngconv.cxx @@ -4,8 +4,8 @@ #include <stdlib.h> #include <stdio.h> --#if defined( LINUX ) || defined (SOLARIS) -+#if defined(LINUX) || defined (SOLARIS) || defined (FREEBSD) +-#if defined( LINUX ) || defined (SOLARIS) || defined(IRIX) ++#if defined(LINUX) || defined (SOLARIS) || defined(IRIX) || defined (FREEBSD) #include <locale.h> #include <langinfo.h> #endif diff --git a/editors/openoffice/pkg-message b/editors/openoffice/pkg-message index 5fe88fe4ffed..7e350cc28402 100644 --- a/editors/openoffice/pkg-message +++ b/editors/openoffice/pkg-message @@ -1,4 +1,4 @@ -OpenOffice.org Build 1.0.2 Personal Install How-To +OpenOffice.org Build 1.0.3 Personal Install How-To Written by: Martin Blapp <mbr@freebsd.org> @@ -12,7 +12,7 @@ Just type "openoffice" after you have successfully installed the package. If there is no installed OO.org dir in your homedir, you'll be prompted to install some files and choose a installed JDK. -The setup installs a "OpenOffice.org1.0.2" folder +The setup installs a "OpenOffice.org1.0.3" folder in your homedir. If the setup tells you there is already an installed @@ -76,7 +76,7 @@ If you had installed the english version, and then have switched to a localized OO.org, it will crash instantly. To solve this issue, please remove the already installed -OpenOffice.org1.0.2 dir in your homedir and remove the +OpenOffice.org1.0.3 dir in your homedir and remove the appropriate entry from ".sversionrc". After you have done this, redo the user installation and the problem will go away. |