From daf57ef22c7c75e857c18898e1c50a474b3e754d Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 25 Feb 2026 23:20:05 -0500 Subject: [PATCH] Removed the autogenerated autostart desktop file. Moved the desktop file to contrib so it's still available if people want it. --- clean-local.sh | 8 -------- .../cthulhu-autostart.desktop | 0 meson.build | 10 ---------- po/POTFILES.in | 1 - 4 files changed, 19 deletions(-) rename cthulhu-autostart.desktop => contrib/cthulhu-autostart.desktop (100%) diff --git a/clean-local.sh b/clean-local.sh index 4af8ca7..90fdd3a 100755 --- a/clean-local.sh +++ b/clean-local.sh @@ -8,13 +8,11 @@ set -e # Exit on error # Colors for output (only if stdout is a terminal) if [[ -t 1 ]]; then - RED='\033[0;31m' GREEN='\033[0;32m' YELLOW='\033[1;33m' BLUE='\033[0;34m' NC='\033[0m' # No Color else - RED='' GREEN='' YELLOW='' BLUE='' @@ -56,12 +54,6 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then # Remove data files - # Remove desktop files - if [[ -f "$HOME/.local/share/applications/cthulhu-autostart.desktop" ]]; then - rm -f "$HOME/.local/share/applications/cthulhu-autostart.desktop" - echo " Removed: ~/.local/share/applications/cthulhu-autostart.desktop" - fi - # Remove icons for size in 16x16 22x22 24x24 32x32 48x48 256x256 scalable symbolic; do icon_path="$HOME/.local/share/icons/hicolor/$size/apps" diff --git a/cthulhu-autostart.desktop b/contrib/cthulhu-autostart.desktop similarity index 100% rename from cthulhu-autostart.desktop rename to contrib/cthulhu-autostart.desktop diff --git a/meson.build b/meson.build index ae3763d..59f83bb 100644 --- a/meson.build +++ b/meson.build @@ -93,16 +93,6 @@ else summary += {'sound support': 'no (missing gstreamer)'} endif -# Integration with session startup -i18n.merge_file( - input: 'cthulhu-autostart.desktop.in', - output: '@BASENAME@', - type: 'desktop', - po_dir: meson.project_source_root() / 'po', - install: true, - install_dir: get_option('sysconfdir') / 'xdg' / 'autostart', -) - # Update icon cache manually (desktop-neutral) - optional, ignore failures gtk_update_icon_cache = find_program('gtk4-update-icon-cache', required: false) if gtk_update_icon_cache.found() diff --git a/po/POTFILES.in b/po/POTFILES.in index 02c94bc..9ba28c5 100644 --- a/po/POTFILES.in +++ b/po/POTFILES.in @@ -1,6 +1,5 @@ # List of source files containing translatable strings. # Please keep this file sorted alphabetically. -cthulhu-autostart.desktop.in src/cthulhu/braille_rolenames.py src/cthulhu/brltablenames.py src/cthulhu/chnames.py