1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
3 ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
4 ;;; Copyright © 2017 ng0 <ng0@n0.is>
6 ;;; This file is part of GNU Guix.
8 ;;; GNU Guix is free software; you can redistribute it and/or modify it
9 ;;; under the terms of the GNU General Public License as published by
10 ;;; the Free Software Foundation; either version 3 of the License, or (at
11 ;;; your option) any later version.
13 ;;; GNU Guix is distributed in the hope that it will be useful, but
14 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;;; GNU General Public License for more details.
18 ;;; You should have received a copy of the GNU General Public License
19 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
21 (define-module (gnu packages fvwm)
22 #:use-module ((guix licenses) #:select (gpl2+))
23 #:use-module (guix packages)
24 #:use-module (guix download)
25 #:use-module (guix build-system gnu)
26 #:use-module (gnu packages fribidi)
27 #:use-module (gnu packages gnome)
28 #:use-module (gnu packages image)
29 #:use-module (gnu packages perl)
30 #:use-module (gnu packages pkg-config)
31 #:use-module (gnu packages readline)
32 #:use-module (gnu packages xml)
33 #:use-module (gnu packages xorg))
42 "https://github.com/fvwmorg/fvwm/releases/download/"
43 version "/" name "-" version ".tar.gz"))
46 "0hgkkdzcqjnaabvv9cnh0bz90nnjskbhjg9qnzpi2x0mbliwjdpv"))))
47 (build-system gnu-build-system)
50 (modify-phases %standard-phases
51 (add-after 'install 'install-xsession
52 (lambda* (#:key outputs #:allow-other-keys)
53 (let* ((out (assoc-ref outputs "out"))
54 (xsessions (string-append out "/share/xsessions")))
57 (string-append xsessions "/fvwm2.desktop")
64 TryExec=~@*~a/bin/fvwm~@
71 ("pkg-config" ,pkg-config)
72 ("xsltproc" ,libxslt)))
74 `(("fribidi" ,fribidi)
77 ("libxcursor" ,libxcursor)
80 ("libxinerama" ,libxinerama)
83 ("readline" ,readline)))
84 (synopsis "Virtual window manager for X11")
86 "FVWM is an extremely powerful ICCCM-compliant multiple virtual desktop
87 window manager for the X Window system.")
88 (home-page "http://www.fvwm.org/")