[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/17: gnu: rxvt-unicode: Use new package style.
From: |
guix-commits |
Subject: |
12/17: gnu: rxvt-unicode: Use new package style. |
Date: |
Tue, 11 Jul 2023 11:01:33 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit f969f45fa8ad8922b1020c93a8fc4d83064c88ae
Author: Timotej Lazar <timotej.lazar@araneo.si>
AuthorDate: Sat Jun 24 13:28:04 2023 +0200
gnu: rxvt-unicode: Use new package style.
* gnu/packages/xdisorg.scm (rxvt-unicode)[arguments]: Use gexps.
[inputs]: Drop input labels.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/xdisorg.scm | 78 ++++++++++++++++++++++--------------------------
1 file changed, 35 insertions(+), 43 deletions(-)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index 5d3a2961d0..4d072d1e16 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -1285,52 +1285,44 @@ compact configuration syntax.")
;; This sets the destination when installing the necessary terminal
;; capability data, which are not provided by 'ncurses'. See
;; https://lists.gnu.org/archive/html/bug-ncurses/2009-10/msg00031.html
- `(#:configure-flags (list "--enable-256-color")
- #:make-flags (list (string-append "TERMINFO="
- (assoc-ref %outputs "out")
- "/share/terminfo"))
- #:phases
- (modify-phases %standard-phases
- (add-after 'install 'install-desktop-urxvt
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((output (assoc-ref outputs "out"))
- (desktop (string-append output "/share/applications")))
- (mkdir-p desktop)
- (with-output-to-file
- (string-append desktop "/urxvt.desktop")
+ (list #:configure-flags #~(list "--enable-256-color")
+ #:make-flags #~(list (string-append "TERMINFO=" #$output
"/share/terminfo"))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'install-desktop-urxvt
(lambda _
- (format #t
- "[Desktop Entry]~@
- Name=rxvt-unicode~@
- Comment=~@
- Exec=~a/bin/urxvt~@
- TryExec=~@*~a/bin/urxvt~@
- Icon=~@
- Type=Application~%"
- output))))))
- (add-after 'install 'install-desktop-urxvtc
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((output (assoc-ref outputs "out"))
- (desktop (string-append output "/share/applications")))
- (mkdir-p desktop)
- (with-output-to-file
- (string-append desktop "/urxvtc.desktop")
+ (let ((desktop (string-append #$output
"/share/applications")))
+ (mkdir-p desktop)
+ (with-output-to-file
+ (string-append desktop "/urxvt.desktop")
+ (lambda _
+ (format #t
+ "[Desktop Entry]~@
+ Name=rxvt-unicode~@
+ Comment=~@
+ Exec=~a/bin/urxvt~@
+ TryExec=~@*~a/bin/urxvt~@
+ Icon=~@
+ Type=Application~%"
+ #$output))))))
+ (add-after 'install 'install-desktop-urxvtc
(lambda _
- (format #t
- "[Desktop Entry]~@
- Name=rxvt-unicode (client)~@
- Comment=Rxvt clone with XFT and unicode support~@
- Exec=~a/bin/urxvtc~@
- TryExec=~@*~a/bin/urxvtc~@
- Icon=~@
- Type=Application~%"
- output)))))))))
+ (let ((desktop (string-append #$output
"/share/applications")))
+ (mkdir-p desktop)
+ (with-output-to-file
+ (string-append desktop "/urxvtc.desktop")
+ (lambda _
+ (format #t
+ "[Desktop Entry]~@
+ Name=rxvt-unicode (client)~@
+ Comment=Rxvt clone with XFT and unicode
support~@
+ Exec=~a/bin/urxvtc~@
+ TryExec=~@*~a/bin/urxvtc~@
+ Icon=~@
+ Type=Application~%"
+ #$output)))))))))
(inputs
- `(("libptytty" ,libptytty)
- ("libXft" ,libxft)
- ("libX11" ,libx11)
- ("libXt" ,libxt)
- ("libxext" ,libxext)))
+ (list libptytty libxft libx11 libxt libxext))
(native-inputs
(list ncurses ;trigger the installation of terminfo data
perl pkg-config))
- branch master updated (67e22584fa -> 7858b74b77), guix-commits, 2023/07/11
- 01/17: locate: Ignore unreadable manifests., guix-commits, 2023/07/11
- 09/17: gnu: qbittorrent: Update to 4.5.4., guix-commits, 2023/07/11
- 14/17: gnu: guile-hashing: Fix description., guix-commits, 2023/07/11
- 03/17: home: services: bash: Properly quote shell aliases., guix-commits, 2023/07/11
- 07/17: gnu: xorriso: Update to 1.5.6.pl02, guix-commits, 2023/07/11
- 06/17: gnu: hwloc: Update to 2.9.2., guix-commits, 2023/07/11
- 05/17: gnu: guile-chickadee: Change license to Apache 2.0., guix-commits, 2023/07/11
- 10/17: gnu: qbittorrent{,-nox}: Use qt-build-system., guix-commits, 2023/07/11
- 11/17: gnu: rxvt-unicode: Update to 9.31 [fixes CVE-2022-4170]., guix-commits, 2023/07/11
- 12/17: gnu: rxvt-unicode: Use new package style.,
guix-commits <=
- 15/17: gnu: desktop-file-utils: Format description., guix-commits, 2023/07/11
- 17/17: gnu: gnuplot: Update to 5.4.8., guix-commits, 2023/07/11
- 08/17: gnu: mit-scheme: Fix building, guix-commits, 2023/07/11
- 04/17: avahi: Fix exception when #:timeout is #f., guix-commits, 2023/07/11
- 13/17: gnu: rxvt-unicode: Use helper procedure to make desktop files., guix-commits, 2023/07/11
- 16/17: gnu: gmsh: Update to 4.11.1., guix-commits, 2023/07/11
- 02/17: cache: 'file-expiration-time' uses 'lstat', not 'stat'., guix-commits, 2023/07/11