aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/compton.scm
blob: dec9a94eba63171a5755a26c4c461307bc2f6bd6 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2017 José Miguel Sánchez García <jmi2k@openmailbox.org>
;;;
;;; 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 <http://www.gnu.org/licenses/>.

(define-module (gnu packages compton)
  #:use-module ((guix licenses) #:prefix license:)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages docbook)
  #:use-module (gnu packages documentation)
  #:use-module (gnu packages gl)
  #:use-module (gnu packages glib)
  #: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 url-fetch)
                (uri (string-append
                      "https://github.com/chjj/" name "/archive/v"
                      upstream-version ".tar.gz"))
                (sha256
                 (base32
                  "02dhlqqcwnmlf2dxg7rd4lapgqahgndzixdkbpxicq9jawmdb73v"))
                (file-name (string-append name "-" version "-checkout"))))
      (build-system gnu-build-system)
      (inputs
       `(("dbus" ,dbus)
         ("libconfig" ,libconfig)
         ("libx11" ,libx11)
         ("libxcomposite" ,libxcomposite)
         ("libxdamage" ,libxdamage)
         ("libxext" ,libxext)
         ("libxfixes" ,libxfixes)
         ("libxinerama" ,libxinerama)
         ("libxrandr" ,libxrandr)
         ("libxrender" ,libxrender)
         ("mesa" ,mesa)
         ("xprop" ,xprop)
         ("xwininfo" ,xwininfo)))
      (native-inputs
       `(("asciidoc" ,asciidoc)
         ("libdrm" ,libdrm)
         ("pkg-config" ,pkg-config)
         ("python" ,python)
         ("xorgproto" ,xorgproto)))
      (arguments
       `(#:make-flags (list
                       "CC=gcc"
                       "NO_REGEX_PCRE=1"          ; pcre makes build fail
                       (string-append "PREFIX=" (assoc-ref %outputs "out")))
         #:tests? #f                              ; no tests
         #:phases
         (modify-phases %standard-phases
           (delete 'configure))))
      (home-page "https://github.com/chjj/compton")
      (synopsis "Compositor for X11")
      (description
       "Compton is a compositor for the Xorg display server and a for of
xcompmgr-dana, which implements some changes like:

@itemize
@item OpenGL backend (@command{--backend glx}), in addition to the old X Render
backend.
@item Inactive window transparency (@command{-i}) and dimming
(@command{--inactive-dim}).
@item Menu transparency (@command{-m}, thanks to Dana).
@item Shadows are now enabled for argb windows, e.g terminals with transparency
@item Removed serverside shadows (and simple compositing) to clean the 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))))
....* gnu/packages/haskell-web.scm (ghc-http-client-tls): Update to 0.3.5.3. Timothy Sample 2018-10-01gnu: ghc-xss-sanitize: Update to 0.3.6....* gnu/packages/haskell-web.scm (ghc-xss-sanitize): Update to 0.3.6. Timothy Sample 2018-10-01gnu: Add ghc-tls-session-manager....* gnu/packages/haskell-web.scm (ghc-tls-session-manager): New variable. Timothy Sample 2018-10-01gnu: ghc-aeson-pretty: Update to 0.8.7....* gnu/packages/haskell-web.scm (ghc-aeson-pretty): Update to 0.8.7. Timothy Sample 2018-10-01gnu: ghc-http-date: Update to 0.0.8....* gnu/packages/haskell-web.scm (ghc-http-date): Update to 0.0.8. Timothy Sample 2018-10-01gnu: ghc-aeson: Update to 1.3.1.1....* gnu/packages/haskell-web.scm (ghc-aeson): Update to 1.3.1.1. Timothy Sample 2018-10-01gnu: ghc-blaze-html: Update to 0.9.1.1....* gnu/packages/haskell-web.scm (ghc-blaze-html): Update to 0.9.1.1. [arguments]: Remove unneeded "--allow-newer" configure flags. Timothy Sample 2018-10-01gnu: ghc-cookie: Update to 0.4.4....* gnu/packages/haskell-web.scm (ghc-cookie): Update to 0.4.4. Timothy Sample 2018-10-01gnu: ghc-multipart: Update to 0.1.3....* gnu/packages/haskell-web.scm (ghc-multipart): Update to 0.1.3. [inputs]: Add ghc-stringsearch. Timothy Sample 2018-10-01gnu: ghc-mime-types: Update to 0.1.0.8....* gnu/packages/haskell-web.scm (ghc-mime-types): Update to 0.1.0.8. Timothy Sample 2018-10-01gnu: Add ghc-bsb-http-chunked....* gnu/packages/haskell-web.scm (ghc-bsb-http-chunked): New variable. Timothy Sample 2018-10-01gnu: ghc-xhtml: Update to 3000.2.2.1....* gnu/packages/haskell-web.scm (ghc-xhtml): Update to 3000.2.2.1. Timothy Sample 2018-10-01gnu: ghc-mtl: Remove built-in Haskell package....* gnu/packages/agda.scm (agda)[inputs]: Remove ghc-mtl. * gnu/packages/games.scm (raincat)[inputs]: Remove ghc-mtl. * gnu/packages/haskell-check.scm (ghc-tasty-ant-xml, ghc-tasty-golden, ghc-tasty, ghc-tasty-kat, ghc-tasty-rerun, ghc-crypto-cipher-tests)[inputs]: Remove ghc-mtl. * gnu/packages/haskell-crypto.scm (ghc-asn1-encoding, ghc-pem, ghc-x509, ghc-x509-store, ghc-x509-validation, ghc-x509-system)[inputs]: Remove ghc-mtl. * gnu/packages/haskell-web.scm (ghc-http, ghc-http-conduit, ghc-yesod-core)[inputs]: Remove ghc-mtl. * gnu/packages/haskell.scm (ghc-convertible, ghc-libxml, ghc-cgi, ghc-happy, ghc-haskell-src-exts, ghc-resourcet, cabal-install, ghc-indents, ghc-regex-base, ghc-regex-tdfa-rc, ghc-trifecta, ghc-zip-archive, ghc-logict, ghc-exceptions, ghc-smallcheck, ghc-syb, ghc-fgl, ghc-chasingbottoms, ghc-parsec, ghc-megaparsec, ghc-edisonapi, ghc-edisoncore, ghc-mmorph, ghc-ifelse, ghc-kan-extensions, ghc-lens, ghc-cheapskate, ghc-free, ghc-adjunctions, ghc-equivalence, ghc-texmath, ghc-texmath-for-pandoc-1, ghc-highlighting-kate, ghc-th-reify-many, ghc-th-orphans, ghc-geniplate-mirror, ghc-conduit, ghc-filemanip, ghc-juicypixels, ghc-hslua, ghc-hourglass, ghc-skylighting, ghc-skylighting-for-pandoc-1, ghc-pandoc, ghc-pandoc-1, ghc-pandoc-citeproc, ghc-regex-tdfa, ghc-stmonadtrans, ghc-constraints, ghc-lifted-async, ghc-shelly, ghc-hslogger, ghc-json, shellcheck, ghc-vector-algorithms, ghc-monad-par-extras, ghc-monad-par, ghc-monadrandom, ghc-either, ghc-rebase, ghc-aws, ghc-monad-logger, ghc-persistent, ghc-bytes, ghc-missingh, ghc-operational, ghc-chart)[inputs]: Remove ghc-mtl. (ghc-conduit-combinators)[native-inputs]: Remove ghc-mtl. (ghc-mtl): Remove variable. * gnu/packages/idris.scm (idris)[inputs]: Remove ghc-mtl. * gnu/packages/tls.scm (ghc-tls)[inputs]: Remove ghc-mtl. * gnu/packages/version-control.scm (darcs, git-annex)[inputs]: Remove ghc-mtl. * gnu/packages/wm.scm (xmonad, ghc-xmonad-contrib)[inputs]: Remove ghc-mtl. * gnu/packages/xml.scm (ghc-hxt)[inputs]: Remove ghc-mtl. Timothy Sample 2018-08-16gnu: ghc-http: Update to 4000.3.12....* gnu/packages/haskell-web.scm (ghc-http): Update to 4000.3.12. [native-inputs]: Add ghc-httpd-shed, ghc-test-framework, and ghc-test-framework-hunit. [inputs]: Add ghc-case-insensitive, ghc-conduit, ghc-conduit-extra, ghc-http-types, ghc-puremd5, and ghc-split. Ricardo Wurmus 2018-08-16gnu: ghc-blaze-html: Allow build with newer HUnit....* gnu/packages/haskell-web.scm (ghc-blaze-html)[arguments]: Allow newer HUnit. Ricardo Wurmus 2018-08-16gnu: ghc-http-conduit: Update to 2.3.2....* gnu/packages/haskell-web.scm (ghc-http-conduit): Update to 2.3.2. [inputs]: Add ghc-unliftio. Ricardo Wurmus 2018-08-16gnu: ghc-http-client: Update to 0.5.13.1....* gnu/packages/haskell-web.scm (ghc-http-client): Update to 0.5.13.1. [inputs]: Sort; add ghc-memory. Ricardo Wurmus 2018-08-16gnu: ghc-http-types: Update to 0.12.1....* gnu/packages/haskell-web.scm (ghc-http-types): Update to 0.12.1. Ricardo Wurmus 2018-08-16gnu: Add ghc-httpd-shed....* gnu/packages/haskell-web.scm (ghc-httpd-shed): New variable. Ricardo Wurmus 2018-08-16gnu: ghc-tagsoup: Update to 0.14.6....* gnu/packages/haskell-web.scm (ghc-tagsoup): Update to 0.14.6. Ricardo Wurmus