From patchwork Sun Jan 6 20:12:21 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Ludovic_Court=C3=A8s?= X-Patchwork-Id: 686 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 408B516A21; Sun, 6 Jan 2019 20:13:16 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham autolearn_force=no version=3.4.0 Received: from listsout.gnu.org (listsout.gnu.org [208.118.235.17]) by mira.cbaines.net (Postfix) with ESMTP id BFE75169C4 for ; Sun, 6 Jan 2019 20:13:15 +0000 (GMT) Received: from localhost ([127.0.0.1]:59775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggEnK-0005m5-W8 for patchwork@mira.cbaines.net; Sun, 06 Jan 2019 15:13:15 -0500 Received: from eggsout.gnu.org ([209.51.188.92]:60345 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ggEnF-0005kV-1c for guix-patches@gnu.org; Sun, 06 Jan 2019 15:13:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ggEn9-0002fu-Ri for guix-patches@gnu.org; Sun, 06 Jan 2019 15:13:08 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:47124) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ggEn9-0002fI-O5 for guix-patches@gnu.org; Sun, 06 Jan 2019 15:13:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ggEn9-00063d-8Z for guix-patches@gnu.org; Sun, 06 Jan 2019 15:13:03 -0500 Subject: bug#33877: [PATCH] gnu: Add kitty. Resent-From: Ludovic =?utf-8?q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Sun, 06 Jan 2019 20:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 33877 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Gabriel Hondet Mail-Followup-To: 33877@debbugs.gnu.org, ludo@gnu.org, gabrielhondet@gmail.com Received: via spool by 33877-done@debbugs.gnu.org id=D33877.154680554823231 (code D ref 33877); Sun, 06 Jan 2019 20:13:01 +0000 Received: (at 33877-done) by debbugs.gnu.org; 6 Jan 2019 20:12:28 +0000 Received: from localhost ([127.0.0.1]:49030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ggEma-00062d-HF for submit@debbugs.gnu.org; Sun, 06 Jan 2019 15:12:28 -0500 Received: from hera.aquilenet.fr ([185.233.100.1]:39820) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ggEmW-00062T-CA for 33877-done@debbugs.gnu.org; Sun, 06 Jan 2019 15:12:25 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 852AB1281; Sun, 6 Jan 2019 21:12:23 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ACNpTm9naf8A; Sun, 6 Jan 2019 21:12:22 +0100 (CET) Received: from ribbon (unknown [IPv6:2a01:e0a:1d:7270:af76:b9b:ca24:c465]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 68E73FA1; Sun, 6 Jan 2019 21:12:22 +0100 (CET) From: Ludovic =?utf-8?q?Court=C3=A8s?= References: <87tvj0wlyt.fsf@gmail.com> Date: Sun, 06 Jan 2019 21:12:21 +0100 In-Reply-To: <87tvj0wlyt.fsf@gmail.com> (Gabriel Hondet's message of "Wed, 26 Dec 2018 12:41:58 +0100") Message-ID: <877efhzgt6.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 33877-done@debbugs.gnu.org Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello, Gabriel Hondet skribis: > * gnu/packages/terminals.scm (kitty): New variable. Applied! I took the liberty to make the small changes below; let me know if anything is unclear. Thanks, Ludo’. diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 223bc3684c..f6f3845070 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -931,7 +931,8 @@ tmux.") (string-append "sys.path.append(\"..\")\n" kitty-imp))) (substitute* "docs/Makefile" (("^SPHINXBUILD[[:space:]]+= (python3.*)$") - "SPHINXBUILD = sphinx-build\n")))))) + "SPHINXBUILD = sphinx-build\n")) + #t)))) (build-system gnu-build-system) (inputs `(("python" ,python) @@ -968,37 +969,34 @@ tmux.") (let ((pycaches (find-files "linux-package/" "__pycache__" #:directories? #t))) - (map delete-file-recursively pycaches)))) + (for-each delete-file-recursively pycaches) + #t))) (replace 'install (lambda _ (let* ((out (assoc-ref %outputs "out")) (obin (string-append out "/bin")) (olib (string-append out "/lib")) (oshare (string-append out "/share"))) - (begin - (copy-recursively "linux-package/bin" obin) - (copy-recursively "linux-package/share" oshare) - (copy-recursively "linux-package/lib" olib) - #t))))))) + (copy-recursively "linux-package/bin" obin) + (copy-recursively "linux-package/share" oshare) + (copy-recursively "linux-package/lib" olib) + #t)))))) (synopsis "Fast, featureful, GPU based terminal emulator") - (description "Kitty, the fast, featureful, GPU based terminal emulator -@itemize @bullet + (description "Kitty is a fast and featureful GPU-based terminal emulator: +@itemize @item Offloads rendering to the GPU for lower system load and buttery smooth scrolling. Uses threaded rendering to minimize input latency. @item Supports all modern terminal features: graphics (images), unicode, true-color, OpenType ligatures, mouse protocol, focus tracking, bracketed paste and several new terminal protocol extensions. @item Supports tiling multiple terminal windows side by side in different -layouts without needing to use an extra program like tmux +layouts without needing to use an extra program like tmux. @item Can be controlled from scripts or the shell prompt, even over SSH. @item Has a framework for Kittens, small terminal programs that can be used to extend kitty's functionality. For example, they are used for Unicode input, -Hints and Side-by-side diff. +hints, and side-by-side diff. @item Supports startup sessions which allow you to specify the window/tab layout, working directories and programs to run on startup. -@item Cross-platform: kitty works on Linux and macOS, but because it uses only -OpenGL for rendering, it should be trivial to port to other Unix-like -platforms. @item Allows you to open the scrollback buffer in a separate window using arbitrary programs of your choice. This is useful for browsing the history comfortably in a pager or editor.