From patchwork Tue Mar 8 17:31:26 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Till Robin Zickel X-Patchwork-Id: 37666 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 140AD27BBEA; Tue, 8 Mar 2022 17:33:47 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FROM_SUSPICIOUS_NTLD,MAILING_LIST_MULTI,PDS_OTHER_BAD_TLD, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id D406427BBE9 for ; Tue, 8 Mar 2022 17:33:46 +0000 (GMT) Received: from localhost ([::1]:38262 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRdiU-0000KD-0d for patchwork@mira.cbaines.net; Tue, 08 Mar 2022 12:33:46 -0500 Received: from eggs.gnu.org ([209.51.188.92]:53814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRdgx-0006Nv-Bw for guix-patches@gnu.org; Tue, 08 Mar 2022 12:32:11 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35584) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nRdgw-00034c-Un for guix-patches@gnu.org; Tue, 08 Mar 2022 12:32:11 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nRdgw-0007Xr-S0 for guix-patches@gnu.org; Tue, 08 Mar 2022 12:32:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#54299] [PATCH 26/27] added rust-wayland-sys@0.29 Resent-From: Till Robin Zickel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 08 Mar 2022 17:32:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54299 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 54299@debbugs.gnu.org Received: via spool by 54299-submit@debbugs.gnu.org id=B54299.164676071828810 (code B ref 54299); Tue, 08 Mar 2022 17:32:10 +0000 Received: (at 54299) by debbugs.gnu.org; 8 Mar 2022 17:31:58 +0000 Received: from localhost ([127.0.0.1]:57687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRdgk-0007UW-3Z for submit@debbugs.gnu.org; Tue, 08 Mar 2022 12:31:58 -0500 Received: from mout-p-202.mailbox.org ([80.241.56.172]:36088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nRdgc-0007RT-Vl for 54299@debbugs.gnu.org; Tue, 08 Mar 2022 12:31:51 -0500 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4KCj751lFCz9sVy for <54299@debbugs.gnu.org>; Tue, 8 Mar 2022 18:31:45 +0100 (CET) From: Till Robin Zickel DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=illegalaliensfrom.space; s=MBO0001; t=1646760705; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0sJvcwRJzyjEmWKCMwVd4nHHySsn8uruYJVI/U3svl8=; b=0gy03Lfr9G2psauubk6HwlYnMrgZjkraceaUTIjGeiUZqwxabblRKHhbRdPsnAb3rMNx8y zEI85png13BiiPFgA01CvFT8gt0QTwdQBZYgIE3vuKQdOqPMj5EtSUyY9QA6goTtp2jpyc Mjixq8xcx4KWEho+SOPKE/mFd10J8yAmX5zt5N45pAtw39xWBBEBe+EUwmVwzRdElmjCIi BOxYSo4tQ370BKo49IgIJY8JtORMuo9J9p4VB1hzp7RmD+c7M+XF1R63RrOYYgBAZRQfOk EjaZnRGov0xE9PYoeHCOTaDxc5YCxzLzqm7aMo5UBvK47qMFJC5LBCxrXy0eoQ== Date: Tue, 8 Mar 2022 18:31:26 +0100 Message-Id: <20220308173127.21218-25-trzickel@illegalaliensfrom.space> In-Reply-To: <20220308173127.21218-1-trzickel@illegalaliensfrom.space> References: <20220308173127.21218-1-trzickel@illegalaliensfrom.space> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches --- gnu/packages/crates-graphics.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/crates-graphics.scm b/gnu/packages/crates-graphics.scm index 48abc64d62..875435fca9 100644 --- a/gnu/packages/crates-graphics.scm +++ b/gnu/packages/crates-graphics.scm @@ -3095,6 +3095,37 @@ (define-public rust-wayland-sys-0.28 crate @code{rust-wayland-client} for usable bindings.") (license license:expat))) +(define-public rust-wayland-sys-0.29 + (package + (inherit rust-wayland-sys-0.28) + (name "rust-wayland-sys") + (version "0.29.4") + (source (origin + (method url-fetch) + (uri (crate-uri "wayland-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "1m2jwk5q36jidwbdmdicmi27r9dzi4wanzg3i28nfxc9kbvisd6r")))) + (arguments + `(#:cargo-inputs (("rust-dlib" ,rust-dlib-0.5) ("rust-lazy-static" ,rust-lazy-static-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-memoffset" ,rust-memoffset-0.6) + ("rust-pkg-config" ,rust-pkg-config-0.3)) + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'patch-libraries + (lambda* (#:key inputs #:allow-other-keys) + (let ((libwayland (assoc-ref inputs "wayland"))) + (substitute* (find-files "src" "\\.rs$") + (("libwayland.*\\.so" shared-lib) (string-append libwayland + "/lib/" + shared-lib))) + #t)))))) + (inputs (list rust-dlib-0.5 rust-lazy-static-1 rust-libc-0.2 + rust-pkg-config-0.3 rust-memoffset-0.6)) + (propagated-inputs (list wayland)))) + (define-public rust-wayland-sys-0.23 (package (inherit rust-wayland-sys-0.28)