GNU bug report logs - #38925
[PATCH] Add Tuxmath

Previous Next

Package: guix-patches;

Reported by: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Date: Sat, 4 Jan 2020 19:46:02 UTC

Severity: normal

Tags: patch

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 38925 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: 38925 <at> debbugs.gnu.org
Subject: Re: [bug#38925] [PATCH] Add Tuxmath
Date: Sun, 05 Jan 2020 01:52:30 +0100
Nicolas Goaziou <mail <at> nicolasgoaziou.fr> 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.




This bug report was last modified 5 years and 104 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.