HelloÔo,

for Linux build only
    CMakeLists.txt
        SET(SYS_DATA_PATH "${CMAKE_INSTALL_PREFIX}/share/hydrogen/data")
        SET(USR_DATA_PATH ".hydrogen/data")
    set them to whatever pleases you ;)

for non-Linux build
    ./src/core/src/helpers/filesystem.cpp
    force the values of filesystem base variables :
        __sys_data_path
        __usr_data_path

+++++

if you want to have an alternative h2 installed (libs and all) without
hurting your main system (linux only) :

cmake -DCMAKE_INSTALL_PREFIX=/path/not_in/ldconfig

then run it like this
   LD_LIBRARY_PATH=/path/not_in/ldconfig /path/not_in/ldconfig/bin/hydrogen

enjoy !!

On Wednesday 04 October 2017  08:22, Thijs van severen wrote :
> Hi all
> 
> I haven't had  a lot of time to test h2 lately but I would like to see if I
> can move to the most recent branch on the laptop i use for my live
> performances.
> 
> The thing is that i just cant afford to break the setup on this laptop
> since i need it every other weekend or so.
> On the other hand i cant fully test h2 if i only run it on my other laptop
> (other OS version, other apps, other config ...)
> 
> So my question is : what would be the easiest and most reliable way to
> switch between versions without messing up my live setup?
> 
> I guess I would need to move my config file, song file, drumkits (anything
> else?) back and forth each time I switch. But that sounds like an even
> better way to mess things up ;-)
> Some time ago there was a discussion about making paths configurable, but
> even that might not be the best solution.
> 
> Note that it would be ok for me if I could just take a 'snapshot' of my
> current setup and duplicate it somewhere on the laptop and use that to
> experiment on with the latest h2.
> 
> Any ideas?
> 
> Grtz
> Thijs

> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot

> _______________________________________________
> Hydrogen-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

-----------------------
Jérémy Zurcher
rue des Charmilles 7
1400 Yverdon-les-bains
+41 (0) 79 599 84 27

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Hydrogen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hydrogen-devel

Reply via email to