2015-08-17 20:06:04 +00:00
|
|
|
|
;;; GNU Guix --- Functional package management for GNU
|
|
|
|
|
;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
|
2015-09-11 08:11:51 +00:00
|
|
|
|
;;; Copyright © 2015 Siniša Biđin <sinisa@bidin.eu>
|
2016-02-28 06:37:22 +00:00
|
|
|
|
;;; Copyright © 2015, 2016 Eric Bavier <bavier@member.fsf.org>
|
2015-10-10 11:06:40 +00:00
|
|
|
|
;;; Copyright © 2015 xd1le <elisp.vim@gmail.com>
|
2015-10-14 20:26:55 +00:00
|
|
|
|
;;; Copyright © 2015 Paul van der Walt <paul@denknerd.org>
|
2016-02-28 06:37:22 +00:00
|
|
|
|
;;; Copyright © 2016 Danny Milosavljevic <dannym@scratchpost.org>
|
2016-04-04 07:24:31 +00:00
|
|
|
|
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
2016-04-05 23:21:19 +00:00
|
|
|
|
;;; Copyright © 2016 Al McElrath <hello@yrns.org>
|
2016-06-15 12:15:33 +00:00
|
|
|
|
;;; Copyright © 2016 Carlo Zancanaro <carlo@zancanaro.id.au>
|
|
|
|
|
;;; Copyright © 2016 Ludovic Courtès <ludo@gnu.org>
|
2017-07-22 20:38:20 +00:00
|
|
|
|
;;; Copyright © 2016, 2017 ng0 <ng0@infotropique.org>
|
2016-09-20 18:02:53 +00:00
|
|
|
|
;;; Copyright © 2016 doncatnip <gnopap@gmail.com>
|
2016-09-21 09:19:20 +00:00
|
|
|
|
;;; Copyright © 2016 Ivan Vilata i Balaguer <ivan@selidor.net>
|
2017-01-23 09:48:51 +00:00
|
|
|
|
;;; Copyright © 2017 Mekeor Melire <mekeor.melire@gmail.com>
|
2016-12-09 19:50:52 +00:00
|
|
|
|
;;; Copyright © 2017 Marius Bakke <mbakke@fastmail.com>
|
2017-07-23 18:31:51 +00:00
|
|
|
|
;;; Copyright © 2017 Oleg Pykhalov <go.wigust@gmail.com>
|
2015-08-17 20:06:04 +00:00
|
|
|
|
;;;
|
|
|
|
|
;;; 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 (at
|
|
|
|
|
;;; 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 <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
|
|
(define-module (gnu packages wm)
|
2016-02-28 06:37:22 +00:00
|
|
|
|
#:use-module ((guix licenses) #:prefix license:)
|
2015-08-17 20:06:04 +00:00
|
|
|
|
#:use-module (guix packages)
|
2015-10-22 22:41:39 +00:00
|
|
|
|
#:use-module (gnu packages)
|
2015-08-17 20:06:04 +00:00
|
|
|
|
#:use-module (gnu packages linux)
|
2016-06-15 12:15:33 +00:00
|
|
|
|
#:use-module (guix build-system cmake)
|
2015-08-17 20:06:04 +00:00
|
|
|
|
#:use-module (guix build-system gnu)
|
2015-09-11 08:11:51 +00:00
|
|
|
|
#:use-module (guix build-system haskell)
|
2016-12-09 19:50:52 +00:00
|
|
|
|
#:use-module (guix build-system perl)
|
2016-09-21 09:19:07 +00:00
|
|
|
|
#:use-module (guix build-system python)
|
2015-09-11 08:11:51 +00:00
|
|
|
|
#:use-module (gnu packages haskell)
|
2015-08-17 20:06:04 +00:00
|
|
|
|
#:use-module (gnu packages base)
|
|
|
|
|
#:use-module (gnu packages pkg-config)
|
|
|
|
|
#:use-module (gnu packages perl)
|
2016-04-05 23:21:19 +00:00
|
|
|
|
#:use-module (gnu packages pulseaudio)
|
2015-08-17 20:06:04 +00:00
|
|
|
|
#:use-module (gnu packages xorg)
|
|
|
|
|
#:use-module (gnu packages xdisorg)
|
gnu: Update module imports for asciidoc and doxygen.
This is a followup to commit 0573a923def01e54bf104e0015ade44ab42f694f.
* gnu/packages/algebra.scm, gnu/packages/bioinformatics.scm,
gnu/packages/fcitx.scm, gnu/packages/fish.scm,
gnu/packages/freedesktop.scm, gnu/packages/game-development.scm,
gnu/packages/gcc.scm, gnu/packages/graphics.scm, gnu/packages/image.scm,
gnu/packages/kodi.scm, gnu/packages/libreoffice.scm,
gnu/packages/linux.scm, gnu/packages/messaging.scm,
gnu/packages/mpd.scm, gnu/packages/music.scm, gnu/packages/rdf.scm,
gnu/packages/serialization.scm, gnu/packages/version-control.scm,
gnu/packages/web.scm, gnu/packages/wm.scm, gnu/packages/xdisorg.scm,
gnu/packages/xiph.scm: Change imports of (gnu packages asciidoc) or
(gnu packages doxygen) to (gnu packages documentation).
2016-05-13 00:18:15 +00:00
|
|
|
|
#:use-module (gnu packages documentation)
|
2015-08-17 20:06:04 +00:00
|
|
|
|
#:use-module (gnu packages xml)
|
|
|
|
|
#:use-module (gnu packages m4)
|
|
|
|
|
#:use-module (gnu packages docbook)
|
2016-02-28 06:37:22 +00:00
|
|
|
|
#:use-module (gnu packages image)
|
2015-08-17 20:06:04 +00:00
|
|
|
|
#:use-module (gnu packages pcre)
|
2017-01-18 12:47:21 +00:00
|
|
|
|
#:use-module (gnu packages python)
|
2015-08-17 20:06:04 +00:00
|
|
|
|
#:use-module (gnu packages gtk)
|
|
|
|
|
#:use-module (gnu packages libevent)
|
2016-02-28 06:37:22 +00:00
|
|
|
|
#:use-module (gnu packages fribidi)
|
2015-08-17 20:06:04 +00:00
|
|
|
|
#:use-module (gnu packages maths)
|
|
|
|
|
#:use-module (gnu packages web)
|
2016-02-28 06:37:22 +00:00
|
|
|
|
#:use-module (gnu packages fontutils)
|
2016-06-15 12:15:33 +00:00
|
|
|
|
#:use-module (gnu packages freedesktop)
|
|
|
|
|
#:use-module (gnu packages glib)
|
|
|
|
|
#:use-module (gnu packages gperf)
|
|
|
|
|
#:use-module (gnu packages imagemagick)
|
|
|
|
|
#:use-module (gnu packages lua)
|
2016-09-21 09:19:20 +00:00
|
|
|
|
#:use-module (gnu packages suckless)
|
2015-08-17 20:06:04 +00:00
|
|
|
|
#:use-module (guix download)
|
|
|
|
|
#:use-module (guix git-download))
|
|
|
|
|
|
2015-08-17 20:06:05 +00:00
|
|
|
|
(define-public libconfuse
|
|
|
|
|
(package
|
|
|
|
|
(name "libconfuse")
|
2017-08-18 06:10:28 +00:00
|
|
|
|
(version "3.2.1")
|
2015-08-17 20:06:05 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2017-05-24 21:40:19 +00:00
|
|
|
|
(uri (string-append "https://github.com/martinh/libconfuse/"
|
|
|
|
|
"releases/download/v" version
|
|
|
|
|
"/confuse-" version ".tar.xz"))
|
2015-08-17 20:06:05 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-08-18 06:10:28 +00:00
|
|
|
|
"0pnjmlj9i0alp407qd7c0vq83sz7gpsjrbdgpcn4xvzjp9r35ii3"))))
|
2015-08-17 20:06:05 +00:00
|
|
|
|
(build-system gnu-build-system)
|
2017-05-24 21:40:19 +00:00
|
|
|
|
(home-page "https://github.com/martinh/libconfuse")
|
2015-08-17 20:06:05 +00:00
|
|
|
|
(synopsis "Configuration file parser library")
|
|
|
|
|
(description "libconfuse is a configuration file parser library. It
|
|
|
|
|
supports sections and (lists of) values (strings, integers, floats, booleans
|
|
|
|
|
or other sections), as well as some other features (such as
|
|
|
|
|
single/double-quoted strings, environment variable expansion, functions and
|
|
|
|
|
nested include statements).")
|
2016-02-28 06:37:22 +00:00
|
|
|
|
(license license:isc)))
|
2015-08-17 20:06:05 +00:00
|
|
|
|
|
2015-10-10 11:06:40 +00:00
|
|
|
|
(define-public bspwm
|
|
|
|
|
(package
|
|
|
|
|
(name "bspwm")
|
2017-07-22 20:38:20 +00:00
|
|
|
|
(version "0.9.3")
|
2015-10-10 11:06:40 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append
|
|
|
|
|
"https://github.com/baskerville/bspwm/archive/"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-07-22 20:38:20 +00:00
|
|
|
|
"17dwj7w16cdj7g4s2y2f96lgj5msq1s4543dnfa3rijlazzy6mmk"))))
|
2015-10-10 11:06:40 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libxcb" ,libxcb)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("sxhkd" ,sxhkd)
|
|
|
|
|
("xcb-util" ,xcb-util)
|
|
|
|
|
("xcb-util-keysyms" ,xcb-util-keysyms)
|
|
|
|
|
("xcb-util-wm" ,xcb-util-wm)))
|
|
|
|
|
(arguments
|
|
|
|
|
'(#:phases (alist-delete 'configure %standard-phases)
|
|
|
|
|
#:tests? #f ; no check target
|
|
|
|
|
#:make-flags (list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" %output))))
|
|
|
|
|
(home-page "https://github.com/baskerville/bspwm")
|
|
|
|
|
(synopsis "Tiling window manager based on binary space partitioning")
|
|
|
|
|
(description "bspwm is a tiling window manager that represents windows as
|
|
|
|
|
the leaves of a full binary tree.")
|
2016-02-28 06:37:22 +00:00
|
|
|
|
(license license:bsd-2)))
|
2015-10-10 11:06:40 +00:00
|
|
|
|
|
2015-08-17 03:05:37 +00:00
|
|
|
|
(define-public i3status
|
|
|
|
|
(package
|
|
|
|
|
(name "i3status")
|
2017-02-12 20:05:21 +00:00
|
|
|
|
(version "2.11")
|
2015-08-17 03:05:37 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-05-06 05:13:11 +00:00
|
|
|
|
(uri (string-append "https://i3wm.org/i3status/i3status-"
|
2015-08-17 03:05:37 +00:00
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-02-12 20:05:21 +00:00
|
|
|
|
"0pwcy599fw8by1a1sf91crkqba7679qhvhbacpmhis8c1xrpxnwq"))))
|
2015-08-17 03:05:37 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags (list "CC=gcc" (string-append "PREFIX=" %output))
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(delete 'configure))
|
|
|
|
|
#:tests? #f)) ; no test suite
|
|
|
|
|
(inputs
|
|
|
|
|
`(("openlibm" ,openlibm)
|
|
|
|
|
("libconfuse" ,libconfuse)
|
|
|
|
|
("libyajl" ,libyajl)
|
|
|
|
|
("alsa-lib" ,alsa-lib)
|
2016-04-05 23:21:19 +00:00
|
|
|
|
("pulseaudio" ,pulseaudio)
|
|
|
|
|
("libnl" ,libnl)
|
2015-08-17 03:05:37 +00:00
|
|
|
|
("libcap" ,libcap)
|
|
|
|
|
("asciidoc" ,asciidoc)))
|
2016-04-05 23:21:19 +00:00
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
2016-05-06 05:13:11 +00:00
|
|
|
|
(home-page "https://i3wm.org/i3status/")
|
2015-08-17 03:05:37 +00:00
|
|
|
|
(synopsis "Status bar for i3bar, dzen2, xmobar or similar programs")
|
|
|
|
|
(description "i3status is a small program for generating a status bar for
|
|
|
|
|
i3bar, dzen2, xmobar or similar programs. It is designed to be very efficient
|
|
|
|
|
by issuing a very small number of system calls, as one generally wants to
|
|
|
|
|
update such a status line every second. This ensures that even under high
|
|
|
|
|
load, your status bar is updated correctly. Also, it saves a bit of energy by
|
|
|
|
|
not hogging your CPU as much as spawning the corresponding amount of shell
|
|
|
|
|
commands would.")
|
2016-02-28 06:37:22 +00:00
|
|
|
|
(license license:bsd-3)))
|
2015-08-17 03:05:37 +00:00
|
|
|
|
|
2015-08-17 20:06:04 +00:00
|
|
|
|
(define-public i3-wm
|
|
|
|
|
(package
|
|
|
|
|
(name "i3-wm")
|
2017-09-24 22:07:57 +00:00
|
|
|
|
(version "4.14.1")
|
2015-08-17 20:06:04 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-05-06 05:11:28 +00:00
|
|
|
|
(uri (string-append "https://i3wm.org/downloads/i3-"
|
2015-08-17 20:06:04 +00:00
|
|
|
|
version ".tar.bz2"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-09-24 22:07:57 +00:00
|
|
|
|
"1cazmfbbx6n8c81h6x6pdayq3mxs2ml3adz165z8vapkc72kl1nh"))))
|
2015-08-17 20:06:04 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
2016-12-04 22:39:00 +00:00
|
|
|
|
`(#:make-flags
|
gnu: Adjust asciidoc-related build options.
Commits 9099a45792306fade2d9ca55138e49ef4f01f1ea and
3078821d1380c26c738be6b5d430c595327d401f make many package inputs and
build configurations related to asciidoc obsolete.
* gnu/packages/compton.scm (compton)[inputs]: Remove docbook-xml,
libxml2 and libxslt.
* gnu/packages/mail.scm (offlinemap)[native-inputs]: Remove libxslt.
* gnu/packages/linux.scm (btrfs-progs)[native-inputs]: Remove docbook-xml.
(perf)[inputs]: Remove docbook-xml and libxslt.
* gnu/packages/text-editors.scm (kakoune)[native-inputs]: Remove libxslt.
* gnu/packages/version-control.scm (cgit)[native-inputs]: Remove
docbook-xml, docbook-xsl, libxml2 and libxslt.
(cvs-fast-export)[native-inputs]: Remove docbook-xml, docbook-xsl,
libxml2 and libxslt.
* gnu/packages/web.scm (qutebrowser)[native-inputs]: Remove docbook-xml,
docbook-xsl, libxml2, and libxslt.
(tinyproxy)[native-inputs]: Remove docbook-xml, docbook-xsl, libxml2 and
libxslt.
* gnu/packages/wm.scm (awesome)[make-flags]: Remove XML_CATALOG_FILES flag.
(i3-wm)[inputs]: Remove docbook-xml.
[native-inputs]: Add libxml2.
2017-03-18 19:40:15 +00:00
|
|
|
|
(list "CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" %output)
|
|
|
|
|
;; This works around the following error:
|
|
|
|
|
;; 'error: ‘for’ loop initial declarations are only allowed in C99
|
|
|
|
|
;; or C11 mode'
|
|
|
|
|
"CFLAGS=-std=c11")
|
2016-12-04 22:39:00 +00:00
|
|
|
|
;; The build system tries to build in a separate directory, but that
|
|
|
|
|
;; seems to be unnecessary.
|
|
|
|
|
#:configure-flags '("--disable-builddir")
|
|
|
|
|
;; The test suite appears to require the unpackaged Perl module AnyEvent.
|
|
|
|
|
#:tests? #f))
|
2015-08-17 20:06:04 +00:00
|
|
|
|
(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)
|
2016-12-04 22:39:00 +00:00
|
|
|
|
("xcb-util-xrm" ,xcb-util-xrm)
|
2015-08-17 20:06:04 +00:00
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
|
|
|
|
("libev" ,libev)
|
|
|
|
|
("libyajl" ,libyajl)
|
|
|
|
|
("asciidoc" ,asciidoc)
|
|
|
|
|
("xmlto" ,xmlto)
|
|
|
|
|
("perl-pod-simple" ,perl-pod-simple)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("pcre" ,pcre)
|
|
|
|
|
("startup-notification" ,startup-notification)
|
|
|
|
|
("pango" ,pango)
|
|
|
|
|
("cairo" ,cairo)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("which" ,which)
|
|
|
|
|
("perl" ,perl)
|
2016-12-04 22:39:00 +00:00
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
;; For building the documentation.
|
gnu: Adjust asciidoc-related build options.
Commits 9099a45792306fade2d9ca55138e49ef4f01f1ea and
3078821d1380c26c738be6b5d430c595327d401f make many package inputs and
build configurations related to asciidoc obsolete.
* gnu/packages/compton.scm (compton)[inputs]: Remove docbook-xml,
libxml2 and libxslt.
* gnu/packages/mail.scm (offlinemap)[native-inputs]: Remove libxslt.
* gnu/packages/linux.scm (btrfs-progs)[native-inputs]: Remove docbook-xml.
(perf)[inputs]: Remove docbook-xml and libxslt.
* gnu/packages/text-editors.scm (kakoune)[native-inputs]: Remove libxslt.
* gnu/packages/version-control.scm (cgit)[native-inputs]: Remove
docbook-xml, docbook-xsl, libxml2 and libxslt.
(cvs-fast-export)[native-inputs]: Remove docbook-xml, docbook-xsl,
libxml2 and libxslt.
* gnu/packages/web.scm (qutebrowser)[native-inputs]: Remove docbook-xml,
docbook-xsl, libxml2, and libxslt.
(tinyproxy)[native-inputs]: Remove docbook-xml, docbook-xsl, libxml2 and
libxslt.
* gnu/packages/wm.scm (awesome)[make-flags]: Remove XML_CATALOG_FILES flag.
(i3-wm)[inputs]: Remove docbook-xml.
[native-inputs]: Add libxml2.
2017-03-18 19:40:15 +00:00
|
|
|
|
("libxml2" ,libxml2)
|
2016-12-04 22:39:00 +00:00
|
|
|
|
("docbook-xsl" ,docbook-xsl)))
|
2016-05-06 05:11:28 +00:00
|
|
|
|
(home-page "https://i3wm.org/")
|
2015-08-17 20:06:04 +00:00
|
|
|
|
(synopsis "Improved tiling window manager")
|
gnu: Adjust formatting as recommended by 'guix lint'.
* gnu/packages/aidc.scm (barcode, qrencode),
gnu/packages/bash.scm (bash, bash-completion),
gnu/packages/busybox.scm (busybox),
gnu/packages/cdrom.scm (cdparanoia),
gnu/packages/cmake.scm (cmake),
gnu/packages/conkeror.scm (conkeror),
gnu/packages/cook.scm (cook),
gnu/packages/curl.scm (curl),
gnu/packages/docbook.scm (docbook-xsl),
gnu/packages/enlightenment.scm (enlightenment),
gnu/packages/games.scm (abbaye),
gnu/packages/geeqie.scm (exiv2),
gnu/packages/gimp.scm (gegl),
gnu/packages/gl.scm (glu, freeglut, ftgl),
gnu/packages/glib.scm (glib),
gnu/packages/gnome.scm (orbit2, gconf, geocode-glib),
gnu/packages/gstreamer.scm (gstreamer, gst-plugins-base),
gnu/packages/linux.scm (util-linux),
gnu/packages/lisp.scm (gcl, ecl),
gnu/packages/maths.scm (gnuplot, hdf5),
gnu/packages/ssh.scm (dropbear),
gnu/packages/web.scm (json-c): Remove tabulations and trailing
white spaces or reformat to fit within 80 columns.
* gnu/packages/audio.scm (aubio),
gnu/packages/emacs.scm (emacs-s),
gnu/packages/engineering.scm (geda-gaf),
gnu/packages/games.scm (dosbox),
gnu/packages/gnome.scm (gusb),
gnu/packages/gtk.scm (gtk+),
gnu/packages/guile.scm (guile-wisp),
gnu/packages/hurd.scm (hurd-headers),
gnu/packages/wm.scm (i3-wm): Adjust synopsis or description.
2015-11-13 14:50:36 +00:00
|
|
|
|
(description "A tiling window manager, completely written
|
2015-08-17 20:06:04 +00:00
|
|
|
|
from scratch. i3 is primarily targeted at advanced users and
|
|
|
|
|
developers.")
|
2016-02-28 06:37:22 +00:00
|
|
|
|
(license license:bsd-3)))
|
2015-09-11 08:11:51 +00:00
|
|
|
|
|
2016-12-09 19:50:52 +00:00
|
|
|
|
(define-public perl-anyevent-i3
|
|
|
|
|
(package
|
|
|
|
|
(name "perl-anyevent-i3")
|
2017-07-27 22:55:23 +00:00
|
|
|
|
(version "0.17")
|
2016-12-09 19:50:52 +00:00
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://cpan/authors/id/M/MS/MSTPLBG/"
|
|
|
|
|
"AnyEvent-I3-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-07-27 22:55:23 +00:00
|
|
|
|
"0qvd9bq16jyy7v3ma82qcnvz9j503bw0mh7h55gkjf7ir62ck0jk"))))
|
2016-12-09 19:50:52 +00:00
|
|
|
|
(build-system perl-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("perl-anyevent" ,perl-anyevent)
|
|
|
|
|
("perl-json-xs" ,perl-json-xs)))
|
|
|
|
|
(home-page "http://search.cpan.org/dist/AnyEvent-I3")
|
|
|
|
|
(synopsis
|
|
|
|
|
"Communicate with the i3 window manager through perl")
|
|
|
|
|
(description
|
|
|
|
|
"This module connects to the i3 window manager using the UNIX socket
|
|
|
|
|
based IPC interface it provides (if enabled in the configuration file).
|
|
|
|
|
You can then subscribe to events or send messages and receive their replies.")
|
|
|
|
|
;; Can be used with either license.
|
2017-05-02 14:57:52 +00:00
|
|
|
|
(license (list license:gpl3+ license:perl-license))))
|
2016-12-09 19:50:52 +00:00
|
|
|
|
|
2016-09-21 09:19:07 +00:00
|
|
|
|
(define-public python-i3-py
|
|
|
|
|
(package
|
|
|
|
|
(name "python-i3-py")
|
|
|
|
|
(version "0.6.5")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
;; The latest release is not tagged in Git nor has an entry in PyPi,
|
|
|
|
|
;; but there is still a clear commit for it, and it's been the last one
|
|
|
|
|
;; for years.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/ziberna/i3-py.git")
|
|
|
|
|
(commit "27f88a616e9ecc340e7d041d3d00782f8a1964c1")))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1nm719dc2xqlll7vj4c4m7mpjb27lpn3bg3c66gajvnrz2x1nmxs"))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests yet
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-doc
|
|
|
|
|
;; Copy readme file to documentation directory.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((doc (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/share/doc/" ,name)))
|
|
|
|
|
(install-file "README.md" doc)
|
|
|
|
|
;; Avoid unspecified return value.
|
|
|
|
|
#t))))))
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("i3-wm" ,i3-wm)))
|
|
|
|
|
(home-page "https://github.com/ziberna/i3-py")
|
|
|
|
|
(synopsis "Python interface to the i3 window manager")
|
|
|
|
|
(description "This package allows you to interact from a Python program
|
|
|
|
|
with the i3 window manager via its IPC socket. It can send commands and other
|
|
|
|
|
kinds of messages to i3, select the affected containers, filter results and
|
|
|
|
|
subscribe to events.")
|
|
|
|
|
(license license:gpl3+)))
|
|
|
|
|
|
|
|
|
|
(define-public python2-i3-py
|
|
|
|
|
(package-with-python2 python-i3-py))
|
|
|
|
|
|
2016-09-21 09:19:20 +00:00
|
|
|
|
(define-public quickswitch-i3
|
|
|
|
|
(let ((commit "ed692b1e8f43b95bd907ced26238ce8ccb2ed28f")
|
|
|
|
|
(revision "1")) ; Guix package revision
|
|
|
|
|
(package
|
|
|
|
|
(name "quickswitch-i3")
|
|
|
|
|
(version (string-append "2.2-" revision "."
|
|
|
|
|
(string-take commit 7)))
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
;; The latest commit is a few years old and just a couple commits
|
|
|
|
|
;; after the last tagged release, so we use that latest commit
|
|
|
|
|
;; instead of the release.
|
|
|
|
|
(method git-fetch)
|
|
|
|
|
(uri (git-reference
|
|
|
|
|
(url "https://github.com/proxypoke/quickswitch-for-i3.git")
|
|
|
|
|
(commit commit)))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0447077sama80jcdg5p64zjsvafmz5rbdrirhm1adcdjhkh6iqc5"))
|
|
|
|
|
(patches (search-patches "quickswitch-fix-dmenu-check.patch"))
|
|
|
|
|
(file-name (string-append name "-" version "-checkout"))))
|
|
|
|
|
(build-system python-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:tests? #f ; no tests yet
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(add-after 'install 'install-doc
|
|
|
|
|
;; Copy readme file to documentation directory.
|
|
|
|
|
(lambda* (#:key outputs #:allow-other-keys)
|
|
|
|
|
(let ((doc (string-append (assoc-ref outputs "out")
|
|
|
|
|
"/share/doc/" ,name)))
|
|
|
|
|
(install-file "README.rst" doc)
|
|
|
|
|
;; Avoid unspecified return value.
|
|
|
|
|
#t))))))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python-i3-py" ,python-i3-py)
|
|
|
|
|
("dmenu" ,dmenu)))
|
|
|
|
|
(home-page "https://github.com/proxypoke/quickswitch-for-i3")
|
|
|
|
|
(synopsis "Quickly change to and locate windows in the i3 window manager")
|
|
|
|
|
(description
|
|
|
|
|
"This utility for the i3 window manager allows you to quickly switch to
|
|
|
|
|
and locate windows on all your workspaces, using an interactive dmenu
|
|
|
|
|
prompt.")
|
|
|
|
|
(license (license:non-copyleft "http://www.wtfpl.net/txt/copying/")))))
|
|
|
|
|
|
2015-09-11 08:11:51 +00:00
|
|
|
|
(define-public xmonad
|
|
|
|
|
(package
|
|
|
|
|
(name "xmonad")
|
2017-05-13 21:36:36 +00:00
|
|
|
|
(version "0.13")
|
2015-09-11 08:11:51 +00:00
|
|
|
|
(synopsis "Tiling window manager")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-11-19 17:42:12 +00:00
|
|
|
|
(uri (string-append "mirror://hackage/package/xmonad/"
|
2015-10-14 20:26:55 +00:00
|
|
|
|
name "-" version ".tar.gz"))
|
2015-09-11 08:11:51 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-05-13 21:36:36 +00:00
|
|
|
|
"1jh3lcs20qpna36fa5a0r174xqrsxhj10x1rm5vwf64zariipy7r"))))
|
2015-09-11 08:11:51 +00:00
|
|
|
|
(build-system haskell-build-system)
|
|
|
|
|
(inputs
|
2017-01-23 09:48:51 +00:00
|
|
|
|
`(("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
|
|
|
|
|
("ghc-mtl" ,ghc-mtl)
|
|
|
|
|
("ghc-quickcheck" ,ghc-quickcheck)
|
|
|
|
|
("ghc-setlocale" ,ghc-setlocale)
|
|
|
|
|
("ghc-utf8-string" ,ghc-utf8-string)
|
2017-05-13 21:36:36 +00:00
|
|
|
|
("ghc-directory" ,ghc-directory)
|
2017-01-23 09:48:51 +00:00
|
|
|
|
("ghc-x11" ,ghc-x11)))
|
2015-09-11 08:11:51 +00:00
|
|
|
|
(arguments
|
|
|
|
|
`(#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after
|
|
|
|
|
'install 'install-xsession
|
|
|
|
|
(lambda _
|
|
|
|
|
(let* ((xsessions (string-append %output "/share/xsessions")))
|
|
|
|
|
(mkdir-p xsessions)
|
|
|
|
|
(call-with-output-file
|
|
|
|
|
(string-append xsessions "/xmonad.desktop")
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port "~
|
|
|
|
|
[Desktop Entry]~@
|
|
|
|
|
Name=~a~@
|
|
|
|
|
Comment=~a~@
|
|
|
|
|
Exec=~a/bin/xmonad~@
|
|
|
|
|
Type=Application~%" ,name ,synopsis %output)))))))))
|
|
|
|
|
(home-page "http://xmonad.org")
|
|
|
|
|
(description
|
|
|
|
|
"Xmonad is a tiling window manager for X. Windows are arranged
|
|
|
|
|
automatically to tile the screen without gaps or overlap, maximising screen
|
|
|
|
|
use. All features of the window manager are accessible from the keyboard: a
|
|
|
|
|
mouse is strictly optional. Xmonad is written and extensible in Haskell.
|
|
|
|
|
Custom layout algorithms, and other extensions, may be written by the user in
|
|
|
|
|
config files. Layouts are applied dynamically, and different layouts may be
|
|
|
|
|
used on each workspace. Xinerama is fully supported, allowing windows to be
|
|
|
|
|
tiled on several screens.")
|
2016-02-28 06:37:22 +00:00
|
|
|
|
(license license:bsd-3)))
|
2015-09-11 08:11:51 +00:00
|
|
|
|
|
2017-07-23 18:31:51 +00:00
|
|
|
|
(define-public xmobar
|
|
|
|
|
(package
|
|
|
|
|
(name "xmobar")
|
|
|
|
|
(version "0.24.5")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://hackage/package/xmobar/"
|
|
|
|
|
name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0sdzfj2wa4wpig1i2i5n9qpwm90jp88qifsmaa7j37yhhs6snfir"))))
|
|
|
|
|
(build-system haskell-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("ghc-http" ,ghc-http)
|
|
|
|
|
("ghc-parsec" ,ghc-parsec)
|
|
|
|
|
("ghc-regex-compat" ,ghc-regex-compat)
|
|
|
|
|
("ghc-stm" ,ghc-stm)
|
|
|
|
|
("ghc-x11-xft" ,ghc-x11-xft)
|
|
|
|
|
("ghc-hinotify" ,ghc-hinotify)
|
|
|
|
|
("libxpm" ,libxpm)
|
|
|
|
|
("wireless-tools" ,wireless-tools)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:configure-flags
|
|
|
|
|
'("--flags=with_utf8 with_xft with_xpm with_inotify with_iwlib")))
|
|
|
|
|
(home-page "http://xmobar.org")
|
|
|
|
|
(synopsis "Minimalistic text based status bar")
|
|
|
|
|
(description
|
|
|
|
|
"@code{xmobar} is a lightweight, text-based, status bar written in
|
|
|
|
|
Haskell. It was originally designed to be used together with Xmonad, but it
|
|
|
|
|
is also usable with any other window manager. While xmobar is written in
|
|
|
|
|
Haskell, no knowledge of the language is required to install and use it.")
|
|
|
|
|
(license license:bsd-3)))
|
|
|
|
|
|
2015-09-11 08:11:51 +00:00
|
|
|
|
(define-public ghc-xmonad-contrib
|
|
|
|
|
(package
|
|
|
|
|
(name "ghc-xmonad-contrib")
|
2017-05-13 21:36:36 +00:00
|
|
|
|
(version "0.13")
|
2015-09-11 08:11:51 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
2016-11-19 17:42:12 +00:00
|
|
|
|
(uri (string-append "mirror://hackage/package/xmonad-contrib/"
|
2015-09-11 08:11:51 +00:00
|
|
|
|
"xmonad-contrib-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2017-05-13 21:36:36 +00:00
|
|
|
|
"0vj72jhfng6y7hv5frx2v99jvl3jn9rbpk2j7xw9vydiwmzq4q57"))))
|
2015-09-11 08:11:51 +00:00
|
|
|
|
(build-system haskell-build-system)
|
|
|
|
|
(propagated-inputs
|
|
|
|
|
`(("ghc-mtl" ,ghc-mtl)
|
2015-10-14 20:28:10 +00:00
|
|
|
|
("ghc-old-time" ,ghc-old-time)
|
2015-09-11 08:11:51 +00:00
|
|
|
|
("ghc-random" ,ghc-random)
|
|
|
|
|
("ghc-utf8-string" ,ghc-utf8-string)
|
|
|
|
|
("ghc-extensible-exceptions" ,ghc-extensible-exceptions)
|
|
|
|
|
("ghc-x11" ,ghc-x11)
|
|
|
|
|
("ghc-x11-xft" ,ghc-x11-xft)
|
|
|
|
|
("xmonad" ,xmonad)))
|
|
|
|
|
(home-page "http://xmonad.org")
|
|
|
|
|
(synopsis "Third party extensions for xmonad")
|
|
|
|
|
(description
|
|
|
|
|
"Third party tiling algorithms, configurations, and scripts to Xmonad, a
|
|
|
|
|
tiling window manager for X.")
|
2016-02-28 06:37:22 +00:00
|
|
|
|
(license license:bsd-3)))
|
2015-10-15 22:34:26 +00:00
|
|
|
|
|
|
|
|
|
(define-public evilwm
|
|
|
|
|
(package
|
|
|
|
|
(name "evilwm")
|
|
|
|
|
(version "1.1.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "http://www.6809.org.uk/evilwm/evilwm-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2015-10-22 22:41:39 +00:00
|
|
|
|
"0ak0yajzk3v4dg5wmaghv6acf7v02a4iw8qxmq5yw5ard8lrqn3r"))
|
2016-04-08 12:18:13 +00:00
|
|
|
|
(patches (search-patches "evilwm-lost-focus-bug.patch"))))
|
2015-10-15 22:34:26 +00:00
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxrandr" ,libxrandr)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:modules ((srfi srfi-26)
|
|
|
|
|
(guix build utils)
|
|
|
|
|
(guix build gnu-build-system))
|
|
|
|
|
#:make-flags (let ((inputs (map (cut assoc-ref %build-inputs <>)
|
|
|
|
|
'("libx11" "libxext" "libxrandr")))
|
|
|
|
|
(join (lambda (proc strs)
|
|
|
|
|
(string-join (map proc strs) " ")))
|
|
|
|
|
(dash-I (cut string-append "-I" <> "/include"))
|
|
|
|
|
(dash-L (cut string-append "-L" <> "/lib")))
|
|
|
|
|
`("desktopfilesdir=$(prefix)/share/xsessions"
|
|
|
|
|
,(string-append "prefix=" (assoc-ref %outputs "out"))
|
|
|
|
|
,(string-append "CPPFLAGS=" (join dash-I inputs))
|
|
|
|
|
,(string-append "LDFLAGS=" (join dash-L inputs))))
|
|
|
|
|
#:tests? #f ;no tests
|
|
|
|
|
#:phases (modify-phases %standard-phases
|
|
|
|
|
(delete 'configure)))) ;no configure script
|
|
|
|
|
(home-page "http://www.6809.org.uk/evilwm/")
|
|
|
|
|
(synopsis "Minimalist window manager for the X Window System")
|
|
|
|
|
(description
|
|
|
|
|
"evilwm is a minimalist window manager based on aewm, extended to feature
|
|
|
|
|
many keyboard controls with repositioning and maximize toggles, solid window
|
|
|
|
|
drags, snap-to-border support, and virtual desktops.")
|
2016-02-28 06:37:22 +00:00
|
|
|
|
(license (license:x11-style "file:///README"))))
|
|
|
|
|
|
|
|
|
|
(define-public fluxbox
|
|
|
|
|
(package
|
|
|
|
|
(name "fluxbox")
|
|
|
|
|
(version "1.3.7")
|
|
|
|
|
(synopsis "Small and fast window manager")
|
|
|
|
|
(source (origin
|
|
|
|
|
(method url-fetch)
|
2016-07-21 06:35:30 +00:00
|
|
|
|
(uri (string-append "mirror://sourceforge/fluxbox/fluxbox/"
|
2016-02-28 06:37:22 +00:00
|
|
|
|
version "/fluxbox-" version ".tar.xz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1h1f70y40qd225dqx937vzb4k2cz219agm1zvnjxakn5jkz7b37w"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags '("CPPFLAGS=-U__TIME__") ;ugly, but for reproducibility
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-after
|
|
|
|
|
'install 'install-xsession
|
|
|
|
|
(lambda _
|
|
|
|
|
(let ((xsessions (string-append %output "/share/xsessions")))
|
|
|
|
|
(mkdir-p xsessions)
|
|
|
|
|
(call-with-output-file
|
|
|
|
|
(string-append xsessions "/fluxbox.desktop")
|
|
|
|
|
(lambda (port)
|
|
|
|
|
(format port "~
|
|
|
|
|
[Desktop Entry]~@
|
|
|
|
|
Name=~a~@
|
|
|
|
|
Comment=~a~@
|
|
|
|
|
Exec=~a/bin/startfluxbox~@
|
|
|
|
|
Type=Application~%" ,name ,synopsis %output)))))))))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("pkg-config" ,pkg-config)))
|
|
|
|
|
(inputs
|
|
|
|
|
`(("freetype" ,freetype)
|
|
|
|
|
("fribidi" ,fribidi)
|
|
|
|
|
("imlib2" ,imlib2)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxext" ,libxext)
|
|
|
|
|
("libxft" ,libxft)
|
|
|
|
|
("libxinerama" ,libxinerama)
|
|
|
|
|
("libxpm" ,libxpm)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
|
("libxrender" ,libxrender)))
|
|
|
|
|
(description "Fluxbox is a window manager. It is light on resources
|
|
|
|
|
and easy to handle yet full of features to make an easy and fast desktop
|
|
|
|
|
experience.")
|
|
|
|
|
(home-page "http://fluxbox.org/")
|
|
|
|
|
(license license:expat)))
|
2016-06-15 12:15:33 +00:00
|
|
|
|
|
|
|
|
|
(define-public awesome
|
|
|
|
|
(package
|
|
|
|
|
(name "awesome")
|
2016-12-26 20:53:40 +00:00
|
|
|
|
(version "4.0")
|
2016-06-15 12:15:33 +00:00
|
|
|
|
(source
|
|
|
|
|
(origin (method url-fetch)
|
|
|
|
|
(uri (string-append
|
2016-12-26 20:53:40 +00:00
|
|
|
|
"https://github.com/awesomeWM/awesome-releases/raw/"
|
|
|
|
|
"master/awesome-" version ".tar.xz"))
|
2016-06-15 12:15:33 +00:00
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
2016-12-26 20:53:40 +00:00
|
|
|
|
"0czkcz67sab63gf5m2p2pgg05yinjx60hfb9rfyzdkkg28q9f02w"))
|
2016-06-15 12:15:33 +00:00
|
|
|
|
(modules '((guix build utils)
|
|
|
|
|
(srfi srfi-19)))
|
|
|
|
|
(snippet
|
|
|
|
|
;; Remove non-reproducible timestamp and use the date of the
|
|
|
|
|
;; source file instead.
|
|
|
|
|
'(substitute* "common/version.c"
|
|
|
|
|
(("__DATE__ \" \" __TIME__")
|
|
|
|
|
(date->string
|
|
|
|
|
(time-utc->date
|
|
|
|
|
(make-time time-utc 0
|
|
|
|
|
(stat:mtime (stat "awesome.c"))))
|
|
|
|
|
"\"~c\""))))
|
|
|
|
|
(patches (search-patches "awesome-reproducible-png.patch"))))
|
|
|
|
|
(build-system cmake-build-system)
|
|
|
|
|
(native-inputs `(("asciidoc" ,asciidoc)
|
|
|
|
|
("docbook-xsl" ,docbook-xsl)
|
|
|
|
|
("doxygen" ,doxygen)
|
|
|
|
|
("gperf" ,gperf)
|
|
|
|
|
("imagemagick" ,imagemagick)
|
|
|
|
|
("libxml2" ,libxml2) ;for XML_CATALOG_FILES
|
|
|
|
|
("pkg-config" ,pkg-config)
|
|
|
|
|
("xmlto" ,xmlto)))
|
|
|
|
|
(inputs `(("cairo" ,cairo)
|
|
|
|
|
("dbus" ,dbus)
|
|
|
|
|
("gdk-pixbuf" ,gdk-pixbuf)
|
|
|
|
|
("glib" ,glib)
|
2016-09-20 18:02:53 +00:00
|
|
|
|
("gobject-introspection" ,gobject-introspection)
|
2016-06-15 12:15:33 +00:00
|
|
|
|
("imlib2" ,imlib2)
|
|
|
|
|
("libev" ,libev)
|
|
|
|
|
("libxcb" ,libxcb)
|
|
|
|
|
("libxcursor" ,libxcursor)
|
|
|
|
|
("libxdg-basedir" ,libxdg-basedir)
|
2016-12-26 20:53:40 +00:00
|
|
|
|
("libxkbcommon" ,libxkbcommon)
|
2016-09-20 18:02:53 +00:00
|
|
|
|
("lua" ,lua)
|
|
|
|
|
("lua-lgi",lua-lgi)
|
2016-06-15 12:15:33 +00:00
|
|
|
|
("pango" ,pango)
|
|
|
|
|
("startup-notification" ,startup-notification)
|
|
|
|
|
("xcb-util" ,xcb-util)
|
|
|
|
|
("xcb-util-cursor" ,xcb-util-cursor)
|
|
|
|
|
("xcb-util-image" ,xcb-util-image)
|
|
|
|
|
("xcb-util-keysyms" ,xcb-util-keysyms)
|
|
|
|
|
("xcb-util-renderutil" ,xcb-util-renderutil)
|
2016-12-26 20:53:40 +00:00
|
|
|
|
("xcb-util-xrm" ,xcb-util-xrm)
|
2016-06-15 12:15:33 +00:00
|
|
|
|
("xcb-util-wm" ,xcb-util-wm)))
|
|
|
|
|
(arguments
|
|
|
|
|
`(;; Let compression happen in our 'compress-documentation' phase so that
|
|
|
|
|
;; '--no-name' is used, which removes timestamps from gzip output.
|
|
|
|
|
#:configure-flags '("-DCOMPRESS_MANPAGES=off")
|
|
|
|
|
|
2016-09-20 18:02:53 +00:00
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'xmlto-skip-validation
|
|
|
|
|
(lambda _
|
|
|
|
|
;; We can't download the necessary schema, so so skip
|
|
|
|
|
;; validation and assume they're valid.
|
|
|
|
|
(substitute* "../build/CMakeFiles/man.dir/build.make"
|
|
|
|
|
(("/xmlto")
|
|
|
|
|
(string-append "/xmlto --skip-validation")))
|
|
|
|
|
#t))
|
|
|
|
|
(add-before 'configure 'set-lua-paths
|
|
|
|
|
(lambda* (#:key inputs #:allow-other-keys)
|
|
|
|
|
;; The build process needs to load cairo dynamically.
|
|
|
|
|
(let* ((cairo (string-append
|
|
|
|
|
(assoc-ref inputs "cairo") "/lib" ))
|
|
|
|
|
(lua-lgi (assoc-ref inputs "lua-lgi") ))
|
|
|
|
|
(setenv "LD_LIBRARY_PATH" cairo )
|
|
|
|
|
(setenv "LUA_PATH" (string-append lua-lgi
|
|
|
|
|
"/share/lua/5.2/?.lua"))
|
|
|
|
|
(setenv "LUA_CPATH" (string-append lua-lgi
|
|
|
|
|
"/lib/lua/5.2/?.so"))
|
|
|
|
|
#t)))
|
|
|
|
|
(replace 'check
|
|
|
|
|
(lambda _
|
|
|
|
|
;; There aren't any tests, so just make sure the binary
|
|
|
|
|
;; gets built and can be run successfully.
|
|
|
|
|
(zero? (system* "../build/awesome" "-v"))))
|
|
|
|
|
(add-after 'install 'wrap
|
|
|
|
|
(lambda* (#:key inputs outputs #:allow-other-keys)
|
|
|
|
|
(let* ((awesome (assoc-ref outputs "out"))
|
|
|
|
|
(cairo (string-append
|
|
|
|
|
(assoc-ref inputs "cairo") "/lib" ))
|
|
|
|
|
(lua-lgi (assoc-ref inputs "lua-lgi") ))
|
|
|
|
|
(wrap-program (string-append awesome "/bin/awesome")
|
|
|
|
|
`("GI_TYPELIB_PATH" ":" prefix (,(getenv "GI_TYPELIB_PATH")))
|
|
|
|
|
`("LD_LIBRARY_PATH" suffix (, cairo))
|
|
|
|
|
`("LUA_PATH" suffix (,(string-append lua-lgi
|
|
|
|
|
"/share/lua/5.2/?.lua")))
|
|
|
|
|
`("LUA_CPATH" suffix (,(string-append
|
|
|
|
|
lua-lgi "/lib/lua/5.2/?.so"))))))))))
|
2016-06-15 12:15:33 +00:00
|
|
|
|
(synopsis "Highly configurable window manager")
|
|
|
|
|
(description
|
2016-08-20 20:56:46 +00:00
|
|
|
|
"Awesome has been designed as a framework window manager. It is fast, small,
|
|
|
|
|
dynamic and extensible using the Lua programming language.")
|
2016-06-15 12:15:33 +00:00
|
|
|
|
(license license:gpl2+)
|
|
|
|
|
(home-page "https://awesome.naquadah.org/")))
|
2017-01-18 12:47:21 +00:00
|
|
|
|
|
|
|
|
|
(define-public menumaker
|
|
|
|
|
(package
|
|
|
|
|
(name "menumaker")
|
|
|
|
|
(version "0.99.10")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "mirror://sourceforge/menumaker/"
|
|
|
|
|
"menumaker-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"1mm4cvg3kphkkd8nwrhcg6d9nm5ar7mgc0wf6fxk6zck1l7xn8ky"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python" ,python)))
|
|
|
|
|
(synopsis "Heuristics-driven menu generator")
|
|
|
|
|
(description
|
|
|
|
|
"MenuMaker is a menu generation utility for a number of X window
|
|
|
|
|
managers and desktop environments. It is capable of finding lots of
|
|
|
|
|
installed programs and generating a root menu consistent across all
|
|
|
|
|
supported window managers, so one will get (almost) the same menu in
|
|
|
|
|
all of them. Currently supported window managers include:
|
|
|
|
|
|
|
|
|
|
@enumerate
|
|
|
|
|
@item BlackBox
|
|
|
|
|
@item Deskmenu
|
|
|
|
|
@item FluxBox
|
|
|
|
|
@item IceWM
|
|
|
|
|
@item OpenBox
|
|
|
|
|
@item PekWM
|
|
|
|
|
@item WindowMaker
|
|
|
|
|
@item XFCE
|
|
|
|
|
@end enumerate\n")
|
|
|
|
|
(home-page "http://menumaker.sourceforge.net/")
|
|
|
|
|
(license license:bsd-2)))
|
2017-01-23 17:02:49 +00:00
|
|
|
|
|
|
|
|
|
(define-public keybinder
|
|
|
|
|
(package
|
|
|
|
|
(name "keybinder")
|
|
|
|
|
(version "0.3.1")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (string-append "https://github.com/engla/keybinder/releases/"
|
|
|
|
|
"download/v" version "/keybinder-"
|
|
|
|
|
version ".tar.gz"))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"0h52hj3ay8mfhwvmfxbxlfyq74hifdk8wxgxp7fr4iy6189hg7w7"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(inputs
|
|
|
|
|
`(("python-2" ,python-2)
|
|
|
|
|
("gtk+-2" ,gtk+-2)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("python2-pygtk" ,python2-pygtk)
|
|
|
|
|
("gtk-doc" ,gtk-doc)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "Library for registering global keyboard shortcuts")
|
|
|
|
|
(description
|
|
|
|
|
"Keybinder is a library for registering global keyboard shortcuts.
|
|
|
|
|
Keybinder works with GTK-based applications using the X Window System.")
|
|
|
|
|
(home-page "https://github.com/engla/keybinder")
|
|
|
|
|
(license license:gpl2+)))
|
2017-05-04 19:45:54 +00:00
|
|
|
|
|
|
|
|
|
(define-public spectrwm
|
|
|
|
|
(package
|
|
|
|
|
(name "spectrwm")
|
|
|
|
|
(version "3.0.2")
|
|
|
|
|
(source
|
|
|
|
|
(origin
|
|
|
|
|
(method url-fetch)
|
|
|
|
|
(uri (let ((version-with-underscores
|
|
|
|
|
(string-join (string-split version #\.) "_")))
|
|
|
|
|
(string-append "https://github.com/conformal/spectrwm/archive/"
|
|
|
|
|
"SPECTRWM_" version-with-underscores ".tar.gz")))
|
|
|
|
|
(file-name (string-append name "-" version ".tar.gz"))
|
|
|
|
|
(sha256
|
|
|
|
|
(base32
|
|
|
|
|
"065b7j8s0lxw3p58fyf3c1mr5203pdm0kww42v245rlx0f005kl2"))))
|
|
|
|
|
(build-system gnu-build-system)
|
|
|
|
|
(arguments
|
|
|
|
|
`(#:make-flags (let ((pkg-config (lambda (flag)
|
|
|
|
|
(string-append
|
|
|
|
|
"$(shell pkg-config " flag " "
|
|
|
|
|
"xft fontconfig x11 libpng)"))))
|
|
|
|
|
(list
|
|
|
|
|
"CC=gcc"
|
|
|
|
|
(string-append "PREFIX=" %output)
|
|
|
|
|
(string-append "INCS=-I. " (pkg-config "--cflags"))
|
|
|
|
|
(string-append "LIBS=" (pkg-config "--libs") " -lm")))
|
|
|
|
|
#:tests? #f ;No test suite
|
|
|
|
|
#:phases
|
|
|
|
|
(modify-phases %standard-phases
|
|
|
|
|
(add-before 'build 'change-dir
|
|
|
|
|
(lambda _
|
|
|
|
|
(chdir "linux") #t))
|
|
|
|
|
(add-after 'change-dir 'patch-makefile
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("-g") ""))))
|
|
|
|
|
(add-after 'change-dir 'fix-freetype-include
|
|
|
|
|
(lambda _
|
|
|
|
|
(substitute* "Makefile"
|
|
|
|
|
(("/usr/include/freetype2")
|
|
|
|
|
(string-append (assoc-ref %build-inputs "freetype")
|
|
|
|
|
"/include/freetype2")))))
|
|
|
|
|
(delete 'configure)))) ;no 'configure' exists
|
|
|
|
|
(inputs
|
|
|
|
|
`(("freetype" ,freetype)
|
|
|
|
|
("fontconfig" ,fontconfig)
|
|
|
|
|
("libx11" ,libx11)
|
|
|
|
|
("libxcursor" ,libxcursor)
|
|
|
|
|
("libxrandr" ,libxrandr)
|
|
|
|
|
("libxtst" ,libxtst)
|
|
|
|
|
("libxft" ,libxft)
|
|
|
|
|
("xcb-util" ,xcb-util)
|
|
|
|
|
("xcb-util-wm" ,xcb-util-wm)
|
|
|
|
|
("xcb-util-keysyms" ,xcb-util-keysyms)))
|
|
|
|
|
(native-inputs
|
|
|
|
|
`(("libxt" ,libxt)
|
|
|
|
|
("pkg-config" ,pkg-config)))
|
|
|
|
|
(synopsis "Minimalistic automatic tiling window manager")
|
|
|
|
|
(description
|
|
|
|
|
"Spectrwm is a small dynamic tiling and reparenting window manager for X11.
|
|
|
|
|
It is inspired by Xmonad and dwm. Its major features include:
|
|
|
|
|
|
|
|
|
|
@itemize
|
|
|
|
|
@item Navigation anywhere on all screens with either the keyboard or mouse
|
|
|
|
|
@item Customizable status bar
|
|
|
|
|
@item Restartable without losing state
|
|
|
|
|
@item Quick launch menu
|
|
|
|
|
@item Many screen layouts possible with a few simple key strokes
|
|
|
|
|
@item Move/resize floating windows
|
|
|
|
|
@item Extended Window Manager Hints (EWMH) support
|
|
|
|
|
@item Configureable tiling
|
|
|
|
|
@item Adjustable tile gap allows for a true one pixel border
|
|
|
|
|
@item Customizable colors and border width
|
|
|
|
|
@end itemize\n")
|
|
|
|
|
(home-page "https://github.com/conformal/spectrwm")
|
|
|
|
|
(license license:isc)))
|