2019-11-07 07:58:40 -08:00
|
|
|
{ stdenv, fetchurl, fetchpatch, pkgconfig, libxml2, bzip2, openssl, dbus-glib
|
2018-07-17 13:11:16 -07:00
|
|
|
, glib, gamin, cdparanoia, intltool, GConf, gnome_mime_data, avahi, acl }:
|
2009-09-29 22:27:34 -07:00
|
|
|
|
2011-10-08 07:08:39 -07:00
|
|
|
stdenv.mkDerivation rec {
|
2015-04-04 22:22:12 -07:00
|
|
|
name = "gnome-vfs-${minVer}.4";
|
|
|
|
minVer = "2.24";
|
2010-05-19 05:25:35 -07:00
|
|
|
|
2015-04-04 22:22:12 -07:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://gnome/sources/gnome-vfs/${minVer}/${name}.tar.bz2";
|
2011-10-08 07:08:39 -07:00
|
|
|
sha256 = "1ajg8jb8k3snxc7rrgczlh8daxkjidmcv3zr9w809sq4p2sn9pk2";
|
2009-09-29 22:27:34 -07:00
|
|
|
};
|
2010-05-19 05:25:35 -07:00
|
|
|
|
2016-08-28 17:30:01 -07:00
|
|
|
outputs = [ "out" "dev" ];
|
2016-04-26 18:04:37 -07:00
|
|
|
|
2017-09-19 10:21:26 -07:00
|
|
|
nativeBuildInputs = [ intltool pkgconfig ];
|
2009-11-03 15:26:14 -08:00
|
|
|
buildInputs =
|
2018-07-17 13:11:16 -07:00
|
|
|
[ libxml2 bzip2 openssl dbus-glib gamin cdparanoia
|
2017-09-19 10:21:26 -07:00
|
|
|
gnome_mime_data avahi acl
|
2012-01-07 07:31:31 -08:00
|
|
|
];
|
2009-11-03 15:26:14 -08:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ GConf glib ];
|
2013-04-13 14:59:24 -07:00
|
|
|
|
2019-11-07 07:58:40 -08: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 14:59:24 -07:00
|
|
|
postPatch = "find . -name Makefile.in | xargs sed 's/-DG_DISABLE_DEPRECATED//g' -i ";
|
2018-04-24 20:20:18 -07:00
|
|
|
|
|
|
|
doCheck = false; # needs dbus daemon
|
2009-09-29 22:27:34 -07:00
|
|
|
}
|