about
aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ratpoison.scm
blob: 42e17b63d9f88cb369665beb24a7751c651a2b6e (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013, 2014, 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2015 Mathieu Lirzin <mthl@openmailbox.org>
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
;;;
;;; 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 ratpoison)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module ((guix licenses) #:select (gpl2+))
  #:use-module (gnu packages)
  #:use-module (gnu packages xorg)
  #:use-module (gnu packages perl)
  #:use-module (gnu packages readline)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages fontutils))

(define-public ratpoison
  (package
    (name "ratpoison")
    (version "1.4.9")
    (source
     (origin (method url-fetch)
             (uri (string-append "mirror://savannah/ratpoison/ratpoison-"
                                 version ".tar.xz"))
             (sha256
              (base32
               "1wfir1gvh5h7izgvx2kd1pr2k7wlncd33zq7qi9s9k2y0aza93yr"))
             (patches (search-patches "ratpoison-shell.patch"))))
    (build-system gnu-build-system)
    (arguments
     `(#:modules ((ice-9 format)
                  ,@%gnu-build-system-modules)
       #:phases
       (modify-phases %standard-phases
         (add-after 'install 'install-xsession
           (lambda* (#:key outputs #:allow-other-keys)
             ;; Add a .desktop file to xsessions.
             (let* ((output    (assoc-ref outputs "out"))
                    (xsessions (string-append output "/share/xsessions")))
               (mkdir-p xsessions)
               (call-with-output-file (string-append xsessions
                                                     "/ratpoison.desktop")
                 (lambda (port)
                   (format port
                           "[Desktop Entry]~@
                            Name=ratpoison~@
                            Comment=Tiling window manager: say goodbye to the rodent!~@
                            Exec=~a/bin/ratpoison~@
                            TryExec=~@*~a/bin/ratpoison~@
                            Type=Application~%"
                           output)))
               #t))))))
    (inputs
     `(("fontconfig" ,fontconfig)
       ("freetype" ,freetype)
       ("libXft" ,libxft)
       ("libXi" ,libxi)
       ("libxrandr" ,libxrandr)
       ("libXpm" ,libxpm)
       ("libXt" ,libxt)
       ("libXtst" ,libxtst)
       ("libX11" ,libx11)
       ("readline" ,readline)
       ("xorgproto" ,xorgproto)))
    (native-inputs
     `(("perl" ,perl)
       ("pkg-config" ,pkg-config)))
    (home-page "https://www.nongnu.org/ratpoison/")
    (synopsis "Simple mouse-free tiling window manager")
    (description
     "Ratpoison is a simple window manager with no fat library
dependencies, no fancy graphics, no window decorations, and no
rodent dependence.  It is largely modelled after GNU Screen which
has done wonders in the virtual terminal market.

The screen can be split into non-overlapping frames.  All windows
are kept maximized inside their frames to take full advantage of
your precious screen real estate.

All interaction with the window manager is done through keystrokes.
Ratpoison has a prefix map to minimize the key clobbering that
cripples Emacs and other quality pieces of software.")
    (license gpl2+)))
'>gnu: ccache: Update to 3.3.3....* gnu/packages/ccache.scm (ccache): Update to 3.3.3. Efraim Flashner 2016-10-30gnu: python-waf: Update to 1.9.5....* gnu/packages/python.scm (python-waf): Update to 1.9.5. [arguments]: Shorten custom build phase. [source]: Use http. [home-page]: Use http. Efraim Flashner 2016-10-29gnu: ffmpeg: Update to 3.2....* gnu/packages/video.scm (ffmpeg): Update to 3.2. Efraim Flashner 2016-10-29gnu: vapoursynth: Update to 35....* gnu/packages/video.scm (vapoursynth): Update to 35. Efraim Flashner 2016-10-29gnu: offlineimap: Update to 7.0.9....* gnu/packages/mail.scm (offlineimap): Update to 7.0.9. Efraim Flashner 2016-10-29gnu: chess: Update to 6.2.4....* gnu/packages/games.scm (chess): Update to 6.2.4. [home-page]: Use https. Efraim Flashner 2016-10-29gnu: vim: Update to 8.0.0054....* gnu/packages/vim.scm (vim): Update to 8.0.0054. Marius Bakke 2016-10-29gnu: borg: Update to 1.0.8....* gnu/packages/backup.scm (borg): Update to 1.0.8. Tobias Geerinckx-Rice 2016-10-29gnu: Add radeontop....* gnu/packages/linux.scm (radeontop): New variable. Tobias Geerinckx-Rice 2016-10-28gnu: linux-libre: Update to 4.8.5....* gnu/packages/linux.scm (%linux-libre-version, %linux-libre-hash) (linux-libre): Update to 4.8.5. Mark H Weaver 2016-10-28gnu: linux-libre@4.4: Update to 4.4.28....* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.28. Mark H Weaver 2016-10-28gnu: mumps: Upgrade to 5.0.2....* gnu/packages/maths.scm (mumps): Upgrade to 5.0.2. [arguments]: Properly return boolean from install phase. Eric Bavier 2016-10-28gnu: vim: Update to 8.0.0051....* gnu/packages/vim.scm (vim): Update to 8.0.0051. [source]: Change to github release archive. Marius Bakke 2016-10-28gnu: python-twobitreader: Update to 3.1.4....* gnu/packages/bioinformatics.scm (python-twobitreader, python2-twobitreader): Update to 3.1.4. Leo Famulari 2016-10-28gnu: python-twobitreader: Disable the test suite....The tests were silently skipped with Python 3.4. With Python 3.5, this caused the build of python-twobitreader to fail. * gnu/packages/bioinformatics.scm (python-twobitreader, python2-twobitreader)[arguments]: Disable the tests. Leo Famulari 2016-10-28gnu: Add emacs-org-trello....* gnu/packages/emacs.scm (emacs-org-trello): New variable. Roel Janssen 2016-10-28gnu: python-wsgiproxy2: Disable the test suite....* gnu/packages/python.scm (python-wsgiproxy2, python2-wsgiproxy2)[arguments]: Disable the tests. Leo Famulari 2016-10-28gnu: python-beautifulsoup4: Update to 4.5.1....* gnu/packages/python.scm (python-beautifulsoup4, python2-beautifulsoup4): Update to 4.5.1. Leo Famulari 2016-10-28gnu: python-beautifulsoup4: Run the test suite....* gnu/packages/python.scm (python-beautifulsoup4)[arguments]: Add field run python-2 -> python-3 conversion script and test suite. (python2-beautifulsoup4)[arguments]: Specify use of python-2. Leo Famulari 2016-10-28gnu: python-feedparser: Disable the test suite....The tests were silently skipped with Python 3.4. With Python 3.5, this caused the build of python-feedparser to fail. * gnu/packages/python.scm (python-feedparser, python2-feedparser)[arguments]: Disable the tests. Leo Famulari 2016-10-28gnu: libwebp: Fix CVE-2016-9085....* gnu/packages/patches/libwebp-CVE-2016-9085.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/image.scm (libwebp)[source]: Use it. Leo Famulari 2016-10-28gnu: libwebp: Update to 0.5.1....* gnu/packages/image.scm (libwebp): Update to 0.5.1. Leo Famulari 2016-10-28gnu: Add emacs-request....* gnu/packages/emacs.scm (emacs-request): New variable. Roel Janssen 2016-10-28gnu: Add qwt....* gnu/packages/qt.scm (qwt): New variable. Signed-off-by: Marius Bakke <mbakke@fastmail.com> Thomas Danckaert 2016-10-27gnu: Add r-mutationalpatterns....* gnu/packages/bioinformatics.scm (r-mutationalpatterns): New variable. Roel Janssen 2016-10-27gnu: jasper: Updat eto 1.900.16....* gnu/packages/image.scm (japer): Update to 1.900.16. Efraim Flashner 2016-10-27gnu: windowmaker: Add support for more image formats....* gnu/packages/gnustep.scm (windowmaker)[inputs]: Add giflib, libpng, and libtiff. Kei Kebreau 2016-10-27gnu: r: Use uname from Guix...* gnu/packages/statistics.scm (r): Use uname from Guix. Roel Janssen