aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/slim.scm
blob: 70aab8cc96a69bf463d3ffac86891244b309b543 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2013 Guy Grant <gzg@riseup.net>
;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Andreas Enge <andreas@enge.fr>
;;;
;;; 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 slim)
  #:use-module ((guix licenses) #:prefix l:)
  #:use-module (guix packages)
  #:use-module (guix download)
  #:use-module (guix build-system cmake)
  #:use-module (guix packages)
  #:use-module (gnu packages)
  #:use-module (gnu packages gl)
  #:use-module (gnu packages xorg)
  #:use-module (gnu packages image)
  #:use-module (gnu packages fontutils)
  #:use-module (gnu packages pkg-config)
  #:use-module (gnu packages linux))

(define-public slim
  (package
    (name "slim")
    (version "1.3.6")
    (source (origin
	     (method url-fetch)
             ;; Used to be available from
             ;; mirror://sourceforge/project/slim.berlios/.
	     (uri (string-append "http://download.berlios.de/slim/slim-"
				  version ".tar.gz"))
	     (sha256
	      (base32 "1pqhk22jb4aja4hkrm7rjgbgzjyh7i4zswdgf5nw862l2znzxpi1"))
             (patches (map search-patch
                           (list "slim-config.patch" "slim-session.patch"
                                 "slim-sigusr1.patch")))))
    (build-system cmake-build-system)
    (inputs `(("linux-pam" ,linux-pam)
	      ("libpng" ,libpng)
	      ("libjpeg" ,libjpeg)
	      ("freeglut" ,freeglut)
	      ("libxrandr" ,libxrandr)
	      ("libxrender" ,libxrender)
	      ("freetype" ,freetype)
	      ("fontconfig" ,fontconfig)
              ("libx11" ,libx11)
	      ("libxft" ,libxft)
	      ("libxmu" ,libxmu)
	      ("xauth" ,xauth)))
    (native-inputs
     `(("pkg-config" ,pkg-config)))
    (arguments
     '(#:phases (alist-cons-before
		 'configure 'set-new-etc-location
		 (lambda _
		   (substitute* "CMakeLists.txt"
		     (("/etc")
		      (string-append (assoc-ref %outputs "out") "/etc"))
                     (("install.*systemd.*")
                      ;; The build system's logic here is: if "Linux", then
                      ;; "systemd".  Strip that.
                      "")))
		 %standard-phases)
       #:configure-flags '("-DUSE_PAM=yes"
                           "-DUSE_CONSOLEKIT=no")
       #:tests? #f))
    (home-page "http://slim.berlios.de/")
    (synopsis "Desktop-independent graphcal login manager for X11")
    (description
     "SLiM is a Desktop-independent graphical login manager for X11, derived
from Login.app. It aims to be light and simple, although completely configurable
through themes and an option file; is suitable for machines on which remote login
functionalities are not needed.

Features included: PNG and XFT support for alpha transparency and antialiased fonts,
External themes support, Configurable runtime options: X server -- login / shutdown / reboot
commands, Single (GDM-like) or double (XDM-like) input control, Can load predefined user at
startup, Configurable welcome / shutdown messages, Random theme selection")
    (license l:gpl2)))
Geerinckx-Rice 2017-01-24gnu: the-silver-searcher: Fix & improve description....* gnu/packages/code.scm (the-silver-searcher)[description]: Fix typo, use @command and @file mark-up, and clarify a bit. Tobias Geerinckx-Rice 2017-01-24gnu: the-silver-searcher: Update to 1.0.2....* gnu/packages/code.scm (the-silver-searcher): Update to 1.0.2. [source]: Use signed tarball from home-page. Remove file-name. [native-inputs]: Remove autoconf, automake, and libtool, as well as... [arguments]: ...the ‘autoconf’ phase since we're now building a release. Tobias Geerinckx-Rice 2017-01-04gnu: global: Update to 6.5.6....* gnu/packages/code.scm (global): Update to 6.5.6. Tobias Geerinckx-Rice 2016-10-04gnu: global: Update to 6.5.5....* gnu/packages/code.scm (global): Update to 6.5.5. Ludovic Courtès 2016-08-01gnu: Add trio....* gnu/packages/code.scm (trio): New variable. Ricardo Wurmus 2016-07-28gnu: the-silver-searcher: Update to 0.32.0....* gnu/packages/code.scm(the-silver-searcher): Update to 0.32.0. Tomáš Čech 2016-07-21gnu: Update URLs for sourceforge.net....* gnu/packages/admin.scm: Update URLs pointing to sourceforge.net. * gnu/packages/audacity.scm: Likewise. * gnu/packages/audio.scm: Likewise. * gnu/packages/bioinformatics.scm: Likewise. * gnu/packages/boost.scm: Likewise. * gnu/packages/cdrom.scm: Likewise. * gnu/packages/code.scm: Likewise. * gnu/packages/compression.scm: Likewise. * gnu/packages/cups.scm: Likewise. * gnu/packages/djvu.scm: Likewise. * gnu/packages/docbook.scm: Likewise. * gnu/packages/documentation.scm: Likewise. * gnu/packages/flashing-tools.scm: Likewise. * gnu/packages/fonts.scm: Likewise. * gnu/packages/fontutils.scm: Likewise. * gnu/packages/games.scm: Likewise. * gnu/packages/ghostscript.scm: Likewise. * gnu/packages/gl.scm: Likewise. * gnu/packages/gnucash.scm: Likewise. * gnu/packages/graphviz.scm: Likewise. * gnu/packages/image.scm: Likewise. * gnu/packages/libreoffice.scm: Likewise. * gnu/packages/libusb.scm: Likewise. * gnu/packages/linux.scm: Likewise. * gnu/packages/lirc.scm: Likewise. * gnu/packages/maths.scm: Likewise. * gnu/packages/mcrypt.scm: Likewise. * gnu/packages/mp3.scm: Likewise. * gnu/packages/music.scm: Likewise. * gnu/packages/networking.scm: Likewise. * gnu/packages/onc-rpc.scm: Likewise. * gnu/packages/password-utils.scm: Likewise. * gnu/packages/pdf.scm: Likewise. * gnu/packages/perl.scm: Likewise. * gnu/packages/photo.scm: Likewise. * gnu/packages/popt.scm: Likewise. * gnu/packages/python.scm: Likewise. * gnu/packages/rdesktop.scm: Likewise. * gnu/packages/screen.scm: Likewise. * gnu/packages/swig.scm: Likewise. * gnu/packages/tcl.scm: Likewise. * gnu/packages/version-control.scm: Likewise. * gnu/packages/video.scm: Likewise. * gnu/packages/w3m.scm: Likewise. * gnu/packages/web.scm: Likewise. * gnu/packages/wm.scm: Likewise. * gnu/packages/xdisorg.scm: Likewise. * gnu/packages/xml.scm: Likewise. Leo Famulari 2016-05-24gnu: Use 'emacs-minimal' instead of 'emacs-no-x'....* gnu/packages/code.scm (cflow)[native-inputs]: Use 'emacs-minimal' instead of 'emacs-no-x'. * gnu/packages/databases.scm (recutils): Likewise. * gnu/packages/finance.scm (ledger): Likewise * gnu/packages/idutils.scm (idutils): Likewise. * gnu/packages/mail.scm (mu): Likewise. * gnu/packages/ocaml.scm (proof-general): Likewise. * gnu/packages/package-management.scm (guix-0.10.0): Likewise. * gnu/packages/plotutils.scm (asymptote): Likewise. * gnu/packages/scheme.scm (scmutils): Likewise. * gnu/packages/version-control.scm (vc-dwim): Likewise. * gnu/packages/emacs.scm (geiser): Likewise. (paredit): Likewise. (git-modes): Likewise. (magit): Likewise. (magit-svn): Likewise. (haskell-mode): Likewise. (let-alist): Likewise. (emacs-w3m): Likewise. (emacs-wget): Likewise. (emms): Likewise. (bbdb): Likewise. (emacs-mmm-mode): Likewise. (emacs-pdf-tools): Likewise. (emacs-popup)[native-inputs]: Remove as it is not needed for emacs-build-system. (emacs-rfcview): Likewise. (emacs-ffap-rfc-space): Likewise. Alex Kost 2016-05-17gnu: cflow: Update to 1.5....* gnu/packages/code.scm (cflow): Update to 1.5. Efraim Flashner 2016-04-04gnu: global: Update to 6.5.4....* gnu/packages/code.scm (global): Update to 6.5.4. Efraim Flashner 2016-03-10gnu: lcov: Update to 1.12....* gnu/packages/code.scm (lcov): Update to 1.12. Efraim Flashner 2016-03-10gnu: the-silver-searcher: Update to 0.31.0....* gnu/packages/code.scm (the-silver-searcher): Update to 0.31.0. Efraim Flashner 2016-03-10gnu: complexity: Update to 1.10....* gnu/packages/code.scm (complexity): Update to 1.10. Efraim Flashner 2016-03-09gnu: complexity: Update to 1.9....* gnu/packages/code.scm (complexity): Update to 1.9. Ludovic Courtès 2016-01-12gnu: global: Use modify-phases syntax....* gnu/packages/code.scm (global)[arguments]: Use modify-phases syntax. Efraim Flashner 2016-01-12gnu: global: Update to 6.5.2....* gnu/packages/code.scm (global): Update to 6.5.2. Efraim Flashner 2015-12-30gnu: Add lcov....* gnu/packages/code.scm (lcov): New variable. Ludovic Courtès 2015-10-17gnu: complexity: Update to 1.3....* gnu/packages/code.scm (complexity): Update to 1.3. Ludovic Courtès 2015-09-26gnu: global: Update to 6.5.1....* gnu/packages/code.scm (global): Update to 6.5.1. Andreas Enge 2015-08-29gnu: Use 'install-file' instead of 'mkdir-p' and 'copy-file' in obvious cases....* gnu/packages/bioinformatics.scm (bedtools, bowtie, bwa, hisat, samtools, plink, star): Use 'install-file' instead of 'mkdir-p' + 'copy-file'. * gnu/packages/check.scm (catch-framework): Likewise. * gnu/packages/code.scm (global): Likewise. * gnu/packages/emacs.scm (magit-svn, haskell-mode, emacs-pdf-tools): Likewise. * gnu/packages/engineering.scm (fastcap, fasthenry): Likewise. * gnu/packages/gnuzilla.scm (nss): Likewise. * gnu/packages/guile.scm (guile-minikanren): Likewise. * gnu/packages/java.scm (swt): Likewise. * gnu/packages/make-bootstrap.scm (%static-binaries): Likewise. * gnu/packages/maths.scm (lpsolve): Likewise. * gnu/packages/mp3.scm (mpc123): Likewise. * gnu/packages/ninja.scm (ninja): Likewise. * gnu/packages/python.scm (python-numpy, python-pyparsing): Likewise. * gnu/packages/screen.scm (dtach): Likewise. * gnu/packages/synergy.scm (synergy): Likewise. * gnu/packages/textutils.scm (utf8proc): Likewise. * gnu/packages/version-control.scm (git-test-sequence): Likewise. * gnu/packages/wicd.scm (wicd): Likewise. Ludovic Courtès 2015-07-18gnu packages: Clean up synopses and descriptions....* gnu/packages/admin.scm, gnu/packages/algebra.scm, gnu/packages/audio.scm, gnu/packages/backup.scm, gnu/packages/base.scm, gnu/packages/bittorrent.scm, gnu/packages/code.scm, gnu/packages/compression.scm, gnu/packages/databases.scm, gnu/packages/enchant.scm, gnu/packages/firmware.scm, gnu/packages/fonts.scm, gnu/packages/freedesktop.scm, gnu/packages/games.scm, gnu/packages/gd.scm, gnu/packages/gl.scm, gnu/packages/gnome.scm, gnu/packages/gsasl.scm, gnu/packages/gstreamer.scm, gnu/packages/gtk.scm, gnu/packages/guile.scm, gnu/packages/haskell.scm, gnu/packages/language.scm, gnu/packages/lesstif.scm, gnu/packages/libreoffice.scm, gnu/packages/linux.scm, gnu/packages/llvm.scm, gnu/packages/maths.scm, gnu/packages/mcrypt.scm, gnu/packages/mit-krb5.scm, gnu/packages/mp3.scm, gnu/packages/ncdu.scm, gnu/packages/networking.scm, gnu/packages/ntp.scm, gnu/packages/ocaml.scm, gnu/packages/openbox.scm, gnu/packages/pdf.scm, gnu/packages/perl.scm, gnu/packages/pretty-print.scm, gnu/packages/pulseaudio.scm, gnu/packages/python.scm, gnu/packages/rdesktop.scm, gnu/packages/rdf.scm, gnu/packages/ruby.scm, gnu/packages/slang.scm, gnu/packages/slim.scm, gnu/packages/telephony.scm, gnu/packages/tls.scm, gnu/packages/tmux.scm, gnu/packages/tre.scm, gnu/packages/unrtf.scm, gnu/packages/version-control.scm, gnu/packages/vpn.scm, gnu/packages/web.scm, gnu/packages/wget.scm, gnu/packages/xdisorg.scm, gnu/packages/xfce.scm, gnu/packages/xiph.scm: Fix typos. Trim long lines. Add missing periods in the end of sentences. Use double spaces between sentences. Remove trailing whitespaces. Alex Kost 2015-06-29gnu: withershins: Use new "libiberty" package....* gnu/packages/code.scm (withershins)[inputs]: Replace "gcc" with "libiberty". [arguments]: Simplify "find-libiberty" phase. Ricardo Wurmus 2015-06-29gnu: global: Update to 6.5....* gnu/packages/code.scm (global): Update to 6.5. Ludovic Courtès 2015-06-12gnu: Add withershins....* gnu/packages/code.scm (withershins): New variable. Ricardo Wurmus