The unified XFrame-native canvas lives inside the designer now, so the standalone layout process, its file-based selection IPC and its workspace membership are gone. The Flatpak launcher just starts the designer; xframe-common no longer mentions the layout in its description and activate_window is documented for its remaining use.
43 lines
1.8 KiB
YAML
43 lines
1.8 KiB
YAML
app-id: com.hotconfig.LightGUIRust
|
|
runtime: org.gnome.Platform
|
|
runtime-version: '48'
|
|
sdk: org.gnome.Sdk
|
|
sdk-extensions:
|
|
- org.freedesktop.Sdk.Extension.rust-stable
|
|
command: lightgui-rust
|
|
finish-args:
|
|
- --share=ipc
|
|
- --socket=fallback-x11
|
|
- --socket=wayland
|
|
- --device=dri
|
|
- --filesystem=home
|
|
build-options:
|
|
append-path: /usr/lib/sdk/rust-stable/bin
|
|
env:
|
|
CARGO_HOME: /run/build/lightgui-rust/cargo
|
|
modules:
|
|
- name: lightgui-rust
|
|
buildsystem: simple
|
|
sources:
|
|
- type: git
|
|
url: https://github.com/cnmcdee/lightgui_rust.git
|
|
branch: main
|
|
- cargo-sources.json
|
|
- type: git
|
|
url: https://github.com/cnmcdee/lightgui.git
|
|
branch: main
|
|
dest: lightgui-icons
|
|
build-commands:
|
|
- mkdir -p .cargo
|
|
- printf '[source.crates-io]\nreplace-with = "vendored-sources"\n[source.vendored-sources]\ndirectory = "%s/vendor"\n' "$CARGO_HOME" > .cargo/config.toml
|
|
- cargo --offline fetch --verbose
|
|
- cargo --offline build --release --verbose
|
|
- install -Dm755 target/release/lightgui-designer /app/share/lightgui-rust/lightgui-designer
|
|
- install -Dm755 target/release/xframe-palette /app/share/lightgui-rust/xframe-palette
|
|
- mkdir -p /app/share/lightgui-rust/widgets/icons
|
|
- cp lightgui-icons/widgets/icons/* /app/share/lightgui-rust/widgets/icons/
|
|
- install -Dm755 flatpak/lightgui-rust-launcher /app/bin/lightgui-rust
|
|
- install -Dm644 flatpak/com.hotconfig.LightGUIRust.desktop /app/share/applications/com.hotconfig.LightGUIRust.desktop
|
|
- install -Dm644 flatpak/com.hotconfig.LightGUIRust.metainfo.xml /app/share/metainfo/com.hotconfig.LightGUIRust.metainfo.xml
|
|
- install -Dm644 flatpak/icon.png /app/share/icons/hicolor/512x512/apps/com.hotconfig.LightGUIRust.png
|