From: Jakub Czajka Date: Fri, 23 Dec 2022 19:57:37 +0000 (+0100) Subject: [common] Package libxft with the bgra patch. X-Git-Url: https://git.ekhem.eu.org/?a=commitdiff_plain;h=40bf78b2222bf9f24acf4c47eec2b9a9121585b1;p=guix.git [common] Package libxft with the bgra patch. Libxft has a bug which crashes the library when displaying colorful emojis. A patch is available online. This commit packages libxft with the patch applied. --- diff --git a/conf/common/suckless.scm b/conf/common/suckless.scm new file mode 100644 index 0000000..7c87dbb --- /dev/null +++ b/conf/common/suckless.scm @@ -0,0 +1,33 @@ +;; Copyright (c) 2022 Jakub Czajka +;; License: GPL-3.0 or later. +;; +;; suckless.scm - suckless software with the bgra patch for libxft. + +(define-module (conf common suckless) + #:use-module (gnu packages autotools) + #:use-module (gnu packages m4) + #:use-module (gnu packages xorg) + #:use-module (guix git-download) + #:use-module (guix packages) + #:export (libxft-bgra)) + +(define libxft-bgra + (package + (inherit libxft) + (name "libxft-bgra") + (version "2.3.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/uditkarode/libxft-bgra") + (commit "072cd202c0f4f757b32deac531586bc0429c8401"))) + (sha256 + (base32 + "1pnz43kqrd2s6q0kgxjdz0ax7a6rf7jm635whnlgq7h6q8hmv15r")))) + (inputs + (modify-inputs (package-inputs libxft) + (append autoconf + automake + libtool + m4)))))