From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id tX1JFqgbPGA5JgAA0tVLHw (envelope-from ) for ; Sun, 28 Feb 2021 22:39:36 +0000 Received: from aspmx2.migadu.com ([2001:41d0:2:c151::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id iOtwEagbPGCfIwAAbx9fmQ (envelope-from ) for ; Sun, 28 Feb 2021 22:39:36 +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 aspmx2.migadu.com (Postfix) with ESMTPS id 10BD520FB7 for ; Sun, 28 Feb 2021 23:39:36 +0100 (CET) Received: from localhost ([::1]:54654 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lGUit-00005e-0t for larch@yhetil.org; Sun, 28 Feb 2021 17:39:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGUiQ-0008VB-06 for guix-patches@gnu.org; Sun, 28 Feb 2021 17:39:06 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35904) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lGUiP-0004Hx-Me for guix-patches@gnu.org; Sun, 28 Feb 2021 17:39:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lGUiP-0002O3-KV for guix-patches@gnu.org; Sun, 28 Feb 2021 17:39:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v2 28/52] gnu: Add rust-pangocairo-0.10. Resent-From: Leo Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Feb 2021 22:39:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44492 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo To: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.16145519189080 (code B ref 44492); Sun, 28 Feb 2021 22:39:05 +0000 Received: (at 44492) by debbugs.gnu.org; 28 Feb 2021 22:38:38 +0000 Received: from localhost ([127.0.0.1]:47440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGUhx-0002MH-NY for submit@debbugs.gnu.org; Sun, 28 Feb 2021 17:38:38 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:47475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGUhp-0002Lo-Mh for 44492@debbugs.gnu.org; Sun, 28 Feb 2021 17:38:30 -0500 Received: from localhost.localdomain (217-149-164-20.nat.highway.telekom.at [217.149.164.20]) by mailrelay.tugraz.at (Postfix) with ESMTPSA id 4Dpdb70PPSz1LBRw for <44492@debbugs.gnu.org>; Sun, 28 Feb 2021 23:38:27 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dpdb70PPSz1LBRw DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1614551907; bh=G0x5vbwhfWAYOJWNOKEi+z1wPRTZgYyIfAluYANsdEc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=H5VRJlX+WpShceRRuksECOd9HWYeuCe0bh6OFp6ybsQ/uuynhseJ1DfRwSej1fsst zwkDdioSxI8NCf7d0Fkooq8Utz+yVIKkwzO44XV/XfOdPGRXYJiHktHLqpAhLCaEbw CoLaFbHMy4ayraggy57EsjwBmFi6mcpQs9qYbKUo= From: Leo Prikler Date: Sun, 28 Feb 2021 23:37:48 +0100 Message-Id: <20210228223749.12444-9-leo.prikler@student.tugraz.at> X-Mailer: git-send-email 2.30.1 In-Reply-To: <87sg5lhemw.fsf@nicolasgoaziou.fr> References: <87sg5lhemw.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw X-Spam-Scanner: SpamAssassin 3.003001 X-Spam-Score-relay: -1.9 X-Scanned-By: MIMEDefang 2.74 on 129.27.10.117 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+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=1614551976; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=G0x5vbwhfWAYOJWNOKEi+z1wPRTZgYyIfAluYANsdEc=; b=HYO8EwxVyCCo1EnBRcRROG0jdcTJpQSDp+OMPxsWZOA4gl8G4cDPJdgvEKZxouzHi0z3gm whq/NP/jIH1d/yiWe7wsKVzu68EPIt49r/ogpiVIG9ZdRxGzDeAf74/selwD+yA6d3zQqa 3X9CK48jT8OedlV1S+3eQpToD/YaqjPaWVh8FgDEG1egN23+u5xHoNqQMasxHi/Yk3iGOp g8gWevuqfpaFZIV92vnfS9aZBwL0Gi/aw5uG9qqWBY2zsJ9o3/krUeh2KEqgPzo4+ePxN5 170u7CBa92fqWDHEDRcIDQjGzngRHCYfQLpfOoS4P/d6z0PrICznnKXVQr64ww== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614551976; a=rsa-sha256; cv=none; b=RJZeKtbd60p6bYDcwhifr2qqSC/rUa4AiWV98XRmp6PpIlXAJoTuk4tq8+BaJHrz0Ryjqy KdMsTv/1Fyi98rbsJ458se52FZP2lDyYCAUCfOlRc3qYpAL7vhfnFQqq9kpHDLWoYPqZ5Z OWD2cjggcyVkHKl+IA9qKNX4wrRi/YNd9IkWwo0tH2YUI3zpOak1ZkP+UIE3QktcS+ioc4 QU0YzkztDgcVUWGclB9Ljth0wKNSRc43TBHkeFqQllJKmqSqoLjOHUzVutuyjl4bkX6Qxj d/Jl3stawuerJP0S1j5c1/L9Jx/Ukr5XiU527iI7OUPW7GEinUhzvf+2mER1EA== ARC-Authentication-Results: i=1; aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=H5VRJlX+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx2.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: 5.24 Authentication-Results: aspmx2.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tugraz.at header.s=mailrelay header.b=H5VRJlX+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=student.tugraz.at (policy=none); spf=pass (aspmx2.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: 10BD520FB7 X-Spam-Score: 5.24 X-Migadu-Scanner: scn0.migadu.com X-TUID: aA+hdWaLvWXx * gnu/packages/crates-gtk.scm (rust-pangocairo-0.10): New variable. --- gnu/packages/crates-gtk.scm | 61 ++++++++++++++++++++++++++++++++----- 1 file changed, 54 insertions(+), 7 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index 42bfadb54b..d187b098c7 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1738,8 +1738,61 @@ converts raw links to http links and strips unwanted tags.") (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))))) +(define-public rust-pangocairo-0.10 + (package + (name "rust-pangocairo") + (version "0.10.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pangocairo" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "10z8hlc82984nwvy5pnyh95ls9s5r1qrlkpn14zh4pjsl1ksxx80")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-bitflags" ,rust-bitflags-1) + ("rust-cairo-rs" ,rust-cairo-rs-0.9) + ("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10) + ("rust-glib" ,rust-glib-0.10) + ("rust-glib-sys" ,rust-glib-sys-0.10) + ("rust-gobject-sys" ,rust-gobject-sys-0.10) + ("rust-gtk-rs-lgpl-docs" + ,rust-gtk-rs-lgpl-docs-0.1) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango" ,rust-pango-0.9) + ("rust-pango-sys" ,rust-pango-sys-0.10) + ("rust-pangocairo-sys" ,rust-pangocairo-sys-0.11)) + #:cargo-development-inputs + (("rust-gir-format-check" ,rust-gir-format-check-0.1)) + #:phases + (modify-phases %standard-phases + (add-after 'configure 'fix-version-requirements + (lambda* (#:key inputs vendor-dir #:allow-other-keys) + (substitute* + (map + (lambda (dir) (string-append dir "/Cargo.toml")) + (find-files vendor-dir "system-deps.*" #:directories? #t)) + (("0.0.10") ,(package-version rust-version-compare-0.0))) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("cairo" ,cairo) + ("glib" ,glib) + ("pango" ,pango))) + (home-page "http://gtk-rs.org/") + (synopsis "Rust bindings for the PangoCairo library") + (description + "Rust bindings for the PangoCairo library.") + (license license:expat))) + (define-public rust-pangocairo-0.9 (package + (inherit rust-pangocairo-0.10) (name "rust-pangocairo") (version "0.9.0") (source @@ -1751,7 +1804,6 @@ converts raw links to http links and strips unwanted tags.") (sha256 (base32 "0bap3h78hdqdyln58349qjjbcv45m8a0a16c4n9fprdj1my0gldx")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-bitflags" ,rust-bitflags-1) @@ -1768,12 +1820,7 @@ converts raw links to http links and strips unwanted tags.") #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))) (inputs - `(("gtk+" ,gtk+))) - (home-page "http://gtk-rs.org/") - (synopsis "Rust bindings for the PangoCairo library") - (description - "Rust bindings for the PangoCairo library.") - (license license:expat))) + `(("gtk+" ,gtk+))))) (define-public rust-pangocairo-0.8 (package -- 2.30.1