From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: Re: next browser (was: Packaging a free Firefox) Date: Thu, 24 May 2018 11:53:17 +0200 Message-ID: <871se1crci.fsf@elephly.net> References: <87y3h1g42q.fsf@lassieur.org> <87wowlg3vu.fsf@lassieur.org> <20180503050020.ljaqgrop6uwy24op@abyayala> <87muxhfhqq.fsf@gmail.com> <876044lsci.fsf@gmail.com> <20180503233604.69fd089c@uwaterloo.ca> <87mux8n5gq.fsf@gmail.com> <20180510020041.1e8b3956@uwaterloo.ca> <87d0y3hije.fsf@gmail.com> <3e43616290027f58207fe54d748183e9.squirrel@mailservices.uwaterloo.ca> <877eobh92c.fsf@gmail.com> <20180511010037.6951035e@uwaterloo.ca> <87efi7wion.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLmw9-0007x7-F0 for guix-devel@gnu.org; Thu, 24 May 2018 05:53:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLmw5-0002k6-FI for guix-devel@gnu.org; Thu, 24 May 2018 05:53:33 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21100) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fLmw5-0002jd-3v for guix-devel@gnu.org; Thu, 24 May 2018 05:53:29 -0400 In-reply-to: <87efi7wion.fsf@gmail.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Pierre Neidhardt Cc: guix-devel@gnu.org Hi Pierre, > Hooray, I've managed to run Next Browser on GuixSD! Excellent! I=E2=80=99m looking forward to playing with it. > The main issue is with cffi: it does not find the libraries installed by = Guix. [=E2=80=A6] I don=E2=80=99t understand this. Should it load any libraries that the use= r may have installed? Or do you only refer to a specific set of libraries that is known at build time? > --8<---------------cut here---------------start------------->8--- > LISP?=3Dsbcl > > build-gtk: > =09$(LISP) \ > =09=09--eval '(ql:quickload :cffi)' \ > =09=09--eval '(push (format nil "~a/.guix-profile/lib/" (uiop:getenv "HOM= E")) cffi:*foreign-library-directories*)' \ > ## Rest is as usual. > =09=09--load next.asd \ > =09=09--eval '(ql:quickload :next/gtk)' \ > =09=09--eval '(asdf:make :next/gtk)' \ > =09=09--eval '(quit)' > --8<---------------cut here---------------end--------------->8--- This would not be good, because packages can be installed in different profiles, not only in the user=E2=80=99s home directory. --=20 Ricardo