Le 29/02/2016 06:50, Owen Mays a écrit :
Hi all,
I'd like to start contributing a bit (looking at bug/feature postings
on the redmine page). Before I try anything, I want to make sure I'm
not going to screw up my darktable install and image library by mistake.
I know I can build a separate version (just specify a different target
path when I run the build.sh script). But that version is opening the
same image library as my "main" version of darktable. Is there anyway
to set up a "sandboxed" version of darktable with its own separate
image library to avoid the possibility of damaging my main library?
*** (1) Calling a specific sandboxed install of dartkable from any
environment
There's a solution that you may like better than specifying :memory: if
like me you want a real persistent library for your compiled version of
darktable.
I've been having for years a simple script for that, like this :
#!/bin/bash
DARKTABLE_INSTALL_ROOT=~/some_path_where_darktable_is_installed
exec ~/${DARKTABLE_INSTALL_ROOT}/bin/darktable --library
~/${DARKTABLE_INSTALL_ROOT}/dtlib "$@"
I put this script in in ~/bin/darktable-git
Many distributions will automatically add ~/bin/ to your shell path if
it exists (on login, so logout first if you just created it).
You can even associate JPEG or RAW files (or even directories) to
darktable_git to be able do open specific files with
*** (2) Bonus: out-of-source build
Building out of source is supported by darktable and I highly recommend
it. (ref1
<http://www.crashcourse.ca/wiki/index.php/Building_kernel_out_of_tree>
ref2
<http://voices.canonical.com/jussi.pakkanen/2013/04/16/why-you-should-consider-using-separate-build-directories/>).
Personally I adjust build.sh like this :
INSTALL_PREFIX="../darktable.installtree"
BUILD_DIR="../darktable.buildtree"
then :
* the source tree is kept pristine,
* build tree can be whatever order (or even mess) the build systems
wants it to be without any problem (it's big, you can even nuke it at
any time and still run the program),
* and "make install" installs everything in a clean hierarchy.
Though I don't consider it proven, AFAIK combined with (1) running
darktable like this cannot interfere with other (main) installation.
Regards
--
Stéphane Gourichon
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Darktable-users mailing list
Darktable-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/darktable-users