mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 11:05:14 +00:00
gnucash: set RPATH so that GnuCash binaries can find its GNOME libraries at run-time
svn path=/nixpkgs/trunk/; revision=27689
This commit is contained in:
parent
5fd662e2e9
commit
4cf494c8ff
@ -1,5 +1,5 @@
|
||||
{ fetchurl, stdenv, pkgconfig, libxml2, gconf, glib, gtk
|
||||
, libglade, libgnomeui, libgtkhtml, gtkhtml, libgnomeprint, goffice, enchant
|
||||
, libbonoboui, libgnomeui, libgtkhtml, gtkhtml, libgnomeprint, goffice, enchant
|
||||
, gettext, intltool, perl, guile, slibGuile, swig, isocodes, bzip2
|
||||
, makeWrapper }:
|
||||
|
||||
@ -16,7 +16,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [
|
||||
pkgconfig libxml2 gconf glib gtk
|
||||
libglade libgnomeui libgtkhtml gtkhtml libgnomeprint goffice enchant
|
||||
libgnomeui libgtkhtml gtkhtml libgnomeprint goffice enchant
|
||||
gettext intltool perl guile slibGuile swig isocodes bzip2 makeWrapper
|
||||
];
|
||||
|
||||
@ -39,6 +39,8 @@ stdenv.mkDerivation {
|
||||
--enable-python-bindings enable python bindings
|
||||
*/
|
||||
|
||||
NIX_LDFLAGS = "-rpath=${libgnomeui}/lib/libglade/2.0 -rpath=${libbonoboui}/lib/libglade/2.0 -rpath=${guile}/lib";
|
||||
|
||||
postInstall = ''
|
||||
for prog in "$out/bin/"*
|
||||
do
|
||||
|
@ -6317,8 +6317,8 @@ let
|
||||
};
|
||||
|
||||
gnucash = callPackage ../applications/office/gnucash {
|
||||
inherit (gnome) gtk glib libglade libgnomeui libgtkhtml gtkhtml
|
||||
libgnomeprint;
|
||||
inherit (gnome) gtk glib libgnomeui libgtkhtml gtkhtml
|
||||
libbonoboui libgnomeprint;
|
||||
gconf = gnome.GConf;
|
||||
guile = guile_1_8;
|
||||
slibGuile = slibGuile.override { scheme = guile_1_8; };
|
||||
|
Loading…
Reference in New Issue
Block a user