Update WebKit to latest and use Git checkout for libsoup
svn path=/nixpkgs/trunk/; revision=16820
This commit is contained in:
parent
d436b3a8f2
commit
8e85ed36fb
@ -9,6 +9,8 @@ defs_file="$main_dir"/src-info-for-"$file_name"
|
||||
src_file="$main_dir"/src-for-"$file_name"
|
||||
new_src_file="$main_dir"/updated-src-for-"$file_name"
|
||||
|
||||
forcedUrl="$2"
|
||||
|
||||
defs_dir="$("$own_dir"/attrset-to-dir.sh "$defs_file")"
|
||||
src_defs_dir="$("$own_dir"/attrset-to-dir.sh "$src_file")"
|
||||
|
||||
@ -19,11 +21,15 @@ getAttr () {
|
||||
echo "$data"
|
||||
}
|
||||
|
||||
freshUrl="$("$own_dir"/urls-from-page.sh "$(getAttr downloadPage)" |
|
||||
egrep "$(getAttr sourceRegexp '.*[.]tar[.].*')" |
|
||||
sh -c "$(getAttr choiceCommand 'head -1')")"
|
||||
if [ -z "$forcedUrl" ] ; then
|
||||
freshUrl="$("$own_dir"/urls-from-page.sh "$(getAttr downloadPage)" |
|
||||
egrep "$(getAttr sourceRegexp '.*[.]tar[.].*')" |
|
||||
sh -c "$(getAttr choiceCommand 'head -1')")"
|
||||
|
||||
echo "Found download link: $freshUrl" >&2
|
||||
echo "Found download link: $freshUrl" >&2
|
||||
else
|
||||
freshUrl="$forcedUrl"
|
||||
fi
|
||||
|
||||
if [ x"$freshUrl" = x"$(cat "$src_defs_dir"/advertisedUrl)" ]; then
|
||||
echo "Source link not changed" >&2
|
||||
|
@ -130,6 +130,12 @@ rec {
|
||||
inherit GConf;
|
||||
};
|
||||
|
||||
libsoup_git_head = import ./desktop/libsoup/git-head.nix {
|
||||
inherit (pkgs) stdenv fetchurl pkgconfig libxml2 gnutls libproxy sqlite curl;
|
||||
inherit (pkgs.gtkLibs) glib;
|
||||
inherit GConf;
|
||||
};
|
||||
|
||||
libwnck = import ./desktop/libwnck {
|
||||
inherit (pkgs) stdenv fetchurl pkgconfig;
|
||||
inherit (pkgs.xlibs) libX11;
|
||||
|
11
pkgs/desktops/gnome-2.26/desktop/libsoup/git-head.nix
Normal file
11
pkgs/desktops/gnome-2.26/desktop/libsoup/git-head.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{stdenv, fetchgit, pkgconfig, libxml2, gnutls, libproxy, sqlite, curl, glib, GConf}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "libsoup-2.27.git";
|
||||
src = fetchgit {
|
||||
url = git://git.gnome.org/libsoup;
|
||||
revision = "3d0441b3f0c402447306f53789a47abdc573f8f3";
|
||||
sha256 = "22379acc77cb6a381bd0abf69ae75ca8";
|
||||
};
|
||||
buildInputs = [ pkgconfig libxml2 gnutls libproxy sqlite curl glib GConf ];
|
||||
}
|
@ -1,6 +1,6 @@
|
||||
rec {
|
||||
advertisedUrl="http://builds.nightly.webkit.org/files/trunk/src/WebKit-r47388.tar.bz2";
|
||||
version = "r47388";
|
||||
advertisedUrl="http://builds.nightly.webkit.org/files/trunk/src/WebKit-r47686.tar.bz2";
|
||||
version = "r47686";
|
||||
url="http://builds.nightly.webkit.org/files/trunk/src/WebKit-${version}.tar.bz2";
|
||||
hash = "0apq5fg254wckpfqxgy61qd13k8srss1822dllmwcfsfk15m7mcx";
|
||||
hash = "1h1frvvp8hfv3q2drjnrpgadgin55p7nv8747kxxhdkj4gv9dzqg";
|
||||
}
|
||||
|
@ -4125,7 +4125,7 @@ let
|
||||
};
|
||||
|
||||
webkit = builderDefsPackage (import ../development/libraries/webkit) {
|
||||
inherit (gnome26) libsoup;
|
||||
inherit (gnome26) libsoup_git_head;
|
||||
inherit (gnome) gtkdoc;
|
||||
inherit (gtkLibs) gtk atk pango;
|
||||
inherit freetype fontconfig gettext gperf curl
|
||||
|
Loading…
Reference in New Issue
Block a user