* [PR PATCH] Update: The-Powder-Toy to v98.2
@ 2024-12-12 14:55 Trickyni-V56
2024-12-12 16:53 ` zdykstra
` (11 more replies)
0 siblings, 12 replies; 13+ messages in thread
From: Trickyni-V56 @ 2024-12-12 14:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1042 bytes --]
There is a new pull request by Trickyni-V56 against master on the void-packages repository
https://github.com/Trickyni-V56/void-packages update-powder-toy
https://github.com/void-linux/void-packages/pull/53490
Update: The-Powder-Toy to v98.2
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- [X] I built this PR locally for my native architecture, (x86_64)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl

P.S: The void package is the only one on [repology](https://repology.org/project/powder-toy/versions) with the _capitalized kebab-case_ "The-Powder-Toy", and it was kinda tedious typing it every time I wanted to test the build. is there a way to rename it to "powdertoy" like on any other distro?
A patch file from https://github.com/void-linux/void-packages/pull/53490.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-powder-toy-53490.patch --]
[-- Type: text/x-diff, Size: 3743 bytes --]
From 2f39978db77fb82c106022e991a9c28fcdd4c639 Mon Sep 17 00:00:00 2001
From: Trickyni-V56 <trickyniv56@gmail.com>
Date: Wed, 11 Dec 2024 21:54:13 +0200
Subject: [PATCH] The-Powder-Toy: init
---
srcpkgs/The-Powder-Toy/patches/luacpp.patch | 22 ++++++++++-----------
srcpkgs/The-Powder-Toy/template | 15 +++++++-------
2 files changed, 18 insertions(+), 19 deletions(-)
diff --git a/srcpkgs/The-Powder-Toy/patches/luacpp.patch b/srcpkgs/The-Powder-Toy/patches/luacpp.patch
index 47e57a5861a324..44e0d142040cf3 100644
--- a/srcpkgs/The-Powder-Toy/patches/luacpp.patch
+++ b/srcpkgs/The-Powder-Toy/patches/luacpp.patch
@@ -5,15 +5,13 @@ upstream Lua, but the normal .pc file works just fine.
--- a/meson.build
+++ b/meson.build
-@@ -108,9 +108,9 @@
- if uopt_lua == 'luajit'
- lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('luajit_dep') : dependency('luajit', static: uopt_static == 'system') ]
- elif uopt_lua == 'lua5.2'
-- lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('lua52_dep') : dependency('lua5.2-c++', static: uopt_static == 'system') ]
-+ lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('lua52_dep') : dependency('lua5.2', static: uopt_static == 'system') ]
- elif uopt_lua == 'lua5.1'
-- lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('lua51_dep') : dependency('lua5.1-c++', static: uopt_static == 'system') ]
-+ lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('lua51_dep') : dependency('lua5.1', static: uopt_static == 'system') ]
- else
- lua_opt_dep = []
- endif
+@@ -157,7 +157,7 @@
+ if lua_variant == 'none'
+ lua_dep = []
+ elif lua_variant == 'lua5.1' or lua_variant == 'lua5.2'
+- lua_dep = dependency(lua_variant + '-c++', static: is_static, required: false)
++ lua_dep = dependency(lua_variant, static: is_static, required: false)
+ if not lua_dep.found()
+ if not get_option('workaround_noncpp_lua')
+ error('your system @0@ is not compatible with C++, configure with -Dworkaround_noncpp_lua=true to disable this error'.format(lua_variant))
+
diff --git a/srcpkgs/The-Powder-Toy/template b/srcpkgs/The-Powder-Toy/template
index b4cb1b40da42e4..10602dbac04928 100644
--- a/srcpkgs/The-Powder-Toy/template
+++ b/srcpkgs/The-Powder-Toy/template
@@ -1,19 +1,20 @@
# Template file for 'The-Powder-Toy'
pkgname=The-Powder-Toy
-version=96.2.350
+version=98.2.365
revision=1
build_style=meson
-configure_args="-Dx86_sse=sse2 -Dworkaround_gcc_no_pie=false
+configure_args="-Dx86_sse=sse2
-Dlua=$(vopt_if luajit luajit lua5.1)"
hostmakedepends="pkg-config"
-makedepends="SDL2-devel fftw-devel zlib-devel libcurl-devel
+makedepends="SDL2-devel fftw-devel zlib-devel libcurl-devel bzip2-devel
+ libpng-devel jsoncpp-devel
$(vopt_if luajit LuaJIT-devel lua51-devel)"
short_desc="Falling sand physics sandbox, simulates air pressure, velocity & heat"
maintainer="0x5c <dev@0x5c.io>"
license="GPL-3.0-or-later"
homepage="https://powdertoy.co.uk/"
distfiles="https://github.com/The-Powder-Toy/${pkgname}/archive/v${version}.tar.gz"
-checksum=d95cbadee22632687661e8fc488bd64405d81c0dca737e16420f26e93ea5bf58
+checksum=21900b6b022535d0e56126b023538cc4f44b64feceafb5640492618a42a60080
build_options="luajit"
@@ -24,8 +25,8 @@ fi
do_install() {
vbin build/powder
vdoc README.md
- vinstall resources/powder.desktop 644 /usr/share/applications/
- for size in 16 24 32 48 128 256 ; do
- vinstall resources/icon/powder-${size}.png 644 /usr/share/icons/hicolor/${size}x${size}/apps powder.png
+ vinstall build/resources/powder.desktop 644 /usr/share/applications/
+ for size in _16 _32 _48; do
+ vinstall resources/generated_icons/icon_exe${size}.png 644 /usr/share/icons/hicolor/${size}x${size}/apps powder.png
done
}
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Update: The-Powder-Toy to v98.2
2024-12-12 14:55 [PR PATCH] Update: The-Powder-Toy to v98.2 Trickyni-V56
@ 2024-12-12 16:53 ` zdykstra
2024-12-12 18:55 ` [PR PATCH] [Updated] " Trickyni-V56
` (10 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: zdykstra @ 2024-12-12 16:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 274 bytes --]
New comment by zdykstra on void-packages repository
https://github.com/void-linux/void-packages/pull/53490#issuecomment-2539495392
Comment:
The commit message will need to be reformulated to match the existing standard for the repository - `$pkgname: update to $version.`
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR PATCH] [Updated] Update: The-Powder-Toy to v98.2
2024-12-12 14:55 [PR PATCH] Update: The-Powder-Toy to v98.2 Trickyni-V56
2024-12-12 16:53 ` zdykstra
@ 2024-12-12 18:55 ` Trickyni-V56
2024-12-12 18:57 ` Trickyni-V56
` (9 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Trickyni-V56 @ 2024-12-12 18:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]
There is an updated pull request by Trickyni-V56 against master on the void-packages repository
https://github.com/Trickyni-V56/void-packages update-powder-toy
https://github.com/void-linux/void-packages/pull/53490
Update: The-Powder-Toy to v98.2
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- [X] I built this PR locally for my native architecture, (x86_64)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl

P.S: The void package is the only one on [repology](https://repology.org/project/powder-toy/versions) with the _capitalized kebab-case_ "The-Powder-Toy", and it was kinda tedious typing it every time I wanted to test the build. is there a way to rename it to "powdertoy" like on any other distro?
A patch file from https://github.com/void-linux/void-packages/pull/53490.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-powder-toy-53490.patch --]
[-- Type: text/x-diff, Size: 3757 bytes --]
From aaf0400c96ff224ab16f082d37658d30bb629475 Mon Sep 17 00:00:00 2001
From: Trickyni-V56 <trickyniv56@gmail.com>
Date: Wed, 11 Dec 2024 21:54:13 +0200
Subject: [PATCH] The-Powder-Toy: update to 98.2.365
---
srcpkgs/The-Powder-Toy/patches/luacpp.patch | 22 ++++++++++-----------
srcpkgs/The-Powder-Toy/template | 15 +++++++-------
2 files changed, 18 insertions(+), 19 deletions(-)
diff --git a/srcpkgs/The-Powder-Toy/patches/luacpp.patch b/srcpkgs/The-Powder-Toy/patches/luacpp.patch
index 47e57a5861a324..44e0d142040cf3 100644
--- a/srcpkgs/The-Powder-Toy/patches/luacpp.patch
+++ b/srcpkgs/The-Powder-Toy/patches/luacpp.patch
@@ -5,15 +5,13 @@ upstream Lua, but the normal .pc file works just fine.
--- a/meson.build
+++ b/meson.build
-@@ -108,9 +108,9 @@
- if uopt_lua == 'luajit'
- lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('luajit_dep') : dependency('luajit', static: uopt_static == 'system') ]
- elif uopt_lua == 'lua5.2'
-- lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('lua52_dep') : dependency('lua5.2-c++', static: uopt_static == 'system') ]
-+ lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('lua52_dep') : dependency('lua5.2', static: uopt_static == 'system') ]
- elif uopt_lua == 'lua5.1'
-- lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('lua51_dep') : dependency('lua5.1-c++', static: uopt_static == 'system') ]
-+ lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('lua51_dep') : dependency('lua5.1', static: uopt_static == 'system') ]
- else
- lua_opt_dep = []
- endif
+@@ -157,7 +157,7 @@
+ if lua_variant == 'none'
+ lua_dep = []
+ elif lua_variant == 'lua5.1' or lua_variant == 'lua5.2'
+- lua_dep = dependency(lua_variant + '-c++', static: is_static, required: false)
++ lua_dep = dependency(lua_variant, static: is_static, required: false)
+ if not lua_dep.found()
+ if not get_option('workaround_noncpp_lua')
+ error('your system @0@ is not compatible with C++, configure with -Dworkaround_noncpp_lua=true to disable this error'.format(lua_variant))
+
diff --git a/srcpkgs/The-Powder-Toy/template b/srcpkgs/The-Powder-Toy/template
index b4cb1b40da42e4..10602dbac04928 100644
--- a/srcpkgs/The-Powder-Toy/template
+++ b/srcpkgs/The-Powder-Toy/template
@@ -1,19 +1,20 @@
# Template file for 'The-Powder-Toy'
pkgname=The-Powder-Toy
-version=96.2.350
+version=98.2.365
revision=1
build_style=meson
-configure_args="-Dx86_sse=sse2 -Dworkaround_gcc_no_pie=false
+configure_args="-Dx86_sse=sse2
-Dlua=$(vopt_if luajit luajit lua5.1)"
hostmakedepends="pkg-config"
-makedepends="SDL2-devel fftw-devel zlib-devel libcurl-devel
+makedepends="SDL2-devel fftw-devel zlib-devel libcurl-devel bzip2-devel
+ libpng-devel jsoncpp-devel
$(vopt_if luajit LuaJIT-devel lua51-devel)"
short_desc="Falling sand physics sandbox, simulates air pressure, velocity & heat"
maintainer="0x5c <dev@0x5c.io>"
license="GPL-3.0-or-later"
homepage="https://powdertoy.co.uk/"
distfiles="https://github.com/The-Powder-Toy/${pkgname}/archive/v${version}.tar.gz"
-checksum=d95cbadee22632687661e8fc488bd64405d81c0dca737e16420f26e93ea5bf58
+checksum=21900b6b022535d0e56126b023538cc4f44b64feceafb5640492618a42a60080
build_options="luajit"
@@ -24,8 +25,8 @@ fi
do_install() {
vbin build/powder
vdoc README.md
- vinstall resources/powder.desktop 644 /usr/share/applications/
- for size in 16 24 32 48 128 256 ; do
- vinstall resources/icon/powder-${size}.png 644 /usr/share/icons/hicolor/${size}x${size}/apps powder.png
+ vinstall build/resources/powder.desktop 644 /usr/share/applications/
+ for size in _16 _32 _48; do
+ vinstall resources/generated_icons/icon_exe${size}.png 644 /usr/share/icons/hicolor/${size}x${size}/apps powder.png
done
}
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Update: The-Powder-Toy to v98.2
2024-12-12 14:55 [PR PATCH] Update: The-Powder-Toy to v98.2 Trickyni-V56
2024-12-12 16:53 ` zdykstra
2024-12-12 18:55 ` [PR PATCH] [Updated] " Trickyni-V56
@ 2024-12-12 18:57 ` Trickyni-V56
2024-12-12 20:41 ` [PR REVIEW] " 0x5c
` (8 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Trickyni-V56 @ 2024-12-12 18:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 175 bytes --]
New comment by Trickyni-V56 on void-packages repository
https://github.com/void-linux/void-packages/pull/53490#issuecomment-2539785751
Comment:
@zdykstra fixed :milky_way:
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR REVIEW] Update: The-Powder-Toy to v98.2
2024-12-12 14:55 [PR PATCH] Update: The-Powder-Toy to v98.2 Trickyni-V56
` (3 preceding siblings ...)
2024-12-12 20:41 ` [PR REVIEW] " 0x5c
@ 2024-12-12 20:41 ` 0x5c
2024-12-12 21:21 ` [PR PATCH] [Updated] " Trickyni-V56
` (6 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: 0x5c @ 2024-12-12 20:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 249 bytes --]
New review comment by 0x5c on void-packages repository
https://github.com/void-linux/void-packages/pull/53490#discussion_r1882852797
Comment:
if the sizes in the for loop are prefixed by `_`, the files won't be installed in a valid icon directory
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR REVIEW] Update: The-Powder-Toy to v98.2
2024-12-12 14:55 [PR PATCH] Update: The-Powder-Toy to v98.2 Trickyni-V56
` (2 preceding siblings ...)
2024-12-12 18:57 ` Trickyni-V56
@ 2024-12-12 20:41 ` 0x5c
2024-12-12 20:41 ` 0x5c
` (7 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: 0x5c @ 2024-12-12 20:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 185 bytes --]
New review comment by 0x5c on void-packages repository
https://github.com/void-linux/void-packages/pull/53490#discussion_r1882855752
Comment:
Add those new deps in alphabetical order
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR PATCH] [Updated] Update: The-Powder-Toy to v98.2
2024-12-12 14:55 [PR PATCH] Update: The-Powder-Toy to v98.2 Trickyni-V56
` (4 preceding siblings ...)
2024-12-12 20:41 ` 0x5c
@ 2024-12-12 21:21 ` Trickyni-V56
2024-12-12 21:21 ` Trickyni-V56
` (5 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Trickyni-V56 @ 2024-12-12 21:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]
There is an updated pull request by Trickyni-V56 against master on the void-packages repository
https://github.com/Trickyni-V56/void-packages update-powder-toy
https://github.com/void-linux/void-packages/pull/53490
Update: The-Powder-Toy to v98.2
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- [X] I built this PR locally for my native architecture, (x86_64)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl

P.S: The void package is the only one on [repology](https://repology.org/project/powder-toy/versions) with the _capitalized kebab-case_ "The-Powder-Toy", and it was kinda tedious typing it every time I wanted to test the build. is there a way to rename it to "powdertoy" like on any other distro?
A patch file from https://github.com/void-linux/void-packages/pull/53490.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-powder-toy-53490.patch --]
[-- Type: text/x-diff, Size: 3757 bytes --]
From e97d17dab471d85508800cde23b3bb7142d3531b Mon Sep 17 00:00:00 2001
From: Trickyni-V56 <trickyniv56@gmail.com>
Date: Wed, 11 Dec 2024 21:54:13 +0200
Subject: [PATCH] The-Powder-Toy: update to 98.2.365
---
srcpkgs/The-Powder-Toy/patches/luacpp.patch | 22 ++++++++++-----------
srcpkgs/The-Powder-Toy/template | 15 +++++++-------
2 files changed, 18 insertions(+), 19 deletions(-)
diff --git a/srcpkgs/The-Powder-Toy/patches/luacpp.patch b/srcpkgs/The-Powder-Toy/patches/luacpp.patch
index 47e57a5861a324..44e0d142040cf3 100644
--- a/srcpkgs/The-Powder-Toy/patches/luacpp.patch
+++ b/srcpkgs/The-Powder-Toy/patches/luacpp.patch
@@ -5,15 +5,13 @@ upstream Lua, but the normal .pc file works just fine.
--- a/meson.build
+++ b/meson.build
-@@ -108,9 +108,9 @@
- if uopt_lua == 'luajit'
- lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('luajit_dep') : dependency('luajit', static: uopt_static == 'system') ]
- elif uopt_lua == 'lua5.2'
-- lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('lua52_dep') : dependency('lua5.2-c++', static: uopt_static == 'system') ]
-+ lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('lua52_dep') : dependency('lua5.2', static: uopt_static == 'system') ]
- elif uopt_lua == 'lua5.1'
-- lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('lua51_dep') : dependency('lua5.1-c++', static: uopt_static == 'system') ]
-+ lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('lua51_dep') : dependency('lua5.1', static: uopt_static == 'system') ]
- else
- lua_opt_dep = []
- endif
+@@ -157,7 +157,7 @@
+ if lua_variant == 'none'
+ lua_dep = []
+ elif lua_variant == 'lua5.1' or lua_variant == 'lua5.2'
+- lua_dep = dependency(lua_variant + '-c++', static: is_static, required: false)
++ lua_dep = dependency(lua_variant, static: is_static, required: false)
+ if not lua_dep.found()
+ if not get_option('workaround_noncpp_lua')
+ error('your system @0@ is not compatible with C++, configure with -Dworkaround_noncpp_lua=true to disable this error'.format(lua_variant))
+
diff --git a/srcpkgs/The-Powder-Toy/template b/srcpkgs/The-Powder-Toy/template
index b4cb1b40da42e4..10602dbac04928 100644
--- a/srcpkgs/The-Powder-Toy/template
+++ b/srcpkgs/The-Powder-Toy/template
@@ -1,19 +1,20 @@
# Template file for 'The-Powder-Toy'
pkgname=The-Powder-Toy
-version=96.2.350
+version=98.2.365
revision=1
build_style=meson
-configure_args="-Dx86_sse=sse2 -Dworkaround_gcc_no_pie=false
+configure_args="-Dx86_sse=sse2
-Dlua=$(vopt_if luajit luajit lua5.1)"
hostmakedepends="pkg-config"
-makedepends="SDL2-devel fftw-devel zlib-devel libcurl-devel
+makedepends="SDL2-devel fftw-devel zlib-devel libcurl-devel bzip2-devel
+ libpng-devel jsoncpp-devel
$(vopt_if luajit LuaJIT-devel lua51-devel)"
short_desc="Falling sand physics sandbox, simulates air pressure, velocity & heat"
maintainer="0x5c <dev@0x5c.io>"
license="GPL-3.0-or-later"
homepage="https://powdertoy.co.uk/"
distfiles="https://github.com/The-Powder-Toy/${pkgname}/archive/v${version}.tar.gz"
-checksum=d95cbadee22632687661e8fc488bd64405d81c0dca737e16420f26e93ea5bf58
+checksum=21900b6b022535d0e56126b023538cc4f44b64feceafb5640492618a42a60080
build_options="luajit"
@@ -24,8 +25,8 @@ fi
do_install() {
vbin build/powder
vdoc README.md
- vinstall resources/powder.desktop 644 /usr/share/applications/
- for size in 16 24 32 48 128 256 ; do
- vinstall resources/icon/powder-${size}.png 644 /usr/share/icons/hicolor/${size}x${size}/apps powder.png
+ vinstall build/resources/powder.desktop 644 /usr/share/applications/
+ for size in _16 _32 _48; do
+ vinstall resources/generated_icons/icon_exe${size}.png 644 /usr/share/icons/hicolor/${size}x${size}/apps powder.png
done
}
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR PATCH] [Updated] Update: The-Powder-Toy to v98.2
2024-12-12 14:55 [PR PATCH] Update: The-Powder-Toy to v98.2 Trickyni-V56
` (5 preceding siblings ...)
2024-12-12 21:21 ` [PR PATCH] [Updated] " Trickyni-V56
@ 2024-12-12 21:21 ` Trickyni-V56
2024-12-12 21:22 ` [PR REVIEW] " Trickyni-V56
` (4 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Trickyni-V56 @ 2024-12-12 21:21 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1047 bytes --]
There is an updated pull request by Trickyni-V56 against master on the void-packages repository
https://github.com/Trickyni-V56/void-packages update-powder-toy
https://github.com/void-linux/void-packages/pull/53490
Update: The-Powder-Toy to v98.2
#### Testing the changes
- I tested the changes in this PR: **YES**
#### Local build testing
- [X] I built this PR locally for my native architecture, (x86_64)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl

P.S: The void package is the only one on [repology](https://repology.org/project/powder-toy/versions) with the _capitalized kebab-case_ "The-Powder-Toy", and it was kinda tedious typing it every time I wanted to test the build. is there a way to rename it to "powdertoy" like on any other distro?
A patch file from https://github.com/void-linux/void-packages/pull/53490.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-update-powder-toy-53490.patch --]
[-- Type: text/x-diff, Size: 3765 bytes --]
From b2925b1958be4e2da326844306e79bcd41c75fa5 Mon Sep 17 00:00:00 2001
From: Trickyni-V56 <trickyniv56@gmail.com>
Date: Wed, 11 Dec 2024 21:54:13 +0200
Subject: [PATCH] The-Powder-Toy: update to 98.2.365
---
srcpkgs/The-Powder-Toy/patches/luacpp.patch | 22 ++++++++++-----------
srcpkgs/The-Powder-Toy/template | 15 +++++++-------
2 files changed, 18 insertions(+), 19 deletions(-)
diff --git a/srcpkgs/The-Powder-Toy/patches/luacpp.patch b/srcpkgs/The-Powder-Toy/patches/luacpp.patch
index 47e57a5861a324..44e0d142040cf3 100644
--- a/srcpkgs/The-Powder-Toy/patches/luacpp.patch
+++ b/srcpkgs/The-Powder-Toy/patches/luacpp.patch
@@ -5,15 +5,13 @@ upstream Lua, but the normal .pc file works just fine.
--- a/meson.build
+++ b/meson.build
-@@ -108,9 +108,9 @@
- if uopt_lua == 'luajit'
- lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('luajit_dep') : dependency('luajit', static: uopt_static == 'system') ]
- elif uopt_lua == 'lua5.2'
-- lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('lua52_dep') : dependency('lua5.2-c++', static: uopt_static == 'system') ]
-+ lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('lua52_dep') : dependency('lua5.2', static: uopt_static == 'system') ]
- elif uopt_lua == 'lua5.1'
-- lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('lua51_dep') : dependency('lua5.1-c++', static: uopt_static == 'system') ]
-+ lua_opt_dep = [ use_tpt_libs != 'no' ? tpt_libs.get_variable('lua51_dep') : dependency('lua5.1', static: uopt_static == 'system') ]
- else
- lua_opt_dep = []
- endif
+@@ -157,7 +157,7 @@
+ if lua_variant == 'none'
+ lua_dep = []
+ elif lua_variant == 'lua5.1' or lua_variant == 'lua5.2'
+- lua_dep = dependency(lua_variant + '-c++', static: is_static, required: false)
++ lua_dep = dependency(lua_variant, static: is_static, required: false)
+ if not lua_dep.found()
+ if not get_option('workaround_noncpp_lua')
+ error('your system @0@ is not compatible with C++, configure with -Dworkaround_noncpp_lua=true to disable this error'.format(lua_variant))
+
diff --git a/srcpkgs/The-Powder-Toy/template b/srcpkgs/The-Powder-Toy/template
index b4cb1b40da42e4..e0828329b35513 100644
--- a/srcpkgs/The-Powder-Toy/template
+++ b/srcpkgs/The-Powder-Toy/template
@@ -1,19 +1,20 @@
# Template file for 'The-Powder-Toy'
pkgname=The-Powder-Toy
-version=96.2.350
+version=98.2.365
revision=1
build_style=meson
-configure_args="-Dx86_sse=sse2 -Dworkaround_gcc_no_pie=false
+configure_args="-Dx86_sse=sse2
-Dlua=$(vopt_if luajit luajit lua5.1)"
hostmakedepends="pkg-config"
-makedepends="SDL2-devel fftw-devel zlib-devel libcurl-devel
+makedepends="SDL2-devel fftw-devel zlib-devel libcurl-devel bzip2-devel
+ libpng-devel jsoncpp-devel
$(vopt_if luajit LuaJIT-devel lua51-devel)"
short_desc="Falling sand physics sandbox, simulates air pressure, velocity & heat"
maintainer="0x5c <dev@0x5c.io>"
license="GPL-3.0-or-later"
homepage="https://powdertoy.co.uk/"
distfiles="https://github.com/The-Powder-Toy/${pkgname}/archive/v${version}.tar.gz"
-checksum=d95cbadee22632687661e8fc488bd64405d81c0dca737e16420f26e93ea5bf58
+checksum=21900b6b022535d0e56126b023538cc4f44b64feceafb5640492618a42a60080
build_options="luajit"
@@ -24,8 +25,8 @@ fi
do_install() {
vbin build/powder
vdoc README.md
- vinstall resources/powder.desktop 644 /usr/share/applications/
- for size in 16 24 32 48 128 256 ; do
- vinstall resources/icon/powder-${size}.png 644 /usr/share/icons/hicolor/${size}x${size}/apps powder.png
+ vinstall build/resources/powder.desktop 644 /usr/share/applications/
+ for size in 16 32 48; do
+ vinstall resources/generated_icons/icon_exe_${size}.png 644 /usr/share/icons/hicolor/${size}x${size}/apps powdertoy-powder.png
done
}
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR REVIEW] Update: The-Powder-Toy to v98.2
2024-12-12 14:55 [PR PATCH] Update: The-Powder-Toy to v98.2 Trickyni-V56
` (6 preceding siblings ...)
2024-12-12 21:21 ` Trickyni-V56
@ 2024-12-12 21:22 ` Trickyni-V56
2024-12-12 21:40 ` 0x5c
` (3 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: Trickyni-V56 @ 2024-12-12 21:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 226 bytes --]
New review comment by Trickyni-V56 on void-packages repository
https://github.com/void-linux/void-packages/pull/53490#discussion_r1882903373
Comment:
none of the other ones are in alphabetical order. Am I missing something?
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Update: The-Powder-Toy to v98.2
2024-12-12 14:55 [PR PATCH] Update: The-Powder-Toy to v98.2 Trickyni-V56
` (7 preceding siblings ...)
2024-12-12 21:22 ` [PR REVIEW] " Trickyni-V56
@ 2024-12-12 21:40 ` 0x5c
2024-12-12 21:42 ` [PR REVIEW] " 0x5c
` (2 subsequent siblings)
11 siblings, 0 replies; 13+ messages in thread
From: 0x5c @ 2024-12-12 21:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 826 bytes --]
New comment by 0x5c on void-packages repository
https://github.com/void-linux/void-packages/pull/53490#issuecomment-2540067830
Comment:
> P.S: The void package is the only one on [repology](https://repology.org/project/powder-toy/versions) with the capitalized kebab-case "The-Powder-Toy", and it was kinda tedious typing it every time I wanted to test the build. is there a way to rename it to "powdertoy" like on any other distro?
You're not alone in not liking this naming scheme, but unfortunately it's not super trivial to rename packages. I may look at it for next update though, from repology.org (with wikis and mac/windows repos filtered out) there seems to be two main names in use: `powdertoy` (6) and `powder-toy` (6), with 4`the-powder-toy`, 2 `The-Powder-Toy` (Void and Solus), and 1 lonely `thepowdertoy`.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [PR REVIEW] Update: The-Powder-Toy to v98.2
2024-12-12 14:55 [PR PATCH] Update: The-Powder-Toy to v98.2 Trickyni-V56
` (8 preceding siblings ...)
2024-12-12 21:40 ` 0x5c
@ 2024-12-12 21:42 ` 0x5c
2025-03-24 2:07 ` github-actions
2025-04-07 2:09 ` [PR PATCH] [Closed]: " github-actions
11 siblings, 0 replies; 13+ messages in thread
From: 0x5c @ 2024-12-12 21:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 211 bytes --]
New review comment by 0x5c on void-packages repository
https://github.com/void-linux/void-packages/pull/53490#discussion_r1882926362
Comment:
True that, leave it as-is and I'll try to remember for next update
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: Update: The-Powder-Toy to v98.2
2024-12-12 14:55 [PR PATCH] Update: The-Powder-Toy to v98.2 Trickyni-V56
` (9 preceding siblings ...)
2024-12-12 21:42 ` [PR REVIEW] " 0x5c
@ 2025-03-24 2:07 ` github-actions
2025-04-07 2:09 ` [PR PATCH] [Closed]: " github-actions
11 siblings, 0 replies; 13+ messages in thread
From: github-actions @ 2025-03-24 2:07 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/53490#issuecomment-2746690916
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] 13+ messages in thread
* Re: [PR PATCH] [Closed]: Update: The-Powder-Toy to v98.2
2024-12-12 14:55 [PR PATCH] Update: The-Powder-Toy to v98.2 Trickyni-V56
` (10 preceding siblings ...)
2025-03-24 2:07 ` github-actions
@ 2025-04-07 2:09 ` github-actions
11 siblings, 0 replies; 13+ messages in thread
From: github-actions @ 2025-04-07 2:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 721 bytes --]
There's a closed pull request on the void-packages repository
Update: The-Powder-Toy to v98.2
https://github.com/void-linux/void-packages/pull/53490
Description:
#### 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)

P.S: The void package is the only one on [repology](https://repology.org/project/powder-toy/versions) with the _capitalized kebab-case_ "The-Powder-Toy", and it was kinda tedious typing it every time I wanted to test the build. is there a way to rename it to "powdertoy" like on any other distro?
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2025-04-07 2:09 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-12-12 14:55 [PR PATCH] Update: The-Powder-Toy to v98.2 Trickyni-V56
2024-12-12 16:53 ` zdykstra
2024-12-12 18:55 ` [PR PATCH] [Updated] " Trickyni-V56
2024-12-12 18:57 ` Trickyni-V56
2024-12-12 20:41 ` [PR REVIEW] " 0x5c
2024-12-12 20:41 ` 0x5c
2024-12-12 21:21 ` [PR PATCH] [Updated] " Trickyni-V56
2024-12-12 21:21 ` Trickyni-V56
2024-12-12 21:22 ` [PR REVIEW] " Trickyni-V56
2024-12-12 21:40 ` 0x5c
2024-12-12 21:42 ` [PR REVIEW] " 0x5c
2025-03-24 2:07 ` github-actions
2025-04-07 2:09 ` [PR PATCH] [Closed]: " github-actions
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).