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 Nikita <nikita@n0.is>
5 ;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
7 ;;; This file is part of GNU Guix.
9 ;;; GNU Guix is free software; you can redistribute it and/or modify it
10 ;;; under the terms of the GNU General Public License as published by
11 ;;; the Free Software Foundation; either version 3 of the License, or (at
12 ;;; your option) any later version.
14 ;;; GNU Guix is distributed in the hope that it will be useful, but
15 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
16 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 ;;; GNU General Public License for more details.
19 ;;; You should have received a copy of the GNU General Public License
20 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
22 (define-module (gnu packages fvwm)
23 #:use-module ((guix licenses) #:select (gpl2+))
24 #:use-module (guix packages)
25 #:use-module (guix download)
26 #:use-module (guix build-system gnu)
27 #:use-module (gnu packages fribidi)
28 #:use-module (gnu packages gnome)
29 #:use-module (gnu packages image)
30 #:use-module (gnu packages perl)
31 #:use-module (gnu packages pkg-config)
32 #:use-module (gnu packages readline)
33 #:use-module (gnu packages xml)
34 #:use-module (gnu packages xorg))
43 "https://github.com/fvwmorg/fvwm/releases/download/"
44 version "/fvwm-" version ".tar.gz"))
47 "1bliqcnap7vb3m2rn8wvxyfhbf35h9x34s41fl4301yhrkrlrihv"))))
48 (build-system gnu-build-system)
51 (modify-phases %standard-phases
52 (add-after 'install 'install-xsession
53 (lambda* (#:key outputs #:allow-other-keys)
54 (let* ((out (assoc-ref outputs "out"))
55 (xsessions (string-append out "/share/xsessions")))
57 (make-desktop-entry-file
58 (string-append xsessions "/fvwm2.desktop")
60 #:exec (string-append out "/bin/" ,name)
65 ("pkg-config" ,pkg-config)
66 ("xsltproc" ,libxslt)))
68 `(("fribidi" ,fribidi)
71 ("libxcursor" ,libxcursor)
74 ("libxinerama" ,libxinerama)
77 ("readline" ,readline)))
78 (synopsis "Virtual window manager for X11")
80 "FVWM is an extremely powerful ICCCM-compliant multiple virtual desktop
81 window manager for the X Window system.")
82 (home-page "https://www.fvwm.org/")