From mboxrd@z Thu Jan 1 00:00:00 1970 From: Federico Beffa Subject: Re: gobject-introspection typelibs and shared libraries Date: Tue, 13 Jan 2015 18:10:03 +0100 Message-ID: References: <87ppbvkwzj.fsf@gnu.org> <87k322cx77.fsf@gnu.org> <87oardq3n3.fsf@gnu.org> <87k3202k5u.fsf@netris.org> <87fvco2jgl.fsf@netris.org> <871to7q4a2.fsf@gnu.org> <87k31zll2s.fsf@gnu.org> <87h9wumz6f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001a11c347309dc935050c8bb18b Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YB4yk-0002ZQ-0h for guix-devel@gnu.org; Tue, 13 Jan 2015 12:10:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YB4yi-00083P-JF for guix-devel@gnu.org; Tue, 13 Jan 2015 12:10:05 -0500 In-Reply-To: <87h9wumz6f.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 --001a11c347309dc935050c8bb18b Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Wed, Dec 17, 2014 at 9:57 AM, Ludovic Court=C3=A8s wrote: >> I've created a branch named wip-gobject-introspection with the patch >> and version 1.42.0. I've also pushed version updates for pango and >> gdk-pixbuf compatible with the former. [...] > Mark H Weaver skribis: > >> I went down this road, and found that a great many things fail. I don't >> remember finding a single package that uses gobject-introspection that >> worked without updating. >> >> I got stuck on eudev. The newest version doesn't work, and I didn't see >> anything in their git repo to fix it either. >> >> Before moving forward on this, can you find a way to build eudev with >> gobject-introspection-1.42.0? The attached patch fixes the build of eudev with the newer gobject-introspection. It turns out that g-ir-scanner looks for the C compiler as either 'cc' or as the environment variable 'CC'. So, the fix was easy in retrospective :-). The question is: do we want to make a 'cc' symlink to 'gcc' in the 'gcc' package? This is something that many distributions do. If we don't, we may have to make a patch similar to the attached one for several packages (or patch 'gobject-introspection' to look for 'gcc' by default). Personally I would prefer the symlink approach. >> >> Also, I'm currently working on upgrading almost every package in >> xorg.scm, as well as glib and dbus. I'll push it as a branch in the >> next day or two. It probably makes the most sense to build your branch >> on top of mine. Now that your updates are in master, I've merged them into the branch wip-gobject-introspection. To help see what works and what not, it would be helpful to set up hydra to build the wip-gobject-introspection branch. WDYT? Regards, Fede --001a11c347309dc935050c8bb18b Content-Type: text/x-patch; charset=US-ASCII; name="0001-gnu-eudev-Add-pre-build-phase.patch" Content-Disposition: attachment; filename="0001-gnu-eudev-Add-pre-build-phase.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_i4vg6j7u0 RnJvbSAzNTViYWU5NDUxMjM5MTQzNGJiNmM3ZTE0ZTg2MzI0NTE2NTQzODBiIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBGZWRlcmljbyBCZWZmYSA8YmVmZmFAZmJlbmdpbmVlcmluZy5j aD4KRGF0ZTogVHVlLCAxMyBKYW4gMjAxNSAxNjoyNToyOSArMDEwMApTdWJqZWN0OiBbUEFUQ0hd IGdudTogZXVkZXY6IEFkZCBwcmUtYnVpbGQgcGhhc2UuCgoqIGdudS9wYWNrYWdlcy9saW51eC5z Y20gKGV1ZGV2KTogQWRkICdwcmUtYnVpbGQgcGhhc2UgdG8gZml4IGNvbXBpbGF0aW9uIHdpdGgK ICAnZ29iamVjdC1pbnRyb3NwZWN0aW9uJyAxLjQyLjAuCi0tLQogZ251L3BhY2thZ2VzL2xpbnV4 LnNjbSB8IDE4ICsrKysrKysrKysrKysrKy0tLQogMSBmaWxlIGNoYW5nZWQsIDE1IGluc2VydGlv bnMoK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GhhdCBwaGFzZSBpdCBsb29rcyBmb3Ig dGhlIEMKKyAgICAgICAgOzsgY29tcGlsZXIgYXMgZWl0aGVyICdjYycgb3IgYXMgZGVmaW5lZCBi eSB0aGUgZW52aXJvbm1lbnQgdmFyaWFibGUKKyAgICAgICAgOzsgJ0NDJyAod2l0aCBjb2RlIGlu ICdnaXNjYW5uZXIvZHVtcGVyLnB5JykuCisgICAgICAgIChsYW1iZGEqICgjOmtleSBpbnB1dHMg IzphbGxvdy1vdGhlci1rZXlzKQorICAgICAgICAgIChsZXQgKChnY2MgKHN0cmluZy1hcHBlbmQg KGFzc29jLXJlZiBpbnB1dHMgImdjYyIpICIvYmluL2djYyIpKSkKKyAgICAgICAgICAgIChzZXRl bnYgIkNDIiBnY2MpKSkKKyAgICAgICAgJXN0YW5kYXJkLXBoYXNlcykpKQogICAgIChob21lLXBh Z2UgImh0dHA6Ly93d3cuZ2VudG9vLm9yZy9wcm9qL2VuL2V1ZGV2LyIpKSkKIAogKGRlZmluZS1w dWJsaWMgbHZtMgotLSAKMS44LjQKCg== --001a11c347309dc935050c8bb18b--