From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Dvorsak Subject: [PATCH 5/7] gnu: Add i3-wm. Date: Mon, 17 Aug 2015 04:06:00 +0200 Message-ID: <1439777162-7769-5-git-send-email-eric@dvorsak.fr> References: <1439777162-7769-1-git-send-email-eric@dvorsak.fr> 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]:41827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZR9og-000714-7o for guix-devel@gnu.org; Sun, 16 Aug 2015 22:06:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZR9oe-0004Sl-Is for guix-devel@gnu.org; Sun, 16 Aug 2015 22:06:26 -0400 Received: from 15.mo1.mail-out.ovh.net ([188.165.38.232]:42431) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZR9oe-0004SU-8n for guix-devel@gnu.org; Sun, 16 Aug 2015 22:06:24 -0400 Received: from mail434.ha.ovh.net (gw6.ovh.net [213.251.189.206]) by mo1.mail-out.ovh.net (Postfix) with SMTP id CB2F3FFB053 for ; Mon, 17 Aug 2015 04:06:23 +0200 (CEST) In-Reply-To: <1439777162-7769-1-git-send-email-eric@dvorsak.fr> 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/i3.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. --- gnu-system.am | 1 + gnu/packages/i3.scm | 88 +++++++++++++++++++++++++++++++++++++++++++++++= ++++++ 2 files changed, 89 insertions(+) create mode 100644 gnu/packages/i3.scm diff --git a/gnu-system.am b/gnu-system.am index 9f46f7b..9686a7e 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -149,6 +149,7 @@ GNU_SYSTEM_MODULES =3D \ gnu/packages/haskell.scm \ gnu/packages/hugs.scm \ gnu/packages/hurd.scm \ + gnu/packages/i3.scm \ gnu/packages/ibus.scm \ gnu/packages/icu4c.scm \ gnu/packages/idutils.scm \ diff --git a/gnu/packages/i3.scm b/gnu/packages/i3.scm new file mode 100644 index 0000000..d324a10 --- /dev/null +++ b/gnu/packages/i3.scm @@ -0,0 +1,88 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2015 Eric Dvorsak +;;; +;;; 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 i3) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (gnu packages linux) + #:use-module (guix build-system gnu) + #:use-module (gnu packages base) + #:use-module (gnu packages pkg-config) + #:use-module (gnu packages perl) + #:use-module (gnu packages xorg) + #:use-module (gnu packages xdisorg) + #:use-module (gnu packages qt) + #:use-module (gnu packages asciidoc) + #:use-module (gnu packages xml) + #:use-module (gnu packages m4) + #:use-module (gnu packages docbook) + #:use-module (gnu packages pcre) + #:use-module (gnu packages gtk) + #:use-module (gnu packages maths) + #:use-module (gnu packages web) + #:use-module (guix download) + #:use-module (guix git-download)) + +(define-public i3-wm + (package + (name "i3-wm") + (version "4.10.3") + (source (origin + (method url-fetch) + (uri (string-append "http://i3wm.org/downloads/i3-" + version ".tar.bz2")) + (sha256 + (base32 + "1lq7h4w7m0hi31iva8g7yf1sc11ispnknxjdaj9agld4smxqb44j"))= )) + (build-system gnu-build-system) + (arguments + `(#:make-flags (list "CC=3Dgcc" (string-append "PREFIX=3D" %output)= ) + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'check)))) + (inputs + `(("libxcb" ,libxcb) + ("xcb-util" ,xcb-util) + ("xcb-util-cursor" ,xcb-util-cursor) + ("xcb-util-keysyms" ,xcb-util-keysyms) + ("xcb-util-wm" ,xcb-util-wm) + ("libxkbcommon" ,libxkbcommon) + ("libev" ,libev) + ("libyajl" ,libyajl) + ("asciidoc" ,asciidoc) + ("xmlto" ,xmlto) + ("perl-pod-simple" ,perl-pod-simple) + ("docbook-xml" ,docbook-xml) + ("libx11" ,libx11) + ("pcre" ,pcre) + ("startup-notification" ,startup-notification) + ("pango" ,pango) + ("cairo" ,cairo))) + (native-inputs + `(("which" ,which) + ("perl" ,perl) + ("pkg-config" ,pkg-config))) + (home-page "http://i3wm.org/") + (synopsis "Improved tiling window manager") + (description "i3 is a tiling window manager, completely written +from scratch. The target platforms are GNU/Linux and BSD operating +systems, our code is Free and Open Source Software (FOSS) under the +BSD license. i3 is primarily targeted at advanced users and +developers.") + (license bsd-3))) --=20 2.4.3