From ec9ed33730cc99fbce7a41586b2a4bd52a3113a1 Mon Sep 17 00:00:00 2001 From: Cillian de Roiste Date: Wed, 21 Mar 2012 17:16:37 +0000 Subject: [PATCH] Fixing hydrogen so that it builds with scons 2.1, using the patch from http://www.assembla.com/spaces/hydrogen/tickets/204-hydrogen-0-9-5-doesn-t-install-with-scons-2-1-0 svn path=/nixpkgs/trunk/; revision=33336 --- pkgs/applications/audio/hydrogen/scons-env.patch | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/applications/audio/hydrogen/scons-env.patch b/pkgs/applications/audio/hydrogen/scons-env.patch index 4ffa1f91e91d..ebc17f67872f 100644 --- a/pkgs/applications/audio/hydrogen/scons-env.patch +++ b/pkgs/applications/audio/hydrogen/scons-env.patch @@ -9,6 +9,14 @@ #location of qt4.py +@@ -298,7 +298,6 @@ + + for N in glob.glob('./data/i18n/hydrogen.*'): + env.Alias(target="install", source=env.Install(dir= env['DESTDIR'] + env['prefix'] + '/share/hydrogen/data/i18n', source=N)) +- env.Alias(target="install", source=env.Install(dir= env['DESTDIR'] + env['prefix'] + '/share/hydrogen/data', source="./data/img")) + + #add every img in ./data/img to the install list. + os.path.walk("./data/img/",install_images,env) @@ -379,7 +379,7 @@ includes, a , b = get_platform_flags( opts )