aboutsummaryrefslogtreecommitdiff
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2016, 2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2017 Nikita <nikita@n0.is>
;;; Copyright © 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;;
;;; 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 fvwm)
  #:use-module ((guix licenses) #:select (gpl2+))
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system gnu)
  #:use-module (gnu packages fribidi)
  #:use-module (gnu packages gnome)
  #:use-module (gnu packages image)
  #:use-module (gnu packages perl)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages readline)
  #:use-module (gnu packages xml)
  #:use-module (gnu packages xorg))

(define-public fvwm
  (package
    (name "fvwm")
    (version "2.7.0")
    (source (origin
              (method url-fetch)
              (uri (string-append
                    "https://github.com/fvwmorg/fvwm/releases/download/"
                    version "/fvwm-" version ".tar.gz"))
              (sha256
               (base32
                "12s1wgkvrvl8m62gpb2918izfx9ysj7hgn9p00blfi3p1gb6v0k6"))))
    (build-system gnu-build-system)
    (arguments
     `(#:phases
       (modify-phases %standard-phases
         (add-after 'install 'install-xsession
           (lambda* (#:key outputs #:allow-other-keys)
             (let* ((out (assoc-ref outputs "out"))
                    (xsessions (string-append out "/share/xsessions")))
               (mkdir-p xsessions)
               (make-desktop-entry-file
                 (string-append xsessions "/fvwm2.desktop")
                 #:name "FVWM"
                 #:exec (string-append out "/bin/" ,name)
                 #:comment '("FVWM")))
             #t)))))
    (native-inputs
     `(("perl" ,perl)
       ("pkg-config" ,pkg-config)
       ("xsltproc" ,libxslt)))
    (inputs
     (list fribidi
           libpng
           (librsvg-for-system)
           libxcursor
           libxext
           libxft
           libxinerama
           libxpm
           libxt
           readline))
    (synopsis "Virtual window manager for X11")
    (description
     "FVWM is an extremely powerful ICCCM-compliant multiple virtual desktop
window manager for the X Window system.")
    (home-page "https://www.fvwm.org/")
    (license gpl2+)))
/td>Jan Nieuwenhuizen 2018-05-24gnu: mes: Update to 0.14....Jan Nieuwenhuizen 2018-05-24gnu: mescc-tools: Update to 0.4....Jan Nieuwenhuizen 2018-05-24gnu: Add nyacc-for-mes....Jan Nieuwenhuizen 2018-04-28gnu: mes: Update to 0.13....Jan Nieuwenhuizen 2018-04-10gnu: mes: Update to 0.12....Jan Nieuwenhuizen 2018-02-19gnu: nyacc: Update to 0.83.3....Tobias Geerinckx-Rice 2018-01-07gnu: mes: Generalize logic for native-inputs....Efraim Flashner 2017-12-03gnu: mescc-tools: Update to 0.3....Efraim Flashner 2017-11-18gnu: mes: Update to 0.11....Jan Nieuwenhuizen 2017-11-11gnu: nyacc: Update to 0.82.4....Jan Nieuwenhuizen 2017-09-11gnu: mes: Update to 0.10....Jan Nieuwenhuizen 2017-09-11gnu: nyacc: Update to 0.82.0....Jan Nieuwenhuizen 2017-07-29gnu: mes: Update to 0.9....Jan Nieuwenhuizen 2017-07-29gnu: mescc-tools: Update to 0.2....Jan Nieuwenhuizen 2017-06-29gnu: mes: Update to 0.8....Jan Nieuwenhuizen 2017-06-29gnu: Add mescc-tools....Jan Nieuwenhuizen 2017-06-26gnu: nyacc: Update to 0.80.3....Jan Nieuwenhuizen nu/packages/algebra.scm?id=b7194849ad9d059956d287396a4587a896113d20'>Rename references to (gnu packages tcsh)....ng0 2016-07-18gnu: giac-xcas: Update to 1.2.2-75....Nicolas Goaziou 2016-06-24gnu: pari-gp: Update to 2.7.6....Andreas Enge 2016-06-13gnu: giac-xcas: Update to 1.2.2-59...Nicolas Goaziou 2016-05-26gnu: Rename texlive module to tex....Roel Janssen 2016-05-12gnu: Update module imports for asciidoc and doxygen....Mark H Weaver 2016-04-29gnu: eigen: Update to 3.2.8....Ricardo Wurmus 2016-04-29gnu: giac-xcas: Update to 1.2.2-41....Nicolas Goaziou 2016-04-14gnu: packages: Use 'search-patches' everywhere....Alex Kost 2016-04-13gnu: Add giac-xcas....Nicolas Goaziou 2016-04-13gnu: Add GMP-ECM....Andreas Enge 2016-04-08gnu: singular: Update hash....Andreas Enge 2016-04-06gnu: Add singular....Andreas Enge 2016-04-05gnu: Add NTL....Andreas Enge 2016-03-24gnu: pari-gp: Syntactic changes....Andreas Enge 2016-03-16gnu: cm: Update to 0.3....Andreas Enge 2016-02-16gnu: pari-gp: Build documentation....Andreas Enge 2016-01-20gnu: arb: Update to 2.8.1....Andreas Enge 2016-01-11gnu: gp2c: Update to 0.0.9pl5....Andreas Enge