DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

packaging: Add dms-open.desktop and danklogo.svg to all distribution packages

Open devnullvoid opened this issue 4 weeks ago • 2 comments

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.desktop to /usr/share/applications/dms-open.desktop
  • Allows system to recognize DMS as a handler for URLs and files

Icon Installation

  • Installs danklogo.svg to /usr/share/icons/hicolor/scalable/apps/danklogo.svg
  • Provides icon referenced by the desktop file

Updated Packaging

  • Fedora: Updated dms.spec with install commands and file manifest
  • OpenSUSE: Updated dms.spec and dms-git.spec
  • Debian: Updated dms/debian/rules and dms-git/debian/rules
  • Ubuntu: Updated dms/debian/rules and dms-git/debian/rules
  • Nix: Updated flake.nix to include desktop file and icon in dankMaterialShell package

❌ - 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 -Dm644 with 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

devnullvoid avatar Dec 01 '25 13:12 devnullvoid

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!

Purian23 avatar Dec 01 '25 23:12 Purian23

sure! no problem

devnullvoid avatar Dec 02 '25 01:12 devnullvoid

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!

LuckShiba avatar Dec 03 '25 01:12 LuckShiba