From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ffZFJ-0005yH-QJ for guix-patches@gnu.org; Tue, 17 Jul 2018 19:19:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ffZFG-0001sQ-Kn for guix-patches@gnu.org; Tue, 17 Jul 2018 19:19:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:40943) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ffZFG-0001sH-H5 for guix-patches@gnu.org; Tue, 17 Jul 2018 19:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ffZFG-0001WE-Bw for guix-patches@gnu.org; Tue, 17 Jul 2018 19:19:02 -0400 Subject: bug#32155: [PATCH 0/4] sfml updates Resent-To: guix-patches@gnu.org Resent-Message-ID: From: Marius Bakke In-Reply-To: <87zhyp7ecs.fsf@gnu.org> References: <20180714144121.30906-1-mbakke@fastmail.com> <87zhyp7ecs.fsf@gnu.org> Date: Wed, 18 Jul 2018 01:18:35 +0200 Message-ID: <87lga95u44.fsf@fastmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 32155-done@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Ludo, ludo@gnu.org (Ludovic Court=C3=A8s) writes: >> +(define (make-stb-header-package name version description) >> + (package >> + (inherit stb) >> + (name name) >> + (version version) >> + (source #f) >> + (inputs `(("stb" ,stb))) >> + (build-system trivial-build-system) >> + (arguments >> + `(#:modules ((guix build utils)) >> + #:builder (begin >> + (use-modules (guix build utils)) >> + (let ((stb (assoc-ref %build-inputs "stb")) >> + (lib (string-join (string-split ,name #\-) "_"= )) >> + (out (assoc-ref %outputs "out"))) >> + (install-file (string-append stb "/" lib ".h") >> + (string-append out "/include")) >> + #t)))) >> + (description description))) >> + >> +(define-public stb-image >> + (make-stb-header-package >> + "stb-image" "2.19" >> + "stb-image is a small and self-contained library for image loading or >> +decoding from file or memory. A variety of formats are supported.")) > > Not sure if it really matters here, but note that the description here > won=E2=80=99t be subject to translation. > > To make it translatable, it would have to be embedded in a (description > "=E2=80=A6") form. I address that with phony macros as in > =E2=80=98define-word-list-dictionary=E2=80=99 in aspell.scm. Oh, thanks for the heads-up! I did not know that. I added a TODO note about it and committed. As always, thanks a lot for reviewing! :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAltOeUsACgkQoqBt8qM6 VPruyQgAjv8UxqXfJVFyYHiFkVcWXdOhW+jphtWB1+qJH6ubeYTQ+ypiAzZObaKd qHLC7nJtcE54XvbRicZz4zm26PFTQIWbS/PTYsvna3eGduLMEcziZ+oFY9watflH Y0qji3Qw5axbzx30EGUsDtCsL0Bu76gCojCGRrzYQZBsQXV7CzKJJSz3xKikq9di bnfz5QPqmECSdA8+9WvlwN1o/difHggqjmq8miC+C2+pdw7I5GcRwgKitEapk5z9 5oNp7cKWVritf5DkWZx7sKW7F9fFVyFbI8bonfanvuhbhl2VKR314CNkBLJIYBcr iZJ43bkdNy2UStIS9Yq80rl+tH6GAA== =Yjxb -----END PGP SIGNATURE----- --=-=-=--