public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/powdertoy] f44: Update to v100.0.399
@ 2026-06-22 20:22 Artur Frenszek-Iwicki
  0 siblings, 0 replies; only message in thread
From: Artur Frenszek-Iwicki @ 2026-06-22 20:22 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/powdertoy
Branch : f44
Commit : d08714c505544fe30cdf372f57d2327018b63651
Author : Artur Frenszek-Iwicki <fedora@svgames.pl>
Date   : 2026-06-22T21:48:50+02:00
Stats  : +10/-43 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/powdertoy/c/d08714c505544fe30cdf372f57d2327018b63651?branch=f44

Log:
Update to v100.0.399

---
diff --git a/.gitignore b/.gitignore
index daad133..b4ad75a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@
 /The-Powder-Toy-v99.2.382.tar.gz
 /The-Powder-Toy-v99.3.384.tar.gz
 /The-Powder-Toy-v99.5.394.tar.gz
+/The-Powder-Toy-v100.0.399.tar.gz

diff --git a/0000-use-powdertoy-instead-of-powder-as-name.patch b/0000-use-powdertoy-instead-of-powder-as-name.patch
index 7e1f26f..66acbbd 100644
--- a/0000-use-powdertoy-instead-of-powder-as-name.patch
+++ b/0000-use-powdertoy-instead-of-powder-as-name.patch
@@ -21,7 +21,7 @@ diff -r -U4 The-Powder-Toy-97.0.351b--orig/resources/powder.template.desktop The
 +++ The-Powder-Toy-97.0.351b--patched/resources/powder.template.desktop	2022-12-28 20:28:49.485089371 +0100
 @@ -4,5 +4,5 @@
  Comment=@APPCOMMENT@
- MimeType=application/vnd.powdertoy.save;x-scheme-handler/ptsave;
+ MimeType=application/vnd.@APPVENDOR@.save;x-scheme-handler/ptsave;
  Categories=Game;Simulation;
  Exec=@APPEXE@ %u
 -Icon=@APPVENDOR@-@APPEXE@

diff --git a/0001-gcc16.patch b/0001-gcc16.patch
deleted file mode 100644
index fc0bd60..0000000
--- a/0001-gcc16.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From 2df4e31e5ff526b8871adb0bb62d1b6a8e289255 Mon Sep 17 00:00:00 2001
-From: Sergei Trofimovich <slyich@gmail.com>
-Date: Sat, 7 Jun 2025 21:28:19 +0100
-Subject: [PATCH] src/lua/LuaSocketDefault.cpp: add missing <climits> include
- (#1007)
-
-Without the change the build fails on upcoming `gcc-16` as:
-
-    ../src/lua/LuaSocketDefault.cpp: In function 'void LuaSocket::Timeout(double)':
-    ../src/lua/LuaSocketDefault.cpp:21:31: error: 'INT_MAX' was not declared in this scope
-       21 |                 if (timeout > INT_MAX) timeout = INT_MAX;
-          |                               ^~~~~~~
-    ../src/lua/LuaSocketDefault.cpp:6:1: note: 'INT_MAX' is defined in header '<climits>'; this is probably fixable by adding '#include <climits>'
-        5 | #include <sys/time.h>
-      +++ |+#include <climits>
-        6 | #include <time.h>
----
- src/lua/LuaSocketDefault.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/lua/LuaSocketDefault.cpp b/src/lua/LuaSocketDefault.cpp
-index b9f0536a11..cb06ab1761 100644
---- a/src/lua/LuaSocketDefault.cpp
-+++ b/src/lua/LuaSocketDefault.cpp
-@@ -2,6 +2,7 @@
- #include "Misc.h"
- #include <stdint.h>
- #include <algorithm>
-+#include <climits>
- #include <sys/time.h>
- #include <time.h>
- 

diff --git a/powdertoy.spec b/powdertoy.spec
index 96d19fa..dd78b8a 100644
--- a/powdertoy.spec
+++ b/powdertoy.spec
@@ -5,11 +5,10 @@ Summary: Physics sandbox game
 URL: https://powdertoy.co.uk
 
 # Powder Toy itself is GPLv3
-# src/bson/ is Apache v2.0
 # src/lua/ is MIT
-License: GPL-3.0-only AND Apache-2.0 AND MIT
+License: GPL-3.0-only AND MIT
 
-Version: 99.5.394
+Version: 100.0.399
 Release: 1%{?dist}
 
 %global repo_owner The-Powder-Toy
@@ -21,10 +20,6 @@ Source0: https://github.com/%{repo_owner}/%{repo_name}/archive/v%{version}/%{rep
 # which refer to "powder" and makes them use "powdertoy" instead.
 Patch0: 0000-use-powdertoy-instead-of-powder-as-name.patch
 
-# Fix building with GCC16. Backported from upstream.
-# https://github.com/The-Powder-Toy/The-Powder-Toy/commit/2df4e31e5ff526b8871adb0bb62d1b6a8e289255.patch
-Patch1: 0001-gcc16.patch
-
 BuildRequires: desktop-file-utils
 BuildRequires: gcc-c++
 BuildRequires: libappstream-glib
@@ -37,7 +32,6 @@ BuildRequires: libcurl-devel
 BuildRequires: libpng-devel
 BuildRequires: mesa-libGL-devel
 BuildRequires: SDL2-devel
-BuildRequires: zlib-devel
 
 # luajit is not available on these architectures
 %ifnarch ppc64le
@@ -124,7 +118,7 @@ install -m 644 -p "%{_vpath_builddir}/resources/appdata.xml" "%{buildroot}%{_met
 
 # -- savefile mimetype
 install -m 755 -d %{buildroot}%{_datadir}/mime/packages/
-install -m 644 resources/save.xml %{buildroot}%{_datadir}/mime/packages/powdertoy-save.xml
+install -m 644 "%{_vpath_builddir}/resources/save.xml" %{buildroot}%{_datadir}/mime/packages/powdertoy-save.xml
 
 # -- man page
 install -m 755 -d %{buildroot}%{_mandir}/man6/
@@ -150,6 +144,10 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{rtld_name}.m
 
 
 %changelog
+* Mon Jun 22 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 100.0.399-1
+- Update to v100.0.399
+- License change: "GPL-3.0-only AND Apache-2.0 AND MIT" -> "GPL-3.0-only AND MIT"
+
 * Thu Apr 02 2026 Artur Frenszek-Iwicki <fedora@svgames.pl> - 99.5.394-1
 - Update to v99.5.394
 

diff --git a/sources b/sources
index 6f1f9ae..d0bac11 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (The-Powder-Toy-v99.5.394.tar.gz) = 78cd4cfb14b68dadd25b6849a770bb70cebc18a7a7456a86b439fcf569e18499c8150329a501b5af73bf803adb3eeeb0e92be709a2abbc746fdb729b8f3a3d07
+SHA512 (The-Powder-Toy-v100.0.399.tar.gz) = 76e0e77eceeee5d35df7a8c60ef1129b5ecabf5d64dda2699b6b0866a751f2bc67d44b443697af7aaca785fd7a03de8424316872acfece2f12b9b458fff50e9c

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-22 20:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-22 20:22 [rpms/powdertoy] f44: Update to v100.0.399 Artur Frenszek-Iwicki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox