From 4342c84d8f2c2a946e28836821a6314ac120cadf Mon Sep 17 00:00:00 2001 From: Jorijn van der Graaf Date: Sun, 18 Oct 2026 02:37:57 +0200 Subject: [PATCH] packaging: the desktop entry and the icon net.catcrafts.ImsdMessages.desktop (Messages; Exec imsd-messages %u; the sms: URI scheme; X-KDE-FormFactor and X-Purism-FormFactor) and a scalable icon. Both carry the two SPDX lines: the desktop entry as `#` comments before its group, the icon after its XML declaration; AGENTS.md's rule says where the lines go in such files. --- AGENTS.md | 6 ++++-- packaging/icons/net.catcrafts.ImsdMessages.svg | 11 +++++++++++ packaging/net.catcrafts.ImsdMessages.desktop | 18 ++++++++++++++++++ 3 files changed, 33 insertions(+), 2 deletions(-) create mode 100644 packaging/icons/net.catcrafts.ImsdMessages.svg create mode 100644 packaging/net.catcrafts.ImsdMessages.desktop diff --git a/AGENTS.md b/AGENTS.md index bafcece..16420de 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -34,7 +34,7 @@ and §7.9 (Messaging) and §8.1 (the frozen one). | `tests//main.cpp` | One test per directory, declared in `project.cpp`. | | `utilities/` | `fake-imsd.py`: imsd's Messaging interface on the session bus, for benches. | | `assets/` | The bundled font (Noto Sans, OFL 1.1). | -| `packaging/` | `build-libevdev.sh`: libevdev into a prefix. | +| `packaging/` | `build-libevdev.sh` (libevdev into a prefix, for the Crafter.Graphics build), the desktop entry and the icon. | ## 3. Building and testing @@ -55,4 +55,6 @@ the bus library where they need GLib) and never need a bus, a phone or a GPU. configured identity. - `format`, `lint` and `test` green before a push; every push goes through the fp6 project's `/prepush` gates. -- Every source file starts with the two SPDX lines and a blank line. +- Every source file starts with the two SPDX lines and a blank line — after + a shebang or an XML declaration where the file has one, as `#` comments in + a desktop entry. diff --git a/packaging/icons/net.catcrafts.ImsdMessages.svg b/packaging/icons/net.catcrafts.ImsdMessages.svg new file mode 100644 index 0000000..b996b01 --- /dev/null +++ b/packaging/icons/net.catcrafts.ImsdMessages.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/packaging/net.catcrafts.ImsdMessages.desktop b/packaging/net.catcrafts.ImsdMessages.desktop new file mode 100644 index 0000000..1010f32 --- /dev/null +++ b/packaging/net.catcrafts.ImsdMessages.desktop @@ -0,0 +1,18 @@ +# SPDX-License-Identifier: GPL-3.0-only +# SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts® + +[Desktop Entry] +Type=Application +Name=Messages +GenericName=Text messages +Comment=Send and receive text messages over imsd +Exec=imsd-messages %u +Icon=net.catcrafts.ImsdMessages +Terminal=false +Categories=Network;Chat; +Keywords=SMS;text;message;imsd; +MimeType=x-scheme-handler/sms; +StartupNotify=false +SingleMainWindow=true +X-KDE-FormFactor=handset;tablet;desktop; +X-Purism-FormFactor=Workstation;Mobile;