From: Oleg Pykhalov <go.wigust@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: 31548@debbugs.gnu.org
Subject: [bug#31548] [PATCH] gnu: Add sbcl-stumpwm-checkout.
Date: Fri, 25 May 2018 13:46:43 +0300 [thread overview]
Message-ID: <87d0xkxbak.fsf@gmail.com> (raw)
In-Reply-To: <87603ezfqn.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 23 May 2018 15:03:12 +0200")
[-- Attachment #1.1: Type: text/plain, Size: 1958 bytes --]
Hello Ludovic,
ludo@gnu.org (Ludovic Courtès) writes:
> Oleg Pykhalov <go.wigust@gmail.com> skribis:
>
>> * gnu/packages/lisp.scm (sbcl-stumpwm-checkout): New public variable.
>
> [...]
>
>> +(define-public sbcl-stumpwm-checkout
>> + (let ((commit "cec7fd9e963e5da59b05ba0ffbe292dc94fd2947"))
>> + (package
>> + (inherit sbcl-stumpwm)
>> + (version (git-version (package-version sbcl-stumpwm) "1" commit))
>
> Could you explain the rationale and write that as a comment? :-)
>
> As you know we currently avoid packaging unreleased versions unless we
> have a good reason to do so (info "(guix) Version Numbers").
The reason I want to be it in a Guix package collection is StumpWM
release version (not a release candidate) was published 1 year ago and
since this date there are 250 commits in master branch.
I was using StumpWM builded manually with Quicklisp, but then I switched
to Guix package, because I don't want to build StumpWM manually, but I
found that StumpWM command ‘toggle-always-on-top’ is missing and StumpWM
contrib modules failed to build.
It's a fast dirty solution to have StumpWM from Guix and StumpWM contrib
modules with some dependencies builded with Quicklisp. :-) E.g.:
~/.stumpwm.d/init.lisp
--8<---------------cut here---------------start------------->8---
(load "~/quicklisp/setup.lisp")
(set-module-dir "~/.stumpwm.d/modules/")
(ql:quickload "clx-truetype")
(load-module "ttf-fonts")
(xft:cache-fonts)
(set-font (make-instance 'xft:font
:family "DejaVu Sans Mono"
:subfamily "Book"
:size 14))
--8<---------------cut here---------------end--------------->8---
The best solution is to package all StumpWM contrib modules as separate
recipes, but I'm not sure how do it right now because for example
‘sbcl-winner-mode’ package recipe complains about STUMPWM not found.
[-- Attachment #1.2: sbcl-winner-mode package recipe --]
[-- Type: text/x-scheme, Size: 1180 bytes --]
(define-public sbcl-winner-mode
(let ((commit "8fbed038e2e51d9034a9bb0273c10ae3e9221026"))
(package
(name "sbcl-winner-mode")
(version (git-version "0.1" "1" commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/stumpwm/stumpwm-contrib.git")
(commit commit)))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
"1918axy82v7yj5j2igvp6220aibzk0yay6wdgqwgxf2b8mi13jmw"))))
(inputs
`(("sbcl-stumpwm" ,sbcl-stumpwm)))
(arguments
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'chdir-elisp
;; ‘winner-mode’ directory is not in root of the source.
(lambda _
(chdir "util/winner-mode"))))))
(build-system asdf-build-system/sbcl)
(home-page "https://github.com/stumpwm/stumpwm-contrib")
(synopsis "External modules for StumpWM window manager")
(description
"This package provides external modules for StumpWM window manager.")
(license #f))))
[-- Attachment #1.3: Type: text/plain, Size: 200 bytes --]
--8<---------------cut here---------------start------------->8---
Component :STUMPWM not found, required by #<SYSTEM "winner-mode">
--8<---------------cut here---------------end--------------->8---
[-- Attachment #1.4: List of StumpWM contrib modules --]
[-- Type: text/plain, Size: 580 bytes --]
modules/media:
- amixer
- aumix
modules/minor-mode:
- mpd
- notifications
modules/modeline:
- battery-portable
- cpu
- disk
- hostname
- maildir
- mem
- net
- wifi
modules/util:
- alert-me
- app-menu
- clipboard-history
- command-history
- debian
- end-session
- globalwindows
- kbd-layouts
- logitech-g15-keysyms
- notify
- numpad-layouts
- pass
- passwd
- perwindowlayout
- pinentry
- productivity
- qubes
- sbclfix
- screenshot
- searchengines
- stumpish
- stumptray
- surfraw
- swm-emacs
- swm-gaps
- ttf-fonts
- undocumented
- urgentwindows
- windowtags
- winner-mode
[-- Attachment #1.5: Type: text/plain, Size: 16 bytes --]
Regards,
Oleg.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
next prev parent reply other threads:[~2018-05-25 10:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-22 8:43 [bug#31548] [PATCH] gnu: Add sbcl-stumpwm-checkout Oleg Pykhalov
2018-05-23 13:03 ` Ludovic Courtès
2018-05-25 10:46 ` Oleg Pykhalov [this message]
2018-05-25 16:08 ` Ludovic Courtès
2018-06-16 22:08 ` Ludovic Courtès
2018-06-17 15:55 ` Oleg Pykhalov
2018-06-17 21:59 ` Andy Patterson
2018-06-18 21:39 ` [bug#31548] [PATCH] gnu: sbcl-stumpwm: Update to 18.05 Oleg Pykhalov
2018-06-23 22:20 ` Oleg Pykhalov
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d0xkxbak.fsf@gmail.com \
--to=go.wigust@gmail.com \
--cc=31548@debbugs.gnu.org \
--cc=ludo@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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.