unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40560] RFC : Update OpenTTD & OpenGFX
@ 2020-04-11 18:20 Vincent Legoll
  2020-04-11 18:23 ` [bug#40560] [PATCH 1/2] gnu: openttd-opengfx: Update to 0.6.0 Vincent Legoll
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Vincent Legoll @ 2020-04-11 18:20 UTC (permalink / raw)
  To: 40560

Hello,

here is an update to latest released
OpenTTD & deps.

There was a lot of GIMP errors during the build
of opengfx, but it still completed succesfully.

As my guixsd is with display, I cannot test
the resulting packages.

WDYT ?

-- 
Vincent Legoll

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [bug#40560] [PATCH 1/2] gnu: openttd-opengfx: Update to 0.6.0.
  2020-04-11 18:20 [bug#40560] RFC : Update OpenTTD & OpenGFX Vincent Legoll
@ 2020-04-11 18:23 ` Vincent Legoll
  2020-04-11 18:23   ` [bug#40560] [PATCH 2/2] gnu: openttd: Update to 1.10.0 Vincent Legoll
  2020-04-12 13:28 ` [bug#40560] Tested Vincent Legoll
  2020-04-12 13:40 ` bug#40560: RFC : Update OpenTTD & OpenGFX Nicolas Goaziou
  2 siblings, 1 reply; 5+ messages in thread
From: Vincent Legoll @ 2020-04-11 18:23 UTC (permalink / raw)
  To: 40560; +Cc: Vincent Legoll

* gnu/packages/games.scm (openttd-opengfx)[version]: Update to 0.6.0.
[source]: Change uri to cdn.openttd.org.
[native-inputs]: Add which.
---
 gnu/packages/games.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 31e1936795..5543e46ac8 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -3034,15 +3034,15 @@ engine.  When you start it you will be prompted to download a graphics set.")
 (define openttd-opengfx
   (package
     (name "openttd-opengfx")
-    (version "0.5.5")
+    (version "0.6.0")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "http://binaries.openttd.org/extra/opengfx/"
+       (uri (string-append "https://cdn.openttd.org/opengfx-releases/"
                            version "/opengfx-" version "-source.tar.xz"))
        (sha256
         (base32
-         "009fa1bdin1bk0ynzhzc30hzkmmwzmwkk6j591ax3f6w75l28n49"))))
+         "0qxc6gl2gxcrn1np88dnjgbaaakkkx96b13rcmy1spryc8c09hyr"))))
     (build-system gnu-build-system)
     (arguments
      '(#:make-flags (list "CC=gcc"
@@ -3072,6 +3072,7 @@ engine.  When you start it you will be prompted to download a graphics set.")
                      ("gimp" ,gimp)
                      ("grfcodec" ,grfcodec)
                      ("nml" ,nml)
+                     ("which" ,which)
                      ("python" ,python-2)))
     (home-page "http://dev.openttdcoop.org/projects/opengfx")
     (synopsis "Base graphics set for OpenTTD")
-- 
2.26.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#40560] [PATCH 2/2] gnu: openttd: Update to 1.10.0.
  2020-04-11 18:23 ` [bug#40560] [PATCH 1/2] gnu: openttd-opengfx: Update to 0.6.0 Vincent Legoll
@ 2020-04-11 18:23   ` Vincent Legoll
  0 siblings, 0 replies; 5+ messages in thread
From: Vincent Legoll @ 2020-04-11 18:23 UTC (permalink / raw)
  To: 40560; +Cc: Vincent Legoll

The os/dos subdirectory has been removed by upstream commit:
fdb804d86bcab8d0529bdf6ca925bed04ad2f047

* gnu/packages/games.scm (openttd)[version]: Update to 1.10.0.
[source]: Change uri to cdn.openttd.org, remove snippet & modules.
---
 gnu/packages/games.scm | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 5543e46ac8..ba3a199b97 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -2971,20 +2971,14 @@ world}, @uref{http://evolonline.org, Evol Online} and
 (define openttd-engine
   (package
     (name "openttd-engine")
-    (version "1.9.3")
+    (version "1.10.0")
     (source
      (origin (method url-fetch)
-             (uri (string-append "https://proxy.binaries.openttd.org/openttd-releases/"
+             (uri (string-append "https://cdn.openttd.org/openttd-releases/"
                                  version "/openttd-" version "-source.tar.xz"))
              (sha256
               (base32
-               "0ijq72kgx997ggw40i5f4a3nf7y2g72z37l47i18yjvgbdzy320r"))
-             (modules '((guix build utils)))
-             (snippet
-              ;; The DOS port contains proprietary software.
-              '(begin
-                 (delete-file-recursively "os/dos")
-                 #t))))
+               "0lz2y2rjc23k0d97y65cqhy2splw9cmrbvhgz0iqps8xkan1m8hv"))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f              ; no "check" target
-- 
2.26.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [bug#40560] Tested
  2020-04-11 18:20 [bug#40560] RFC : Update OpenTTD & OpenGFX Vincent Legoll
  2020-04-11 18:23 ` [bug#40560] [PATCH 1/2] gnu: openttd-opengfx: Update to 0.6.0 Vincent Legoll
@ 2020-04-12 13:28 ` Vincent Legoll
  2020-04-12 13:40 ` bug#40560: RFC : Update OpenTTD & OpenGFX Nicolas Goaziou
  2 siblings, 0 replies; 5+ messages in thread
From: Vincent Legoll @ 2020-04-12 13:28 UTC (permalink / raw)
  To: 40560

I changed the guixsd on my old laptop to be xorg+xfce,

then guix copy'ed the 1.10.0 version of openttd there

and tested it lightly, it runs...

^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#40560: RFC : Update OpenTTD & OpenGFX
  2020-04-11 18:20 [bug#40560] RFC : Update OpenTTD & OpenGFX Vincent Legoll
  2020-04-11 18:23 ` [bug#40560] [PATCH 1/2] gnu: openttd-opengfx: Update to 0.6.0 Vincent Legoll
  2020-04-12 13:28 ` [bug#40560] Tested Vincent Legoll
@ 2020-04-12 13:40 ` Nicolas Goaziou
  2 siblings, 0 replies; 5+ messages in thread
From: Nicolas Goaziou @ 2020-04-12 13:40 UTC (permalink / raw)
  To: Vincent Legoll; +Cc: 40560-done

Hello,

Vincent Legoll <vincent.legoll@gmail.com> writes:

> here is an update to latest released
> OpenTTD & deps.

Thank you!

> There was a lot of GIMP errors during the build
> of opengfx, but it still completed succesfully.

I tried to update mypaint-brushes, as it seems related. But GIMP won't
build with mypaint-brushes 2+, so it didn't solve the issue.

> As my guixsd is with display, I cannot test
> the resulting packages.

It works great. I applied your patches as
c492b23fb1c33e9f5d1c1f07e4bb3d364fe36df8 and
842a9d8f56794abe3266be904ad7574a2dc5a286.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-12 13:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-11 18:20 [bug#40560] RFC : Update OpenTTD & OpenGFX Vincent Legoll
2020-04-11 18:23 ` [bug#40560] [PATCH 1/2] gnu: openttd-opengfx: Update to 0.6.0 Vincent Legoll
2020-04-11 18:23   ` [bug#40560] [PATCH 2/2] gnu: openttd: Update to 1.10.0 Vincent Legoll
2020-04-12 13:28 ` [bug#40560] Tested Vincent Legoll
2020-04-12 13:40 ` bug#40560: RFC : Update OpenTTD & OpenGFX Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).