diff --git a/.gitignore b/.gitignore index a631825..ef7af88 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,3 @@ /waylandpp-0.2.8.tar.gz /waylandpp-0.2.9.tar.gz /waylandpp-1.0.0.tar.gz -/waylandpp-1.0.1.tar.gz diff --git a/sources b/sources index 9c6cea5..b576c41 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (waylandpp-1.0.1.tar.gz) = 32c334cc5349c0f15efb5ebc192b60909580ab90b1359c905ca693fe0006747be2a8c7053ffcfc14eaafeeb6aa0b61d1e07a6a3bd9c351d1abb059b2d7c6191b +SHA512 (waylandpp-1.0.0.tar.gz) = 64b59d073a0593ecf442362eb63ec0a9dfeaa1ad1d56b5955cb0c159fd01dc45e012b926811c6ca0dc12d4bb2e640eabc2e778ab7d28de2098eb694d26f01039 diff --git a/waylandpp-1.0.0-gcc13.patch b/waylandpp-1.0.0-gcc13.patch new file mode 100644 index 0000000..d14716a --- /dev/null +++ b/waylandpp-1.0.0-gcc13.patch @@ -0,0 +1,38 @@ +diff -up ./include/wayland-client.hpp.orig ./include/wayland-client.hpp +--- ./include/wayland-client.hpp.orig 2022-04-25 18:04:33.000000000 +0200 ++++ ./include/wayland-client.hpp 2023-03-26 11:58:50.003952654 +0200 +@@ -29,6 +29,7 @@ + /** \file */ + + #include ++#include + #include + #include + #include +diff -up ./scanner/scanner.cpp.orig ./scanner/scanner.cpp +--- ./scanner/scanner.cpp.orig 2022-04-25 18:04:33.000000000 +0200 ++++ ./scanner/scanner.cpp 2023-03-26 11:49:29.853386221 +0200 +@@ -23,6 +23,7 @@ + #include + #include + #include ++#include + #include + + #include "pugixml.hpp" +@@ -1106,6 +1107,7 @@ int main(int argc, char *argv[]) + wayland_hpp << "#pragma once" << std::endl + << std::endl + << "#include " << std::endl ++ << "#include " << std::endl + << "#include " << std::endl + << "#include " << std::endl + << "#include " << std::endl +@@ -1125,6 +1127,7 @@ int main(int argc, char *argv[]) + wayland_server_hpp << "#pragma once" << std::endl + << std::endl + << "#include " << std::endl ++ << "#include " << std::endl + << "#include " << std::endl + << "#include " << std::endl + << "#include " << std::endl diff --git a/waylandpp.spec b/waylandpp.spec index c9a0f82..f5bc704 100644 --- a/waylandpp.spec +++ b/waylandpp.spec @@ -1,13 +1,14 @@ Name: waylandpp -Version: 1.0.1 +Version: 1.0.0 Release: 4%{?dist} Summary: Wayland C++ bindings # waylandpp includes part of Wayland under MIT, wayland-scanner++ is GPLv3+ -# Automatically converted from old format: BSD and MIT and GPLv3+ - review is highly recommended. -License: LicenseRef-Callaway-BSD AND LicenseRef-Callaway-MIT AND GPL-3.0-or-later +License: BSD and MIT and GPLv3+ URL: https://github.com/NilsBrause/%{name}/ Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz +# Fix build with GCC 13 +Patch0: %{name}-1.0.0-gcc13.patch BuildRequires: cmake BuildRequires: doxygen @@ -48,7 +49,7 @@ The %{name}-doc package contains development documentation for %{name}. %prep -%autosetup +%autosetup -p0 %build @@ -91,30 +92,6 @@ rm -r $RPM_BUILD_ROOT%{_defaultdocdir}/%{name}-doc/latex/ %changelog -* Fri Jul 17 2026 Fedora Release Engineering - 1.0.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild - -* Sat Jan 17 2026 Fedora Release Engineering - 1.0.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Fri Jul 25 2025 Fedora Release Engineering - 1.0.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Sat Jul 12 2025 Mohamed El Morabity - 1.0.1-1 -- Update to 1.0.1 - -* Sun Jan 19 2025 Fedora Release Engineering - 1.0.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Wed Sep 04 2024 Miroslav Suchý - 1.0.0-7 -- convert license to SPDX - -* Sat Jul 20 2024 Fedora Release Engineering - 1.0.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Sat Jan 27 2024 Fedora Release Engineering - 1.0.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - * Sat Jul 22 2023 Fedora Release Engineering - 1.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild