2019-11-07 15:58:40 +00:00
|
|
|
{ stdenv, fetchurl, fetchpatch, pkgconfig, libxml2, bzip2, openssl, dbus-glib
|
2018-07-17 21:11:16 +01:00
|
|
|
, glib, gamin, cdparanoia, intltool, GConf, gnome_mime_data, avahi, acl }:
|
2009-09-30 06:27:34 +01:00
|
|
|
|
2011-10-08 15:08:39 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-04-05 06:22:12 +01:00
|
|
|
name = "gnome-vfs-${minVer}.4";
|
|
|
|
minVer = "2.24";
|
2010-05-19 13:25:35 +01:00
|
|
|
|
2015-04-05 06:22:12 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/gnome-vfs/${minVer}/${name}.tar.bz2";
|
2011-10-08 15:08:39 +01:00
|
|
|
sha256 = "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2";
|
2009-09-30 06:27:34 +01:00
|
|
|
};
|
2010-05-19 13:25:35 +01:00
|
|
|
|
2016-08-29 01:30:01 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
2016-04-27 02:04:37 +01:00
|
|
|
|
2017-09-19 18:21:26 +01:00
|
|
|
nativeBuildInputs = [ intltool pkgconfig ];
|
2009-11-03 23:26:14 +00:00
|
|
|
buildInputs =
|
2018-07-17 21:11:16 +01:00
|
|
|
[ libxml2 bzip2 openssl dbus-glib gamin cdparanoia
|
2017-09-19 18:21:26 +01:00
|
|
|
gnome_mime_data avahi acl
|
2012-01-07 15:31:31 +00:00
|
|
|
];
|
2009-11-03 23:26:14 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ GConf glib ];
|
2013-04-13 22:59:24 +01:00
|
|
|
|
2019-11-07 15:58:40 +00:00
|
|
|
# struct SSL is opaque in openssl-1.1; and the SSL_free() man page
|
|
|
|
# says that one should not free members of it manually (in both
|
|
|
|
# the openssl-1.0 and openssl-1.1 man pages).
|
|
|
|
# https://bugs.gentoo.org/592540
|
|
|
|
patches = [ (fetchpatch {
|
|
|
|
name = "gnome-vfs-2.24.4-openssl-1.1.patch";
|
|
|
|
url = "https://bugs.gentoo.org/attachment.cgi?id=535944";
|
|
|
|
sha256 = "1q4icapvmwmd5rjah7rr0bqazzk5cg36znmjlpra20n9y27nz040";
|
|
|
|
extraPrefix = "";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2013-04-13 22:59:24 +01:00
|
|
|
postPatch = "find . -name Makefile.in | xargs sed 's/-DG_DISABLE_DEPRECATED//g' -i ";
|
2018-04-25 04:20:18 +01:00
|
|
|
|
|
|
|
doCheck = false; # needs dbus daemon
|
2009-09-30 06:27:34 +01:00
|
|
|
}
|