Skip to content

Commit

Permalink
DT-4.2.1 on Ubuntu 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
per2jensen committed Feb 24, 2023
1 parent 3547446 commit 00d7202
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 7 deletions.
2 changes: 1 addition & 1 deletion 22.04/DT42/DT42_compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ source envvars

# Change this if you want to run the compile script directly on your machine
# Release to use
export RELEASE=release-4.2.0
export RELEASE=release-4.2.1

export VERSION=$(echo $RELEASE|grep -E -o '\-.*')
export INSTALL_PREFIX="$HOME/programmer/darktable${VERSION}"
Expand Down
8 changes: 7 additions & 1 deletion 22.04/DT42/_compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ sudo apt install -y libxml2-utils xsltproc libsaxon-java libpthread-workqueue0
liblensfun-dev libcurl4-openssl-dev libjpeg8-dev libtiff-dev liblcms2-dev libjson-glib-dev \
libgtk-3-0 libgtk-3-dev libxml2-dev libxml2 librsvg2-2 librsvg2-dev libsqlite3-dev \
libexiv2-dev libpugixml-dev lua5.4 liblua5.4-0 liblua5.4-dev libgphoto2-6 libgphoto2-dev colord libcolord-dev \
libgraphicsmagick1-dev imagemagick libmagick++-6.q16-dev libopenexr-dev libopenexr25 desktop-file-utils libgmic-dev
libgraphicsmagick1-dev imagemagick libmagick++-6.q16-dev libopenexr-dev libopenexr25 desktop-file-utils libgmic-dev libimath-dev libimath-3-1-29
if [ $? != "0" ]
then
echo "2: Package installation failed, exiting" && exit
Expand Down Expand Up @@ -69,6 +69,12 @@ if [[ -d "$DT_SRC_FOLDER" ]]; then
rm -fr "${DT_SRC_FOLDER}"
fi

rm -f "$LOG"
echo "Start configuring DT...." >> "$LOG"
date >> "$LOG"
echo "." >> "$LOG"


git clone https://github.com/darktable-org/darktable.git "$DT_SRC_FOLDER" 2>&1|tee -a "$LOG"
if [[ "${PIPESTATUS[0]}" != "0" ]]; then
echo \"git clone\" failed, exiting
Expand Down
2 changes: 1 addition & 1 deletion 22.04/DT42/envvars
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/bash

LOG="$HOME/DT420.log"
LOG="$HOME/DT421.log"

VM_NAME=ubuntu2204-DTcompile
VM_SIZE=15G
Expand Down
13 changes: 9 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ The compile script does the following:

The end result from running "darktable --version" on the latest supported build, is:
````
this is darktable 4.2.0
copyright (c) 2009-2022 johannes hanika
this is darktable 4.2.1
copyright (c) 2009-2023 johannes hanika
https://github.com/darktable-org/darktable/issues/new/choose
compile options:
Expand All @@ -64,14 +64,19 @@ compile options:
GraphicsMagick support enabled
ImageMagick support disabled
libavif support enabled
libheif support enabled
libheif support disabled
libjxl support disabled
OpenJPEG support enabled
OpenEXR support enabled
WebP support enabled
````
# Issues on Ubuntu 22.04

# How to compile Darktable 4.2.0 for Ubuntu 22.04 in a VM
- libheif: Ubuntu 22.04 provides libheif: version "1.12.0", DT 4.2.1 requires >= 1.13.0
- lijxl: requires Ubuntu 23.04 according to https://github.com/libjxl/libjxl


# How to compile Darktable 4.2.1 for Ubuntu 22.04 in a VM
````
git clone https://github.com/per2jensen/dt-on-ubuntu.git
cd dt-on-ubuntu/22.04/DT42
Expand Down

0 comments on commit 00d7202

Please sign in to comment.