From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id cPrDMKKrUGAXXAAA0tVLHw (envelope-from ) for ; Tue, 16 Mar 2021 12:59:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OGaULKKrUGALYwAAbx9fmQ (envelope-from ) for ; Tue, 16 Mar 2021 12:59:14 +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 aspmx1.migadu.com (Postfix) with ESMTPS id 4EC1C28EF2 for ; Tue, 16 Mar 2021 13:59:14 +0100 (CET) Received: from localhost ([::1]:45330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lM9I1-0000D1-GV for larch@yhetil.org; Tue, 16 Mar 2021 08:59:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49542) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lM9Hr-00009a-5i for guix-patches@gnu.org; Tue, 16 Mar 2021 08:59:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55136) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lM9Hq-0001WC-U5 for guix-patches@gnu.org; Tue, 16 Mar 2021 08:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lM9Hq-0005pc-St for guix-patches@gnu.org; Tue, 16 Mar 2021 08:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#44492] [PATCH v5 09/51] gnu: Add rust-gspell-sys-0.4. Resent-From: Efraim Flashner Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 16 Mar 2021 12:59:02 +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: Leo Prikler Cc: 44492@debbugs.gnu.org Received: via spool by 44492-submit@debbugs.gnu.org id=B44492.161589953222378 (code B ref 44492); Tue, 16 Mar 2021 12:59:02 +0000 Received: (at 44492) by debbugs.gnu.org; 16 Mar 2021 12:58:52 +0000 Received: from localhost ([127.0.0.1]:38444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM9Hg-0005or-Bd for submit@debbugs.gnu.org; Tue, 16 Mar 2021 08:58:52 -0400 Received: from flashner.co.il ([178.62.234.194]:54472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lM9He-0005oe-Bi for 44492@debbugs.gnu.org; Tue, 16 Mar 2021 08:58:50 -0400 Received: from localhost (unknown [31.210.181.184]) by flashner.co.il (Postfix) with ESMTPSA id 89FA540160; Tue, 16 Mar 2021 12:58:44 +0000 (UTC) Date: Tue, 16 Mar 2021 14:42:57 +0200 From: Efraim Flashner Message-ID: References: <20210315154342.9437-1-leo.prikler@student.tugraz.at> <20210315154342.9437-9-leo.prikler@student.tugraz.at> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="C2GGV7gfg1JJlPCT" Content-Disposition: inline In-Reply-To: <20210315154342.9437-9-leo.prikler@student.tugraz.at> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 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=1615899554; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: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; bh=9f+cYeW9IqCo/lY8S86r8iM7JQXhgFl0+320JYQ78KE=; b=MBWVvEdj+ALH4EBDwERgiVw5kRwavtSAHPy+AnkY9auCXHbVcaIBY6KQu9OH2PcgCmGQyo BJidSBbSHqNyrxYmYN3szQe10ku6RDNoBnnclXvehhsu6ogOYRNZMZm1wZwH7qutetK3M+ K6uArSi4iTWwRP3PYK/e4y85K8IR2qtQoNSwdiZ04yg3g5hwdmxfZ+2TJZO9eyaqs5De1W 2eKHLgKYyTKtyuS641tptnwIVVC2pHDStfxVZg3/oxwFxPa/rFqDZ5AO+Lt1qAuZwuJ1UG ubZXoMRMym6nZAcwNAft6rGI5+0Vg3H3QRnUdMjEfKAtHxZX8OAh+2a/1+iltw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615899554; a=rsa-sha256; cv=none; b=UhueD3S36im+C46oXqEYfyygFs+rAyV/sgYXWMeOsT13JXKPddbRRr4WDI0AswIFqSXiss 3zWydT4hwmRVbqVAfORrcUmLWrhH/l8dh8OV8wFE7YEB/UHTmI6KZogWHNbYXLErbH4nNg c/w/KoxhZeMvPlwHkHvuc0t03hkIwvyS3ei6R2fe93X9JBwqX1WoFH+3ZlHvH8VWR7/AVn HC2A6WGMoSxwJ/FMqgMdUqe0rNPHjHbP6I2SnffQhMWpXktiVNSxI+byPT+MhH75mM3/cY Ch28DdoS/hlLCpYCMNVrrh6hlKidCIdlkNOWxhKXyinAkV3IZQ9Gol5SzsS4MA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.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: -4.00 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.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: 4EC1C28EF2 X-Spam-Score: -4.00 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZhyScq6z5jj6 --C2GGV7gfg1JJlPCT Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Sometimes the rust-*-sys packages bundle the source code for the package they wrap, is that the case here? That it wants pkg-config is good, but it's worth checking. On Mon, Mar 15, 2021 at 04:43:42PM +0100, Leo Prikler wrote: > * gnu/packages/crates-gtk.scm (rust-gspell-sys-0.4): New variable. > --- > gnu/packages/crates-gtk.scm | 48 ++++++++++++++++++++++++++++++++++++- > 1 file changed, 47 insertions(+), 1 deletion(-) >=20 > diff --git a/gnu/packages/crates-gtk.scm b/gnu/packages/crates-gtk.scm > index 0d72fbf321..09aa79daba 100644 > --- a/gnu/packages/crates-gtk.scm > +++ b/gnu/packages/crates-gtk.scm > @@ -26,7 +26,8 @@ > #:use-module (gnu packages crates-io) > #:use-module (gnu packages crates-graphics) > #:use-module (gnu packages glib) > - #:use-module (gnu packages gtk)) > + #:use-module (gnu packages gtk) > + #:use-module (gnu packages pkg-config)) > =20 > ;;; > ;;; Please: Try to add new module packages in alphabetic order. > @@ -887,6 +888,51 @@ > (("rust-shell-words" ,rust-shell-words-0.1) > ("rust-tempfile" ,rust-tempfile-3)))))) > =20 > +(define-public rust-gspell-sys-0.4 > + (package > + (name "rust-gspell-sys") > + (version "0.4.0") > + (source > + (origin > + (method url-fetch) > + (uri (crate-uri "gspell-sys" version)) > + (file-name > + (string-append name "-" version ".tar.gz")) > + (sha256 > + (base32 > + "07snannzd36wlms2x880ylkq7h1162g0kv9y54wlrc2nd11kjc2c")))) > + (build-system cargo-build-system) > + (arguments > + `(#:cargo-inputs > + (("rust-glib-sys" ,rust-glib-sys-0.9) > + ("rust-gobject-sys" ,rust-gobject-sys-0.9) > + ("rust-gtk-sys" ,rust-gtk-sys-0.9) > + ("rust-libc" ,rust-libc-0.2) > + ("rust-pkg-config" ,rust-pkg-config-0.3)) > + #:cargo-development-inputs > + (("rust-shell-words" ,rust-shell-words-0.1) > + ("rust-tempfile" ,rust-tempfile-3)) > + #:phases > + (modify-phases %standard-phases > + (add-before 'check 'pre-check > + (lambda* (#:key inputs #:allow-other-keys) > + (setenv "CC" (which "gcc")) Even if it can't be cross compiled now it should still be (cc-for-target) > + #t))))) > + (native-inputs > + `(("pkg-config" ,pkg-config))) > + (inputs > + `(("atk" ,atk) > + ("cairo" ,cairo) > + ("glib" ,glib) > + ("gspell" ,(module-ref (resolve-module '(gnu packages gnome)) > + 'gspell)) Unless there's a problem with circular package modules you should really just import gnome into the package module. > + ("gtk+" ,gtk+) > + ("pango" ,pango))) > + (home-page "https://gitlab.gnome.org/World/Rust/gspell-rs") > + (synopsis "Raw C-FFI bindings for gspell") > + (description "This package provides raw C-FFI bindings for the gspel= l library.") > + (license license:gpl3+))) > + > (define-public rust-gtk-0.8 > (package > (name "rust-gtk") > --=20 > 2.30.2 >=20 >=20 >=20 >=20 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --C2GGV7gfg1JJlPCT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmBQp88ACgkQQarn3Mo9 g1FiwxAAm8ZrllsLAItxi5+rTxtfENg0fpd6UA3Y98TLpa+Bow17edXsCpITGmk3 TKp54fuASXkLcsa+uoozrKhA+PgZlL93OR3yzpKL0dnvSeCdbSBBaHrtbF8dgpiz tscJ9h282zAh+DPIvPqPuwvmIy8C5N40/Ipjbj2ZJNJBj0XtBr5zc0F771r4BE0h PkYoG6RCJ7iIbBgveYQeoRWOZNmaw3wdduWRnO2ALWWXQo2htkwW+xg+N+07VIbe dRne3peRkAtu0pejSjYbRWzb5aHEaOxPOlzad7r96Xj94HtgRUf7pQD29m8fJJRA U54KdPz1I8DGYERp5oX+qndTHZqD0g5Zcxz+2jMweqTZkeF6cnta2v93KHsW7pd4 rmUcsAG/kUKxiemgG9f+KMX4ky4gmiyqE8CCpeTmhRgfG8u62qkVaGdPKZq2S5VS 6KoIbgHYvNZsJGcUn6vUzbo8MjG7lYNwGERowW+dYkD+ppuQAaMApXlQDnmVN42O 3LlSmTFvWKBTqvezcfVowCCdXF9kAU4qdqOpMhxKq+n2CF9V1sb3ZnJ94W5gFtYY iEsSCU/tkauUbeDoSXbg98rdP3EQQpAqoqyhJuzuiykH2wak4Gcu2MmxBcd955Xt LOzI4Xnw/7uYMp9zRaY8I9sEVYK9LPhSZqGygNcLnZXD+z5h8P4= =R1/D -----END PGP SIGNATURE----- --C2GGV7gfg1JJlPCT--