From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: Re: gobject-introspection typelibs and shared libraries Date: Mon, 8 Dec 2014 13:21:20 +0100 Message-ID: References: <87ppbvkwzj.fsf@gnu.org> <87k322cx77.fsf@gnu.org> 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]:45335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxxJa-000097-Lh for guix-devel@gnu.org; Mon, 08 Dec 2014 07:21:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XxxJZ-0000Ga-B6 for guix-devel@gnu.org; Mon, 08 Dec 2014 07:21:22 -0500 In-Reply-To: <87k322cx77.fsf@gnu.org> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: Guix-devel On Mon, Dec 8, 2014 at 10:22 AM, Ludovic Court=C3=A8s wrote: > Yes, I see in the diagram on the page above that libraries are actually > dlopened, with the name that appears in the typelib file. > > Thus the patch you proposed is the right thing, I think. Before > committing, could you add a comment a the top of the file explaining > that the file names contained in typelib files are meant to be dlopen=E2= =80=99d, > hence this patch? Also please credit the original author of the patch. Actually, I see that this part of gobject-introspection was slightly edited from our version 1.38.0 to later ones. Nix uses 1.40.0 and the newest is 1.42.0. So I'm planning to upgrade to the latest. > Do we also need to do something for GI_TYPELIB_PATH? Perhaps this > should be in the =E2=80=98native-search-paths=E2=80=99 field of gobject-i= ntrospection? I think that we do not need to set GI_TYPELIB_PATH in gobject-introspection, but in in the packages making use of it. Fede