From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 8AebEuwTvmCDKgEAgWs5BA (envelope-from ) for ; Mon, 07 Jun 2021 14:41:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id wOcSDuwTvmB3LwAAB5/wlQ (envelope-from ) for ; Mon, 07 Jun 2021 12:41:16 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EAAAA21A36 for ; Mon, 7 Jun 2021 14:41:14 +0200 (CEST) Received: from localhost ([::1]:40164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lqEZ7-0000rz-S4 for larch@yhetil.org; Mon, 07 Jun 2021 08:41:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36096) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lqEYx-0000pt-TU for guix-patches@gnu.org; Mon, 07 Jun 2021 08:41:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43161) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lqEYw-0005uf-FB for guix-patches@gnu.org; Mon, 07 Jun 2021 08:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lqEYw-0006P4-DW for guix-patches@gnu.org; Mon, 07 Jun 2021 08:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48892] [PATCH] gnu: Add xkbset. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Jun 2021 12:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48892 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxime Devos Cc: "48892@debbugs.gnu.org" <48892@debbugs.gnu.org> Received: via spool by 48892-submit@debbugs.gnu.org id=B48892.162306962724562 (code B ref 48892); Mon, 07 Jun 2021 12:41:02 +0000 Received: (at 48892) by debbugs.gnu.org; 7 Jun 2021 12:40:27 +0000 Received: from localhost ([127.0.0.1]:54707 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqEYJ-0006Nz-6I for submit@debbugs.gnu.org; Mon, 07 Jun 2021 08:40:27 -0400 Received: from mail-40134.protonmail.ch ([185.70.40.134]:49853) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lqEYE-0006Nj-I3 for 48892@debbugs.gnu.org; Mon, 07 Jun 2021 08:40:21 -0400 Date: Mon, 07 Jun 2021 12:40:06 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail3; t=1623069611; bh=ujT7zxG5IOwks8xxTSTY7hO3RacY2iaS5NwVrmzShVg=; h=Date:To:From:Cc:Reply-To:Subject:In-Reply-To:References:From; b=BEL5zmT4l4w0gIUy2Mjdqk3eoq1ACXdmVMnT2v7gTfAo374UPhQgSaKg4wFM1CTvx yBaj1vvR47j6CiTT1IuQmhbxmtECeK984/Z18LhVIX3g7Zcwq6PTOAyCfW4YmglB17 sII2le2COAVpEmtX8gxO9KqWQsPqHAVw874r3n8OwWhFOFbOWO3JqsgUKR3xLgyi5v wR5bAmiRHtkCHraq4sZcxgoIuy3OBxRkA25EItnKYuZHGbeuypTuqkDmu0sI5CpAKn vmwg8KClvINfJdyFTLMCCadtRhb4G4NRhE+QeE0EXXHYGA0kZEbkG6GxL2NRa+vOM/ ZQ+yuGAGCz1TQ== From: "Paul A. Patience" Message-ID: <5TFn9p50yemJDjZyyOinesgLnYyuQkLRDYtTeC2ZNhsOsD3rWIlGnAXbBgiXOshGdKA5vYPukXWpPcjCoWObz5i5wXzx0PWgHNPEl5jkJmg=@apatience.com> In-Reply-To: <12d1dd5236c1e122df7df3416f6acd3a7893878d.camel@telenet.be> References: <8bHcC11E1nCm3IcYXyjT8kdLXscTRtadOPwnuABvrLCbarM8i42900GRRYpvewZFMVbPibP_oNC8iFRm8i3hF6h6UncuC6D8ohS5oaIKJvA=@apatience.com> <12d1dd5236c1e122df7df3416f6acd3a7893878d.camel@telenet.be> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_EeDCq3hl8S7GkNxyyUeE9RbkYwu37gTKkmWWahI8Q" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: "Paul A. Patience" Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623069675; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=ujT7zxG5IOwks8xxTSTY7hO3RacY2iaS5NwVrmzShVg=; b=fFb/388M2IARCeLRwZ9b6lCoRVtgMxWFPQIuKPc6VoemjQIWw4+fQG6Z8qcGnToRjYMYo7 B5C5nZ71QJE61dc+Xg7morEkrQOjAeV2+kh/DDfZKSGpL+N4E/2BdZ7+p3rjXx1xxqw471 62Zq2YTBgq21PD8U/BMdpmp96oSs0IGI9TJblxNbrAruVXCFyi9YKWvmf6cb8Wc9FGjO35 p37SdyHoFU56esy1hCR09xuJyZ/qqUm7rnMoWKqbgitIvc+e/otqGcKkViw4Mq2rnzdlhG CcN09V9tNZXVN4a49/xWR3dZCQBDDSoypX2JDLcNeQtaBYE+FDGotD2+TRfy9w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623069675; a=rsa-sha256; cv=none; b=gWM9R03naJAYArSw+ir5YfuWjuu4oB1RzZfKj1LOk4sSWTjDBOOQE6M8vM3gS8xgCzGnor yB81lqC/jKqZX7fQD17o7ySPVNM//+LDA6dQfquTB/5MBHiX0oSLZWO0mADDV3KfICQWID WvTxhuhCPQwI5mp0PrMk/fntdCqcVpF2aaMjfgiSlgKkZw2DNheUxUTOta54OUy57xN9RM XTMmmqddTrBdTtuBeXlkUkyIZbDCIa9hbqCpLDK5qi35rqRQU8XabVP/eLRINS7/WyqpEC tTaTLZk0tn5au9Szy3KzjqvzABfXLCW4Jjno3ICpdPldVyV9L4auyewc0+AQiA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail3 header.b=BEL5zmT4; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 0.18 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=apatience.com header.s=protonmail3 header.b=BEL5zmT4; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: EAAAA21A36 X-Spam-Score: 0.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5Hhv13RjhF2b This is a multi-part message in MIME format. --b1_EeDCq3hl8S7GkNxyyUeE9RbkYwu37gTKkmWWahI8Q Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Monday, June 7, 2021 6:04 AM, Maxime Devos wrot= e: > You should do > > `(,,(string-append "CC=3D" (cc-for-target)) > ,(string-append "X11PREFIX=3D" ...) ...) Fixed. I suppose this needs to be fixed in many existing packages. I hadn't seen cc-for-target until now. (I also discovered %output in the meantime.) > to make sure cross-compilation will work. > (Try ./pre-inst-env guix build xkbset --target=3Daarch64-linux-gnu.) Unfortunately it seems that: guix build: error: gnu/packages/tcl.scm:270:2: perl-tk@804.034: build s= ystem `perl' does not support cross builds > Also, libx11 is usualy named "libx11" (no capital letters) > in package inputs, and very infrequently "libX11". I would use "libx11". Fixed. I also prefer all lowercase, but the one package I had looked at to determine the X11 library to include had used uppercase. The updated patch is attached. Thanks for the help, Paul --b1_EeDCq3hl8S7GkNxyyUeE9RbkYwu37gTKkmWWahI8Q Content-Type: text/x-patch; name=0001-gnu-Add-xkbset.patch Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename=0001-gnu-Add-xkbset.patch RnJvbSA1OWE0ZDYyOGUyMTc5YzhhNzY4YzdmZGY1NDAxZjJmODE5M2M2ODkzIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiAiUGF1bCBBLiBQYXRpZW5jZSIgPHBhdWxAYXBhdGllbmNlLmNv bT4KRGF0ZTogTW9uLCA3IEp1biAyMDIxIDA4OjM0OjQzIC0wNDAwClN1YmplY3Q6IFtQQVRDSF0g Z251OiBBZGQgeGtic2V0LgoKKiBnbnUvcGFja2FnZXMveG9yZy5zY20gKHhrYnNldCk6IE5ldyB2 YXJpYWJsZS4KLS0tCiBnbnUvcGFja2FnZXMveG9yZy5zY20gfCA1NSArKysrKysrKysrKysrKysr KysrKysrKysrKysrKysrKysrKysrKysrKysrCiAxIGZpbGUgY2hhbmdlZCwgNTUgaW5zZXJ0aW9u cygrKQoKZGlmZiAtLWdpdCBhL2dudS9wYWNrYWdlcy94b3JnLnNjbSBiL2dudS9wYWNrYWdlc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1ZXN0ZWQgY29t bWFuZHMgaWYgdGhleSBvY2N1ci4iKQogICAgIChsaWNlbnNlIGxpY2Vuc2U6eDExKSkpCiAKKyhk ZWZpbmUtcHVibGljIHhrYnNldAorICAocGFja2FnZQorICAgIChuYW1lICJ4a2JzZXQiKQorICAg ICh2ZXJzaW9uICIwLjYiKQorICAgIChzb3VyY2UKKyAgICAgKG9yaWdpbgorICAgICAgIChtZXRo b2QgdXJsLWZldGNoKQorICAgICAgICh1cmkgKHN0cmluZy1hcHBlbmQgImh0dHBzOi8vZmFjdWx0 eS5taXNzb3VyaS5lZHUvfnN0ZXBoZW4vc29mdHdhcmUvIgorICAgICAgICAgICAgICAgICAgICAg ICAgICAgbmFtZSAiLyIgbmFtZSAiLSIgdmVyc2lvbiAiLnRhci5neiIpKQorICAgICAgIChzaGEy NTYKKyAgICAgICAgKGJhc2UzMiAiMTk5bWxtMTI3emsxbHI4bnJxMjJuNjhsMmw4Y2p3YzRjZ3dk NjdyZzFpNjQ5N24yeTB4YyIpKSkpCisgICAgKGJ1aWxkLXN5c3RlbSBnbnUtYnVpbGQtc3lzdGVt KQorICAgIChpbnB1dHMKKyAgICAgYCgoImxpYngxMSIgLGxpYngxMSkKKyAgICAgICAoInBlcmwi ICxwZXJsKQorICAgICAgICgicGVybC10ayIgLHBlcmwtdGspKSkKKyAgICAoYXJndW1lbnRzCisg ICAgIGAoIzp0ZXN0cz8gI2YgICAgICAgICAgICAgICAgICAgICAgOyBUaGVyZSBhcmUgbm9uZS4K KyAgICAgICAjOm1ha2UtZmxhZ3MKKyAgICAgICBgKCwsKHN0cmluZy1hcHBlbmQgIkNDPSIgKGNj LWZvci10YXJnZXQpKQorICAgICAgICAgLChzdHJpbmctYXBwZW5kICJYMTFQUkVGSVg9IiAlb3V0 cHV0KQorICAgICAgICAgLChzdHJpbmctYXBwZW5kICJYMTFCQVNFPSIgKGFzc29jLXJlZiAlYnVp bGQtaW5wdXRzICJsaWJ4MTEiKSkKKyAgICAgICAgICwoc3RyaW5nLWFwcGVuZCAiSU5TVEFMTF9N QU4xPSIgJW91dHB1dCAiL3NoYXJlL21hbi9tYW4xIikpCisgICAgICAgIzpwaGFzZXMKKyAgICAg ICAobW9kaWZ5LXBoYXNlcyAlc3RhbmRhcmQtcGhhc2VzCisgICAgICAgICAoZGVsZXRlICdjb25m aWd1cmUpCisgICAgICAgICAoYWRkLWJlZm9yZSAnaW5zdGFsbCAnY3JlYXRlLWluc3RhbGwtZGly ZWN0b3JpZXMKKyAgICAgICAgICAgKGxhbWJkYSogKCM6a2V5IG91dHB1dHMgIzphbGxvdy1vdGhl ci1rZXlzKQorICAgICAgICAgICAgIChsZXQgKChvdXQgKGFzc29jLXJlZiBvdXRwdXRzICJvdXQi KSkpCisgICAgICAgICAgICAgICAobWtkaXItcCBvdXQpCisgICAgICAgICAgICAgICAod2l0aC1k aXJlY3RvcnktZXhjdXJzaW9uIG91dAorICAgICAgICAgICAgICAgICAoZm9yLWVhY2ggbWtkaXIt cCAnKCJiaW4iICJzaGFyZS9tYW4vbWFuMSIpKSkpCisgICAgICAgICAgICAgI3QpKQorICAgICAg ICAgKGFkZC1hZnRlciAnaW5zdGFsbCAnd3JhcC1wZXJsLXNjcmlwdAorICAgICAgICAgICAobGFt YmRhKiAoIzprZXkgb3V0cHV0cyAjOmFsbG93LW90aGVyLWtleXMpCisgICAgICAgICAgICAgKHdy YXAtcHJvZ3JhbSAoc3RyaW5nLWFwcGVuZCAoYXNzb2MtcmVmIG91dHB1dHMgIm91dCIpCisgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAiL2Jpbi94a2JzZXQtZ3VpIikK KyAgICAgICAgICAgICAgIGAoIlBFUkw1TElCIiAiOiIgcHJlZml4ICgsKGdldGVudiAiUEVSTDVM SUIiKSkpKQorICAgICAgICAgICAgICN0KSkKKyAgICAgICAgIChyZXBsYWNlICdpbnN0YWxsLWxp Y2Vuc2UtZmlsZXMKKyAgICAgICAgICAgKGxhbWJkYSog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