GNU bug report logs - #42426
[PATCH] gnu: widelands: Update to 21.

Previous Next

Package: guix-patches;

Reported by: Michael Rohleder <mike <at> rohleder.de>

Date: Sun, 19 Jul 2020 08:56:01 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#42426: closed ([PATCH] gnu: widelands: Update to 21.)
Date: Mon, 20 Jul 2020 10:46:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 20 Jul 2020 13:44:18 +0300
with message-id <20200720104418.GG7307 <at> E5400>
and subject line Re: [bug#42426] [PATCH] gnu: widelands: Update to 21.
has caused the debbugs.gnu.org bug report #42426,
regarding [PATCH] gnu: widelands: Update to 21.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
42426: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=42426
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Michael Rohleder <mike <at> rohleder.de>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: widelands: Update to 21.
Date: Sun, 19 Jul 2020 10:55:02 +0200
[0001-gnu-widelands-Update-to-21.patch (text/x-patch, inline)]
From 59abde49df0248f8b1a770d59f62a7d8b6cf1495 Mon Sep 17 00:00:00 2001
From: Michael Rohleder <mike <at> rohleder.de>
Date: Sun, 19 Jul 2020 10:49:29 +0200
Subject: [PATCH] gnu: widelands: Update to 21.

* gnu/packages/games.scm (widelands): Update to 21.

[arguments]: remove uneeded 'install-desktop-file-and-icons.
---
 gnu/packages/games.scm | 26 ++++----------------------
 1 file changed, 4 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index e037ff649c..f4d75eedd4 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -51,6 +51,7 @@
 ;;; Copyright © 2020 Vitaliy Shatrov <D0dyBo0D0dyBo0 <at> protonmail.com>
 ;;; Copyright © 2020 Jack Hill <jackhill <at> jackhill.us>
 ;;; Copyright © 2020 Vincent Legoll <vincent.legoll <at> gmail.com>
+;;; Copyright © 2020 Michael Rohleder <mike <at> rohleder.de>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4651,15 +4652,15 @@ tactics.")
 (define-public widelands
   (package
     (name "widelands")
-    (version "20")
+    (version "21")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://launchpad.net/widelands/"
                            "build" version "/build" version "/+download/"
-                           "widelands-build" version ".tar.bz2"))
+                           "widelands-build" version "-source.tar.gz"))
        (sha256
-        (base32 "1cmwfwk7j6yi2pwmm4rm57s23sdzasqf53nx6567sdagqyc4sn9q"))
+        (base32 "0mz3jily0w1zxxqbnkqrp6hl88xhrwzbil9crq7gpcwidx60w7k0"))
        (modules '((guix build utils)))
        (snippet
         '(begin
@@ -4683,25 +4684,6 @@ tactics.")
                "-DCMAKE_BUILD_TYPE=Release"))
        #:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'install-desktop-file-and-icons
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             (let* ((share (string-append (assoc-ref outputs "out") "/share"))
-                    (applications (string-append share "/applications"))
-                    (icons (string-append share "/icons/hicolor")))
-               ;; Move desktop entry.
-               (mkdir-p applications)
-               (copy-file "debian/org.widelands.widelands.desktop"
-                          (string-append applications "/widelands.desktop"))
-               ;; Install icons.
-               (for-each (lambda (size)
-                           (let* ((dim (string-append size "x" size))
-                                  (apps (string-append icons "/" dim "/apps")))
-                             (mkdir-p apps)
-                             (copy-file (string-append "data/images/logos"
-                                                       "/wl-ico-" size ".png")
-                                        (string-append apps "/widelands.png"))))
-                         '("16" "32" "48" "64" "128"))
-               #t)))
          (add-after 'unpack 'unbundle-fonts
            ;; Unbundle fonts already packaged in Guix.  XXX: missing fonts are
            ;; amiri, Culmus, mmrCensus, Nakula, and Sinhala.
-- 
2.27.0

[Message part 4 (text/plain, inline)]
-- 
Kunst ist Magie, befreit von der Lüge, Wahrheit zu sein.
    Adorno
[signature.asc (application/pgp-signature, inline)]
[Message part 6 (message/rfc822, inline)]
From: Efraim Flashner <efraim <at> flashner.co.il>
To: Michael Rohleder <mike <at> rohleder.de>
Cc: 42426-done <at> debbugs.gnu.org
Subject: Re: [bug#42426] [PATCH] gnu: widelands: Update to 21.
Date: Mon, 20 Jul 2020 13:44:18 +0300
[Message part 7 (text/plain, inline)]
Looks good. Patch pushed!


-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 309 days ago.

Previous Next


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