unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Mckinley Olsen <mck.olsen@gmail.com>
To: guix-devel@gnu.org
Subject: [PATCH] gnu: Add termite
Date: Wed, 1 Jun 2016 12:14:57 -0600	[thread overview]
Message-ID: <CAM5ENzA3hLJKkffO8Z3F7Umf4wXHXCpd9gcP2=RLKf2DuK1yng@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 334 bytes --]

Specifies package for the terminal termite.
Uses git-fetch download method as a recursive checkout is necessary
(github tarball releases are missing necessary files).
The comments in the package specification are copied from the package
definition for rxvt-unicode (in xdisorg module).

Let me know if anything needs changed. Thanks!

[-- Attachment #2: 0001-gnu-packages-terminals.scm-termite-New-variable.patch --]
[-- Type: application/octet-stream, Size: 3367 bytes --]

From 243640a755299d1dabecf2953c08e36d5b351b19 Mon Sep 17 00:00:00 2001
From: McKinley Olsen <mck.olsen@gmail.com>
Date: Wed, 1 Jun 2016 11:54:53 -0600
Subject: [PATCH] * gnu/packages/terminals.scm (termite): New variable.

---
 gnu/packages/terminals.scm | 53 +++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 52 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index 1a83eda..57ee13e 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -21,6 +21,7 @@
   #:use-module (guix build utils)
   #:use-module (guix build-system gnu)
   #:use-module (guix download)
+  #:use-module (guix git-download)
   #:use-module (guix packages)
   #:use-module (gnu packages autotools)
   #:use-module (gnu packages gettext)
@@ -28,7 +29,10 @@
   #:use-module (gnu packages gnome)
   #:use-module (gnu packages gtk)
   #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages wm))
+  #:use-module (gnu packages wm)
+  #:use-module (gnu packages ncurses)
+  #:use-module (gnu packages gtk)
+  #:use-module (gnu packages gnome))
 
 (define-public tilda
   (package
@@ -67,3 +71,50 @@ is similar to the built-in consoles in some applications.  Tilda is highly
 configureable through a graphical wizard.")
     (home-page "https://github.com/lanoxx/tilda")
     (license license:gpl2+)))
+
+(define-public termite
+  (package
+    (name "termite")
+    (version "11")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+              (url (string-append "https://github.com/thestinger/"
+                                  name
+                                  ".git"))
+              (commit (string-append "v" version))
+              (recursive? #t)))
+        (file-name (string-append name "-" version "-checkout"))
+        (sha256
+          (base32
+            "1cw4yw7n9m2si8b7zcfyz9pyihncabxm5g39v1mxslfajxgwzmd8"))))
+    (build-system gnu-build-system)
+    (arguments
+      `(#:phases (alist-delete 'configure %standard-phases)
+        #:tests? #f
+    ;; 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
+        #:make-flags (list "PREFIX="
+                           (string-append "VERSION=v" (version))
+                           (string-append "DESTDIR="
+                                          (assoc-ref %outputs "out")))))
+    (inputs
+     `(("vte", vte-ng)
+      ("gtk+", gtk+)
+      ("ncurses", ncurses)))
+    (native-inputs
+    `(("pkg-config" ,pkg-config)))
+    ;; FIXME: This should only be located in 'ncurses'.  Nonetheless it is
+    ;; provided for usability reasons.  See <https://bugs.gnu.org/22138>.
+    (native-search-paths
+      (list (search-path-specification
+              (variable "TERMINFO_DIRS")
+              (files '("share/terminfo")))))
+    (home-page "https://github.com/thestinger/termite/")
+    (synopsis "Keyboard-centric, VTE-based terminal")
+    (description "Termite is a minimal terminal emulator designed for use with
+tiling window managers.  It is a modal application, similar to Vim, with an
+insert mode and command mode where keybindings have different functions.")
+    (license license:lgpl2.0+)))
-- 
2.7.4


             reply	other threads:[~2016-06-01 18:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-01 18:14 Mckinley Olsen [this message]
2016-06-03  8:28 ` [PATCH] gnu: Add termite Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM5ENzA3hLJKkffO8Z3F7Umf4wXHXCpd9gcP2=RLKf2DuK1yng@mail.gmail.com' \
    --to=mck.olsen@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).