Building darktable-master from github

Just to follow up I did manage to run the Darktable version I built inside docker, where all the dependencies are properly installed.

The problem with running GUI applications inside Docker is that the X server has to be shared with the container. It’s a bit of a pain to get that off the ground, but in case anyone else wants to give this a try there is a handy tool called x11docker available on Github, which - with the proper options, is perfectly able to run Darktable from inside a container, with zero performance loss.

$ x11docker -i --wm=host --gpu <containerid>

(From memory)

@Michael_Berg You can get nightly build as binaries…why so much bother Install package graphics:darktable:master / darktable

1 Like

You just need one command:

$ yum builddep darktable
1 Like

I am sure @asn wanted to say :wink:

zypper si --build-deps-only darktable

1 Like

I was just following the published instructions, but this is definitely better and simpler.

I created a wiki page on the github project with the update.

  1. only fedora

  2. this only works if there are no new build dependencies introduced on master. ( you wouldn’t have been able to build 3.0 snapshots for months with 2.6 builddeps e.g.)

  3. if you want to make it easier … add the OBS master repository to your package manager and pull the build deps from there. That gives you a higher chance of succeeding.

  4. or just use the OBS packages in first place. (every git commit gets build)

1 Like

As @darix says we build for all major distributions in the openSUSE Buildservice (OBS). This means we keep everything up to date for your and add the latest features. However it would be great to have help. It is easy to contribute to darktable (stable or master) in the OBS.

Hi Andreas,

great to see the OBS version of the 3.0.0 release.
Appreciate this way to get the software! Thank you so much.
Quick additional question:
Will there also be a snapshot of the stable release branch build available in future? I guess that would be the nightly 3.0.x - right?
Currently on OBS this still is darktable_2.6.3~git2.22c690a53_amd64.deb or am I overlooking something here.

Done, however there seems to be a bug in the OBS package resolver right now. It doesn’t have suse_version set and thus requires the wrong gcc-c++.

1 Like