From 123fdf15b439f1744ee2d20f5f8a9d894c23afae Mon Sep 17 00:00:00 2001
From: Chris Cochrun
Date: Fri, 10 Apr 2026 16:12:17 -0500
Subject: [PATCH] making the name make more sense
---
dev.chriscochrun.Lumina.yml | 27 --------------
...ina.desktop => xyz.cochrun.lumina.desktop} | 2 +-
...fo.xml => xyz.cochrun.lumina.metainfo.xml} | 4 +-
xyz.cochrun.lumina.yml | 37 +++++++++++++++++++
4 files changed, 40 insertions(+), 30 deletions(-)
delete mode 100644 dev.chriscochrun.Lumina.yml
rename res/{xyz.cochrun.lumina.lumina.desktop => xyz.cochrun.lumina.desktop} (82%)
rename res/{xyz.cochrun.lumina.lumina.metainfo.xml => xyz.cochrun.lumina.metainfo.xml} (89%)
create mode 100644 xyz.cochrun.lumina.yml
diff --git a/dev.chriscochrun.Lumina.yml b/dev.chriscochrun.Lumina.yml
deleted file mode 100644
index f5bba2d..0000000
--- a/dev.chriscochrun.Lumina.yml
+++ /dev/null
@@ -1,27 +0,0 @@
-id: xyz.cochrun.Lumina
-runtime: org.freedesktop.Platform
-runtime-version: '25.08'
-sdk: org.freedesktop.Sdk
-sdk-extensions:
- - "org.freedesktop.Sdk.Extension.rust-stable"
-base: "com.system76.Cosmic.BaseApp"
-command: "lumina -i"
-finish-args:
- - --share=ipc
- - --socket=fallback-x11
- - --socket=wayland
- - --device=dri
- - --share=network
- - --filesystem=xdg-documents
-modules:
- - name: lumina
- buildsystem: simple
- build-options:
- - env:
- build-commands:
- - install -Dm755 hello.sh /app/bin/hello
- sources:
- - type: script
- dest-filename: hello.sh
- commands:
- - echo "Hello world, from a sandbox"
diff --git a/res/xyz.cochrun.lumina.lumina.desktop b/res/xyz.cochrun.lumina.desktop
similarity index 82%
rename from res/xyz.cochrun.lumina.lumina.desktop
rename to res/xyz.cochrun.lumina.desktop
index 9c0ab78..460405c 100644
--- a/res/xyz.cochrun.lumina.lumina.desktop
+++ b/res/xyz.cochrun.lumina.desktop
@@ -4,7 +4,7 @@ Type=Application
Name=Lumina
Comment=A church presentation app that is built to be simple to use.
-Categories=AudioVideo;Player;
+Categories=Office;AudioVideo;Player;
Icon=lumina
Exec=lumina -i
diff --git a/res/xyz.cochrun.lumina.lumina.metainfo.xml b/res/xyz.cochrun.lumina.metainfo.xml
similarity index 89%
rename from res/xyz.cochrun.lumina.lumina.metainfo.xml
rename to res/xyz.cochrun.lumina.metainfo.xml
index dee60e2..d3a4416 100644
--- a/res/xyz.cochrun.lumina.lumina.metainfo.xml
+++ b/res/xyz.cochrun.lumina.metainfo.xml
@@ -1,6 +1,6 @@
- xyz.cochrun.lumina.lumina
+ xyz.cochrun.lumina
Lumina
A church presentation app that is built to be simple to use.
@@ -14,7 +14,7 @@
- xyz.cochrun.lumina.lumina.desktop
+ xyz.cochrun.lumina.desktop
https://git.tfcconnection.org/chris/lumina/raw/branch/master/res/images/screenshot_2026-04-10_15-34-28.png
diff --git a/xyz.cochrun.lumina.yml b/xyz.cochrun.lumina.yml
new file mode 100644
index 0000000..614de76
--- /dev/null
+++ b/xyz.cochrun.lumina.yml
@@ -0,0 +1,37 @@
+app-id: xyz.cochrun.lumina
+runtime: org.freedesktop.Platform
+runtime-version: '25.08'
+sdk: org.freedesktop.Sdk
+sdk-extensions:
+ - org.freedesktop.Sdk.Extension.rust-stable
+base: com.system76.Cosmic.BaseApp
+command: lumina -i
+finish-args:
+ - --share=ipc
+ - --socket=fallback-x11
+ - --socket=wayland
+ - --device=dri
+ - --share=network
+ - --filesystem=xdg-documents
+modules:
+ - name: lumina
+ buildsystem: simple
+ build-options:
+ append-path: /usr/lib/sdk/rust-stable/bin
+ env:
+ CARGO_HOME: /run/build/cosmic-utils-enroll/cargo
+ CARGO_NET_OFFLINE: 'true'
+ build-commands:
+ - cargo --offline fetch --manifest-path Cargo.toml
+ - cargo build --offline --release
+
+ - install -Dm0755 target/release/lumina /app/bin/lumina
+ - install -Dm0644 res/xyz.cochrun.lumina.desktop /app/share/applications/xyz.cochrun.lumina.desktop
+ - install -Dm0644 res/xyz.cochrun.lumina.metainfo.xml /app/share/appdata/xyz.cochrun.lumina.metainfo.xml
+ - install -Dm0644 res/icons/lumina.svg /app/share/icons/hicolor/scalable/apps/xyz.cochrun.lumina.svg
+
+ sources:
+ - type: git
+ url: https://git.tfcconnection.org/chris/lumina.git
+ commit: 53d1ad6163634658a274293d3a2ca7a69a4d9421
+ - cargo-sources.json