From 06b604ebbf8e76e9e28caddeb4e571ec899ea42b Mon Sep 17 00:00:00 2001 From: Zheng Junjie <873216071@qq.com> Date: Tue, 4 Jul 2023 18:52:18 +0800 Subject: gnu: reptyr: Update to 0.10.0. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/screen.scm (reptyr): Update to 0.10.0. [arguments]: use new style, fix cross-compilation. Signed-off-by: Ludovic Courtès --- gnu/packages/screen.scm | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/gnu/packages/screen.scm b/gnu/packages/screen.scm index 21150394db..8f2aa51c53 100644 --- a/gnu/packages/screen.scm +++ b/gnu/packages/screen.scm @@ -6,6 +6,7 @@ ;;; Copyright © 2016 Alex Griffin ;;; Copyright © 2017 Mathieu Othacehe ;;; Copyright © 2017, 2018, 2019, 2020 Tobias Geerinckx-Rice +;;; Copyright © 2023 Zheng Junjie <873216071@qq.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -26,7 +27,9 @@ #:use-module (guix licenses) #:use-module (guix packages) #:use-module (guix download) + #:use-module (guix gexp) #:use-module (guix git-download) + #:use-module (guix utils) #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages autotools) @@ -153,7 +156,7 @@ window manager as well as the Tmux terminal multiplexer.") (define-public reptyr (package (name "reptyr") - (version "0.7.0") + (version "0.10.0") (source (origin (method git-fetch) @@ -162,18 +165,18 @@ window manager as well as the Tmux terminal multiplexer.") (commit (string-append "reptyr-" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "1hnijfz1ab34j2h2cxc3f43rmbclyihgn9x9wxa7jqqgb2xm71hj")))) + (base32 "03k95bf7b46g89j0hgfvra9d512z0ha7vw9358h9j67h9b5bylwf")))) (build-system gnu-build-system) (arguments - '(#:tests? #f ; no tests - #:make-flags - (list "CC=gcc" - (string-append "PREFIX=" (assoc-ref %outputs "out")) - (string-append "BASHCOMPDIR=" (assoc-ref %outputs "out") - "/etc/bash_completion.d")) - #:phases - (modify-phases %standard-phases - (delete 'configure)))) ; no configure script + (list #:tests? #f ; no tests + #:make-flags + #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "PREFIX=" #$output) + (string-append "BASHCOMPDIR=" #$output + "/etc/bash_completion.d")) + #:phases + #~(modify-phases %standard-phases + (delete 'configure)))) ; no configure script (home-page "https://github.com/nelhage/reptyr") (synopsis "Tool for reparenting a running program to a new terminal") (description -- cgit 1.4.1