diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-05-18 20:57:00 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-05-18 20:57:00 +0000 |
commit | 84f61fadd1e488b951350da015e26a5e1db4c384 (patch) | |
tree | 98f81fd3ae40b6ef860fad2e4001b26b2d1f2879 | |
parent | ad1684ae13136daf4aa54a6b970b062b1e30fede (diff) | |
download | nixlib-84f61fadd1e488b951350da015e26a5e1db4c384.tar nixlib-84f61fadd1e488b951350da015e26a5e1db4c384.tar.gz nixlib-84f61fadd1e488b951350da015e26a5e1db4c384.tar.bz2 nixlib-84f61fadd1e488b951350da015e26a5e1db4c384.tar.lz nixlib-84f61fadd1e488b951350da015e26a5e1db4c384.tar.xz nixlib-84f61fadd1e488b951350da015e26a5e1db4c384.tar.zst nixlib-84f61fadd1e488b951350da015e26a5e1db4c384.zip |
OpenOffice.org update attempt to 3.2.0 - maybe it will work
I'll wait for the hydra report. svn path=/nixpkgs/trunk/; revision=21850
-rw-r--r-- | pkgs/applications/office/openoffice/default.nix | 19 | ||||
-rw-r--r-- | pkgs/applications/office/openoffice/oo.patch | 26 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 3 |
3 files changed, 29 insertions, 19 deletions
diff --git a/pkgs/applications/office/openoffice/default.nix b/pkgs/applications/office/openoffice/default.nix index 2916a48efbfd..f1682f219758 100644 --- a/pkgs/applications/office/openoffice/default.nix +++ b/pkgs/applications/office/openoffice/default.nix @@ -6,7 +6,7 @@ , libXinerama, openssl, gperf, cppunit, GConf, ORBit2 }: -let version = "3.1.1"; in +let version = "3.2.0"; in stdenv.mkDerivation rec { name = "openoffice.org-${version}"; builder = ./builder.sh; @@ -17,16 +17,20 @@ stdenv.mkDerivation rec { src = fetchurl { url = "${downloadRoot}/${if versionDirs then version + "/" else ""}OOo_${version}_src_core.tar.bz2"; - sha256 = "95440f09f8dce616178b86b26af8e543c869d01579207aa68e8474019b59caca"; + sha256 = "0jl14rxmvhz86jlhhwqlbr9nfi9p271aknqxada9775qfm6bjjml"; }; - patches = [ ./oo.patch ./OOo-3.1.1-HEADERFIX-1.patch ./root-required.patch ]; + patches = [ ./oo.patch ./root-required.patch ]; src_system = fetchurl { url = "${downloadRoot}/${if versionDirs then version + "/" else ""}OOo_${version}_src_system.tar.bz2"; - sha256 = "bb4a440ca91a40cd2b5692abbc19e8fbd3d311525edb266dc5cd9ebc324f2b4a"; + sha256 = "0nihw4iyh9qc188dkyfjr3zvp6ym6i1spm16j0cyh5rgxcrn6ycp"; }; + preConfigure = '' + PATH=$PATH:${icu}/sbin + ''; + configureFlags = " --with-package-format=native --disable-epm @@ -41,6 +45,7 @@ stdenv.mkDerivation rec { --with-system-libs --with-system-python --with-system-boost + --with-system-db --with-jdk-home=${jdk} --with-ant-home=${ant} --without-afms @@ -56,7 +61,6 @@ stdenv.mkDerivation rec { --without-system-xerces --without-system-xml-apis --without-system-xt - --without-system-db --without-system-jars --without-system-hunspell --without-system-altlinuxhyph @@ -64,6 +68,11 @@ stdenv.mkDerivation rec { --without-system-graphite "; + # Double make - I don't know why a single make reports error, and two, do not. + buildPhase = '' + make || make + ''; + LD_LIBRARY_PATH = "${libXext}/lib:${libX11}/lib:${libXtst}/lib:${libXi}/lib:${libjpeg}/lib"; buildInputs = [ diff --git a/pkgs/applications/office/openoffice/oo.patch b/pkgs/applications/office/openoffice/oo.patch index 1b8234e6d61e..e759fcdc2d4f 100644 --- a/pkgs/applications/office/openoffice/oo.patch +++ b/pkgs/applications/office/openoffice/oo.patch @@ -1,5 +1,5 @@ diff --git a/libtextcat/makefile.mk b/libtextcat/makefile.mk -index 602b9b1..6be8427 100644 +index 74c64bf..fbf8d21 100644 --- a/libtextcat/makefile.mk +++ b/libtextcat/makefile.mk @@ -57,7 +57,7 @@ ADDITIONAL_FILES= \ @@ -8,46 +8,46 @@ index 602b9b1..6be8427 100644 #relative to CONFIGURE_DIR -CONFIGURE_ACTION=configure CFLAGS="$(ARCH_FLAGS) $(EXTRA_CFLAGS)" +CONFIGURE_ACTION=configure CFLAGS="$(ARCH_FLAGS) $(EXTRA_CFLAGS)" --prefix=$(TMPDIR) - CONFIGURE_FLAGS= + CONFIGURE_FLAGS=$(eq,$(OS),MACOSX CPPFLAGS="$(EXTRA_CDEFS)" $(NULL)) BUILD_ACTION=make diff --git a/redland/raptor/makefile.mk b/redland/raptor/makefile.mk -index 0e64d50..547d66b 100644 +index 0d92de9..aae3b4f 100644 --- a/redland/raptor/makefile.mk +++ b/redland/raptor/makefile.mk -@@ -104,7 +104,7 @@ XSLTLIB:=$(XSLTLIB) - +@@ -130,7 +130,7 @@ XSLTLIB!:=$(XSLTLIB) # expand dmake variables for xslt-config CONFIGURE_DIR= CONFIGURE_ACTION=.$/configure --CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-threads --with-openssl-digests --with-xml-parser=libxml --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --with-regex-library=posix --with-decimal=none --with-www=xml -+CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-threads --with-openssl-digests --with-xml-parser=libxml --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --with-regex-library=posix --with-decimal=none --with-www=xml --prefix=$(TMPDIR) + # do not enable grddl parser (#i93768#) +-CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-threads --with-openssl-digests --with-xml-parser=libxml --enable-parsers="rdfxml ntriples turtle trig guess rss-tag-soup" --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --with-regex-library=posix --with-decimal=none --with-www=xml ++CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-threads --with-openssl-digests --with-xml-parser=libxml --enable-parsers="rdfxml ntriples turtle trig guess rss-tag-soup" --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --with-regex-library=posix --with-decimal=none --with-www=xml --prefix=$(TMPDIR) BUILD_ACTION=$(GNUMAKE) BUILD_FLAGS+= -j$(EXTMAXPROCESS) BUILD_DIR=$(CONFIGURE_DIR) diff --git a/redland/rasqal/makefile.mk b/redland/rasqal/makefile.mk -index 850ee9c..3293a79 100644 +index fba6460..fc70419 100644 --- a/redland/rasqal/makefile.mk +++ b/redland/rasqal/makefile.mk -@@ -104,7 +104,7 @@ XSLTLIB:=$(XSLTLIB) +@@ -126,7 +126,7 @@ XSLTLIB!:=$(XSLTLIB) # expand dmake variables for xslt-config CONFIGURE_DIR= CONFIGURE_ACTION=.$/configure PATH="..$/..$/..$/bin:$$PATH" -CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-threads --with-openssl-digests --with-xml-parser=libxml --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --with-regex-library=posix --with-decimal=none --with-www=xml +CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-threads --with-openssl-digests --with-xml-parser=libxml --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --with-regex-library=posix --with-decimal=none --with-www=xml --prefix=$(TMPDIR) - BUILD_ACTION=$(GNUMAKE) + BUILD_ACTION=$(AUGMENT_LIBRARY_PATH) $(GNUMAKE) BUILD_FLAGS+= -j$(EXTMAXPROCESS) BUILD_DIR=$(CONFIGURE_DIR) diff --git a/redland/redland/makefile.mk b/redland/redland/makefile.mk -index 5719272..75c31b7 100644 +index 710d7d6..dd60f0d 100644 --- a/redland/redland/makefile.mk +++ b/redland/redland/makefile.mk -@@ -108,7 +108,7 @@ XSLTLIB:=$(XSLTLIB) +@@ -132,7 +132,7 @@ XSLTLIB!:=$(XSLTLIB) # expand dmake variables for xslt-config CONFIGURE_DIR= CONFIGURE_ACTION=.$/configure PATH="..$/..$/..$/bin:$$PATH" -CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-threads --with-openssl-digests --with-xml-parser=libxml --with-raptor=system --with-rasqual=system --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --with-regex-library=posix --with-decimal=none --with-www=xml +CONFIGURE_FLAGS=--disable-static --disable-gtk-doc --with-threads --with-openssl-digests --with-xml-parser=libxml --with-raptor=system --with-rasqual=system --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --with-regex-library=posix --with-decimal=none --with-www=xml --prefix=$(TMPDIR) - BUILD_ACTION=$(GNUMAKE) + BUILD_ACTION=$(AUGMENT_LIBRARY_PATH) $(GNUMAKE) BUILD_FLAGS+= -j$(EXTMAXPROCESS) BUILD_DIR=$(CONFIGURE_DIR) diff --git a/hunspell/hunspell-1.2.8.patch b/hunspell/hunspell-1.2.8.patch diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index e202ecf28cd0..45a708fade2b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -8211,7 +8211,7 @@ let }; openoffice = import ../applications/office/openoffice { - inherit fetchurl stdenv pam python tcsh libxslt perl zlib libjpeg + inherit fetchurl pam python tcsh libxslt perl zlib libjpeg expat pkgconfig freetype fontconfig libwpd libxml2 db4 sablotron curl libsndfile flex zip unzip libmspack getopt file cairo which icu jdk ant cups openssl bison boost gperf cppunit; @@ -8220,6 +8220,7 @@ let inherit (perlPackages) ArchiveZip CompressZlib; inherit (gnome) GConf ORBit2; neon = neon026; + stdenv = stdenv2; }; opera = import ../applications/networking/browsers/opera { |