all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: Adonay Felipe Nogueira <adfeno@openmailbox.org>
Cc: guix-devel@gnu.org
Subject: Re: gnu: abbaye: Update to 2.0.1 from new repository.
Date: Fri, 20 Jan 2017 20:31:49 +0300	[thread overview]
Message-ID: <87efzxmyd6.fsf@gmail.com> (raw)
In-Reply-To: <87d1foe8n3.fsf@openmailbox.org> (Adonay Felipe Nogueira's message of "Sun, 15 Jan 2017 11:48:48 -0200")

Adonay Felipe Nogueira (2017-01-15 11:48 -0200) wrote:

> After so much wait, we got L'Abbaye des Morts game out of Google
> Code. :)
>
> I had to remove the bundled fonts because they no longer use these
> directly in the game. It seems to be in their repository just because
> they don't want to lose the rare text font they found.

He-he :-)

> From 1991208b15a9a304224091c09dd80d01862d3e36 Mon Sep 17 00:00:00 2001
> From: Adonay Felipe Nogueira <adfeno@openmailbox.org>
> Date: Sat, 14 Jan 2017 16:42:05 -0200
> Subject: [PATCH] gnu: abbaye: Update to 2.0.1 from new repository.
>
> * gnu/packages/games.scm: (abbaye): Update to 2.0.1.
> ---
>  gnu/packages/games.scm | 39 ++++++++++++++++++++-------------------
>  1 file changed, 20 insertions(+), 19 deletions(-)
>
> diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
> index c449f59..272fa0f 100644
> --- a/gnu/packages/games.scm
> +++ b/gnu/packages/games.scm
> @@ -24,6 +24,7 @@
>  ;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
>  ;;; Copyright © 2016 Jan Nieuwenhuizen <janneke@gnu.org>
>  ;;; Copyright © 2016 Steve Webber <webber.sl@gmail.com>
> +;;; Copyright © 2017 Adonay "adfeno" Felipe Nogueira <https://libreplanet.org/wiki/User:Adfeno> <adfeno@openmailbox.org>

Not sure what others think, but as for me, the above libreplanet link is
redundant…, and "adfeno" as well :-)

>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -176,22 +177,24 @@ scriptable with Guile.")
>  (define-public abbaye
>    (package
>      (name "abbaye")
> -    (version "1.13")
> +    (version "2.0.1")
>      (source
>       (origin
> -       (method url-fetch)
> -       (uri (string-append "https://storage.googleapis.com/"
> -                           "google-code-archive-downloads/v2/code.google.com/"
> -                           "abbaye-for-linux/abbaye-for-linux-src-"
> -                           version ".tar.gz"))
> +       (method git-fetch)
> +       (uri (git-reference
> +	     (url "git://github.com/nevat/abbayedesmorts-gpl.git")
> +	     (commit (string-append "v" version))))

I think we prefer to use tarball snapshots instead of git-fetch:

  https://github.com/nevat/abbayedesmorts-gpl/archive/v2.0.1.tar.gz

>         (sha256
>          (base32
> -         "1wgvckgqa2084rbskxif58wbb83xbas8s1i8s7d57xbj08ryq8rk"))))
> +         "1pwqf7r9bqb2p3xrw9i7y8pgr1401fy3mnnqpb1qkhmdl3gqi9hb"))
> +       (modules '((guix build utils)))
> +       (snippet
> +	'(begin
> +	   ;; Unbundle fonts.
> +	   (delete-file-recursively "fonts")))))
>      (build-system gnu-build-system)
>      (arguments
> -     '(#:modules ((ice-9 match)
> -                  (guix build gnu-build-system)
> -                  (guix build utils))
> +     '(#:make-flags '("CC=gcc")
>         #:phases (modify-phases %standard-phases
>                    (add-after 'set-paths 'set-sdl-paths
>                      (lambda* (#:key inputs #:allow-other-keys)
> @@ -199,12 +202,10 @@ scriptable with Guile.")
>                                (string-append (assoc-ref inputs "sdl-union")
>                                               "/include/SDL"))))
>                    (add-after 'patch-source-shebangs 'patch-makefile
> -                    (lambda* (#:key outputs #:allow-other-keys)
> -                      ;; Replace /usr with package output directory.
> -                      (for-each (lambda (file)
> -                                  (substitute* file
> -                                    (("/usr") (assoc-ref outputs "out"))))
> -                                '("makefile" "src/pantallas.c" "src/comun.h"))))
> +			     (lambda* (#:key outputs #:allow-other-keys)
> +				      ;; Replace /usr with package output directory
> +				      (substitute* "Makefile"
> +						   (("/usr") (assoc-ref outputs "out")))))

You broke the indentation here, (but it's not a problem; the one who
will commit it, will probably fix it).  So patching "src/pantallas.c"
and "src/comun.h" is not needed anymore, right?

-- 
Alex

  reply	other threads:[~2017-01-20 17:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-15 13:48 gnu: abbaye: Update to 2.0.1 from new repository Adonay Felipe Nogueira
2017-01-20 17:31 ` Alex Kost [this message]
2017-01-23 12:46   ` Adonay Felipe Nogueira
2017-01-24  1:03     ` Leo Famulari
2017-02-03 19:58     ` Alex Kost
2017-02-17 12:03       ` Adonay Felipe Nogueira

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87efzxmyd6.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=adfeno@openmailbox.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.