Add flatpak build manifest - #405
RomanKharin wants to merge 1 commit into
Conversation
|
Great tip ;-) On Ubuntu Linux 20.04.5 LTS you need additional steps: sudo apt install flatpak-builder # + 5MB
flatpak install flathub org.kde.Sdk/x86_64/5.14 # + 1 GB
flatpak install flathub org.kde.Platform/x86_64/5.14 # + 1GB
mkdir build-dir
flatpak-builder build-dir src/com.github.Denvi.Candle.yamlbut I can see warnings/errors here like this: $ flatpak-builder build-dir src/com.github.Denvi.Candle.yaml
Downloading sources
Starting build of com.github.Denvi.Candle
Cache miss, checking out last cache hit
========================================================================
Building module candle in /home/USER/tmp/Candle/.flatpak-builder/build/candle-2
========================================================================
Running: cmake .
CMake Error: The current CMakeCache.txt directory /run/build/candle/CMakeCache.txt is different than the directory /home/USER/tmp/Candle/src where CMakeCache.txt was created. This may result in binaries being created in the wrong place. If you are not sure, reedit the CMakeCache.txt
Error: module candle: Proces child exited with code 1After @RomanKharin Maybe you have a solution for this? |
|
Hello, |
|
This PR has been automatically marked as stale due to inactivity. |
|
This PR has been automatically marked as stale due to inactivity. |
|
I've never worked with app-id: com.github.Denvi.Candle
runtime: org.kde.Platform
runtime-version: "5.15-25.08"
sdk: org.kde.Sdk
command: candle
finish-args:
- --share=ipc
- --socket=wayland
- --filesystem=host
- --device=all
modules:
- name: candle
buildsystem: cmake
config-opts:
- -DCMAKE_BUILD_TYPE=Release
post-install:
- install -D /app/candle /app/bin/candle
sources:
- type: git
url: https://github.com/Denvi/Candle.git
tag: v11.2Now to try to connect to my GRBL CNC which I also have no experience with... |
|
This PR has been automatically marked as stale due to inactivity. |
|
This PR has been automatically marked as stale due to inactivity. |
SImple manifest for Flatpak.
Notes:
org.Kde.Platform 5.14Prepare
Build
Test