Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] New package: raze-1.10.2
@ 2024-05-24 15:37 MIvanchev
  2024-05-24 15:43 ` [PR PATCH] [Updated] " MIvanchev
                   ` (20 more replies)
  0 siblings, 21 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-24 15:37 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From 843fb2adc4b9507db8e58df8b1d6fedb95eb4a3e Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..11cdeebd673d45
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,20 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+repository=nonfree
+restricted=yes
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
@ 2024-05-24 15:43 ` MIvanchev
  2024-05-24 15:59 ` MIvanchev
                   ` (19 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-24 15:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From 5f90f24db02b14eac52deebda81e709c264a4223 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/template | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..11cdeebd673d45
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,20 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+repository=nonfree
+restricted=yes
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
  2024-05-24 15:43 ` [PR PATCH] [Updated] " MIvanchev
@ 2024-05-24 15:59 ` MIvanchev
  2024-05-24 16:05 ` MIvanchev
                   ` (18 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-24 15:59 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From c3a721097a57a429c1f4ac18575ff2180d6d8426 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/nullptr.patch | 13 +++++++++++++
 srcpkgs/raze/template              | 22 ++++++++++++++++++++++
 2 files changed, 35 insertions(+)
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..50de6bcd867573
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,22 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+repository=nonfree
+restricted=yes
+
+#CXXFLAGS=-std=gnu++11
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
  2024-05-24 15:43 ` [PR PATCH] [Updated] " MIvanchev
  2024-05-24 15:59 ` MIvanchev
@ 2024-05-24 16:05 ` MIvanchev
  2024-05-24 16:10 ` MIvanchev
                   ` (17 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-24 16:05 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From 47845349c82e0dc325da9142036a2c3d2e8c07bc Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/nullptr.patch | 13 +++++++++++++
 srcpkgs/raze/template              | 28 ++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..30263a8d3eae16
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,28 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross=yes
+repository=nonfree
+restricted=yes
+
+#CXXFLAGS=-std=gnu++11
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	CFLAGS="-D_7ZIP_AFFINITY_DISABLE"
+	makedepends+=" musl-fts-devel libexecinfo-devel"
+fi
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
                   ` (2 preceding siblings ...)
  2024-05-24 16:05 ` MIvanchev
@ 2024-05-24 16:10 ` MIvanchev
  2024-05-24 16:25 ` MIvanchev
                   ` (16 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-24 16:10 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From 2e3dddc87ec406fc565f921ca1a077e3670d9f49 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/nullptr.patch | 13 +++++++++++++
 srcpkgs/raze/template              | 28 ++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..30263a8d3eae16
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,28 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross=yes
+repository=nonfree
+restricted=yes
+
+#CXXFLAGS=-std=gnu++11
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	CFLAGS="-D_7ZIP_AFFINITY_DISABLE"
+	makedepends+=" musl-fts-devel libexecinfo-devel"
+fi
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
                   ` (3 preceding siblings ...)
  2024-05-24 16:10 ` MIvanchev
@ 2024-05-24 16:25 ` MIvanchev
  2024-05-24 16:29 ` MIvanchev
                   ` (15 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-24 16:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From 90fe86fb3891cb73adbf469b92e262657b5f1140 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/nullptr.patch | 13 +++++++++++++
 srcpkgs/raze/template              | 28 ++++++++++++++++++++++++++++
 2 files changed, 41 insertions(+)
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..30263a8d3eae16
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,28 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross=yes
+repository=nonfree
+restricted=yes
+
+#CXXFLAGS=-std=gnu++11
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	CFLAGS="-D_7ZIP_AFFINITY_DISABLE"
+	makedepends+=" musl-fts-devel libexecinfo-devel"
+fi
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
                   ` (4 preceding siblings ...)
  2024-05-24 16:25 ` MIvanchev
@ 2024-05-24 16:29 ` MIvanchev
  2024-05-24 16:34 ` MIvanchev
                   ` (14 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-24 16:29 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From 3b69d6631f3e019bdd5da56fea7c74253ee117de Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/nullptr.patch | 13 +++++++++++++
 srcpkgs/raze/template              | 30 ++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..e804301c819cac
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,30 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+archs="x86_64 i686"
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross=gzdoom and raze require some exotic process to cross-compile whereby \
+the tools compiled in a native build must be available and IMPORT_EXECUTABLES \
+must be set.
+repository=nonfree
+restricted=yes
+
+CXXFLAGS=-std=gnu++11
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) CFLAGS=-msse2 ;;
+esac
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
                   ` (5 preceding siblings ...)
  2024-05-24 16:29 ` MIvanchev
@ 2024-05-24 16:34 ` MIvanchev
  2024-05-24 16:40 ` MIvanchev
                   ` (13 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-24 16:34 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From d1b1e5c656e3c4b2a4715e33ec8d16ac993c0377 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/nullptr.patch | 13 +++++++++++++
 srcpkgs/raze/template              | 30 ++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..e804301c819cac
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,30 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+archs="x86_64 i686"
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross=gzdoom and raze require some exotic process to cross-compile whereby \
+the tools compiled in a native build must be available and IMPORT_EXECUTABLES \
+must be set.
+repository=nonfree
+restricted=yes
+
+CXXFLAGS=-std=gnu++11
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) CFLAGS=-msse2 ;;
+esac
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
                   ` (6 preceding siblings ...)
  2024-05-24 16:34 ` MIvanchev
@ 2024-05-24 16:40 ` MIvanchev
  2024-05-24 16:54 ` MIvanchev
                   ` (12 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-24 16:40 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From 99e71c96da1591b7bf756215ddc1b0ea9d70d671 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/nullptr.patch | 13 +++++++++++++
 srcpkgs/raze/template              | 29 +++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..07ebfc9723fe95
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,29 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross=gzdoom and raze require some exotic process to cross-compile whereby \
+the tools compiled in a native build must be available and IMPORT_EXECUTABLES \
+must be set.
+repository=nonfree
+restricted=yes
+
+CXXFLAGS=-std=gnu++11
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) CFLAGS=-msse2 ;;
+esac
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
                   ` (7 preceding siblings ...)
  2024-05-24 16:40 ` MIvanchev
@ 2024-05-24 16:54 ` MIvanchev
  2024-05-24 19:04 ` MIvanchev
                   ` (11 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-24 16:54 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From 779a2e50db13d77c9fe0ec50a8148c76d25d170f Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/nullptr.patch | 13 ++++++++++++
 srcpkgs/raze/template              | 33 ++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..cb4890c3345cfd
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,33 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross="gzdoom and raze cross-builds required tools from a native build"
+repository=nonfree
+restricted=yes
+
+CXXFLAGS=-std=gnu++11
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) CFLAGS=-msse2 ;;
+esac
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	CFLAGS="-DZ7_AFFINITY_DISABLE"
+	makedepends+=" musl-fts-devel libexecinfo-devel"
+fi
+
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
                   ` (8 preceding siblings ...)
  2024-05-24 16:54 ` MIvanchev
@ 2024-05-24 19:04 ` MIvanchev
  2024-05-24 19:04 ` MIvanchev
                   ` (10 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-24 19:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From 868a9a45e325a79ade9253f9d98e27493e157759 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/nullptr.patch | 13 ++++++++++++
 srcpkgs/raze/template              | 33 ++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..6d34e150c58e3c
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,33 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross="gzdoom and raze cross-builds required tools from a native build"
+repository=nonfree
+restricted=yes
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) CFLAGS="-msse2 -fpmath=see"
+               CXXFLAGS="-msse2 -fpmath=sse"
+	  ;;
+esac
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	CFLAGS="$CFLAGS -DZ7_AFFINITY_DISABLE"
+	makedepends+=" musl-fts-devel libexecinfo-devel"
+fi
+
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
                   ` (9 preceding siblings ...)
  2024-05-24 19:04 ` MIvanchev
@ 2024-05-24 19:04 ` MIvanchev
  2024-05-24 19:25 ` MIvanchev
                   ` (9 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-24 19:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From a8c60338c3d2a3065a63e6e7c5680ac44adcd04d Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/nullptr.patch | 13 ++++++++++++
 srcpkgs/raze/template              | 33 ++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..ae982b5fc1950c
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,33 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross="gzdoom and raze cross-builds required tools from a native build"
+repository=nonfree
+restricted=yes
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) CFLAGS="-msse2 -fpmath=see"
+	       CXXFLAGS="-msse2 -fpmath=sse"
+	  ;;
+esac
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	CFLAGS="$CFLAGS -DZ7_AFFINITY_DISABLE"
+	makedepends+=" musl-fts-devel libexecinfo-devel"
+fi
+
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
                   ` (10 preceding siblings ...)
  2024-05-24 19:04 ` MIvanchev
@ 2024-05-24 19:25 ` MIvanchev
  2024-05-24 19:43 ` MIvanchev
                   ` (8 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-24 19:25 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From 971c5397e6eef424a33fcaec11a9de60351f808d Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/nullptr.patch | 13 ++++++++++++
 srcpkgs/raze/template              | 33 ++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..a1af271e844849
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,33 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross="gzdoom and raze cross-builds required tools from a native build"
+repository=nonfree
+restricted=yes
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) CFLAGS="-msse2 -mfpmath=see"
+	       CXXFLAGS="-msse2 -mfpmath=sse"
+	  ;;
+esac
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	CFLAGS="$CFLAGS -DZ7_AFFINITY_DISABLE"
+	makedepends+=" musl-fts-devel libexecinfo-devel"
+fi
+
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
                   ` (11 preceding siblings ...)
  2024-05-24 19:25 ` MIvanchev
@ 2024-05-24 19:43 ` MIvanchev
  2024-05-24 20:14 ` MIvanchev
                   ` (7 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-24 19:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From 8567c46a474611c4e85ecf75929dc6e248ff678d Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/lzma_threads.patch | 21 ++++++++++++++++
 srcpkgs/raze/patches/nullptr.patch      | 13 ++++++++++
 srcpkgs/raze/template                   | 33 +++++++++++++++++++++++++
 3 files changed, 67 insertions(+)
 create mode 100644 srcpkgs/raze/patches/lzma_threads.patch
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/lzma_threads.patch b/srcpkgs/raze/patches/lzma_threads.patch
new file mode 100644
index 00000000000000..4e27b27d5eb614
--- /dev/null
+++ b/srcpkgs/raze/patches/lzma_threads.patch
@@ -0,0 +1,21 @@
+diff --git a/libraries/lzma/CMakeLists.txt b/libraries/lzma/CMakeLists.txt
+index e1c668b29..b8d29bad7 100644
+--- a/libraries/lzma/CMakeLists.txt
++++ b/libraries/lzma/CMakeLists.txt
+@@ -2,8 +2,6 @@ make_release_only()
+ 
+ set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DZ7_PPMD_SUPPORT" )
+ 
+-find_package(Threads)
+-
+ add_library( lzma STATIC
+ 	C/7zAlloc.c
+ 	C/7zArcIn.c
+@@ -48,4 +46,7 @@ add_library( lzma STATIC
+ 	C/XzEnc.c
+ 	C/XzIn.c
+ )
++
++set(THREADS_PREFER_PTHREAD_FLAG ON)
++find_package(Threads)
+ target_link_libraries( lzma Threads::Threads )
diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..445f1b2aa9abc8
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,33 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross="gzdoom and raze cross-builds required tools from a native build"
+repository=nonfree
+restricted=yes
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) CFLAGS="-msse2 -mfpmath=sse"
+	       CXXFLAGS="-msse2 -mfpmath=sse"
+	  ;;
+esac
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	CFLAGS="$CFLAGS -DZ7_AFFINITY_DISABLE"
+	makedepends+=" musl-fts-devel libexecinfo-devel"
+fi
+
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
                   ` (12 preceding siblings ...)
  2024-05-24 19:43 ` MIvanchev
@ 2024-05-24 20:14 ` MIvanchev
  2024-05-24 20:16 ` MIvanchev
                   ` (6 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-24 20:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From 2f8064a1b38a3ed71ca4887ec01b4224d2a34363 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/lzma_threads.patch |  9 +++++++
 srcpkgs/raze/patches/nullptr.patch      | 13 ++++++++++
 srcpkgs/raze/template                   | 33 +++++++++++++++++++++++++
 3 files changed, 55 insertions(+)
 create mode 100644 srcpkgs/raze/patches/lzma_threads.patch
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/lzma_threads.patch b/srcpkgs/raze/patches/lzma_threads.patch
new file mode 100644
index 00000000000000..4fce01fbf1ec30
--- /dev/null
+++ b/srcpkgs/raze/patches/lzma_threads.patch
@@ -0,0 +1,9 @@
+diff --git a/libraries/lzma/CMakeLists.txt b/libraries/lzma/CMakeLists.txt
+index e1c668b29..130836a6a 100644
+--- a/libraries/lzma/CMakeLists.txt
++++ b/libraries/lzma/CMakeLists.txt
+@@ -48,4 +48,3 @@ add_library( lzma STATIC
+ 	C/XzEnc.c
+ 	C/XzIn.c
+ )
+-target_link_libraries( lzma Threads::Threads )
diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..445f1b2aa9abc8
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,33 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross="gzdoom and raze cross-builds required tools from a native build"
+repository=nonfree
+restricted=yes
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) CFLAGS="-msse2 -mfpmath=sse"
+	       CXXFLAGS="-msse2 -mfpmath=sse"
+	  ;;
+esac
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	CFLAGS="$CFLAGS -DZ7_AFFINITY_DISABLE"
+	makedepends+=" musl-fts-devel libexecinfo-devel"
+fi
+
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
                   ` (13 preceding siblings ...)
  2024-05-24 20:14 ` MIvanchev
@ 2024-05-24 20:16 ` MIvanchev
  2024-05-24 20:27 ` MIvanchev
                   ` (5 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-24 20:16 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From 49868efe9a2215b07dd859cc31039d06108cc807 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/lzma_threads.patch |  9 ++++++++
 srcpkgs/raze/patches/nullptr.patch      | 13 ++++++++++++
 srcpkgs/raze/template                   | 28 +++++++++++++++++++++++++
 3 files changed, 50 insertions(+)
 create mode 100644 srcpkgs/raze/patches/lzma_threads.patch
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/lzma_threads.patch b/srcpkgs/raze/patches/lzma_threads.patch
new file mode 100644
index 00000000000000..4fce01fbf1ec30
--- /dev/null
+++ b/srcpkgs/raze/patches/lzma_threads.patch
@@ -0,0 +1,9 @@
+diff --git a/libraries/lzma/CMakeLists.txt b/libraries/lzma/CMakeLists.txt
+index e1c668b29..130836a6a 100644
+--- a/libraries/lzma/CMakeLists.txt
++++ b/libraries/lzma/CMakeLists.txt
+@@ -48,4 +48,3 @@ add_library( lzma STATIC
+ 	C/XzEnc.c
+ 	C/XzIn.c
+ )
+-target_link_libraries( lzma Threads::Threads )
diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..51c4abbb74b50e
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,28 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+archs="x86_64* aarch64*"
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross="gzdoom and raze cross-builds required tools from a native build"
+repository=nonfree
+restricted=yes
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	CFLAGS="$CFLAGS -DZ7_AFFINITY_DISABLE"
+	makedepends+=" musl-fts-devel libexecinfo-devel"
+fi
+
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
                   ` (14 preceding siblings ...)
  2024-05-24 20:16 ` MIvanchev
@ 2024-05-24 20:27 ` MIvanchev
  2024-05-24 20:39 ` MIvanchev
                   ` (4 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-24 20:27 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From b3a7bf39b074bc20e26b90d57a574387b66c8157 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/lzma_threads.patch |  9 +++++++++
 srcpkgs/raze/patches/nullptr.patch      | 13 ++++++++++++
 srcpkgs/raze/template                   | 27 +++++++++++++++++++++++++
 3 files changed, 49 insertions(+)
 create mode 100644 srcpkgs/raze/patches/lzma_threads.patch
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/lzma_threads.patch b/srcpkgs/raze/patches/lzma_threads.patch
new file mode 100644
index 00000000000000..4fce01fbf1ec30
--- /dev/null
+++ b/srcpkgs/raze/patches/lzma_threads.patch
@@ -0,0 +1,9 @@
+diff --git a/libraries/lzma/CMakeLists.txt b/libraries/lzma/CMakeLists.txt
+index e1c668b29..130836a6a 100644
+--- a/libraries/lzma/CMakeLists.txt
++++ b/libraries/lzma/CMakeLists.txt
+@@ -48,4 +48,3 @@ add_library( lzma STATIC
+ 	C/XzEnc.c
+ 	C/XzIn.c
+ )
+-target_link_libraries( lzma Threads::Threads )
diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..153a8411ffbba9
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,27 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+archs="x86_64* aarch64*"
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross="gzdoom and raze cross-builds required tools from a native build"
+repository=nonfree
+restricted=yes
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	CFLAGS="-DZ7_AFFINITY_DISABLE"
+	makedepends+=" musl-fts-devel libexecinfo-devel"
+fi
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
                   ` (15 preceding siblings ...)
  2024-05-24 20:27 ` MIvanchev
@ 2024-05-24 20:39 ` MIvanchev
  2024-05-25  7:30 ` MIvanchev
                   ` (3 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-24 20:39 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From 1ad4a02e1bda7694692def97e241d03e85be8728 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/fix-build.patch    | 15 ++++++++++++++
 srcpkgs/raze/patches/lzma_threads.patch |  9 +++++++++
 srcpkgs/raze/patches/nullptr.patch      | 13 ++++++++++++
 srcpkgs/raze/template                   | 27 +++++++++++++++++++++++++
 4 files changed, 64 insertions(+)
 create mode 100644 srcpkgs/raze/patches/fix-build.patch
 create mode 100644 srcpkgs/raze/patches/lzma_threads.patch
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/fix-build.patch b/srcpkgs/raze/patches/fix-build.patch
new file mode 100644
index 00000000000000..3436593fe8d2ad
--- /dev/null
+++ b/srcpkgs/raze/patches/fix-build.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5565bfdda..ba04a3a7a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -326,7 +326,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/raze/patches/lzma_threads.patch b/srcpkgs/raze/patches/lzma_threads.patch
new file mode 100644
index 00000000000000..4fce01fbf1ec30
--- /dev/null
+++ b/srcpkgs/raze/patches/lzma_threads.patch
@@ -0,0 +1,9 @@
+diff --git a/libraries/lzma/CMakeLists.txt b/libraries/lzma/CMakeLists.txt
+index e1c668b29..130836a6a 100644
+--- a/libraries/lzma/CMakeLists.txt
++++ b/libraries/lzma/CMakeLists.txt
+@@ -48,4 +48,3 @@ add_library( lzma STATIC
+ 	C/XzEnc.c
+ 	C/XzIn.c
+ )
+-target_link_libraries( lzma Threads::Threads )
diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..153a8411ffbba9
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,27 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+archs="x86_64* aarch64*"
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross="gzdoom and raze cross-builds required tools from a native build"
+repository=nonfree
+restricted=yes
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	CFLAGS="-DZ7_AFFINITY_DISABLE"
+	makedepends+=" musl-fts-devel libexecinfo-devel"
+fi
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
                   ` (16 preceding siblings ...)
  2024-05-24 20:39 ` MIvanchev
@ 2024-05-25  7:30 ` MIvanchev
  2024-05-25  7:57 ` MIvanchev
                   ` (2 subsequent siblings)
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-25  7:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From 33796476e725863da3fc4e7cb502db96de576d62 Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/fix-build.patch    | 15 ++++++++++++++
 srcpkgs/raze/patches/lzma-threads.patch |  9 +++++++++
 srcpkgs/raze/patches/nullptr.patch      | 13 ++++++++++++
 srcpkgs/raze/template                   | 27 +++++++++++++++++++++++++
 4 files changed, 64 insertions(+)
 create mode 100644 srcpkgs/raze/patches/fix-build.patch
 create mode 100644 srcpkgs/raze/patches/lzma-threads.patch
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/fix-build.patch b/srcpkgs/raze/patches/fix-build.patch
new file mode 100644
index 00000000000000..3436593fe8d2ad
--- /dev/null
+++ b/srcpkgs/raze/patches/fix-build.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5565bfdda..ba04a3a7a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -326,7 +326,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/raze/patches/lzma-threads.patch b/srcpkgs/raze/patches/lzma-threads.patch
new file mode 100644
index 00000000000000..4fce01fbf1ec30
--- /dev/null
+++ b/srcpkgs/raze/patches/lzma-threads.patch
@@ -0,0 +1,9 @@
+diff --git a/libraries/lzma/CMakeLists.txt b/libraries/lzma/CMakeLists.txt
+index e1c668b29..130836a6a 100644
+--- a/libraries/lzma/CMakeLists.txt
++++ b/libraries/lzma/CMakeLists.txt
+@@ -48,4 +48,3 @@ add_library( lzma STATIC
+ 	C/XzEnc.c
+ 	C/XzIn.c
+ )
+-target_link_libraries( lzma Threads::Threads )
diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..153a8411ffbba9
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,27 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+archs="x86_64* aarch64*"
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross="gzdoom and raze cross-builds required tools from a native build"
+repository=nonfree
+restricted=yes
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	CFLAGS="-DZ7_AFFINITY_DISABLE"
+	makedepends+=" musl-fts-devel libexecinfo-devel"
+fi
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
                   ` (17 preceding siblings ...)
  2024-05-25  7:30 ` MIvanchev
@ 2024-05-25  7:57 ` MIvanchev
  2024-05-25  8:04 ` MIvanchev
  2024-05-25  8:20 ` MIvanchev
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-25  7:57 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From b7351b0f9235138b62b8e748189bed49a564847b Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/fix-build.patch    | 15 ++++++++++
 srcpkgs/raze/patches/lzma-threads.patch |  9 ++++++
 srcpkgs/raze/patches/nullptr.patch      | 13 +++++++++
 srcpkgs/raze/template                   | 37 +++++++++++++++++++++++++
 4 files changed, 74 insertions(+)
 create mode 100644 srcpkgs/raze/patches/fix-build.patch
 create mode 100644 srcpkgs/raze/patches/lzma-threads.patch
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/fix-build.patch b/srcpkgs/raze/patches/fix-build.patch
new file mode 100644
index 00000000000000..3436593fe8d2ad
--- /dev/null
+++ b/srcpkgs/raze/patches/fix-build.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5565bfdda..ba04a3a7a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -326,7 +326,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/raze/patches/lzma-threads.patch b/srcpkgs/raze/patches/lzma-threads.patch
new file mode 100644
index 00000000000000..4fce01fbf1ec30
--- /dev/null
+++ b/srcpkgs/raze/patches/lzma-threads.patch
@@ -0,0 +1,9 @@
+diff --git a/libraries/lzma/CMakeLists.txt b/libraries/lzma/CMakeLists.txt
+index e1c668b29..130836a6a 100644
+--- a/libraries/lzma/CMakeLists.txt
++++ b/libraries/lzma/CMakeLists.txt
+@@ -48,4 +48,3 @@ add_library( lzma STATIC
+ 	C/XzEnc.c
+ 	C/XzIn.c
+ )
+-target_link_libraries( lzma Threads::Threads )
diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..32afbb4f0316ac
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,37 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+archs="x86_64* aarch64*"
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross="gzdoom and raze cross-builds required tools from a native build"
+repository=nonfree
+restricted=yes
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	CFLAGS="-DZ7_AFFINITY_DISABLE"
+	makedepends+=" musl-fts-devel libexecinfo-devel"
+fi
+
+post_extract() {
+        : >tools/updaterevision/UpdateRevision.cmake
+	sed "
+		s/@Tag@/${version}/;
+		s/@Hash@/v${version}/;
+		s/@Timestamp@/<unknown>/;
+	" tools/updaterevision/gitinfo.h.in >src/gitinfo.h
+        cat src/gitinfo.h
+}
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
                   ` (18 preceding siblings ...)
  2024-05-25  7:57 ` MIvanchev
@ 2024-05-25  8:04 ` MIvanchev
  2024-05-25  8:20 ` MIvanchev
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-25  8:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From e075c7e05a2b6b61eca60f7d5a2d57228a290d8e Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/fix-build.patch    | 15 ++++++++++
 srcpkgs/raze/patches/lzma-threads.patch |  9 ++++++
 srcpkgs/raze/patches/nullptr.patch      | 13 +++++++++
 srcpkgs/raze/template                   | 37 +++++++++++++++++++++++++
 4 files changed, 74 insertions(+)
 create mode 100644 srcpkgs/raze/patches/fix-build.patch
 create mode 100644 srcpkgs/raze/patches/lzma-threads.patch
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/fix-build.patch b/srcpkgs/raze/patches/fix-build.patch
new file mode 100644
index 00000000000000..3436593fe8d2ad
--- /dev/null
+++ b/srcpkgs/raze/patches/fix-build.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5565bfdda..ba04a3a7a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -326,7 +326,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/raze/patches/lzma-threads.patch b/srcpkgs/raze/patches/lzma-threads.patch
new file mode 100644
index 00000000000000..4fce01fbf1ec30
--- /dev/null
+++ b/srcpkgs/raze/patches/lzma-threads.patch
@@ -0,0 +1,9 @@
+diff --git a/libraries/lzma/CMakeLists.txt b/libraries/lzma/CMakeLists.txt
+index e1c668b29..130836a6a 100644
+--- a/libraries/lzma/CMakeLists.txt
++++ b/libraries/lzma/CMakeLists.txt
+@@ -48,4 +48,3 @@ add_library( lzma STATIC
+ 	C/XzEnc.c
+ 	C/XzIn.c
+ )
+-target_link_libraries( lzma Threads::Threads )
diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..bccaafcb615703
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,37 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+archs="x86_64* aarch64*"
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross="gzdoom and raze cross-builds required tools from a native build"
+repository=nonfree
+restricted=yes
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	CFLAGS="-DZ7_AFFINITY_DISABLE"
+	makedepends+=" musl-fts-devel libexecinfo-devel"
+fi
+
+post_extract() {
+        : >tools/updaterevision/UpdateRevision.cmake
+	sed "
+		s/@Tag@/${version}/;
+		s/@Hash@/v${version}/;
+		s/@Timestamp@/<unknown>/;
+	" tools/updaterevision/gitinfo.h.in >source/gitinfo.h
+        cat source/gitinfo.h
+}
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

* Re: [PR PATCH] [Updated] [WIP] New package: raze-1.10.2
  2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
                   ` (19 preceding siblings ...)
  2024-05-25  8:04 ` MIvanchev
@ 2024-05-25  8:20 ` MIvanchev
  20 siblings, 0 replies; 22+ messages in thread
From: MIvanchev @ 2024-05-25  8:20 UTC (permalink / raw)
  To: ml

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

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

https://github.com/MIvanchev/void-packages raze
https://github.com/void-linux/void-packages/pull/50505

[WIP] New package: raze-1.10.2
#### Testing the changes
- I tested the changes in this PR: **YES**

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


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

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

From 96b2f65e7b9bca3555ae42276f47ec82efa54deb Mon Sep 17 00:00:00 2001
From: Mihail Ivanchev <contact@ivanchev.net>
Date: Fri, 24 May 2024 17:36:46 +0200
Subject: [PATCH] New package: raze-1.10.2

---
 srcpkgs/raze/patches/fix-build.patch    | 15 +++++++++++
 srcpkgs/raze/patches/lzma-threads.patch |  9 +++++++
 srcpkgs/raze/patches/nullptr.patch      | 13 +++++++++
 srcpkgs/raze/template                   | 36 +++++++++++++++++++++++++
 4 files changed, 73 insertions(+)
 create mode 100644 srcpkgs/raze/patches/fix-build.patch
 create mode 100644 srcpkgs/raze/patches/lzma-threads.patch
 create mode 100644 srcpkgs/raze/patches/nullptr.patch
 create mode 100644 srcpkgs/raze/template

diff --git a/srcpkgs/raze/patches/fix-build.patch b/srcpkgs/raze/patches/fix-build.patch
new file mode 100644
index 00000000000000..3436593fe8d2ad
--- /dev/null
+++ b/srcpkgs/raze/patches/fix-build.patch
@@ -0,0 +1,15 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 5565bfdda..ba04a3a7a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -326,7 +326,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/raze/patches/lzma-threads.patch b/srcpkgs/raze/patches/lzma-threads.patch
new file mode 100644
index 00000000000000..4fce01fbf1ec30
--- /dev/null
+++ b/srcpkgs/raze/patches/lzma-threads.patch
@@ -0,0 +1,9 @@
+diff --git a/libraries/lzma/CMakeLists.txt b/libraries/lzma/CMakeLists.txt
+index e1c668b29..130836a6a 100644
+--- a/libraries/lzma/CMakeLists.txt
++++ b/libraries/lzma/CMakeLists.txt
+@@ -48,4 +48,3 @@ add_library( lzma STATIC
+ 	C/XzEnc.c
+ 	C/XzIn.c
+ )
+-target_link_libraries( lzma Threads::Threads )
diff --git a/srcpkgs/raze/patches/nullptr.patch b/srcpkgs/raze/patches/nullptr.patch
new file mode 100644
index 00000000000000..40012f87f56de8
--- /dev/null
+++ b/srcpkgs/raze/patches/nullptr.patch
@@ -0,0 +1,13 @@
+diff --git a/source/common/platform/posix/sdl/sdlglvideo.cpp b/source/common/platform/posix/sdl/sdlglvideo.cpp
+index 92bdb15a7..4ed3a896d 100644
+--- a/source/common/platform/posix/sdl/sdlglvideo.cpp
++++ b/source/common/platform/posix/sdl/sdlglvideo.cpp
+@@ -400,7 +400,7 @@ DFrameBuffer *SDLVideo::CreateFrameBuffer ()
+ 				builder.RequireExtension(names[i]);
+ 			auto instance = builder.Create();
+ 
+-			VkSurfaceKHR surfacehandle = nullptr;
++			VkSurfaceKHR surfacehandle = VK_NULL_HANDLE;
+ 			if (!I_CreateVulkanSurface(instance->Instance, &surfacehandle))
+ 				VulkanError("I_CreateVulkanSurface failed");
+ 
diff --git a/srcpkgs/raze/template b/srcpkgs/raze/template
new file mode 100644
index 00000000000000..19ac7839a24a0a
--- /dev/null
+++ b/srcpkgs/raze/template
@@ -0,0 +1,36 @@
+# Template file for 'raze'
+pkgname=raze
+version=1.10.2
+revision=1
+archs="x86_64* aarch64*"
+build_style=cmake
+configure_args="-DINSTALL_PK3_PATH=share/raze -DDYN_GTK=OFF -DDYN_OPENAL=OFF"
+hostmakedepends="pkg-config"
+makedepends="SDL2-devel gtk+3-devel ZMusic-devel libopenal-devel libvpx-devel libgomp-devel"
+short_desc="Build engine port backed by GZDoom tech"
+maintainer="Mihail Ivanchev <contact@ivanchev.net>"
+license="GPL-2.0-only, custom:BUILD"
+homepage="https://raze.zdoom.org/"
+distfiles="https://github.com/ZDoom/Raze/archive/refs/tags/${version}.tar.gz"
+checksum=80f9b258271e316aca52751be8035eafc34fe2c6fa0e3a199206a5fe77be3406
+nocross="gzdoom and raze cross-builds required tools from a native build"
+repository=nonfree
+restricted=yes
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	CFLAGS="-DZ7_AFFINITY_DISABLE"
+	makedepends+=" musl-fts-devel libexecinfo-devel"
+fi
+
+post_extract() {
+	: >tools/updaterevision/UpdateRevision.cmake
+	sed "
+		s/@Tag@/${version}/;
+		s/@Hash@/v${version}/;
+		s/@Timestamp@/<unknown>/;
+	" tools/updaterevision/gitinfo.h.in >source/gitinfo.h
+}
+
+post_install() {
+	vlicense package/common/buildlic.txt
+}

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

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

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-24 15:37 [PR PATCH] [WIP] New package: raze-1.10.2 MIvanchev
2024-05-24 15:43 ` [PR PATCH] [Updated] " MIvanchev
2024-05-24 15:59 ` MIvanchev
2024-05-24 16:05 ` MIvanchev
2024-05-24 16:10 ` MIvanchev
2024-05-24 16:25 ` MIvanchev
2024-05-24 16:29 ` MIvanchev
2024-05-24 16:34 ` MIvanchev
2024-05-24 16:40 ` MIvanchev
2024-05-24 16:54 ` MIvanchev
2024-05-24 19:04 ` MIvanchev
2024-05-24 19:04 ` MIvanchev
2024-05-24 19:25 ` MIvanchev
2024-05-24 19:43 ` MIvanchev
2024-05-24 20:14 ` MIvanchev
2024-05-24 20:16 ` MIvanchev
2024-05-24 20:27 ` MIvanchev
2024-05-24 20:39 ` MIvanchev
2024-05-25  7:30 ` MIvanchev
2024-05-25  7:57 ` MIvanchev
2024-05-25  8:04 ` MIvanchev
2024-05-25  8:20 ` MIvanchev

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