From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:45470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMAGT-0001Uy-Pb for guix-patches@gnu.org; Fri, 25 May 2018 06:48:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMAGQ-0000Ko-LC for guix-patches@gnu.org; Fri, 25 May 2018 06:48:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:39596) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fMAGQ-0000KP-Gc for guix-patches@gnu.org; Fri, 25 May 2018 06:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fMAGQ-0005Jm-4v for guix-patches@gnu.org; Fri, 25 May 2018 06:48:02 -0400 Subject: [bug#31548] [PATCH] gnu: Add sbcl-stumpwm-checkout. Resent-Message-ID: From: Oleg Pykhalov References: <20180522084332.30409-1-go.wigust@gmail.com> <87603ezfqn.fsf@gnu.org> Date: Fri, 25 May 2018 13:46:43 +0300 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") Message-ID: <87d0xkxbak.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 31548@debbugs.gnu.org --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Ludovic, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > Oleg Pykhalov 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 =E2=80=98toggle-always-on-top=E2=80=99 is missin= g 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 =2D-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)) =2D-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 =E2=80=98sbcl-winner-mode=E2=80=99 package recipe complains about STUMPWM n= ot found. --=-=-= Content-Type: text/x-scheme; charset=utf-8 Content-Disposition: attachment Content-Transfer-Encoding: quoted-printable Content-Description: sbcl-winner-mode package recipe (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 ;; =E2=80=98winner-mode=E2=80=99 directory is not in root of t= he 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)))) --=-=-= Content-Type: text/plain --8<---------------cut here---------------start------------->8--- Component :STUMPWM not found, required by # --8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: text/plain Content-Disposition: attachment Content-Description: List of StumpWM contrib modules 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 --=-=-= Content-Type: text/plain Regards, Oleg. --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEc+OyAXw1EaDPCmAPckbhHGm3lWkFAlsH6ZMACgkQckbhHGm3 lWmYlRAAyGfJIDWLn3ZKT9HV1/KlEcy2zUIC+rCZUUBB+9kV7L2iwk6rKr7thDEl +za2tDWdxKoC5ip/eYWSv2++NdkrLVZvKAb5Zz3UPy2rPooxu4GYSuF3T9RCiLnR f5VDOzcwt3A+a7ikdc886sMCE3CeUJ/KsSAykaxKNwVt2mwRc0a66kylrs6XmNJ7 sQCKgffXVxa9wZtJ8kKebN+TBP0oouz2byt3WbmxJF4eaAVK4k4BTE+zJjQM/O/x kTyiBdd0WjN5Jx5ZW1vweaQDtQijU9d1XbDAOYUFsFaAIjcPb/CKCG/8BJOVTEOK 6SfBInzQndxhcX6ofY4cWv0/HlaaqJ3fGamSVS68x28cbEIoR4abnHzWKFyGOn5Z N3AHGSpjRKIujsz8++T7VfsgUV4yT55HiP+MEk/WSW5687pZB6gFIXEZ6Zs1hmvP eD9nnMcZfUULvIc2oZ7eCW/pzG2FZKyw/OCg6yQMZO2udj/GgEpvVUhSFu+d38CF mjXxUHuLFVBKApJYpNw8/FiSVxhQiBqoXfj09cB0aWg24XUZvW8M7PJ5aJWOnIv6 zyuZ1CvB1I6Ec4XInyACAWQICZrIt3dt/F7RyPSbqv0tgRt65rrAzKzXuqENCjOo lZ0Nr/8fUzdtU7VqDtY3RYzgnXC14e7R96kZsqhFydGH5M7ho+M= =GjzF -----END PGP SIGNATURE----- --==-=-=--