From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id SLQJDmUua18nRgAA0tVLHw (envelope-from ) for ; Wed, 23 Sep 2020 11:15:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gCvcCWUua1/hHAAA1q6Kng (envelope-from ) for ; Wed, 23 Sep 2020 11:15:49 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D123F9404C8 for ; Wed, 23 Sep 2020 11:15:48 +0000 (UTC) Received: from localhost ([::1]:38002 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kL2kV-0003NZ-Lr for larch@yhetil.org; Wed, 23 Sep 2020 07:15:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58576) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kL2kL-0003MZ-5r for guix-devel@gnu.org; Wed, 23 Sep 2020 07:15:37 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:33285) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kL2kI-0003Yp-FB for guix-devel@gnu.org; Wed, 23 Sep 2020 07:15:36 -0400 X-Originating-IP: 90.92.160.122 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 26E50E0003; Wed, 23 Sep 2020 11:15:29 +0000 (UTC) From: Pierre Neidhardt To: Guillaume Le Vaillant , Katherine Cox-Buday Subject: Re: Improve ASDF build system for Common Lisp libraries In-Reply-To: <87y2l8ohwq.fsf@ambrevar.xyz> References: <87sgbntjz4.fsf@yamatai> <87blibcmuy.fsf@ambrevar.xyz> <87y2lfb67c.fsf@ambrevar.xyz> <875z8jb3lw.fsf@ambrevar.xyz> <874knzqs0g.fsf@yamatai> <87y2lb71jd.fsf@ambrevar.xyz> <87sgbjwb5l.fsf@elephly.net> <87d02nyvqv.fsf@gmail.com> <871rj3qa1u.fsf@yamatai> <87y2l8ohwq.fsf@ambrevar.xyz> Date: Wed, 23 Sep 2020 13:15:10 +0200 Message-ID: <87eemsg2wx.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.196; envelope-from=mail@ambrevar.xyz; helo=relay4-d.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/23 07:15:31 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.498, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_PDS_OTHER_BAD_TLD=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -3.11 X-TUID: pEVmk9e9jMpG --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I've retested wip-lisp on 851abcf6c9c15d90cb77caaaa57b40d10c3b4835, everything seems to work! Nit: Maybe enable tests in ecl-numcl=C2=A0? I've successfully tested Nyxt with the following recipe: =2D-8<---------------cut here---------------start------------->8--- (define-public nyxt (package (name "nyxt") ;; Package the pre-release because latest stable 1.5.0 does not build ;; anymore. (version "2-pre-release-1") (source (origin (method git-fetch) (uri (git-reference ;; TODO: Mirror seems to hang, let's fallback to GitHub for no= w. ;; (url "https://source.atlas.engineer/public/nyxt") (url "https://github.com/atlas-engineer/nyxt") (commit version))) (sha256 (base32 "0aipsmzqnlkmy001cihz2jnc0hja8c10rm08jycxr05j3gx3qsxd")) (file-name (git-file-name "nyxt" version)))) (build-system gnu-build-system) (arguments `(#:make-flags (list "nyxt" "NYXT_INTERNAL_QUICKLISP=3Dfalse" (string-append "DESTDIR=3D" (assoc-ref %outputs "= out")) "PREFIX=3D") #:strip-binaries? #f ; Stripping breaks SBCL binaries. #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-version ; Version is guessed from .git w= hich Guix does not have. (lambda* (#:key inputs #:allow-other-keys) (let ((version (format #f "~a" ,version)) (file "source/global.lisp")) (chmod file #o666) (let ((port (open-file file "a"))) (format port "(setf +version+ ~s)" version) (close-port port))) #t)) (add-before 'build 'make-desktop-version-number (lambda _ (with-output-to-file "version" (lambda _ (format #t "~a" ,version) #t)))) (delete 'configure) (add-before 'build 'fix-common-lisp-cache-folder (lambda _ (setenv "HOME" "/tmp") #t)) (add-after 'install 'wrap-program (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((bin (string-append (assoc-ref outputs "out") "/bin/nyx= t")) (glib-networking (assoc-ref inputs "glib-networking")) (libs '("gsettings-desktop-schemas")) (path (string-join (map (lambda (lib) (string-append (assoc-ref inputs lib) "/l= ib")) libs) ":")) (gi-path (string-join (map (lambda (lib) (string-append (assoc-ref inputs lib) = "/lib/girepository-1.0")) libs) ":")) (xdg-path (string-join (map (lambda (lib) (string-append (assoc-ref inputs lib)= "/share")) libs) ":"))) (wrap-program bin `("GIO_EXTRA_MODULES" prefix (,(string-append glib-networking "/lib/gio/modules"))) `("GI_TYPELIB_PATH" prefix (,gi-path)) `("LD_LIBRARY_PATH" ":" prefix (,path)) `("XDG_DATA_DIRS" ":" prefix (,xdg-path))) #t)))))) (native-inputs `(("prove" ,sbcl-prove) ("sbcl" ,sbcl))) (inputs `(("alexandria" ,sbcl-alexandria) ("bordeaux-threads" ,sbcl-bordeaux-threads) ("sbcl-containers" ,sbcl-cl-containers) ("sbcl-css" ,sbcl-cl-css) ("sbcl-json" ,sbcl-cl-json) ("sbcl-markup" ,sbcl-cl-markup) ("sbcl-ppcre" ,sbcl-cl-ppcre) ("sbcl-prevalence" ,sbcl-cl-prevalence) ("closer-mop" ,sbcl-closer-mop) ("cluffer" ,sbcl-cluffer) ("dexador" ,sbcl-dexador) ("enchant" ,sbcl-enchant) ("fset" ,sbcl-fset) ("iolib" ,sbcl-iolib) ("local-time" ,sbcl-local-time) ("log4cl" ,sbcl-log4cl) ("lparallel" ,sbcl-lparallel) ("mk-string-metrics" ,sbcl-mk-string-metrics) ("moptilities" ,sbcl-moptilities) ("osicat" ,sbcl-osicat) ("parenscript" ,sbcl-parenscript) ("plump" ,sbcl-plump) ("quri" ,sbcl-quri) ("serapeum" ,sbcl-serapeum) ("str" ,sbcl-cl-str) ("swank" ,sbcl-slime-swank) ("trivia" ,sbcl-trivia) ("trivial-clipboard" ,sbcl-trivial-clipboard) ("trivial-features" ,sbcl-trivial-features) ("trivial-package-local-nicknames" ,sbcl-trivial-package-local-nickn= ames) ("trivial-types" ,sbcl-trivial-types) ("unix-opts" ,sbcl-unix-opts) ;; WebKitGTK deps ("sbcl-cffi-gtk" ,sbcl-cl-cffi-gtk) ("sbcl-webkit" ,sbcl-cl-webkit) ("glib-networking" ,glib-networking) ("gsettings-desktop-schemas" ,gsettings-desktop-schemas))) (synopsis "Extensible web-browser in Common Lisp") (home-page "https://nyxt.atlas.engineer") (description "Nyxt is a keyboard-oriented, extensible web-browser designed for power users. The application has familiar Emacs and VI key-bindings and is fully configurable and extensible in Common Lisp.") (license license:bsd-3))) =2D-8<---------------cut here---------------end--------------->8--- I haven't tested StumpWM, can anyone do it? If StumpWM passes, feel free to merge this patchset. Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFFBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl9rLj4SHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/mmwH90qETepi1Tetqckzc6dK9uYvY+lY3sMl MYHfbBrj5rPUEUt0E9zCFJb+2n+wD3AC81dqOVFVaA9he72+7B+kWFgchONodJOm FczulLfGHc2PLinJADay46QqhpyFZkK+skAYWkFFDWnkU8sOOWj1XJbMAnty38Qr PAJl0U5v2EHY7SrUfMgBtWPSp7y3khB/+nEL9jULH92RP40i+53MIDQzGhNJun/+ 9OKa923KgnD1jy/74Jv7Uokz6OIq9p2DiVUnUaNMt6MLj8Es0G4Grk4kNwrtuluV 0SS/LHDaiuY/v6ieB6l8TRYRVYVwMasPupdylOxWeEZZSOSiEhIXJg== =9Lpi -----END PGP SIGNATURE----- --=-=-=--