me
/
guix
Archived
1
0
Fork 0

gnu: picom: Update to 10.2.

* gnu/packages/compton.scm (picom): Update to 10.2.
[arguments]: Use a plain list and adjust accordingly.
[phases]{patch-autostart-files}: New phase.
master
John Kehayias 2023-01-13 13:44:34 -05:00
parent fc8c3fabcd
commit 0f85081ed1
No known key found for this signature in database
GPG Key ID: 499097AE5EA815D9
1 changed files with 18 additions and 4 deletions

View File

@ -4,6 +4,7 @@
;;; Copyright © 2019 Alexandru-Sergiu Marton <brown121407@member.fsf.org> ;;; Copyright © 2019 Alexandru-Sergiu Marton <brown121407@member.fsf.org>
;;; Copyright © 2019 Brett Gilio <brettg@gnu.org> ;;; Copyright © 2019 Brett Gilio <brettg@gnu.org>
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com> ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -23,6 +24,7 @@
(define-module (gnu packages compton) (define-module (gnu packages compton)
#:use-module ((guix licenses) #:prefix license:) #:use-module ((guix licenses) #:prefix license:)
#:use-module (guix packages) #:use-module (guix packages)
#:use-module (guix gexp)
#:use-module (guix git-download) #:use-module (guix git-download)
#:use-module (guix build-system gnu) #:use-module (guix build-system gnu)
#:use-module (guix build-system meson) #:use-module (guix build-system meson)
@ -111,7 +113,7 @@ performance).
(define-public picom (define-public picom
(package (package
(name "picom") (name "picom")
(version "9.1") (version "10.2")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -120,7 +122,7 @@ performance).
(commit (string-append "v" version)))) (commit (string-append "v" version))))
(sha256 (sha256
(base32 (base32
"0q7j6kh9k7i201cwhnfc3bmp0hqrx7ngk3v4qsp8k0qfy1n3ma8n")) "1vd4nhvfykwdhpyhb0jmcj333zxhm6dyikafd76fa4z4fhjrrs0b"))
(file-name (string-append "picom-" version)))) (file-name (string-append "picom-" version))))
(build-system meson-build-system) (build-system meson-build-system)
(inputs (inputs
@ -140,8 +142,20 @@ performance).
(native-inputs (native-inputs
(list asciidoc pkg-config xorgproto)) (list asciidoc pkg-config xorgproto))
(arguments (arguments
`(#:build-type "release" (list #:build-type "release"
#:configure-flags '("-Dwith_docs=true"))) #:configure-flags #~'("-Dwith_docs=true")
#:phases
#~(modify-phases %standard-phases
;; This file would be patched by 'patch-dot-desktop-files but
;; only in share/applications and not etc/xdg/autostart, so
;; manually patch it before it is installed in either location.
;; The 'patch-dot-desktop-files phase is still needed for other
;; .desktop files.
(add-after 'unpack 'patch-autostart-files
(lambda _
(substitute* "picom.desktop"
(("Exec=")
(string-append "Exec=" #$output "/bin/"))))))))
(home-page "https://github.com/yshui/picom") (home-page "https://github.com/yshui/picom")
(synopsis "Compositor for X11, forked from Compton") (synopsis "Compositor for X11, forked from Compton")
(description (description