From patchwork Sun Feb 28 22:37:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Leo Prikler X-Patchwork-Id: 27356 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 B172D27BC4C; Sun, 28 Feb 2021 22:39:33 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id B99EE27BC4D for ; Sun, 28 Feb 2021 22:39:31 +0000 (GMT) Received: from localhost ([::1]:54638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lGUio-00005I-Qm for patchwork@mira.cbaines.net; Sun, 28 Feb 2021 17:39:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lGUiP-0008Ug-Ir for guix-patches@gnu.org; Sun, 28 Feb 2021 17:39:05 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:35903) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lGUiP-0004Hh-Ap 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-0002Nw-8E for guix-patches@gnu.org; Sun, 28 Feb 2021 17:39:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v2 27/52] gnu: Add rust-pangocairo-sys-0.11. 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.16145519179072 (code B ref 44492); Sun, 28 Feb 2021 22:39:05 +0000 Received: (at 44492) by debbugs.gnu.org; 28 Feb 2021 22:38:37 +0000 Received: from localhost ([127.0.0.1]:47438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGUhx-0002MA-AB for submit@debbugs.gnu.org; Sun, 28 Feb 2021 17:38:37 -0500 Received: from mailrelay.tugraz.at ([129.27.2.202]:44343) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lGUhn-0002Lg-Ga for 44492@debbugs.gnu.org; Sun, 28 Feb 2021 17:38:28 -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 4Dpdb46F03z1LBRv for <44492@debbugs.gnu.org>; Sun, 28 Feb 2021 23:38:24 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 mailrelay.tugraz.at 4Dpdb46F03z1LBRv DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tugraz.at; s=mailrelay; t=1614551904; bh=ydNu2OhwJrqTBd2ZnCsgRrSHd07eW6PiVT/YbxQgm1U=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Tzmg43cvNWooYOLmdfM19GtcN/wXorfVb8pRP55C0OWZHiADpTAGQ81iGVq0poqpM Mo0Odf6+AHn6M5Fel6mfxc6ZGYXitjyv+Gv1Gp8/3sUh7qLvuyh/4yci728+Sf5997 4hGI7u7Y9QzAwwI2fFVgWohMBsdfq57wW/y94fPM= From: Leo Prikler Date: Sun, 28 Feb 2021 23:37:47 +0100 Message-Id: <20210228223749.12444-8-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 X-TUG-Backscatter-control: bt4lQm5Tva3SBgCuw0EnZw 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-gtk.scm (rust-pangocairo-sys-0.11): New variable. --- gnu/packages/crates-gtk.scm | 53 ++++++++++++++++++++++++++++++++----- 1 file changed, 47 insertions(+), 6 deletions(-) diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm index b7eb62b0d3..42bfadb54b 100644 --- a/gnu/packages/crates-gtk.scm +++ b/gnu/packages/crates-gtk.scm @@ -1805,8 +1805,54 @@ converts raw links to http links and strips unwanted tags.") #:cargo-development-inputs (("rust-gir-format-check" ,rust-gir-format-check-0.1)))))) +(define-public rust-pangocairo-sys-0.11 + (package + (name "rust-pangocairo-sys") + (version "0.11.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pangocairo-sys" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "167b1z6ns3lw1dqfq3mnhmknf7isi5vacp2fp0rh4bwcd5zwkk4l")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs + (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.10) + ("rust-glib-sys" ,rust-glib-sys-0.10) + ("rust-libc" ,rust-libc-0.2) + ("rust-pango-sys" ,rust-pango-sys-0.10) + ("rust-system-deps" ,rust-system-deps-1)) + #:cargo-development-inputs + (("rust-shell-words" ,rust-shell-words-0.1) + ("rust-tempfile" ,rust-tempfile-3)) + #: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 "https://gtk-rs.org/") + (synopsis "FFI bindings to pangocairo") + (description "This package provides FFI bindings to pangocairo.") + (license license:expat))) + (define-public rust-pangocairo-sys-0.10 (package + (inherit rust-pangocairo-sys-0.11) (name "rust-pangocairo-sys") (version "0.10.1") (source @@ -1818,7 +1864,6 @@ converts raw links to http links and strips unwanted tags.") (sha256 (base32 "1zlyf5vajarnxg5034b8qa5w5zajv96lfvlgiki26svpmcqip4m3")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-cairo-sys-rs" ,rust-cairo-sys-rs-0.9) @@ -1830,8 +1875,4 @@ converts raw links to http links and strips unwanted tags.") (("rust-shell-words" ,rust-shell-words-0.1) ("rust-tempfile" ,rust-tempfile-3)))) (inputs - `(("gtk+" ,gtk+))) - (home-page "https://gtk-rs.org/") - (synopsis "FFI bindings to libgtk-3") - (description "This package provides FFI bindings to libgtk-3.") - (license license:expat))) + `(("gtk+" ,gtk+)))))