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 15:51:17 +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]:47903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xxzep-0004vP-50 for guix-devel@gnu.org; Mon, 08 Dec 2014 09:51:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xxzeh-00047R-N3 for guix-devel@gnu.org; Mon, 08 Dec 2014 09:51:27 -0500 In-Reply-To: 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 1:21 PM, Federico Beffa wrote: > 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. The patch applies and build succeeds for 1.40.0 and 1.42.0. However, some test fail. Nix disables the test phase. Are you OK disabling the tests and going with 1.42.0. (I've tried to apply a similar patch to our current version 1.38.0, but with only the change copied from the patch I posted the build phase fails.) > >> 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-= introspection? > > I think that we do not need to set GI_TYPELIB_PATH in > gobject-introspection, but in in the packages making use of it. I've run the tests with and without (native-search-paths (list (search-path-specification (variable "GI_TYPELIB_PATH") (directories '("lib/girepository-1.0"))))) (search-paths native-search-paths) (and with/without (search-path ...), but it makes no difference. This probably due to the fact that there is no lib/girepository-1.0 directory in the source tree and the tests are run before installation. I therefore think that this is not needed here. It will be needed with packages making use of gobject-introspection or other libraries providing typelib files. Regards, Fede