;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2017 José Miguel Sánchez García ;;; Copyright © 2018 Tobias Geerinckx-Rice ;;; Copyright © 2019 Alexandru-Sergiu Marton ;;; Copyright © 2019 Brett Gilio ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see . (define-module (gnu packages compton) #:use-module ((guix licenses) #:prefix license:) #:use-module (guix packages) #:use-module (guix git-download) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (gnu packages datastructures) #:use-module (gnu packages docbook) #:use-module (gnu packages documentation) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages libevent) #:use-module (gnu packages pcre) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) #:use-module (gnu packages textutils) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xml) #:use-module (gnu packages xorg)) (define-public compton (let ((upstream-version "0.1_beta2")) (package (name "compton") (version (string-filter (char-set-complement (char-set #\_)) upstream-version)) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/chjj/compton") (commit (string-append "v" upstream-version)))) (sha256 (base32 "0v65viilhnd2xgvmdpzc1srxszcg8kj1vhi5gy9292j48w0s2fx1")) (file-name (git-file-name name version)))) (build-system gnu-build-system) (inputs (list dbus libconfig libx11 libxcomposite libxdamage libxext libxfixes libxinerama libxrandr 2023-04-21tests: Fix checks for expected failures....Addresses <https://issues.guix.gnu.org/62406>. With 'set -e', a return status inverted with '!' does not cause the shell to exit immediately. Instead use '&& false' to indicate an expected failure. * tests/guix-archive.sh, tests/guix-build-branch.sh, tests/guix-build.sh, tests/guix-daemon.sh, tests/guix-download.sh, tests/guix-environment-container.sh, tests/guix-environment.sh, tests/guix-gc.sh, tests/guix-git-authenticate.sh, tests/guix-graph.sh, tests/guix-hash.sh, tests/guix-home.sh, tests/guix-pack-relocatable.sh, tests/guix-pack.sh, tests/guix-package-aliases.sh, tests/guix-package-net.sh, tests/guix-package.sh, tests/guix-refresh.sh, tests/guix-shell.sh, tests/guix-style.sh, tests/guix-system.sh: Replace uses of '! ...' with '... && false' or `test ! ...` as appropriate. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Eric Bavier code, the only option that remains is clientside shadows. @item Configuration files (see the man page for more details). @item Colored shadows (@command{--shadow-[red/green/blue]}). @item A new fade system. @item VSync support (not always working). @item Blur of background of transparent windows, window color inversion (bad in performance). @item Some more options... @end itemize\n") (license license:expat)))) (define-public picom (package (name "picom") (version "8.2") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/yshui/picom") (commit (string-append "v" version)))) (sha256 (base32 "0gjksayz2xpmgglvw17ppsan2imrd1fijs579kbf27xwp503xgfl")) (file-name (string-append "picom-" version)))) (build-system meson-build-system) (inputs (list dbus libconfig libx11 libxext libev mesa xprop xcb-util-renderutil xcb-util-image pixman uthash libxdg-basedir pcre)) (native-inputs (list asciidoc pkg-config xorgproto)) (arguments `(#:build-type "release" #:configure-flags '("-Dwith_docs=true"))) (home-page "https://github.com/yshui/picom") (synopsis "Compositor for X11, forked from Compton") (description "Picom is a standalone compositor for Xorg, suitable for use with window managers that do not provide compositing. Picom is a fork of compton, which is a fork of xcompmgr-dana, which in turn is a fork of xcompmgr.") (license (list license:expat ; The original compton license. license:mpl2.0)))) ; License used by new picom files.