From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 2DGgHtPUK2e0lgAAqHPOHw:P1 (envelope-from ) for ; Wed, 06 Nov 2024 20:42:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2DGgHtPUK2e0lgAAqHPOHw (envelope-from ) for ; Wed, 06 Nov 2024 21:42:59 +0100 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=tb9rawGO; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=RkcoquIH; 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=1730925779; a=rsa-sha256; cv=none; b=dMEPoy8yAEZFoCg9M7+Exz+Nbr/UpsfKnvYdWEAiyoVtVc4Oo106m0thc8uuPOPLjDqoZG yUzXjseHejBb7rtjg4jFTTmXqNRjMM2bQg7E1z4EPyaC5byihCjHVOAkIz/eViyOYQK/aq vM0oIXnLrcq8k12z8s1ilEMZVl1SF13Zo6x1aZwzBVFjKve7IdURbnlvmJ83KZxUv4jOCZ 3lkaUix6ygnkNg5zJLiShmPNv52cWU0OvxpYSVcqVH8h2FJjQ8vhix1dAEKTPJ8/rvc5fQ 7IAXrv2/hSvEiG8xFX9Fqxxu5b6QJBoL5J0lzxiAzjU9p/faqQRXcS45tsZWkg== 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=tb9rawGO; dkim=fail ("headers rsa verify failed") header.d=autistici.org header.s=stigmate header.b=RkcoquIH; 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=1730925779; 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=Go0QZXHSyBo1+jyESV8GGuKrL8WxfutiMz0TQ0YeElk=; b=ScsZp7zKkJUI9S4U2ucMoR+fgSoBco0aQ1QgpcNZlttV2bnNeSlgjxiQcSlNTVR2B02Qy/ ImWDpe0Pd+NCuYf9Dt8MwUvaZg0tWWN7Pt/yrdBrf/BQSSYp4b0BcLk0KMPc/VI2bIlNHi LXHKjdg+xeLf3PTC7Fa/Ydx+1eZZD412ijLMh+AmSambWJ0g7iWy092V5qcwO36LSmZQXu fXcXR2nPLOcF8LHLWLqexMbqfkMufP2Ia2HvMj1HFfuRShXLaMHCwWadPre/j6rq2vRbBf M50DRTZxxUVfW9SAQrOt9Mx/vAzDNQPN4mgVBkV7HnUZlr0vAZk+WaVOi25eaA== 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 568B3839C7 for ; Wed, 06 Nov 2024 21:42:59 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t8mr1-0007ck-0x; Wed, 06 Nov 2024 15:42:15 -0500 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 1t8mqx-0007bK-Ez for guix-patches@gnu.org; Wed, 06 Nov 2024 15:42:11 -0500 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 1t8mqx-0000S0-6b for guix-patches@gnu.org; Wed, 06 Nov 2024 15:42:11 -0500 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=Go0QZXHSyBo1+jyESV8GGuKrL8WxfutiMz0TQ0YeElk=; b=tb9rawGOsCGgnFCJIUhAKJhEpbhhnuNbVwYmzM0jH+UgfJ1DltSayXijGs2cTSt9EmWs4NWy7CIYh+nNHH6J25G2x9cD3tTHjTMUC0bcMAMCmxTJYI5R98F0BivB8e27v6uVsWwQ5T33vLemecBIFuRq0qeGRtSgsOKDJmBKEMrP3E8hf1qOAk3XT4i9E4cDV18859EBNvWYiBIoYm03golDxXpBc94P0WMGBZo+R+fcJqewHz1rKWHow56t7rDteQz4iph8SPS0XL21tUiC9i3FKXL3vf3Ih6sfRnnG33oA2useiqHy4cdvZQu+BI96jeZdhDKjIbyv5or04lxlFQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t8mqx-0003Hm-2q; Wed, 06 Nov 2024 15:42:11 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#73956] [PATCHv2 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: Wed, 06 Nov 2024 20:42:11 +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.173092572912600 (code B ref 73956); Wed, 06 Nov 2024 20:42:11 +0000 Received: (at 73956) by debbugs.gnu.org; 6 Nov 2024 20:42:09 +0000 Received: from localhost ([127.0.0.1]:45686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8mqu-0003Gr-AN for submit@debbugs.gnu.org; Wed, 06 Nov 2024 15:42:09 -0500 Received: from confino.investici.org ([93.190.126.19]:40911) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t8mql-0003Dw-D1 for 73956@debbugs.gnu.org; Wed, 06 Nov 2024 15:42:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1730925719; bh=Go0QZXHSyBo1+jyESV8GGuKrL8WxfutiMz0TQ0YeElk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RkcoquIH1DWR3mJMALJz3XQEOqjDSiFROnfb356hRHRKoyKK/uxx9ngDSkxHC599C tUkPrY3AErbOealoUQA4wYRRgabiLSLsT1Ut3GMEE6sdwvkAkgHotShjQPs5XSu3d5 Ok/yliVUZyk8Ar2xRG7w/GXjQcPejMV5RHy/XxMc= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4XkHF31lsvz10vX; Wed, 6 Nov 2024 20:41: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 4XkHF16Xf4z10vV; Wed, 6 Nov 2024 20:41:57 +0000 (UTC) Date: Wed, 6 Nov 2024 21:41:14 +0100 Message-ID: <50504c45c843f60d1016e514b0f3c9bb72ef418a.1730925691.git.goodoldpaul@autistici.org> X-Mailer: git-send-email 2.46.0 In-Reply-To: <0084c1ccd6c3a7ff853bfc25cc3f2f7e1131f898.1730925691.git.goodoldpaul@autistici.org> References: <0084c1ccd6c3a7ff853bfc25cc3f2f7e1131f898.1730925691.git.goodoldpaul@autistici.org> 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: -2.89 X-Spam-Score: -2.89 X-Migadu-Queue-Id: 568B3839C7 X-Migadu-Scanner: mx10.migadu.com X-TUID: nUUkZo/MYz3u * 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 dd78521655..b5423efc2e 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