forked from mirrors/nixpkgs
now builds on x86_64-linux as well
svn path=/nixpkgs/trunk/; revision=9829
This commit is contained in:
parent
30669073d5
commit
70decf6b0e
|
@ -10,7 +10,17 @@ stdenv.mkDerivation rec {
|
|||
name = "openoffice.org-2.3.0";
|
||||
builder = ./builder.sh;
|
||||
|
||||
src = fetchurl {
|
||||
src =
|
||||
#if (stdenv.system == "i686-linux") then
|
||||
#fetchurl {
|
||||
# stable 2.3.0 is failing - got the tip on the mailinglist to have look
|
||||
# at http://www.openoffice.org/issues/show_bug.cgi?id=74751
|
||||
# now I'm trying snapshot because it should already have this patch
|
||||
#url = http://ftp.ussg.iu.edu/openoffice/contrib/rc/2.3.1rc1/OOo_2.3.1rc1_src_core.tar.bz2;
|
||||
#name = "OOo_2.3.1_src_core.tar.bz2";
|
||||
#sha256 = "";
|
||||
#} else
|
||||
fetchurl {
|
||||
url = http://openoffice.bouncer.osuosl.org/?product=OpenOffice.org&os=src_bzip&lang=core&version=2.3.0;
|
||||
name = "OOo_2.3.0_src_core.tar.bz2";
|
||||
sha256 = "0mkxn9qj3f03rjkmxc4937gr2w429hnxzb9j5j2grdknfga5a1c3";
|
||||
|
@ -63,7 +73,14 @@ stdenv.mkDerivation rec {
|
|||
|
||||
inherit icu fontconfig libjpeg jdk cups;
|
||||
|
||||
# libawt_problem see http://www.openoffice.org/issues/show_bug.cgi?id=74751
|
||||
# Can be removed in newer releases than 2.3.0
|
||||
patch_file = ./libawt_problem;
|
||||
patches = [./ooo-libtextcat.patch ];
|
||||
patchPhase = "
|
||||
patch config_office/set_soenv.in \$patch_file
|
||||
unset patchPhase; patchPhase;
|
||||
";
|
||||
|
||||
meta = {
|
||||
description = "OpenOffice.org is a multiplatform and multilingual office suite";
|
||||
|
|
10
pkgs/applications/office/openoffice/libawt_problem
Normal file
10
pkgs/applications/office/openoffice/libawt_problem
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- config_office/set_soenv.in 2007-02-21 16:31:51.000000000 +0100
|
||||
+++ config_office/set_soenv.in.new 2007-02-21 20:37:17.000000000 +0100
|
||||
@@ -426,6 +426,7 @@
|
||||
$OUTPATH = "unxlngx6";
|
||||
# Blackdown.org JDK porting project uses `amd64' and `server' in JDK 1.4.2 RC1
|
||||
$JRELIBDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."amd64";
|
||||
+ $JREEXTRALIBDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."amd64".$ds."xawt";
|
||||
$JRETOOLKITDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."amd64".$ds."server";
|
||||
$JRETHREADDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."amd64".$ds."native_threads";
|
||||
}
|
Loading…
Reference in a new issue