packaging: Add dms-open.desktop and danklogo.svg to all distribution packages
Summary
Adds the dms-open.desktop file and danklogo.svg icon to all distribution packages as requested in #860.
Changes
Desktop File Installation
- Installs
dms-open.desktopto/usr/share/applications/dms-open.desktop - Allows system to recognize DMS as a handler for URLs and files
Icon Installation
- Installs
danklogo.svgto/usr/share/icons/hicolor/scalable/apps/danklogo.svg - Provides icon referenced by the desktop file
Updated Packaging
- ❌ Fedora: Updated
dms.specwith install commands and file manifest - ❌ OpenSUSE: Updated
dms.specanddms-git.spec - ❌ Debian: Updated
dms/debian/rulesanddms-git/debian/rules - ❌ Ubuntu: Updated
dms/debian/rulesanddms-git/debian/rules - ✅ Nix: Updated
flake.nixto include desktop file and icon indankMaterialShellpackage
❌ - reverted in favor of 1d91d8f
AUR Note
The AUR PKGBUILD is not in this repository and will need to be updated separately in the AUR.
Testing
All changes follow standard packaging conventions:
- Files are installed using
install -Dm644with proper permissions (or Nix equivalent) - Desktop file goes to standard XDG applications directory
- Icon follows freedesktop icon theme hierarchy
Documentation Note
The external documentation at danklinux.com may need to be updated to reflect these packaging changes. The installation instructions should mention that users can now set DMS as their default browser/file handler using xdg-settings or xdg-mime.
Fixes #860 Part of #815
Hi there, thanks for this. I did not realize it even existed before completing the task on my own via: 1d91d8fd94316839e3a9e9e1a4b3947f3356ab0f
For the time being, if you could remove the multi-distros, but retain adding the update to nixOS is still valid. Thanks for your time and contributions on this and the URL handling, super cool!
sure! no problem
dankMaterialShell package wasn't being included into the environment, so dms-open wasn't getting properly added to the profile's share/applications. Now it's good to go, tested here!