mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: awesome: Fix compatibility with glib@2.86.
References: https://github.com/awesomeWM/awesome/pull/4022 * gnu/packages/wm.scm (awesome)[source]<snippet>: Add patch for compatibility with glib@2.86. Merges guix/guix!7239 Change-Id: I5d0c9081c450f071b85105a30f6b72b9aea4bb24 Signed-off-by: Cayetano Santos <csantosb@inventati.org>
This commit is contained in:
committed by
Cayetano Santos
parent
02f9da7cd6
commit
46af8f33ac
@@ -2005,6 +2005,18 @@ for wlroots-based Wayland compositors.")
|
||||
#~(begin
|
||||
(use-modules (guix build utils)
|
||||
(srfi srfi-19))
|
||||
;; TODO: Drop the following substitution in the next release.
|
||||
;; Fix compatibility with GLib 2.86:
|
||||
;; https://github.com/awesomeWM/awesome/pull/4022
|
||||
(substitute* '("lib/awful/spawn.lua"
|
||||
"tests/_client.lua"
|
||||
"tests/test-spawn.lua")
|
||||
(("local Gio = lgi.Gio" all)
|
||||
(string-append all "\nlocal GioUnix = lgi.GioUnix"))
|
||||
(("Gio\\.UnixInputStream")
|
||||
"GioUnix.InputStream")
|
||||
(("Gio\\.UnixOutputStream")
|
||||
"GioUnix.OutputStream"))
|
||||
;; Remove non-reproducible timestamp and use the date of
|
||||
;; the source file instead.
|
||||
(substitute* "common/version.c"
|
||||
|
||||
Reference in New Issue
Block a user