1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs synced 2024-10-19 03:47:13 -04:00
nixpkgs/pkgs/applications/office/openoffice/default.nix
Eelco Dolstra 5b220fb397 * Some more attempts at getting OpenOffice (2.2.1) to build.
It compiles now, but I haven't figure out how to do the
  equivalent of a "make install".  But you can build with -K
  and then do

  $ cd /tmp/nix-.../OOF680_m18/instsetoo_native/util
  $ dmake openoffice_en-US PKGFORMAT=archive
  
  and you get a big tarball in 

  /tmp/nix-.../OOF680_m18/instsetoo_native/unxlngi6.pro/OpenOffice/archive/install/en-US

  that you can unpack anywhere to get a more-or-less working OpenOffice.

svn path=/nixpkgs/trunk/; revision=9257
2007-09-05 13:56:12 +00:00

58 lines
1.5 KiB
Nix

{ stdenv, fetchurl, 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, getopt, file, jre, cairo, which
, icu, boost
}:
stdenv.mkDerivation {
name = "openoffice.org-2.2.1";
builder = ./builder.sh;
src = fetchurl {
url = ftp://ftp.nluug.nl/pub/office/openoffice/stable/2.2.1/OOo_2.2.1_src_core.tar.bz2;
sha256 = "1mn7p68m6z3rlwm2ynvvbzz2idpyds2hjmwlhycfsp1gi644ridd";
};
configureFlags = "
--with-package-format=native
--disable-cups
--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
--without-afms
--without-dict
--without-fonts
--without-java
--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
";
buildInputs = [
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
getopt file jre cairo which icu boost
];
inherit icu;
}