[ardour-dev] /usr/bin/ardour2: wrong path set

Eldad Zack eldad at fogrefinery.com
Fri Oct 13 19:27:18 PDT 2006


Hi,

The gtk2_ardour/ardour.sh.in file uses install_prefix instead of final_prefix.
This cause the ardour2 shellscript to contain the wrong path when it is 
compiled and installed in a different DESTDIR than in the live system.

I am the gentoo developer responsible for the ardour package, so I just fixed 
it in my ebuild with sed, but I believe it is better if it is fixed in the 
package itself.

--- gtk2_ardour/SConscript.orig 2006-10-14 04:26:37.000000000 +0200
+++ gtk2_ardour/SConscript      2006-10-14 04:26:53.000000000 +0200
@@ -270,7 +270,7 @@
 tt = gtkmmtests.Program(target = 'tt', source = tt_files)

 my_subst_dict = { }
-my_subst_dict['%INSTALL_PREFIX%'] = install_prefix
+my_subst_dict['%INSTALL_PREFIX%'] = final_prefix

 ardoursh = env.SubstInFile ('ardour.sh','ardour.sh.in', SUBST_DICT = 
my_subst_dict);
 env.AddPostAction (ardoursh, Chmod ('$TARGET', 0755))


-- 
Eldad Zack <eldad at fogrefinery.com>
Key/Fingerprint at pgp.mit.edu, ID 0x96EA0A93



More information about the Ardour-Dev mailing list