The libreoffice expression needs the 'help' package, or it fails on install.
(or pass --disable-help, I think). Thus, the fontconfig tests now pass, I remove the disabletests patch. I also removed some configure options that configure did not understand anymore. They were picked from older openoffice expressions. svn path=/nixpkgs/trunk/; revision=33087
This commit is contained in:
parent
bed87f75ca
commit
fd1867ec92
@ -1,33 +0,0 @@
|
|||||||
We've to disable this test, because it wants a working fontconfig.
|
|
||||||
Otherwise it fails telling fontconfig can't read its config file.
|
|
||||||
|
|
||||||
diff --git a/sd/Module_sd.mk b/sd/Module_sd.mk
|
|
||||||
index 4fd3a95..10fa388 100644
|
|
||||||
--- a/sd/Module_sd.mk
|
|
||||||
+++ b/sd/Module_sd.mk
|
|
||||||
@@ -41,9 +41,9 @@ $(eval $(call gb_Module_add_targets,sd,\
|
|
||||||
))
|
|
||||||
|
|
||||||
ifneq ($(OS),DRAGONFLY)
|
|
||||||
-$(eval $(call gb_Module_add_check_targets,sd,\
|
|
||||||
- CppunitTest_sd_uimpress \
|
|
||||||
-))
|
|
||||||
+#$(eval $(call gb_Module_add_check_targets,sd,\
|
|
||||||
+# CppunitTest_sd_uimpress \
|
|
||||||
+#))
|
|
||||||
# disabled for now, seems to have incomplete deps and hangs on a build from scratch
|
|
||||||
# CppunitTest_sd_filters_test \
|
|
||||||
|
|
||||||
diff --git a/sc/Module_sc.mk b/sc/Module_sc.mk
|
|
||||||
index 9c8696b..b36535b 100644
|
|
||||||
--- a/sc/Module_sc.mk
|
|
||||||
+++ b/sc/Module_sc.mk
|
|
||||||
@@ -35,7 +35,7 @@ $(eval $(call gb_Module_add_targets,sc,\
|
|
||||||
))
|
|
||||||
|
|
||||||
$(eval $(call gb_Module_add_check_targets,sc,\
|
|
||||||
- CppunitTest_sc_filters_test \
|
|
||||||
+# CppunitTest_sc_filters_test \
|
|
||||||
CppunitTest_sc_ucalc \
|
|
||||||
))
|
|
||||||
|
|
@ -23,6 +23,11 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0kk1jb4axjvkmg22yhxx4p9522zix6rr5cs0c5rxzlkm63qw6h8w";
|
sha256 = "0kk1jb4axjvkmg22yhxx4p9522zix6rr5cs0c5rxzlkm63qw6h8w";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
src_help = fetchurl {
|
||||||
|
url = "http://download.documentfoundation.org/libreoffice/src/3.5.0/libreoffice-help-3.5.0.3.tar.xz";
|
||||||
|
sha256 = "0wvlh2r4cy14rs0svr4yb4fidp2g9wbj8vxx2a5swnjf2fdf8qda";
|
||||||
|
};
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://download.documentfoundation.org/libreoffice/src/3.5.0/libreoffice-core-3.5.0.3.tar.xz";
|
url = "http://download.documentfoundation.org/libreoffice/src/3.5.0/libreoffice-core-3.5.0.3.tar.xz";
|
||||||
sha256 = "04hvlj6wzbj3zjpfjq975mgdmf902ywyf94nxcv067asg83qfcvr";
|
sha256 = "04hvlj6wzbj3zjpfjq975mgdmf902ywyf94nxcv067asg83qfcvr";
|
||||||
@ -30,12 +35,13 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureScript = "./autogen.sh";
|
configureScript = "./autogen.sh";
|
||||||
|
|
||||||
# patches = [ ./disable-uimpress-test.patch ];
|
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
tar xf $src_translation
|
tar xf $src_translation
|
||||||
# I think libreoffice expects by default the translations in ./translations
|
# Libreoffice expects by default the translations in ./translations
|
||||||
mv libreoffice-translations-3.5.0.3/translations .
|
mv libreoffice-translations-3.5.0.3/translations .
|
||||||
|
tar xf $src_help
|
||||||
|
# Libreoffice expects by default the help in ./helpcontent2
|
||||||
|
mv libreoffice-help-3.5.0.3/helpcontent2 .
|
||||||
|
|
||||||
sed -i 's,/bin/bash,${bash}/bin/bash,' sysui/desktop/share/makefile.mk solenv/bin/localize
|
sed -i 's,/bin/bash,${bash}/bin/bash,' sysui/desktop/share/makefile.mk solenv/bin/localize
|
||||||
sed -i 's,/usr/bin/env bash,${bash}/bin/bash,' bin/unpack-sources \
|
sed -i 's,/usr/bin/env bash,${bash}/bin/bash,' bin/unpack-sources \
|
||||||
@ -51,6 +57,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
# This is required as some cppunittests require fontconfig configured
|
||||||
export FONTCONFIG_FILE=${fontsConf}
|
export FONTCONFIG_FILE=${fontsConf}
|
||||||
mkdir src
|
mkdir src
|
||||||
for a in $srcs_download; do
|
for a in $srcs_download; do
|
||||||
@ -85,40 +92,30 @@ stdenv.mkDerivation rec {
|
|||||||
"--without-system-mythes"
|
"--without-system-mythes"
|
||||||
|
|
||||||
# Without this, it wants to download
|
# Without this, it wants to download
|
||||||
"--with-cairo"
|
"--with-system-cairo"
|
||||||
"--with-system-libs"
|
"--with-system-libs"
|
||||||
"--with-system-python"
|
"--enable-python=system"
|
||||||
"--with-system-boost"
|
"--with-system-boost"
|
||||||
"--with-system-db"
|
"--with-system-db"
|
||||||
|
|
||||||
# I imagine this helps. Copied from go-oo.
|
# I imagine this helps. Copied from go-oo.
|
||||||
"--disable-epm"
|
"--disable-epm"
|
||||||
"--disable-fontooo"
|
|
||||||
"--disable-mathmldtd"
|
"--disable-mathmldtd"
|
||||||
"--disable-mozilla"
|
"--disable-mozilla"
|
||||||
"--disable-odk"
|
"--disable-odk"
|
||||||
"--disable-pasf"
|
|
||||||
"--disable-dbus"
|
"--disable-dbus"
|
||||||
"--disable-kde"
|
"--disable-kde"
|
||||||
"--disable-kde4"
|
"--disable-kde4"
|
||||||
"--disable-mono"
|
|
||||||
"--disable-postgresql-sdbc"
|
"--disable-postgresql-sdbc"
|
||||||
"--with-package-format=native"
|
"--with-package-format=native"
|
||||||
"--with-jdk-home=${jdk}"
|
"--with-jdk-home=${jdk}"
|
||||||
"--with-ant-home=${ant}"
|
"--with-ant-home=${ant}"
|
||||||
"--without-afms"
|
"--without-afms"
|
||||||
"--without-dict"
|
|
||||||
"--without-fonts"
|
"--without-fonts"
|
||||||
"--without-myspell-dicts"
|
"--without-myspell-dicts"
|
||||||
"--without-nas"
|
|
||||||
"--without-ppds"
|
"--without-ppds"
|
||||||
"--without-system-agg"
|
|
||||||
"--without-system-beanshell"
|
"--without-system-beanshell"
|
||||||
"--without-system-hsqldb"
|
"--without-system-hsqldb"
|
||||||
"--without-system-xalan"
|
|
||||||
"--without-system-xerces"
|
|
||||||
"--without-system-xml-apis"
|
|
||||||
"--without-system-xt"
|
|
||||||
"--without-system-jars"
|
"--without-system-jars"
|
||||||
"--without-system-hunspell"
|
"--without-system-hunspell"
|
||||||
"--without-system-altlinuxhyph"
|
"--without-system-altlinuxhyph"
|
||||||
@ -130,7 +127,6 @@ stdenv.mkDerivation rec {
|
|||||||
"--without-system-redland"
|
"--without-system-redland"
|
||||||
"--without-system-libvisio"
|
"--without-system-libvisio"
|
||||||
"--without-system-libcmis"
|
"--without-system-libcmis"
|
||||||
"--without-system-nspr"
|
|
||||||
"--without-system-nss"
|
"--without-system-nss"
|
||||||
"--without-system-sampleicc"
|
"--without-system-sampleicc"
|
||||||
"--without-system-libexttextcat"
|
"--without-system-libexttextcat"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user