Skip to content

Commit

Permalink
Merge branch 'master' into staging
Browse files Browse the repository at this point in the history
>11k more build jobs on master, just for Linux :-/
This way staging will never catch up.
  • Loading branch information
vcunat committed Feb 3, 2017
2 parents e7c968f + dea8195 commit 2ba076e
Show file tree
Hide file tree
Showing 19 changed files with 400 additions and 306 deletions.
7 changes: 7 additions & 0 deletions nixos/modules/virtualisation/qemu-vm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,13 @@ in
options = [ "trans=virtio" "version=9p2000.L" "veryloose" ];
neededForBoot = true;
};
"/tmp" = mkIf config.boot.tmpOnTmpfs
{ device = "tmpfs";
fsType = "tmpfs";
neededForBoot = true;
# Sync with systemd's tmp.mount;
options = [ "mode=1777" "strictatime" "nosuid" "nodev" ];
};
"/tmp/xchg" =
{ device = "xchg";
fsType = "9p";
Expand Down
8 changes: 4 additions & 4 deletions pkgs/applications/office/libreoffice/default-primary-src.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

rec {
major = "5";
minor = "2";
patch = "4";
tweak = "2";
minor = "3";
patch = "0";
tweak = "3";

subdir = "${major}.${minor}.${patch}";

version = "${subdir}${if tweak == "" then "" else "."}${tweak}";

src = fetchurl {
url = "http://download.documentfoundation.org/libreoffice/src/${subdir}/libreoffice-${version}.tar.xz";
sha256 = "047byvyg13baws1bycaq1s6wqhkcr2pk27xbag0npzx1lspx2wwb";
sha256 = "0vjmc8id9krpy9n4f0yil8k782cdzwmk53lvszi7r32b3ig23f84";
};
}
20 changes: 13 additions & 7 deletions pkgs/applications/office/libreoffice/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
, libwpg, dbus_glib, glibc, qt4, kde4, clucene_core, libcdr, lcms, vigra
, unixODBC, mdds, sane-backends, mythes, libexttextcat, libvisio
, fontsConf, pkgconfig, libzip, bluez5, libtool, maven
, libatomic_ops, graphite2, harfbuzz, libodfgen
, libatomic_ops, graphite2, harfbuzz, libodfgen, libzmf
, librevenge, libe-book, libmwaw, glm, glew, gst_all_1
, gdb, commonsLogging, librdf_rasqal, makeWrapper, gsettings_desktop_schemas
, defaultIconTheme, glib, ncurses
Expand Down Expand Up @@ -42,14 +42,14 @@ let

translations = fetchSrc {
name = "translations";
sha256 = "075f7jpp8qi6piwrw4n8inynvsgp0270pdd9jmc2fqv6j5gsn332";
sha256 = "1ld1zj2f0cbyr0fkibsiazyrb4qkshc9yqkfmq7b64hhp9zsa8a3";
};

# TODO: dictionaries

help = fetchSrc {
name = "help";
sha256 = "10p1xd077278gm3syd3lc54fzjsvrvzm0zr6csn9iq90kmlsgwzy";
sha256 = "0zqs9g6hqjv5z0yzi0ag4ii158249c70ppqhg1v60haip40xan6z";
};

};
Expand All @@ -65,9 +65,7 @@ in stdenv.mkDerivation rec {

# For some reason librdf_redland sometimes refers to rasqal.h instead
# of rasqal/rasqal.h
# curl upgrade to 7.50.0 (#17152) changes the libcurl headers slightly and
# therefore requires the -fpermissive flag until this package gets updated
NIX_CFLAGS_COMPILE="-I${librdf_rasqal}/include/rasqal -fpermissive";
NIX_CFLAGS_COMPILE="-I${librdf_rasqal}/include/rasqal";

# If we call 'configure', 'make' will then call configure again without parameters.
# It's their system.
Expand Down Expand Up @@ -126,6 +124,13 @@ in stdenv.mkDerivation rec {
sed -e 's/CppunitTest_dbaccess_empty_stdlib_save//' -i ./dbaccess/Module_dbaccess.mk
# one more fragile test?
sed -e '/CPPUNIT_TEST(testTdf77014);/d' -i sw/qa/extras/uiwriter/uiwriter.cxx
# rendering-dependent tests
sed -e '/CPPUNIT_TEST(testCustomColumnWidthExportXLSX)/d' -i sc/qa/unit/subsequent_export-test.cxx
sed -e '/CPPUNIT_TEST(testColumnWidthExportFromODStoXLSX)/d' -i sc/qa/unit/subsequent_export-test.cxx
sed -e '/CPPUNIT_TEST(testChartImportXLS)/d' -i sc/qa/unit/subsequent_filters-test.cxx
sed -zre 's/DesktopLOKTest::testGetFontSubset[^{]*[{]/& return; /' -i desktop/qa/desktop_lib/test_desktop_lib.cxx
# not sure about this fragile test
sed -z -r -e 's/DECLARE_OOXMLEXPORT_TEST[(]testTDF87348,[^)]*[)].[{]/& return;/' -i sw/qa/extras/ooxmlexport/ooxmlexport7.cxx
'';

makeFlags = "SHELL=${bash}/bin/bash";
Expand Down Expand Up @@ -219,6 +224,7 @@ in stdenv.mkDerivation rec {
"--without-system-libmspub"
"--without-system-libpagemaker"
"--without-system-libgltf"
"--without-system-libstaroffice"
# https://github.com/NixOS/nixpkgs/commit/5c5362427a3fa9aefccfca9e531492a8735d4e6f
"--without-system-orcus"
];
Expand All @@ -239,7 +245,7 @@ in stdenv.mkDerivation rec {
gst_all_1.gst-plugins-base gsettings_desktop_schemas glib
neon nspr nss openldap openssl ORBit2 pam perl pkgconfig poppler
python3 sablotron sane-backends unzip vigra which zip zlib
mdds bluez5 glibc libcmis libwps libabw
mdds bluez5 glibc libcmis libwps libabw libzmf
libxshmfence libatomic_ops graphite2 harfbuzz
librevenge libe-book libmwaw glm glew ncurses
libodfgen CoinMP librdf_rasqal defaultIconTheme makeWrapper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ def interpret_tarball_with_md5(x):
'md5': '48d647fbd8ef8889e5a7f422c1bfda94', 'brief': False}}
"""

match = {'key': re.match('^(.*)_TARBALL$', x['key']),
match = {'key': re.match('^(.*)_(TARBALL|JAR)$', x['key']),
'value': re.match('(?P<md5>[0-9a-fA-F]{32})-(?P<tarball>.+)$',
x['value'])}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"LIBGLTF": {"subdir": "libgltf/"}
"LIBGLTF": {"subdir": "libgltf/"},
"ODFVALIDATOR": {"subdir": "../extern/"},
"OFFICEOTRON": {"subdir": "../extern/"}
}

0 comments on commit 2ba076e

Please sign in to comment.