From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: bug#32770: Packaging SLIME/SWANK as Common Lisp library Date: Fri, 05 Oct 2018 10:28:29 +0200 Message-ID: <87k1mwyez6.fsf@ambrevar.xyz> References: <87museeyy5.fsf@ambrevar.xyz> <20180929151630.00cf6396@mailservices.uwaterloo.ca> <87lg7iwu9i.fsf@ambrevar.xyz> <87k1n2wten.fsf@ambrevar.xyz> <20181002045531.78223c72@mailservices.uwaterloo.ca> <878t3gwsrm.fsf@ambrevar.xyz> <20181003012224.5baff3ac@mailservices.uwaterloo.ca> <8736tmj2vj.fsf@ambrevar.xyz> <20181004010308.7825505f@mailservices.uwaterloo.ca> <87k1mym7kb.fsf@ambrevar.xyz> <20181005005652.29b18650@mailservices.uwaterloo.ca> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35044) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8LTu-0003Oh-Qe for bug-guix@gnu.org; Fri, 05 Oct 2018 04:29:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g8LTr-0007e0-LT for bug-guix@gnu.org; Fri, 05 Oct 2018 04:29:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:33123) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g8LTq-0007d4-Hc for bug-guix@gnu.org; Fri, 05 Oct 2018 04:29:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g8LTq-0003Dx-BX for bug-guix@gnu.org; Fri, 05 Oct 2018 04:29:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-reply-to: <20181005005652.29b18650@mailservices.uwaterloo.ca> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Andy Patterson Cc: 32770@debbugs.gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > Sure, I'll append it. Great, thanks! > What > I'm considering is consumers of the libraries which should still work > if you load them from a fresh lisp session with no configuration. > > I haven't looked into it yet but I don't think loading the library > would work in that case. Are you saying that 'compile-bundle' would discard the global variable? I'm still rather new to Common Lisp so let me know if I get it right: =2D Compiling a bundle only compiles the target files, it discards the other global values. =2D Saving an image keeps everything, including global variables. > > #:cffi-packages (list ,cl-sqlite ,cl-foo...) > > > > Based on what you've written here, I guess that you're thinking of > adding to the *foreign-library-directories* for the consumers of > cffi-based packages. I thought you meant to do it for those packages > themselves. Sorry, you understood right at first, I wanted to write =2D-8<---------------cut here---------------start------------->8--- (define-public sbcl-cl-sqlite #:cffi-packages (list ,sqlite ,foo...) =2D-8<---------------cut here---------------end--------------->8--- > What I'm > thinking of is something like a configure script to set the library > paths before building is done. I think there are some examples of > guile projects which do just that. Hmm, I'm not sure I understand what you mean. Could you provide an example? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlu3IK0ACgkQm9z0l6S7 zH/GrQgAo9dyPyJioSSbul38TrAevWJ7+VBk7MBb41zrfgdTCxtcEg/reBREEHdU N7lnP7qyq5Wa4wshRmE1HM2CzaZXxu1kO3px/1SbOMJebPFSc2xAWlQ4YRJFpcv1 4EbcFeTvZ3+xgpZeNLUuWeDfBY4mdrLW4Z04mrTukmOrgS4nr1cAr5i+M+z8zuXX iKmn1oAf/Xs+uhJ6Tnt3UebcQAvvmqrHDbDg/XUoOQcvCiZIsbdZrGaEfnSULCNK iT8plvTo9I0jW//zrdJr6fTJ7R3zaib01w9lnhi1luOsyYMDB2lBI63Vk+GVnCZw eYtuFUqEiwd99CU29ChSEaNfIayreA== =j2+S -----END PGP SIGNATURE----- --=-=-=--