webkitgtk-2.4: security update, fix and parallel build
NEWS claims security fixes:
CVE-2014-1344, CVE-2014-1384, CVE-2014-1385, CVE-2014-1386,
CVE-2014-1387, CVE-2014-1388, CVE-2014-1389, CVE-2014-1390.
Otherwise NEWS seems safe, basically only containing bugfixes.
Parallel building should work now, thanks to make update :-)
tested with 8 threads, once webkitgtk24x and webkitgtk2.
2015-04-24 08:59:52 +01:00
|
|
|
{ stdenv, fetchurl, autoreconfHook, perl, python, ruby, bison, gperf, flex
|
2014-10-09 11:26:20 +01:00
|
|
|
, pkgconfig, which, gettext, gobjectIntrospection
|
2015-01-06 16:34:24 +00:00
|
|
|
, gtk2, gtk3, wayland, libwebp, enchant, sqlite
|
2014-10-09 11:26:20 +01:00
|
|
|
, libxml2, libsoup, libsecret, libxslt, harfbuzz
|
|
|
|
, gst-plugins-base
|
|
|
|
, withGtk2 ? false
|
|
|
|
, enableIntrospection ? true
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "webkitgtk-${version}";
|
2015-05-22 17:52:01 +01:00
|
|
|
version = "2.4.9";
|
2014-10-09 11:26:20 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Web content rendering engine, GTK+ port";
|
|
|
|
homepage = "http://webkitgtk.org/";
|
|
|
|
license = licenses.bsd2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.iyzsong ];
|
|
|
|
};
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://webkitgtk.org/releases/${name}.tar.xz";
|
2015-05-22 17:52:01 +01:00
|
|
|
sha256 = "0r651ar3p0f8zwl7764kyimxk5hy88cwy116pv8cl5l8hbkjkpxg";
|
2014-10-09 11:26:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
CC = "cc";
|
|
|
|
|
|
|
|
prePatch = ''
|
|
|
|
patchShebangs Tools/gtk
|
|
|
|
'';
|
|
|
|
|
webkitgtk-2.4: security update, fix and parallel build
NEWS claims security fixes:
CVE-2014-1344, CVE-2014-1384, CVE-2014-1385, CVE-2014-1386,
CVE-2014-1387, CVE-2014-1388, CVE-2014-1389, CVE-2014-1390.
Otherwise NEWS seems safe, basically only containing bugfixes.
Parallel building should work now, thanks to make update :-)
tested with 8 threads, once webkitgtk24x and webkitgtk2.
2015-04-24 08:59:52 +01:00
|
|
|
# patch *.in between autoreconf and configure
|
|
|
|
postAutoreconf = "patch -p1 < ${./webcore-svg-libxml-cflags.patch}";
|
|
|
|
|
2014-10-09 11:26:20 +01:00
|
|
|
configureFlags = with stdenv.lib; [
|
|
|
|
"--disable-geolocation"
|
|
|
|
(optionalString enableIntrospection "--enable-introspection")
|
|
|
|
] ++ stdenv.lib.optional withGtk2 [
|
|
|
|
"--with-gtk=2.0"
|
|
|
|
"--disable-webkit2"
|
|
|
|
];
|
|
|
|
|
|
|
|
dontAddDisableDepTrack = true;
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
2015-05-22 17:52:01 +01:00
|
|
|
autoreconfHook perl python ruby bison gperf flex
|
2014-10-09 11:26:20 +01:00
|
|
|
pkgconfig which gettext gobjectIntrospection
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
gtk2 wayland libwebp enchant
|
|
|
|
libxml2 libsecret libxslt harfbuzz
|
2015-01-06 16:34:24 +00:00
|
|
|
gst-plugins-base sqlite
|
2014-10-09 11:26:20 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
libsoup
|
|
|
|
(if withGtk2 then gtk2 else gtk3)
|
|
|
|
];
|
|
|
|
|
webkitgtk-2.4: security update, fix and parallel build
NEWS claims security fixes:
CVE-2014-1344, CVE-2014-1384, CVE-2014-1385, CVE-2014-1386,
CVE-2014-1387, CVE-2014-1388, CVE-2014-1389, CVE-2014-1390.
Otherwise NEWS seems safe, basically only containing bugfixes.
Parallel building should work now, thanks to make update :-)
tested with 8 threads, once webkitgtk24x and webkitgtk2.
2015-04-24 08:59:52 +01:00
|
|
|
# Probably OK now, see:
|
|
|
|
# https://bugs.webkit.org/show_bug.cgi?id=79498
|
|
|
|
enableParallelBuilding = true;
|
2014-10-09 11:26:20 +01:00
|
|
|
}
|
webkitgtk-2.4: security update, fix and parallel build
NEWS claims security fixes:
CVE-2014-1344, CVE-2014-1384, CVE-2014-1385, CVE-2014-1386,
CVE-2014-1387, CVE-2014-1388, CVE-2014-1389, CVE-2014-1390.
Otherwise NEWS seems safe, basically only containing bugfixes.
Parallel building should work now, thanks to make update :-)
tested with 8 threads, once webkitgtk24x and webkitgtk2.
2015-04-24 08:59:52 +01:00
|
|
|
|