mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-24 20:02:58 +03:00
webkitgtk: 2.14.11 -> 2.16.3
This commit is contained in:
parent
4f42804288
commit
3de90b259c
@ -45,7 +45,7 @@ let
|
||||
hitori gnome-taquin
|
||||
];
|
||||
|
||||
inherit (pkgs) glib gtk2 webkitgtk214x gtk3 gtkmm3 libcanberra_gtk2
|
||||
inherit (pkgs) glib gtk2 webkitgtk216x gtk3 gtkmm3 libcanberra_gtk2
|
||||
clutter clutter-gst clutter_gtk cogl gtkvnc;
|
||||
inherit (pkgs.gnome2) ORBit2;
|
||||
libsoup = pkgs.libsoup.override { gnomeSupport = true; };
|
||||
@ -56,7 +56,7 @@ let
|
||||
gtkmm = gtkmm3;
|
||||
vala = pkgs.vala_0_32;
|
||||
gegl_0_3 = pkgs.gegl_0_3.override { inherit gtk; };
|
||||
webkitgtk = webkitgtk214x;
|
||||
webkitgtk = webkitgtk216x;
|
||||
|
||||
# Simplify the nixos module and gnome packages
|
||||
defaultIconTheme = adwaita-icon-theme;
|
||||
|
@ -1,5 +1,5 @@
|
||||
{ stdenv, lib, fetchFromGitHub, pkgconfig, cmake
|
||||
, dbus, networkmanager, webkitgtk214x, pcre, python2 }:
|
||||
, dbus, networkmanager, webkitgtk216x, pcre, python2 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libproxy-${version}";
|
||||
@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
nativeBuildInputs = [ pkgconfig cmake ];
|
||||
|
||||
buildInputs = [ dbus networkmanager webkitgtk214x pcre ];
|
||||
buildInputs = [ dbus networkmanager webkitgtk216x pcre ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DWITH_WEBKIT3=ON"
|
||||
|
@ -12,7 +12,7 @@ assert enableGeoLocation -> geoclue2 != null;
|
||||
with stdenv.lib;
|
||||
stdenv.mkDerivation rec {
|
||||
name = "webkitgtk-${version}";
|
||||
version = "2.14.5";
|
||||
version = "2.16.3";
|
||||
|
||||
meta = {
|
||||
description = "Web content rendering engine, GTK+ port";
|
||||
@ -25,9 +25,9 @@ stdenv.mkDerivation rec {
|
||||
|
||||
postConfigure = optionalString stdenv.isDarwin ''
|
||||
substituteInPlace Source/WebKit2/CMakeFiles/WebKit2.dir/link.txt \
|
||||
--replace "../../lib/libWTFGTK.a" ""
|
||||
--replace "../../lib/libWTFGTK.a" ""
|
||||
substituteInPlace Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/link.txt \
|
||||
--replace "../../lib/libbmalloc.a" ""
|
||||
--replace "../../lib/libbmalloc.a" ""
|
||||
sed -i "s|[\./]*\.\./lib/lib[^\.]*\.a||g" \
|
||||
Source/JavaScriptCore/CMakeFiles/LLIntOffsetsExtractor.dir/link.txt \
|
||||
Source/JavaScriptCore/shell/CMakeFiles/jsc.dir/link.txt \
|
||||
@ -37,18 +37,18 @@ stdenv.mkDerivation rec {
|
||||
Source/WebKit2/CMakeFiles/webkit2gtkinjectedbundle.dir/link.txt \
|
||||
Source/WebKit2/CMakeFiles/WebProcess.dir/link.txt
|
||||
substituteInPlace Source/JavaScriptCore/CMakeFiles/JavaScriptCore.dir/link.txt \
|
||||
--replace "../../lib/libWTFGTK.a" "-Wl,-all_load ../../lib/libWTFGTK.a"
|
||||
--replace "../../lib/libWTFGTK.a" "-Wl,-all_load ../../lib/libWTFGTK.a"
|
||||
'';
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://webkitgtk.org/releases/${name}.tar.xz";
|
||||
sha256 = "17rnjs7yl198bkghzcc2cgh30sb5i03irb6wag3xchwv7b1z3a1w";
|
||||
sha256 = "04mmfxm8284zrlkrhkcn9gq1l4lpm1q6wwb5hyybj081v8qr2ki0";
|
||||
};
|
||||
|
||||
# see if we can clean this up....
|
||||
|
||||
patches = [ ./finding-harfbuzz-icu.patch ]
|
||||
++ optionals stdenv.isDarwin [
|
||||
++ optionals stdenv.isDarwin [
|
||||
./PR-152650-2.patch
|
||||
./PR-153138.patch
|
||||
./PR-157554.patch
|
@ -38,9 +38,9 @@ index 6b01f1a..b443d10 100644
|
||||
- set(ENABLE_GTKDOC OFF)
|
||||
-endif ()
|
||||
-
|
||||
set(DERIVED_SOURCES_GOBJECT_DOM_BINDINGS_DIR ${DERIVED_SOURCES_DIR}/webkitdom)
|
||||
set(DERIVED_SOURCES_WEBKITGTK_DIR ${DERIVED_SOURCES_DIR}/webkitgtk)
|
||||
set(DERIVED_SOURCES_WEBKITGTK_API_DIR ${DERIVED_SOURCES_WEBKITGTK_DIR}/webkit)
|
||||
set(DERIVED_SOURCES_WEBKIT2GTK_DIR ${DERIVED_SOURCES_DIR}/webkit2gtk)
|
||||
diff --git a/Tools/gtk/gtkdoc.py b/Tools/gtk/gtkdoc.py
|
||||
index 4c8237b..a628ae0 100644
|
||||
--- a/Tools/gtk/gtkdoc.py
|
||||
|
@ -10344,7 +10344,7 @@ with pkgs;
|
||||
|
||||
wcslib = callPackage ../development/libraries/wcslib { };
|
||||
|
||||
webkitgtk = webkitgtk214x;
|
||||
webkitgtk = webkitgtk216x;
|
||||
|
||||
webkitgtk24x = callPackage ../development/libraries/webkitgtk/2.4.nix {
|
||||
harfbuzz = harfbuzz-icu;
|
||||
@ -10352,7 +10352,7 @@ with pkgs;
|
||||
inherit (darwin) libobjc;
|
||||
};
|
||||
|
||||
webkitgtk214x = callPackage ../development/libraries/webkitgtk/2.14.nix {
|
||||
webkitgtk216x = callPackage ../development/libraries/webkitgtk/2.16.nix {
|
||||
harfbuzz = harfbuzz-icu;
|
||||
gst-plugins-base = gst_all_1.gst-plugins-base;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user