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.
This commit is contained in:
Jorijn van der Graaf 2026-10-18 02:37:57 +02:00
commit 4342c84d8f
Signed by: jorijnvdgraaf
GPG key ID: 2937E59CDCC1BCFB
3 changed files with 33 additions and 2 deletions

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- SPDX-License-Identifier: GPL-3.0-only -->
<!-- SPDX-FileCopyrightText: Copyright (C) 2026 Catcrafts® -->
<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 128 128">
<rect x="8" y="8" width="112" height="112" rx="28" fill="#2f6fed"/>
<path d="M34 36h60a10 10 0 0 1 10 10v30a10 10 0 0 1-10 10H58l-18 14v-14h-6a10 10 0 0 1-10-10V46a10 10 0 0 1 10-10z" fill="#ffffff"/>
<circle cx="48" cy="61" r="5" fill="#2f6fed"/>
<circle cx="64" cy="61" r="5" fill="#2f6fed"/>
<circle cx="80" cy="61" r="5" fill="#2f6fed"/>
</svg>

After

Width:  |  Height:  |  Size: 598 B

View file

@ -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;