From 9d7df2c6ad2dccf16abd834551d74884fea9d542 Mon Sep 17 00:00:00 2001 From: Armijn Hemel Date: Tue, 25 Oct 2005 23:29:16 +0000 Subject: [PATCH] more dependencies, use a lot of system packages instead of using the tarballs that are in the OOo2 source dist. It seems the only things missing in the tarball are a kernel (but it has to be cross platform) and emacs... Gah, BLOAT! svn path=/nixpkgs/trunk/; revision=4135 --- pkgs/applications/office/openoffice/builder.sh | 2 +- pkgs/applications/office/openoffice/default.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/office/openoffice/builder.sh b/pkgs/applications/office/openoffice/builder.sh index 3e7d349acab..8a42f18cfbb 100644 --- a/pkgs/applications/office/openoffice/builder.sh +++ b/pkgs/applications/office/openoffice/builder.sh @@ -2,7 +2,7 @@ source $stdenv/setup configurePhase() { cd config_office/; - ./configure; + ./configure --disable-epm --disable-odk --with-java=no --disable-cups --with-system-libs --with-system-python --disable-mozilla; } configurePhase=configurePhase; diff --git a/pkgs/applications/office/openoffice/default.nix b/pkgs/applications/office/openoffice/default.nix index a0d3aa078b7..3c71bf7352d 100644 --- a/pkgs/applications/office/openoffice/default.nix +++ b/pkgs/applications/office/openoffice/default.nix @@ -1,4 +1,4 @@ -{stdenv, fetchurl, tcsh, cups, pam}: +{stdenv, fetchurl, pam, python, tcsh, libxslt}: stdenv.mkDerivation { name = "openoffice.org-2.0.0"; @@ -7,5 +7,5 @@ stdenv.mkDerivation { url = ftp://ftp.nluug.nl/pub/office/openoffice/stable/2.0.0/OOo_2.0.0_src.tar.gz; md5 = "a68933afc2bf432d11b2043ac99ba0aa"; }; - buildInputs = [tcsh cups pam]; + buildInputs = [pam python tcsh libxslt]; }