From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:37185) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1inuAB-0001SQ-7W for guix-patches@gnu.org; Sat, 04 Jan 2020 19:53:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1inuAA-0006Ds-3D for guix-patches@gnu.org; Sat, 04 Jan 2020 19:53:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37542) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1inuA9-0006D4-VV for guix-patches@gnu.org; Sat, 04 Jan 2020 19:53:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1inuA9-0006uL-Tw for guix-patches@gnu.org; Sat, 04 Jan 2020 19:53:01 -0500 Subject: [bug#38925] [PATCH] Add Tuxmath Resent-Message-ID: From: Nicolas Goaziou References: <875zhruhtj.fsf@nicolasgoaziou.fr> Date: Sun, 05 Jan 2020 01:52:30 +0100 In-Reply-To: <875zhruhtj.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sat, 04 Jan 2020 20:45:12 +0100") Message-ID: <87y2umu3ld.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain 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: 38925@debbugs.gnu.org Nicolas Goaziou writes: > +(define-public tuxmath > + (package > + (name "tuxmath") > + (version "2.0.3") > + (source > + (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/tux4kids/tuxmath") > + (commit (string-append "upstream/" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 "1f1pz83w6d3mbik2h6xavfxmk5apxlngxbkh80x0m55lhniwkdxv")) > + (modules '((guix build utils))) > + ;; Unbundle fonts. > + (snippet > + `(begin > + (for-each delete-file (find-files "data/fonts" "\\.ttf$")) > + #t)))) > + (build-system gnu-build-system) > + (arguments > + `(#:tests? #f ;no test > + #:phases > + (modify-phases %standard-phases > + (add-after 'set-paths 'set-sdl-paths > + (lambda* (#:key inputs #:allow-other-keys) > + (setenv "CPATH" > + (string-append (assoc-ref inputs "sdl") > + "/include/SDL:" > + (or (getenv "CPATH") ""))))) Added missing #t here.