2007-07-18 18:45:07 +02:00
|
|
|
{ stdenv, fetchurl, pam, python, tcsh, libxslt, perl, perlArchiveZip
|
|
|
|
, perlCompressZlib, zlib, libjpeg, expat, pkgconfig, freetype, libwpd
|
|
|
|
, libxml2, db4, sablotron, curl, libXaw, fontconfig, libsndfile, neon
|
2007-09-10 16:03:01 +02:00
|
|
|
, bison, flex, zip, unzip, gtk, libmspack, getopt, file, cairo, which
|
|
|
|
, icu, boost, jdk, ant, hsqldb, libXext, libX11, libXtst, libXi, cups
|
2007-09-05 15:56:12 +02:00
|
|
|
}:
|
2005-10-25 20:01:13 +02:00
|
|
|
|
2007-09-06 17:57:34 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2007-09-05 15:56:12 +02:00
|
|
|
name = "openoffice.org-2.2.1";
|
2005-10-25 20:01:13 +02:00
|
|
|
builder = ./builder.sh;
|
2007-09-05 15:56:12 +02:00
|
|
|
|
2005-10-25 20:01:13 +02:00
|
|
|
src = fetchurl {
|
2007-09-05 15:56:12 +02:00
|
|
|
url = ftp://ftp.nluug.nl/pub/office/openoffice/stable/2.2.1/OOo_2.2.1_src_core.tar.bz2;
|
|
|
|
sha256 = "1mn7p68m6z3rlwm2ynvvbzz2idpyds2hjmwlhycfsp1gi644ridd";
|
2005-10-25 20:01:13 +02:00
|
|
|
};
|
2007-07-18 18:45:07 +02:00
|
|
|
|
2007-09-05 15:56:12 +02:00
|
|
|
configureFlags = "
|
|
|
|
--with-package-format=native
|
|
|
|
--disable-epm
|
|
|
|
--disable-fontooo
|
|
|
|
--disable-gnome-vfs
|
|
|
|
--disable-gnome-vfs
|
|
|
|
--disable-mathmldtd
|
|
|
|
--disable-mozilla
|
|
|
|
--disable-odk
|
|
|
|
--disable-pasf
|
|
|
|
--disable-qadevooo
|
|
|
|
--with-cairo
|
|
|
|
--with-system-libs
|
|
|
|
--with-system-python
|
|
|
|
--with-system-boost
|
2007-09-06 17:31:41 +02:00
|
|
|
--with-jdk-home=${jdk}
|
|
|
|
--with-ant-home=${ant}
|
2007-09-05 15:56:12 +02:00
|
|
|
--without-afms
|
|
|
|
--without-dict
|
|
|
|
--without-fonts
|
|
|
|
--without-myspell-dicts
|
|
|
|
--without-nas
|
|
|
|
--without-ppds
|
|
|
|
--without-system-agg
|
|
|
|
--without-system-beanshell
|
|
|
|
--without-system-hsqldb
|
|
|
|
--without-system-xalan
|
|
|
|
--without-system-xerces
|
|
|
|
--without-system-xml-apis
|
|
|
|
--without-system-xt
|
2007-09-06 17:31:41 +02:00
|
|
|
--without-system-db
|
2007-09-06 18:51:14 +02:00
|
|
|
--with-system-hsqldb
|
2007-09-06 17:57:34 +02:00
|
|
|
--with-hsqldb-jar=${hsqldb}/lib/hsqldb.jar
|
2007-09-05 15:56:12 +02:00
|
|
|
";
|
|
|
|
|
2007-09-07 09:08:20 +02:00
|
|
|
LD_LIBRARY_PATH = "${libXext}/lib:${libX11}/lib:${libXtst}/lib:${libXi}/lib:${libjpeg}/lib";
|
2007-09-06 17:57:34 +02:00
|
|
|
|
2007-09-06 17:31:41 +02:00
|
|
|
buildInputs = [
|
2007-09-05 15:56:12 +02:00
|
|
|
pam python tcsh libxslt perl perlArchiveZip perlCompressZlib zlib
|
|
|
|
libjpeg expat pkgconfig freetype libwpd libxml2 db4 sablotron curl
|
|
|
|
libXaw fontconfig libsndfile neon bison flex zip unzip gtk libmspack
|
2007-09-06 20:51:10 +02:00
|
|
|
getopt file jdk cairo which icu boost libXext libX11 libXtst libXi
|
2007-09-10 16:03:01 +02:00
|
|
|
cups
|
2007-09-05 15:56:12 +02:00
|
|
|
];
|
|
|
|
|
2007-09-10 16:03:01 +02:00
|
|
|
inherit icu fontconfig libjpeg jdk cups;
|
2007-09-06 17:00:33 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "OpenOffice.org is a multiplatform and multilingual office suite";
|
|
|
|
homepage = http://www.openoffice.org/;
|
|
|
|
license = "LGPL";
|
|
|
|
};
|
2005-10-25 20:01:13 +02:00
|
|
|
}
|