Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] bitfighter: update to 022.
@ 2022-07-23 21:28 classabbyamp
  2022-07-23 21:38 ` [PR PATCH] [Merged]: " classabbyamp
  0 siblings, 1 reply; 3+ messages in thread
From: classabbyamp @ 2022-07-23 21:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 490 bytes --]

There is a new pull request by classabbyamp against master on the void-packages repository

https://github.com/classabbyamp/void-packages update/bitfighter-022
https://github.com/void-linux/void-packages/pull/38228

bitfighter: update to 022.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**



A patch file from https://github.com/void-linux/void-packages/pull/38228.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update/bitfighter-022-38228.patch --]
[-- Type: text/x-diff, Size: 6448 bytes --]

From 97b6596e6898369a065ed5828db4213d9ac99ec2 Mon Sep 17 00:00:00 2001
From: classabbyamp <void@placeviolette.net>
Date: Sat, 23 Jul 2022 17:27:54 -0400
Subject: [PATCH] bitfighter: update to 022.

---
 srcpkgs/bitfighter/patches/cmake.patch | 152 -------------------------
 srcpkgs/bitfighter/template            |  10 +-
 2 files changed, 5 insertions(+), 157 deletions(-)
 delete mode 100644 srcpkgs/bitfighter/patches/cmake.patch

diff --git a/srcpkgs/bitfighter/patches/cmake.patch b/srcpkgs/bitfighter/patches/cmake.patch
deleted file mode 100644
index ad2808546e98..000000000000
--- a/srcpkgs/bitfighter/patches/cmake.patch
+++ /dev/null
@@ -1,152 +0,0 @@
---- a/cmake/Platform/Linux.cmake	2018-12-20 21:54:40.020718363 -0700
-+++ b/cmake/Platform/Linux.cmake	2018-12-20 21:54:49.064912089 -0700
-@@ -99,7 +99,7 @@ function(BF_PLATFORM_INSTALL targetName)
- 
- 	if(INSTALL_NOTIFIER)
- 		# Modify python script to have the shebang
--		install(CODE "execute_process(COMMAND sed -i -e \"1s@^@#!/usr/bin/env python\\\\n\\\\n@\" ${CMAKE_SOURCE_DIR}/notifier/bitfighter_notifier.py)")
-+		install(CODE "execute_process(COMMAND sed -i -e \"1s@^@#!/usr/bin/python\\\\n\\\\n@\" ${CMAKE_SOURCE_DIR}/notifier/bitfighter_notifier.py)")
- 		# Modify python script to use proper path to the system-installed icon
- 		install(CODE "execute_process(COMMAND sed -i -e \"s@redship48.png@bitfighter.png@\" -e \"s@^ICON_BASE =.*@ICON_BASE = \\\"${CMAKE_DESKTOP_DATA_PATH}/pixmaps/\\\"@\" ${CMAKE_SOURCE_DIR}/notifier/bitfighter_notifier.py)")
- 		install(PROGRAMS ${CMAKE_SOURCE_DIR}/notifier/bitfighter_notifier.py DESTINATION ${CMAKE_BIN_PATH} RENAME bitfighter_notifier)
---- a/zap/bitfighterd.cmake	2018-12-20 21:19:40.666559517 -0700
-+++ b/zap/bitfighterd.cmake	2018-12-20 21:19:44.866653338 -0700
-@@ -11,13 +11,13 @@ add_executable(bitfighterd
- add_dependencies(bitfighterd
- 	tnl
- 	${LUA_LIB}
--	tomcrypt
- 	clipper
- 	poly2tri
- )
- 
- target_link_libraries(bitfighterd
- 	${SHARED_LIBS}
-+	${TOMCRYPT__LIBRARIES}
- )
- 
- set_target_properties(bitfighterd
---- a/zap/bitfighter_client.cmake	2018-12-16 09:12:56.168753252 -0700
-+++ b/zap/bitfighter_client.cmake	2018-12-20 21:02:50.936433248 -0700
-@@ -11,13 +11,23 @@ add_library(bitfighter_client OBJECT
- 	${OTHER_HEADERS}
- )
- 
-+
-+# If certain system libs were not found, add the in-tree variants as dependencies
-+set(CLIENT_EXTRA_DEPS "")
-+if(NOT ALURE_FOUND)
-+	list(APPEND CLIENT_EXTRA_DEPS alure)
-+endif()
-+if(NOT TOMCRYPT_FOUND)
-+	list(APPEND CLIENT_EXTRA_DEPS tomcrypt)
-+endif()
-+
-+
- add_dependencies(bitfighter_client
--	alure
- 	${LUA_LIB}
- 	tnl
--	tomcrypt
- 	clipper
- 	poly2tri
-+	${CLIENT_EXTRA_DEPS}
- )
- 
- if(USE_GLES)
---- a/master/CMakeLists.txt	2018-12-20 21:10:17.222088600 -0700
-+++ b/master/CMakeLists.txt	2018-12-20 21:13:57.550931398 -0700
-@@ -41,7 +41,11 @@ else()
- endif()
- 
- 
--set(MASTER_DEPS tnl tomcrypt)
-+set(MASTER_DEPS tnl)
-+# Add tomcypt if not already found on system
-+if(NOT TOMCRYPT_FOUND)
-+	list(APPEND MASTER_DEPS tomcrypt)
-+endif()
- 
- set(MASTER_LIBS 
- 	tnl
---- a/CMakeLists.txt	2018-12-12 15:40:38.904058738 -0700
-+++ b/CMakeLists.txt	2018-12-20 21:09:57.017647629 -0700
-@@ -1,17 +1,6 @@
- project (bitfighter)
- cmake_minimum_required (VERSION 3.1.0)
- 
--# CMake 3.0 policy that says you need to do something like this (NEW):
--#    set_target_properties(master_lib master PROPERTIES COMPILE_DEFINITIONS_DEBUG "TNL_DEBUG")
--#
--# instead of this (OLD):
--#    set_target_properties(master_lib master PROPERTIES COMPILE_DEFINITIONS $<$<CONFIG:Debug>:TNL_DEBUG>)
--#
--# Set to OLD behavior until minimum cmake version >= 2.8.10
--if(POLICY CMP0043)
--	cmake_policy(SET CMP0043 OLD)
--endif()
--
- 
- #
- # CMake options
-
---- a/zap/bitfighter_client.cmake	2019-01-07 02:43:43.453459870 +0100
-+++ b/zap/bitfighter_client.cmake	2019-01-07 02:43:43.453459870 +0100
-@@ -20,12 +20,13 @@
- if(NOT TOMCRYPT_FOUND)
- 	list(APPEND CLIENT_EXTRA_DEPS tomcrypt)
- endif()
--
-+if(NOT CLIPPER_FOUND)
-+	list(APPEND CLIENT_EXTRA_DEPS clipper)
-+endif()
- 
- add_dependencies(bitfighter_client
- 	${LUA_LIB}
- 	tnl
--	clipper
- 	poly2tri
- 	${CLIENT_EXTRA_DEPS}
- )
---- a/zap/bitfighterd.cmake	2019-01-07 02:57:05.348462052 +0100
-+++ b/zap/bitfighterd.cmake	2019-01-07 02:57:05.348462052 +0100
-@@ -11,12 +11,12 @@
- add_dependencies(bitfighterd
- 	tnl
- 	${LUA_LIB}
--	clipper
- 	poly2tri
- )
- 
- target_link_libraries(bitfighterd
- 	${SHARED_LIBS}
-+	${CLIPPER_LIBRARIES}
- 	${TOMCRYPT__LIBRARIES}
- )
- 
---- a/zap/bitfighter_client.cmake	2019-01-07 03:03:15.449271742 +0100
-+++ b/zap/bitfighter_client.cmake	2019-01-07 03:03:15.449271742 +0100
-@@ -25,7 +25,6 @@
- endif()
- 
- add_dependencies(bitfighter_client
--	${LUA_LIB}
- 	tnl
- 	poly2tri
- 	${CLIENT_EXTRA_DEPS}
---- a/zap/bitfighterd.cmake	2019-01-07 03:03:15.456271777 +0100
-+++ b/zap/bitfighterd.cmake	2019-01-07 03:03:15.456271777 +0100
-@@ -10,12 +10,12 @@
- 
- add_dependencies(bitfighterd
- 	tnl
--	${LUA_LIB}
- 	poly2tri
- )
- 
- target_link_libraries(bitfighterd
- 	${SHARED_LIBS}
-+	${LUA_LIB}
- 	${CLIPPER_LIBRARIES}
- 	${TOMCRYPT__LIBRARIES}
- )
diff --git a/srcpkgs/bitfighter/template b/srcpkgs/bitfighter/template
index c3b2cc22a265..2f2e4b4dc21e 100644
--- a/srcpkgs/bitfighter/template
+++ b/srcpkgs/bitfighter/template
@@ -1,7 +1,7 @@
 # Template file for 'bitfighter'
 pkgname=bitfighter
-version=019g
-revision=2
+version=022
+revision=1
 build_style=cmake
 configure_args="-DMASTER_MINIMAL=1 -DLUAJIT_BUILTIN=OFF"
 hostmakedepends="pkg-config unzip"
@@ -9,16 +9,16 @@ makedepends="boost-devel MesaLib-devel SDL2-devel LuaJIT-devel
  libopenal-devel libmariadbclient-devel libmodplug-devel
  libpng-devel libtomcrypt-devel speex-devel
  clipper-devel alure-devel"
-depends="desktop-file-utils libmpg123"
+depends="libmpg123"
 short_desc="Fast-paced team-based outer-space multi-player arcade game"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="GPL-2.0-or-later"
 homepage="https://bitfighter.org/"
 distfiles="http://bitfighter.org/files/${pkgname}-${version}.tar.gz
  http://bitfighter.org/files/classic_level_pack.zip"
-checksum="cd47c453d9e6875ded627b987a645e2ff2c757363f394b152f62d868e1d81427
+checksum="b853c9c4f15e88f13dea601f6bf224a40b96a3309a73064955233d03c5ca835f
  d628a2b0af024a965b92877f321f2174d6309b7ce9236775af3bd86a67fcc72b"
-python_version=2
+python_version=3
 replaces="bitfighter-data>=0"
 
 CXXFLAGS="-Wno-narrowing"

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

* Re: [PR PATCH] [Merged]: bitfighter: update to 022.
  2022-07-23 21:28 [PR PATCH] bitfighter: update to 022 classabbyamp
@ 2022-07-23 21:38 ` classabbyamp
  0 siblings, 0 replies; 3+ messages in thread
From: classabbyamp @ 2022-07-23 21:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 315 bytes --]

There's a merged pull request on the void-packages repository

bitfighter: update to 022.
https://github.com/void-linux/void-packages/pull/38228

Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**



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

* [PR PATCH] bitfighter: update to 022.
@ 2021-10-03  9:24 Uiyx
  0 siblings, 0 replies; 3+ messages in thread
From: Uiyx @ 2021-10-03  9:24 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1581 bytes --]

There is a new pull request by Uiyx against master on the void-packages repository

https://github.com/Uiyx/void-packages master
https://github.com/void-linux/void-packages/pull/33285

bitfighter: update to 022.
<!-- Mark items with [x] where applicable -->

#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [x] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [x] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/33285.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-33285.patch --]
[-- Type: text/x-diff, Size: 6229 bytes --]

From cb161e275197f469c67cabfe1edd774b1c6c17e4 Mon Sep 17 00:00:00 2001
From: Kris <81424747+Uiyx@users.noreply.github.com>
Date: Sun, 3 Oct 2021 12:18:33 +0300
Subject: [PATCH 1/2] Delete srcpkgs/bitfighter/patches directory

---
 srcpkgs/bitfighter/patches/cmake.patch | 152 -------------------------
 1 file changed, 152 deletions(-)
 delete mode 100644 srcpkgs/bitfighter/patches/cmake.patch

diff --git a/srcpkgs/bitfighter/patches/cmake.patch b/srcpkgs/bitfighter/patches/cmake.patch
deleted file mode 100644
index ad2808546e98..000000000000
--- a/srcpkgs/bitfighter/patches/cmake.patch
+++ /dev/null
@@ -1,152 +0,0 @@
---- a/cmake/Platform/Linux.cmake	2018-12-20 21:54:40.020718363 -0700
-+++ b/cmake/Platform/Linux.cmake	2018-12-20 21:54:49.064912089 -0700
-@@ -99,7 +99,7 @@ function(BF_PLATFORM_INSTALL targetName)
- 
- 	if(INSTALL_NOTIFIER)
- 		# Modify python script to have the shebang
--		install(CODE "execute_process(COMMAND sed -i -e \"1s@^@#!/usr/bin/env python\\\\n\\\\n@\" ${CMAKE_SOURCE_DIR}/notifier/bitfighter_notifier.py)")
-+		install(CODE "execute_process(COMMAND sed -i -e \"1s@^@#!/usr/bin/python\\\\n\\\\n@\" ${CMAKE_SOURCE_DIR}/notifier/bitfighter_notifier.py)")
- 		# Modify python script to use proper path to the system-installed icon
- 		install(CODE "execute_process(COMMAND sed -i -e \"s@redship48.png@bitfighter.png@\" -e \"s@^ICON_BASE =.*@ICON_BASE = \\\"${CMAKE_DESKTOP_DATA_PATH}/pixmaps/\\\"@\" ${CMAKE_SOURCE_DIR}/notifier/bitfighter_notifier.py)")
- 		install(PROGRAMS ${CMAKE_SOURCE_DIR}/notifier/bitfighter_notifier.py DESTINATION ${CMAKE_BIN_PATH} RENAME bitfighter_notifier)
---- a/zap/bitfighterd.cmake	2018-12-20 21:19:40.666559517 -0700
-+++ b/zap/bitfighterd.cmake	2018-12-20 21:19:44.866653338 -0700
-@@ -11,13 +11,13 @@ add_executable(bitfighterd
- add_dependencies(bitfighterd
- 	tnl
- 	${LUA_LIB}
--	tomcrypt
- 	clipper
- 	poly2tri
- )
- 
- target_link_libraries(bitfighterd
- 	${SHARED_LIBS}
-+	${TOMCRYPT__LIBRARIES}
- )
- 
- set_target_properties(bitfighterd
---- a/zap/bitfighter_client.cmake	2018-12-16 09:12:56.168753252 -0700
-+++ b/zap/bitfighter_client.cmake	2018-12-20 21:02:50.936433248 -0700
-@@ -11,13 +11,23 @@ add_library(bitfighter_client OBJECT
- 	${OTHER_HEADERS}
- )
- 
-+
-+# If certain system libs were not found, add the in-tree variants as dependencies
-+set(CLIENT_EXTRA_DEPS "")
-+if(NOT ALURE_FOUND)
-+	list(APPEND CLIENT_EXTRA_DEPS alure)
-+endif()
-+if(NOT TOMCRYPT_FOUND)
-+	list(APPEND CLIENT_EXTRA_DEPS tomcrypt)
-+endif()
-+
-+
- add_dependencies(bitfighter_client
--	alure
- 	${LUA_LIB}
- 	tnl
--	tomcrypt
- 	clipper
- 	poly2tri
-+	${CLIENT_EXTRA_DEPS}
- )
- 
- if(USE_GLES)
---- a/master/CMakeLists.txt	2018-12-20 21:10:17.222088600 -0700
-+++ b/master/CMakeLists.txt	2018-12-20 21:13:57.550931398 -0700
-@@ -41,7 +41,11 @@ else()
- endif()
- 
- 
--set(MASTER_DEPS tnl tomcrypt)
-+set(MASTER_DEPS tnl)
-+# Add tomcypt if not already found on system
-+if(NOT TOMCRYPT_FOUND)
-+	list(APPEND MASTER_DEPS tomcrypt)
-+endif()
- 
- set(MASTER_LIBS 
- 	tnl
---- a/CMakeLists.txt	2018-12-12 15:40:38.904058738 -0700
-+++ b/CMakeLists.txt	2018-12-20 21:09:57.017647629 -0700
-@@ -1,17 +1,6 @@
- project (bitfighter)
- cmake_minimum_required (VERSION 3.1.0)
- 
--# CMake 3.0 policy that says you need to do something like this (NEW):
--#    set_target_properties(master_lib master PROPERTIES COMPILE_DEFINITIONS_DEBUG "TNL_DEBUG")
--#
--# instead of this (OLD):
--#    set_target_properties(master_lib master PROPERTIES COMPILE_DEFINITIONS $<$<CONFIG:Debug>:TNL_DEBUG>)
--#
--# Set to OLD behavior until minimum cmake version >= 2.8.10
--if(POLICY CMP0043)
--	cmake_policy(SET CMP0043 OLD)
--endif()
--
- 
- #
- # CMake options
-
---- a/zap/bitfighter_client.cmake	2019-01-07 02:43:43.453459870 +0100
-+++ b/zap/bitfighter_client.cmake	2019-01-07 02:43:43.453459870 +0100
-@@ -20,12 +20,13 @@
- if(NOT TOMCRYPT_FOUND)
- 	list(APPEND CLIENT_EXTRA_DEPS tomcrypt)
- endif()
--
-+if(NOT CLIPPER_FOUND)
-+	list(APPEND CLIENT_EXTRA_DEPS clipper)
-+endif()
- 
- add_dependencies(bitfighter_client
- 	${LUA_LIB}
- 	tnl
--	clipper
- 	poly2tri
- 	${CLIENT_EXTRA_DEPS}
- )
---- a/zap/bitfighterd.cmake	2019-01-07 02:57:05.348462052 +0100
-+++ b/zap/bitfighterd.cmake	2019-01-07 02:57:05.348462052 +0100
-@@ -11,12 +11,12 @@
- add_dependencies(bitfighterd
- 	tnl
- 	${LUA_LIB}
--	clipper
- 	poly2tri
- )
- 
- target_link_libraries(bitfighterd
- 	${SHARED_LIBS}
-+	${CLIPPER_LIBRARIES}
- 	${TOMCRYPT__LIBRARIES}
- )
- 
---- a/zap/bitfighter_client.cmake	2019-01-07 03:03:15.449271742 +0100
-+++ b/zap/bitfighter_client.cmake	2019-01-07 03:03:15.449271742 +0100
-@@ -25,7 +25,6 @@
- endif()
- 
- add_dependencies(bitfighter_client
--	${LUA_LIB}
- 	tnl
- 	poly2tri
- 	${CLIENT_EXTRA_DEPS}
---- a/zap/bitfighterd.cmake	2019-01-07 03:03:15.456271777 +0100
-+++ b/zap/bitfighterd.cmake	2019-01-07 03:03:15.456271777 +0100
-@@ -10,12 +10,12 @@
- 
- add_dependencies(bitfighterd
- 	tnl
--	${LUA_LIB}
- 	poly2tri
- )
- 
- target_link_libraries(bitfighterd
- 	${SHARED_LIBS}
-+	${LUA_LIB}
- 	${CLIPPER_LIBRARIES}
- 	${TOMCRYPT__LIBRARIES}
- )

From 981257b034ab14bc88cef3d9588e6130c97f0bf8 Mon Sep 17 00:00:00 2001
From: Kris <81424747+Uiyx@users.noreply.github.com>
Date: Sun, 3 Oct 2021 12:21:11 +0300
Subject: [PATCH 2/2] Update template

---
 srcpkgs/bitfighter/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/bitfighter/template b/srcpkgs/bitfighter/template
index c3b2cc22a265..fb4e716566e6 100644
--- a/srcpkgs/bitfighter/template
+++ b/srcpkgs/bitfighter/template
@@ -1,6 +1,6 @@
 # Template file for 'bitfighter'
 pkgname=bitfighter
-version=019g
+version=022
 revision=2
 build_style=cmake
 configure_args="-DMASTER_MINIMAL=1 -DLUAJIT_BUILTIN=OFF"
@@ -16,7 +16,7 @@ license="GPL-2.0-or-later"
 homepage="https://bitfighter.org/"
 distfiles="http://bitfighter.org/files/${pkgname}-${version}.tar.gz
  http://bitfighter.org/files/classic_level_pack.zip"
-checksum="cd47c453d9e6875ded627b987a645e2ff2c757363f394b152f62d868e1d81427
+checksum="b853c9c4f15e88f13dea601f6bf224a40b96a3309a73064955233d03c5ca835f
  d628a2b0af024a965b92877f321f2174d6309b7ce9236775af3bd86a67fcc72b"
 python_version=2
 replaces="bitfighter-data>=0"

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

end of thread, other threads:[~2022-07-23 21:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-23 21:28 [PR PATCH] bitfighter: update to 022 classabbyamp
2022-07-23 21:38 ` [PR PATCH] [Merged]: " classabbyamp
  -- strict thread matches above, loose matches on Subject: below --
2021-10-03  9:24 [PR PATCH] " Uiyx

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 NNTP newsgroup(s).