Skip to content

scx/rawtherapee-flatpak

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rawtherapee-flatpak

RawTherapee is a powerful, cross-platform raw photo processing program.

rawtherapee-flatpak screenshot

Homepage

This repo is about the flatpak package.

Instructions

Requirements

For EL7:

# yum install 'flatpak' 'flatpak-builder'

You may also wish to install the xdg-desktop-portal* packages:

# yum install 'xdg-desktop-portal*'

See also:

Adding repository

$ flatpak remote-add --if-not-exists "flathub" "https://dl.flathub.org/repo/flathub.flatpakrepo"

See also:

Prepare

$ flatpak --user install "flathub" "org.gnome.Sdk//3.34"
$ flatpak --user install "flathub" "org.gnome.Platform//3.34"

Clone this repository, then checkout the right branch.

Build

$ flatpak-builder "build" "com.rawtherapee.RawTherapee.yaml" --force-clean --install-deps-from="flathub"

Test

$ flatpak-builder --run "build" "com.rawtherapee.RawTherapee.yaml" "sh"

Test run

$ flatpak-builder --run "build" "com.rawtherapee.RawTherapee.yaml" "rawtherapee"

Create repo

$ flatpak-builder --repo="repo" --force-clean "build" "com.rawtherapee.RawTherapee.yaml"

Install

$ flatpak --user remote-add --no-gpg-verify "rawtherapee" "repo"
$ flatpak --user install "rawtherapee" "com.rawtherapee.RawTherapee"

Run

$ flatpak --user run "com.rawtherapee.RawTherapee"

Uninstall

$ flatpak --user uninstall "com.rawtherapee.RawTherapee"
$ flatpak --user remote-delete "rawtherapee"

Build single-file bundle

$ flatpak build-bundle "repo" "rawtherapee.flatpak" "com.rawtherapee.RawTherapee" --runtime-repo="https://flathub.org/repo/flathub.flatpakrepo"

Install single-file bundle

If you have already installed the package, you have to uninstall it before continuing.

$ flatpak --user install "rawtherapee.flatpak"

See also:

FAQ

Why not a RPM package?

I already provided COPR repo with (S)RPM packages for EL.

Is it possible to open photo in an external editor?

Yes, of course! By default, it will try to use GIMP. It prefers the flatpak package over the host package, but you can change it by specifing the Custom command line value in PreferencesGeneralExternal Editor:

  • gimp - Use GIMP from the flatpak if available, or from the host otherwise.
  • gimp-flatpak - Use GIMP from the flatpak.
  • gimp-host - Use GIMP from the host.

You can use a custom command as well:

  • flatpak-spawn --host flatpak run org.gimp.GIMP - Use GIMP (or any other editor that has access to the /tmp directory from the host) from the flatpak.
  • flatpak-spawn --host gimp - Use GIMP (or any other editor) from the host.

Are you the author of RawTherapee?

No, I only created the flatpak package for it.

See also: