3
0
Fork 0
forked from mirrors/nixpkgs

Merge staging into staging-next

This commit is contained in:
Frederik Rietdijk 2019-10-29 09:53:21 +01:00
commit bcf59bbfcb
5 changed files with 31 additions and 5 deletions

View file

@ -188,6 +188,8 @@ stdenv.mkDerivation rec {
inherit doCheck;
separateDebugInfo = stdenv.isLinux;
passthru = rec {
gioModuleDir = "lib/gio/modules";
makeSchemaPath = dir: name: "${dir}/share/gsettings-schemas/${name}/glib-2.0/schemas";

View file

@ -3,6 +3,9 @@
, fetchpatch
, pkgconfig
, gettext
, docbook_xsl
, docbook_xml_dtd_43
, gtk-doc
, meson
, ninja
, python3
@ -46,7 +49,7 @@ stdenv.mkDerivation rec {
pname = "gtk+3";
version = "3.24.12";
outputs = [ "out" "dev" ];
outputs = [ "out" "dev" "devdoc" ];
outputBin = "dev";
setupHooks = [
@ -78,6 +81,7 @@ stdenv.mkDerivation rec {
separateDebugInfo = stdenv.isLinux;
mesonFlags = [
"-Dgtk_doc=true"
"-Dtests=false"
];
@ -105,7 +109,10 @@ stdenv.mkDerivation rec {
'';
nativeBuildInputs = [
docbook_xml_dtd_43
docbook_xsl
gettext
gtk-doc
gobject-introspection
makeWrapper
meson

View file

@ -4,13 +4,13 @@
stdenv.mkDerivation rec {
pname = "libgdiplus";
version = "6.0.2";
version = "6.0.4";
src = fetchFromGitHub {
owner = "mono";
repo = "libgdiplus";
rev = version;
sha256 = "07a3n7i35mn5j2djah64by785b1hzy8ckk1pz0xwvk716yzb7sxg";
sha256 = "1pf3yhwq9qk0w3yv9bb8qlwwqkffg7xb4sgc8yqdnn6pa56i3vmn";
};
NIX_LDFLAGS = "-lgif";
@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook pkgconfig ];
configureFlags = stdenv.lib.optionalString stdenv.cc.isClang "--host=${stdenv.hostPlatform.system}";
buildInputs =
[ glib cairo fontconfig libtiff giflib
libjpeg libpng libXrender libexif

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, cmake
{ stdenv, fetchurl, cmake, fetchpatch
, curl, openssl, zlib
, libiconv
, version, sha256, ...
@ -18,6 +18,13 @@ stdenv.mkDerivation {
inherit sha256;
};
patches = [
(fetchpatch {
url = "https://github.com/MariaDB/mariadb-connector-c/commit/ee91b2c98a63acb787114dee4f2694e154630928.patch";
sha256 = "05mlyv20kzn9bax4byv2ph1cf42541fcl1zcqzbfwqmynnisvdah";
})
];
cmakeFlags = [
"-DMARIADB_UNIX_ADDR=/run/mysqld/mysqld.sock"
"-DWITH_CURL=ON"

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, file, zlib, libgnurx }:
{ stdenv, fetchurl, fetchpatch, file, zlib, libgnurx }:
stdenv.mkDerivation rec {
pname = "file";
@ -12,6 +12,14 @@ stdenv.mkDerivation rec {
sha256 = "0zz0p9bqnswfx0c16j8k62ivjq1m16x10xqv4hy9lcyxyxkkkhg9";
};
patches = [
(fetchpatch {
name = "CVE-2019-18218.patch";
url = "https://sources.debian.org/data/main/f/file/1:5.37-6/debian/patches/cherry-pick.FILE5_37-67-g46a8443f.limit-the-number-of-elements-in-a-vector-found-by-oss-fuzz.patch";
sha256 = "1i22y91yndc3n2p2ngczp1lwil8l05sp8ciicil74xrc5f91y6mj";
})
];
nativeBuildInputs = stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) file;
buildInputs = [ zlib ]
++ stdenv.lib.optional stdenv.hostPlatform.isWindows libgnurx;