Adding Raw Support for OM-5 in Darktable

To consolidate information from multiple threads, here is how I built darktable from source to use OM-5 raw files on Ubuntu 22.04 (thanks @kmilos and @sugarbravo for the directions):

  • Install the exiv2 maintenance branch (from source) for OM Systems support (ie. clone the repository, checkout the 0.27-maintenance branch, and then follow the instructions in the readme to install from source).
  • Run the command here for installing the minimal dependencies for darktable with libexiv2 removed (since we already installed it from source).
  • Follow these directions from sugarbravo to install darktable from source. However, first add the entry for the OM-5 camera into your src/external/rawspeed/data/cameras.xml (in your cloned darktable repository) from the OM-5 PR in rawspeed.
  • Now you should be able to run /opt/darktable/bin/darktable and the version in the top left corner of darktable will read 4.2om1 (or 4.2om1+dirty if you built it twice like me :slight_smile: )
  • For convenience I created a desktop shortcut by copying the /usr/share/applications/darktable file to my desktop and then modifying the executable path (by opening it in a text editor)

Now I’m realizing that the kit lens for this camera (12-45 f4 pro) isn’t automatically recognized in the lens correction module because it comes in as an “OM” lens while the lens correction profile for it is filed under “Olympus”. Not sure if that’s a lensfun or a darktable issue.

image

1 Like