OM-1 Support in Darktable

Thank you Claes,
Then I will try again, maybee something went wrong. I guess I need to delete the already downloaded and installed files first.
It should be two periods. I think that this was auto corrected from two to three :slight_smile:

I just made a branch with full OM-1 support based on darktable release-4.0.0 tag. Building it on Linux:

git clone https://github.com/sarunasb/darktable.git
cd darktable
git checkout release-4.0.0-om1
git submodule init
git submodule update
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=/opt/darktable/ ..
make -j
sudo make install
/opt/darktable/bin/darktable --version
this is darktable 4.0.om1
...
2 Likes

I tried to run your script on a Mac. cmake can’t find curl.

…
-- Could NOT find CURL: Found unsuitable version "7.54.0", but required is at least "7.56" (found /usr/lib/libcurl.dylib, )
-- Cannot found recent CURL version (>= 7.56) to build piwigo.
…
-- The following REQUIRED packages have not been found:
 * CURL (required version >= 7.56)
…
# which curl
/usr/bin/curl
# curl -V
curl 7.64.1 (x86_64-apple-darwin19.0) libcurl/7.64.1 (SecureTransport) LibreSSL/2.8.3 zlib/1.2.11 nghttp2/1.39.2
Release-Date: 2019-03-27
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp smb smbs smtp smtps telnet tftp 
Features: AsynchDNS GSS-API HTTP2 HTTPS-proxy IPv6 Kerberos Largefile libz MultiSSL NTLM NTLM_WB SPNEGO SSL UnixSockets

It appears that cmake is looking for a curl library, whereas I only seem to have an executable. Homebrew (MacOS package manager) doesn’t know anything about “libcurl”.

Any ideas on how to fix this?

Thanks for any help you can offer!

I’m on Ubuntu Linux, so I can’t help with Homebrew.
You have libcurl installed, but it is an oudated version.
libcurl is the name of a file, not a package. On Linux there is a tool called apt-list which is able to search the package name(s) where file(s) containing libcurl are present. I suspect Homebrew offers a similar function.
If you were able to determine the name of the package, the next step would be to check if there is a more recent version available.

Edit: possibly this can help : homebrew - How to find package for installed file in Brew? - Stack Overflow

This might be a more general question “how to get all the prerequisites for building darktable on macOS?” Someone in this forum or on darktable-dev, darktable-user mailing lists should be able to help.

1 Like

how to get all the prerequisites for building darktable on macOS?

I simply ran your script, and carefully read cmake’s errors and warnings. I then used Homebrew to install stuff that cmake said it couldn’t find.

I was pleasantly surprised to find that /usr/bin/apt exists on MacOS. Then I read the man page, and discovered it’s an “annotation processing tool,” not a package manager. :frowning:

I did locate libcurl.dylib and found a number of applications (including the Topaz suite) that included libcurl.dylib in their installation package. otool -L does not note any version number for them, but they are bigger and newer than the /usr/lib/libcurl.dylib that cmake complains about.

I copied one of those libcurl.dylib files into ~/lib, and put that at the head of $LD_LIBRARY_PATH and re-ran cmake, but it did not change the complaint about /usr/lib/libcurl.dylib. It appears cmake is ignoring $LD_LIBRARY_PATH?

I’m not sure what to do at this point.

For those of you that are using windows, you can download an installer from the following link.

3 Likes

Thank you! Thank you!

thank you very much, you make me happy today. :-))

Hello Victor,

Did you make the same job with the latest version because OM1 is not reconized with it ?

thank you.

Thanks for all the effort!

Is it possible to integrate the OM-1 branch in DT 4.1.0? My DB has been updated already for this version and the om-1 branch for 4.0 does not open it because it is too new.

I hope OM-1 support will be included in 4.2 release in December.

For now I use a separate .config/darktable/ for 4.0.om1 and images from OM-1.

1 Like

That is good news!
As you suggested, I might use a separate config dir and DB for handling OM-1 images as a workaround.
I’m crossing my fingers for 4.2!

Things seem to be moving: kmilos deleted his om-1 branch and closed the merge request.
There is a rawspeed submodule update in the darktable gitlog where Roman Lebedev says:
“Wo-hoo! But is it good to be back?”
and also:
“Acknowledge the cameras for which samples are now available on RPU”.

1 Like

I don’t know how to interpret these messages concerning OM-1 raw support. At Add white balance presets for OM System OM-1 camera by sarunasb · Pull Request #13059 · darktable-org/darktable · GitHub I get the impression that because of Rawspeed there will not be OM-1 raw support in DT 4.2. And here LibRaw update by kmilos · Pull Request #13030 · darktable-org/darktable · GitHub it seems (to me) as if Libraw will be used by DT, which would mean that there will be raw support for OM-1, because I know it is in Libraw (Affinity photo 2 uses Libraw and has OM-1 raw support). I would appreciate some explanation.
Jan.

darktable uses LibRaw only for Canon CR3s, so unfortunately no OM-1/OM-5 just yet.

Thanks for your answer.
Jan.

Is there a way to configure darktable to use LibRaw for OM-1/5 files?

just if you build darktable on your own …

Not only build, but change code as well. It is not “configurable” per se.