Hi, I tried to file a ticket for this, but I couldn't find a way. Is it
disabled?
Anyhow, I checked out the svn copy a few minutes ago and I was going to test
it. I added prefix=/home/myself/app to the scons lines. It built fine but it
failed on the "scons install" command.
I think I found the problematic lines in SConstruct:
env.Alias(target="install", source=env.Install(dir= destdir + install_prefix +
'/share/hydrogen/data', source="./data/i18n"))
env.Alias(target="install", source=env.Install(dir= destdir +
install_prefix + '/share/hydrogen/data', source="./data/img"))
env.Alias(target="install", source=env.Install(dir= destdir +
install_prefix + '/share/hydrogen/data', source="./data/drumkits"))
env.Alias(target="install", source=env.Install(dir= destdir +
install_prefix + '/share/hydrogen/data', source="./data/demo_songs"))
env.Alias(target="install", source=env.Install(dir= destdir +
install_prefix + '/share/hydrogen/data', source="./data/hydrogen.default.conf"))
env.Alias(target="install", source=env.Install(dir= destdir +
install_prefix + '/share/hydrogen/data', source="./data/emptySample.wav"))
env.Alias(target="install", source=env.Install(dir= destdir +
install_prefix + '/share/hydrogen/data', source="./data/click.wav"))
env.Alias(target="install", source=env.Install(dir= destdir +
install_prefix + '/share/hydrogen/data', source="./data/doc"))
env.Alias(target="install", source=env.Install(dir= destdir +
install_prefix + '/share/hydrogen/data', source="./data/DefaultSong.h2song"))
env.Alias(target="install", source=env.Install(dir= destdir +
install_prefix + '/bin/', source="./hydrogen"))
env.Alias(target="install", source=env.Install(dir= destdir +
'/usr/share/applications', source="./hydrogen.desktop"))
env.Alias(target="install", source=env.Install(dir= destdir +
'/usr/share/pixmaps', source="./data/img/gray/h2-icon.svg"))
Note that the last two entries have the prefix /usr hardcoded. And a non-root
user usually doesn't have write access to that location.
This needs to be fixed.
Another bug is: the "scons install" command compiles this file:
g++ -o version.o -c -O3 -fomit-frame-pointer -funroll-loops -DALSA_SUPPORT
-DJACK_SUPPORT -DLRDF_SUPPORT -DFLAC_SUPPORT -DLADSPA_SUPPORT -DOSS_SUPPORT
-DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I. -Igui/src -I3rdparty/install/include
-Ilibs/hydrogen/include -I/usr/include/lash-1.0 -I/usr/include/QtCore
-I/usr/include/QtGui version.cpp
but I guess this is already reported.
Btw, any progress on the drumkit licenses?
Cheers,
Orcan
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel