guix-commits
[Top][All Lists]
Advanced

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

09/18: gnu: lxrandr: Build with GTK 3.


From: guix-commits
Subject: 09/18: gnu: lxrandr: Build with GTK 3.
Date: Wed, 17 Aug 2022 22:57:55 -0400 (EDT)

apteryx pushed a commit to branch master
in repository guix.

commit e8ab1ba7c2d842c53d42f94d0ab5c2550d7e0e9d
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Aug 17 22:17:55 2022 -0400

    gnu: lxrandr: Build with GTK 3.
    
    * gnu/packages/lxde.scm (lxrandr)[configure-flags]: New argument.
    [inputs]: Remove labels.  Replace gtk+-2 with gtk+.
---
 gnu/packages/lxde.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/lxde.scm b/gnu/packages/lxde.scm
index 9fcd6e1414..e840f1c969 100644
--- a/gnu/packages/lxde.scm
+++ b/gnu/packages/lxde.scm
@@ -139,7 +139,8 @@ able to change themes, icons, and fonts used by GTK+ 
applications.")
                 "04n3vgh3ix12p8jfs4w0dyfq3anbjy33h7g53wbbqqc0f74xyplb"))))
     (build-system gnu-build-system)
     (arguments
-     `(#:phases
+     `(#:configure-flags (list "--enable-gtk3")
+       #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'xrandr-absolutely
            ;; lxrandr is useless without xrandr and gives an unhelpful error
@@ -147,9 +148,8 @@ able to change themes, icons, and fonts used by GTK+ 
applications.")
            (lambda* (#:key input #:allow-other-keys)
              (substitute* "src/lxrandr.c"
                (("(\"|')xrandr\"" _ match)
-                (string-append match (which "xrandr") "\"")))
-             #t)))))
-    (inputs (list gtk+-2 xrandr))
+                (string-append match (which "xrandr") "\""))))))))
+    (inputs (list gtk+ xrandr))
     (native-inputs (list intltool pkg-config))
     (synopsis "LXDE monitor configuration tool")
     (description "LXRandR is a very basic monitor configuration tool.  It



reply via email to

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