unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Adam Van Ymeren <adam@vany.ca>
To: "Bernd S." <Rs1R8ng1@protonmail.ch>
Cc: "guix-devel@gnu.org" <guix-devel@gnu.org>
Subject: Re: let's talk about SLIM
Date: Sun, 03 Sep 2017 00:07:47 -0400	[thread overview]
Message-ID: <87inh0whkc.fsf@vany.ca> (raw)
In-Reply-To: <4Eb_zD7QAF9uMVwWrhO5zz1J_L8zG9KUGmHTOtgEHl56P2b3UcFN1b-k6VrORX7E3aTLKkBFuz9ZsgBIMmrmKkKth8RVQsmlm3tuLe1PSUk=@protonmail.ch> (Bernd S.'s message of "Fri, 01 Sep 2017 18:34:19 -0400")

"Bernd S." <Rs1R8ng1@protonmail.ch> 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.

  reply	other threads:[~2017-09-03  4:08 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-26 21:32 let's talk about SLIM ng0
2017-08-27 20:08 ` Mark H Weaver
2017-08-27 23:40   ` Adam Van Ymeren
2017-08-28 15:33   ` Efraim Flashner
2017-08-30  8:53   ` Ludovic Courtès
2017-08-30  9:18     ` ng0
2017-08-30  9:26       ` ng0
2017-09-01 22:34     ` Bernd S.
2017-09-03  4:07       ` Adam Van Ymeren [this message]
2017-09-02  9:40     ` Mark H Weaver

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87inh0whkc.fsf@vany.ca \
    --to=adam@vany.ca \
    --cc=Rs1R8ng1@protonmail.ch \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).