From mboxrd@z Thu Jan 1 00:00:00 1970 From: Efraim Flashner Subject: [PATCH 2/2] gnu: Add tilda. Date: Tue, 10 Nov 2015 12:07:20 +0200 Message-ID: <1447150040-10401-3-git-send-email-efraim@flashner.co.il> References: <1447150040-10401-1-git-send-email-efraim@flashner.co.il> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zw5pu-0008LP-M2 for guix-devel@gnu.org; Tue, 10 Nov 2015 05:07:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zw5pr-0006j1-VG for guix-devel@gnu.org; Tue, 10 Nov 2015 05:07:34 -0500 Received: from flashner.co.il ([178.62.234.194]:51897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zw5pr-0006ik-Jk for guix-devel@gnu.org; Tue, 10 Nov 2015 05:07:31 -0500 In-Reply-To: <1447150040-10401-1-git-send-email-efraim@flashner.co.il> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/terminals.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. --- gnu-system.am | 1 + gnu/packages/terminals.scm | 70 ++++++++++++++++++++++++++++++++++++++++= ++++++ 2 files changed, 71 insertions(+) create mode 100644 gnu/packages/terminals.scm diff --git a/gnu-system.am b/gnu-system.am index f3ded69..430c740 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -299,6 +299,7 @@ GNU_SYSTEM_MODULES =3D \ gnu/packages/tcl.scm \ gnu/packages/tcsh.scm \ gnu/packages/telephony.scm \ + gnu/packages/terminals.scm \ gnu/packages/texinfo.scm \ gnu/packages/texlive.scm \ gnu/packages/textutils.scm \ diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm new file mode 100644 index 0000000..a45a2be --- /dev/null +++ b/gnu/packages/terminals.scm @@ -0,0 +1,70 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2015 Efraim Flashner +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (a= t +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages terminals) + #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix build utils) + #:use-module (guix build-system gnu) + #:use-module (guix download) + #:use-module (guix packages) + #:use-module (gnu packages autotools) + #:use-module (gnu packages gettext) + #:use-module (gnu packages glib) + #: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 zip)) + +(define-public tilda + (package + (name "tilda") + (version "1.2.4") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/lanoxx/tilda/archi= ve/" + "tilda-" version ".zip")) + (sha256 + (base32 + "06r7q0b1xjclagsnw0ilxhw5az5ddly2f7xc1lcwlrf337x0jrar"))= )) + (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (add-after 'patch-source-shebangs 'autogen + (lambda _ ; tries to run ./configure + (substitute* "autogen.sh" (("^.*\\$srcdir/configure.*= ") "")) + (zero? (system* "sh" "autogen.sh"))))))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("gettext" ,gnu-gettext) + ("pkg-config" ,pkg-config) + ("unzip" ,unzip))) + (inputs + `(("glib" ,glib "bin") + ("gtk+" ,gtk+) + ("libconfuse" ,libconfuse) + ("vte" ,vte-0.36))) ; try in 1.3 to use vte-0.38 or higher + (synopsis "Gtk based drop down terminal") + (description "Tilda is a terminal emulator similar to normal termina= ls like +gnome-terminal (GNOME) or Konsole (KDE), with the difference that it dro= ps down +from the edge of a screen when a certain configurable hotkey is pressed.= This +is similar to the build-in consoles in games such as Quake or Half-life.= Tilda +is highly configureable through a graphical wizard.") + (home-page "https://github.com/lanoxx/tilda") + (license license:gpl2+))) --=20 2.6.2