sylpheed 2.4.1
svn path=/nixpkgs/trunk/; revision=8681
This commit is contained in:
parent
7e4289df47
commit
2ea67fd385
@ -1,6 +1,6 @@
|
|||||||
{ sslSupport ? true
|
{ sslSupport ? true
|
||||||
, gpgSupport ? false
|
, gpgSupport ? false
|
||||||
, stdenv, fetchurl, pkgconfig, gtk, glib
|
, stdenv, fetchurl, pkgconfig, gtk
|
||||||
, openssl ? null
|
, openssl ? null
|
||||||
, gpgme ? null
|
, gpgme ? null
|
||||||
}:
|
}:
|
||||||
@ -9,15 +9,15 @@ assert sslSupport -> openssl != null;
|
|||||||
assert gpgSupport -> gpgme != null;
|
assert gpgSupport -> gpgme != null;
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "sylpheed-2.1.9";
|
name = "sylpheed-2.4.1";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://nix.cs.uu.nl/dist/tarballs/sylpheed-2.1.9.tar.bz2;
|
url = http://sylpheed.sraoss.jp/sylpheed/v2.4/sylpheed-2.4.1.tar.bz2;
|
||||||
md5 = "fe05714e5037d56ccdcf4b36fe4e9346";
|
sha256 = "1hmia3lnh7yr2ca8bgxzn311waxfs0rhk0psck3dcjfhzxzp72zj";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
pkgconfig glib gtk
|
pkgconfig gtk
|
||||||
(if sslSupport then openssl else null)
|
(if sslSupport then openssl else null)
|
||||||
(if gpgSupport then gpgme else null)
|
(if gpgSupport then gpgme else null)
|
||||||
];
|
];
|
||||||
@ -26,9 +26,4 @@ stdenv.mkDerivation {
|
|||||||
(if sslSupport then "--enable-ssl" else null)
|
(if sslSupport then "--enable-ssl" else null)
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bug in Sylpheed: it makes direct X11 calls (e.g., XSync), but it
|
|
||||||
# doesn't pass -lX11. The linker finds the missing symbols
|
|
||||||
# indirectly (through GTK etc.), but doesn't include libX11.so in
|
|
||||||
# the RPATH. Thus, the executable fails at runtime.
|
|
||||||
NIX_LDFLAGS = "-lX11";
|
|
||||||
}
|
}
|
||||||
|
@ -2909,7 +2909,7 @@ rec {
|
|||||||
|
|
||||||
sylpheed = import ../applications/networking/mailreaders/sylpheed {
|
sylpheed = import ../applications/networking/mailreaders/sylpheed {
|
||||||
inherit fetchurl stdenv pkgconfig openssl gpgme;
|
inherit fetchurl stdenv pkgconfig openssl gpgme;
|
||||||
inherit (gtkLibs) glib gtk;
|
inherit (gtkLibs) gtk;
|
||||||
sslSupport = true;
|
sslSupport = true;
|
||||||
gpgSupport = true;
|
gpgSupport = true;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user