From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Van Ymeren Subject: Re: let's talk about SLIM Date: Sun, 03 Sep 2017 00:07:47 -0400 Message-ID: <87inh0whkc.fsf@vany.ca> References: <20170826213253.qxyveyztlhao22bu@abyayala> <87pobgkc39.fsf@netris.org> <87inh577xs.fsf@gnu.org> <4Eb_zD7QAF9uMVwWrhO5zz1J_L8zG9KUGmHTOtgEHl56P2b3UcFN1b-k6VrORX7E3aTLKkBFuz9ZsgBIMmrmKkKth8RVQsmlm3tuLe1PSUk=@protonmail.ch> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59919) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doMCS-0007TF-Ro for guix-devel@gnu.org; Sun, 03 Sep 2017 00:08:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doMCN-0006nV-NL for guix-devel@gnu.org; Sun, 03 Sep 2017 00:07:56 -0400 In-Reply-To: <4Eb_zD7QAF9uMVwWrhO5zz1J_L8zG9KUGmHTOtgEHl56P2b3UcFN1b-k6VrORX7E3aTLKkBFuz9ZsgBIMmrmKkKth8RVQsmlm3tuLe1PSUk=@protonmail.ch> (Bernd S.'s message of "Fri, 01 Sep 2017 18:34:19 -0400") 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" To: "Bernd S." Cc: "guix-devel@gnu.org" "Bernd S." writes: > I also agree that the replacement should be something really lightweight and independent, > I really like the suggestion of OpenBSDs xenodm for example. I did a quick test trying to build xenodm on GuixSD. I believe the code has some OpenBSDisms in it, as it doesn't compile out of the box. I may try to do a real port later, but if anyone else wants to poke around, this _incomplete_ package definition should get you started. It includes all the dependencies I could pick out after skimming configure.ac ------------------------------------------------------------------------------ (use-modules (guix) ((guix licenses) #:prefix license:) (gnu packages pkg-config) (guix cvs-download) (guix build-system gnu) (gnu packages xorg)) (package (name "xenodm") (version "0.1") (build-system gnu-build-system) (source (origin ;; This is incomplete, but it would be great if we could fetch the source straight from cvs. (method cvs-fetch) (uri "anoncvs@anoncvs1.ca.openbsd.org:/cvs") (sha256 (base32 ;; Obviously this isn't the right hash, but it stops things from complaining "0000000000000000000000000000000000000000000000000000")))) (inputs `(("libxmu" ,libxmu) ("libx11" ,libx11) ("libxau" ,libxau) ("libxinerama" ,libxinerama) ("libxft" ,libxft) ("libxrender" ,libxrender) ("libxpm" ,libxpm) ("libxext" ,libxext) ("libxt" ,libxt) ("libxaw" ,libxaw) ("libxdmcp" ,libxdmcp))) (native-inputs `(("pkg-config" ,pkg-config))) (home-page "http://xenocara.org/") (synopsis "Fork of the old xdm program, done by the OpenBSD people.") (description "xenodm is a lightweight simple display manager for X11") ;; I think this needs to be updated. I believe OpenBSD additions are BSD licensed, not x11 (license license:x11)) ------------------------------------------------------------------------------ Throw this in a file named guix.scm and run $ guix environment --pure -l guix.scm and you can try to build it.