Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
b256550
build: remove snap version
lklimek Feb 17, 2026
f732889
build: add Flatpak packaging and CI workflow
lklimek Feb 17, 2026
6134e70
build: address review findings for Flatpak packaging
lklimek Feb 17, 2026
e15ea4c
build: simplify CI workflows for Linux-only releases
lklimek Feb 17, 2026
e8f7602
build: attach to existing releases instead of creating new ones
lklimek Feb 17, 2026
6b3aeb5
revert: restore release.yml to original v1.0-dev version
lklimek Feb 17, 2026
4d9fefa
fix: address CodeRabbit review comments
lklimek Feb 17, 2026
77a2cef
docs: add Flatpak install instructions to README
lklimek Feb 17, 2026
d0ccdd6
fix: match StartupWMClass to Flatpak app_id
lklimek Feb 17, 2026
4544074
fix: use ** glob for branch trigger to match feat/flatpak
lklimek Feb 17, 2026
4d61c95
feat: add aarch64 Flatpak build and caching to CI
lklimek Feb 17, 2026
d8cdba8
fix: convert desktop and metainfo files to LF line endings
lklimek Feb 17, 2026
b606676
build: cancel in-progress Flatpak builds on new push
lklimek Feb 17, 2026
f23c4b4
fix: address PR review findings for Flatpak packaging
lklimek Feb 17, 2026
756d25d
chore: workflow timeout and perms
lklimek Feb 17, 2026
f463fff
fix: move permissions to job level in Flatpak workflow
lklimek Feb 17, 2026
227ea0d
Merge remote-tracking branch 'origin/v1.0-dev' into feat/flatpak
lklimek Feb 17, 2026
f82602f
build: cache Cargo registry and target in Flatpak CI
lklimek Feb 17, 2026
4cf27cd
fix: scope cargo cache bind-mount sed to build-args only
lklimek Feb 17, 2026
7246fad
Apply suggestions from code review
lklimek Feb 18, 2026
99e661e
Merge branch 'v1.0-dev' into feat/flatpak
lklimek Feb 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
85 changes: 85 additions & 0 deletions .github/workflows/flatpak.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
name: Build Flatpak

on:
push:
branches:
- "*flatpak*"
release:
types:
- published
workflow_dispatch:

permissions:
contents: write

jobs:
build-flatpak:
name: Build Flatpak Bundle
runs-on: ubuntu-24.04
timeout-minutes: 120

steps:
- name: Free disk space
run: |
echo "=== Disk space before cleanup ==="
df -h
sudo rm -rf /usr/share/dotnet
sudo rm -rf /usr/local/lib/android
sudo rm -rf /opt/ghc
sudo rm -rf /opt/hostedtoolcache/CodeQL
sudo rm -rf /opt/hostedtoolcache/go
sudo rm -rf /opt/hostedtoolcache/node
sudo rm -rf /usr/local/share/boost
sudo rm -rf /usr/share/swift
sudo rm -rf /usr/local/graalvm
sudo rm -rf /usr/local/.ghcup
sudo docker image prune --all --force || true
sudo docker system prune --all --force || true
sudo apt-get clean
sudo rm -rf /var/lib/apt/lists/*
echo "=== Disk space after cleanup ==="
df -h

- name: Check out code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

- name: Install Flatpak and Flatpak Builder
run: |
sudo apt-get update
sudo apt-get install -y flatpak flatpak-builder

- name: Add Flathub remote
run: |
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

- name: Install Flatpak SDK and runtime
run: |
sudo flatpak install -y --noninteractive flathub \
org.freedesktop.Platform//25.08 \
org.freedesktop.Sdk//25.08 \
org.freedesktop.Sdk.Extension.rust-stable//25.08 \
org.freedesktop.Sdk.Extension.llvm21//25.08
echo "=== Disk space after SDK install ==="
df -h

- name: Build Flatpak
run: |
flatpak-builder --force-clean --repo=repo build-dir flatpak/org.dash.DashEvoTool.yml
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved

- name: Create Flatpak bundle
run: |
flatpak build-bundle repo dash-evo-tool-linux-x86_64.flatpak org.dash.DashEvoTool

- name: Upload Flatpak bundle as artifact
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
with:
name: dash-evo-tool-linux-x86_64-flatpak
path: dash-evo-tool-linux-x86_64.flatpak

- name: Attach bundle to release
if: github.event_name == 'release'
uses: softprops/action-gh-release@da05d552573ad5aba039eaac05058a918a7bf631 # v2.2.2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
files: dash-evo-tool-linux-x86_64.flatpak
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ build-test/

# Build artifacts
*.snap
*.flatpak
.flatpak-builder/
flatpak-repo/
build-dir/

# Dot env file
.env
Expand Down
10 changes: 10 additions & 0 deletions flatpak/org.dash.DashEvoTool.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Desktop Entry]
Name=Dash Evo Tool
Comment=Graphical user interface for interacting with Dash Evolution
Exec=dash-evo-tool
Icon=org.dash.DashEvoTool
Type=Application
Terminal=false
Categories=Finance;Network;Utility;
Keywords=Dash;Blockchain;Crypto;Wallet;DPNS;Evolution;
StartupWMClass=dash-evo-tool
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
35 changes: 35 additions & 0 deletions flatpak/org.dash.DashEvoTool.metainfo.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop-application">
<id>org.dash.DashEvoTool</id>
<name>Dash Evo Tool</name>
<summary>Graphical user interface for interacting with Dash Evolution</summary>

<metadata_license>MIT</metadata_license>
<project_license>MIT</project_license>

<description>
<p>
A cross-platform desktop application for interacting with Dash Evolution
(Layer 2). Features include DPNS username registration, contest voting,
state transition viewing, wallet management, and identity operations.
Works in SPV (light client) mode - no full Dash Core node required.
</p>
</description>

<url type="homepage">https://github.com/dashpay/dash-evo-tool</url>
<url type="bugtracker">https://github.com/dashpay/dash-evo-tool/issues</url>

<launchable type="desktop-id">org.dash.DashEvoTool.desktop</launchable>

<icon type="stock">org.dash.DashEvoTool</icon>

<content_rating type="oars-1.1" />

<developer id="org.dash">
<name>Dash Core Group</name>
</developer>

<releases>
<release version="1.0.0-dev" date="2026-02-17" type="development" />
</releases>
</component>
75 changes: 75 additions & 0 deletions flatpak/org.dash.DashEvoTool.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
# Flatpak manifest for Dash Evo Tool
Comment thread
lklimek marked this conversation as resolved.
Resolved
# Build with: flatpak-builder --user --force-clean --repo=repo build-dir flatpak/org.dash.DashEvoTool.yml
# Install locally: flatpak-builder --user --install --force-clean build-dir flatpak/org.dash.DashEvoTool.yml
# Create bundle: flatpak build-bundle repo dash-evo-tool.flatpak org.dash.DashEvoTool

app-id: org.dash.DashEvoTool
runtime: org.freedesktop.Platform
runtime-version: '25.08'
sdk: org.freedesktop.Sdk
sdk-extensions:
- org.freedesktop.Sdk.Extension.rust-stable
- org.freedesktop.Sdk.Extension.llvm21

command: dash-evo-tool

finish-args:
# X11 shared memory for display
- --share=ipc
# Network access for blockchain communication
- --share=network
# Display server support (prefer Wayland, fall back to X11)
- --socket=wayland
- --socket=fallback-x11
# GPU acceleration for egui rendering
- --device=dri
# Application config directory
- --filesystem=xdg-config/dash-evo-tool:create

build-options:
append-path: /usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm21/bin
build-args:
- --share=network
env:
CARGO_HOME: /run/build/dash-evo-tool/cargo
PROTOC: /app/bin/protoc
PROTOC_INCLUDE: /app/include

modules:
# Module 1: Install protobuf compiler (required for building dash-sdk)
- name: protoc
buildsystem: simple
sources:
- type: file
url: https://github.com/protocolbuffers/protobuf/releases/download/v25.2/protoc-25.2-linux-x86_64.zip
sha256: 78ab9c3288919bdaa6cfcec6127a04813cf8a0ce406afa625e48e816abee2878
build-commands:
- unzip protoc-25.2-linux-x86_64.zip bin/protoc -d /app
- unzip protoc-25.2-linux-x86_64.zip 'include/*' -d /app
- chmod 755 /app/bin/protoc

# Module 2: Build libsodium (required for crypto operations)
- name: libsodium
buildsystem: autotools
sources:
- type: archive
url: https://github.com/jedisct1/libsodium/releases/download/1.0.20-RELEASE/libsodium-1.0.20.tar.gz
sha256: ebb65ef6ca439333c2bb41a0c1990587288da07f6c7fd07cb3a18cc18d30ce19

# Module 3: Build dash-evo-tool from source
- name: dash-evo-tool
buildsystem: simple
sources:
- type: dir
path: ..
skip:
- .flatpak-builder
- build-dir
- flatpak-repo
- target
Comment thread
lklimek marked this conversation as resolved.
Resolved
build-commands:
- cargo build --release
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
- install -Dm755 target/release/dash-evo-tool /app/bin/dash-evo-tool
- install -Dm644 flatpak/org.dash.DashEvoTool.desktop /app/share/applications/org.dash.DashEvoTool.desktop
- install -Dm644 flatpak/org.dash.DashEvoTool.metainfo.xml /app/share/metainfo/org.dash.DashEvoTool.metainfo.xml
- install -Dm644 assets/DET_LOGO.png /app/share/icons/hicolor/512x512/apps/org.dash.DashEvoTool.png
Loading
Loading