aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-3
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2006-03-15 14:18:10 +0800
committermaho <maho@FreeBSD.org>2006-03-15 14:18:10 +0800
commit33d0ff81392bb08d561adcb60731d5b86231f3c8 (patch)
tree032a6e98e766b05ed163398f38a1537fc6d2edfe /editors/openoffice-3
parent2819f8afb74aaa5acc367f05c37243add1d3a664 (diff)
downloadfreebsd-ports-gnome-33d0ff81392bb08d561adcb60731d5b86231f3c8.tar.gz
freebsd-ports-gnome-33d0ff81392bb08d561adcb60731d5b86231f3c8.tar.zst
freebsd-ports-gnome-33d0ff81392bb08d561adcb60731d5b86231f3c8.zip
Update to 2.0.2
Diffstat (limited to 'editors/openoffice-3')
-rw-r--r--editors/openoffice-3/Makefile33
-rw-r--r--editors/openoffice-3/distinfo6
-rw-r--r--editors/openoffice-3/files/Makefile.knobs15
-rw-r--r--editors/openoffice-3/files/Makefile.localized4
-rw-r--r--editors/openoffice-3/files/gcj-patches349
-rw-r--r--editors/openoffice-3/files/patch-psprint-i6253565
6 files changed, 446 insertions, 26 deletions
diff --git a/editors/openoffice-3/Makefile b/editors/openoffice-3/Makefile
index 0efd3fa80a13..1d02fa783c9a 100644
--- a/editors/openoffice-3/Makefile
+++ b/editors/openoffice-3/Makefile
@@ -6,23 +6,23 @@
#
PORTNAME?= openoffice.org
-PORTVERSION?= 2.0.2.rc2
+PORTVERSION?= 2.0.2
CATEGORIES+= editors java
-MASTER_SITES+= ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,misc/openoffice/developer/680_m${MILESTONE}/&,} \
+MASTER_SITES+= ${MASTER_SITE_RINGSERVER:S,%SUBDIR%,misc/openoffice/stable/${PORTVERSION}/&,} \
http://openoffice.lunarshells.com/sources/ \
http://ooopackages.good-day.net/pub/OpenOffice.org/sources/ \
ftp://ftp.cs.man.ac.uk/pub/toby/gpc/:gpc \
${MASTER_SITE_APACHE:S,%SUBDIR%/,ant/binaries/:antbin,} \
${MASTER_SITE_MOZILLA:S/$/:mozsrc/}
MASTER_SITE_SUBDIR+= mozilla/releases/mozilla${MOZILLA_VERSION}/source/:mozsrc
-DISTFILES+= OOo_2.0.2rc2_src.tar.gz
+DISTFILES+= OOo_${PORTVERSION}_src.tar.gz
.if defined(WITH_GPC)
DISTFILES+= gpc231.tar.Z:gpc
.endif
.if defined(WITH_GNUGCJ)
DISTFILES+= ${ANT_DISTFILE}:antbin
.endif
-EXTRACT_ONLY= OOo_2.0.2rc2_src.tar.gz
+EXTRACT_ONLY= OOo_${PORTVERSION}_src.tar.gz
MAINTAINER= openoffice@FreeBSD.org
COMMENT?= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser
@@ -63,7 +63,7 @@ IGNORE= install lang/perl5.8 then try again
CODELINE= 680
RELEASE_NR= 2.0
-OOOTAG?= OOB680_m2
+OOOTAG?= OOB680_m5
INSTALLATION_BASEDIR?= openoffice.org-${PORTVERSION}
EXECBASE?= openoffice.org-${PORTVERSION}
DIST_SUBDIR= openoffice.org2.0
@@ -80,8 +80,10 @@ PKGNAMESUFFIX?= -${LANG_SUFFIX}
.endif
.if defined(WITH_GNUGCJ)
-#BUILD_DEPENDS+= ${LOCALBASE}/bin/gcc41:${PORTSDIR}/lang/gcc41-wgcj
-BROKEN= "still work in progress"
+#BUILD_DEPENDS+= gcj41:${PORTSDIR}/lang/gcc41-with_gcj
+#BUILD_DEPENDS+= gjdoc:${PORTSDIR}/java/gjdoc
+#RUN_DEPENDS+= gcj41:${PORTSDIR}/lang/gcc41-with_gcj
+BROKEN= "Still work in progress"
.else
BUILD_DEPENDS+= gcc-ooo:${PORTSDIR}/lang/gcc-ooo
.endif
@@ -90,8 +92,8 @@ BUILD_DEPENDS+= gcc-ooo:${PORTSDIR}/lang/gcc-ooo
.if defined(WITH_CCACHE)
BUILD_DEPENDS+= ccache:${PORTSDIR}/devel/ccache
.if defined(WITH_GNUGCJ)
-CC= ccache ${LOCALBASE}/gcc41/bin/gcc
-CXX= ccache ${LOCALBASE}/gcc41/bin/g++
+CC= ccache gcc41
+CXX= ccache g++41
.else
CC= ccache gcc-ooo
CXX= ccache g++-ooo
@@ -99,8 +101,8 @@ CXX= ccache g++-ooo
.endif #WITH_CCACHE
.if !defined(WITH_CCACHE)
.if defined(WITH_GNUGCJ)
-CC= ${LOCALBASE}/gcc41/bin/gcc
-CXX= ${LOCALBASE}/gcc41/bin/g++
+CC= gcc41
+CXX= g++41
.else
CC= gcc-ooo
CXX= g++-ooo
@@ -129,20 +131,21 @@ LIB_DEPENDS= art_lgpl_2:${PORTSDIR}/graphics/libart_lgpl2
.endif
GNU_CONFIGURE= yes
-WRKSRC= ${WRKDIR}/${OOOTAG}
+WRKSRC?= ${WRKDIR}/${OOOTAG}
CONFIGURE_WRKSRC= ${WRKSRC}/config_office
TCSH?= /bin/tcsh
PKGMESSAGE= ${WRKDIR}/pkg-message
NUMOFPROCESSES?= 1
-USE_AUTOTOOLS= autoconf:259
CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp --with-gnu-patch=${LOCALBASE}/bin/gpatch --with-epm=internal --with-system-freetype --enable-crashdump=yes --enable-symbols=SMALL
+#workarounds
+CONFIGURE_ARGS+= --with-system-xrender-headers=yes #i62713#
.if (${OSVERSION} <= 492000)
EXTRA_PATCHES+= ${FILESDIR}/fbsd4-workaroundpatch
.endif
.if defined(WITH_GNUGCJ)
-EXTRA_PATCHES+= ${FILESDIR}/gcj-cws_jaxpapi ${FILESDIR}/gcj-patches
+EXTRA_PATCHES+= ${FILESDIR}/gcj-cws_jaxpapi ${FILESDIR}/gcj-patches ${FILESDIR}/gcj-fbsdworkaround
.endif
.if defined(WITHOUT_MOZILLA)
EXTRA_PATCHES+= ${FILESDIR}/moz-patch_i59729 #cws pj50
@@ -173,6 +176,8 @@ pre-everything::
post-extract:
.if defined(WITH_GNUGCJ)
@cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/${ANT_DISTFILE} | ${BZIP2_CMD} -d | ${TAR} xf -
+# #iXXXXX# xmerge doesn't support gjdoc
+ @${LN} -s ${LOCALBASE}/bin/gjdoc ${WRKSRC}/solenv/bin/javadoc
.endif
.if defined(WITH_GPC)
@cd ${WRKDIR} ; ${CAT} ${DISTDIR}/${DIST_SUBDIR}/gpc231.tar.Z | ${TAR} xfz -
diff --git a/editors/openoffice-3/distinfo b/editors/openoffice-3/distinfo
index 8aaea135a840..0383a403c129 100644
--- a/editors/openoffice-3/distinfo
+++ b/editors/openoffice-3/distinfo
@@ -1,6 +1,6 @@
-MD5 (openoffice.org2.0/OOo_2.0.2rc2_src.tar.gz) = 24867a8b1fe2036012e0a3d446009fd1
-SHA256 (openoffice.org2.0/OOo_2.0.2rc2_src.tar.gz) = 3e6be71f2309508a8aeafb27ebeec58f5b9f2fde67e5bcdd6b4062f3d117fdda
-SIZE (openoffice.org2.0/OOo_2.0.2rc2_src.tar.gz) = 293166842
+MD5 (openoffice.org2.0/OOo_2.0.2_src.tar.gz) = 1b50c8c4c1002edbc4993060ca05ca8f
+SHA256 (openoffice.org2.0/OOo_2.0.2_src.tar.gz) = 82fc0e7d6aee6b55fce5c5b1c7e94394f7f60164f7c9ec1b2d7c6b562257ebad
+SIZE (openoffice.org2.0/OOo_2.0.2_src.tar.gz) = 293176001
MD5 (openoffice.org2.0/gpc231.tar.Z) = fdb06fdb5a4670b172f9fb738b717be9
SHA256 (openoffice.org2.0/gpc231.tar.Z) = c1265948554a9882fe8342ecc9ccbdb423321a572a5a6b56f7dfad389540da4e
SIZE (openoffice.org2.0/gpc231.tar.Z) = 27917
diff --git a/editors/openoffice-3/files/Makefile.knobs b/editors/openoffice-3/files/Makefile.knobs
index 1d119fc69a6a..72abc5d6a217 100644
--- a/editors/openoffice-3/files/Makefile.knobs
+++ b/editors/openoffice-3/files/Makefile.knobs
@@ -6,16 +6,12 @@
CONFIGURE_ARGS+= --with-jdk-home="${JAVA_HOME}" --with-ant-home=${LOCALBASE}/ant
.endif
.if !defined(WITHOUT_JAVA) && defined(WITH_GNUGCJ)
-CONFIGURE_ARGS+= --with-jdk-home="${LOCALBASE}/gcc41" --with-java=gij --with-ant-home="${WRKDIR}/apache-ant-${ANT_VERSION}" --disable-qadevooo
+CONFIGURE_ARGS+= --with-jdk-home="${LOCALBASE}" --with-java=gij --with-ant-home="${WRKDIR}/apache-ant-${ANT_VERSION}"
.endif
.if defined(WITHOUT_JAVA)
CONFIGURE_ARGS+= --without-java
.endif
-.if !defined(WITH_GPC)
-CONFIGURE_ARGS+= --enable-libart
-.endif
-
.if defined(WITH_KDE)
CONFIGURE_ARGS+= --enable-kde QTDIR="${QT_PREFIX}"
.endif
@@ -90,10 +86,11 @@ pre-fetch:
@${ECHO} "make LOCALIZED_LANG=xx"
@${ECHO} "while xx can be one of the following"
@${ECHO} "af ar be-BY bg br bn bn-BD bn-IN bs ca cs cy da de el"
- @${ECHO} "en-GB en-US en-ZA eo es et eu fi fr ga gl gu-IN he hi-IN"
- @${ECHO} "hr hu it ja km kn-IN ko lo lt lv mk ms ne nb nl nn nr"
- @${ECHO} "ns pa-IN pl pt pt-BR ru rw sk sl sh-YU sr-CS ss st sv"
- @${ECHO} "sw sw-TZ sx ta-IN th tn tr ts ve vi xh zh-CN zh-TW zu"
+ @${ECHO} "en-GB en-US en-ZA eo es et eu fa fi fr ga gl gu-IN he"
+ @${ECHO} "hi-IN hr hu it ja km kn-IN ko lo lt lv mk ms ne nb nl"
+ @${ECHO} "nn nr ns pa-IN pl pt pt-BR ru rw sk sl sh-YU sr-CS ss"
+ @${ECHO} "st sv sw sw-TZ sx ta-IN th tn tr ts ve vi xh zh-CN"
+ @${ECHO} "zh-TW zu"
@${ECHO} "Default: en-US"
#XXX currently broken
#.if !defined(WITHOUT_JAVA)
diff --git a/editors/openoffice-3/files/Makefile.localized b/editors/openoffice-3/files/Makefile.localized
index d1a0fa4e670b..fc113e2769ef 100644
--- a/editors/openoffice-3/files/Makefile.localized
+++ b/editors/openoffice-3/files/Makefile.localized
@@ -102,6 +102,10 @@ LANG_PKGNAME= ${LOCALIZED_LANG}
LANG_PKGNAME= ${LOCALIZED_LANG}
.endif
################################################################
+.if ${LOCALIZED_LANG} == "fa"
+LANG_PKGNAME= ${LOCALIZED_LANG}
+.endif
+################################################################
.if ${LOCALIZED_LANG} == "fi"
LANG_PKGNAME= ${LOCALIZED_LANG}
.endif
diff --git a/editors/openoffice-3/files/gcj-patches b/editors/openoffice-3/files/gcj-patches
new file mode 100644
index 000000000000..dbcbf5290d78
--- /dev/null
+++ b/editors/openoffice-3/files/gcj-patches
@@ -0,0 +1,349 @@
+http://www.openoffice.org/issues/show_bug.cgi?id=60091
+--- solenv/inc/settings.mk.orig 2006-01-27 17:34:07.000000000 +0100
++++ solenv/inc/settings.mk 2006-01-27 17:35:28.000000000 +0100
+@@ -186,12 +186,11 @@
+ .ENDIF
+
+ #required arguments
+-.IF "$(JAVACACHE)" != ""
+-JAVAC=$(JAVACOMPILER) --encoding=ISO-8859-15 -O2 -fno-assert -Wno-deprecated -C
+-JAVAI=$(JAVAINTERPRETER) -Dgnu.gcj.precompiled.db.path=$(GCJ_DATABASE)
+-.ELSE
+ JAVAC=$(JAVACOMPILER)
+ JAVAI=$(JAVAINTERPRETER)
++.IF "$(JAVACACHE)" != ""
++JAVAC+=--encoding=UTF-8 -O2 -fno-assert -Wno-deprecated -C
++JAVAI+=-Dgnu.gcj.precompiled.db.path=$(GCJ_DATABASE)
+ .ENDIF
+
+ #classpath and response
+
+http://qa.openoffice.org/issues/show_bug.cgi?id=63070
+Index: wizards/com/sun/star/wizards/ui/FilterComponent.java
+===================================================================
+RCS file: /cvs/installation/wizards/com/sun/star/wizards/ui/FilterComponent.java,v
+retrieving revision 1.8
+diff -u -r1.8 FilterComponent.java
+--- wizards/com/sun/star/wizards/ui/FilterComponent.java 28 Dec 2005 17:25:36 -0000 1.8
++++ wizards/com/sun/star/wizards/ui/FilterComponent.java 27 Jan 2006 22:55:38 -0000
+@@ -261,10 +261,7 @@
+ case DataType.BOOLEAN:
+ double dblvalue = ((Double) curValue).doubleValue();
+ curValue = new Boolean(dblvalue == 1.0);
+- /**TODO: 1) Datei SingleSelectQueryComposer modifizieren:
+- / Zeilen 1525ff in Methode auslagern und Aufruf in Zeile 1356 ändern TypeConverter is parameter
+- * 2) setDisplayCondition ändern
+- */
++ /* */
+ break;
+ default:
+ curValue = String.valueOf(curValue);
+
+
+http://www.openoffice.org/issues/show_bug.cgi?id=61875
+Index: source/ui/slidesorter/cache/SlsQueueProcessor.hxx
+===================================================================
+RCS file: /cvs/graphics/sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx,v
+retrieving revision 1.10
+diff -u -p -u -r1.10 SlsQueueProcessor.hxx
+--- sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx 19 Jan 2006 12:52:20 -0000 1.10
++++ sd/source/ui/slidesorter/cache/SlsQueueProcessor.hxx 26 Jan 2006 08:29:38 -0000
+@@ -164,7 +164,7 @@ template <class Queue, class RequestData
+ while ( ! mrQueue.IsEmpty())
+ {
+ // Determine whether the system is idle.
+- sal_Int32 nIdleState (tools::IdleDetection::GetIdleState(mrView.GetWindow()));
++ sal_Int32 nIdleState (tools::IdleDetection::GetIdleState(static_cast< ::Window* >(mrView.GetWindow())));
+ if (nIdleState != tools::IdleDetection::IDET_IDLE)
+ {
+ if ((nIdleState&tools::IdleDetection::IDET_FULL_SCREEN_SHOW_ACTIVE) != 0)
+
+#########
+cws maho1
+#########
+Index: config_office/configure
+===================================================================
+RCS file: /cvs/tools/config_office/configure,v
+retrieving revision 1.142
+retrieving revision 1.142.4.6
+diff -u -p -w -r1.142 -r1.142.4.6
+--- config_office/configure 28 Feb 2006 16:55:27 -0000 1.142
++++ config_office/configure 6 Mar 2006 23:20:24 -0000 1.142.4.6
+@@ -308,7 +308,7 @@ ac_includes_default="\
+ # include <unistd.h>
+ #endif"
+
+-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS AWK SED LOCAL_SOLENV UPD SOURCEVERSION build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OSVERSION PTHREAD_CFLAGS PTHREAD_LIBS ENABLE_CRASHDUMP ENABLE_VCTK VC_STANDARD ENABLE_DEBUG PRODUCT PROFULLSWITCH PROEXT ENABLE_SYMBOLS ENABLE_CUPS ENABLE_FONTCONFIG WITH_BINFILTER ENABLE_DIRECTX NETTOOLKIT ENABLE_RPATH WITH_MYSPELL_DICTS USE_SHELL WITH_MINGWIN TCSH GCC_HOME CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COMPATH GCCVER HAVE_GCC_VISIBILITY_FEATURE GNUMAKE _cc MSPDB_PATH COMEX MIDL_PATH CSC_PATH NMAKE_PATH FRAME_HOME CPP EGREP PAM_LINK CRYPT_LINK CXX CXXFLAGS ac_ct_CXX GXX_INCLUDE_PATH EXCEPTIONS CXXCPP STLPORT4 USE_SYSTEM_STL ALLOC BUILD_VER_STRING SOLAR_JAVA LANG JAVAINTERPRETER JAVACOMPILER JAVADOC AWTLIB JAVACACHE JAVA_HOME JDK XSLTPROC PERL DMAKE BUILD_DMAKE EPM DPKG PKGMK BUILD_EPM PKGFORMAT RPM SYSTEM_STDLIBS SYSTEM_ZLIB SYSTEM_JPEG SYSTEM_EXPAT PKG_CONFIG FREETYPE_CFLAGS FREETYPE_LIBS SYSTEM_FREETYPE LIBWPD_CFLAGS LIBWPD_LIBS SYSTEM_LIBWPD LIBXML_CFLAGS LIBXML_LIBS SYSTEM_LIBXML PYTHON PYTHON_VERSION PYTHON_PREFIX PYTHON_EXEC_PREFIX PYTHON_PLATFORM pythondir pkgpythondir pyexecdir pkgpyexecdir SYSTEM_PYTHON PYTHON_CFLAGS PYTHON_LIBS SYSTEM_DB DB_VERSION DB_INCLUDES DB_JAR SABLOTCONFIG SYSTEM_SABLOT SABLOT_LIBS CURLCONFIG SYSTEM_CURL CURL_CFLAGS CURL_LIBS SYSTEM_BOOST SYSTEM_ODBC_HEADERS WITH_MOZILLA WITH_OPENLDAP MOZILLAXPCOM_CFLAGS MOZILLAXPCOM_LIBS MOZ_NSPR_CFLAGS MOZ_NSPR_LIBS MOZ_NSS_CFLAGS MOZ_NSS_LIBS MOZILLA_VERSION MOZILLA_TOOLKIT MOZLIBREQ_CFLAGS MOZLIBREQ_LIBS BUILD_MOZAB SYSTEM_MOZILLA MOZ_INC MOZ_LIB MOZ_LIB_XPCOM MOZ_LDAP_CFLAGS SYSTEM_SANE_HEADER X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XINC XLIB SYSTEM_XRENDER_HEADERS XRENDER_LINK XMKMF SYSTEM_NAS NAS_INCLUDES ENABLE_NAS ENABLE_PASF SYSTEM_PORTAUDIO SYSTEM_SNDFILE BUILD_TYPE NEON_CFLAGS NEON_LIBS SYSTEM_NEON AGG_CFLAGS AGG_LIBS SYSTEM_AGG MYSPELL_CFLAGS MYSPELL_LIBS SYSTEM_MYSPELL SYSTEM_HUNSPELL HUNSPELL_CFLAGS SYSTEM_HYPH SYSTEM_MYTHES PSDK_HOME DIRECTXSDK_HOME DIRECTXSDK_LIB NSIS_PATH EXTRA_DOTNET_FILES BISON FLEX PATCH GNUPATCH GNUCP CYGWIN_PATH ML_EXE ASM_HOME ZIP UNZIP ZIP_HOME LIBART_CFLAGS LIBART_LIBS WITH_LIBART WITH_GPC ENABLE_GTK ENABLE_KDE GNOMEVFS_CFLAGS GNOMEVFS_LIBS GCONF_CFLAGS GCONF_LIBS ENABLE_GNOMEVFS GTK_CFLAGS GTK_LIBS GDKPIXBUF_CFLAGS GDKPIXBUF_LIBS MOC KDE_CFLAGS KDE_LIBS LIBSN_CFLAGS LIBSN_LIBS WITH_LIBSN GOBJECT_CFLAGS GOBJECT_LIBS ENABLE_EVOAB2 ENABLE_KAB WITH_FONTOOO SYSTEM_MSPACK WITH_FONTS SCPDEFS WITHOUT_PPDS WITHOUT_AFMS USE_XINERAMA XINERAMA_LINK ANT ANT_HOME ANT_LIB WITH_LANG WITH_DICT ENABLE_STATIC_GTK LOCAL_SOLVER LIBOBJS LTLIBOBJS'
++ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS AWK SED LOCAL_SOLENV UPD SOURCEVERSION build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os OSVERSION PTHREAD_CFLAGS PTHREAD_LIBS ENABLE_CRASHDUMP ENABLE_VCTK VC_STANDARD ENABLE_DEBUG PRODUCT PROFULLSWITCH PROEXT ENABLE_SYMBOLS ENABLE_CUPS ENABLE_FONTCONFIG WITH_BINFILTER ENABLE_DIRECTX NETTOOLKIT ENABLE_RPATH WITH_MYSPELL_DICTS USE_SHELL WITH_MINGWIN TCSH GCC_HOME CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT COMPATH GCCVER HAVE_GCC_VISIBILITY_FEATURE GNUMAKE _cc MSPDB_PATH COMEX MIDL_PATH CSC_PATH NMAKE_PATH FRAME_HOME CPP EGREP PAM_LINK CRYPT_LINK CXX CXXFLAGS ac_ct_CXX GXX_INCLUDE_PATH EXCEPTIONS CXXCPP STLPORT4 USE_SYSTEM_STL ALLOC BUILD_VER_STRING SOLAR_JAVA LANG JAVAINTERPRETER JAVACOMPILER JAVADOC AWTLIB JAVACACHE JAR JAVACMD JAVA_HOME JDK XSLTPROC PERL DMAKE BUILD_DMAKE EPM DPKG PKGMK BUILD_EPM PKGFORMAT RPM SYSTEM_STDLIBS SYSTEM_ZLIB SYSTEM_JPEG SYSTEM_EXPAT PKG_CONFIG FREETYPE_CFLAGS FREETYPE_LIBS SYSTEM_FREETYPE LIBWPD_CFLAGS LIBWPD_LIBS SYSTEM_LIBWPD LIBXML_CFLAGS LIBXML_LIBS SYSTEM_LIBXML PYTHON PYTHON_VERSION PYTHON_PREFIX PYTHON_EXEC_PREFIX PYTHON_PLATFORM pythondir pkgpythondir pyexecdir pkgpyexecdir SYSTEM_PYTHON PYTHON_CFLAGS PYTHON_LIBS SYSTEM_DB DB_VERSION DB_INCLUDES DB_JAR SABLOTCONFIG SYSTEM_SABLOT SABLOT_LIBS CURLCONFIG SYSTEM_CURL CURL_CFLAGS CURL_LIBS SYSTEM_BOOST SYSTEM_ODBC_HEADERS WITH_MOZILLA WITH_OPENLDAP MOZILLAXPCOM_CFLAGS MOZILLAXPCOM_LIBS MOZ_NSPR_CFLAGS MOZ_NSPR_LIBS MOZ_NSS_CFLAGS MOZ_NSS_LIBS MOZILLA_VERSION MOZILLA_TOOLKIT MOZLIBREQ_CFLAGS MOZLIBREQ_LIBS BUILD_MOZAB SYSTEM_MOZILLA MOZ_INC MOZ_LIB MOZ_LIB_XPCOM MOZ_LDAP_CFLAGS SYSTEM_SANE_HEADER X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS XINC XLIB SYSTEM_XRENDER_HEADERS XRENDER_LINK XMKMF SYSTEM_NAS NAS_INCLUDES ENABLE_NAS ENABLE_PASF SYSTEM_PORTAUDIO SYSTEM_SNDFILE BUILD_TYPE NEON_CFLAGS NEON_LIBS SYSTEM_NEON AGG_CFLAGS AGG_LIBS SYSTEM_AGG MYSPELL_CFLAGS MYSPELL_LIBS SYSTEM_MYSPELL SYSTEM_HUNSPELL HUNSPELL_CFLAGS SYSTEM_HYPH SYSTEM_MYTHES PSDK_HOME DIRECTXSDK_HOME DIRECTXSDK_LIB NSIS_PATH EXTRA_DOTNET_FILES BISON FLEX PATCH GNUPATCH GNUCP CYGWIN_PATH ML_EXE ASM_HOME ZIP UNZIP ZIP_HOME LIBART_CFLAGS LIBART_LIBS WITH_LIBART WITH_GPC ENABLE_GTK ENABLE_KDE GNOMEVFS_CFLAGS GNOMEVFS_LIBS GCONF_CFLAGS GCONF_LIBS ENABLE_GNOMEVFS GTK_CFLAGS GTK_LIBS GDKPIXBUF_CFLAGS GDKPIXBUF_LIBS MOC KDE_CFLAGS KDE_LIBS LIBSN_CFLAGS LIBSN_LIBS WITH_LIBSN GOBJECT_CFLAGS GOBJECT_LIBS ENABLE_EVOAB2 ENABLE_KAB WITH_FONTOOO SYSTEM_MSPACK WITH_FONTS SCPDEFS WITHOUT_PPDS WITHOUT_AFMS USE_XINERAMA XINERAMA_LINK ANT ANT_HOME ANT_LIB WITH_LANG WITH_DICT ENABLE_STATIC_GTK LOCAL_SOLVER LIBOBJS LTLIBOBJS'
+ ac_subst_files=''
+
+ # Initialize some variables set by options.
+@@ -7250,9 +7250,14 @@ echo "$as_me: error: $javacompiler not f
+ fi
+
+ if test "$SOLAR_JAVA" != ""; then
++ if test "$JDK" = "gcj"; then
++ javadoc_program=gjdoc
++ else
++ javadoc_program=javadoc
++ fi
+ if test -z "$with_jdk_home"; then
+- # Extract the first word of "javadoc", so it can be a program name with args.
+-set dummy javadoc; ac_word=$2
++ # Extract the first word of "$javadoc_program", so it can be a program name with args.
++set dummy $javadoc_program; ac_word=$2
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_JAVADOC+set}" = set; then
+@@ -7291,12 +7296,12 @@ echo "${ECHO_T}no" >&6
+ fi
+
+ else
+- _javadoc_path="$with_jdk_home/bin/javadoc"
++ _javadoc_path="$with_jdk_home/bin/$javadoc_program"
+ if test -x "$_javadoc_path"; then
+ JAVADOC=$_javadoc_path
+ else
+- # Extract the first word of "javadoc", so it can be a program name with args.
+-set dummy javadoc; ac_word=$2
++ # Extract the first word of "$javadoc_program", so it can be a program name with args.
++set dummy $javadoc_program; ac_word=$2
+ echo "$as_me:$LINENO: checking for $ac_word" >&5
+ echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
+ if test "${ac_cv_path_JAVADOC+set}" = set; then
+@@ -7717,6 +7722,59 @@ echo "$as_me: WARNING: $javacache not fo
+ fi
+ fi
+
++if test "$JDK" = "gcj"; then
++ if test -x "$JAVA_HOME/bin/fastjar"; then
++ JAR="$JAVA_HOME/bin/fastjar";
++ else
++ if test -x "$JAVA_HOME/bin/jar"; then
++ JAR="$JAVA_HOME/bin/jar";
++ else
++ # Extract the first word of "jar", so it can be a program name with args.
++set dummy jar; ac_word=$2
++echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
++if test "${ac_cv_path_JAR+set}" = set; then
++ echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++ case $JAR in
++ [\\/]* | ?:[\\/]*)
++ ac_cv_path_JAR="$JAR" # Let the user override the test with a path.
++ ;;
++ *)
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
++ ac_cv_path_JAR="$as_dir/$ac_word$ac_exec_ext"
++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++done
++
++ ;;
++esac
++fi
++JAR=$ac_cv_path_JAR
++
++if test -n "$JAR"; then
++ echo "$as_me:$LINENO: result: $JAR" >&5
++echo "${ECHO_T}$JAR" >&6
++else
++ echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6
++fi
++
++ fi
++ fi
++JAVACMD=$JAVAINTERPRETER
++
++
++fi
++
+
+
+
+@@ -19533,9 +19591,8 @@ cat > conftest.xml << EOF
+ </target>
+ </project>
+ EOF
+- oldJAVA_HOME=$JAVA_HOME
+ if test "$JDK" = "gcj"; then
+- JAVA_HOME=; export JAVA_HOME
++ JAVACMD="$JAVAINTERPRETER"; export JAVACMD
+ ant_cmd="$ANT -Dbuild.compiler=gcj -buildfile conftest.xml 1>&2"
+ else
+ ant_cmd="$ANT -buildfile conftest.xml 1>&2"
+@@ -19562,9 +19619,9 @@ echo "$as_me: WARNING: Ant does not work
+ ANT_HOME=""
+ echo "Ant does not work - Some Java projects will not build!" >>warn
+ fi
+- JAVA_HOME=$oldJAVA_HOME
+ rm -f conftest* core core.* *.core
+ fi
++
+ if test -z "$ANT_HOME"; then
+ ANT_HOME="NO_ANT_HOME"
+ fi
+@@ -20381,6 +20438,8 @@ s,@JAVACOMPILER@,$JAVACOMPILER,;t t
+ s,@JAVADOC@,$JAVADOC,;t t
+ s,@AWTLIB@,$AWTLIB,;t t
+ s,@JAVACACHE@,$JAVACACHE,;t t
++s,@JAR@,$JAR,;t t
++s,@JAVACMD@,$JAVACMD,;t t
+ s,@JAVA_HOME@,$JAVA_HOME,;t t
+ s,@JDK@,$JDK,;t t
+ s,@XSLTPROC@,$XSLTPROC,;t t
+Index: config_office/configure.in
+===================================================================
+RCS file: /cvs/tools/config_office/configure.in,v
+retrieving revision 1.159
+retrieving revision 1.159.4.5
+diff -u -p -w -r1.159 -r1.159.4.5
+--- config_office/configure.in 28 Feb 2006 16:41:29 -0000 1.159
++++ config_office/configure.in 6 Mar 2006 23:20:25 -0000 1.159.4.5
+@@ -2023,15 +2023,20 @@ dnl ====================================
+ dnl Checks for javadoc
+ dnl ===================================================================
+ if test "$SOLAR_JAVA" != ""; then
++ if test "$JDK" = "gcj"; then
++ javadoc_program=gjdoc
++ else
++ javadoc_program=javadoc
++ fi
+ if test -z "$with_jdk_home"; then
+- AC_PATH_PROG(JAVADOC, javadoc)
++ AC_PATH_PROG(JAVADOC, $javadoc_program)
+ else
+- _javadoc_path="$with_jdk_home/bin/javadoc"
++ _javadoc_path="$with_jdk_home/bin/$javadoc_program"
+ dnl Check if there is a javadoc at all.
+ if test -x "$_javadoc_path"; then
+ JAVADOC=$_javadoc_path
+ else
+- AC_PATH_PROG(JAVADOC, javadoc)
++ AC_PATH_PROG(JAVADOC, $javadoc_program)
+ fi
+ fi
+ if test -z "$JAVADOC"; then
+@@ -2121,6 +2126,24 @@ if test `$JAVACOMPILER --version 2>&1 |
+ fi
+ fi
+
++dnl ===================================================================
++dnl Pass optional environment variable, use if compiler is gcj
++dnl ===================================================================
++if test "$JDK" = "gcj"; then
++ if test -x "$JAVA_HOME/bin/fastjar"; then
++ JAR="$JAVA_HOME/bin/fastjar";
++ else
++ if test -x "$JAVA_HOME/bin/jar"; then
++ JAR="$JAVA_HOME/bin/jar";
++ else
++ AC_PATH_PROG(JAR,jar)
++ fi
++ fi
++JAVACMD=$JAVAINTERPRETER
++AC_SUBST(JAVACMD)
++AC_SUBST(JAR)
++fi
++
+ AC_SUBST(JAVA_HOME)
+ AC_SUBST(JDK)
+ AC_SUBST(JAVAINTERPRETER)
+@@ -4322,9 +4345,8 @@ cat > conftest.xml << EOF
+ </target>
+ </project>
+ EOF
+- oldJAVA_HOME=$JAVA_HOME
+ if test "$JDK" = "gcj"; then
+- JAVA_HOME=; export JAVA_HOME
++ JAVACMD="$JAVAINTERPRETER"; export JAVACMD
+ ant_cmd="$ANT -Dbuild.compiler=gcj -buildfile conftest.xml 1>&2"
+ else
+ ant_cmd="$ANT -buildfile conftest.xml 1>&2"
+@@ -4345,9 +4367,9 @@ EOF
+ ANT_HOME=""
+ echo "Ant does not work - Some Java projects will not build!" >>warn
+ fi
+- JAVA_HOME=$oldJAVA_HOME
+ rm -f conftest* core core.* *.core
+ fi
++
+ if test -z "$ANT_HOME"; then
+ ANT_HOME="NO_ANT_HOME"
+ fi
+Index: config_office/set_soenv.in
+===================================================================
+RCS file: /cvs/tools/config_office/set_soenv.in,v
+retrieving revision 1.92
+retrieving revision 1.92.4.3
+diff -u -p -w -r1.92 -r1.92.4.3
+--- config_office/set_soenv.in 28 Feb 2006 10:41:43 -0000 1.92
++++ config_office/set_soenv.in 4 Mar 2006 08:04:38 -0000 1.92.4.3
+@@ -1696,6 +1696,8 @@ if ( '@JDK@' ne '' )
+ ToFile( "JAVAINTERPRETER", "@JAVAINTERPRETER@","e" );
+ ToFile( "JAVACOMPILER", "@JAVACOMPILER@", "e" );
+ ToFile( "JAVADOC", "@JAVADOC@", "e" );
++ ToFile( "JAVACMD", "@JAVACMD@", "e" );
++ ToFile( "JAR", "@JAR@", "e" );
+ }
+ if ( $platform =~ m/darwin/ )
+ { ToFile( "DYLD_LIBRARY_PATH", $LD_LIBRARY_PATH, "e" );
+? berkeleydb/unxfbsd.pro
+Index: berkeleydb/makefile.mk
+===================================================================
+RCS file: /cvs/external/berkeleydb/makefile.mk,v
+retrieving revision 1.30
+retrieving revision 1.30.6.2
+diff -u -p -w -r1.30 -r1.30.6.2
+--- berkeleydb/makefile.mk 13 Jan 2006 16:23:55 -0000 1.30
++++ berkeleydb/makefile.mk 4 Mar 2006 10:56:19 -0000 1.30.6.2
+@@ -86,6 +86,10 @@ CONFIGURE_ACTION= \
+ CONFIGURE_FLAGS=--disable-cxx --enable-dynamic --enable-shared --enable-compat185
+ .IF "$(SOLAR_JAVA)"!=""
+ CONFIGURE_FLAGS+=--enable-java
++.IF "$(JDK)"=="gcj"
++JAVA:=$(JAVAINTERPRETER)
++.EXPORT : JAVA
++.ENDIF
+ .ENDIF
+
+ BUILD_DIR=$(CONFIGURE_DIR)
+? qadevOOo/unxfbsd.pro
+Index: qadevOOo/runner/makefile.mk
+===================================================================
+RCS file: /cvs/qa/qadevOOo/runner/makefile.mk,v
+retrieving revision 1.11
+retrieving revision 1.11.12.1
+diff -u -p -w -r1.11 -r1.11.12.1
+--- qadevOOo/runner/makefile.mk 2 Nov 2005 17:40:11 -0000 1.11
++++ qadevOOo/runner/makefile.mk 4 Mar 2006 04:49:22 -0000 1.11.12.1
+@@ -54,13 +54,17 @@ OWNJAR: ALLTAR
+
+ .INCLUDE : target.mk
+
++.IF "$(JAR)"==""
++JAR=jar
++.ENDIF
++
+ # LLA: parameter v is only verbose, need too long!
+ OWNJAR: LIGHT
+- +jar cfm $(CLASSDIR)$/$(TARGET).jar manifest -C $(PRJ) objdsc $(JARCOMMANDS_TESTS) $(JARCOMMANDS_RUNNER)
++ +$(JAR) cfm $(CLASSDIR)$/$(TARGET).jar manifest -C $(PRJ) objdsc $(JARCOMMANDS_TESTS) $(JARCOMMANDS_RUNNER)
+
+ # LLA: parameter v is only verbose, need too long!
+ LIGHT:
+- +jar cfm $(CLASSDIR)$/$(TARGET)Light.jar manifest $(JARCOMMANDS_RUNNER)
++ +$(JAR) cfm $(CLASSDIR)$/$(TARGET)Light.jar manifest $(JARCOMMANDS_RUNNER)
+
+ .ELSE
+ all:
diff --git a/editors/openoffice-3/files/patch-psprint-i62535 b/editors/openoffice-3/files/patch-psprint-i62535
new file mode 100644
index 000000000000..17f958c1ce47
--- /dev/null
+++ b/editors/openoffice-3/files/patch-psprint-i62535
@@ -0,0 +1,65 @@
+--- config_office/configure 2006-02-24 23:17:16.000000000 +0100
++++ config_office/configure 2006-02-25 08:53:26.000000000 +0100
+@@ -19833,13 +19833,13 @@
+ echo "$as_me:$LINENO: checking whether to include PPDs" >&5
+ echo $ECHO_N "checking whether to include PPDs... $ECHO_C" >&6
+ if test "$without_ppds" = "yes"; then
+- echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-else
+ echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ WITHOUT_PPDS=YES
+ SCPDEFS="$SCPDEFS -DWITHOUT_PPDS"
++else
++ echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
+ fi
+
+
+@@ -19847,13 +19847,13 @@
+ echo "$as_me:$LINENO: checking whether to include AFMs" >&5
+ echo $ECHO_N "checking whether to include AFMs... $ECHO_C" >&6
+ if test "$without_afms" = "yes"; then
+- echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6
+-else
+ echo "$as_me:$LINENO: result: no" >&5
+ echo "${ECHO_T}no" >&6
+ WITHOUT_AFMS=YES
+ SCPDEFS="$SCPDEFS -DWITHOUT_AFMS"
++else
++ echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6
+ fi
+
+
+--- config_office/configure.in 2006-02-24 23:17:16.000000000 +0100
++++ config_office/configure.in 2006-02-25 08:52:23.000000000 +0100
+@@ -4172,22 +4172,22 @@
+
+ AC_MSG_CHECKING([whether to include PPDs])
+ if test "$without_ppds" = "yes"; then
+- AC_MSG_RESULT([yes])
+-else
+ AC_MSG_RESULT([no])
+ WITHOUT_PPDS=YES
+ SCPDEFS="$SCPDEFS -DWITHOUT_PPDS"
++else
++ AC_MSG_RESULT([yes])
+ fi
+ AC_SUBST(WITHOUT_PPDS)
+ AC_SUBST(SCPDEFS)
+
+ AC_MSG_CHECKING([whether to include AFMs])
+ if test "$without_afms" = "yes"; then
+- AC_MSG_RESULT([yes])
+-else
+ AC_MSG_RESULT([no])
+ WITHOUT_AFMS=YES
+ SCPDEFS="$SCPDEFS -DWITHOUT_AFMS"
++else
++ AC_MSG_RESULT([yes])
+ fi
+ AC_SUBST(WITHOUT_AFMS)
+ AC_SUBST(SCPDEFS)