* [PATCH] gnu: Add termite
@ 2016-06-01 18:14 Mckinley Olsen
2016-06-03 8:28 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Mckinley Olsen @ 2016-06-01 18:14 UTC (permalink / raw)
To: guix-devel
[-- 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] gnu: Add termite
2016-06-01 18:14 [PATCH] gnu: Add termite Mckinley Olsen
@ 2016-06-03 8:28 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2016-06-03 8:28 UTC (permalink / raw)
To: Mckinley Olsen; +Cc: guix-devel
Hello,
Mckinley Olsen <mck.olsen@gmail.com> skribis:
> 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.
Pushed as 89978a0a0d70ee31225133b61f8b006cac14c0bd.
I added a subject line to the commit log, and made a couple of
identation fixes
> + (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
^
… here
> + (inputs
> + `(("vte", vte-ng)
> + ("gtk+", gtk+)
^
… here
> + (native-inputs
> + `(("pkg-config" ,pkg-config)))
… and here.
Thank you!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-03 8:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-01 18:14 [PATCH] gnu: Add termite Mckinley Olsen
2016-06-03 8:28 ` Ludovic Courtès
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).