From unknown Fri Jun 13 10:16:02 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#49198 <49198@debbugs.gnu.org> To: bug#49198 <49198@debbugs.gnu.org> Subject: Status: [PATCH core-updates] fix gobject-introspection cairo library path Reply-To: bug#49198 <49198@debbugs.gnu.org> Date: Fri, 13 Jun 2025 17:16:02 +0000 retitle 49198 [PATCH core-updates] fix gobject-introspection cairo library = path reassign 49198 guix-patches submitter 49198 John Kehayias severity 49198 normal tag 49198 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 23 17:32:20 2021 Received: (at submit) by debbugs.gnu.org; 23 Jun 2021 21:32:20 +0000 Received: from localhost ([127.0.0.1]:41982 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwATr-0006OY-Qd for submit@debbugs.gnu.org; Wed, 23 Jun 2021 17:32:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:53566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lwATq-0006OQ-2v for submit@debbugs.gnu.org; Wed, 23 Jun 2021 17:32:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58176) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwATp-0005Ia-Rc for guix-patches@gnu.org; Wed, 23 Jun 2021 17:32:17 -0400 Received: from mail1.protonmail.ch ([185.70.40.18]:36806) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lwATn-0004tZ-5O for guix-patches@gnu.org; Wed, 23 Jun 2021 17:32:17 -0400 Date: Wed, 23 Jun 2021 21:32:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1624483924; bh=bg/pWDLzlEA9MohdS+j/ExByUS3opnOR1TV/6Y2LOg8=; h=Date:To:From:Reply-To:Subject:From; b=J8DNhRDFUANIUhH05JRX29klewYTGJQCghlc/0mDJfdTRA8opqyRnu33RUTABWWxj o4p5W0TrFJZTEsKsgn1m7H8QH7F7wSJM3HjaHVvEfGtCgxzR6ELyT5r+KLhPJVA0JQ NR5JbLZxfTRUabSNqNfWaAHgu6zJ4sYc+BpxHZ74= To: "guix-patches@gnu.org" From: John Kehayias Subject: [PATCH core-updates] fix gobject-introspection cairo library path Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_tLCxSbfVjdrAu6Q7IQhuOULYRCeTFUUKRAUvVbBhcKI" X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.40.18; envelope-from=john.kehayias@protonmail.com; helo=mail1.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: John Kehayias Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) This is a multi-part message in MIME format. --b1_tLCxSbfVjdrAu6Q7IQhuOULYRCeTFUUKRAUvVbBhcKI Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, This is a patch to fix issue #49122 (gobject-introspection and not finding = cairo). The patch changes the cairo typelib file to include the absolute pa= th to the cairo patch (as required by libraries that use introspection via = gir) by modifying the input file. I believe this is exactly what is done in= nix to solve the same issue, see https://github.com/NixOS/nixpkgs/issues/3= 4080 for their discussion and fix. I believe this necessitates building with a cairo dependency to have the li= brary path available, but correct me if I'm wrong as I'm new to guix. I've = used cairo-sans-poppler to avoid the dependency cycle. I've tested this bui= lds and solves issue #49122 for me. Thanks! John --b1_tLCxSbfVjdrAu6Q7IQhuOULYRCeTFUUKRAUvVbBhcKI Content-Type: text/x-patch; name=gobject-introspection-cairo-library-location.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=gobject-introspection-cairo-library-location.patch ZGlmZiAtLWdpdCBhL2dudS9wYWNrYWdlcy9nbGliLnNjbSBiL2dudS9wYWNrYWdlcy9nbGliLnNj bQppbmRleCAyMDYyMjJiNTc4Li4zNDM0ZTY5OWQyIDEwMDY0NAotLS0gYS9nbnUvcGFja2FnZXMv Z2xpYi5zY20KKysrIGIvZ251L3BhY2thZ2VzL2dsaWIuc2NtCkBAIC00OTYsNiArNDk2LDE0IEBA IGR5bmFtaWMgbG9hZGluZywgYW5kIGFuIG9iamVjdCBzeXN0ZW0uIikKICAgICAoYXJndW1lbnRz CiAgICAgIGAoIzpwaGFzZXMKICAgICAgICAobW9kaWZ5LXBoYXNlcyAlc3RhbmRhcmQtcGhhc2Vz CisgICAgICAgICAoYWRkLWFmdGVyICd1bnBhY2sgJ3BhdGNoCisgICAgICAgICAgIDs7IFBhdGNo IGZvciBjYWlybyBsaWJyYXJ5IGxvY2F0aW9uCisgICAgICAgICAgIChsYW1iZGEqICgjOmtleSBp bnB1dHMgIzphbGxvdy1vdGhlci1rZXlzKQorICAgICAgICAgICAgICAoc3Vic3RpdHV0ZSogImdp ci9jYWlyby0xLjAuZ2lyLmluIgorICAgICAgICAgICAgICAgICgoInNoYXJlZC1saWJyYXJ5PVwi QENBSVJPX1NIQVJFRF9MSUJSQVJZQFwiIikKKyAgICAgICAgICAgICAgICAgKHN0cmluZy1hcHBl bmQgInNoYXJlZC1saWJyYXJ5PVwiIgorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAo YXNzb2MtcmVmIGlucHV0cyAiY2Fpcm8iKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAiL2xpYi9AQ0FJUk9fU0hBUkVEX0xJQlJBUllAXCIiKSkpKSkKICAgICAgICAgIChhZGQtYWZ0 ZXIgJ3VucGFjayAnZG8tbm90LXVzZS0vdXNyL2Jpbi9lbnYKICAgICAgICAgICAgKGxhbWJkYSBf CiAgICAgICAgICAgICAgKHN1YnN0aXR1dGUqICJ0b29scy9nLWlyLXRvb2wtdGVtcGxhdGUuaW4i CkBAIC01MDcsNiArNTE1LDcgQEAgZHluYW1pYyBsb2FkaW5nLCBhbmQgYW4gb2JqZWN0IHN5c3Rl bS4iKQogICAgICAgICgicGtnLWNvbmZpZyIgLHBrZy1jb25maWcpKSkKICAgICAoaW5wdXRzCiAg ICAgIGAoKCJiaXNvbiIgLGJpc29uKQorICAgICAgICgiY2Fpcm8iICxjYWlyby1zYW5zLXBvcHBs ZXIpIDsgYnJlYWsgZGVwZW5kZW5jeSBsb29wIHZpYSBwb3BwbGVyCiAgICAgICAgKCJmbGV4IiAs ZmxleCkKICAgICAgICAoImdsaWIiICxnbGliKQogICAgICAgICgicHl0aG9uIiAscHl0aG9uLXdy YXBwZXIpCi0tIAoyLjMyLjAKCg== --b1_tLCxSbfVjdrAu6Q7IQhuOULYRCeTFUUKRAUvVbBhcKI--