Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] New package: srb2kart-1.6
@ 2023-07-25  9:14 yoshiyoshyosh
  2023-07-25  9:28 ` [PR PATCH] [Updated] " yoshiyoshyosh
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: yoshiyoshyosh @ 2023-07-25  9:14 UTC (permalink / raw)
  To: ml

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

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

https://github.com/yoshiyoshyosh/void-packages srb2k
https://github.com/void-linux/void-packages/pull/45241

New package: srb2kart-1.6
#### Testing the changes
- I tested the changes in this PR: **YES**

- 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, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl (crossbuild)
  - armv6l (crossbuild)
  - i686 (crossbuild)
  - aarch64 (crossbuild)

Closes #19355

most of srb2kart follows the same build style as srb2 with some tiny differences, so I used srb2's template as a base. there's some funkiness with where the result of the build is placed (`bin/Linux64` seems to be used exclusively for `x86_64`, since `aarch64` didn't get output there), but I think this covers all bases (I made sure to cross compile lots). this package is restricted because srb2 is restricted.

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

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

From 96e55b3d137b3c202d7f57cfe3117da6fcc2fc16 Mon Sep 17 00:00:00 2001
From: yosh <yosh-git@riseup.net>
Date: Tue, 25 Jul 2023 03:57:56 -0500
Subject: [PATCH] New package: srb2kart-1.6

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

diff --git a/srcpkgs/srb2kart/template b/srcpkgs/srb2kart/template
new file mode 100644
index 000000000000..79c7a6f88fa2
--- /dev/null
+++ b/srcpkgs/srb2kart/template
@@ -0,0 +1,49 @@
+# Template file for 'srb2kart'
+pkgname=srb2kart
+version=1.6
+revision=1
+create_wrksrc=true
+build_wrksrc="Kart-Public-${version}"
+build_style=gnu-makefile
+make_use_env=yes
+make_build_args="-C src/ ECHO=1 LINUX=1 EXENAME=${pkgname}
+ NOOBJDUMP=1 NOUPX=1 DBGNAME=${pkgname}-debug PREFIX="
+hostmakedepends="pkg-config gettext"
+makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel
+ libcurl-devel libgme-devel"
+short_desc="Kart racing game based off Sonic Robo Blast 2"
+maintainer="yosh <yosh-git@riseup.net>"
+license="GPL-2.0-or-later"
+homepage="https://mb.srb2.org/addons/srb2kart.2435/"
+distfiles="https://github.com/STJr/Kart-Public/archive/refs/tags/v${version}.tar.gz
+ https://github.com/STJr/Kart-Public/releases/download/v${version}/AssetsLinuxOnly.zip"
+checksum="924489e33ebb7e41bae3b84a65be2aae2ca01e2050938bff1e702b39848958d6
+ 7a384fb99d42f0cf41d12e3ed873754f9a5ba2b993d5e54bde7962bea3accdd1"
+restricted=yes
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) hostmakedepends+=" nasm" ;;
+	x86_64*) make_build_args+=" X86_64=1 NONX86=1" ;;
+	*) make_build_args+=" NONX86=1" ;;
+esac
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+	export LDFLAGS="-lexecinfo"
+fi
+
+if [ -n "$CROSS_BUILD" ]; then
+	make_build_args+=" OBJCOPY=${XBPS_CROSS_TRIPLET}-objcopy"
+fi
+
+do_install() {
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64*) vbin bin/Linux/Release/srb2kart ;;
+		*) vbin bin/Linux/Release/srb2kart ;;
+	esac
+
+	vmkdir /usr/share/games/SRB2Kart
+	for f in {bonuschars,chars,gfx,maps,music,sounds,textures}.kart srb2.srb mdls{.dat,}; do
+		vcopy ../${f} /usr/share/games/SRB2Kart
+	done
+}

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

* Re: [PR PATCH] [Updated] New package: srb2kart-1.6
  2023-07-25  9:14 [PR PATCH] New package: srb2kart-1.6 yoshiyoshyosh
@ 2023-07-25  9:28 ` yoshiyoshyosh
  2023-07-26 18:06 ` yoshiyoshyosh
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: yoshiyoshyosh @ 2023-07-25  9:28 UTC (permalink / raw)
  To: ml

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

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

https://github.com/yoshiyoshyosh/void-packages srb2k
https://github.com/void-linux/void-packages/pull/45241

New package: srb2kart-1.6
#### Testing the changes
- I tested the changes in this PR: **YES**

- 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, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl (crossbuild)
  - armv6l (crossbuild)
  - i686 (crossbuild)
  - aarch64 (crossbuild)

Closes #19355

most of srb2kart follows the same build style as srb2 with some tiny differences, so I used srb2's template as a base. there's some funkiness with where the result of the build is placed (`bin/Linux64` seems to be used exclusively for `x86_64`, since `aarch64` didn't get output there), but I think this covers all bases (I made sure to cross compile lots). this package is restricted because srb2 is restricted.

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

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

From ebefb3c84efac5c056ae6b359ea758d727e441e0 Mon Sep 17 00:00:00 2001
From: yosh <yosh-git@riseup.net>
Date: Tue, 25 Jul 2023 03:57:56 -0500
Subject: [PATCH] New package: srb2kart-1.6

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

diff --git a/srcpkgs/srb2kart/template b/srcpkgs/srb2kart/template
new file mode 100644
index 000000000000..62e66c0bc20c
--- /dev/null
+++ b/srcpkgs/srb2kart/template
@@ -0,0 +1,55 @@
+# Template file for 'srb2kart'
+pkgname=srb2kart
+version=1.6
+revision=1
+create_wrksrc=true
+build_wrksrc="Kart-Public-${version}"
+build_style=gnu-makefile
+make_use_env=yes
+make_build_args="-C src/ ECHO=1 LINUX=1 EXENAME=${pkgname}
+ NOOBJDUMP=1 NOUPX=1 DBGNAME=${pkgname}-debug PREFIX="
+hostmakedepends="pkg-config gettext"
+makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel
+ libcurl-devel libgme-devel"
+short_desc="Kart racing game based off Sonic Robo Blast 2"
+maintainer="yosh <yosh-git@riseup.net>"
+license="GPL-2.0-or-later"
+homepage="https://mb.srb2.org/addons/srb2kart.2435/"
+distfiles="https://github.com/STJr/Kart-Public/archive/refs/tags/v${version}.tar.gz
+ https://github.com/STJr/Kart-Public/releases/download/v${version}/AssetsLinuxOnly.zip"
+checksum="924489e33ebb7e41bae3b84a65be2aae2ca01e2050938bff1e702b39848958d6
+ 7a384fb99d42f0cf41d12e3ed873754f9a5ba2b993d5e54bde7962bea3accdd1"
+restricted=yes
+
+case "$XBPS_TARGET_MACHINE" in
+	i686*) hostmakedepends+=" nasm" ;;
+	x86_64*) make_build_args+=" X86_64=1 NONX86=1" ;;
+	*) make_build_args+=" NONX86=1" ;;
+esac
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+	export LDFLAGS="-lexecinfo"
+fi
+
+if [ -n "$CROSS_BUILD" ]; then
+	make_build_args+=" OBJCOPY=${XBPS_CROSS_TRIPLET}-objcopy"
+fi
+
+do_install() {
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64*) vbin bin/Linux/Release/srb2kart ;;
+		*) vbin bin/Linux/Release/srb2kart ;;
+	esac
+
+	PROGRAM_NAME="${pkgname}" PROGRAM_DESCRIPTION="${short_desc}" \
+		PACKAGE_INSTALL_PATH="/usr/bin" PROGRAM_FILENAME="${pkgname}" \
+		envsubst < debian-template/srb2.desktop > srb2.desktop
+
+	vinstall srb2.png 644 /usr/share/pixmaps/ srb2kart.png
+	vinstall srb2.desktop 644 /usr/share/applications/ srb2kart.desktop
+	vmkdir /usr/share/games/SRB2Kart
+	for f in {bonuschars,chars,gfx,maps,music,sounds,textures}.kart srb2.srb mdls{.dat,}; do
+		vcopy ../${f} /usr/share/games/SRB2Kart
+	done
+}

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

* Re: [PR PATCH] [Updated] New package: srb2kart-1.6
  2023-07-25  9:14 [PR PATCH] New package: srb2kart-1.6 yoshiyoshyosh
  2023-07-25  9:28 ` [PR PATCH] [Updated] " yoshiyoshyosh
@ 2023-07-26 18:06 ` yoshiyoshyosh
  2023-07-26 18:11 ` yoshiyoshyosh
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: yoshiyoshyosh @ 2023-07-26 18:06 UTC (permalink / raw)
  To: ml

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

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

https://github.com/yoshiyoshyosh/void-packages srb2k
https://github.com/void-linux/void-packages/pull/45241

New package: srb2kart-1.6
#### Testing the changes
- I tested the changes in this PR: **YES**

- 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, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - x86_64-musl (crossbuild)
  - armv6l (crossbuild)
  - i686 (crossbuild)
  - aarch64 (crossbuild)

Closes #19355

most of srb2kart follows the same build style as srb2 with some tiny differences, so I used srb2's template as a base. there's some funkiness with where the result of the build is placed (`bin/Linux64` seems to be used exclusively for `x86_64`, since `aarch64` didn't get output there), but I think this covers all bases (I made sure to cross compile lots). this package is restricted because srb2 is restricted.

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

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

From 845b1aaf40977cf00429eff056a6d9cde436418f Mon Sep 17 00:00:00 2001
From: yosh <yosh-git@riseup.net>
Date: Tue, 25 Jul 2023 03:57:56 -0500
Subject: [PATCH] New package: srb2kart-1.6

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

diff --git a/srcpkgs/srb2kart/template b/srcpkgs/srb2kart/template
new file mode 100644
index 0000000000000..324216db82b8e
--- /dev/null
+++ b/srcpkgs/srb2kart/template
@@ -0,0 +1,57 @@
+# Template file for 'srb2kart'
+pkgname=srb2kart
+version=1.6
+revision=1
+create_wrksrc=true
+build_wrksrc="Kart-Public-${version}"
+build_style=gnu-makefile
+make_use_env=yes
+make_build_args="-C src/ ECHO=1 LINUX=1 EXENAME=${pkgname}
+ NOOBJDUMP=1 NOUPX=1 DBGNAME=${pkgname}-debug PREFIX="
+hostmakedepends="pkg-config gettext"
+makedepends="SDL2-devel SDL2_mixer-devel libpng-devel libupnp-devel
+ libcurl-devel libgme-devel"
+short_desc="Kart racing game based off Sonic Robo Blast 2"
+maintainer="yosh <yosh-git@riseup.net>"
+license="GPL-2.0-or-later"
+homepage="https://mb.srb2.org/addons/srb2kart.2435/"
+distfiles="https://github.com/STJr/Kart-Public/archive/refs/tags/v${version}.tar.gz
+ https://github.com/STJr/Kart-Public/releases/download/v${version}/AssetsLinuxOnly.zip"
+checksum="924489e33ebb7e41bae3b84a65be2aae2ca01e2050938bff1e702b39848958d6
+ 7a384fb99d42f0cf41d12e3ed873754f9a5ba2b993d5e54bde7962bea3accdd1"
+restricted=yes
+
+case "$XBPS_TARGET_MACHINE" in
+	x86_64*|aarch64*) make_build_args+=" LINUX64=1 NONX86=1" ;;
+	*)
+		make_build_args+=" NONX86=1"
+		hostmakedepends+=" nasm"
+		;;
+esac
+
+if [ "$XBPS_TARGET_LIBC" = musl ]; then
+	makedepends+=" libexecinfo-devel"
+	export LDFLAGS="-lexecinfo"
+fi
+
+if [ -n "$CROSS_BUILD" ]; then
+	make_build_args+=" OBJCOPY=${XBPS_CROSS_TRIPLET}-objcopy"
+fi
+
+do_install() {
+	case "$XBPS_TARGET_MACHINE" in
+		x86_64*|aarch64*) vbin bin/Linux64/Release/srb2kart ;;
+		*) vbin bin/Linux/Release/srb2kart ;;
+	esac
+
+	PROGRAM_NAME="${pkgname}" PROGRAM_DESCRIPTION="${short_desc}" \
+		PACKAGE_INSTALL_PATH="/usr/bin" PROGRAM_FILENAME="${pkgname}" \
+		envsubst < debian-template/srb2.desktop > srb2.desktop
+
+	vinstall srb2.png 644 /usr/share/pixmaps/ srb2kart.png
+	vinstall srb2.desktop 644 /usr/share/applications/ srb2kart.desktop
+	vmkdir /usr/share/games/SRB2Kart
+	for f in {bonuschars,chars,gfx,maps,music,sounds,textures}.kart srb2.srb mdls{.dat,}; do
+		vcopy ../${f} /usr/share/games/SRB2Kart
+	done
+}

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

* Re: New package: srb2kart-1.6
  2023-07-25  9:14 [PR PATCH] New package: srb2kart-1.6 yoshiyoshyosh
  2023-07-25  9:28 ` [PR PATCH] [Updated] " yoshiyoshyosh
  2023-07-26 18:06 ` yoshiyoshyosh
@ 2023-07-26 18:11 ` yoshiyoshyosh
  2023-10-25  1:45 ` github-actions
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: yoshiyoshyosh @ 2023-07-26 18:11 UTC (permalink / raw)
  To: ml

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

New comment by yoshiyoshyosh on void-packages repository

https://github.com/void-linux/void-packages/pull/45241#issuecomment-1652278588

Comment:
realized that it wasn't /actually/ compiling for 64bit linux and was installing stuff from `bin/Linux/` for 64-bit. fixed that now

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

* Re: New package: srb2kart-1.6
  2023-07-25  9:14 [PR PATCH] New package: srb2kart-1.6 yoshiyoshyosh
                   ` (2 preceding siblings ...)
  2023-07-26 18:11 ` yoshiyoshyosh
@ 2023-10-25  1:45 ` github-actions
  2023-10-25  2:03 ` yoshiyoshyosh
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: github-actions @ 2023-10-25  1:45 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/45241#issuecomment-1778344393

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] 10+ messages in thread

* Re: New package: srb2kart-1.6
  2023-07-25  9:14 [PR PATCH] New package: srb2kart-1.6 yoshiyoshyosh
                   ` (3 preceding siblings ...)
  2023-10-25  1:45 ` github-actions
@ 2023-10-25  2:03 ` yoshiyoshyosh
  2024-01-24  1:47 ` github-actions
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: yoshiyoshyosh @ 2023-10-25  2:03 UTC (permalink / raw)
  To: ml

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

New comment by yoshiyoshyosh on void-packages repository

https://github.com/void-linux/void-packages/pull/45241#issuecomment-1778360818

Comment:
still relevant

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

* Re: New package: srb2kart-1.6
  2023-07-25  9:14 [PR PATCH] New package: srb2kart-1.6 yoshiyoshyosh
                   ` (4 preceding siblings ...)
  2023-10-25  2:03 ` yoshiyoshyosh
@ 2024-01-24  1:47 ` github-actions
  2024-01-28 20:49 ` yoshiyoshyosh
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: github-actions @ 2024-01-24  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/45241#issuecomment-1907213353

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] 10+ messages in thread

* Re: New package: srb2kart-1.6
  2023-07-25  9:14 [PR PATCH] New package: srb2kart-1.6 yoshiyoshyosh
                   ` (5 preceding siblings ...)
  2024-01-24  1:47 ` github-actions
@ 2024-01-28 20:49 ` yoshiyoshyosh
  2024-04-28  1:46 ` github-actions
  2024-05-05 20:11 ` yoshiyoshyosh
  8 siblings, 0 replies; 10+ messages in thread
From: yoshiyoshyosh @ 2024-01-28 20:49 UTC (permalink / raw)
  To: ml

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

New comment by yoshiyoshyosh on void-packages repository

https://github.com/void-linux/void-packages/pull/45241#issuecomment-1913717770

Comment:
still relevant

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

* Re: New package: srb2kart-1.6
  2023-07-25  9:14 [PR PATCH] New package: srb2kart-1.6 yoshiyoshyosh
                   ` (6 preceding siblings ...)
  2024-01-28 20:49 ` yoshiyoshyosh
@ 2024-04-28  1:46 ` github-actions
  2024-05-05 20:11 ` yoshiyoshyosh
  8 siblings, 0 replies; 10+ messages in thread
From: github-actions @ 2024-04-28  1:46 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/45241#issuecomment-2081285589

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] 10+ messages in thread

* Re: New package: srb2kart-1.6
  2023-07-25  9:14 [PR PATCH] New package: srb2kart-1.6 yoshiyoshyosh
                   ` (7 preceding siblings ...)
  2024-04-28  1:46 ` github-actions
@ 2024-05-05 20:11 ` yoshiyoshyosh
  8 siblings, 0 replies; 10+ messages in thread
From: yoshiyoshyosh @ 2024-05-05 20:11 UTC (permalink / raw)
  To: ml

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

New comment by yoshiyoshyosh on void-packages repository

https://github.com/void-linux/void-packages/pull/45241#issuecomment-2094933998

Comment:
aaaaaa

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

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

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-25  9:14 [PR PATCH] New package: srb2kart-1.6 yoshiyoshyosh
2023-07-25  9:28 ` [PR PATCH] [Updated] " yoshiyoshyosh
2023-07-26 18:06 ` yoshiyoshyosh
2023-07-26 18:11 ` yoshiyoshyosh
2023-10-25  1:45 ` github-actions
2023-10-25  2:03 ` yoshiyoshyosh
2024-01-24  1:47 ` github-actions
2024-01-28 20:49 ` yoshiyoshyosh
2024-04-28  1:46 ` github-actions
2024-05-05 20:11 ` yoshiyoshyosh

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