Github messages for voidlinux
 help / color / mirror / Atom feed
From: Uiyx <Uiyx@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] bitfighter: update to 022.
Date: Sun, 03 Oct 2021 11:24:48 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33285@inbox.vuxu.org> (raw)

[-- 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"

             reply	other threads:[~2021-10-03  9:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-03  9:24 Uiyx [this message]
2021-10-04 16:16 ` Chocimier
2021-10-12 19:29 ` ericonr
2022-06-06  2:15 ` github-actions
2022-06-21  2:12 ` [PR PATCH] [Closed]: " github-actions
2022-07-23 21:28 [PR PATCH] " classabbyamp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33285@inbox.vuxu.org \
    --to=uiyx@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).