mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
Fresh LibreOffice 4.4 at least starts to build
This commit is contained in:
parent
594f33bb17
commit
c6dfb67059
@ -10,22 +10,22 @@
|
||||
, bison, flex, zip, unzip, gtk, libmspack, getopt, file, cairo, which
|
||||
, icu, boost, jdk, ant, cups, xorg
|
||||
, openssl, gperf, cppunit, GConf, ORBit2, poppler
|
||||
, librsvg, gnome_vfs, gstreamer, gst_plugins_base, mesa
|
||||
, librsvg, gnome_vfs, mesa
|
||||
, autoconf, automake, openldap, bash, hunspell, librdf_redland, nss, nspr
|
||||
, libwpg, dbus_glib, glibc, qt4, kde4, clucene_core, libcdr, lcms, vigra
|
||||
, unixODBC, mdds, saneBackends, mythes, libexttextcat, libvisio
|
||||
, fontsConf, pkgconfig, libzip, bluez5, libtool, maven
|
||||
, libatomic_ops, graphite2, harfbuzz
|
||||
, librevenge, libe-book, libmwaw, glm, glew
|
||||
, libatomic_ops, graphite2, harfbuzz, libodfgen
|
||||
, librevenge, libe-book, libmwaw, glm, glew, gst_all_1
|
||||
, langs ? [ "en-US" "en-GB" "ca" "ru" "eo" "fr" "nl" "de" "sl" ]
|
||||
}:
|
||||
|
||||
let
|
||||
langsSpaces = stdenv.lib.concatStringsSep " " langs;
|
||||
major = "4";
|
||||
minor = "3";
|
||||
patch = "5";
|
||||
tweak = "2";
|
||||
minor = "4";
|
||||
patch = "0";
|
||||
tweak = "3";
|
||||
subdir = "${major}.${minor}.${patch}";
|
||||
version = "${subdir}${if tweak == "" then "" else "."}${tweak}";
|
||||
|
||||
@ -80,14 +80,14 @@ let
|
||||
|
||||
translations = fetchSrc {
|
||||
name = "translations";
|
||||
sha256 = "0xqvfmfab0hq3hcq76hs7ybv32i02lzl8xghilbjf12k1wgqy96c";
|
||||
sha256 = "0y94sry2cghc82628smka7qb1xqlgrgvy98bxd2fpqfkd1llcqfg";
|
||||
};
|
||||
|
||||
# TODO: dictionaries
|
||||
|
||||
help = fetchSrc {
|
||||
name = "help";
|
||||
sha256 = "14kdhd9pjy0a7dkyx03a73m5iy3qr3ki2xqkinhml24f3n9qddbq";
|
||||
sha256 = "05al25vcz2z6fhm8vx77wa47nyi3r0hwll6mg2aclx7yp0s5k01d";
|
||||
};
|
||||
|
||||
};
|
||||
@ -97,7 +97,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/${subdir}/libreoffice-${version}.tar.xz";
|
||||
sha256 = "0dr6xzdnnyhhysayz1yhnmv0l3c14kpnlhwd5h66qyzkd4d85rkq";
|
||||
sha256 = "1xqc60ckay6xpljipcbm4915qqwk81dm2fbpxwfqc2l4gv9g6s6i";
|
||||
};
|
||||
|
||||
# Openoffice will open libcups dynamically, so we link it directly
|
||||
@ -211,13 +211,12 @@ stdenv.mkDerivation rec {
|
||||
# Modified on every upgrade, though
|
||||
"--disable-kde"
|
||||
"--disable-postgresql-sdbc"
|
||||
"--with-package-format=native"
|
||||
"--with-package-format=installed"
|
||||
"--enable-epm"
|
||||
"--with-jdk-home=${jdk.home}"
|
||||
"--with-ant-home=${ant}/lib/ant"
|
||||
"--without-fonts"
|
||||
"--without-myspell-dicts"
|
||||
"--without-ppds"
|
||||
"--without-system-beanshell"
|
||||
"--without-system-hsqldb"
|
||||
"--without-system-jars"
|
||||
@ -228,11 +227,14 @@ stdenv.mkDerivation rec {
|
||||
|
||||
"--without-system-libetonyek"
|
||||
"--without-system-libfreehand"
|
||||
"--without-system-libodfgen"
|
||||
"--without-system-libabw"
|
||||
"--without-system-firebird"
|
||||
"--without-system-liblangtag"
|
||||
"--without-system-libmspub"
|
||||
|
||||
"--without-system-libpagemaker"
|
||||
"--without-system-coinmp"
|
||||
"--without-system-libgltf"
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
@ -243,17 +245,18 @@ stdenv.mkDerivation rec {
|
||||
buildInputs = with xorg;
|
||||
[ ant ArchiveZip autoconf automake bison boost cairo clucene_core
|
||||
CompressZlib cppunit cups curl db dbus_glib expat file flex fontconfig
|
||||
freetype GConf getopt gnome_vfs gperf gst_plugins_base gstreamer gtk
|
||||
freetype GConf getopt gnome_vfs gperf gtk
|
||||
hunspell icu jdk kde4.kdelibs lcms libcdr libexttextcat unixODBC libjpeg
|
||||
libmspack librdf_redland librsvg libsndfile libvisio libwpd libwpg libX11
|
||||
libXaw libXext libXi libXinerama libxml2 libxslt libXtst
|
||||
libXdmcp libpthreadstubs mesa mythes
|
||||
libXdmcp libpthreadstubs mesa mythes gst_all_1.gstreamer
|
||||
gst_all_1.gst-plugins-base
|
||||
neon nspr nss openldap openssl ORBit2 pam perl pkgconfigUpstream poppler
|
||||
python3 sablotron saneBackends tcsh unzip vigra which zip zlib
|
||||
mdds bluez5 glibc libixion
|
||||
libxshmfence libatomic_ops graphite2 harfbuzz
|
||||
librevenge libe-book libmwaw glm glew
|
||||
liborcus
|
||||
liborcus libodfgen
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
|
@ -1,7 +1,7 @@
|
||||
[
|
||||
{
|
||||
name = "libabw-0.1.0.tar.bz2";
|
||||
md5 = "9317e967c8fa8ff50e049744c4b33c87";
|
||||
name = "libabw-0.1.1.tar.bz2";
|
||||
md5 = "7a3815b506d064313ba309617b6f5a0b";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
@ -34,6 +34,16 @@
|
||||
md5 = "e8e197d628436490886d17cffa108fe3";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "commons-httpclient-3.1-src.tar.gz";
|
||||
md5 = "2c9b0f83ed5890af02c0df1c1776f39b";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "commons-logging-1.2-src.tar.gz";
|
||||
md5 = "ce977548f1cbf46918e93cd38ac35163";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "apr-1.4.8.tar.gz";
|
||||
md5 = "eff9d741b0999a9bbab96862dd2a2a3d";
|
||||
@ -60,8 +70,8 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "libcdr-0.1.0.tar.bz2";
|
||||
md5 = "0e2f56934c8872ec4a254cd4bb1d7cf6";
|
||||
name = "libcdr-0.1.1.tar.bz2";
|
||||
md5 = "b33fd0be3befdd1b37777e08ce058bd9";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
@ -70,8 +80,8 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "libcmis-0.4.1.tar.gz";
|
||||
md5 = "22f8a85daf4a012180322e1f52a7563b";
|
||||
name = "libcmis-0.5.0.tar.gz";
|
||||
md5 = "5821b806a98e6c38370970e682ce76e8";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
@ -85,9 +95,9 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "cppunit-1.13.1.tar.gz";
|
||||
md5 = "ac4781e01619be13461bb2d562b94a7b";
|
||||
brief = false;
|
||||
name = "cppunit-1.13.2.tar.gz";
|
||||
md5 = "d1c6bdd5a76c66d2c38331e2d287bc01";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "ConvertTextToNumber-1.3.2.oxt";
|
||||
@ -100,8 +110,8 @@
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libe-book-0.1.1.tar.bz2";
|
||||
md5 = "c25a881d21abc5b4da19205db513cc22";
|
||||
name = "libe-book-0.1.2.tar.bz2";
|
||||
md5 = "6b48eda57914e6343efebc9381027b78";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
@ -179,11 +189,6 @@
|
||||
md5 = "0279a21fab6f245e85a6f85fea54f511";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "source-sans-font-1.036.tar.gz";
|
||||
md5 = "1e9ddfe25ac9577da709d7b2ea36f939";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "source-sans-pro-2.010R-ro-1.065R-it.tar.gz";
|
||||
md5 = "edc4d741888bc0d38e32dbaa17149596";
|
||||
@ -225,13 +230,13 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "hunspell-1.3.2.tar.gz";
|
||||
md5 = "3121aaf3e13e5d88dfff13fb4a5f1ab8";
|
||||
name = "hunspell-1.3.3.tar.gz";
|
||||
md5 = "4967da60b23413604c9e563beacc63b4";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "hyphen-2.8.4.tar.gz";
|
||||
md5 = "a2f6010987e1c601274ab5d63b72c944";
|
||||
name = "hyphen-2.8.8.tar.gz";
|
||||
md5 = "5ade6ae2a99bc1e9e57031ca88d36dad";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
@ -300,8 +305,13 @@
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "language-subtag-registry-2014-04-10.tar.bz2";
|
||||
md5 = "49c94710f7858b1969d74ff72e6aac84";
|
||||
name = "libjpeg-turbo-1.3.1.tar.gz";
|
||||
md5 = "2c3a68129dac443a72815ff5bb374b05";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "language-subtag-registry-2014-12-03.tar.bz2";
|
||||
md5 = "0f2677ec23bb43ddc7355d1b4cc8ed45";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
@ -325,15 +335,14 @@
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libexttextcat-3.4.3.tar.bz2";
|
||||
md5 = "ae330b9493bd4503ac390106ff6060d7";
|
||||
name = "libexttextcat-3.4.4.tar.bz2";
|
||||
md5 = "10d61fbaa6a06348823651b1bd7940fe";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "libgltf-0.0.0.tar.bz2";
|
||||
md5 = "ca5436e916bfe70694adfe2607782786";
|
||||
name = "libgltf-0.0.2.tar.bz2";
|
||||
md5 = "d63a9f47ab048f5009d90693d6aa6424";
|
||||
brief = true;
|
||||
subDir = "libgltf/";
|
||||
}
|
||||
{
|
||||
name = "liblangtag-0.5.1.tar.bz2";
|
||||
@ -361,18 +370,18 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "mariadb-native-client-1.0.0.tar.bz2";
|
||||
md5 = "05f84c95b610c21c5fd510d10debcabf";
|
||||
name = "mariadb_client-2.0.0-src.tar.gz";
|
||||
md5 = "a233181e03d3c307668b4c722d881661";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "mdds_0.10.3.tar.bz2";
|
||||
md5 = "aa5ca9d1ed1082890835afab26400a39";
|
||||
name = "mdds_0.11.2.tar.bz2";
|
||||
md5 = "cb4207cb913c7a5a8bfa5b91234618ee";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "libmspub-0.1.1.tar.bz2";
|
||||
md5 = "1d489c4932109e72495b1df8b69e5f11";
|
||||
name = "libmspub-0.1.2.tar.bz2";
|
||||
md5 = "ff9d0f9dd8fbc523408ea1953d5bde41";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
@ -381,13 +390,13 @@
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "mysql-connector-c++-1.1.0.tar.gz";
|
||||
md5 = "0981bda6548a8c8233ffce2b6e4b2a23";
|
||||
name = "mysql-connector-c++-1.1.4.tar.gz";
|
||||
md5 = "7239a4430efd4d0189c4f24df67f08e5";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "mythes-1.2.3.tar.gz";
|
||||
md5 = "46e92b68e31e858512b680b3b61dc4c1";
|
||||
name = "mythes-1.2.4.tar.gz";
|
||||
md5 = "a8c2c5b8f09e7ede322d5c602ff6a4b6";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
@ -396,8 +405,8 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "nss-3.15.3-with-nspr-4.10.2.tar.gz";
|
||||
md5 = "06beb053e257d9e22641339c905c6eba";
|
||||
name = "nss-3.16.5-with-nspr-4.10.6.tar.gz";
|
||||
md5 = "b279551b7638d0e36d1199548124c247";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
@ -416,15 +425,20 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "openssl-1.0.1h.tar.gz";
|
||||
md5 = "8d6d684a9430d5cc98a62a5d8fbda8cf";
|
||||
brief = false;
|
||||
name = "openssl-1.0.1j.tar.gz";
|
||||
md5 = "f7175c9cd3c39bb1907ac8bba9df8ed3";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "liborcus-0.7.0.tar.bz2";
|
||||
md5 = "7681383be6ce489d84c1c74f4e7f9643";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "libpagemaker-0.0.2.tar.bz2";
|
||||
md5 = "795cc7a59ace4db2b12586971d668671";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "pixman-0.24.4.tar.bz2";
|
||||
md5 = "c63f411b3ad147db2bcce1bf262a0e02";
|
||||
@ -436,9 +450,9 @@
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "poppler-0.22.5.tar.gz";
|
||||
md5 = "1cd27460f7e3379d1eb109cfd7bcdb39";
|
||||
brief = false;
|
||||
name = "poppler-0.26.4.tar.gz";
|
||||
md5 = "35c0660065d023365e9854c13e289d12";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "postgresql-9.2.1.tar.bz2";
|
||||
@ -466,8 +480,8 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "librevenge-0.0.1.tar.bz2";
|
||||
md5 = "69c367c6b0a360411965a1c409a0b6c1";
|
||||
name = "librevenge-0.0.2.tar.bz2";
|
||||
md5 = "2d4183bf17aea1a71842468a71a68c47";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
@ -496,8 +510,8 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "libvisio-0.1.0.tar.bz2";
|
||||
md5 = "931588332ba44682c9cd5eefbd358ab4";
|
||||
name = "libvisio-0.1.1.tar.bz2";
|
||||
md5 = "726c1f5be65eb7d649e0d48b63d920e7";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
@ -511,8 +525,8 @@
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libwps-0.3.0.tar.bz2";
|
||||
md5 = "d4d77d08b9048bae3b8ec8df11f80efd";
|
||||
name = "libwps-0.3.1.tar.bz2";
|
||||
md5 = "a111d9ef5a0dab564e9aec0f2cf8d218";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
@ -526,8 +540,8 @@
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libgltf-0.0.2.tar.bz2";
|
||||
md5 = "d63a9f47ab048f5009d90693d6aa6424";
|
||||
name = "libgltf-0.0.0.tar.bz2";
|
||||
md5 = "ca5436e916bfe70694adfe2607782786";
|
||||
brief = true;
|
||||
subDir = "libgltf/";
|
||||
}
|
||||
|
@ -3,11 +3,11 @@ let
|
||||
s = # Generated upstream information
|
||||
rec {
|
||||
baseName="libe-book";
|
||||
version="0.1.1";
|
||||
version="0.1.2";
|
||||
name="${baseName}-${version}";
|
||||
hash="0awv96q92qgxk22w2vrf4vg90cab5qfsrkbhgz252722mrkd5p4a";
|
||||
url="mirror://sourceforge/project/libebook/libe-book-0.1.1/libe-book-0.1.1.tar.xz";
|
||||
sha256="0awv96q92qgxk22w2vrf4vg90cab5qfsrkbhgz252722mrkd5p4a";
|
||||
hash="1v48pd32r2pfysr3a3igc4ivcf6vvb26jq4pdkcnq75p70alp2bz";
|
||||
url="mirror://sourceforge/project/libebook/libe-book-0.1.2/libe-book-0.1.2.tar.xz";
|
||||
sha256="1v48pd32r2pfysr3a3igc4ivcf6vvb26jq4pdkcnq75p70alp2bz";
|
||||
};
|
||||
buildInputs = [
|
||||
gperf pkgconfig librevenge libxml2 boost icu cppunit
|
||||
|
@ -3,11 +3,11 @@ let
|
||||
s = # Generated upstream information
|
||||
rec {
|
||||
baseName="libodfgen";
|
||||
version="0.1.2";
|
||||
version="0.1.3";
|
||||
name="${baseName}-${version}";
|
||||
hash="05f0l90a715kw6n1hbq393alwyjipyp0dcqqqrwm2l0s4p151bpd";
|
||||
url="mirror://sourceforge/project/libwpd/libodfgen/libodfgen-0.1.2/libodfgen-0.1.2.tar.xz";
|
||||
sha256="05f0l90a715kw6n1hbq393alwyjipyp0dcqqqrwm2l0s4p151bpd";
|
||||
hash="1flfh1i4r116aqdlqpgpmyzpcylwba48l7mddj25a2cwgsc9v86k";
|
||||
url="mirror://sourceforge/project/libwpd/libodfgen/libodfgen-0.1.3/libodfgen-0.1.3.tar.xz";
|
||||
sha256="1flfh1i4r116aqdlqpgpmyzpcylwba48l7mddj25a2cwgsc9v86k";
|
||||
};
|
||||
buildInputs = [
|
||||
boost pkgconfig cppunit zlib libwpg libwpd librevenge
|
||||
|
Loading…
Reference in New Issue
Block a user