Sawfish: 1.11.90 -> 1.12.0 (#19792)

This commit is contained in:
Anderson Torres
2016-10-23 13:06:47 +02:00
committed by Jörg Thalheim
parent 8b7e3c3537
commit 0a3968edc7
3 changed files with 25 additions and 18 deletions
@@ -1,5 +1,8 @@
{ stdenv, fetchgit, pkgconfig, which, autoreconfHook, rep-gtk, pango { stdenv, fetchurl
, gdk_pixbuf, libXinerama, libXrandr, libXtst, imlib, gettext, texinfo , pkgconfig, which, autoreconfHook
, rep-gtk, pango, gdk_pixbuf
, imlib, gettext, texinfo
, libXinerama, libXrandr, libXtst, libICE, libSM
, makeWrapper , makeWrapper
}: }:
@@ -8,18 +11,18 @@ with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "sawfish-${version}"; name = "sawfish-${version}";
version = "1.11.90"; version = "1.12.0";
sourceName = "sawfish_${version}";
src = fetchgit { src = fetchurl {
url = "https://github.com/SawfishWM/sawfish.git"; url = "http://download.tuxfamily.org/sawfish/${sourceName}.tar.xz";
rev = "b121f832571c9aebd228691c32604146e49f5e55"; sha256 = "1z7awzgw8d15aw17kpbj460pcxq8l2rhkaxk47w7yg9qrmg0xja4";
sha256 = "0y7rmjzp7ha5qj9q1dasw50gd6jiaxc0qsjbvyfzxvwssl3i9hsc";
}; };
buildInputs = buildInputs = [ pkgconfig which autoreconfHook
[ pkgconfig which autoreconfHook rep-gtk pango gdk_pixbuf libXinerama rep-gtk pango gdk_pixbuf imlib gettext texinfo
libXrandr libXtst imlib gettext texinfo makeWrapper libXinerama libXrandr libXtst libICE libSM
]; makeWrapper ];
patchPhase = '' patchPhase = ''
sed -e 's|REP_DL_LOAD_PATH=|REP_DL_LOAD_PATH=$(REP_DL_LOAD_PATH):|g' -i Makedefs.in sed -e 's|REP_DL_LOAD_PATH=|REP_DL_LOAD_PATH=$(REP_DL_LOAD_PATH):|g' -i Makedefs.in
@@ -7,11 +7,12 @@ with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "librep-${version}"; name = "librep-${version}";
version = "0.92.5"; version = "0.92.6";
sourceName = "librep_${version}";
src = fetchurl { src = fetchurl {
url = "https://github.com/SawfishWM/librep/archive/${name}.tar.gz"; url = "http://download.tuxfamily.org/librep/${sourceName}.tar.xz";
sha256 = "1ly425cgs0yi3lb5l84v3bacljw7m2nmzgky3acy1anp709iwi76"; sha256 = "1k6c0hmyzxh8459r790slh9vv9vwy9d7w3nlmrqypbx9mk855hgy";
}; };
buildInputs = [ pkgconfig autoreconfHook readline texinfo ]; buildInputs = [ pkgconfig autoreconfHook readline texinfo ];
@@ -30,9 +31,10 @@ stdenv.mkDerivation rec {
interpreter, a byte-code compiler, and a virtual interpreter, a byte-code compiler, and a virtual
machine. It can serve as an application extension language machine. It can serve as an application extension language
but is also suitable for standalone scripts. but is also suitable for standalone scripts.
''; '';
homepage = http://sawfish.wikia.com; homepage = http://sawfish.wikia.com;
license = licenses.gpl2; license = licenses.gpl2;
maintainers = [ maintainers.AndersonTorres ]; maintainers = [ maintainers.AndersonTorres ];
}; };
} }
# TODO: investigate fetchFromGithub
@@ -4,11 +4,12 @@ with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "rep-gtk-${version}"; name = "rep-gtk-${version}";
version = "0.90.8.2"; version = "0.90.8.3";
sourceName = "rep-gtk_${version}";
src = fetchurl { src = fetchurl {
url = "https://github.com/SawfishWM/rep-gtk/archive/${name}.tar.gz"; url = "http://download.tuxfamily.org/librep/rep-gtk/${sourceName}.tar.xz";
sha256 = "0pkpp7pj22c8hkyyivr9qw6q08ad42alynsf54ixdy6p9wn4qs1r"; sha256 = "0hgkkywm8zczir3lqr727bn7ybgg71x9cwj1av8fykkr8pdpard9";
}; };
buildInputs = [ pkgconfig autoreconfHook ]; buildInputs = [ pkgconfig autoreconfHook ];
@@ -25,3 +26,4 @@ stdenv.mkDerivation rec {
maintainers = [ maintainers.AndersonTorres ]; maintainers = [ maintainers.AndersonTorres ];
}; };
} }
# TODO: investigate fetchFromGithub