Commit | Line | Data |
---|---|---|
4aa0891c JG |
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2013 Guy Grant <gzg@riseup.net> | |
3 | ;;; | |
4 | ;;; This file is part of GNU Guix. | |
5 | ;;; | |
6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it | |
7 | ;;; under the terms of the GNU General Public License as published by | |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at | |
9 | ;;; your option) any later version. | |
10 | ;;; | |
11 | ;;; GNU Guix is distributed in the hope that it will be useful, but | |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | ;;; GNU General Public License for more details. | |
15 | ;;; | |
16 | ;;; You should have received a copy of the GNU General Public License | |
17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. | |
18 | ||
19 | (define-module (gnu packages slim) | |
20 | #:use-module ((guix licenses) | |
21 | #:renamer (symbol-prefix-proc 'l:)) | |
22 | #:use-module (guix packages) | |
23 | #:use-module (guix download) | |
24 | #:use-module (guix build-system cmake) | |
25 | #:use-module (guix packages) | |
26 | #:use-module (gnu packages gl) | |
27 | #:use-module (gnu packages xorg) | |
28 | #:use-module (gnu packages libpng) | |
29 | #:use-module (gnu packages libjpeg) | |
30 | #:use-module (gnu packages fontutils) | |
31 | #:use-module (gnu packages pkg-config) | |
32 | #:use-module (gnu packages linux)) | |
33 | ||
34 | (define-public slim | |
35 | (package | |
36 | (name "slim") | |
37 | (version "1.3.3") | |
38 | (source (origin | |
39 | (method url-fetch) | |
40 | (uri (string-append "mirror://sourceforge/project/slim.berlios/slim-" | |
41 | version ".tar.gz")) | |
42 | (sha256 | |
43 | (base32 "1fdvipj3658s8dm78djmfr8xhg6l8rr7kc4qcb34bjrnkkclhln1")))) | |
44 | (build-system cmake-build-system) | |
45 | (inputs `(("linux-pam" ,linux-pam) | |
46 | ("libpng" ,libpng) | |
47 | ("libjpeg" ,libjpeg) | |
48 | ("freeglut" ,freeglut) | |
49 | ("libxrandr" ,libxrandr) | |
50 | ("libxrender" ,libxrender) | |
51 | ("freetype" ,freetype) | |
52 | ("fontconfig" ,fontconfig) | |
c4c4cc05 | 53 | ("libx11" ,libx11) |
4aa0891c JG |
54 | ("libxft" ,libxft) |
55 | ("libxmu" ,libxmu) | |
56 | ("xauth" ,xauth))) | |
c4c4cc05 JD |
57 | (native-inputs |
58 | `(("pkg-config" ,pkg-config))) | |
4aa0891c JG |
59 | (arguments |
60 | '(#:phases (alist-cons-before | |
61 | 'configure 'set-new-etc-location | |
62 | (lambda _ | |
63 | (substitute* "CMakeLists.txt" | |
64 | (("/etc") | |
65 | (string-append | |
66 | (assoc-ref %outputs "out") "/etc")))) | |
67 | %standard-phases) | |
68 | #:configure-flags '("-DUSE_PAM=yes" "-DUSE_CONSOLEKIT=no") | |
69 | #:tests? #f)) | |
70 | (home-page "http://www.slim.berlios.de/") | |
71 | (synopsis "Desktop-independent graphcal login manager for X11") | |
72 | (description | |
73 | "SLiM is a Desktop-independent graphical login manager for X11, derived | |
74 | from Login.app. It aims to be light and simple, although completely configurable | |
75 | through themes and an option file; is suitable for machines on which remote login | |
76 | functionalities are not needed. | |
77 | ||
78 | Features included: PNG and XFT support for alpha transparency and antialiased fonts, | |
79 | External themes support, Configurable runtime options: X server -- login / shutdown / reboot | |
80 | commands, Single (GDM-like) or double (XDM-like) input control, Can load predefined user at | |
81 | startup, Configurable welcome / shutdown messages, Random theme selection") | |
82 | (license l:gpl2))) |