Merge pull request #26125 from volth/webkitgtk-naming
rename webkitgtk24x⇒webkitgtk24x-gtk3; webkitgtk2⇒webkitgtk24x-gtk2
This commit is contained in:
commit
8a62a9b064
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, makeDesktopItem, freetype, fontconfig, libX11, libXrender
|
{ stdenv, makeDesktopItem, freetype, fontconfig, libX11, libXrender
|
||||||
, zlib, jdk, glib, gtk2, libXtst, gsettings_desktop_schemas, webkitgtk2
|
, zlib, jdk, glib, gtk2, libXtst, gsettings_desktop_schemas, webkitgtk24x-gtk2
|
||||||
, makeWrapper, ... }:
|
, makeWrapper, ... }:
|
||||||
|
|
||||||
{ name, src ? builtins.getAttr stdenv.system sources, sources ? null, description }:
|
{ name, src ? builtins.getAttr stdenv.system sources, sources ? null, description }:
|
||||||
|
@ -20,7 +20,7 @@ stdenv.mkDerivation rec {
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
fontconfig freetype glib gsettings_desktop_schemas gtk2 jdk libX11
|
fontconfig freetype glib gsettings_desktop_schemas gtk2 jdk libX11
|
||||||
libXrender libXtst makeWrapper zlib
|
libXrender libXtst makeWrapper zlib
|
||||||
] ++ stdenv.lib.optional (webkitgtk2 != null) webkitgtk2;
|
] ++ stdenv.lib.optional (webkitgtk24x-gtk2 != null) webkitgtk24x-gtk2;
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
# Unpack tarball.
|
# Unpack tarball.
|
||||||
|
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
makeWrapper $out/eclipse/eclipse $out/bin/eclipse \
|
makeWrapper $out/eclipse/eclipse $out/bin/eclipse \
|
||||||
--prefix PATH : ${jdk}/bin \
|
--prefix PATH : ${jdk}/bin \
|
||||||
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath ([ glib gtk2 libXtst ] ++ stdenv.lib.optional (webkitgtk2 != null) webkitgtk2)} \
|
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath ([ glib gtk2 libXtst ] ++ stdenv.lib.optional (webkitgtk24x-gtk2 != null) webkitgtk24x-gtk2)} \
|
||||||
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
|
--prefix XDG_DATA_DIRS : "$GSETTINGS_SCHEMAS_PATH" \
|
||||||
--add-flags "-configuration \$HOME/.eclipse/''${productId}_$productVersion/configuration"
|
--add-flags "-configuration \$HOME/.eclipse/''${productId}_$productVersion/configuration"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ stdenv, lib, fetchurl, makeDesktopItem, makeWrapper
|
{ stdenv, lib, fetchurl, makeDesktopItem, makeWrapper
|
||||||
, freetype, fontconfig, libX11, libXext, libXrender, zlib
|
, freetype, fontconfig, libX11, libXext, libXrender, zlib
|
||||||
, glib, gtk2, libXtst, jdk, gsettings_desktop_schemas
|
, glib, gtk2, libXtst, jdk, gsettings_desktop_schemas
|
||||||
, webkitgtk2 ? null # for internal web browser
|
, webkitgtk24x-gtk2 ? null # for internal web browser
|
||||||
, buildEnv, writeText, runCommand
|
, buildEnv, writeText, runCommand
|
||||||
, callPackage
|
, callPackage
|
||||||
}:
|
}:
|
||||||
|
@ -12,7 +12,7 @@ rec {
|
||||||
|
|
||||||
buildEclipse = import ./build-eclipse.nix {
|
buildEclipse = import ./build-eclipse.nix {
|
||||||
inherit stdenv makeDesktopItem freetype fontconfig libX11 libXrender zlib
|
inherit stdenv makeDesktopItem freetype fontconfig libX11 libXrender zlib
|
||||||
jdk glib gtk2 libXtst gsettings_desktop_schemas webkitgtk2
|
jdk glib gtk2 libXtst gsettings_desktop_schemas webkitgtk24x-gtk2
|
||||||
makeWrapper;
|
makeWrapper;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
, withX ? !stdenv.isDarwin
|
, withX ? !stdenv.isDarwin
|
||||||
, withGTK2 ? false, gtk2 ? null
|
, withGTK2 ? false, gtk2 ? null
|
||||||
, withGTK3 ? true, gtk3 ? null, gsettings_desktop_schemas ? null
|
, withGTK3 ? true, gtk3 ? null, gsettings_desktop_schemas ? null
|
||||||
, withXwidgets ? false, webkitgtk24x ? null, wrapGAppsHook ? null, glib_networking ? null
|
, withXwidgets ? false, webkitgtk24x-gtk3 ? null, wrapGAppsHook ? null, glib_networking ? null
|
||||||
, withCsrc ? true
|
, withCsrc ? true
|
||||||
, srcRepo ? false, autoconf ? null, automake ? null, texinfo ? null
|
, srcRepo ? false, autoconf ? null, automake ? null, texinfo ? null
|
||||||
}:
|
}:
|
||||||
|
@ -16,7 +16,7 @@ assert withGTK2 -> withX || stdenv.isDarwin;
|
||||||
assert withGTK3 -> withX || stdenv.isDarwin;
|
assert withGTK3 -> withX || stdenv.isDarwin;
|
||||||
assert withGTK2 -> !withGTK3 && gtk2 != null;
|
assert withGTK2 -> !withGTK3 && gtk2 != null;
|
||||||
assert withGTK3 -> !withGTK2 && gtk3 != null;
|
assert withGTK3 -> !withGTK2 && gtk3 != null;
|
||||||
assert withXwidgets -> withGTK3 && webkitgtk24x != null;
|
assert withXwidgets -> withGTK3 && webkitgtk24x-gtk3 != null;
|
||||||
|
|
||||||
let
|
let
|
||||||
toolkit =
|
toolkit =
|
||||||
|
@ -49,7 +49,7 @@ stdenv.mkDerivation rec {
|
||||||
++ lib.optional (withX && withGTK2) gtk2
|
++ lib.optional (withX && withGTK2) gtk2
|
||||||
++ lib.optionals (withX && withGTK3) [ gtk3 gsettings_desktop_schemas ]
|
++ lib.optionals (withX && withGTK3) [ gtk3 gsettings_desktop_schemas ]
|
||||||
++ lib.optional (stdenv.isDarwin && withX) cairo
|
++ lib.optional (stdenv.isDarwin && withX) cairo
|
||||||
++ lib.optionals (withX && withXwidgets) [ webkitgtk24x glib_networking ];
|
++ lib.optionals (withX && withXwidgets) [ webkitgtk24x-gtk3 glib_networking ];
|
||||||
|
|
||||||
propagatedBuildInputs = lib.optionals stdenv.isDarwin [ AppKit GSS ImageIO ];
|
propagatedBuildInputs = lib.optionals stdenv.isDarwin [ AppKit GSS ImageIO ];
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchgit, pkgconfig, makeWrapper, libsoup, webkitgtk2, gtk2, gnutls
|
{ stdenv, fetchgit, pkgconfig, makeWrapper, libsoup, webkitgtk24x-gtk2, gtk2, gnutls
|
||||||
, json_c, m4, glib_networking, gsettings_desktop_schemas, dconf }:
|
, json_c, m4, glib_networking, gsettings_desktop_schemas, dconf }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
|
@ -11,7 +11,7 @@ stdenv.mkDerivation {
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ pkgconfig makeWrapper gsettings_desktop_schemas libsoup
|
buildInputs = [ pkgconfig makeWrapper gsettings_desktop_schemas libsoup
|
||||||
webkitgtk2 gtk2 gnutls json_c m4 ];
|
webkitgtk24x-gtk2 gtk2 gnutls json_c m4 ];
|
||||||
|
|
||||||
# There are Xlib and gtk warnings therefore I have set Wno-error
|
# There are Xlib and gtk warnings therefore I have set Wno-error
|
||||||
makeFlags = ''PREFIX=$(out) GTK=2 CPPFLAGS="-Wno-error"'';
|
makeFlags = ''PREFIX=$(out) GTK=2 CPPFLAGS="-Wno-error"'';
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchFromGitHub, scons, pkgconfig, gnome3, gmime, webkitgtk24x
|
{ stdenv, fetchFromGitHub, scons, pkgconfig, gnome3, gmime, webkitgtk24x-gtk3
|
||||||
, libsass, notmuch, boost, wrapGAppsHook }:
|
, libsass, notmuch, boost, wrapGAppsHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ scons pkgconfig wrapGAppsHook ];
|
nativeBuildInputs = [ scons pkgconfig wrapGAppsHook ];
|
||||||
|
|
||||||
buildInputs = [ gnome3.gtkmm gmime webkitgtk24x libsass gnome3.libpeas
|
buildInputs = [ gnome3.gtkmm gmime webkitgtk24x-gtk3 libsass gnome3.libpeas
|
||||||
notmuch boost gnome3.gsettings_desktop_schemas
|
notmuch boost gnome3.gsettings_desktop_schemas
|
||||||
gnome3.adwaita-icon-theme ];
|
gnome3.adwaita-icon-theme ];
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ fetchurl, stdenv, wrapGAppsHook
|
{ fetchurl, stdenv, wrapGAppsHook
|
||||||
, curl, dbus, dbus_glib, enchant, gtk2, gnutls, gnupg, gpgme, hicolor_icon_theme
|
, curl, dbus, dbus_glib, enchant, gtk2, gnutls, gnupg, gpgme, hicolor_icon_theme
|
||||||
, libarchive, libcanberra_gtk2, libetpan, libnotify, libsoup, libxml2, networkmanager
|
, libarchive, libcanberra_gtk2, libetpan, libnotify, libsoup, libxml2, networkmanager
|
||||||
, openldap , perl, pkgconfig, poppler, python, shared_mime_info, webkitgtk2
|
, openldap , perl, pkgconfig, poppler, python, shared_mime_info, webkitgtk24x-gtk2
|
||||||
, glib_networking, gsettings_desktop_schemas, libSM, libytnef
|
, glib_networking, gsettings_desktop_schemas, libSM, libytnef
|
||||||
|
|
||||||
# Build options
|
# Build options
|
||||||
|
@ -64,7 +64,7 @@ stdenv.mkDerivation rec {
|
||||||
++ optional enableNetworkManager networkmanager
|
++ optional enableNetworkManager networkmanager
|
||||||
++ optional enableLdap openldap
|
++ optional enableLdap openldap
|
||||||
++ optional enablePluginPdf poppler
|
++ optional enablePluginPdf poppler
|
||||||
++ optional enablePluginFancy webkitgtk2;
|
++ optional enablePluginFancy webkitgtk24x-gtk2;
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
optional (!enableLdap) "--disable-ldap"
|
optional (!enableLdap) "--disable-ldap"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{ stdenv, fetchurl, pkgconfig
|
{ stdenv, fetchurl, pkgconfig
|
||||||
, pythonPackages, pyrex096, ffmpeg, boost, glib, gtk2, webkitgtk2, libsoup
|
, pythonPackages, pyrex096, ffmpeg, boost, glib, gtk2, webkitgtk24x-gtk2, libsoup
|
||||||
, taglib, sqlite
|
, taglib, sqlite
|
||||||
, libtorrentRasterbar, glib_networking, gsettings_desktop_schemas
|
, libtorrentRasterbar, glib_networking, gsettings_desktop_schemas
|
||||||
, gst-python, gst-plugins-base, gst-plugins-good, gst-ffmpeg
|
, gst-python, gst-plugins-base, gst-plugins-good, gst-ffmpeg
|
||||||
|
@ -70,7 +70,7 @@ in buildPythonApplication rec {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
buildInputs = with pythonPackages; [ pygtk pygobject2 ] ++ [
|
buildInputs = with pythonPackages; [ pygtk pygobject2 ] ++ [
|
||||||
pkgconfig pyrex096 ffmpeg boost glib gtk2 webkitgtk2 libsoup
|
pkgconfig pyrex096 ffmpeg boost glib gtk2 webkitgtk24x-gtk2 libsoup
|
||||||
taglib gsettings_desktop_schemas sqlite
|
taglib gsettings_desktop_schemas sqlite
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -76,7 +76,7 @@ let
|
||||||
dconf-editor = callPackage ./core/dconf-editor { };
|
dconf-editor = callPackage ./core/dconf-editor { };
|
||||||
|
|
||||||
# empathy = callPackage ./core/empathy {
|
# empathy = callPackage ./core/empathy {
|
||||||
# webkitgtk = webkitgtk24x;
|
# webkitgtk = webkitgtk24x-gtk3;
|
||||||
# clutter-gst = pkgs.clutter-gst;
|
# clutter-gst = pkgs.clutter-gst;
|
||||||
# };
|
# };
|
||||||
|
|
||||||
|
@ -257,7 +257,7 @@ let
|
||||||
|
|
||||||
bijiben = callPackage ./apps/bijiben {
|
bijiben = callPackage ./apps/bijiben {
|
||||||
# https://bugzilla.gnome.org/show_bug.cgi?id=728293
|
# https://bugzilla.gnome.org/show_bug.cgi?id=728293
|
||||||
webkitgtk = pkgs.webkitgtk24x;
|
webkitgtk = pkgs.webkitgtk24x-gtk3;
|
||||||
};
|
};
|
||||||
|
|
||||||
cheese = callPackage ./apps/cheese { };
|
cheese = callPackage ./apps/cheese { };
|
||||||
|
@ -363,7 +363,7 @@ let
|
||||||
|
|
||||||
geary = callPackage ./misc/geary {
|
geary = callPackage ./misc/geary {
|
||||||
# https://bugzilla.gnome.org/show_bug.cgi?id=728002
|
# https://bugzilla.gnome.org/show_bug.cgi?id=728002
|
||||||
webkitgtk = pkgs.webkitgtk24x;
|
webkitgtk = pkgs.webkitgtk24x-gtk3;
|
||||||
};
|
};
|
||||||
|
|
||||||
gfbgraph = callPackage ./misc/gfbgraph { };
|
gfbgraph = callPackage ./misc/gfbgraph { };
|
||||||
|
|
|
@ -129,8 +129,8 @@ self: super: builtins.intersectAttrs super {
|
||||||
gtksourceview2 = addPkgconfigDepend super.gtksourceview2 pkgs.gtk2;
|
gtksourceview2 = addPkgconfigDepend super.gtksourceview2 pkgs.gtk2;
|
||||||
|
|
||||||
# Need WebkitGTK, not just webkit.
|
# Need WebkitGTK, not just webkit.
|
||||||
webkit = super.webkit.override { webkit = pkgs.webkitgtk2; };
|
webkit = super.webkit.override { webkit = pkgs.webkitgtk24x-gtk2; };
|
||||||
websnap = super.websnap.override { webkit = pkgs.webkitgtk24x; };
|
websnap = super.websnap.override { webkit = pkgs.webkitgtk24x-gtk3; };
|
||||||
|
|
||||||
hs-mesos = overrideCabal super.hs-mesos (drv: {
|
hs-mesos = overrideCabal super.hs-mesos (drv: {
|
||||||
# Pass _only_ mesos; the correct protobuf is propagated.
|
# Pass _only_ mesos; the correct protobuf is propagated.
|
||||||
|
|
|
@ -75046,7 +75046,7 @@ self: {
|
||||||
|
|
||||||
"gi-javascriptcore" = callPackage
|
"gi-javascriptcore" = callPackage
|
||||||
({ mkDerivation, base, bytestring, Cabal, containers, haskell-gi
|
({ mkDerivation, base, bytestring, Cabal, containers, haskell-gi
|
||||||
, haskell-gi-base, text, transformers, webkitgtk24x
|
, haskell-gi-base, text, transformers, webkitgtk24x-gtk3
|
||||||
}:
|
}:
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
pname = "gi-javascriptcore";
|
pname = "gi-javascriptcore";
|
||||||
|
@ -75057,13 +75057,13 @@ self: {
|
||||||
base bytestring containers haskell-gi haskell-gi-base text
|
base bytestring containers haskell-gi haskell-gi-base text
|
||||||
transformers
|
transformers
|
||||||
];
|
];
|
||||||
libraryPkgconfigDepends = [ webkitgtk24x ];
|
libraryPkgconfigDepends = [ webkitgtk24x-gtk3 ];
|
||||||
doHaddock = false;
|
doHaddock = false;
|
||||||
homepage = "https://github.com/haskell-gi/haskell-gi";
|
homepage = "https://github.com/haskell-gi/haskell-gi";
|
||||||
description = "JavaScriptCore bindings";
|
description = "JavaScriptCore bindings";
|
||||||
license = stdenv.lib.licenses.lgpl21;
|
license = stdenv.lib.licenses.lgpl21;
|
||||||
hydraPlatforms = stdenv.lib.platforms.none;
|
hydraPlatforms = stdenv.lib.platforms.none;
|
||||||
}) {inherit (pkgs) webkitgtk24x;};
|
}) {inherit (pkgs) webkitgtk24x-gtk3;};
|
||||||
|
|
||||||
"gi-javascriptcore_4_0_12" = callPackage
|
"gi-javascriptcore_4_0_12" = callPackage
|
||||||
({ mkDerivation, base, bytestring, Cabal, containers, haskell-gi
|
({ mkDerivation, base, bytestring, Cabal, containers, haskell-gi
|
||||||
|
@ -75272,7 +75272,7 @@ self: {
|
||||||
({ mkDerivation, base, bytestring, Cabal, containers, gi-atk
|
({ mkDerivation, base, bytestring, Cabal, containers, gi-atk
|
||||||
, gi-cairo, gi-gdk, gi-gdkpixbuf, gi-gio, gi-glib, gi-gobject
|
, gi-cairo, gi-gdk, gi-gdkpixbuf, gi-gio, gi-glib, gi-gobject
|
||||||
, gi-gtk, gi-javascriptcore, gi-soup, haskell-gi, haskell-gi-base
|
, gi-gtk, gi-javascriptcore, gi-soup, haskell-gi, haskell-gi-base
|
||||||
, text, transformers, webkitgtk24x
|
, text, transformers, webkitgtk24x-gtk3
|
||||||
}:
|
}:
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
pname = "gi-webkit";
|
pname = "gi-webkit";
|
||||||
|
@ -75284,13 +75284,13 @@ self: {
|
||||||
gi-gio gi-glib gi-gobject gi-gtk gi-javascriptcore gi-soup
|
gi-gio gi-glib gi-gobject gi-gtk gi-javascriptcore gi-soup
|
||||||
haskell-gi haskell-gi-base text transformers
|
haskell-gi haskell-gi-base text transformers
|
||||||
];
|
];
|
||||||
libraryPkgconfigDepends = [ webkitgtk24x ];
|
libraryPkgconfigDepends = [ webkitgtk24x-gtk3 ];
|
||||||
doHaddock = false;
|
doHaddock = false;
|
||||||
homepage = "https://github.com/haskell-gi/haskell-gi";
|
homepage = "https://github.com/haskell-gi/haskell-gi";
|
||||||
description = "WebKit bindings";
|
description = "WebKit bindings";
|
||||||
license = stdenv.lib.licenses.lgpl21;
|
license = stdenv.lib.licenses.lgpl21;
|
||||||
hydraPlatforms = stdenv.lib.platforms.none;
|
hydraPlatforms = stdenv.lib.platforms.none;
|
||||||
}) {inherit (pkgs) webkitgtk24x;};
|
}) {inherit (pkgs) webkitgtk24x-gtk3;};
|
||||||
|
|
||||||
"gi-webkit2" = callPackage
|
"gi-webkit2" = callPackage
|
||||||
({ mkDerivation, base, bytestring, Cabal, containers, gi-atk
|
({ mkDerivation, base, bytestring, Cabal, containers, gi-atk
|
||||||
|
@ -201493,7 +201493,7 @@ self: {
|
||||||
"webkitgtk3" = callPackage
|
"webkitgtk3" = callPackage
|
||||||
({ mkDerivation, base, bytestring, Cabal, cairo, glib
|
({ mkDerivation, base, bytestring, Cabal, cairo, glib
|
||||||
, gtk2hs-buildtools, gtk3, mtl, pango, text, transformers
|
, gtk2hs-buildtools, gtk3, mtl, pango, text, transformers
|
||||||
, webkitgtk24x
|
, webkitgtk24x-gtk3
|
||||||
}:
|
}:
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
pname = "webkitgtk3";
|
pname = "webkitgtk3";
|
||||||
|
@ -201503,26 +201503,26 @@ self: {
|
||||||
libraryHaskellDepends = [
|
libraryHaskellDepends = [
|
||||||
base bytestring cairo glib gtk3 mtl pango text transformers
|
base bytestring cairo glib gtk3 mtl pango text transformers
|
||||||
];
|
];
|
||||||
libraryPkgconfigDepends = [ webkitgtk24x ];
|
libraryPkgconfigDepends = [ webkitgtk24x-gtk3 ];
|
||||||
homepage = "http://projects.haskell.org/gtk2hs/";
|
homepage = "http://projects.haskell.org/gtk2hs/";
|
||||||
description = "Binding to the Webkit library";
|
description = "Binding to the Webkit library";
|
||||||
license = stdenv.lib.licenses.lgpl21;
|
license = stdenv.lib.licenses.lgpl21;
|
||||||
hydraPlatforms = stdenv.lib.platforms.none;
|
hydraPlatforms = stdenv.lib.platforms.none;
|
||||||
}) {inherit (pkgs) webkitgtk24x;};
|
}) {inherit (pkgs) webkitgtk24x-gtk3;};
|
||||||
|
|
||||||
"webkitgtk3-javascriptcore" = callPackage
|
"webkitgtk3-javascriptcore" = callPackage
|
||||||
({ mkDerivation, base, Cabal, gtk2hs-buildtools, webkitgtk24x }:
|
({ mkDerivation, base, Cabal, gtk2hs-buildtools, webkitgtk24x-gtk3 }:
|
||||||
mkDerivation {
|
mkDerivation {
|
||||||
pname = "webkitgtk3-javascriptcore";
|
pname = "webkitgtk3-javascriptcore";
|
||||||
version = "0.14.2.1";
|
version = "0.14.2.1";
|
||||||
sha256 = "0kcjrka0c9ifq3zfhmkv05wy3xb7v0cyznfxldp2gjcn1haq084j";
|
sha256 = "0kcjrka0c9ifq3zfhmkv05wy3xb7v0cyznfxldp2gjcn1haq084j";
|
||||||
setupHaskellDepends = [ base Cabal gtk2hs-buildtools ];
|
setupHaskellDepends = [ base Cabal gtk2hs-buildtools ];
|
||||||
libraryHaskellDepends = [ base ];
|
libraryHaskellDepends = [ base ];
|
||||||
libraryPkgconfigDepends = [ webkitgtk24x ];
|
libraryPkgconfigDepends = [ webkitgtk24x-gtk3 ];
|
||||||
description = "JavaScriptCore FFI from webkitgtk";
|
description = "JavaScriptCore FFI from webkitgtk";
|
||||||
license = stdenv.lib.licenses.bsd3;
|
license = stdenv.lib.licenses.bsd3;
|
||||||
hydraPlatforms = stdenv.lib.platforms.none;
|
hydraPlatforms = stdenv.lib.platforms.none;
|
||||||
}) {inherit (pkgs) webkitgtk24x;};
|
}) {inherit (pkgs) webkitgtk24x-gtk3;};
|
||||||
|
|
||||||
"webpage" = callPackage
|
"webpage" = callPackage
|
||||||
({ mkDerivation, base, blaze-html, data-default, lucid, text }:
|
({ mkDerivation, base, blaze-html, data-default, lucid, text }:
|
||||||
|
|
|
@ -2,13 +2,13 @@
|
||||||
, xf86vidmodeproto , gstreamer, gst-plugins-base, GConf, setfile
|
, xf86vidmodeproto , gstreamer, gst-plugins-base, GConf, setfile
|
||||||
, withMesa ? true, mesa_glu ? null, mesa_noglu ? null
|
, withMesa ? true, mesa_glu ? null, mesa_noglu ? null
|
||||||
, compat24 ? false, compat26 ? true, unicode ? true
|
, compat24 ? false, compat26 ? true, unicode ? true
|
||||||
, withWebKit ? false, webkitgtk2 ? null
|
, withWebKit ? false, webkitgtk24x-gtk2 ? null
|
||||||
, AGL ? null, Carbon ? null, Cocoa ? null, Kernel ? null, QTKit ? null
|
, AGL ? null, Carbon ? null, Cocoa ? null, Kernel ? null, QTKit ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
|
||||||
assert withMesa -> mesa_glu != null && mesa_noglu != null;
|
assert withMesa -> mesa_glu != null && mesa_noglu != null;
|
||||||
assert withWebKit -> webkitgtk2 != null;
|
assert withWebKit -> webkitgtk24x-gtk2 != null;
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ stdenv.mkDerivation {
|
||||||
[ gtk2 libXinerama libSM libXxf86vm xf86vidmodeproto gstreamer
|
[ gtk2 libXinerama libSM libXxf86vm xf86vidmodeproto gstreamer
|
||||||
gst-plugins-base GConf ]
|
gst-plugins-base GConf ]
|
||||||
++ optional withMesa mesa_glu
|
++ optional withMesa mesa_glu
|
||||||
++ optional withWebKit webkitgtk2
|
++ optional withWebKit webkitgtk24x-gtk2
|
||||||
++ optionals stdenv.isDarwin [ setfile Carbon Cocoa Kernel QTKit ];
|
++ optionals stdenv.isDarwin [ setfile Carbon Cocoa Kernel QTKit ];
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{ stdenv, fetchFromGitHub, sqlite, pkgconfig, autoreconfHook, pmccabe
|
{ stdenv, fetchFromGitHub, sqlite, pkgconfig, autoreconfHook, pmccabe
|
||||||
, xapian, glib, gmime, texinfo , emacs, guile
|
, xapian, glib, gmime, texinfo , emacs, guile
|
||||||
, gtk3, webkitgtk24x, libsoup, icu
|
, gtk3, webkitgtk24x-gtk3, libsoup, icu
|
||||||
, withMug ? false }:
|
, withMug ? false }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
@ -22,7 +22,7 @@ stdenv.mkDerivation rec {
|
||||||
# pmccabe should be a checkInput instead, but configure looks for it
|
# pmccabe should be a checkInput instead, but configure looks for it
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
sqlite xapian glib gmime texinfo emacs guile libsoup icu
|
sqlite xapian glib gmime texinfo emacs guile libsoup icu
|
||||||
] ++ stdenv.lib.optionals withMug [ gtk3 webkitgtk24x ];
|
] ++ stdenv.lib.optionals withMug [ gtk3 webkitgtk24x-gtk3 ];
|
||||||
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
nativeBuildInputs = [ pkgconfig autoreconfHook ];
|
||||||
checkInputs = [ pmccabe ];
|
checkInputs = [ pmccabe ];
|
||||||
|
|
||||||
|
|
|
@ -10386,7 +10386,7 @@ with pkgs;
|
||||||
|
|
||||||
webkitgtk = webkitgtk216x;
|
webkitgtk = webkitgtk216x;
|
||||||
|
|
||||||
webkitgtk24x = callPackage ../development/libraries/webkitgtk/2.4.nix {
|
webkitgtk24x-gtk3 = callPackage ../development/libraries/webkitgtk/2.4.nix {
|
||||||
harfbuzz = harfbuzz-icu;
|
harfbuzz = harfbuzz-icu;
|
||||||
gst-plugins-base = gst_all_1.gst-plugins-base;
|
gst-plugins-base = gst_all_1.gst-plugins-base;
|
||||||
inherit (darwin) libobjc;
|
inherit (darwin) libobjc;
|
||||||
|
@ -10397,7 +10397,7 @@ with pkgs;
|
||||||
gst-plugins-base = gst_all_1.gst-plugins-base;
|
gst-plugins-base = gst_all_1.gst-plugins-base;
|
||||||
};
|
};
|
||||||
|
|
||||||
webkitgtk2 = webkitgtk24x.override {
|
webkitgtk24x-gtk2 = webkitgtk24x-gtk3.override {
|
||||||
withGtk2 = true;
|
withGtk2 = true;
|
||||||
enableIntrospection = false;
|
enableIntrospection = false;
|
||||||
};
|
};
|
||||||
|
@ -13624,7 +13624,7 @@ with pkgs;
|
||||||
|
|
||||||
eaglemode = callPackage ../applications/misc/eaglemode { };
|
eaglemode = callPackage ../applications/misc/eaglemode { };
|
||||||
|
|
||||||
eclipses = recurseIntoAttrs (callPackage ../applications/editors/eclipse { webkitgtk2 = null; });
|
eclipses = recurseIntoAttrs (callPackage ../applications/editors/eclipse { webkitgtk24x-gtk2 = null; });
|
||||||
|
|
||||||
ecs-agent = callPackage ../applications/virtualization/ecs-agent { };
|
ecs-agent = callPackage ../applications/virtualization/ecs-agent { };
|
||||||
|
|
||||||
|
@ -14244,7 +14244,7 @@ with pkgs;
|
||||||
inherit (gnome3) dconf;
|
inherit (gnome3) dconf;
|
||||||
gconf = gnome2.GConf;
|
gconf = gnome2.GConf;
|
||||||
goffice = goffice_0_8;
|
goffice = goffice_0_8;
|
||||||
webkit = webkitgtk2;
|
webkit = webkitgtk24x-gtk2;
|
||||||
guile = guile_1_8;
|
guile = guile_1_8;
|
||||||
slibGuile = slibGuile.override { scheme = guile_1_8; };
|
slibGuile = slibGuile.override { scheme = guile_1_8; };
|
||||||
glib = glib;
|
glib = glib;
|
||||||
|
@ -14627,7 +14627,7 @@ with pkgs;
|
||||||
jbrout = callPackage ../applications/graphics/jbrout { };
|
jbrout = callPackage ../applications/graphics/jbrout { };
|
||||||
|
|
||||||
jumanji = callPackage ../applications/networking/browsers/jumanji {
|
jumanji = callPackage ../applications/networking/browsers/jumanji {
|
||||||
webkitgtk = webkitgtk24x;
|
webkitgtk = webkitgtk24x-gtk3;
|
||||||
gtk = gtk3;
|
gtk = gtk3;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -16215,7 +16215,7 @@ with pkgs;
|
||||||
uwimap = callPackage ../tools/networking/uwimap { };
|
uwimap = callPackage ../tools/networking/uwimap { };
|
||||||
|
|
||||||
uzbl = callPackage ../applications/networking/browsers/uzbl {
|
uzbl = callPackage ../applications/networking/browsers/uzbl {
|
||||||
webkit = webkitgtk2;
|
webkit = webkitgtk24x-gtk2;
|
||||||
};
|
};
|
||||||
|
|
||||||
utox = callPackage ../applications/networking/instant-messengers/utox { };
|
utox = callPackage ../applications/networking/instant-messengers/utox { };
|
||||||
|
@ -16679,7 +16679,7 @@ with pkgs;
|
||||||
gconf = gnome2.GConf;
|
gconf = gnome2.GConf;
|
||||||
inherit (gnome2) gtkhtml libgtkhtml libglade scrollkeeper;
|
inherit (gnome2) gtkhtml libgtkhtml libglade scrollkeeper;
|
||||||
python = python27;
|
python = python27;
|
||||||
webkitgtk = webkitgtk2;
|
webkitgtk = webkitgtk24x-gtk2;
|
||||||
};
|
};
|
||||||
|
|
||||||
xournal = callPackage ../applications/graphics/xournal {
|
xournal = callPackage ../applications/graphics/xournal {
|
||||||
|
@ -18721,12 +18721,12 @@ with pkgs;
|
||||||
});
|
});
|
||||||
|
|
||||||
vimprobable2-unwrapped = callPackage ../applications/networking/browsers/vimprobable2 {
|
vimprobable2-unwrapped = callPackage ../applications/networking/browsers/vimprobable2 {
|
||||||
webkit = webkitgtk2;
|
webkit = webkitgtk24x-gtk2;
|
||||||
};
|
};
|
||||||
vimprobable2 = wrapFirefox vimprobable2-unwrapped { };
|
vimprobable2 = wrapFirefox vimprobable2-unwrapped { };
|
||||||
|
|
||||||
vimb-unwrapped = callPackage ../applications/networking/browsers/vimb {
|
vimb-unwrapped = callPackage ../applications/networking/browsers/vimb {
|
||||||
webkit = webkitgtk2;
|
webkit = webkitgtk24x-gtk2;
|
||||||
};
|
};
|
||||||
vimb = wrapFirefox vimb-unwrapped { };
|
vimb = wrapFirefox vimb-unwrapped { };
|
||||||
|
|
||||||
|
|
|
@ -20687,7 +20687,7 @@ in {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgs.pkgconfig pkgs.gtk2 self.pygtk pkgs.libxml2
|
pkgs.pkgconfig pkgs.gtk2 self.pygtk pkgs.libxml2
|
||||||
pkgs.libxslt pkgs.libsoup pkgs.webkitgtk2 pkgs.icu
|
pkgs.libxslt pkgs.libsoup pkgs.webkitgtk24x-gtk2 pkgs.icu
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in New Issue