From 7e45f916785bac24ea44f5ef35e9f6a78e4ff452 Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Mon, 30 Nov 2015 22:58:40 +0100 Subject: [PATCH 1/2] Add terminus-font as a runtime depency for st. As st configures its font during compile time, running it without the right font can be pretty unusable. If someone wants to run it with a different font they'll have to recompile it anyway. --- srcpkgs/st/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/st/template b/srcpkgs/st/template index dd48c4da54..2ebec16c85 100644 --- a/srcpkgs/st/template +++ b/srcpkgs/st/template @@ -5,7 +5,7 @@ revision=3 build_style=gnu-makefile hostmakedepends="pkg-config" makedepends="fontconfig-devel libX11-devel libXft-devel terminus-font" -depends="ncurses" +depends="ncurses terminus-font" short_desc="Simple terminal implementation for X" maintainer='Juan RP ' license="MIT" From 53e29b9d186a81e58e2ee5335254c1afb30b1f1e Mon Sep 17 00:00:00 2001 From: Roger Braun Date: Mon, 30 Nov 2015 23:44:50 +0100 Subject: [PATCH 2/2] Use default Monospace font for st. --- srcpkgs/st/template | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/srcpkgs/st/template b/srcpkgs/st/template index 2ebec16c85..55f1a87a2b 100644 --- a/srcpkgs/st/template +++ b/srcpkgs/st/template @@ -1,11 +1,11 @@ # Template file for 'st' pkgname=st version=0.6 -revision=3 +revision=4 build_style=gnu-makefile hostmakedepends="pkg-config" -makedepends="fontconfig-devel libX11-devel libXft-devel terminus-font" -depends="ncurses terminus-font" +makedepends="fontconfig-devel libX11-devel libXft-devel" +depends="ncurses" short_desc="Simple terminal implementation for X" maintainer='Juan RP ' license="MIT" @@ -14,7 +14,7 @@ distfiles="http://dl.suckless.org/${pkgname}/${pkgname}-${version}.tar.gz" checksum="85310c08c3814e099b5e45888f8ac7548640e69e9973e934d4fba38b03737a2b" pre_build() { - sed -i 's|Liberation Mono|Terminus|g' config.def.h + sed -i 's|Liberation Mono|Monospace|g' config.def.h sed -i 's|^CFLAGS +=|override CFLAGS +=|g' config.mk sed -i 's|^LDFLAGS +=|override LDFLAGS +=|g' config.mk # We will use tic after install. See INSTALL.