From c1b0c7d9769b356ef246791b6cf8b70f34014d45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Date: Sat, 17 Jan 2015 17:10:17 +0800 Subject: [PATCH] gnu: Add fvwm. * gnu/packages/fvwm.scm: New file. * gnu-system.am (GNU_SYSTEM_MODULES): Add it. --- gnu-system.am | 1 + gnu/packages/fvwm.scm | 66 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) create mode 100644 gnu/packages/fvwm.scm diff --git a/gnu-system.am b/gnu-system.am index a402afba39..f29b45294e 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -96,6 +96,7 @@ GNU_SYSTEM_MODULES = \ gnu/packages/freeipmi.scm \ gnu/packages/ftp.scm \ gnu/packages/fribidi.scm \ + gnu/packages/fvwm.scm \ gnu/packages/game-development.scm \ gnu/packages/games.scm \ gnu/packages/gawk.scm \ diff --git a/gnu/packages/fvwm.scm b/gnu/packages/fvwm.scm new file mode 100644 index 0000000000..b994fbf6b6 --- /dev/null +++ b/gnu/packages/fvwm.scm @@ -0,0 +1,66 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright © 2015 Sou Bunnbu +;;; +;;; 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 . + +(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.6.5") + (source (origin + (method url-fetch) + (uri (string-append + "ftp://ftp.fvwm.org/pub/fvwm/version-2/fvwm-" + version ".tar.bz2")) + (sha256 + (base32 + "1ks8igvmzm0m0sra05k8xzc8vkqy3gv1qskl6davw1irqnarjm11")))) + (build-system gnu-build-system) + (native-inputs + `(("perl" ,perl) + ("pkg-config" ,pkg-config) + ("xsltproc" ,libxslt))) + (inputs + `(("fribidi" ,fribidi) + ("libpng" ,libpng) + ("librsvg" ,librsvg) + ("libxcursor" ,libxcursor) + ("libxext" ,libxext) + ("libxft" ,libxft) + ("libxinerama" ,libxinerama) + ("libxpm" ,libxpm) + ("libxt" ,libxt) + ("readline" ,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 "http://www.fvwm.org/") + (license gpl2+)))