sites

public wiki contents of suckless.org
git clone git://git.suckless.org/sites
Log | Files | Refs

commit 16cb9b6e12bea7a5ebb2690aa60c5080332938fc
parent f64e2be6677df77ea7aa932b84aff957c22403f6
Author: aleks <aleks.stier@icloud.com>
Date:   Sat, 17 Aug 2019 13:41:48 +0200

[st][patch][desktopentry] Do not create symlink

Instead of creating a symlink, copy the st.desktop-file.

Diffstat:
Mst.suckless.org/patches/desktopentry/index.md | 7+------
Mst.suckless.org/patches/desktopentry/st-desktopentry-0.8.2.diff | 12+++---------
2 files changed, 4 insertions(+), 15 deletions(-)

diff --git a/st.suckless.org/patches/desktopentry/index.md b/st.suckless.org/patches/desktopentry/index.md @@ -3,12 +3,7 @@ desktopentry Description ----------- -Enable to find st in a graphical menu and to display it with a nice icon. - -After applying this patch you need to run `sudo make install` to -install the desktop-entry. The Makefile is modified such that a symlink -to */usr/share/applications/st.desktop* is created during install and -removed during uninstall. +Creates a desktop-entry for st. This enables to find st in a graphical menu and to display it with a nice icon. After applying this patch reinstall st. The st.desktop file should be copied automatically to */usr/share/applications* during install and removed during uninstall. Download -------- diff --git a/st.suckless.org/patches/desktopentry/st-desktopentry-0.8.2.diff b/st.suckless.org/patches/desktopentry/st-desktopentry-0.8.2.diff @@ -1,15 +1,9 @@ From d0ffefad4c80f45b689aba7dc64c6d155afcdc16 Mon Sep 17 00:00:00 2001 From: aleks <aleks.stier@icloud.com> Date: Sun, 11 Aug 2019 02:20:42 +0200 -Subject: [PATCH] Add a desktop-entry +Subject: [PATCH] Create a desktop-entry for st -Enable to find st in a graphical menu and to display it with a nice -icon. - -After applying this patch you need to run `sudo make install` to -install the desktop-entry. The Makefile is modified such that a symlink -to */usr/share/applications/st.desktop* is created during install and -removed during uninstall. +Creates a desktop-entry for st. This enables to find st in a graphical menu and to display it with a nice icon. After applying this patch reinstall st. The st.desktop file should be copied automatically to */usr/share/applications* during install and removed during uninstall. --- Makefile | 2 ++ st.desktop | 7 +++++++ @@ -24,7 +18,7 @@ index 470ac86..0a58d61 100644 chmod 644 $(DESTDIR)$(MANPREFIX)/man1/st.1 tic -sx st.info @echo Please see the README file regarding the terminfo entry of st. -+ sudo ln -frs st.desktop /usr/share/applications ++ sudo cp -f st.desktop /usr/share/applications uninstall: rm -f $(DESTDIR)$(PREFIX)/bin/st