{"id":21389538,"url":"https://github.com/per2jensen/dt-on-ubuntu","last_synced_at":"2025-07-13T16:30:26.719Z","repository":{"id":43637600,"uuid":"230738696","full_name":"per2jensen/dt-on-ubuntu","owner":"per2jensen","description":"Darktable on Ubuntu, scripts for compiling DT on a specific Ubuntu version","archived":false,"fork":false,"pushed_at":"2024-06-22T07:02:52.000Z","size":121,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-06-23T17:13:32.399Z","etag":null,"topics":["compile","darktable","raw-developer","ubuntu","virtual-machine"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/per2jensen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-29T11:07:34.000Z","updated_at":"2024-06-22T07:02:56.000Z","dependencies_parsed_at":"2023-12-21T12:02:30.296Z","dependency_job_id":"7517c02d-249a-4361-bdc7-d04f297b3683","html_url":"https://github.com/per2jensen/dt-on-ubuntu","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/per2jensen%2Fdt-on-ubuntu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/per2jensen%2Fdt-on-ubuntu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/per2jensen%2Fdt-on-ubuntu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/per2jensen%2Fdt-on-ubuntu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/per2jensen","download_url":"https://codeload.github.com/per2jensen/dt-on-ubuntu/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225896484,"owners_count":17541504,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["compile","darktable","raw-developer","ubuntu","virtual-machine"],"created_at":"2024-11-22T12:27:09.140Z","updated_at":"2025-07-13T16:30:26.711Z","avatar_url":"https://github.com/per2jensen.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compile darktable on Ubuntu\nThis is a collection of scripts for compiling different versions of DarkTable \non different versions of Ubuntu. The versions follows what I am using on my \nworkstation :-)\n\nThere are 2 ways to install Darktable:\n  1. Darktable releases can be installed in a VM for trying it out.\n\n        It is easy to build on your local machine, but trying out in a VM first is nice.\n  \n  2. Follow Git Master on your computer using the script for that.\n\n\n# Dependencies\n* KVM \n\n    kvm must be installed in order for multipass to work\n    Take a look here: https://www.tecmint.com/install-kvm-on-ubuntu/\n\n* Multipass\n    \n    The scripts require Ubuntu Multipass to be installed, as all activity\n    takes place within a virtual machine. You can of course create your own \n    Ubuntu VM and fire off the \"compile script\" there.\n\n    Multipass is a snap away on Ubuntu: \n        snap install --classic multipass\n\n* DT clone location\n\n    DT is cloned to this location within the VM: /home/ubuntu/git/darktable\n\n* Installation\n    Darktable is installed into /opt/darktable within the VM.\n      \n\n\n# What the scripts do:\nThe compile script does the following:\n\n*    creates/starts a VM called ubuntu\u003cversion\u003e-DTcompile\n*    clones Darktable from Github into the VM\n*    adds llvm repoes to the VM's APT sources\n*    adds llvm APT key into the VM\n*    installs loads of necessary Ubuntu packages in the VM\n*    builds and install Darktable in the VM\n*    starts Darktable to print the --version info in the VM\n\nThe end result from running \"darktable --version\" on the latest supported build, is:\n````\ndarktable 5.0.0\nCopyright (C) 2012-2024 Johannes Hanika and other contributors.\n\nCompile options:\n  Bit depth              -\u003e 64 bit\n  Debug                  -\u003e DISABLED\n  SSE2 optimizations     -\u003e ENABLED\n  OpenMP                 -\u003e ENABLED\n  OpenCL                 -\u003e ENABLED\n  Lua                    -\u003e ENABLED  - API version 9.4.0\n  Colord                 -\u003e ENABLED\n  gPhoto2                -\u003e ENABLED\n  GMIC                   -\u003e ENABLED  - Compressed LUTs are supported\n  GraphicsMagick         -\u003e ENABLED\n  ImageMagick            -\u003e DISABLED\n  libavif                -\u003e ENABLED\n  libheif                -\u003e ENABLED\n  libjxl                 -\u003e ENABLED\n  LibRaw                 -\u003e ENABLED  - Version 0.22.0-Devel202403\n  OpenJPEG               -\u003e ENABLED\n  OpenEXR                -\u003e ENABLED\n  WebP                   -\u003e ENABLED\n\nSee https://www.darktable.org/resources/ for detailed documentation.\nSee https://github.com/darktable-org/darktable/issues/new/choose to report bugs.\n````\n\n# How to compile Darktable 5.0.0 for Ubuntu 24.04 in a VM\n\n````\n    git clone https://github.com/per2jensen/dt-on-ubuntu.git\n    cd dt-on-ubuntu/24.04/DT50\n    chmod u+x install_in_vm.sh\n    ./install_in_vm.sh\n````\n\nIf you have an old VM lying around and want to start from a fresh, do this:\n\n````\n    multipass stop   ubuntu2404-DTcompile\n    multipass delete ubuntu2404-DTcompile\n    multipass purge \n````\n\n## Shell access to VM to see the buildlog\n\n````\n# become the 'ubuntu' user in the VM\nmultipass shell ubuntu2404-DTcompile  \n\n# view the output captued from 'configure' and 'make'\nless DT-5.0.0.log\n````\n\n## Output from 'configure'\n\nThe full log file has been saved in git (\"[DT-5.0.0.log](https://github.com/per2jensen/dt-on-ubuntu/blob/master/24.04/DT50/doc/DT-5.0.0.log)\", for viewing if you are interested\n\n\n# Build on your machine\n\nOnce you are happy that things work in the VM, consider changing\na couple of env vars:\n\n- set the DT_SRC_FOLDER env variable in 24-04/DT50/DTcompile.sh\n- set the INSTALL_PREFIX env var in 24-04-DT50/envvars\n\nand run the DTcompile.sh to enjoy the DT goodness :-)\n\n# How to follow Git Master, to be on the bleeding edge\n\n    git clone https://github.com/per2jensen/dt-on-ubuntu.git\n    cd dt-on-ubuntu/24.04/DT48\n    chmod u+x master_compile.sh\n    ./master_compile.sh\n\nEdit the environment variables to your taste.\n\n\n# Docs\nDocumentation is not compiled\n  \n# Links\n  [Darktable website](https://www.darktable.org/)\n  \n  [Darktable on github](https://github.com/darktable-org/darktable)\n  \n  [Darktable on Pixls.us](https://discuss.pixls.us/c/software/darktable/19)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fper2jensen%2Fdt-on-ubuntu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fper2jensen%2Fdt-on-ubuntu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fper2jensen%2Fdt-on-ubuntu/lists"}