[wiki] [sites] [st][netwmicon] mention dependencies; give credit to xseticon || aleks

From: <git_AT_suckless.org>
Date: Tue, 31 May 2022 23:01:02 +0200

commit 279b080e0df2f75f4f46ab90f20ee9f5d4043ae2
Author: aleks <aleks.stier_AT_icloud.com>
Date: Tue May 31 23:00:39 2022 +0200

    [st][netwmicon] mention dependencies; give credit to xseticon

diff --git a/st.suckless.org/patches/netwmicon/index.md b/st.suckless.org/patches/netwmicon/index.md
index c7fba258..8695a5e8 100644
--- a/st.suckless.org/patches/netwmicon/index.md
+++ b/st.suckless.org/patches/netwmicon/index.md
_AT_@ -14,6 +14,11 @@ itself with the window-propery *\_NET\_WM\_ICON*. Since st doesn't define
 *\_NET\_WM\_ICON* this programs can't display the correct icon for st even if a
 desktop-entry exists. This patch solves this problem.
 
+Dependencies
+------------
+- gd
+- glib
+
 Defining an icon
 ----------------
 By default each time st starts it will search for a file with the name *st.png*
_AT_@ -41,6 +46,13 @@ Call to action
 Maybe somebody would like to create an icon with the st-logo so we could add it
 here as the official icon. If it already exists tell me.
 
+Credits
+-------
+The code for loading and transforming the image to an appropriate format is,
+except for minor modifications, from
+[xseticon](https://www.leonerd.org.uk/code/xseticon/) which is developed by Paul
+Evans.
+
 Download
 --------
 * [st-netwmicon-0.8.5.diff](st-netwmicon-0.8.5.diff)
diff --git a/st.suckless.org/patches/netwmicon/st-netwmicon-0.8.5.diff b/st.suckless.org/patches/netwmicon/st-netwmicon-0.8.5.diff
index 6c79f4c8..56fb9220 100644
--- a/st.suckless.org/patches/netwmicon/st-netwmicon-0.8.5.diff
+++ b/st.suckless.org/patches/netwmicon/st-netwmicon-0.8.5.diff
_AT_@ -12,6 +12,8 @@ application itself with the window-propery _NET_WM_ICON. Since st
 doesn't define _NET_WM_ICON this programs can't display the correct icon
 for st even if a desktop-entry exists. This patch solves this problem.
 
+The dependencies are gd and glib.
+
 By default each time st starts it will search for a file with the name st.png
 under /usr/local/share/pixmaps/. If you put an image with this name in the
 root-directory of the st-repository and call make install the image will be
_AT_@ -28,6 +30,11 @@ changing in confing.mk the line *ICONPREFIX = $(PREFIX)/share/pixmaps* to
 *ICONPREFIX = $(PREFIX)/share/icons/hicolor/256x256/apps/* and install the icon
 there.
 
+The code for loading and transforming the image to an appropriate format
+is, except for minor modifications, from xseticon
+(https://www.leonerd.org.uk/code/xseticon/) which is developed by Paul
+Evans.
+
 ---
  Makefile | 3 +++
  config.mk | 8 ++++++--
Received on Tue May 31 2022 - 23:01:02 CEST

This archive was generated by hypermail 2.3.0 : Tue May 31 2022 - 23:12:37 CEST