pinta-flatpak
Pinta is a free, open source program for drawing and image editing.
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.32"
$ flatpak --user install "flathub" "org.gnome.Platform//3.32"
Clone this repository, then checkout the right branch.
$ git submodule init
$ git submodule update
Build
$ flatpak-builder "build" "com.github.PintaProject.Pinta.yaml" --force-clean --install-deps-from="flathub"
Test
$ flatpak-builder --run "build" "com.github.PintaProject.Pinta.yaml" "sh"
Test run
$ flatpak-builder --run "build" "com.github.PintaProject.Pinta.yaml" "pinta"
Create repo
$ flatpak-builder --repo="repo" --force-clean "build" "com.github.PintaProject.Pinta.yaml"
Install
$ flatpak --user remote-add --no-gpg-verify "pinta" "repo"
$ flatpak --user install "pinta" "com.github.PintaProject.Pinta"
Run
$ flatpak --user run "com.github.PintaProject.Pinta"
Uninstall
$ flatpak --user uninstall "com.github.PintaProject.Pinta"
$ flatpak --user remote-delete "pinta"
Build single-file bundle
$ flatpak build-bundle "repo" "pinta.flatpak" "com.github.PintaProject.Pinta" --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 "pinta.flatpak"
See also:
FAQ
Does flatpak-ed Pinta run as superuser?
Why not a RPM package?
There are already packages for various distributions.
Are you the author of Pinta?
No, I only created the flatpak package for it.
See also: