;; SPDX-FileCopyrightText: 2022 Hilton Chain ;; ;; SPDX-License-Identifier: GPL-3.0-or-later (define-module (rosenthal packages xdisorg) #:use-module (guix download) #:use-module (guix gexp) #:use-module (guix packages) #:use-module (gnu packages xdisorg)) (define-public libxkbcommon-1.5.0 (package (inherit libxkbcommon) (name "libxkbcommon") (version "1.5.0") (source (origin (method url-fetch) (uri (string-append "https://xkbcommon.org/download/libxkbcommon-" version ".tar.xz")) (sha256 (base32 "05z08rpa464x8myjxddhix7jp9jcmakd7xrybx4hz8dwpg2123sn")))))) (define-public libxkbcommon-minimal (let ((base libxkbcommon-1.5.0)) (package (inherit base) (name "libxkbcommon-minimal") (arguments (list #:configure-flags #~(list "-Denable-x11=false" "-Denable-wayland=false" (string-append "-Dxkb-config-root=" (search-input-directory %build-inputs "/share/X11/xkb"))))) (inputs (modify-inputs (package-inputs base) (delete "libx11" "libxcb" "wayland" "wayland-protocols")))))) (define-public pixman-0.42.2 (package (inherit pixman) (name "pixman") (version "0.42.2") (source (origin (method url-fetch) (uri (string-append "https://www.cairographics.org/releases/" "pixman-" version ".tar.gz")) (sha256 (base32 "0pk298iqxqr64vk3z6nhjwr6vjg1971zfrjkqy5r9zd2mppq057a"))))))