git.iko.soy/typeable/nixpkgs
on master help sign in
Merge older staging

This is almost fully rebuilt on staging (waiting for ~7.5k Darwin jobs), but now master got ~17k rebuild, so staging wouldn't catch up this way.

commite83b78b3ed1823fb12aedd709de53bb7e4aba451 authorVladimír Čunát <vcunat@gmail.com> dateWed 27 Sep 2017, 20:48 (9 years ago) parentf39ead7332dc7c
10 files changed+78−72
pkgs/development/libraries/at-spi2-atk/default.nix+3−3 pkgs/development/libraries/at-spi2-core/default.nix+3−3 pkgs/development/libraries/atk/default.nix+2−2 pkgs/development/libraries/glib/default.nix+46−40 pkgs/development/libraries/harfbuzz/default.nix+2−2 pkgs/development/libraries/libsoup/default.nix+3−5 pkgs/development/libraries/mesa/default.nix+2−2 pkgs/development/libraries/pango/default.nix+2−11 pkgs/development/libraries/qt-5/qtbase-setup-hook.sh+12−1 pkgs/development/tools/build-managers/cmake/default.nix+3−3
pkgs/development/libraries/at-spi2-atk/default.nix+3−3
@@ -2,14 +2,14 @@
22, intltool, dbus_glib, at_spi2_core, libSM }:
33
44stdenv.mkDerivation rec {
5− versionMajor = "2.24";
6− versionMinor = "1";
5+ versionMajor = "2.26";
6+ versionMinor = "0";
77 moduleName = "at-spi2-atk";
88 name = "${moduleName}-${versionMajor}.${versionMinor}";
99
1010 src = fetchurl {
1111 url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${name}.tar.xz";
12− sha256 = "60dc90ac4f74b8ffe96a9363c25208a443b381bacecfefea6de549f20ed6957d";
12+ sha256 = "d25e528e1406a10c7d9b675aa15e638bcbf0a122ca3681f655a30cce83272fb9";
1313 };
1414
1515 buildInputs = [ python pkgconfig popt atk libX11 libICE xorg.libXtst libXi
pkgs/development/libraries/at-spi2-core/default.nix+3−3
@@ -2,14 +2,14 @@
22, libX11, xextproto, libSM, libICE, libXtst, libXi, gobjectIntrospection }:
33
44stdenv.mkDerivation rec {
5− versionMajor = "2.24";
6− versionMinor = "1";
5+ versionMajor = "2.26";
6+ versionMinor = "0";
77 moduleName = "at-spi2-core";
88 name = "${moduleName}-${versionMajor}.${versionMinor}";
99
1010 src = fetchurl {
1111 url = "mirror://gnome/sources/${moduleName}/${versionMajor}/${name}.tar.xz";
12− sha256 = "1e90d064b937aacfe79a96232ac7e63d28d716e85bd9ff4333f865305a959b5b";
12+ sha256 = "511568a65fda11fdd5ba5d4adfd48d5d76810d0e6ba4f7460f1b2ec0dbbbc337";
1313 };
1414
1515 outputs = [ "out" "dev" ];
pkgs/development/libraries/atk/default.nix+2−2
@@ -1,7 +1,7 @@
11{ stdenv, fetchurl, pkgconfig, perl, glib, libintlOrEmpty, gobjectIntrospection }:
22
33let
4− ver_maj = "2.22";
4+ ver_maj = "2.26";
55 ver_min = "0";
66in
77stdenv.mkDerivation rec {
@@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
99
1010 src = fetchurl {
1111 url = "mirror://gnome/sources/atk/${ver_maj}/${name}.tar.xz";
12− sha256 = "d349f5ca4974c9c76a4963e5b254720523b0c78672cbc0e1a3475dbd9b3d44b6";
12+ sha256 = "eafe49d5c4546cb723ec98053290d7e0b8d85b3fdb123938213acb7bb4178827";
1313 };
1414
1515 enableParallelBuilding = true;
pkgs/development/libraries/glib/default.nix+46−40
@@ -42,8 +42,8 @@ let
4242 ln -sr -t "''${!outputInclude}/include/" "''${!outputInclude}"/lib/*/include/* 2>/dev/null || true
4343 '';
4444
45− ver_maj = "2.52";
46− ver_min = "3";
45+ ver_maj = "2.54";
46+ ver_min = "0";
4747in
4848
4949stdenv.mkDerivation rec {
@@ -51,10 +51,11 @@ stdenv.mkDerivation rec {
5151
5252 src = fetchurl {
5353 url = "mirror://gnome/sources/glib/${ver_maj}/${name}.tar.xz";
54− sha256 = "0a71wkkhkvad84gm30w13micxxgqqw3sxhybj7nd9z60lwspdvi5";
54+ sha256 = "fe22998ff0394ec31e6e5511c379b74011bee61a4421bca7fcab223dfbe0fc6a";
5555 };
5656
57− patches = optional stdenv.isDarwin ./darwin-compilation.patch ++ optional doCheck ./skip-timer-test.patch;
57+ patches = optional stdenv.isDarwin ./darwin-compilation.patch
58+ ++ optional doCheck ./skip-timer-test.patch;
5859
5960 outputs = [ "out" "dev" "devdoc" ];
6061 outputBin = "dev";
@@ -76,21 +77,23 @@ stdenv.mkDerivation rec {
7677 ++ optional (stdenv.isFreeBSD || stdenv.isSunOS) "--with-libiconv=gnu"
7778 ++ optional stdenv.isSunOS "--disable-dtrace";
7879
79− NIX_CFLAGS_COMPILE = optionalString stdenv.isDarwin " -lintl"
80− + optionalString stdenv.isSunOS " -DBSD_COMP";
80+ NIX_CFLAGS_COMPILE = optional stdenv.isDarwin "-lintl"
81+ ++ optional stdenv.isSunOS "-DBSD_COMP";
8182
82− preConfigure = if !stdenv.isSunOS then null else
83− ''
84− sed -i -e 's|inotify.h|foobar-inotify.h|g' configure
85− '';
83+ preConfigure = optionalString stdenv.isSunOS ''
84+ sed -i -e 's|inotify.h|foobar-inotify.h|g' configure
85+ '';
86+
87+ postConfigure = ''
88+ patchShebangs ./gobject/
89+ '';
8690
8791 LIBELF_CFLAGS = optional stdenv.isFreeBSD "-I${libelf}";
8892 LIBELF_LIBS = optional stdenv.isFreeBSD "-L${libelf} -lelf";
8993
90− preBuild = optionalString stdenv.isDarwin
91− ''
92− export MACOSX_DEPLOYMENT_TARGET=
93− '';
94+ preBuild = optionalString stdenv.isDarwin ''
95+ export MACOSX_DEPLOYMENT_TARGET=
96+ '';
9497
9598 enableParallelBuilding = true;
9699 DETERMINISTIC_BUILD = 1;
@@ -100,33 +103,36 @@ stdenv.mkDerivation rec {
100103 substituteInPlace "$dev/bin/gdbus-codegen" --replace "$out" "$dev"
101104 sed -i "$dev/bin/glib-gettextize" -e "s|^gettext_dir=.*|gettext_dir=$dev/share/glib-2.0/gettext|"
102105 ''
103− # This file is *included* in gtk3 and would introduce runtime reference via __FILE__.
104− + ''
105− sed '1i#line 1 "${name}/include/glib-2.0/gobject/gobjectnotifyqueue.c"' \
106− -i "$dev"/include/glib-2.0/gobject/gobjectnotifyqueue.c
107− '';
106+ # This file is *included* in gtk3 and would introduce runtime reference via __FILE__.
107+ + ''
108+ sed '1i#line 1 "${name}/include/glib-2.0/gobject/gobjectnotifyqueue.c"' \
109+ -i "$dev"/include/glib-2.0/gobject/gobjectnotifyqueue.c
110+ '';
108111
109112 inherit doCheck;
110− preCheck = optionalString doCheck
111− '' export LD_LIBRARY_PATH="$NIX_BUILD_TOP/${name}/glib/.libs:$LD_LIBRARY_PATH"
112− export TZDIR="${tzdata}/share/zoneinfo"
113− export XDG_CACHE_HOME="$TMP"
114− export XDG_RUNTIME_HOME="$TMP"
115− export HOME="$TMP"
116− export XDG_DATA_DIRS="${desktop_file_utils}/share:${shared_mime_info}/share"
117− export G_TEST_DBUS_DAEMON="${dbus_daemon.out}/bin/dbus-daemon"
118−
119− substituteInPlace gio/tests/desktop-files/home/applications/epiphany-weather-for-toronto-island-9c6a4e022b17686306243dada811d550d25eb1fb.desktop --replace "Exec=/bin/true" "Exec=${coreutils}/bin/true"
120− # Needs machine-id, comment the test
121− sed -e '/\/gdbus\/codegen-peer-to-peer/ s/^\/*/\/\//' -i gio/tests/gdbus-peer.c
122− sed -e '/g_test_add_func/ s/^\/*/\/\//' -i gio/tests/gdbus-unix-addresses.c
123− # All gschemas fail to pass the test, upstream bug?
124− sed -e '/g_test_add_data_func/ s/^\/*/\/\//' -i gio/tests/gschema-compile.c
125− # Cannot reproduce the failing test_associations on hydra
126− sed -e '/\/appinfo\/associations/d' -i gio/tests/appinfo.c
127− # Needed because of libtool wrappers
128− sed -e '/g_subprocess_launcher_set_environ (launcher, envp);/a g_subprocess_launcher_setenv (launcher, "PATH", g_getenv("PATH"), TRUE);' -i gio/tests/gsubprocess.c
129− '';
113+ preCheck = optionalString doCheck ''
114+ export LD_LIBRARY_PATH="$NIX_BUILD_TOP/${name}/glib/.libs:$LD_LIBRARY_PATH"
115+ export TZDIR="${tzdata}/share/zoneinfo"
116+ export XDG_CACHE_HOME="$TMP"
117+ export XDG_RUNTIME_HOME="$TMP"
118+ export HOME="$TMP"
119+ export XDG_DATA_DIRS="${desktop_file_utils}/share:${shared_mime_info}/share"
120+ export G_TEST_DBUS_DAEMON="${dbus_daemon.out}/bin/dbus-daemon"
121+ export PATH="$PATH:$(pwd)/gobject"
122+ echo "PATH=$PATH"
123+
124+ substituteInPlace gio/tests/desktop-files/home/applications/epiphany-weather-for-toronto-island-9c6a4e022b17686306243dada811d550d25eb1fb.desktop \
125+ --replace "Exec=/bin/true" "Exec=${coreutils}/bin/true"
126+ # Needs machine-id, comment the test
127+ sed -e '/\/gdbus\/codegen-peer-to-peer/ s/^\/*/\/\//' -i gio/tests/gdbus-peer.c
128+ sed -e '/g_test_add_func/ s/^\/*/\/\//' -i gio/tests/gdbus-unix-addresses.c
129+ # All gschemas fail to pass the test, upstream bug?
130+ sed -e '/g_test_add_data_func/ s/^\/*/\/\//' -i gio/tests/gschema-compile.c
131+ # Cannot reproduce the failing test_associations on hydra
132+ sed -e '/\/appinfo\/associations/d' -i gio/tests/appinfo.c
133+ # Needed because of libtool wrappers
134+ sed -e '/g_subprocess_launcher_set_environ (launcher, envp);/a g_subprocess_launcher_setenv (launcher, "PATH", g_getenv("PATH"), TRUE);' -i gio/tests/gsubprocess.c
135+ '';
130136
131137 passthru = {
132138 gioModuleDir = "lib/gio/modules";
@@ -136,7 +142,7 @@ stdenv.mkDerivation rec {
136142 meta = with stdenv.lib; {
137143 description = "C library of programming buildings blocks";
138144 homepage = https://www.gtk.org/;
139− license = licenses.lgpl2Plus;
145+ license = licenses.lgpl21Plus;
140146 maintainers = with maintainers; [ lovek323 raskin ];
141147 platforms = platforms.unix;
142148
pkgs/development/libraries/harfbuzz/default.nix+2−2
@@ -5,7 +5,7 @@
55}:
66
77let
8− version = "1.4.8";
8+ version = "1.5.1";
99 inherit (stdenv.lib) optional optionals optionalString;
1010in
1111
@@ -14,7 +14,7 @@ stdenv.mkDerivation {
1414
1515 src = fetchurl {
1616 url = "http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-${version}.tar.bz2";
17− sha256 = "ccec4930ff0bb2d0c40aee203075447954b64a8c2695202413cc5e428c907131";
17+ sha256 = "56838dfdad2729b8866763c82d623354d138a4d99d9ffb710c7d377b5cfc7c51";
1818 };
1919
2020 outputs = [ "out" "dev" ];
pkgs/development/libraries/libsoup/default.nix+3−5
@@ -4,15 +4,15 @@
44, libintlOrEmpty
55, intltool, python }:
66let
7− majorVersion = "2.59";
8− version = "${majorVersion}.90.1";
7+ majorVersion = "2.60";
8+ version = "${majorVersion}.0";
99in
1010stdenv.mkDerivation {
1111 name = "libsoup-${version}";
1212
1313 src = fetchurl {
1414 url = "mirror://gnome/sources/libsoup/${majorVersion}/libsoup-${version}.tar.xz";
15− sha256 = "0bh8wa0szkm9bx2anfq655zshwf6jhxvrqwx8jyh8rqgi6z9dhz0";
15+ sha256 = "b324edbecda0884143c0853b4a2bd5bd37fb3761f12f293c621ff34b9acdc84c";
1616 };
1717
1818 prePatch = ''
@@ -38,8 +38,6 @@ stdenv.mkDerivation {
3838
3939 NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-lintl";
4040
41− postInstall = "rm -rf $out/share/gtk-doc";
42−
4341 meta = {
4442 inherit (glib.meta) maintainers platforms;
4543 };
pkgs/development/libraries/mesa/default.nix+2−2
@@ -67,7 +67,7 @@ let
6767in
6868
6969let
70− version = "17.1.9";
70+ version = "17.1.10";
7171 branch = head (splitString "." version);
7272 driverLink = "/run/opengl-driver" + optionalString stdenv.isi686 "-32";
7373in
@@ -82,7 +82,7 @@ stdenv.mkDerivation {
8282 "ftp://ftp.freedesktop.org/pub/mesa/older-versions/${branch}.x/${version}/mesa-${version}.tar.xz"
8383 "https://launchpad.net/mesa/trunk/${version}/+download/mesa-${version}.tar.xz"
8484 ];
85− sha256 = "5f51ad94341696097d5df7b838183534478216858ac0fc8de183671a36ffea1a";
85+ sha256 = "cbc0d681cc4df47d8deb5a36f45b420978128522fd665b2cd4c7096316f11bdb";
8686 };
8787
8888 prePatch = "patchShebangs .";
pkgs/development/libraries/pango/default.nix+2−11
@@ -6,25 +6,16 @@ with stdenv.lib;
66
77let
88 ver_maj = "1.40";
9− ver_min = "11";
9+ ver_min = "12";
1010in
1111stdenv.mkDerivation rec {
1212 name = "pango-${ver_maj}.${ver_min}";
1313
1414 src = fetchurl {
1515 url = "mirror://gnome/sources/pango/${ver_maj}/${name}.tar.xz";
16− sha256 = "5b11140590e632739e4151cae06b8116160d59e22bf36a3ccd5df76d1cf0383e";
16+ sha256 = "75f1a9a8e4e2b28cbc078b50c1fa927ee4ded994d1ade97c5603e2d1f3161cfc";
1717 };
1818
19− patches = [
20− # https://bugzilla.gnome.org/show_bug.cgi?id=785978#c9
21− (fetchpatch rec {
22− name = "pango-fix-gtk2-test-failures.patch";
23− url = "https://bug785978.bugzilla-attachments.gnome.org/attachment.cgi?id=357690&action=diff&collapsed=&context=patch&format=raw&headers=1";
24− sha256 = "055m2dllfr5pgw6bci72snw38f4hsyw1x7flj188c965ild8lq3a";
25− })
26− ];
27−
2819 outputs = [ "bin" "dev" "out" "devdoc" ];
2920
3021 buildInputs = [ gobjectIntrospection ];
pkgs/development/libraries/qt-5/qtbase-setup-hook.sh+12−1
@@ -116,7 +116,11 @@ fi
116116
117117if [ -z "$NIX_QT5_TMP" ]; then
118118 if [ -z "$NIX_QT_SUBMODULE" ]; then
119− NIX_QT5_TMP=$(pwd)/__nix_qt5__
119+ if [ -z "$IN_NIX_SHELL" ]; then
120+ NIX_QT5_TMP=$(pwd)/__nix_qt5__
121+ else
122+ NIX_QT5_TMP=$(mktemp -d)
123+ fi
120124 else
121125 NIX_QT5_TMP=$out
122126 fi
@@ -142,3 +146,10 @@ EOF
142146 export QMAKE="$NIX_QT5_TMP/bin/qmake"
143147fi
144148
149+_qtShellCleanupHook () {
150+ rm -fr $NIX_QT5_TMP
151+}
152+
153+if [ -n "$IN_NIX_SHELL" ]; then
154+ trap _qtShellCleanupHook EXIT
155+fi
pkgs/development/tools/build-managers/cmake/default.nix+3−3
@@ -17,7 +17,7 @@ with stdenv.lib;
1717let
1818 os = stdenv.lib.optionalString;
1919 majorVersion = "3.9";
20− minorVersion = "1";
20+ minorVersion = "2";
2121 version = "${majorVersion}.${minorVersion}";
2222in
2323
@@ -28,8 +28,8 @@ stdenv.mkDerivation rec {
2828
2929 src = fetchurl {
3030 url = "${meta.homepage}files/v${majorVersion}/cmake-${version}.tar.gz";
31− # from https://cmake.org/files/v3.9/cmake-3.9.1-SHA-256.txt
32− sha256 = "d768ee83d217f91bb597b3ca2ac663da7a8603c97e1f1a5184bc01e0ad2b12bb";
31+ # from https://cmake.org/files/v3.9/cmake-3.9.2-SHA-256.txt
32+ sha256 = "954a5801a456ee48e76f01107c9a4961677dd0f3e115275bbd18410dc22ba3c1";
3333 };
3434
3535 prePatch = optionalString (!useSharedLibraries) ''