Hi,

for testing I'd like to run DT without installing it, and without
interfering with my setup and foto collection.  Installing to an
alternative destination would be ok, but I'd rather just recompile and
run it.

What is needed to achieve this?  Currently I have

    tmp="/tmp";

    # copy some images
    tmpImages="${tmp}/dt-images";
    test -e "${tmpImages}" || rsync -av "${HOME}/foto/20190428-002" 
"${tmpImages}"

    # copy some config
    tmpCfg="${tmp}/dt-config"
    rsync -av --exclude='*.db' "${HOME}/.config/darktable/" "${tmpCfg}"

    # is this necessary?
    tmpCache="${tmp}/dt-cache"
    mkdir -p "${tmpCache}"

    # temporary install location
    prefix="${tmp}/dt-install"

    # building
    disable=(flickr libsecret kwallet unity tethering);
    ./build.sh -j "$(nproc)" \
               --prefix ${prefix} \
               "${disable[@]/#/--disable-}" \
               --buildtype Release

    # installing
    cmake --build './build' --target install -- -j "$(nproc)"

    # running
    "${prefix}/bin/darktable" --configdir "${tmpCfg}" --cachedir "${tmpCache}" \

Is this enough to isolate DT from a "production" version and
configuration?

Is there a way to achieve faster (re)compilation, and maybe running
from the source tree without installing at all?

Thanks
Stefan


--
http://stefan-klinger.de                                        o/X
I prefer receiving plain text messages, not exceeding 32kB.     /\/
                                                                  \
___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to