diff options
author | jedgar <jedgar@FreeBSD.org> | 2000-08-25 21:48:08 +0800 |
---|---|---|
committer | jedgar <jedgar@FreeBSD.org> | 2000-08-25 21:48:08 +0800 |
commit | d54ca814786af0268974f11a6382800440714093 (patch) | |
tree | d2452b8fbf8aadbe10f2f36f7fc90178fcf326ca /german | |
parent | e8cc3d24cb5c4732774697d768c9cfe0defe2068 (diff) | |
download | freebsd-ports-graphics-d54ca814786af0268974f11a6382800440714093.tar.gz freebsd-ports-graphics-d54ca814786af0268974f11a6382800440714093.tar.zst freebsd-ports-graphics-d54ca814786af0268974f11a6382800440714093.zip |
- Add DISPLAY functionality to keep StarOffice from crashing during
installation and startup
- Make a few cosmetic fixes to the Makefile(s)
Submitted by: Martin Blapp <mb@imp.ch> (Maintainer)
Diffstat (limited to 'german')
-rw-r--r-- | german/staroffice52/Makefile | 47 | ||||
-rw-r--r-- | german/staroffice52/files/setup.patch | 14 | ||||
-rw-r--r-- | german/staroffice52/files/soffice.patch | 14 | ||||
-rw-r--r-- | german/staroffice70/Makefile | 44 | ||||
-rw-r--r-- | german/staroffice70/files/setup.patch | 12 | ||||
-rw-r--r-- | german/staroffice70/files/soffice.patch | 12 |
6 files changed, 108 insertions, 35 deletions
diff --git a/german/staroffice52/Makefile b/german/staroffice52/Makefile index f0bafbcd1c5..5976a73b490 100644 --- a/german/staroffice52/Makefile +++ b/german/staroffice52/Makefile @@ -23,23 +23,46 @@ NO_BUILD= yes DIST_SUBDIR= staroffice52 WRKSRC= ${WRKDIR}/office52 TMPDIR= ${WRKDIR}/tmp +ADEBAS= soa-5_2-ga-bin-linux-de.bin .include <bsd.port.pre.mk> -# -# Staroffice benötigt einen System-Patch der erst -# in FreeBSD 4.1 verfügbar ist. Bitte bringen Sie ihr -# System auf den neuesten Stand. -# +pre-fetch: .if ${OSVERSION} < 410000 -BROKEN= YES + @${ECHO} + @${ECHO} OS-VERSION ${OSVERSION} + @${ECHO} + @${ECHO} Staroffice benötigt einen System-Patch der erst + @${ECHO} seit FreeBSD 4.1 verfügbar ist. Bitte bringen Sie ihr + @${ECHO} System auf den neuesten Stand. + @${ECHO} + @${FALSE} .endif - .if defined(WITH_CDROM) -IGNORE= "Bitte mounten Sie die Sun StarOffice 5.2 CDROM nach /cdrom and starten Sie make erneut." -.else # FTP/web download + @${ECHO} + @${ECHO} Bitte mounten Sie die Sun StarOffice 5.2 CDROM + @${ECHO} nach /cdrom and starten Sie make erneut. + @${ECHO} + @${FALSE} +.else +.if !exists(${_DISTDIR}) + @${MKDIR} ${_DISTDIR} +.endif .if !exists(${_DISTDIR}/${DISTNAME}) -IGNORE="Bitte laden Sie ${DISTNAME} manuell von http://www.sun.com/staroffice herunter. Kopieren Sie ${DISTNAME} in das Verzeichnis ${_DISTDIR} und starten Sie make erneut. Wenn Sie die StarOffice 5.2 CDROM besitzen, koennen Sie auch 'make WITH_CDROM=yes' ausfuehren." + @${ECHO} + @${ECHO} Bitte laden Sie ${DISTFILES} manuell + @${ECHO} von http://www.sun.com/staroffice herunter. + @${ECHO} + @${ECHO} ${ADEBAS} ist das Datenbank-Modul für Staroffice. + @${ECHO} + @${ECHO} Kopieren Sie ${DISTFILES} + @${ECHO} in das bereits erstellte Verzeichnis ${_DISTDIR} + @${ECHO} und starten Sie make erneut. + @${ECHO} + @${ECHO} Wenn Sie die StarOffice 5.2 CDROM besitzen, + @${ECHO} koennen Sie auch 'make WITH_CDROM=yes' ausfuehren. + @${ECHO} + @${FALSE} .endif .endif @@ -65,7 +88,7 @@ do-extract: @${CHMOD} 755 ${WRKSRC}/${DISTNAME} @${CHMOD} 755 ${WRKSRC}/soa-5_2-ga-bin-linux-de.bin @cd ${WRKSRC} - @${WRKSRC}/${DISTNAME} -extract ${WRKSRC} + @SAL_IGNOREXERRORS=1 ${WRKSRC}/${DISTNAME} -extract ${WRKSRC} @cd ../../ .endif @@ -85,7 +108,7 @@ do-install: @${LN} -fs /compat/linux/usr/local/office52 ${PREFIX}/office52 .endif @${CAT} ${PKGDIR}/MESSAGE - @-TEMP=${TMPDIR} /compat/linux/bin/sh -c '${WRKSRC}/setup /net' + @-SAL_IGNOREXERRORS=1 TEMP=${TMPDIR} /compat/linux/bin/sh -c '${WRKSRC}/setup /net' @ ${ECHO} @ ${ECHO} Ignorieren Sie die Fehlermeldung. StarOffice5.2 wurde erfolgreich @ ${ECHO} auf Ihrem System installiert. diff --git a/german/staroffice52/files/setup.patch b/german/staroffice52/files/setup.patch index 5f6b0b69a7e..fa3641b6a7e 100644 --- a/german/staroffice52/files/setup.patch +++ b/german/staroffice52/files/setup.patch @@ -1,8 +1,18 @@ ---- setup.orig Wed Aug 23 00:02:57 2000 -+++ setup Wed Aug 23 00:03:11 2000 +--- setup.orig Fri Aug 25 12:04:52 2000 ++++ setup Fri Aug 25 12:00:21 2000 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/compat/linux/bin/sh # # StarOffice patch checking script # (c) 2000, Sun Microsystems Inc. +@@ -9,6 +9,9 @@ + SCO_SV) test=/bin/test ;; + *) test=/usr/bin/test ;; + esac ++ ++# fix coredump on remote DISPLAY (IRIX) ++export SAL_IGNOREXERRORS=1 + + sd_cwd="`pwd`" + if $test -L "$0" ; then diff --git a/german/staroffice52/files/soffice.patch b/german/staroffice52/files/soffice.patch index 62dc300be29..a96b1eedcb7 100644 --- a/german/staroffice52/files/soffice.patch +++ b/german/staroffice52/files/soffice.patch @@ -1,8 +1,18 @@ ---- new Wed Aug 23 00:09:46 2000 -+++ soffice Tue Aug 22 23:58:14 2000 +--- soffice.orig Fri Aug 25 12:05:30 2000 ++++ soffice Fri Aug 25 12:00:54 2000 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/compat/linux/bin/sh # # StarOffice startup script # (c) 1999 Sun Microsystems, Inc. +@@ -7,6 +7,9 @@ + # STAR_PROFILE_LOCKING_DISABLED=1 + # export STAR_PROFILE_LOCKING_DISABLED + # ++ ++# fix coredump on remote DISPLAY (IRIX) ++export SAL_IGNOREXERRORS=1 + + # uncomment this to remote start soffice on hostname + # SO_REMOTE_START=rsh diff --git a/german/staroffice70/Makefile b/german/staroffice70/Makefile index 1bc196999aa..415da7fe386 100644 --- a/german/staroffice70/Makefile +++ b/german/staroffice70/Makefile @@ -23,24 +23,42 @@ NO_BUILD= yes DIST_SUBDIR= staroffice52 WRKSRC= ${WRKDIR}/office52 TMPDIR= ${WRKDIR}/tmp +ADEBAS= soa-5_2-ga-bin-linux-en.bin .include <bsd.port.pre.mk> -# -# Staroffice depends on a scripting fix for -# src/sys/i386/linux/linux_sysvec. It should -# be revision 1.55.2.1 or higher. Please upgrade -# to FreeBSD 4.1 -# +pre-fetch: .if ${OSVERSION} < 410000 -BROKEN= YES + @${ECHO} + @${ECHO} OS-VERSION ${OSVERSION} + @${ECHO} + @${ECHO} Staroffice depends on a scripting fix for + @${ECHO} src/sys/i386/linux/linux_sysvec. It should + @${ECHO} be revision 1.55.2.1 or higher. + @${ECHO} + @${ECHO} Please upgrade to FreeBSD 4.1 + @${ECHO} + @${FALSE} .endif - .if defined(WITH_CDROM) -IGNORE= "Please mount the Sun StarOffice 5.2 CDROM onto /cdrom and run make again." -.else # FTP/web download + @${ECHO} + @${ECHO} Please mount the Sun StarOffice 5.2 CDROM + @${ECHO} onto /cdrom and run make again. + @${ECHO} + @${FALSE} +.else .if !exists(${_DISTDIR}/${DISTNAME}) -IGNORE="Please manually download ${DISTNAME} from http://www.sun.com/staroffice. Put ${DISTNAME} into the directory ${_DISTDIR} and run make again. Or, if you have the Sun StarOffice 5.2 CDROM, please run 'make USE_CDROM=yes'" + @${ECHO} Please manually download ${DISTFILES} + @${ECHO} from http://www.sun.com/staroffice. + @${ECHO} + @${ECHO} ${ADEBAS} is the database part of Staroffice. + @${ECHO} + @${ECHO} Put ${DISTFILES} into the directory + @${ECHO} ${_DISTDIR} and run make again. + @${ECHO} Or, if you have the Sun StarOffice 5.2 CDROM, + @${ECHO} please run 'make USE_CDROM=yes' + @${ECHO} + @${FALSE} .endif .endif @@ -65,7 +83,7 @@ do-extract: @${CHMOD} 755 ${WRKSRC}/${DISTNAME} @${CHMOD} 755 ${WRKSRC}/soa-5_2-ga-bin-linux-en.bin @cd ${WRKSRC} - @${WRKSRC}/${DISTNAME} -extract ${WRKSRC} + @SAL_IGNOREXERRORS=1 ${WRKSRC}/${DISTNAME} -extract ${WRKSRC} @cd ../../ .endif @@ -84,7 +102,7 @@ do-install: @${LN} -fs /compat/linux/usr/local/office52 ${PREFIX}/office52 .endif @${CAT} ${PKGDIR}/MESSAGE - @-TEMP=${TMPDIR} /compat/linux/bin/sh -c '${WRKSRC}/setup /net' + @-SAL_IGNOREXERRORS=1 TEMP=${TMPDIR} /compat/linux/bin/sh -c '${WRKSRC}/setup /net' @ ${ECHO} @ ${ECHO} Ignore the error-message. StarOffice5.2 has been installed @ ${ECHO} successfully on your system. diff --git a/german/staroffice70/files/setup.patch b/german/staroffice70/files/setup.patch index 5f6b0b69a7e..0316f6476df 100644 --- a/german/staroffice70/files/setup.patch +++ b/german/staroffice70/files/setup.patch @@ -1,8 +1,14 @@ ---- setup.orig Wed Aug 23 00:02:57 2000 -+++ setup Wed Aug 23 00:03:11 2000 -@@ -1,4 +1,4 @@ +--- setup.orig Mon May 8 08:20:00 2000 ++++ setup.new Fri Aug 25 15:16:12 2000 +@@ -1,7 +1,10 @@ -#!/bin/sh +#!/compat/linux/bin/sh # # StarOffice patch checking script # (c) 2000, Sun Microsystems Inc. ++ ++# fix coredump on remote DISPLAY (IRIX) ++export SAL_IGNOREXERRORS=1 + + # resolve installation directory + sd_platform=`uname -s` diff --git a/german/staroffice70/files/soffice.patch b/german/staroffice70/files/soffice.patch index 62dc300be29..f65b9ed73ff 100644 --- a/german/staroffice70/files/soffice.patch +++ b/german/staroffice70/files/soffice.patch @@ -1,8 +1,14 @@ ---- new Wed Aug 23 00:09:46 2000 -+++ soffice Tue Aug 22 23:58:14 2000 -@@ -1,4 +1,4 @@ +--- soffice Mon May 8 08:20:00 2000 ++++ soffice.new Fri Aug 25 15:19:40 2000 +@@ -1,7 +1,10 @@ -#!/bin/sh +#!/compat/linux/bin/sh # # StarOffice startup script # (c) 1999 Sun Microsystems, Inc. ++ ++# fix coredump on remote DISPLAY (IRIX) ++export SAL_IGNOREXERRORS=1 + + # + # STAR_PROFILE_LOCKING_DISABLED=1 |