Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/7] package/supertux: bump to version 0.6.3
@ 2021-12-30 13:56 Romain Naour
  2021-12-30 13:56 ` [Buildroot] [PATCH 2/7] package/supertuxkart: bump to version 1.3 Romain Naour
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Romain Naour @ 2021-12-30 13:56 UTC (permalink / raw)
  To: buildroot; +Cc: Romain Naour

Remove upstream patch 0001-CMakeLists.txt-compile-squirrel-with-fPIC.patch

Add new glm dependency added by:

https://github.com/SuperTux/supertux/commit/7187e3f6d7ce2ccc25bcc96e9bee25c24416d545

Add new zlib dependency added by:

https://github.com/SuperTux/supertux/commit/100bc052bc693c2e4978fffe34c9aa4376f8f8c6

Update data/AUTHORS hash since several new assets has been added since
version 0.6.2:

https://github.com/SuperTux/supertux/commit/ec5e2f52137bba2ea7533e020cd8bf4b85e6b904
https://github.com/SuperTux/supertux/commit/1ff490d32206289c72d31c7f78bfeca2956e136b
https://github.com/SuperTux/supertux/commit/14ac958c711837c6cbd1e9362768ababc38effc5
https://github.com/SuperTux/supertux/commit/392320b79006ad1fb99b3f5dd9e771d9ba6a4668
https://github.com/SuperTux/supertux/commit/2fd5ed445c8b00e4c50d0da456543d64015a4681
https://github.com/SuperTux/supertux/commit/e45b5f7f8635e1749eee7a74a9fc9fde13d8344e

See:
https://www.supertux.org/news/2021/12/23/0.6.3

Signed-off-by: Romain Naour <romain.naour@gmail.com>
---
 ...Lists.txt-compile-squirrel-with-fPIC.patch | 35 -------------------
 package/supertux/Config.in                    |  2 ++
 package/supertux/supertux.hash                |  4 +--
 package/supertux/supertux.mk                  |  6 ++--
 4 files changed, 7 insertions(+), 40 deletions(-)
 delete mode 100644 package/supertux/0001-CMakeLists.txt-compile-squirrel-with-fPIC.patch

diff --git a/package/supertux/0001-CMakeLists.txt-compile-squirrel-with-fPIC.patch b/package/supertux/0001-CMakeLists.txt-compile-squirrel-with-fPIC.patch
deleted file mode 100644
index 9fac20a3f8..0000000000
--- a/package/supertux/0001-CMakeLists.txt-compile-squirrel-with-fPIC.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 23d0bb0ef0fde52d1cffe235edead09287326fb4 Mon Sep 17 00:00:00 2001
-From: Romain Naour <romain.naour@gmail.com>
-Date: Sun, 4 Oct 2020 01:11:30 +0200
-Subject: [PATCH] CMakeLists.txt: compile squirrel with -fPIC
-
-Ensure that squirrel is compiled with -fPIC to allow linking the static
-libraries with dynamically linked programs. This is not a requirement
-for most architectures but is mandatory for ARM.
-
-Fixes:
-x86_64-buildroot-linux-musl/bin/ld: CMakeFiles/sq_static.dir/sq.c.o: relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a PIE object; recompile with -fPIC
-x86_64-buildroot-linux-musl/bin/ld: final link failed: nonrepresentable section on output
-
-Signed-off-by: Romain Naour <romain.naour@gmail.com>
----
- CMakeLists.txt | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 8b1dafa1e..07c603cce 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -412,7 +412,8 @@ ExternalProject_Add(squirrel
-   -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.25.4
-
diff --git a/package/supertux/Config.in b/package/supertux/Config.in
index 285f19694b..e8e96a3ae5 100644
--- a/package/supertux/Config.in
+++ b/package/supertux/Config.in
@@ -16,6 +16,7 @@ config BR2_PACKAGE_SUPERTUX
 	select BR2_PACKAGE_BOOST_LOCALE
 	select BR2_PACKAGE_BOOST_SYSTEM
 	select BR2_PACKAGE_FREETYPE
+	select BR2_PACKAGE_GLM
 	select BR2_PACKAGE_LIBCURL
 	select BR2_PACKAGE_LIBGLEW
 	select BR2_PACKAGE_LIBOGG
@@ -26,6 +27,7 @@ config BR2_PACKAGE_SUPERTUX
 	select BR2_PACKAGE_SDL2
 	select BR2_PACKAGE_SDL2_IMAGE
 	select BR2_PACKAGE_SDL2_OPENGL
+	select BR2_PACKAGE_ZLIB
 	help
 	  SuperTux is a free classic 2D jump'n run sidescroller game in
 	  a style similar to the original Super Mario games covered
diff --git a/package/supertux/supertux.hash b/package/supertux/supertux.hash
index a6a515f912..f28c06b5e7 100644
--- a/package/supertux/supertux.hash
+++ b/package/supertux/supertux.hash
@@ -1,4 +1,4 @@
 # Locally calculated
-sha256  26a9e56ea2d284148849f3239177d777dda5b675a10ab2d76ee65854c91ff598  SuperTux-v0.6.2-Source.tar.gz
+sha256  f7940e6009c40226eb34ebab8ffb0e3a894892d891a07b35d0e5762dd41c79f6  SuperTux-v0.6.3-Source.tar.gz
 sha256  8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903  LICENSE.txt
-sha256  09645215102c1013a1ef8c16a30bacdb9a78924ca064372290405fabd3e7074d  data/AUTHORS
+sha256  a000d91146a61b44bdb79c3d2737e82d488b6cd65a23e0415e56915233def0a0  data/AUTHORS
diff --git a/package/supertux/supertux.mk b/package/supertux/supertux.mk
index 3587aefe3a..3941632f51 100644
--- a/package/supertux/supertux.mk
+++ b/package/supertux/supertux.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-SUPERTUX_VERSION = 0.6.2
+SUPERTUX_VERSION = 0.6.3
 SUPERTUX_SITE = https://github.com/SuperTux/supertux/releases/download/v$(SUPERTUX_VERSION)
 SUPERTUX_SOURCE = SuperTux-v$(SUPERTUX_VERSION)-Source.tar.gz
 
@@ -15,8 +15,8 @@ SUPERTUX_LICENSE_FILES = LICENSE.txt data/AUTHORS
 
 # Use bundled squirrel, tinygettext sexp-cpp packages which are hardcoded in
 # the CMake build system.
-SUPERTUX_DEPENDENCIES = host-pkgconf boost freetype libcurl libgl libglew \
-	libogg libpng libvorbis openal physfs sdl2 sdl2_image
+SUPERTUX_DEPENDENCIES = host-pkgconf boost freetype glm libcurl libgl libglew \
+	libogg libpng libvorbis openal physfs sdl2 sdl2_image zlib
 
 # CMAKE_BUILD_TYPE=Release: disable profiling code (-pg)
 # ENABLE_BOOST_STATIC_LIBS=OFF: use boost shared libraries since supertux
-- 
2.31.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-01-26 22:49 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-12-30 13:56 [Buildroot] [PATCH 1/7] package/supertux: bump to version 0.6.3 Romain Naour
2021-12-30 13:56 ` [Buildroot] [PATCH 2/7] package/supertuxkart: bump to version 1.3 Romain Naour
2021-12-30 13:56 ` [Buildroot] [PATCH 3/7] package/efl: bump to version 1.26.0 Romain Naour
2021-12-30 13:56 ` [Buildroot] [PATCH 4/7] package/enlightenment: bump to version 0.25.0 Romain Naour
2021-12-30 13:56 ` [Buildroot] [PATCH 5/7] package/minetest: add missing header "memory" required since gcc 11 Romain Naour
2021-12-30 13:56 ` [Buildroot] [PATCH 6/7] package/x11r7/xdriver_xf86-video-ati: update to the new API/ABI introduced in xserver > 21.0 Romain Naour
2021-12-30 13:56 ` [Buildroot] [PATCH 7/7] package/x11r7/xdriver_xf86-video-ati: Guard local variable priv only used with glamor Romain Naour
2022-01-26 12:24   ` Peter Korsgaard
2022-01-26 22:49     ` Romain Naour
2021-12-30 14:07 ` [Buildroot] [PATCH 1/7] package/supertux: bump to version 0.6.3 Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox