From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Craven Subject: [PATCH 11/13] gnu: kde-frameworks: Add kpty. Date: Sat, 13 Aug 2016 14:19:29 +0200 Message-ID: <20160813121931.20071-12-david@craven.ch> References: <20160813121931.20071-1-david@craven.ch> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYXvN-0001RC-J3 for guix-devel@gnu.org; Sat, 13 Aug 2016 08:20:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYXvG-0006S2-Ee for guix-devel@gnu.org; Sat, 13 Aug 2016 08:20:24 -0400 Received: from so254-10.mailgun.net ([198.61.254.10]:45801) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYXvF-0006QJ-4z for guix-devel@gnu.org; Sat, 13 Aug 2016 08:20:18 -0400 In-Reply-To: <20160813121931.20071-1-david@craven.ch> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Cc: David Craven * gnu/packages/kde-frameworks.scm (kpty): New variable. Co-authored-by: Hartmut Goebel --- gnu/packages/kde-frameworks.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm index 082942c..1cc132f 100644 --- a/gnu/packages/kde-frameworks.scm +++ b/gnu/packages/kde-frameworks.scm @@ -1373,3 +1373,40 @@ covers feedback and persistent events.") 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 + (package + (name "kpty") + (version "5.24.0") + (source + (origin + (method url-fetch) + (uri (string-append "mirror://kde/stable/frameworks/" + (version-major+minor version) "/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "1ybvdzqpa53kkki9p5da0ff9x3c63rmksk7865wqwlgy8apzi2fs")))) + (build-system cmake-build-system) + (native-inputs + `(("extra-cmake-modules" ,extra-cmake-modules))) + (inputs + `(("kcoreaddons" ,kcoreaddons) + ("ki18n" ,ki18n) + ("qtbase" ,qtbase))) + (arguments + `(#:tests? #f ; FIXME: 1/1 tests fail. + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-tests + (lambda _ + (setenv "CTEST_OUTPUT_ON_FAILURE" "1") + (substitute* "autotests/kptyprocesstest.cpp" + (("/bin/bash") (which "bash"))) + #t))))) + (home-page "https://community.kde.org/Frameworks") + (synopsis "Interfacing with pseudo terminal devices") + (description "This library provides primitives to interface with pseudo +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+)))) -- 2.9.0