Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: vkdoom-0.9.
@ 2023-10-07 14:43 SpidFightFR
  2023-10-07 16:19 ` SpidFightFR
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: SpidFightFR @ 2023-10-07 14:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/SpidFightFR/void-packages vkdoom-void
https://github.com/void-linux/void-packages/pull/46506

New package: vkdoom-0.9.
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x64-GlibC)


Hey fellas ! 
I'll be making this PR for something new on my side: adding a package to void.

The package is VKDoom, it's a ZDoom port, focused around Vulkan and modern technologies.
Compared to GZDoom (already in the repos), we could potentially see a visual upgrade, in vkdoom.

It's not released yet, so this PR will be a draft for now. But i'll make sure to post a new template, tested, when it's released.

Peace ! :v: 

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

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

From 00a61cdc5950f4aa53bdb38d43a3423dc916b1b5 Mon Sep 17 00:00:00 2001
From: SpidFightFR <spidfight.one@gmail.com>
Date: Sat, 7 Oct 2023 14:23:34 +0000
Subject: [PATCH] New package: vkdoom-0.9.

---
 srcpkgs/vkdoom/patches/vkdoom-pk3.patch | 13 +++++++++++++
 srcpkgs/vkdoom/template                 | 16 ++++++++++++++++
 2 files changed, 29 insertions(+)
 create mode 100644 srcpkgs/vkdoom/patches/vkdoom-pk3.patch
 create mode 100644 srcpkgs/vkdoom/template

diff --git a/srcpkgs/vkdoom/patches/vkdoom-pk3.patch b/srcpkgs/vkdoom/patches/vkdoom-pk3.patch
new file mode 100644
index 0000000000000..ae2a03dc8416b
--- /dev/null
+++ b/srcpkgs/vkdoom/patches/vkdoom-pk3.patch
@@ -0,0 +1,13 @@
+diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp
+index a054d59..3d390dc 100644
+--- a/src/gameconfigfile.cpp
++++ b/src/gameconfigfile.cpp
+@@ -120,6 +120,8 @@ FGameConfigFile::FGameConfigFile ()
+ 		// Arch Linux likes them in /usr/share/doom
+ 		// Debian likes them in /usr/share/games/doom
+ 		// I assume other distributions don't do anything radically different
++                // Adds the correct locations of the pk3file for Voidlinux - Patch by SpidFightFR
++		SetValueForKey ("Path", "/usr/local/share/vkdoom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/doom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/games/doom", true);
+ 		SetValueForKey ("Path", "/usr/share/doom", true);
diff --git a/srcpkgs/vkdoom/template b/srcpkgs/vkdoom/template
new file mode 100644
index 0000000000000..e797229cc454e
--- /dev/null
+++ b/srcpkgs/vkdoom/template
@@ -0,0 +1,16 @@
+# Template file for 'vkdoom'
+pkgname=vkdoom
+version=0.9
+revision=1
+archs="~i686* ~arm*"
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/vkdoom -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config tar xz"
+makedepends="SDL2-devel gtk+3-devel libgomp-devel ZMusic-devel libopenal-devel libvpx-devel libwebp-devel"
+short_desc="Advanced Doom source port with OpenGL support"
+maintainer="SpidFightFR <spidfight@swisscows.email>"
+license="GPL-3.0-or-later"
+homepage="https://vkdoom.org/"
+distfiles="https://github.com/dpjudas/VkDoom/archive/v${version}.tar.gz"
+checksum="5fbc28079ce03dc710a99ceb8480cdac4c177645757fc2bd3588bfc3ed4cb613"
+nocross=yes

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

* Re: New package: vkdoom-0.9.
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
@ 2023-10-07 16:19 ` SpidFightFR
  2023-10-08  8:50 ` [PR PATCH] [Updated] " SpidFightFR
                   ` (17 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: SpidFightFR @ 2023-10-07 16:19 UTC (permalink / raw)
  To: ml

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

New comment by SpidFightFR on void-packages repository

https://github.com/void-linux/void-packages/pull/46506#issuecomment-1751749527

Comment:
Ah and for the record, here the builds fail, **IT IS NORMAL !**

It is because the v0.9 (version i'm using for this draft) was just a proof of concept, i actually built a "git" version of the package a while ago, on void, for my voidlinux pc, and it works. **The V1 will correct this issue**. :smile: 

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

* Re: [PR PATCH] [Updated] New package: vkdoom-0.9.
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
  2023-10-07 16:19 ` SpidFightFR
@ 2023-10-08  8:50 ` SpidFightFR
  2023-10-08  8:52 ` SpidFightFR
                   ` (16 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: SpidFightFR @ 2023-10-08  8:50 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by SpidFightFR against master on the void-packages repository

https://github.com/SpidFightFR/void-packages vkdoom-void
https://github.com/void-linux/void-packages/pull/46506

New package: vkdoom-0.9.
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x64-GlibC)


Hey fellas ! 
I'll be making this PR for something new on my side: adding a package to void.

The package is VKDoom, it's a ZDoom port, focused around Vulkan and modern technologies.
Compared to GZDoom (already in the repos), we could potentially see a visual upgrade, in vkdoom.

It's not released yet, so this PR will be a draft for now. But i'll make sure to post a new template, tested, when it's released.

Peace ! :v: 

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

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

From 4686598391968da9d101ca5522d75d097b8c584d Mon Sep 17 00:00:00 2001
From: SpidFightFR <spidfight.one@gmail.com>
Date: Sun, 8 Oct 2023 08:40:31 +0000
Subject: [PATCH] New package: vkdoom-0.9.

---
 srcpkgs/vkdoom/patches/vkdoom-fix-build.patch | 15 +++++++++++++
 srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch   | 22 +++++++++++++++++++
 srcpkgs/vkdoom/template                       | 16 ++++++++++++++
 3 files changed, 53 insertions(+)
 create mode 100644 srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
 create mode 100644 srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
 create mode 100644 srcpkgs/vkdoom/template

diff --git a/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch b/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
new file mode 100644
index 0000000000000..f25d3971684f6
--- /dev/null
+++ b/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 76c3584..d933da6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -277,7 +277,9 @@ else()
+ 			include ( FindPkgConfig )
+ 			pkg_check_modules( MUSL_FTS musl-fts )
+ 			if ( MUSL_FTS_FOUND )
+-				set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${MUSL_FTS_LDFLAGS}" )
++                          foreach(flags IN LISTS MUSL_FTS_LDFLAGS)
++                            set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${flags}" )
++                          endforeach()
+ 			else ( MUSL_FTS_FOUND )
+ 				message (ERROR "fts_* functions not found in the system" )
+ 			endif ( MUSL_FTS_FOUND )
diff --git a/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch b/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
new file mode 100644
index 0000000000000..6e8a8870c433c
--- /dev/null
+++ b/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
@@ -0,0 +1,22 @@
+diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp
+index a054d59..b742011 100644
+--- a/src/gameconfigfile.cpp
++++ b/src/gameconfigfile.cpp
+@@ -120,6 +120,8 @@ FGameConfigFile::FGameConfigFile ()
+ 		// Arch Linux likes them in /usr/share/doom
+ 		// Debian likes them in /usr/share/games/doom
+ 		// I assume other distributions don't do anything radically different
++                // Adds the correct locations of the pk3file for Voidlinux
++		SetValueForKey ("Path", "/usr/local/share/vkdoom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/doom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/games/doom", true);
+ 		SetValueForKey ("Path", "/usr/share/doom", true);
+@@ -142,6 +144,8 @@ FGameConfigFile::FGameConfigFile ()
+ 		SetValueForKey ("Path", "$HOME/" GAME_DIR, true);
+ 		SetValueForKey ("Path", "$HOME/.local/share/games/doom", true);
+ 		SetValueForKey ("Path", SHARE_DIR, true);
++                // Adds the correct locations of the pk3file for Voidlinux
++		SetValueForKey ("Path", "/usr/local/share/vkdoom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/doom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/games/doom", true);
+ 		SetValueForKey ("Path", "/usr/share/doom", true);
diff --git a/srcpkgs/vkdoom/template b/srcpkgs/vkdoom/template
new file mode 100644
index 0000000000000..08c4fa61b07e8
--- /dev/null
+++ b/srcpkgs/vkdoom/template
@@ -0,0 +1,16 @@
+# Template file for 'vkdoom'
+pkgname=vkdoom
+version=0.9
+revision=1
+archs="~i686* ~arm*"
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/vkdoom -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config tar xz"
+makedepends="SDL2-devel gtk+3-devel libgomp-devel ZMusic-devel libopenal-devel libvpx-devel libwebp-devel"
+short_desc="ZDoom based source port with a primary focus on Vulkan and modern computers"
+maintainer="SpidFightFR <spidfight@swisscows.email>"
+license="GPL-3.0-or-later"
+homepage="https://vkdoom.org/"
+distfiles="https://github.com/dpjudas/VkDoom/archive/v${version}.tar.gz"
+checksum="5fbc28079ce03dc710a99ceb8480cdac4c177645757fc2bd3588bfc3ed4cb613"
+nocross=yes

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

* Re: New package: vkdoom-0.9.
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
  2023-10-07 16:19 ` SpidFightFR
  2023-10-08  8:50 ` [PR PATCH] [Updated] " SpidFightFR
@ 2023-10-08  8:52 ` SpidFightFR
  2023-10-08  8:56 ` [PR PATCH] [Updated] " SpidFightFR
                   ` (15 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: SpidFightFR @ 2023-10-08  8:52 UTC (permalink / raw)
  To: ml

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

New comment by SpidFightFR on void-packages repository

https://github.com/void-linux/void-packages/pull/46506#issuecomment-1751966607

Comment:
ah yikes ! i tried to add the desc of the VKDoom project but it seems too long, imma shorten that a bit :sweat_smile: 

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

* Re: [PR PATCH] [Updated] New package: vkdoom-0.9.
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
                   ` (2 preceding siblings ...)
  2023-10-08  8:52 ` SpidFightFR
@ 2023-10-08  8:56 ` SpidFightFR
  2023-10-08  9:10 ` SpidFightFR
                   ` (14 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: SpidFightFR @ 2023-10-08  8:56 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by SpidFightFR against master on the void-packages repository

https://github.com/SpidFightFR/void-packages vkdoom-void
https://github.com/void-linux/void-packages/pull/46506

New package: vkdoom-0.9.
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x64-GlibC)


Hey fellas ! 
I'll be making this PR for something new on my side: adding a package to void.

The package is VKDoom, it's a ZDoom port, focused around Vulkan and modern technologies.
Compared to GZDoom (already in the repos), we could potentially see a visual upgrade, in vkdoom.

It's not released yet, so this PR will be a draft for now. But i'll make sure to post a new template, tested, when it's released.

Peace ! :v: 

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

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

From 63146f1d2500b42fccaeae2ec30f9742bf4c3859 Mon Sep 17 00:00:00 2001
From: SpidFightFR <spidfight.one@gmail.com>
Date: Sun, 8 Oct 2023 08:40:31 +0000
Subject: [PATCH] New package: vkdoom-0.9.

---
 srcpkgs/vkdoom/patches/vkdoom-fix-build.patch | 15 +++++++++++++
 srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch   | 22 +++++++++++++++++++
 srcpkgs/vkdoom/template                       | 16 ++++++++++++++
 3 files changed, 53 insertions(+)
 create mode 100644 srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
 create mode 100644 srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
 create mode 100644 srcpkgs/vkdoom/template

diff --git a/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch b/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
new file mode 100644
index 0000000000000..f25d3971684f6
--- /dev/null
+++ b/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 76c3584..d933da6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -277,7 +277,9 @@ else()
+ 			include ( FindPkgConfig )
+ 			pkg_check_modules( MUSL_FTS musl-fts )
+ 			if ( MUSL_FTS_FOUND )
+-				set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${MUSL_FTS_LDFLAGS}" )
++                          foreach(flags IN LISTS MUSL_FTS_LDFLAGS)
++                            set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${flags}" )
++                          endforeach()
+ 			else ( MUSL_FTS_FOUND )
+ 				message (ERROR "fts_* functions not found in the system" )
+ 			endif ( MUSL_FTS_FOUND )
diff --git a/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch b/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
new file mode 100644
index 0000000000000..6e8a8870c433c
--- /dev/null
+++ b/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
@@ -0,0 +1,22 @@
+diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp
+index a054d59..b742011 100644
+--- a/src/gameconfigfile.cpp
++++ b/src/gameconfigfile.cpp
+@@ -120,6 +120,8 @@ FGameConfigFile::FGameConfigFile ()
+ 		// Arch Linux likes them in /usr/share/doom
+ 		// Debian likes them in /usr/share/games/doom
+ 		// I assume other distributions don't do anything radically different
++                // Adds the correct locations of the pk3file for Voidlinux
++		SetValueForKey ("Path", "/usr/local/share/vkdoom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/doom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/games/doom", true);
+ 		SetValueForKey ("Path", "/usr/share/doom", true);
+@@ -142,6 +144,8 @@ FGameConfigFile::FGameConfigFile ()
+ 		SetValueForKey ("Path", "$HOME/" GAME_DIR, true);
+ 		SetValueForKey ("Path", "$HOME/.local/share/games/doom", true);
+ 		SetValueForKey ("Path", SHARE_DIR, true);
++                // Adds the correct locations of the pk3file for Voidlinux
++		SetValueForKey ("Path", "/usr/local/share/vkdoom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/doom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/games/doom", true);
+ 		SetValueForKey ("Path", "/usr/share/doom", true);
diff --git a/srcpkgs/vkdoom/template b/srcpkgs/vkdoom/template
new file mode 100644
index 0000000000000..438dbb78398e1
--- /dev/null
+++ b/srcpkgs/vkdoom/template
@@ -0,0 +1,16 @@
+# Template file for 'vkdoom'
+pkgname=vkdoom
+version=0.9
+revision=2
+archs="~i686* ~arm*"
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/vkdoom -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config tar xz"
+makedepends="SDL2-devel gtk+3-devel libgomp-devel ZMusic-devel libopenal-devel libvpx-devel libwebp-devel"
+short_desc="Advanced Doom source port focused around Vulkan and modern computers"
+maintainer="SpidFightFR <spidfight@swisscows.email>"
+license="GPL-3.0-or-later"
+homepage="https://vkdoom.org/"
+distfiles="https://github.com/dpjudas/VkDoom/archive/v${version}.tar.gz"
+checksum="5fbc28079ce03dc710a99ceb8480cdac4c177645757fc2bd3588bfc3ed4cb613"
+nocross=yes

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

* Re: [PR PATCH] [Updated] New package: vkdoom-0.9.
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
                   ` (3 preceding siblings ...)
  2023-10-08  8:56 ` [PR PATCH] [Updated] " SpidFightFR
@ 2023-10-08  9:10 ` SpidFightFR
  2023-10-10  6:58 ` SpidFightFR
                   ` (13 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: SpidFightFR @ 2023-10-08  9:10 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by SpidFightFR against master on the void-packages repository

https://github.com/SpidFightFR/void-packages vkdoom-void
https://github.com/void-linux/void-packages/pull/46506

New package: vkdoom-0.9.
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x64-GlibC)


Hey fellas ! 
I'll be making this PR for something new on my side: adding a package to void.

The package is VKDoom, it's a ZDoom port, focused around Vulkan and modern technologies.
Compared to GZDoom (already in the repos), we could potentially see a visual upgrade, in vkdoom.

It's not released yet, so this PR will be a draft for now. But i'll make sure to post a new template, tested, when it's released.

Peace ! :v: 

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

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

From f1a35f26849138d773f2a21ad6abbe673bfc998e Mon Sep 17 00:00:00 2001
From: SpidFightFR <spidfight.one@gmail.com>
Date: Sun, 8 Oct 2023 09:00:45 +0000
Subject: [PATCH] New package: vkdoom-0.9.

---
 srcpkgs/vkdoom/patches/vkdoom-fix-build.patch | 15 +++++++++++++
 srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch   | 22 +++++++++++++++++++
 srcpkgs/vkdoom/template                       | 16 ++++++++++++++
 3 files changed, 53 insertions(+)
 create mode 100644 srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
 create mode 100644 srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
 create mode 100644 srcpkgs/vkdoom/template

diff --git a/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch b/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
new file mode 100644
index 0000000000000..f25d3971684f6
--- /dev/null
+++ b/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 76c3584..d933da6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -277,7 +277,9 @@ else()
+ 			include ( FindPkgConfig )
+ 			pkg_check_modules( MUSL_FTS musl-fts )
+ 			if ( MUSL_FTS_FOUND )
+-				set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${MUSL_FTS_LDFLAGS}" )
++                          foreach(flags IN LISTS MUSL_FTS_LDFLAGS)
++                            set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${flags}" )
++                          endforeach()
+ 			else ( MUSL_FTS_FOUND )
+ 				message (ERROR "fts_* functions not found in the system" )
+ 			endif ( MUSL_FTS_FOUND )
diff --git a/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch b/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
new file mode 100644
index 0000000000000..6e8a8870c433c
--- /dev/null
+++ b/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
@@ -0,0 +1,22 @@
+diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp
+index a054d59..b742011 100644
+--- a/src/gameconfigfile.cpp
++++ b/src/gameconfigfile.cpp
+@@ -120,6 +120,8 @@ FGameConfigFile::FGameConfigFile ()
+ 		// Arch Linux likes them in /usr/share/doom
+ 		// Debian likes them in /usr/share/games/doom
+ 		// I assume other distributions don't do anything radically different
++                // Adds the correct locations of the pk3file for Voidlinux
++		SetValueForKey ("Path", "/usr/local/share/vkdoom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/doom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/games/doom", true);
+ 		SetValueForKey ("Path", "/usr/share/doom", true);
+@@ -142,6 +144,8 @@ FGameConfigFile::FGameConfigFile ()
+ 		SetValueForKey ("Path", "$HOME/" GAME_DIR, true);
+ 		SetValueForKey ("Path", "$HOME/.local/share/games/doom", true);
+ 		SetValueForKey ("Path", SHARE_DIR, true);
++                // Adds the correct locations of the pk3file for Voidlinux
++		SetValueForKey ("Path", "/usr/local/share/vkdoom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/doom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/games/doom", true);
+ 		SetValueForKey ("Path", "/usr/share/doom", true);
diff --git a/srcpkgs/vkdoom/template b/srcpkgs/vkdoom/template
new file mode 100644
index 0000000000000..e9c3dfd34e635
--- /dev/null
+++ b/srcpkgs/vkdoom/template
@@ -0,0 +1,16 @@
+# Template file for 'vkdoom'
+pkgname=vkdoom
+version=0.9
+revision=1
+archs="~i686* ~arm*"
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/vkdoom -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config tar xz"
+makedepends="SDL2-devel gtk+3-devel libgomp-devel ZMusic-devel libopenal-devel libvpx-devel libwebp-devel"
+short_desc="Advanced Doom source port focused around Vulkan and modern computers"
+maintainer="SpidFightFR <spidfight@swisscows.email>"
+license="GPL-3.0-or-later"
+homepage="https://vkdoom.org/"
+distfiles="https://github.com/dpjudas/VkDoom/archive/v${version}.tar.gz"
+checksum="5fbc28079ce03dc710a99ceb8480cdac4c177645757fc2bd3588bfc3ed4cb613"
+nocross=yes

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

* Re: [PR PATCH] [Updated] New package: vkdoom-0.9.
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
                   ` (4 preceding siblings ...)
  2023-10-08  9:10 ` SpidFightFR
@ 2023-10-10  6:58 ` SpidFightFR
  2023-10-10  6:59 ` SpidFightFR
                   ` (12 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: SpidFightFR @ 2023-10-10  6:58 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by SpidFightFR against master on the void-packages repository

https://github.com/SpidFightFR/void-packages vkdoom-void
https://github.com/void-linux/void-packages/pull/46506

New package: vkdoom-0.9.
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x64-GlibC)


Hey fellas ! 
I'll be making this PR for something new on my side: adding a package to void.

The package is VKDoom, it's a ZDoom port, focused around Vulkan and modern technologies.
~~Compared to GZDoom (already in the repos), we could potentially see a visual upgrade, in vkdoom.~~

**EDIT: After a talk with  members of the project, vkdoom won't bring direct improvements (like prboom-plus-rt would do for example), but it brings a nice set of new features for mapmakers to allow way more detailed maps than GZDoom allowed to do so far.** - Idk for you guys, but knowing this, vkdoom now feels even more interesting for the future of Doom !

It's not released yet, so this PR will be a draft for now. But i'll make sure to post a new template, tested, when it's released.

Peace ! :v: 

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

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

From 0c5b448cfa4c6c8fd0ed16b1308534bcbf5ce58d Mon Sep 17 00:00:00 2001
From: SpidFightFR <spidfight.one@gmail.com>
Date: Tue, 10 Oct 2023 06:48:24 +0000
Subject: [PATCH] New package: vkdoom-0.9.

---
 srcpkgs/vkdoom/patches/vkdoom-fix-build.patch | 15 +++++++++++++
 srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch   | 22 +++++++++++++++++++
 srcpkgs/vkdoom/template                       | 16 ++++++++++++++
 3 files changed, 53 insertions(+)
 create mode 100644 srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
 create mode 100644 srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
 create mode 100644 srcpkgs/vkdoom/template

diff --git a/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch b/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
new file mode 100644
index 0000000000000..f25d3971684f6
--- /dev/null
+++ b/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 76c3584..d933da6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -277,7 +277,9 @@ else()
+ 			include ( FindPkgConfig )
+ 			pkg_check_modules( MUSL_FTS musl-fts )
+ 			if ( MUSL_FTS_FOUND )
+-				set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${MUSL_FTS_LDFLAGS}" )
++                          foreach(flags IN LISTS MUSL_FTS_LDFLAGS)
++                            set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${flags}" )
++                          endforeach()
+ 			else ( MUSL_FTS_FOUND )
+ 				message (ERROR "fts_* functions not found in the system" )
+ 			endif ( MUSL_FTS_FOUND )
diff --git a/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch b/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
new file mode 100644
index 0000000000000..08494c1ba5a69
--- /dev/null
+++ b/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
@@ -0,0 +1,22 @@
+diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp
+index a054d59..6fe82e1 100644
+--- a/src/gameconfigfile.cpp
++++ b/src/gameconfigfile.cpp
+@@ -123,6 +123,8 @@ FGameConfigFile::FGameConfigFile ()
+ 		SetValueForKey ("Path", "/usr/local/share/doom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/games/doom", true);
+ 		SetValueForKey ("Path", "/usr/share/doom", true);
++                // Adds the correct locations of the pk3file for Voidlinux
++		SetValueForKey ("Path", "/usr/share/vkdoom", true);
+ 		SetValueForKey ("Path", "/usr/share/games/doom", true);
+ #endif
+ 	}
+@@ -145,6 +147,8 @@ FGameConfigFile::FGameConfigFile ()
+ 		SetValueForKey ("Path", "/usr/local/share/doom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/games/doom", true);
+ 		SetValueForKey ("Path", "/usr/share/doom", true);
++                // Adds the correct locations of the pk3file for Voidlinux
++		SetValueForKey ("Path", "/usr/share/vkdoom", true);
+ 		SetValueForKey ("Path", "/usr/share/games/doom", true);
+ #endif
+ 		SetValueForKey ("Path", "$DOOMWADDIR", true);
diff --git a/srcpkgs/vkdoom/template b/srcpkgs/vkdoom/template
new file mode 100644
index 0000000000000..438dbb78398e1
--- /dev/null
+++ b/srcpkgs/vkdoom/template
@@ -0,0 +1,16 @@
+# Template file for 'vkdoom'
+pkgname=vkdoom
+version=0.9
+revision=2
+archs="~i686* ~arm*"
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/vkdoom -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config tar xz"
+makedepends="SDL2-devel gtk+3-devel libgomp-devel ZMusic-devel libopenal-devel libvpx-devel libwebp-devel"
+short_desc="Advanced Doom source port focused around Vulkan and modern computers"
+maintainer="SpidFightFR <spidfight@swisscows.email>"
+license="GPL-3.0-or-later"
+homepage="https://vkdoom.org/"
+distfiles="https://github.com/dpjudas/VkDoom/archive/v${version}.tar.gz"
+checksum="5fbc28079ce03dc710a99ceb8480cdac4c177645757fc2bd3588bfc3ed4cb613"
+nocross=yes

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

* Re: New package: vkdoom-0.9.
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
                   ` (5 preceding siblings ...)
  2023-10-10  6:58 ` SpidFightFR
@ 2023-10-10  6:59 ` SpidFightFR
  2023-10-10  7:01 ` [PR PATCH] [Updated] " SpidFightFR
                   ` (11 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: SpidFightFR @ 2023-10-10  6:59 UTC (permalink / raw)
  To: ml

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

New comment by SpidFightFR on void-packages repository

https://github.com/void-linux/void-packages/pull/46506#issuecomment-1754538511

Comment:
one last commit to fix the patch i also did for gzdoom (but adapted here for vkdoom), see https://github.com/void-linux/void-packages/pull/46503#issuecomment-1753939358 for more info.

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

* Re: [PR PATCH] [Updated] New package: vkdoom-0.9.
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
                   ` (6 preceding siblings ...)
  2023-10-10  6:59 ` SpidFightFR
@ 2023-10-10  7:01 ` SpidFightFR
  2024-01-09  1:47 ` github-actions
                   ` (10 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: SpidFightFR @ 2023-10-10  7:01 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by SpidFightFR against master on the void-packages repository

https://github.com/SpidFightFR/void-packages vkdoom-void
https://github.com/void-linux/void-packages/pull/46506

New package: vkdoom-0.9.
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x64-GlibC)


Hey fellas ! 
I'll be making this PR for something new on my side: adding a package to void.

The package is VKDoom, it's a ZDoom port, focused around Vulkan and modern technologies.
~~Compared to GZDoom (already in the repos), we could potentially see a visual upgrade, in vkdoom.~~

**EDIT: After a talk with  members of the project, vkdoom won't bring direct improvements (like prboom-plus-rt would do for example), but it brings a nice set of new features for mapmakers to allow way more detailed maps than GZDoom allowed to do so far.** - Idk for you guys, but knowing this, vkdoom now feels even more interesting for the future of Doom !

It's not released yet, so this PR will be a draft for now. But i'll make sure to post a new template, tested, when it's released.

Peace ! :v: 

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

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

From 757f8a9bb7b9d4067865632f967af0da76af5a5c Mon Sep 17 00:00:00 2001
From: SpidFightFR <spidfight.one@gmail.com>
Date: Tue, 10 Oct 2023 06:48:24 +0000
Subject: [PATCH] New package: vkdoom-0.9.

---
 srcpkgs/vkdoom/patches/vkdoom-fix-build.patch | 15 +++++++++++++
 srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch   | 22 +++++++++++++++++++
 srcpkgs/vkdoom/template                       | 16 ++++++++++++++
 3 files changed, 53 insertions(+)
 create mode 100644 srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
 create mode 100644 srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
 create mode 100644 srcpkgs/vkdoom/template

diff --git a/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch b/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
new file mode 100644
index 0000000000000..f25d3971684f6
--- /dev/null
+++ b/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 76c3584..d933da6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -277,7 +277,9 @@ else()
+ 			include ( FindPkgConfig )
+ 			pkg_check_modules( MUSL_FTS musl-fts )
+ 			if ( MUSL_FTS_FOUND )
+-				set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${MUSL_FTS_LDFLAGS}" )
++                          foreach(flags IN LISTS MUSL_FTS_LDFLAGS)
++                            set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${flags}" )
++                          endforeach()
+ 			else ( MUSL_FTS_FOUND )
+ 				message (ERROR "fts_* functions not found in the system" )
+ 			endif ( MUSL_FTS_FOUND )
diff --git a/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch b/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
new file mode 100644
index 0000000000000..08494c1ba5a69
--- /dev/null
+++ b/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
@@ -0,0 +1,22 @@
+diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp
+index a054d59..6fe82e1 100644
+--- a/src/gameconfigfile.cpp
++++ b/src/gameconfigfile.cpp
+@@ -123,6 +123,8 @@ FGameConfigFile::FGameConfigFile ()
+ 		SetValueForKey ("Path", "/usr/local/share/doom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/games/doom", true);
+ 		SetValueForKey ("Path", "/usr/share/doom", true);
++                // Adds the correct locations of the pk3file for Voidlinux
++		SetValueForKey ("Path", "/usr/share/vkdoom", true);
+ 		SetValueForKey ("Path", "/usr/share/games/doom", true);
+ #endif
+ 	}
+@@ -145,6 +147,8 @@ FGameConfigFile::FGameConfigFile ()
+ 		SetValueForKey ("Path", "/usr/local/share/doom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/games/doom", true);
+ 		SetValueForKey ("Path", "/usr/share/doom", true);
++                // Adds the correct locations of the pk3file for Voidlinux
++		SetValueForKey ("Path", "/usr/share/vkdoom", true);
+ 		SetValueForKey ("Path", "/usr/share/games/doom", true);
+ #endif
+ 		SetValueForKey ("Path", "$DOOMWADDIR", true);
diff --git a/srcpkgs/vkdoom/template b/srcpkgs/vkdoom/template
new file mode 100644
index 0000000000000..e9c3dfd34e635
--- /dev/null
+++ b/srcpkgs/vkdoom/template
@@ -0,0 +1,16 @@
+# Template file for 'vkdoom'
+pkgname=vkdoom
+version=0.9
+revision=1
+archs="~i686* ~arm*"
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/vkdoom -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config tar xz"
+makedepends="SDL2-devel gtk+3-devel libgomp-devel ZMusic-devel libopenal-devel libvpx-devel libwebp-devel"
+short_desc="Advanced Doom source port focused around Vulkan and modern computers"
+maintainer="SpidFightFR <spidfight@swisscows.email>"
+license="GPL-3.0-or-later"
+homepage="https://vkdoom.org/"
+distfiles="https://github.com/dpjudas/VkDoom/archive/v${version}.tar.gz"
+checksum="5fbc28079ce03dc710a99ceb8480cdac4c177645757fc2bd3588bfc3ed4cb613"
+nocross=yes

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

* Re: New package: vkdoom-0.9.
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
                   ` (7 preceding siblings ...)
  2023-10-10  7:01 ` [PR PATCH] [Updated] " SpidFightFR
@ 2024-01-09  1:47 ` github-actions
  2024-01-09  5:57 ` SpidFightFR
                   ` (9 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: github-actions @ 2024-01-09  1:47 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/46506#issuecomment-1882140229

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: New package: vkdoom-0.9.
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
                   ` (8 preceding siblings ...)
  2024-01-09  1:47 ` github-actions
@ 2024-01-09  5:57 ` SpidFightFR
  2024-02-11 13:10 ` [PR PATCH] [Updated] " SpidFightFR
                   ` (8 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: SpidFightFR @ 2024-01-09  5:57 UTC (permalink / raw)
  To: ml

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

New comment by SpidFightFR on void-packages repository

https://github.com/void-linux/void-packages/pull/46506#issuecomment-1882456501

Comment:
> Pull Requests become stale 90 days after last activity and are closed 14 days after that. If this pull request is still relevant bump it or assign it.

We're still waiting on V1, bot 🥲

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

* Re: [PR PATCH] [Updated] New package: vkdoom-0.9.
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
                   ` (9 preceding siblings ...)
  2024-01-09  5:57 ` SpidFightFR
@ 2024-02-11 13:10 ` SpidFightFR
  2024-02-11 13:12 ` SpidFightFR
                   ` (7 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: SpidFightFR @ 2024-02-11 13:10 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by SpidFightFR against master on the void-packages repository

https://github.com/SpidFightFR/void-packages vkdoom-void
https://github.com/void-linux/void-packages/pull/46506

New package: vkdoom-0.9.
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x64-GlibC)


Hey fellas ! 
I'll be making this PR for something new on my side: adding a package to void.

The package is VKDoom, it's a ZDoom port, focused around Vulkan and modern technologies.
~~Compared to GZDoom (already in the repos), we could potentially see a visual upgrade, in vkdoom.~~

**EDIT: After a talk with  members of the project, vkdoom won't bring direct improvements (like prboom-plus-rt would do for example), but it brings a nice set of new features for mapmakers to allow way more detailed maps than GZDoom allowed to do so far.** - Idk for you guys, but knowing this, vkdoom now feels even more interesting for the future of Doom !

It's not released yet, so this PR will be a draft for now. But i'll make sure to post a new template, tested, when it's released.

Peace ! :v: 

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

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

From 61da51aa526aef3daf5eb9b14b011e0ec40cdb0b Mon Sep 17 00:00:00 2001
From: SpidFightFR <spidfight@swisscows.email>
Date: Sun, 11 Feb 2024 14:07:35 +0100
Subject: [PATCH] New package: vkdoom-0.9.

---
 srcpkgs/vkdoom/patches/vkdoom-fix-build.patch | 15 +++++++++++++
 srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch   | 22 +++++++++++++++++++
 srcpkgs/vkdoom/template                       | 17 ++++++++++++++
 3 files changed, 54 insertions(+)
 create mode 100755 srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
 create mode 100755 srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
 create mode 100755 srcpkgs/vkdoom/template

diff --git a/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch b/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
new file mode 100755
index 00000000000000..f25d3971684f6a
--- /dev/null
+++ b/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 76c3584..d933da6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -277,7 +277,9 @@ else()
+ 			include ( FindPkgConfig )
+ 			pkg_check_modules( MUSL_FTS musl-fts )
+ 			if ( MUSL_FTS_FOUND )
+-				set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${MUSL_FTS_LDFLAGS}" )
++                          foreach(flags IN LISTS MUSL_FTS_LDFLAGS)
++                            set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${flags}" )
++                          endforeach()
+ 			else ( MUSL_FTS_FOUND )
+ 				message (ERROR "fts_* functions not found in the system" )
+ 			endif ( MUSL_FTS_FOUND )
diff --git a/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch b/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
new file mode 100755
index 00000000000000..08494c1ba5a690
--- /dev/null
+++ b/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
@@ -0,0 +1,22 @@
+diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp
+index a054d59..6fe82e1 100644
+--- a/src/gameconfigfile.cpp
++++ b/src/gameconfigfile.cpp
+@@ -123,6 +123,8 @@ FGameConfigFile::FGameConfigFile ()
+ 		SetValueForKey ("Path", "/usr/local/share/doom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/games/doom", true);
+ 		SetValueForKey ("Path", "/usr/share/doom", true);
++                // Adds the correct locations of the pk3file for Voidlinux
++		SetValueForKey ("Path", "/usr/share/vkdoom", true);
+ 		SetValueForKey ("Path", "/usr/share/games/doom", true);
+ #endif
+ 	}
+@@ -145,6 +147,8 @@ FGameConfigFile::FGameConfigFile ()
+ 		SetValueForKey ("Path", "/usr/local/share/doom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/games/doom", true);
+ 		SetValueForKey ("Path", "/usr/share/doom", true);
++                // Adds the correct locations of the pk3file for Voidlinux
++		SetValueForKey ("Path", "/usr/share/vkdoom", true);
+ 		SetValueForKey ("Path", "/usr/share/games/doom", true);
+ #endif
+ 		SetValueForKey ("Path", "$DOOMWADDIR", true);
diff --git a/srcpkgs/vkdoom/template b/srcpkgs/vkdoom/template
new file mode 100755
index 00000000000000..14dd9b29c6f244
--- /dev/null
+++ b/srcpkgs/vkdoom/template
@@ -0,0 +1,17 @@
+# Template file for 'vkdoom'
+pkgname=vkdoom
+version=1
+version_dev=nightly
+revision=1
+archs="~i686* ~arm*"
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/vkdoom -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config tar xz"
+makedepends="SDL2-devel gtk+3-devel libgomp-devel ZMusic-devel libopenal-devel libvpx-devel libwebp-devel"
+short_desc="Advanced Doom source port focused around Vulkan and modern computers"
+maintainer="SpidFightFR <spidfight@swisscows.email>"
+license="GPL-3.0-or-later"
+homepage="https://vkdoom.org/"
+distfiles="https://github.com/dpjudas/VkDoom/archive/${version_dev}.tar.gz"
+checksum="ce5399142451d3e18a85574770d58d82b83ba78f05e80130317bf7846130095c"
+nocross=yes

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

* Re: New package: vkdoom-0.9.
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
                   ` (10 preceding siblings ...)
  2024-02-11 13:10 ` [PR PATCH] [Updated] " SpidFightFR
@ 2024-02-11 13:12 ` SpidFightFR
  2024-02-11 13:12 ` SpidFightFR
                   ` (6 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: SpidFightFR @ 2024-02-11 13:12 UTC (permalink / raw)
  To: ml

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

New comment by SpidFightFR on void-packages repository

https://github.com/void-linux/void-packages/pull/46506#issuecomment-1937747208

Comment:
Finally some new stuff here !

Sow we got nightly build, i updated my PR so that people can try vkdoom. But the full V1 release isn't here yet so we have to wait before publishing this PR. :sweat_smile: 

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

* Re: New package: vkdoom-0.9.
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
                   ` (11 preceding siblings ...)
  2024-02-11 13:12 ` SpidFightFR
@ 2024-02-11 13:12 ` SpidFightFR
  2024-02-11 13:13 ` SpidFightFR
                   ` (5 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: SpidFightFR @ 2024-02-11 13:12 UTC (permalink / raw)
  To: ml

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

New comment by SpidFightFR on void-packages repository

https://github.com/void-linux/void-packages/pull/46506#issuecomment-1937747208

Comment:
Finally some new stuff here !

So we got nightly build, i updated my PR so that people can try vkdoom. But the full V1 release isn't here yet so we have to wait before publishing this PR. :sweat_smile: 

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

* Re: New package: vkdoom-0.9.
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
                   ` (12 preceding siblings ...)
  2024-02-11 13:12 ` SpidFightFR
@ 2024-02-11 13:13 ` SpidFightFR
  2024-02-11 13:14 ` SpidFightFR
                   ` (4 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: SpidFightFR @ 2024-02-11 13:13 UTC (permalink / raw)
  To: ml

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

New comment by SpidFightFR on void-packages repository

https://github.com/void-linux/void-packages/pull/46506#issuecomment-1937749242

Comment:
Side note: the `version_dev` flag is purely temporary and is meant to be gone at V1, when this PR will be finished.

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

* Re: New package: vkdoom-0.9.
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
                   ` (13 preceding siblings ...)
  2024-02-11 13:13 ` SpidFightFR
@ 2024-02-11 13:14 ` SpidFightFR
  2024-05-12  1:48 ` github-actions
                   ` (3 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: SpidFightFR @ 2024-02-11 13:14 UTC (permalink / raw)
  To: ml

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

New comment by SpidFightFR on void-packages repository

https://github.com/void-linux/void-packages/pull/46506#issuecomment-1937749242

Comment:
Side note: the `version_dev` flag is purely temporary and is meant to be gone at V1, when this PR will be finished. (his is why the lint check fails, no worries this will be gone.)

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

* Re: New package: vkdoom-0.9.
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
                   ` (14 preceding siblings ...)
  2024-02-11 13:14 ` SpidFightFR
@ 2024-05-12  1:48 ` github-actions
  2024-05-12  7:58 ` SpidFightFR
                   ` (2 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: github-actions @ 2024-05-12  1:48 UTC (permalink / raw)
  To: ml

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

New comment by github-actions[bot] on void-packages repository

https://github.com/void-linux/void-packages/pull/46506#issuecomment-2106085428

Comment:
Pull Requests become stale 90 days after last activity and are closed 14 days after that.  If this pull request is still relevant bump it or assign it.

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

* Re: New package: vkdoom-0.9.
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
                   ` (15 preceding siblings ...)
  2024-05-12  1:48 ` github-actions
@ 2024-05-12  7:58 ` SpidFightFR
  2024-05-25 15:43 ` [PR PATCH] [Updated] " SpidFightFR
  2024-05-25 16:00 ` SpidFightFR
  18 siblings, 0 replies; 20+ messages in thread
From: SpidFightFR @ 2024-05-12  7:58 UTC (permalink / raw)
  To: ml

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

New comment by SpidFightFR on void-packages repository

https://github.com/void-linux/void-packages/pull/46506#issuecomment-2106156815

Comment:
Still waiting for V1.

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

* Re: [PR PATCH] [Updated] New package: vkdoom-0.9
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
                   ` (16 preceding siblings ...)
  2024-05-12  7:58 ` SpidFightFR
@ 2024-05-25 15:43 ` SpidFightFR
  2024-05-25 16:00 ` SpidFightFR
  18 siblings, 0 replies; 20+ messages in thread
From: SpidFightFR @ 2024-05-25 15:43 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by SpidFightFR against master on the void-packages repository

https://github.com/SpidFightFR/void-packages vkdoom-void
https://github.com/void-linux/void-packages/pull/46506

New package: vkdoom-0.9
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x64-GlibC)


Hey fellas ! 
I'll be making this PR for something new on my side: adding a package to void.

The package is VKDoom, it's a ZDoom port, focused around Vulkan and modern technologies.
~~Compared to GZDoom (already in the repos), we could potentially see a visual upgrade, in vkdoom.~~

**EDIT: After a talk with  members of the project, vkdoom won't bring direct improvements (like prboom-plus-rt would do for example), but it brings a nice set of new features for mapmakers to allow way more detailed maps than GZDoom allowed to do so far.** - Idk for you guys, but knowing this, vkdoom now feels even more interesting for the future of Doom !

It's not released yet, so this PR will be a draft for now. But i'll make sure to post a new template, tested, when it's released.

Peace ! :v: 

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

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

From f23fb4cb557f098bd8adfca161f6df19f7907716 Mon Sep 17 00:00:00 2001
From: SpidFightFR <spidfight@swisscows.email>
Date: Sun, 11 Feb 2024 14:07:35 +0100
Subject: [PATCH] New package: vkdoom-0.9

---
 srcpkgs/vkdoom/patches/vkdoom-fix-build.patch | 15 +++++++++++++
 srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch   | 22 +++++++++++++++++++
 srcpkgs/vkdoom/template                       | 17 ++++++++++++++
 3 files changed, 54 insertions(+)
 create mode 100755 srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
 create mode 100755 srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
 create mode 100755 srcpkgs/vkdoom/template

diff --git a/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch b/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
new file mode 100755
index 00000000000000..f25d3971684f6a
--- /dev/null
+++ b/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 76c3584..d933da6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -277,7 +277,9 @@ else()
+ 			include ( FindPkgConfig )
+ 			pkg_check_modules( MUSL_FTS musl-fts )
+ 			if ( MUSL_FTS_FOUND )
+-				set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${MUSL_FTS_LDFLAGS}" )
++                          foreach(flags IN LISTS MUSL_FTS_LDFLAGS)
++                            set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${flags}" )
++                          endforeach()
+ 			else ( MUSL_FTS_FOUND )
+ 				message (ERROR "fts_* functions not found in the system" )
+ 			endif ( MUSL_FTS_FOUND )
diff --git a/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch b/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
new file mode 100755
index 00000000000000..08494c1ba5a690
--- /dev/null
+++ b/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
@@ -0,0 +1,22 @@
+diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp
+index a054d59..6fe82e1 100644
+--- a/src/gameconfigfile.cpp
++++ b/src/gameconfigfile.cpp
+@@ -123,6 +123,8 @@ FGameConfigFile::FGameConfigFile ()
+ 		SetValueForKey ("Path", "/usr/local/share/doom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/games/doom", true);
+ 		SetValueForKey ("Path", "/usr/share/doom", true);
++                // Adds the correct locations of the pk3file for Voidlinux
++		SetValueForKey ("Path", "/usr/share/vkdoom", true);
+ 		SetValueForKey ("Path", "/usr/share/games/doom", true);
+ #endif
+ 	}
+@@ -145,6 +147,8 @@ FGameConfigFile::FGameConfigFile ()
+ 		SetValueForKey ("Path", "/usr/local/share/doom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/games/doom", true);
+ 		SetValueForKey ("Path", "/usr/share/doom", true);
++                // Adds the correct locations of the pk3file for Voidlinux
++		SetValueForKey ("Path", "/usr/share/vkdoom", true);
+ 		SetValueForKey ("Path", "/usr/share/games/doom", true);
+ #endif
+ 		SetValueForKey ("Path", "$DOOMWADDIR", true);
diff --git a/srcpkgs/vkdoom/template b/srcpkgs/vkdoom/template
new file mode 100755
index 00000000000000..6f7cbfb56a4814
--- /dev/null
+++ b/srcpkgs/vkdoom/template
@@ -0,0 +1,17 @@
+# Template file for 'vkdoom'
+pkgname=vkdoom
+version=0.9
+revision=1
+_dev_tag=nightly
+archs="~i686* ~arm*"
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/vkdoom -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config tar xz"
+makedepends="SDL2-devel gtk+3-devel libgomp-devel ZMusic-devel libopenal-devel libvpx-devel libwebp-devel"
+short_desc="Advanced Doom source port focused around Vulkan and modern computers"
+maintainer="SpidFightFR <spidfight@swisscows.email>"
+license="GPL-3.0-or-later"
+homepage="https://vkdoom.org/"
+distfiles="https://github.com/dpjudas/VkDoom/archive/${_dev_tag}.tar.gz"
+checksum="469c4374ee15375cc107252def94cda30bd6b01b220c1dae878530c3112e206e"
+nocross=yes

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

* Re: [PR PATCH] [Updated] New package: vkdoom-0.9
  2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
                   ` (17 preceding siblings ...)
  2024-05-25 15:43 ` [PR PATCH] [Updated] " SpidFightFR
@ 2024-05-25 16:00 ` SpidFightFR
  18 siblings, 0 replies; 20+ messages in thread
From: SpidFightFR @ 2024-05-25 16:00 UTC (permalink / raw)
  To: ml

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

There is an updated pull request by SpidFightFR against master on the void-packages repository

https://github.com/SpidFightFR/void-packages vkdoom-void
https://github.com/void-linux/void-packages/pull/46506

New package: vkdoom-0.9
#### Testing the changes
- I tested the changes in this PR: **YES**


#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

#### Local build testing
- I built this PR locally for my native architecture, (x64-GlibC)


Hey fellas ! 
I'll be making this PR for something new on my side: adding a package to void.

The package is VKDoom, it's a ZDoom port, focused around Vulkan and modern technologies.
~~Compared to GZDoom (already in the repos), we could potentially see a visual upgrade, in vkdoom.~~

**EDIT: After a talk with  members of the project, vkdoom won't bring direct improvements (like prboom-plus-rt would do for example), but it brings a nice set of new features for mapmakers to allow way more detailed maps than GZDoom allowed to do so far.** - Idk for you guys, but knowing this, vkdoom now feels even more interesting for the future of Doom !

It's not released yet, so this PR will be a draft for now. But i'll make sure to post a new template, tested, when it's released.

Peace ! :v: 

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

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

From 7b7730cc229ccc36099c5b013f8ec8ea5d21ca9e Mon Sep 17 00:00:00 2001
From: SpidFightFR <spidfight@swisscows.email>
Date: Sun, 11 Feb 2024 14:07:35 +0100
Subject: [PATCH] New package: vkdoom-0.9

---
 srcpkgs/vkdoom/patches/vkdoom-fix-build.patch |  15 +++
 .../patches/vkdoom-fix-musl-build.patch       | 110 ++++++++++++++++++
 srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch   |  22 ++++
 srcpkgs/vkdoom/template                       |  18 +++
 4 files changed, 165 insertions(+)
 create mode 100755 srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
 create mode 100644 srcpkgs/vkdoom/patches/vkdoom-fix-musl-build.patch
 create mode 100755 srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
 create mode 100755 srcpkgs/vkdoom/template

diff --git a/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch b/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
new file mode 100755
index 00000000000000..f25d3971684f6a
--- /dev/null
+++ b/srcpkgs/vkdoom/patches/vkdoom-fix-build.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 76c3584..d933da6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -277,7 +277,9 @@ else()
+ 			include ( FindPkgConfig )
+ 			pkg_check_modules( MUSL_FTS musl-fts )
+ 			if ( MUSL_FTS_FOUND )
+-				set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${MUSL_FTS_LDFLAGS}" )
++                          foreach(flags IN LISTS MUSL_FTS_LDFLAGS)
++                            set ( ALL_C_FLAGS "${ALL_C_FLAGS} ${flags}" )
++                          endforeach()
+ 			else ( MUSL_FTS_FOUND )
+ 				message (ERROR "fts_* functions not found in the system" )
+ 			endif ( MUSL_FTS_FOUND )
diff --git a/srcpkgs/vkdoom/patches/vkdoom-fix-musl-build.patch b/srcpkgs/vkdoom/patches/vkdoom-fix-musl-build.patch
new file mode 100644
index 00000000000000..edbfed395f6ae6
--- /dev/null
+++ b/srcpkgs/vkdoom/patches/vkdoom-fix-musl-build.patch
@@ -0,0 +1,110 @@
+diff --git a/libraries/lzma/C/Threads.c b/libraries/lzma/C/Threads.c
+index cf52bd3..86a5cee 100644
+--- a/libraries/lzma/C/Threads.c
++++ b/libraries/lzma/C/Threads.c
+@@ -67,12 +67,12 @@ WRes Thread_Create(CThread *p, THREAD_FUNC_TYPE func, LPVOID param)
+ 
+   DWORD threadId;
+   *p = CreateThread(NULL, 0, func, param, 0, &threadId);
+-  
++
+   #else
+-  
++
+   unsigned threadId;
+   *p = (HANDLE)(_beginthreadex(NULL, 0, func, param, 0, &threadId));
+-  
++
+   #endif
+ 
+   /* maybe we must use errno here, but probably GetLastError() is also OK. */
+@@ -86,9 +86,9 @@ WRes Thread_Create_With_Affinity(CThread *p, THREAD_FUNC_TYPE func, LPVOID param
+ 
+   UNUSED_VAR(affinity)
+   return Thread_Create(p, func, param);
+-  
++
+   #else
+-  
++
+   /* Windows Me/98/95: threadId parameter may not be NULL in _beginthreadex/CreateThread functions */
+   HANDLE h;
+   WRes wres;
+@@ -245,7 +245,7 @@ WRes Thread_Create_With_CpuSet(CThread *p, THREAD_FUNC_TYPE func, LPVOID param,
+     if (cpuSet)
+     {
+       #ifdef Z7_AFFINITY_SUPPORTED
+-      
++
+       /*
+       printf("\n affinity :");
+       unsigned i;
+@@ -265,13 +265,13 @@ WRes Thread_Create_With_CpuSet(CThread *p, THREAD_FUNC_TYPE func, LPVOID param,
+       */
+ 
+       // ret2 =
+-      pthread_attr_setaffinity_np(&attr, sizeof(*cpuSet), cpuSet);
++      pthread_setaffinity_np(&attr, sizeof(*cpuSet), cpuSet);
+       // if (ret2) ret = ret2;
+       #endif
+     }
+-    
++
+     ret = pthread_create(&p->_tid, &attr, func, param);
+-    
++
+     if (!ret)
+     {
+       p->_created = 1;
+@@ -324,7 +324,7 @@ WRes Thread_Close(CThread *p)
+   int ret;
+   if (!p->_created)
+     return 0;
+-    
++
+   ret = pthread_detach(p->_tid);
+   p->_tid = 0;
+   p->_created = 0;
+@@ -384,7 +384,7 @@ WRes Event_Reset(CEvent *p)
+   p->_state = False;
+   return pthread_mutex_unlock(&p->_mutex);
+ }
+- 
++
+ WRes Event_Wait(CEvent *p)
+ {
+   RINOK(pthread_mutex_lock(&p->_mutex))
+diff --git a/libraries/lzma/C/Threads.h b/libraries/lzma/C/Threads.h
+index 4028464..86b0687 100644
+--- a/libraries/lzma/C/Threads.h
++++ b/libraries/lzma/C/Threads.h
+@@ -4,6 +4,10 @@
+ #ifndef ZIP7_INC_THREADS_H
+ #define ZIP7_INC_THREADS_H
+ 
++#ifndef _GNU_SOURCE
++#define _GNU_SOURCE /* Required for musl to expose cpu_set_t */
++#endif
++
+ #ifdef _WIN32
+ #include "7zWindows.h"
+ 
+@@ -108,15 +112,15 @@ typedef UInt64 CCpuSet;
+    But only root function main() contains instructions that
+    set 16-byte alignment for stack pointer. And another functions
+    just keep alignment, if it was set in some parent function.
+-   
++
+    The problem:
+     if we create new thread in MinGW (GCC) 32-bit x86 via _beginthreadex() or CreateThread(),
+        the root function of thread doesn't set 16-byte alignment.
+        And stack frames in all child functions also will be unaligned in that case.
+-   
++
+    Here we set (force_align_arg_pointer) attribute for root function of new thread.
+    Do we need (force_align_arg_pointer) also for another systems?  */
+-  
++
+   #define THREAD_FUNC_ATTRIB_ALIGN_ARG __attribute__((force_align_arg_pointer))
+   // #define THREAD_FUNC_ATTRIB_ALIGN_ARG // for debug : bad alignment in SSE functions
+ #else
diff --git a/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch b/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
new file mode 100755
index 00000000000000..08494c1ba5a690
--- /dev/null
+++ b/srcpkgs/vkdoom/patches/vkdoom-fix-pk3.patch
@@ -0,0 +1,22 @@
+diff --git a/src/gameconfigfile.cpp b/src/gameconfigfile.cpp
+index a054d59..6fe82e1 100644
+--- a/src/gameconfigfile.cpp
++++ b/src/gameconfigfile.cpp
+@@ -123,6 +123,8 @@ FGameConfigFile::FGameConfigFile ()
+ 		SetValueForKey ("Path", "/usr/local/share/doom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/games/doom", true);
+ 		SetValueForKey ("Path", "/usr/share/doom", true);
++                // Adds the correct locations of the pk3file for Voidlinux
++		SetValueForKey ("Path", "/usr/share/vkdoom", true);
+ 		SetValueForKey ("Path", "/usr/share/games/doom", true);
+ #endif
+ 	}
+@@ -145,6 +147,8 @@ FGameConfigFile::FGameConfigFile ()
+ 		SetValueForKey ("Path", "/usr/local/share/doom", true);
+ 		SetValueForKey ("Path", "/usr/local/share/games/doom", true);
+ 		SetValueForKey ("Path", "/usr/share/doom", true);
++                // Adds the correct locations of the pk3file for Voidlinux
++		SetValueForKey ("Path", "/usr/share/vkdoom", true);
+ 		SetValueForKey ("Path", "/usr/share/games/doom", true);
+ #endif
+ 		SetValueForKey ("Path", "$DOOMWADDIR", true);
diff --git a/srcpkgs/vkdoom/template b/srcpkgs/vkdoom/template
new file mode 100755
index 00000000000000..7120c1e1d10bf4
--- /dev/null
+++ b/srcpkgs/vkdoom/template
@@ -0,0 +1,18 @@
+# Template file for 'vkdoom'
+pkgname=vkdoom
+version=0.9
+revision=1
+_dev_tag=nightly
+archs="~i686* ~arm*"
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/vkdoom -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config tar xz"
+makedepends="SDL2-devel gtk+3-devel libgomp-devel ZMusic-devel libopenal-devel libvpx-devel libwebp-devel"
+short_desc="Advanced Doom source port focused around Vulkan and modern computers"
+maintainer="SpidFightFR <spidfight@swisscows.email>"
+license="GPL-3.0-or-later"
+homepage="https://vkdoom.org/"
+distfiles="https://github.com/dpjudas/VkDoom/archive/${_dev_tag}.tar.gz"
+checksum="469c4374ee15375cc107252def94cda30bd6b01b220c1dae878530c3112e206e"
+conflicts="gzdoom"
+nocross=yes

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

end of thread, other threads:[~2024-05-25 16:00 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-07 14:43 [PR PATCH] New package: vkdoom-0.9 SpidFightFR
2023-10-07 16:19 ` SpidFightFR
2023-10-08  8:50 ` [PR PATCH] [Updated] " SpidFightFR
2023-10-08  8:52 ` SpidFightFR
2023-10-08  8:56 ` [PR PATCH] [Updated] " SpidFightFR
2023-10-08  9:10 ` SpidFightFR
2023-10-10  6:58 ` SpidFightFR
2023-10-10  6:59 ` SpidFightFR
2023-10-10  7:01 ` [PR PATCH] [Updated] " SpidFightFR
2024-01-09  1:47 ` github-actions
2024-01-09  5:57 ` SpidFightFR
2024-02-11 13:10 ` [PR PATCH] [Updated] " SpidFightFR
2024-02-11 13:12 ` SpidFightFR
2024-02-11 13:12 ` SpidFightFR
2024-02-11 13:13 ` SpidFightFR
2024-02-11 13:14 ` SpidFightFR
2024-05-12  1:48 ` github-actions
2024-05-12  7:58 ` SpidFightFR
2024-05-25 15:43 ` [PR PATCH] [Updated] " SpidFightFR
2024-05-25 16:00 ` SpidFightFR

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).