guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: gnome-shell-extension-paperwm: Recompile sch


From: guix-commits
Subject: branch master updated: gnu: gnome-shell-extension-paperwm: Recompile schemas.
Date: Fri, 21 Feb 2020 09:27:19 -0500

This is an automated email from the git hooks/post-receive script.

ajgrf pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 60d5ad8  gnu: gnome-shell-extension-paperwm: Recompile schemas.
60d5ad8 is described below

commit 60d5ad8087161451a009d742c8a2980bebda7e38
Author: Jack Hill <address@hidden>
AuthorDate: Fri Feb 21 08:20:58 2020 -0600

    gnu: gnome-shell-extension-paperwm: Recompile schemas.
    
    * gnu/packages/gnome-xyz.scm (gnome-shell-extension-paperwm)
    [source]: Remove gschemas.compiled in a snippet.
    [arguments]: Add compile-schemas phase.
    [native-inputs]: Add glib.
    
    Signed-off-by: Alex Griffin <address@hidden>
---
 gnu/packages/gnome-xyz.scm | 17 ++++++++++++++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index 06af41a..34c331d 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2019 Alexandros Theodotou <address@hidden>
 ;;; Copyright © 2019 Giacomo Leidi <address@hidden>
 ;;; Copyright © 2020 Alex Griffin <address@hidden>
+;;; Copyright © 2020 Jack Hill <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -318,13 +319,23 @@ It uses ES6 syntax and claims to be more actively 
maintained than others.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1qry75f696pgmd9yzqvwhq5h6cipin2fvk7h881g29cjcpxim37a"))))
+                "1qry75f696pgmd9yzqvwhq5h6cipin2fvk7h881g29cjcpxim37a"))
+              (snippet
+               '(begin (delete-file "schemas/gschemas.compiled")))))
     (build-system copy-build-system)
     (arguments
      '(#:install-plan
        '(("." "share/gnome-shell/extensions/paperwm@hedning:matrix.org"
-          #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$"
-                            "\\.xml$" "\\.compiled$")))))
+          #:include-regexp ("\\.js(on)?$" "\\.css$" "\\.ui$" "\\.png$" 
"\\.xml$")))
+       #:phases
+       (modify-phases %standard-phases
+         (add-before 'install 'compile-schemas
+           (lambda _
+             (with-directory-excursion "schemas"
+               (invoke "make"))
+             #t)))))
+    (native-inputs
+     `(("glib:bin" ,glib "bin"))) ; for glib-compile-schemas
     (home-page "https://github.com/paperwm/PaperWM";)
     (synopsis "Tiled scrollable window management for GNOME Shell")
     (description "PaperWM is an experimental GNOME Shell extension providing



reply via email to

[Prev in Thread] Current Thread [Next in Thread]