mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 12:22:37 +03:00
libgsf: update, streamline dependencies, drop obsolete patch
Tried to build some affected packages, seems OK. Conflicts (buildNativeInputs): pkgs/development/libraries/libgsf/default.nix
This commit is contained in:
parent
dbe8a69a36
commit
bc1e83aa1c
@ -1,26 +1,21 @@
|
||||
{ fetchurl, stdenv, perl, perlXMLParser, pkgconfig, libxml2
|
||||
, gettext, intltool, bzip2, glib, python
|
||||
, gnomeSupport ? true, gdk_pixbuf ? null
|
||||
, gnome_vfs ? null, libbonobo ? null }:
|
||||
{ fetchurl, stdenv, pkgconfig, intltool, gettext, glib, libxml2, zlib, bzip2
|
||||
, python
|
||||
}:
|
||||
|
||||
assert gnomeSupport -> gdk_pixbuf != null && gnome_vfs != null && libbonobo != null
|
||||
&& glib != null;
|
||||
with { inherit (stdenv.lib) optionals; };
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libgsf-1.14.25";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://gnome/sources/libgsf/1.14/${name}.tar.xz";
|
||||
sha256 = "127548f07e07951984fb139c3f89d65b9e471aefe6555387de03e1113944d1a2";
|
||||
sha256 = "18ni8hwi3q83vs3m6mg6xwd4g7jvss4kz70kzf21k587gvq4hx8j";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ intltool pkgconfig ];
|
||||
buildInputs =
|
||||
[ perl perlXMLParser gettext bzip2 python ]
|
||||
++ stdenv.lib.optionals gnomeSupport [ gnome_vfs gdk_pixbuf ];
|
||||
nativeBuildInputs = [ pkgconfig intltool ];
|
||||
buildInputs = [ gettext bzip2 zlib python ];
|
||||
|
||||
propagatedBuildInputs = [ libxml2 glib ]
|
||||
++ stdenv.lib.optionals gnomeSupport [ libbonobo ];
|
||||
propagatedBuildInputs = [ libxml2 glib ];
|
||||
|
||||
doCheck = true;
|
||||
|
||||
|
@ -4240,9 +4240,7 @@ let
|
||||
|
||||
libspectre = callPackage ../development/libraries/libspectre { };
|
||||
|
||||
libgsf = callPackage ../development/libraries/libgsf {
|
||||
inherit (gnome) gnome_vfs libbonobo;
|
||||
};
|
||||
libgsf = callPackage ../development/libraries/libgsf { };
|
||||
|
||||
libiconv = callPackage ../development/libraries/libiconv { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user