Skip to content

Latest commit

 

History

History
145 lines (92 loc) · 2.96 KB

README.md

File metadata and controls

145 lines (92 loc) · 2.96 KB

wxmaxima-flatpak

wxMaxima is a graphical user interface for the computer algebra system Maxima: a program that solves mathematical problems by manipulating equations (and outputting the resulting formula), instead of just calculating a number.

wxmaxima-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 install "flathub" "org.gnome.Sdk//3.32"
$ flatpak 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" "io.github.wxmaxima_developers.wxMaxima.yaml" --force-clean --install-deps-from="flathub"

Test

$ flatpak-builder --run "build" "io.github.wxmaxima_developers.wxMaxima.yaml" "sh"

Test run

$ flatpak-builder --run "build" "io.github.wxmaxima_developers.wxMaxima.yaml" "wxmaxima"

Create repo

$ flatpak-builder --repo="repo" --force-clean "build" "io.github.wxmaxima_developers.wxMaxima.yaml"

Install

$ flatpak --user remote-add --no-gpg-verify "wxmaxima" "repo"
$ flatpak --user install "wxmaxima" "io.github.wxmaxima_developers.wxMaxima"

Run

$ flatpak run "io.github.wxmaxima_developers.wxMaxima"

Uninstall

$ flatpak --user uninstall "io.github.wxmaxima_developers.wxMaxima"
$ flatpak --user remote-delete "wxmaxima"

Build single-file bundle

$ flatpak build-bundle "repo" "wxmaxima.flatpak" "io.github.wxmaxima_developers.wxMaxima" --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 "wxmaxima.flatpak"

See also:

FAQ

Why not a RPM package?

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

Are you the author of wxMaxima?

No, I only created the flatpak package for it.

See also: