From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id qEwQMkU2GGc5cwEA62LTzQ:P1 (envelope-from ) for ; Tue, 22 Oct 2024 23:33:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id qEwQMkU2GGc5cwEA62LTzQ (envelope-from ) for ; Wed, 23 Oct 2024 01:33:25 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Ow9OstTm; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b="ozr/Z0fV"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1729640004; a=rsa-sha256; cv=none; b=W3lbcyIRkLbjadEuT/LQ06NoFfPxIZh9MvRu0UewZz5IMR0SqcdvlyAZkjHf84/QmWqOWF ekehducQMCPeF3a5YwNkkMUvyBofIr+1xQhFtPm28QqzWyD8tRgqW4JXvmSlrNus3wfdw3 wW/K6s/33slqK/Ph2IwVh/0p5wAx6oqDnbek2t8v4uM6aHjzTRtb8mR7SA7GPxH1CWVSb4 VTFIQu+i1zDebJizr8hlPMvjhu/NwdjR9wjrgjNg0LjDmtBJ1OlJL5xVnvlhVQ4MLPB7lw BPd26FAl5FitR1aZjzGDzM3iNU/Lnmcv6O0kXR8QtyUciBsJEVeO8OO8vrKlZw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=Ow9OstTm; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b="ozr/Z0fV"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1729640004; 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-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=nOovWngX92G0150f0Fc9XjEFQHQclYY8nyR5/XNikc0=; b=FTLGugH9MdUXlzH3Vxk63IAQwHYHIW2bCSG4BN6iZSa/KjOIYMpNTeue1ZyFEoPVpgpLql jGKGiMmwxziZ4vabv+6FpalF+77D/8fe5Hl3KlwlLbigDkcz8p0KdrRPBH8oxb62ac6IQ1 z8awpQONX4PyZmF7DR7qTp5MGqJLOpAwPRdFSQp53m1qEI00qMPdnZWlsElUIVp+pD2A4Y xe2iN+IGot7AzqczAOTcglXxIgG2/HwHrxcY7ZSGC7/r2sLL4EYQVY5MKuT10W8zbnFjXW 6do5rPrkEEypcK2BbUIFt3F1I03+NHzmtyGat+IU4TaxhtRqRORUXV1rw/A8+g== 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 B51DD31A9C for ; Wed, 23 Oct 2024 01:33:24 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t3OMl-00061A-Lh; Tue, 22 Oct 2024 19:32:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t3OMj-0005xu-Bu for guix-patches@gnu.org; Tue, 22 Oct 2024 19:32:41 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1t3OMi-0001JU-KP for guix-patches@gnu.org; Tue, 22 Oct 2024 19:32:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=nOovWngX92G0150f0Fc9XjEFQHQclYY8nyR5/XNikc0=; b=Ow9OstTm8d15IZJr2KCfc3iT2MvrSWCJPgm8Vj9jiJ926ZOcTuu5+bZtUYpaO7EYgpqXA5QshvdJQ9qvXClsqrETAtq9XztoO9atTgybzrPaZygaaYe2Av8VPP1Yo+S6rsjGe92U2dGqU6B9tmuoIr9mxeyPz6a/HVWJDFKx2Slp48ck+63nRshLV/v5zizyzbznDjPJXI3zuAytqrzHv27CYYLv1Jy4fahhRgdBBW7V63n/18sLD42JR2g2XBWEcipbBWQrf66Ro9WOIimuaCowQ1Ov/OipoAcqipgxXW/PBFeoadAhr0REkssQjpPpIjV7oZXHhz4HSufeWmm13w==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t3ONB-0006iN-0x; Tue, 22 Oct 2024 19:33:09 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73956] [PATCH rust-team 10/27] gnu: Add rust-freetype-sys-0.21. Resent-From: Giacomo Leidi Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 22 Oct 2024 23:33:08 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73956 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73956@debbugs.gnu.org Cc: Giacomo Leidi , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 73956-submit@debbugs.gnu.org id=B73956.172963997025643 (code B ref 73956); Tue, 22 Oct 2024 23:33:08 +0000 Received: (at 73956) by debbugs.gnu.org; 22 Oct 2024 23:32:50 +0000 Received: from localhost ([127.0.0.1]:57874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3OMp-0006fI-Eg for submit@debbugs.gnu.org; Tue, 22 Oct 2024 19:32:50 -0400 Received: from confino.investici.org ([93.190.126.19]:54609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t3OMc-0006bA-6H for 73956@debbugs.gnu.org; Tue, 22 Oct 2024 19:32:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1729639919; bh=nOovWngX92G0150f0Fc9XjEFQHQclYY8nyR5/XNikc0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ozr/Z0fVoyNikOJbWhcOV8BjPZgJmpNO0eQZCsJ5Hb+LHSKIQD3J0TqGO2mLCyaio yoJGF3DczudeOBDHLMQ4Xs/Xa1CFBeGRN2nu/USGczuDeOs8gWhHF0FhbkZuzL7svV AuAPCxsS1NK0HeQ8iWR1qzbXbRxCIiWle69/SuoQ= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XY7k743Ynz117M; Tue, 22 Oct 2024 23:31:59 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4XY7k73Hl5z115q; Tue, 22 Oct 2024 23:31:59 +0000 (UTC) Date: Wed, 23 Oct 2024 01:30:55 +0200 Message-ID: X-Mailer: git-send-email 2.46.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: Giacomo Leidi X-ACL-Warn: , Giacomo Leidi via Guix-patches From: Giacomo Leidi via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.04 X-Spam-Score: -3.04 X-Migadu-Queue-Id: B51DD31A9C X-Migadu-Scanner: mx10.migadu.com X-TUID: GLHJVqCJrBr3 * gnu/packages/crates-io.scm (rust-freetype-sys-0.21): New variable; (rust-freetype-sys-0.20): inherit from rust-freetype-sys-0.21. Change-Id: I6833de0940a7f03f1d91dbb7e4c6f4e9f992581e --- gnu/packages/crates-io.scm | 34 +++++++++++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 3 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cc8491a98a..921ade5e2b 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -28337,17 +28337,17 @@ (define-public rust-freetype-rs-0.26 ("rust-freetype-sys" ,rust-freetype-sys-0.13) ("rust-libc" ,rust-libc-0.2)))))) -(define-public rust-freetype-sys-0.20 +(define-public rust-freetype-sys-0.21 (package (name "rust-freetype-sys") - (version "0.20.1") + (version "0.21.0") (source (origin (method url-fetch) (uri (crate-uri "freetype-sys" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0d5iiv95ap3lwy7b0hxbc8caa9ng1fg3wlwrvb7rld39jrdxqzhf")) + (base32 "1bsmjhjb26hzpzhj82c9196m0ls5m43zkgmqp67ambwjk6ylmf6x")) (snippet #~(begin (use-modules (guix build utils)) @@ -28372,6 +28372,34 @@ (define-public rust-freetype-sys-0.20 "This package provides low level binding for FreeType font library.") (license license:expat))) +(define-public rust-freetype-sys-0.20 + (package + (inherit rust-freetype-sys-0.21) + (name "rust-freetype-sys") + (version "0.20.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "freetype-sys" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0d5iiv95ap3lwy7b0hxbc8caa9ng1fg3wlwrvb7rld39jrdxqzhf")) + (snippet + #~(begin + (use-modules (guix build utils)) + (delete-file-recursively "freetype2") + ;; Inspired by Debian's patch for bzip2-sys. + (delete-file "build.rs") + (with-output-to-file "build.rs" + (lambda _ + (format #t "fn main() {~@ + println!(\"cargo:rustc-link-lib=freetype\");~@ + }~%"))))))) + (arguments + `(#:cargo-inputs (("rust-cc" ,rust-cc-1) + ("rust-libc" ,rust-libc-0.2) + ("rust-pkg-config" ,rust-pkg-config-0.3)))))) + (define-public rust-freetype-sys-0.17 (package (inherit rust-freetype-sys-0.20) -- 2.46.0