From 80560d9a5c32ed7b88010241be5f8d8c9cc70a3c Mon Sep 17 00:00:00 2001 From: Romain Failliot Date: Wed, 12 Aug 2020 21:39:02 -0400 Subject: [PATCH 1/2] Add Flatpak configuration file --- com.github.mightycreak.Diffuse.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 com.github.mightycreak.Diffuse.yml diff --git a/com.github.mightycreak.Diffuse.yml b/com.github.mightycreak.Diffuse.yml new file mode 100644 index 0000000..67144a2 --- /dev/null +++ b/com.github.mightycreak.Diffuse.yml @@ -0,0 +1,19 @@ +app-id: com.github.mightycreak.Diffuse +runtime: org.gnome.Platform +runtime-version: '3.36' +sdk: org.gnome.Sdk +command: diffuse +finish-args: + - --socket=wayland + - --socket=fallback-x11 + - --share=ipc + - --filesystem=home +modules: + - name: diffuse + buildsystem: meson + sources: + - type: git + url: https://github.com/MightyCreak/diffuse + branch: master +rename-desktop-file: diffuse.desktop +rename-icon: diffuse From 21eb957edb11f898a13d9cb0645f785a2152675f Mon Sep 17 00:00:00 2001 From: Romain Failliot Date: Sun, 29 Nov 2020 11:39:19 -0500 Subject: [PATCH 2/2] Add instructions to build the Flatpak package locally --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index d731dfc..945a83a 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,20 @@ Diffuse. The `XDG_CONFIG_HOME` and `XDG_DATA_DIR` environment variables indicate where Diffuse should store persistent settings (eg. the path to a writable directory on the pen drive). +## Building and testing the Flatpak package + +To install Diffuse locally: + + flatpak-builder builddir-flatpak --user --install com.github.mightycreak.Diffuse.yml + +To run Diffuse through Flatpak: + + flatpak run com.github.mightycreak.Diffuse + +To uninstall Diffuse: + + flatpak remove com.github.mightycreak.Diffuse + ## Help Documentation Diffuse's help documentation is written in the DocBook format and can be easily