[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: next browser (was: Packaging a free Firefox)
From: |
Pierre Neidhardt |
Subject: |
Re: next browser (was: Packaging a free Firefox) |
Date: |
Thu, 24 May 2018 18:44:47 +0200 |
User-agent: |
mu4e 1.0; emacs 26.1 |
Ricardo Wurmus <address@hidden> writes:
> It is sometimes possible to patch the sources by replacing the library
> name with the full path of the library. Have you tried that?
You are right. I think what we need here is to patch all the cffi
packages.
For instance, sqlite3-lib contains the following lines:
--8<---------------cut here---------------start------------->8---
(define-foreign-library sqlite3-lib
(:darwin (:default "libsqlite3"))
(:unix (:or "libsqlite3.so.0" "libsqlite3.so"))
(t (:or (:default "libsqlite3") (:default "sqlite3"))))
--8<---------------cut here---------------end--------------->8---
Patching with the full path should work. I'll see what I can do.
Maybe we should think of a function to do that automatically for all
cffi packages. Not sure how doable that'd be.
> Another option is to wrap the executable in LD_LIBRARY_PATH, although
> that should only be a last resort.
>
>> GuixSD has LIBRARY_PATH=~/.guix-profile/lib, can we use that?
>
> LIBRARY_PATH is only set when you have gcc-toolchain installed. I don’t
> have this variable. It is also not applicable here: it is used by the
> compiler at build time when linking applications.
So to what would you wrap it? The full path of the required libs? E.g.
LD_LIBRARY_PATH=/gnu/store/sdin91pj2w7m5avvb6vykh6haq8q2ni0-sqlite-3.21.0/lib/:...
--
Pierre Neidhardt
signature.asc
Description: PGP signature
- Re: next browser (was: Packaging a free Firefox), (continued)
- Message not available
- Message not available
- Re: next browser (was: Packaging a free Firefox), ajpatter, 2018/05/10
- Re: next browser (was: Packaging a free Firefox), Pierre Neidhardt, 2018/05/10
- Re: next browser (was: Packaging a free Firefox), Andy Patterson, 2018/05/11
- Re: next browser (was: Packaging a free Firefox), Pierre Neidhardt, 2018/05/19
- Re: next browser (was: Packaging a free Firefox), Ricardo Wurmus, 2018/05/24
- Re: next browser (was: Packaging a free Firefox), Pierre Neidhardt, 2018/05/24
- Re: next browser (was: Packaging a free Firefox), Ricardo Wurmus, 2018/05/24
- Re: next browser (was: Packaging a free Firefox),
Pierre Neidhardt <=
- Re: next browser (was: Packaging a free Firefox), Ricardo Wurmus, 2018/05/24
Re: Packaging a free Firefox, Chris Marusich, 2018/05/03