guix-commits
[Top][All Lists]
Advanced

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

21/178: gnu: Add kpty-6.


From: guix-commits
Subject: 21/178: gnu: Add kpty-6.
Date: Mon, 17 Jun 2024 12:13:18 -0400 (EDT)

z572 pushed a commit to branch kde-team
in repository guix.

commit 31bac00b1f9463ece627cf1271598ff4e4e257d0
Author: Zheng Junjie <zhengjunjie@iscas.ac.cn>
AuthorDate: Thu Mar 7 11:47:00 2024 +0800

    gnu: Add kpty-6.
    
    * gnu/packages/kde-frameworks.scm (kpty-6): New variable.
    (kpty): Inherit above.
    
    Change-Id: If3e018e48599db552bce4f1c467c31ba7ae37720
---
 gnu/packages/kde-frameworks.scm | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index acd0ea7eb6..a442bc2720 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2524,10 +2524,10 @@ of non binary content such as scripted extensions or 
graphic assets, as if they
 were traditional plugins.")
     (license (list license:gpl2+ license:lgpl2.1+))))
 
-(define-public kpty
+(define-public kpty-6
   (package
     (name "kpty")
-    (version "5.114.0")
+    (version "6.1.0")
     (source (origin
               (method url-fetch)
               (uri (string-append
@@ -2536,21 +2536,20 @@ were traditional plugins.")
                     name "-" version ".tar.xz"))
               (sha256
                (base32
-                "0fm7bfp89kvg1a64q8piiyal71p6vjnqcm13zak6r9fbfwcm0gs9"))))
+                "1psrryrgkn9fbw81a7zlshwssr175db9kiq40ib77xx61gcnq8nz"))))
     (build-system cmake-build-system)
     (native-inputs
      (list extra-cmake-modules))
     (inputs
-     (list kcoreaddons ki18n
-           ;; TODO: utempter, for managing UTMP entries
-           qtbase-5))
+     ;; TODO: utempter, for managing UTMP entries
+     (list kcoreaddons-6 ki18n-6 qtbase))
     (arguments
      (list #:tests? #f ; FIXME: 1/1 tests fail.
            #:phases #~(modify-phases %standard-phases
                         (add-after 'unpack 'patch-tests
                           (lambda _
                             (substitute* "autotests/kptyprocesstest.cpp"
-                              (("/bin/bash")
+                              (("/bin/sh")
                                (which "bash"))))))))
     (home-page "https://community.kde.org/Frameworks";)
     (synopsis "Interfacing with pseudo terminal devices")
@@ -2559,6 +2558,26 @@ terminal devices as well as a KProcess derived class for 
running child processes
 and communicating with them using a pty.")
     (license (list license:gpl2+ license:lgpl2.1+))))
 
+(define-public kpty
+  (package
+    (inherit kpty-6)
+    (name "kpty")
+    (version "5.114.0")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "mirror://kde/stable/frameworks/"
+                    (version-major+minor version) "/"
+                    name "-" version ".tar.xz"))
+              (sha256
+               (base32
+                "0fm7bfp89kvg1a64q8piiyal71p6vjnqcm13zak6r9fbfwcm0gs9"))))
+    (native-inputs
+     (list extra-cmake-modules))
+    (inputs
+     (list kcoreaddons ki18n
+           qtbase-5))))
+
 (define-public kunitconversion
   (package
     (name "kunitconversion")



reply via email to

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