Re: [STUMP] Creating a FreeBSD StumpWM package
Joseph Mingrone <[email protected]> Tue, 15 Aug 2017 14:42:56 -0300
| Newsgroups | gmane.comp.window-managers.stumpwm.devel |
|---|---|
| Message-ID | <[email protected]> |
Javier Olaechea <[email protected]> writes: > If the goal is to get something one can invoke from the shell or xinitrc, I > use cl-launch[0] plus the following script. You would have have to place > StumpWM sources somewhere where ASDF can find them and and copy the > following script (maybe change the Q arg to +Q so that it doesn't try to > fetch StumpWM from quicklisp). > ```stumpwm-loader > #!/usr/bin/cl -Q -sp stumpwm -E main > (defun main (argv) > (if argv > (stumpwm (elt argv 0)) > (stumpwm))) > ``` > [0]: http://cliki.net/cl-launch Hello Javier, I like the idea of not bundling SBCL and Stump into a large executable. A small package makes sense when the packaging tools ensure the dependencies are installed properly. cl-launch looks useful and I may revisit it at some point, but since Stump is now restricted to SBCL, I ended up using a simple shell script. stumpwm --- #/bin/sh sbcl --no-sysinit --no-userinit --load %%PREFIX%%share/stumpwm/load.lisp --- share/stumpwm/load.lisp --- (in-package :cl-user) (require :asdf) (setf asdf:*central-registry* (list* '*default-pathname-defaults* #p"%%ASDF_REGISTRY%%" asdf:*central-registry*)) (require :stumpwm) (stumpwm:stumpwm) (quit) --- Thanks, Joseph _______________________________________________ Stumpwm-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/stumpwm-devel
signature.asc
(application/pgp-signature, 962 B)
-----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEVbCTpybDiFVxIrrVNqQMg7DW754FAlmTMqBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU1 QjA5M0E3MjZDMzg4NTU3MTIyQkFENTM2QTQwQzgzQjBENkVGOUUACgkQNqQMg7DW 757ntxAAn26F9gjsN3nRLV9EnSJZWGRE+dg1tNL1av0XwqG9phr5VdV/AloZ3/55 1ek3gOA2TsmmXFEPSSYtKD/qSyRCx9EpNvnqShPDD/8095EHek70n+Pcw88iuLsj jlkYeHbuwLkmkLZg0maLU37q6n8bS6avPuNukjL3ibhLPcubLvKqjT9iH+dZwI2t x9p4n6le5amM9wWT+lDanAnZ6uiuggLb2+9bN2QToNBu7o/RQ55qtQtCtWGwVwdk 0qzD4VNpGA5e1pHbhnC2LObwaDOz8JsCt7MBfrPlpxd7rOfOgdW8qwx5cuQq+V/i EhIWNnlcUmYr3JKKq03GmuOTnID0RY2KGWFNDVh/xf+OOAGwunYBfxLKiJgUQNWJ HVB9tSFF9CvNknwcN2/V5jMoWGlRMNBg3UGLLa+agJ0RF0/NKmX+qYExmq3AlZnD MF8lrGXnxmbv+wFxpG8sQtVP/PXvz1PO6RupvMDofCL7jG2HVC4Ix0YZYUpVghYN hIlIggl4zLDVZkIgQK6LuT/FCApyMlZctk2U+BUTXWBNzNcO3LiCOOXvBwzw14ZM aeqeOtB0rW34eWcitky63aTjvP/VTlM8dZxMVmFLzggiub/YBCKr/MJEbGC5GQfY KixOJh5nasy76B5hIZk8lK2wTou+VqHczm9JbAc75EZg+jqCSgA= =5ulh -----END PGP SIGNATURE-----