Hello,

Today I realized I have fonts/terminus-font installed, thing I don't
remember I did. When I tried to pkg_delete it, it turns out it's a
dependency for x11/dmenu, which I do use. fonts/terminus-font gets
pulled in by x11/dmenu because of a customization patch for
look-and-feel.

As I like keeping my package list quite minimal, and I don't think
it's good idea to introduce a patch that requires ourselves to pull an
additional dependency, here's a diff for removing the config.def.h
patch and fonts/terminus-font from RUN_DEPENDS.

Let me know if I overlooked something or if there is a good reason to
keep fonts/terminus-font as a dep.

CC'd maintainer.

-Lucas

Index: Makefile
===================================================================
RCS file: /home/cvs/ports/x11/dmenu/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- Makefile    12 Jul 2019 20:51:09 -0000      1.25
+++ Makefile    31 May 2020 03:18:43 -0000
@@ -4,6 +4,7 @@ COMMENT=                dynamic menu for X11
 
 V=                     4.9
 DISTNAME=              dmenu-${V}
+REVISION=              0
 
 CATEGORIES=            x11
 
@@ -18,8 +19,6 @@ PERMIT_PACKAGE=       Yes
 WANTLIB=               X11 Xft Xinerama c fontconfig
 
 MASTER_SITES=          https://dl.suckless.org/tools/
-
-RUN_DEPENDS=           fonts/terminus-font
 
 MAKE_ENV=              LDFLAGS="${LDFLAGS}" \
                        X11INC=${X11BASE}/include \
Index: patches/patch-config_def_h
===================================================================
RCS file: patches/patch-config_def_h
diff -N patches/patch-config_def_h
--- patches/patch-config_def_h  10 May 2017 22:06:33 -0000      1.2
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,20 +0,0 @@
-$OpenBSD: patch-config_def_h,v 1.2 2017/05/10 22:06:33 jung Exp $
---- config.def.h.orig  Mon May  8 19:27:54 2017
-+++ config.def.h       Mon May  8 19:27:30 2017
-@@ -4,13 +4,13 @@
- static int topbar = 1;                      /* -b  option; if 0, dmenu 
appears at bottom     */
- /* -fn option overrides fonts[0]; default X11 font or font set */
- static const char *fonts[] = {
--      "monospace:size=10"
-+      "terminus:size=8"
- };
- static const char *prompt      = NULL;      /* -p  option; prompt to the left 
of input field */
- static const char *colors[SchemeLast][2] = {
-       /*     fg         bg       */
--      [SchemeNorm] = { "#bbbbbb", "#222222" },
--      [SchemeSel] = { "#eeeeee", "#005577" },
-+      [SchemeNorm] = { "#c0c0c0", "#202020" },
-+      [SchemeSel] = { "#f0f0f0", "#404040" },
-       [SchemeOut] = { "#000000", "#00ffff" },
- };
- /* -l option; if nonzero, dmenu uses vertical list with given number of lines 
*/

Reply via email to