commit
f3bc4373dc
@ -188,6 +188,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
inherit doCheck;
|
inherit doCheck;
|
||||||
|
|
||||||
|
separateDebugInfo = stdenv.isLinux;
|
||||||
|
|
||||||
passthru = rec {
|
passthru = rec {
|
||||||
gioModuleDir = "lib/gio/modules";
|
gioModuleDir = "lib/gio/modules";
|
||||||
makeSchemaPath = dir: name: "${dir}/share/gsettings-schemas/${name}/glib-2.0/schemas";
|
makeSchemaPath = dir: name: "${dir}/share/gsettings-schemas/${name}/glib-2.0/schemas";
|
||||||
|
@ -3,6 +3,9 @@
|
|||||||
, fetchpatch
|
, fetchpatch
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, gettext
|
, gettext
|
||||||
|
, docbook_xsl
|
||||||
|
, docbook_xml_dtd_43
|
||||||
|
, gtk-doc
|
||||||
, meson
|
, meson
|
||||||
, ninja
|
, ninja
|
||||||
, python3
|
, python3
|
||||||
@ -33,6 +36,7 @@
|
|||||||
, wayland-protocols
|
, wayland-protocols
|
||||||
, xineramaSupport ? stdenv.isLinux
|
, xineramaSupport ? stdenv.isLinux
|
||||||
, cupsSupport ? stdenv.isLinux
|
, cupsSupport ? stdenv.isLinux
|
||||||
|
, withGtkDoc ? stdenv.isLinux
|
||||||
, cups ? null
|
, cups ? null
|
||||||
, AppKit
|
, AppKit
|
||||||
, Cocoa
|
, Cocoa
|
||||||
@ -46,7 +50,7 @@ stdenv.mkDerivation rec {
|
|||||||
pname = "gtk+3";
|
pname = "gtk+3";
|
||||||
version = "3.24.12";
|
version = "3.24.12";
|
||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ] ++ optional withGtkDoc "devdoc";
|
||||||
outputBin = "dev";
|
outputBin = "dev";
|
||||||
|
|
||||||
setupHooks = [
|
setupHooks = [
|
||||||
@ -78,6 +82,7 @@ stdenv.mkDerivation rec {
|
|||||||
separateDebugInfo = stdenv.isLinux;
|
separateDebugInfo = stdenv.isLinux;
|
||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
|
"-Dgtk_doc=${boolToString withGtkDoc}"
|
||||||
"-Dtests=false"
|
"-Dtests=false"
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -114,6 +119,10 @@ stdenv.mkDerivation rec {
|
|||||||
python3
|
python3
|
||||||
sassc
|
sassc
|
||||||
setupHooks
|
setupHooks
|
||||||
|
] ++ optionals withGtkDoc [
|
||||||
|
docbook_xml_dtd_43
|
||||||
|
docbook_xsl
|
||||||
|
gtk-doc
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -4,13 +4,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "libgdiplus";
|
pname = "libgdiplus";
|
||||||
version = "6.0.2";
|
version = "6.0.4";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "mono";
|
owner = "mono";
|
||||||
repo = "libgdiplus";
|
repo = "libgdiplus";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "07a3n7i35mn5j2djah64by785b1hzy8ckk1pz0xwvk716yzb7sxg";
|
sha256 = "1pf3yhwq9qk0w3yv9bb8qlwwqkffg7xb4sgc8yqdnn6pa56i3vmn";
|
||||||
};
|
};
|
||||||
|
|
||||||
NIX_LDFLAGS = "-lgif";
|
NIX_LDFLAGS = "-lgif";
|
||||||
@ -21,6 +21,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
||||||
|
|
||||||
|
configureFlags = stdenv.lib.optionalString stdenv.cc.isClang "--host=${stdenv.hostPlatform.system}";
|
||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ glib cairo fontconfig libtiff giflib
|
[ glib cairo fontconfig libtiff giflib
|
||||||
libjpeg libpng libXrender libexif
|
libjpeg libpng libXrender libexif
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, file, zlib, libgnurx }:
|
{ stdenv, fetchurl, fetchpatch, file, zlib, libgnurx }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "file";
|
pname = "file";
|
||||||
@ -12,6 +12,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0zz0p9bqnswfx0c16j8k62ivjq1m16x10xqv4hy9lcyxyxkkkhg9";
|
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;
|
nativeBuildInputs = stdenv.lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) file;
|
||||||
buildInputs = [ zlib ]
|
buildInputs = [ zlib ]
|
||||||
++ stdenv.lib.optional stdenv.hostPlatform.isWindows libgnurx;
|
++ stdenv.lib.optional stdenv.hostPlatform.isWindows libgnurx;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user