mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
Update libreoffice to the version 4.3.0.4
Also update its dependencies. Update libcdr to 0.1.0 Update libmwaw to 0.3.2 from 0.3.1 Update libvisio to 0.1.0 Update libwpd to 0.10.0 Update libwpg to 0.3.0 These updates are require by LO update and also require each other. Note that many of these libraries now require librevenge. In LibreOffice expression per se: - Note that liborcus is built separately because it wants Boost to be specified in a way that main LO build doesn't ensure. - libixion from 0.7.0 tarball has libixion-0.8 package version. - libgltf is in src/libgltf but listed in download.lst without any comments. - Make variable with the name libreoffice-translations-${version}.tar.xz and the same value is inserted; the same for -help-. Fetching gives a strange error without that. Apparently everyone just builds git checkouts. - There are some conditionals in download.lst that require manual handling. I am not sure there is a simple way to process them in generate-libreoffice-srcs.sh.
This commit is contained in:
parent
004c745c52
commit
d06eef88c9
@ -14,28 +14,30 @@
|
||||
, 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, libe-book_00
|
||||
, libmwaw_02, libatomic_ops, graphite2, harfbuzz
|
||||
, fontsConf, pkgconfig, libzip, bluez5, libtool, maven
|
||||
, libatomic_ops, graphite2, harfbuzz
|
||||
, librevenge, libe-book, libmwaw, glm, glew
|
||||
, langs ? [ "en-US" "en-GB" "ca" "ru" "eo" "fr" "nl" "de" "sl" ]
|
||||
}:
|
||||
|
||||
let
|
||||
langsSpaces = stdenv.lib.concatStringsSep " " langs;
|
||||
major = "4";
|
||||
minor = "2";
|
||||
patch = "5";
|
||||
tweak = "2";
|
||||
minor = "3";
|
||||
patch = "0";
|
||||
tweak = "4";
|
||||
subdir = "${major}.${minor}.${patch}";
|
||||
version = "${subdir}${if tweak == "" then "" else "."}${tweak}";
|
||||
|
||||
# doesn't exist in srcs
|
||||
# 0.8 version is in 0.7.0 tarball
|
||||
libixion = stdenv.mkDerivation rec {
|
||||
version = "0.5.0";
|
||||
version = "0.7.0";
|
||||
name = "libixion-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://kohei.us/files/ixion/src/${name}.tar.bz2";
|
||||
sha256 = "010k33bfkckx28r4rdk5mkd0mmayy5ng9ja0j0zg0z237gcfgrzb";
|
||||
sha256 = "10amvz7fzr1kcy3svfspkdykmspqgpjdmk44cyr406wi7v4lwnf9";
|
||||
};
|
||||
|
||||
configureFlags = "--with-boost=${boost}";
|
||||
@ -43,12 +45,24 @@ let
|
||||
buildInputs = [ boost mdds pkgconfig ];
|
||||
};
|
||||
|
||||
fetchThirdParty = {name, md5, brief}: fetchurl {
|
||||
fetchThirdParty = {name, md5, brief, subDir ? ""}: fetchurl {
|
||||
inherit name md5;
|
||||
url = if brief then
|
||||
"http://dev-www.libreoffice.org/src/${name}"
|
||||
"http://dev-www.libreoffice.org/src/${subDir}${name}"
|
||||
else
|
||||
"http://dev-www.libreoffice.org/src/${md5}-${name}";
|
||||
"http://dev-www.libreoffice.org/src/${subDir}${md5}-${name}";
|
||||
};
|
||||
|
||||
# Can't find Boost inside LO build
|
||||
liborcus = stdenv.mkDerivation rec {
|
||||
name = "liborcus-0.7.0";
|
||||
src = fetchThirdParty (stdenv.lib.findFirst
|
||||
(x: x.name == "${name}.tar.bz2")
|
||||
("Error: update liborcus version inside LO expression")
|
||||
(import ./libreoffice-srcs.nix));
|
||||
configureFlags = "--with-boost=${boost}";
|
||||
|
||||
buildInputs = [ boost mdds pkgconfig zlib libixion ];
|
||||
};
|
||||
|
||||
fetchSrc = {name, sha256}: fetchurl {
|
||||
@ -65,14 +79,14 @@ let
|
||||
|
||||
translations = fetchSrc {
|
||||
name = "translations";
|
||||
sha256 = "0nv47r043w151687ks06w786h8azi8gylxma9c7qyjbdj6cdb2ly";
|
||||
sha256 = "1l445284mih0c7d6v3ps1piy5pbjvisyrjjvlrqizvwxqm7bxpr1";
|
||||
};
|
||||
|
||||
# TODO: dictionaries
|
||||
|
||||
help = fetchSrc {
|
||||
name = "help";
|
||||
sha256 = "1kbkdngq39gfq2804v6vnllax4gqs25zlfk6y561iiipld1ncc5v";
|
||||
sha256 = "0avsc11d4nmycsxvadr0xcd8z9506sjcc89hgmliqlmhmw48ax7y";
|
||||
};
|
||||
|
||||
};
|
||||
@ -82,7 +96,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://download.documentfoundation.org/libreoffice/src/${subdir}/libreoffice-${version}.tar.xz";
|
||||
sha256 = "4bf7898d7d0ba918a8f6668eff0904a549e5a2de837854716e6d996f121817d5";
|
||||
sha256 = "1r605nwjdq20qd96chqic1bjkw7y36wmpg2lzzvv5sz6gw12rzi8";
|
||||
};
|
||||
|
||||
# Openoffice will open libcups dynamically, so we link it directly
|
||||
@ -111,7 +125,6 @@ stdenv.mkDerivation rec {
|
||||
-e 's,! */usr/bin/python,!${python3}/bin/${python3.executable},' -e 's,! */usr/bin/env python,!${python3}/bin/${python3.executable},'
|
||||
#sed -i 's,ANT_OPTS+="\(.*\)",ANT_OPTS+=\1,' apache-commons/java/*/makefile.mk
|
||||
|
||||
patch -Np1 -i ${./ooxmlexport.diff};
|
||||
'';
|
||||
|
||||
QT4DIR = qt4;
|
||||
@ -131,6 +144,13 @@ stdenv.mkDerivation rec {
|
||||
touch solenv/inc/target.mk
|
||||
'';
|
||||
|
||||
# fetch_Download_item tries to interpret the name as a variable name
|
||||
# Let it do so…
|
||||
postConfigure = ''
|
||||
sed -e '1ilibreoffice-translations-${version}.tar.xz=libreoffice-translations-${version}.tar.xz' -i Makefile
|
||||
sed -e '1ilibreoffice-help-${version}.tar.xz=libreoffice-help-${version}.tar.xz' -i Makefile
|
||||
'';
|
||||
|
||||
makeFlags = "SHELL=${bash}/bin/bash";
|
||||
|
||||
enableParallelBuilding = true;
|
||||
@ -190,7 +210,6 @@ stdenv.mkDerivation rec {
|
||||
"--enable-epm"
|
||||
"--with-jdk-home=${jdk}/lib/openjdk"
|
||||
"--with-ant-home=${ant}/lib/ant"
|
||||
"--without-afms"
|
||||
"--without-fonts"
|
||||
"--without-myspell-dicts"
|
||||
"--without-ppds"
|
||||
@ -207,7 +226,6 @@ stdenv.mkDerivation rec {
|
||||
"--without-system-libodfgen"
|
||||
"--without-system-libabw"
|
||||
"--without-system-firebird"
|
||||
"--without-system-orcus"
|
||||
"--without-system-liblangtag"
|
||||
"--without-system-libmspub"
|
||||
];
|
||||
@ -228,14 +246,16 @@ stdenv.mkDerivation rec {
|
||||
neon nspr nss openldap openssl ORBit2 pam perl pkgconfigUpstream poppler
|
||||
python3 sablotron saneBackends tcsh unzip vigra which zip zlib
|
||||
mdds bluez5 glibc libixion
|
||||
libxshmfence libe-book_00 libmwaw_02 libatomic_ops graphite2 harfbuzz
|
||||
libxshmfence libatomic_ops graphite2 harfbuzz
|
||||
librevenge libe-book libmwaw glm glew
|
||||
liborcus
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "LibreOffice is a comprehensive, professional-quality productivity suite, a variant of openoffice.org";
|
||||
homepage = http://libreoffice.org/;
|
||||
license = licenses.lgpl3;
|
||||
maintainers = [ maintainers.viric ];
|
||||
maintainers = [ maintainers.viric maintainers.raskin ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
||||
|
@ -1,84 +1,19 @@
|
||||
[
|
||||
{
|
||||
name = "libabw-0.0.2.tar.bz2";
|
||||
md5 = "40fa48e03b1e28ae0325cc34b35bc46d";
|
||||
name = "libabw-0.1.0.tar.bz2";
|
||||
md5 = "9317e967c8fa8ff50e049744c4b33c87";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libcdr-0.0.15.tar.bz2";
|
||||
md5 = "fbcd8619fc6646f41d527c1329102998";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libe-book-0.0.3.tar.bz2";
|
||||
md5 = "2f1ceaf2ac8752ed278e175447d9b978";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libetonyek-0.0.4.tar.bz2";
|
||||
md5 = "3c50bc60394d1f2675fbf9bd22581363";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libfreehand-0.0.0.tar.bz2";
|
||||
md5 = "496dd00028afcc19f896b01394769043";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libmspub-0.0.6.tar.bz2";
|
||||
md5 = "1120705cd0f0d9bd5506360bf57b6c2e";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libmwaw-0.2.0.tar.bz2";
|
||||
md5 = "d794625f156a9fb1c53b3f8a8aa13b5e";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libodfgen-0.0.4.tar.bz2";
|
||||
md5 = "e5483d1f0b71e64c367c1194b54b0f53";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libvisio-0.0.31.tar.bz2";
|
||||
md5 = "82628333418f101a20cd21f980cf9f40";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "Firebird-2.5.2.26540-0.tar.bz2";
|
||||
md5 = "21154d2004e025c8a3666625b0357bb5";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "harfbuzz-0.9.23.tar.bz2";
|
||||
md5 = "a4a9b548577e2ee22f0887937da5fd6c";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libatomic_ops-7_2d.zip";
|
||||
md5 = "c0b86562d5aa40761a87134f83e6adcf";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libeot-0.01.tar.bz2";
|
||||
md5 = "aa24f5dd2a2992f4a116aa72af817548";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "language-subtag-registry-2014-03-27.tar.bz2";
|
||||
md5 = "504af523f5d1a5590bbeb6a4b55e8a97";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "Adobe-Core35_AFMs-314.tar.gz";
|
||||
md5 = "1756c4fa6c616ae15973c104cd8cb256";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "commons-codec-1.6-src.tar.gz";
|
||||
md5 = "2e482c7567908d334785ce7d69ddfff7";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "commons-codec-1.9-src.zip";
|
||||
md5 = "048751f3271906db5126ab76870444c4";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "commons-httpclient-3.1-src.tar.gz";
|
||||
md5 = "2c9b0f83ed5890af02c0df1c1776f39b";
|
||||
@ -90,13 +25,28 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "commons-logging-1.1.1-src.tar.gz";
|
||||
md5 = "3c219630e4302863a9a83d0efde889db";
|
||||
name = "commons-lang3-3.3.1-src.tar.gz";
|
||||
md5 = "8ab049135b2d15313da5d9f0656894a1";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "boost_1_54_0.tar.bz2";
|
||||
md5 = "15cb8c0803064faef0c4ddf5bc5ca279";
|
||||
name = "commons-logging-1.1.3-src.tar.gz";
|
||||
md5 = "e8e197d628436490886d17cffa108fe3";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "apr-1.4.8.tar.gz";
|
||||
md5 = "eff9d741b0999a9bbab96862dd2a2a3d";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "apr-util-1.5.3.tar.gz";
|
||||
md5 = "71a11d037240b292f824ba1eb537b4e3";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "boost_1_55_0.tar.bz2";
|
||||
md5 = "d6eef4b4cacb2183f2bf265a5a03a354";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
@ -109,6 +59,11 @@
|
||||
md5 = "f101a9e88b783337b20b2e26dfd26d5f";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "libcdr-0.1.0.tar.bz2";
|
||||
md5 = "0e2f56934c8872ec4a254cd4bb1d7cf6";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "clucene-core-2.3.3.4.tar.gz";
|
||||
md5 = "48d647fbd8ef8889e5a7f422c1bfda94";
|
||||
@ -119,6 +74,16 @@
|
||||
md5 = "22f8a85daf4a012180322e1f52a7563b";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "CoinMP-1.7.6.tgz";
|
||||
md5 = "1cce53bf4b40ae29790d2c5c9f8b1129";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "collada2gltf-master-cb1d97788a.tar.bz2";
|
||||
md5 = "4b87018f7fff1d054939d19920b751a0";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "cppunit-1.13.1.tar.gz";
|
||||
md5 = "ac4781e01619be13461bb2d562b94a7b";
|
||||
@ -130,20 +95,35 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "curl-7.33.0.tar.bz2";
|
||||
md5 = "57409d6bf0bd97053b8378dbe0cadcef";
|
||||
brief = false;
|
||||
name = "curl-7.36.0.tar.bz2";
|
||||
md5 = "e6d1f9d1b59da5062109ffe14e0569a4";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libe-book-0.1.1.tar.bz2";
|
||||
md5 = "c25a881d21abc5b4da19205db513cc22";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "epm-3.7.tar.gz";
|
||||
md5 = "3ade8cfe7e59ca8e65052644fed9fca4";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "libetonyek-0.1.1.tar.bz2";
|
||||
md5 = "805f941b06448212a988cb65f0691a7a";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "expat-2.1.0.tar.gz";
|
||||
md5 = "dd7dab7a5fea97d2a6a43f511449b7cd";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "Firebird-2.5.2.26540-0.tar.bz2";
|
||||
md5 = "21154d2004e025c8a3666625b0357bb5";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "fontconfig-2.8.0.tar.gz";
|
||||
md5 = "77e15a92006ddc2adbb06f840d591c0e";
|
||||
@ -160,8 +140,8 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "dejavu-fonts-ttf-2.33.zip";
|
||||
md5 = "f872f4ac066433d8ff92f5e316b36ff9";
|
||||
name = "dejavu-fonts-ttf-2.34.zip";
|
||||
md5 = "a4e565e220b5de082c23995e256e3c12";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
@ -170,8 +150,8 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "liberation-fonts-ttf-1.07.3.tar.gz";
|
||||
md5 = "b3174b11c2b6a341f5c99b31088bd67b";
|
||||
name = "liberation-fonts-ttf-1.07.4.tar.gz";
|
||||
md5 = "134d8262145fc793c6af494dcace3e71";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
@ -204,16 +184,36 @@
|
||||
md5 = "1e9ddfe25ac9577da709d7b2ea36f939";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "libfreehand-0.1.0.tar.bz2";
|
||||
md5 = "5f029fef73e42a2c2ae4524a7513f97d";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "freetype-2.4.8.tar.bz2";
|
||||
md5 = "dbf2caca1d3afd410a29217a9809d397";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "graphite2-1.2.3.tgz";
|
||||
md5 = "7042305e4208af4c2d5249d814ccce58";
|
||||
name = "glew-1.10.0.zip";
|
||||
md5 = "594eb47b4b1210e25438d51825404d5a";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "glm-0.9.4.6-libreoffice.zip";
|
||||
md5 = "bae83fa5dc7f081768daace6e199adc3";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "graphite2-1.2.4.tgz";
|
||||
md5 = "2ef839348fe28e3b923bf8cced440227";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "harfbuzz-0.9.23.tar.bz2";
|
||||
md5 = "a4a9b548577e2ee22f0887937da5fd6c";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "hsqldb_1_8_0.zip";
|
||||
md5 = "17410483b5b5f267aa18b7e00b65e6e0";
|
||||
@ -230,8 +230,8 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "icu4c-52_1-src.tgz";
|
||||
md5 = "9e96ed4c1d99c0d14ac03c140f9f346c";
|
||||
name = "icu4c-53_1-src.tgz";
|
||||
md5 = "b73baa6fbdfef197608d1f69300919b9";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
@ -290,9 +290,14 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "jpegsrc.v8d.tar.gz";
|
||||
md5 = "52654eb3b2e60c35731ea8fc87f1bd29";
|
||||
brief = false;
|
||||
name = "jpegsrc.v9a.tar.gz";
|
||||
md5 = "3353992aecaee1805ef4109aadd433e7";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "language-subtag-registry-2014-04-10.tar.bz2";
|
||||
md5 = "49c94710f7858b1969d74ff72e6aac84";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "JLanguageTool-1.7.0.tar.bz2";
|
||||
@ -300,15 +305,31 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "lcms2-2.4.tar.gz";
|
||||
md5 = "861ef15fa0bc018f9ddc932c4ad8b6dd";
|
||||
brief = false;
|
||||
name = "lcms2-2.6.tar.gz";
|
||||
md5 = "f4c08d38ceade4a664ebff7228910a33";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libatomic_ops-7_2d.zip";
|
||||
md5 = "c0b86562d5aa40761a87134f83e6adcf";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libeot-0.01.tar.bz2";
|
||||
md5 = "aa24f5dd2a2992f4a116aa72af817548";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libexttextcat-3.4.3.tar.bz2";
|
||||
md5 = "ae330b9493bd4503ac390106ff6060d7";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "libgltf-0.0.0.tar.bz2";
|
||||
md5 = "3d9ea1f2828c46f8ba94b88a87b3326d";
|
||||
brief = false;
|
||||
subDir = "libgltf/";
|
||||
}
|
||||
{
|
||||
name = "liblangtag-0.5.1.tar.bz2";
|
||||
md5 = "36271d3fa0d9dec1632029b6d7aac925";
|
||||
@ -344,6 +365,16 @@
|
||||
md5 = "aa5ca9d1ed1082890835afab26400a39";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "libmspub-0.1.1.tar.bz2";
|
||||
md5 = "1d489c4932109e72495b1df8b69e5f11";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libmwaw-0.3.1.tar.bz2";
|
||||
md5 = "6f1ac4a0e24131c422e1e91f07718fb6";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "mysql-connector-c++-1.1.0.tar.gz";
|
||||
md5 = "0981bda6548a8c8233ffce2b6e4b2a23";
|
||||
@ -364,19 +395,29 @@
|
||||
md5 = "06beb053e257d9e22641339c905c6eba";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "libodfgen-0.1.1.tar.bz2";
|
||||
md5 = "c22c83c17cda0754382ada4e116594b7";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "OpenCOLLADA-master-6509aa13af.tar.bz2";
|
||||
md5 = "4ca8a6ef0afeefc864e9ef21b9f14bd6";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "openldap-2.4.31.tgz";
|
||||
md5 = "804c6cb5698db30b75ad0ff1c25baefd";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "openssl-1.0.1e.tar.gz";
|
||||
md5 = "66bf6f10f060d561929de96f9dfe5b8c";
|
||||
name = "openssl-1.0.1h.tar.gz";
|
||||
md5 = "8d6d684a9430d5cc98a62a5d8fbda8cf";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "liborcus-0.5.1.tar.bz2";
|
||||
md5 = "ea2acaf140ae40a87a952caa75184f4d";
|
||||
name = "liborcus-0.7.0.tar.bz2";
|
||||
md5 = "7681383be6ce489d84c1c74f4e7f9643";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
@ -385,9 +426,9 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "libpng-1.5.10.tar.gz";
|
||||
md5 = "9e5d864bce8f06751bbd99962ecf4aad";
|
||||
brief = false;
|
||||
name = "libpng-1.5.18.tar.gz";
|
||||
md5 = "5266905cef49d1224437465ad4d67fd9";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "poppler-0.22.5.tar.gz";
|
||||
@ -400,9 +441,9 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "Python-3.3.3.tar.bz2";
|
||||
md5 = "f3ebe34d4d8695bf889279b54673e10c";
|
||||
brief = false;
|
||||
name = "Python-3.3.5.tgz";
|
||||
md5 = "803a75927f8f241ca78633890c798021";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "raptor2-2.0.9.tar.gz";
|
||||
@ -419,11 +460,21 @@
|
||||
md5 = "32f8e1417a64d3c6f2c727f9053f55ea";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "librevenge-0.0.1.tar.bz2";
|
||||
md5 = "69c367c6b0a360411965a1c409a0b6c1";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "rhino1_5R5.zip";
|
||||
md5 = "798b2ffdc8bcfe7bca2cf92b62caf685";
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "serf-1.2.1.tar.bz2";
|
||||
md5 = "4f8e76c9c6567aee1d66aba49f76a58b";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "swingExSrc.zip";
|
||||
md5 = "35c94d2df8893241173de1d16b6034c0";
|
||||
@ -440,19 +491,24 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "libwpd-0.9.9.tar.bz2";
|
||||
md5 = "a3dcac551fae5ebbec16e844810828c4";
|
||||
brief = false;
|
||||
name = "libvisio-0.1.0.tar.bz2";
|
||||
md5 = "931588332ba44682c9cd5eefbd358ab4";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libwpg-0.2.2.tar.bz2";
|
||||
md5 = "b85436266b2ac91d351ab5684b181151";
|
||||
brief = false;
|
||||
name = "libwpd-0.10.0.tar.bz2";
|
||||
md5 = "0773d79a1f240ef9f4f20242b13c5bb7";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libwps-0.2.9.tar.bz2";
|
||||
md5 = "46eb0e7f213ad61bd5dee0c494132cb0";
|
||||
brief = false;
|
||||
name = "libwpg-0.3.0.tar.bz2";
|
||||
md5 = "17da9770cb8b317b7633f9807b32b71a";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "libwps-0.3.0.tar.bz2";
|
||||
md5 = "d4d77d08b9048bae3b8ec8df11f80efd";
|
||||
brief = true;
|
||||
}
|
||||
{
|
||||
name = "xsltml_2.1.2.zip";
|
||||
@ -460,8 +516,8 @@
|
||||
brief = false;
|
||||
}
|
||||
{
|
||||
name = "zlib-1.2.7.tar.bz2";
|
||||
md5 = "2ab442d169156f34c379c968f3f482dd";
|
||||
brief = false;
|
||||
name = "zlib-1.2.8.tar.gz";
|
||||
md5 = "44d667c142d7cda120332623eab69f40";
|
||||
brief = true;
|
||||
}
|
||||
]
|
||||
|
@ -1,31 +0,0 @@
|
||||
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx 2014-06-12 12:25:19.000000000 +0400
|
||||
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx 2014-06-12 12:25:20.000000000 +0400
|
||||
@@ -547,17 +547,17 @@
|
||||
getRun(xParagraph, 5, " After.");
|
||||
}
|
||||
|
||||
-DECLARE_OOXMLEXPORT_TEST(test1Table1Page, "1-table-1-page.docx")
|
||||
-{
|
||||
- // 2 problem for this document after export:
|
||||
- // - invalid sectPr inserted at the beginning of the page
|
||||
- // - font of empty cell is not preserved, leading to change in rows height
|
||||
- uno::Reference<frame::XModel> xModel(mxComponent, uno::UNO_QUERY);
|
||||
- uno::Reference<text::XTextViewCursorSupplier> xTextViewCursorSupplier(xModel->getCurrentController(), uno::UNO_QUERY);
|
||||
- uno::Reference<text::XPageCursor> xCursor(xTextViewCursorSupplier->getViewCursor(), uno::UNO_QUERY);
|
||||
- xCursor->jumpToLastPage();
|
||||
- CPPUNIT_ASSERT_EQUAL(sal_Int16(1), xCursor->getPage());
|
||||
-}
|
||||
+/// DECLARE_OOXMLEXPORT_TEST(test1Table1Page, "1-table-1-page.docx")
|
||||
+/// {
|
||||
+/// // 2 problem for this document after export:
|
||||
+/// // - invalid sectPr inserted at the beginning of the page
|
||||
+/// // - font of empty cell is not preserved, leading to change in rows height
|
||||
+/// uno::Reference<frame::XModel> xModel(mxComponent, uno::UNO_QUERY);
|
||||
+/// uno::Reference<text::XTextViewCursorSupplier> xTextViewCursorSupplier(xModel->getCurrentController(), uno::UNO_QUERY);
|
||||
+/// uno::Reference<text::XPageCursor> xCursor(xTextViewCursorSupplier->getViewCursor(), uno::UNO_QUERY);
|
||||
+/// xCursor->jumpToLastPage();
|
||||
+/// CPPUNIT_ASSERT_EQUAL(sal_Int16(1), xCursor->getPage());
|
||||
+/// }
|
||||
|
||||
DECLARE_OOXMLEXPORT_TEST(testTextFrames, "textframes.odt")
|
||||
{
|
@ -1,14 +1,14 @@
|
||||
{ stdenv, fetchurl, libwpg, libwpd, lcms, pkgconfig }:
|
||||
{ stdenv, fetchurl, libwpg, libwpd, lcms, pkgconfig, librevenge, icu, boost }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libcdr-0.0.8";
|
||||
name = "libcdr-0.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://dev-www.libreoffice.org/src/${name}.tar.xz";
|
||||
sha256 = "117a8gp29xs3kin6kaisb3frsx8dwrsjgs4wq4y5hjqprzy6lwz0";
|
||||
url = "http://dev-www.libreoffice.org/src/${name}.tar.bz2";
|
||||
sha256 = "1l4glkyyxhzqq6j9n9cc01sf1q7xx8dd97cl3bwj8w4fp06ihv7g";
|
||||
};
|
||||
|
||||
buildInputs = [ libwpg libwpd lcms ];
|
||||
buildInputs = [ libwpg libwpd lcms librevenge icu boost ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
|
@ -3,11 +3,10 @@ let
|
||||
s = # Generated upstream information
|
||||
rec {
|
||||
baseName="libmwaw";
|
||||
version="0.3.1";
|
||||
version="0.3.2";
|
||||
name="${baseName}-${version}";
|
||||
hash="0fa6nf4pxl853xnh2kdjw1nk3w6i39diixiampml7g9qygbd0vqb";
|
||||
url="mirror://sourceforge/project/libmwaw/libmwaw/libmwaw-0.3.1/libmwaw-0.3.1.tar.xz";
|
||||
sha256="0fa6nf4pxl853xnh2kdjw1nk3w6i39diixiampml7g9qygbd0vqb";
|
||||
url="mirror://sourceforge/project/libmwaw/libmwaw/libmwaw-${version}/libmwaw-${version}.tar.bz2";
|
||||
sha256="0rzp2bbwyxdq1i9b2y5jz5b2ic7466l8ifgmz7lk8bsmqxbb0a0d";
|
||||
};
|
||||
buildInputs = [
|
||||
boost pkgconfig cppunit zlib libwpg libwpd librevenge
|
||||
|
@ -1,15 +1,17 @@
|
||||
{ stdenv, fetchurl, boost, libwpd, libwpg, pkgconfig, zlib }:
|
||||
{ stdenv, fetchurl, boost, libwpd, libwpg, pkgconfig, zlib, gperf
|
||||
, librevenge, libxml2, icu, perl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libvisio-0.0.19";
|
||||
name = "libvisio-0.1.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://dev-www.libreoffice.org/src/${name}.tar.xz";
|
||||
sha256 = "1iqkz280mi066bdccyxagkqm41i270nx01cacvgjq2pflgd3njd1";
|
||||
url = "http://dev-www.libreoffice.org/src/${name}.tar.bz2";
|
||||
sha256 = "1vpb7nbk5qh6w3jz9rl9w8p25invcvj46parb9ld13h9777kyf0j";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ boost libwpd libwpg zlib ];
|
||||
buildInputs = [ boost libwpd libwpg zlib gperf librevenge libxml2 icu perl ];
|
||||
|
||||
configureFlags = "--disable-werror";
|
||||
|
||||
|
@ -1,14 +1,14 @@
|
||||
{ stdenv, fetchurl, zlib, pkgconfig, glib, libgsf, libxml2 }:
|
||||
{ stdenv, fetchurl, zlib, pkgconfig, glib, libgsf, libxml2, librevenge }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libwpd-0.9.9";
|
||||
name = "libwpd-0.10.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/libwpd/${name}.tar.xz";
|
||||
sha256 = "1cn2z89yzsz8k6xjl02jdfhm0pkarw3yxj9ijnz5dx7h1v5g87dr";
|
||||
sha256 = "0b6krzr6kxzm89g6bapn805kdayq70hn16n5b5wfs2lwrf0ag2wx";
|
||||
};
|
||||
|
||||
buildInputs = [ glib libgsf libxml2 zlib ];
|
||||
buildInputs = [ glib libgsf libxml2 zlib librevenge ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
}
|
||||
|
@ -1,14 +1,14 @@
|
||||
{ stdenv, fetchurl, pkgconfig, libwpd, zlib }:
|
||||
{ stdenv, fetchurl, pkgconfig, libwpd, zlib, librevenge }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libwpg-0.2.2";
|
||||
name = "libwpg-0.3.0";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/libwpg/${name}.tar.xz";
|
||||
sha256 = "1kd6d583s9162z023gh5jqrhkjsdig2bsfylw3g38xa4p5vzv6xl";
|
||||
sha256 = "097jx8a638fwwfrzf6v29r1yhc34rq9526py7wf0ck2z4fcr2w3g";
|
||||
};
|
||||
|
||||
buildInputs = [ libwpd zlib ];
|
||||
buildInputs = [ libwpd zlib librevenge ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user