/qalculate-flatpak

Flatpak package for Qalculate

qalculate-flatpak

Qalculate! is a multi-purpose cross-platform desktop calculator. It is simple to use but provides power and versatility normally reserved for complicated math packages, as well as useful tools for everyday needs (such as currency conversion and percent calculation). Features include a large library of customizable functions, unit calculations and conversion, symbolic calculations (including integrals and equations), arbitrary precision, uncertainty propagation, interval arithmetic, plotting, and a user-friendly interface (GTK+ and CLI).

qalculate-flatpak screenshot

Homepage

This repo is about the flatpak package (Gtk+3).

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.

$ git submodule init
$ git submodule update

Build

$ flatpak-builder "build" "io.github.qalculate.Qalculate.yaml" --force-clean --install-deps-from="flathub"

Test

$ flatpak-builder --run "build" "io.github.qalculate.Qalculate.yaml" "sh"

Test run

$ flatpak-builder --run "build" "io.github.qalculate.Qalculate.yaml" "qalculate-gtk"

Create repo

$ flatpak-builder --repo="repo" --force-clean "build" "io.github.qalculate.Qalculate.yaml"

Install

$ flatpak --user remote-add --no-gpg-verify "qalculate-gtk" "repo"
$ flatpak --user install "qalculate-gtk" "io.github.qalculate.Qalculate"

Run

$ flatpak --user run "io.github.qalculate.Qalculate"

Uninstall

$ flatpak --user uninstall "io.github.qalculate.Qalculate"
$ flatpak --user remote-delete "qalculate-gtk"

Build single-file bundle

$ flatpak build-bundle "repo" "qalculate-gtk.flatpak" "io.github.qalculate.Qalculate" --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 "qalculate-gtk.flatpak"

See also:

FAQ

Are you the author of Qalculate/qalculate-gtk?

No, I only created the flatpak package for it.

See also: