all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#53035] [PATCH] gnu: supertux: Update to 0.6.3.
@ 2022-01-05 19:16 Felix Gruber
  2022-01-05 19:33 ` Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Felix Gruber @ 2022-01-05 19:16 UTC (permalink / raw)
  To: 53035; +Cc: Felix Gruber

* gnu/packages/games.scm (supertux): Update to 0.6.3.
  [inputs] Sort list and add glm.
* gnu/packages/patches/supertux-unbundle-squirrel.patch: Update patch.
---
 gnu/packages/games.scm                        | 23 ++++++++++---------
 .../patches/supertux-unbundle-squirrel.patch  | 17 ++++++++------
 2 files changed, 22 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index d884df588a..0dbc444aba 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -5442,7 +5442,7 @@ with the \"Stamp\" tool within Tux Paint.")
 (define-public supertux
   (package
    (name "supertux")
-   (version "0.6.2")
+   (version "0.6.3")
    (source (origin
             (method url-fetch)
             (uri (string-append "https://github.com/SuperTux/supertux/"
@@ -5451,7 +5451,7 @@ with the \"Stamp\" tool within Tux Paint.")
             (file-name (string-append name "-" version ".tar.gz"))
             (sha256
              (base32
-              "167m3z4m8n76dvbv42m1fnvabpbpsxvr28zk9641916jl9pfba96"))
+              "1xkr3ka2sxp5s0spp84iv294i29s1vxqzazb6kmjc0n415h0x57p"))
             (patches
              (search-patches "supertux-unbundle-squirrel.patch"))))
    (arguments
@@ -5471,18 +5471,19 @@ with the \"Stamp\" tool within Tux Paint.")
                  (string-append "${SQUIRREL_PREFIX}/include/squirrel"))))
             #t)))))
    (build-system cmake-build-system)
-   (inputs (list sdl2
-                 sdl2-image
-                 sdl2-mixer
-                 openal
-                 mesa
+   (inputs (list glm
+                 boost
+                 curl
+                 freetype
                  glew
-                 libvorbis
                  libogg
+                 libvorbis
+                 mesa
+                 openal
                  physfs
-                 curl
-                 boost
-                 freetype
+                 sdl2
+                 sdl2-image
+                 sdl2-mixer
                  squirrel))
    (native-inputs
     (list pkg-config))
diff --git a/gnu/packages/patches/supertux-unbundle-squirrel.patch b/gnu/packages/patches/supertux-unbundle-squirrel.patch
index 054183b75f..f504aacfdd 100644
--- a/gnu/packages/patches/supertux-unbundle-squirrel.patch
+++ b/gnu/packages/patches/supertux-unbundle-squirrel.patch
@@ -1,9 +1,8 @@
-diff -ur a/CMakeLists.txt b/CMakeLists.txt
---- a/CMakeLists.txt	2019-05-24 17:58:19.693090158 -0400
-+++ b/CMakeLists.txt	2019-05-24 17:57:43.349473252 -0400
-@@ -375,44 +375,15 @@
- 
- include(ConfigureChecks)
+--- a/CMakeLists.txt	2022-01-05 18:51:17.828392874 +0100
++++ b/CMakeLists.txt	2022-01-05 18:54:50.826717830 +0100
+@@ -487,48 +487,15 @@
+   include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src/ppc)
+ endif()
  
 -
 -## Also build external/squirrel
@@ -15,6 +14,9 @@ diff -ur a/CMakeLists.txt b/CMakeLists.txt
  set(SQUIRREL_PREFIX ${CMAKE_BINARY_DIR}/squirrel/ex)
 -ExternalProject_Add(squirrel
 -  SOURCE_DIR "${CMAKE_SOURCE_DIR}/external/squirrel/"
+-  BUILD_BYPRODUCTS
+-  "${SQUIRREL_PREFIX}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}sqstdlib_static${CMAKE_STATIC_LIBRARY_SUFFIX}"
+-  "${SQUIRREL_PREFIX}/lib/${CMAKE_STATIC_LIBRARY_PREFIX}squirrel_static${CMAKE_STATIC_LIBRARY_SUFFIX}"
 -  CMAKE_ARGS
 -  -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
 -  -DCMAKE_C_COMPILER=${CMAKE_C_COMPILER}
@@ -22,7 +24,8 @@ diff -ur a/CMakeLists.txt b/CMakeLists.txt
 -  -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
 -  -DCMAKE_CXX_FLAGS=${CMAKE_CXX_FLAGS}
 -  -DCMAKE_INSTALL_PREFIX=${SQUIRREL_PREFIX}
--  -DINSTALL_INC_DIR=include)
+-  -DINSTALL_INC_DIR=include
+-  -DCMAKE_POSITION_INDEPENDENT_CODE=ON)
 -
 -if(WIN32)
 -  add_library(squirrel_lib SHARED IMPORTED)
-- 
2.30.2





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

* [bug#53035] [PATCH] gnu: supertux: Update to 0.6.3.
  2022-01-05 19:16 [bug#53035] [PATCH] gnu: supertux: Update to 0.6.3 Felix Gruber
@ 2022-01-05 19:33 ` Leo Famulari
  2022-01-05 20:20   ` Felix Gruber
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2022-01-05 19:33 UTC (permalink / raw)
  To: Felix Gruber; +Cc: 53035

On Wed, Jan 05, 2022 at 07:16:11PM +0000, Felix Gruber wrote:
> * gnu/packages/games.scm (supertux): Update to 0.6.3.
>   [inputs] Sort list and add glm.
> * gnu/packages/patches/supertux-unbundle-squirrel.patch: Update patch.

Can you clarify how the patch is updated? Do you mean that it's been
adjusted to changes in supertux 0.6.3.?




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

* [bug#53035] [PATCH] gnu: supertux: Update to 0.6.3.
  2022-01-05 19:33 ` Leo Famulari
@ 2022-01-05 20:20   ` Felix Gruber
  2022-01-05 20:51     ` bug#53035: " Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Felix Gruber @ 2022-01-05 20:20 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 53035

On 1/5/22 20:33, Leo Famulari wrote:
> On Wed, Jan 05, 2022 at 07:16:11PM +0000, Felix Gruber wrote:
>> * gnu/packages/games.scm (supertux): Update to 0.6.3.
>>    [inputs] Sort list and add glm.
>> * gnu/packages/patches/supertux-unbundle-squirrel.patch: Update patch.
> 
> Can you clarify how the patch is updated? Do you mean that it's been
> adjusted to changes in supertux 0.6.3.?

Yes, some of the removed lines in the patch were slightly changed in 
supertux 0.6.3, so I had to make some small adjustments so that the 
patch could cleanly apply to 0.6.3.




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

* bug#53035: [PATCH] gnu: supertux: Update to 0.6.3.
  2022-01-05 20:20   ` Felix Gruber
@ 2022-01-05 20:51     ` Leo Famulari
  0 siblings, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2022-01-05 20:51 UTC (permalink / raw)
  To: Felix Gruber; +Cc: 53035-done

On Wed, Jan 05, 2022 at 08:20:43PM +0000, Felix Gruber wrote:
> Yes, some of the removed lines in the patch were slightly changed in
> supertux 0.6.3, so I had to make some small adjustments so that the patch
> could cleanly apply to 0.6.3.

Thanks for the clarification.

I amended the commit message and re-sorted the inputs (glm was out of
order) and pushed as 707acc4cfb5e965fe471cd77220c16e25f986a5c




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

end of thread, other threads:[~2022-01-05 20:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-05 19:16 [bug#53035] [PATCH] gnu: supertux: Update to 0.6.3 Felix Gruber
2022-01-05 19:33 ` Leo Famulari
2022-01-05 20:20   ` Felix Gruber
2022-01-05 20:51     ` bug#53035: " Leo Famulari

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.