From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Guy Grant" Subject: [PATCH] gnu:add SLiM v2 Date: Sat, 23 Nov 2013 09:01:01 -0800 Message-ID: <16939610f512ddfb96e24b82e880229e.squirrel@fruiteater.riseup.net> References: <960e002e21b1fefc3acaaa0fcdedbaef.squirrel@fulvetta.riseup.net> <877gc0eidw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed;boundary="----=_20131123090101_19729" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkGZw-0005O5-0q for guix-devel@gnu.org; Sat, 23 Nov 2013 12:01:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VkGZr-0007BE-LJ for guix-devel@gnu.org; Sat, 23 Nov 2013 12:01:07 -0500 Received: from mx1.riseup.net ([198.252.153.129]:43175) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VkGZr-0007B0-9O for guix-devel@gnu.org; Sat, 23 Nov 2013 12:01:03 -0500 Received: from fruiteater.riseup.net (fruiteater-pn.riseup.net [10.0.1.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Gandi Standard SSL CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 8383D4476F for ; Sat, 23 Nov 2013 09:01:01 -0800 (PST) In-Reply-To: <877gc0eidw.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org ------=_20131123090101_19729 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Second version of the patch to add SLiM, the Desktop/Session Manager. As always, any questions or concerns -- feel free to mention them. - GG ------=_20131123090101_19729 Content-Type: text/x-diff; name="0001-Add-SLiM-to-packages.patch" Content-Disposition: attachment; filename="0001-Add-SLiM-to-packages.patch" Content-Transfer-Encoding: quoted-printable >From 264c0bd3633eb325e33a07511b1233b5e27b05ce Mon Sep 17 00:00:00 2001 From: gzg Date: Sat, 23 Nov 2013 10:48:47 -0600 Subject: [PATCH] Add SLiM to packages. --- gnu/packages/slim.scm | 81 +++++++++++++++++++++++++++++++++++++++++++++= ++++++ 1 file changed, 81 insertions(+) create mode 100644 gnu/packages/slim.scm diff --git a/gnu/packages/slim.scm b/gnu/packages/slim.scm new file mode 100644 index 0000000..19d8deb --- /dev/null +++ b/gnu/packages/slim.scm @@ -0,0 +1,81 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2013 Guy Grant +;;; +;;; 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 (a= t +;;; 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 slim) + #:use-module ((guix licenses)=20 + #:renamer (symbol-prefix-proc 'l:))=20 + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system cmake) + #:use-module (guix packages) + #:use-module (gnu packages gl) + #:use-module (gnu packages xorg) + #:use-module (gnu packages libpng) + #:use-module (gnu packages libjpeg) + #: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.3") + (source (origin + (method url-fetch) + (uri (string-append "mirror://sourceforge/project/slim.berlios/sli= m-" + version ".tar.gz")) + (sha256 + (base32 "1fdvipj3658s8dm78djmfr8xhg6l8rr7kc4qcb34bjrnkkclhln1")))= ) + (build-system cmake-build-system) + (inputs `(("linux-pam" ,linux-pam) + ("libpng" ,libpng) + ("libjpeg" ,libjpeg) + ("freeglut" ,freeglut) + ("libxrandr" ,libxrandr) + ("libxrender" ,libxrender) + ("freetype" ,freetype) + ("fontconfig" ,fontconfig) + ("pkg-config" ,pkg-config) + ("libx11" ,libx11) + ("libxft" ,libxft) + ("libxmu" ,libxmu) + ("xauth" ,xauth))) + (arguments=20 + '(#:phases (alist-cons-before + 'configure 'set-new-etc-location + (lambda _=20 + (substitute* "CMakeLists.txt"=20 + '(("/etc")=20 + (string-append + (assoc-ref %outputs "out") "/etc")))) + %standard-phases) + #:configure-flags '("-DUSE_PAM=3Dyes" "-DUSE_CONSOLEKIT=3Dno") + #:tests? #f)) = =20 + (home-page "http://www.slim.berlios.de/") + (synopsis "Desktop-independent graphcal login manager for X11") + (description + "SLiM is a Desktop-independent graphical login manager for X11, der= ived=20 +from Login.app. It aims to be light and simple, although completely conf= igurable=20 +through themes and an option file; is suitable for machines on which rem= ote login=20 +functionalities are not needed.=20 + +Features included: PNG and XFT support for alpha transparency and antial= iased fonts, +External themes support, Configurable runtime options: X server -- login= / shutdown / reboot=20 +commands, Single (GDM-like) or double (XDM-like) input control, Can load= predefined user at=20 +startup, Configurable welcome / shutdown messages, Random theme selectio= n") + (license l:gpl2))) --=20 1.8.4.2 ------=_20131123090101_19729--