[packages/waylandpp] up to 1.0.1

atler atler at pld-linux.org
Sat Jul 12 13:09:22 CEST 2025


commit fa815481069bdc617d93e0c28b4baa5583c39004
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Jul 12 13:08:49 2025 +0200

    up to 1.0.1

 gcc-13.patch   | 57 ---------------------------------------------------------
 waylandpp.spec |  8 +++-----
 2 files changed, 3 insertions(+), 62 deletions(-)
---
diff --git a/waylandpp.spec b/waylandpp.spec
index 5c4fd8d..f825784 100644
--- a/waylandpp.spec
+++ b/waylandpp.spec
@@ -4,13 +4,12 @@
 
 Summary:	Wayland C++ bindings
 Name:		waylandpp
-Version:	1.0.0
-Release:	2
+Version:	1.0.1
+Release:	1
 License:	MIT
 Group:		Libraries
 Source0:	https://github.com/NilsBrause/waylandpp/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	2b0892152599210e9797a0651a119f65
-Patch0:		gcc-13.patch
+# Source0-md5:	8a14e3f4077bccbc17ad5a1918cc5732
 URL:		https://nilsbrause.github.io/waylandpp_docs/
 BuildRequires:	EGL-devel
 BuildRequires:	cmake >= 3.4
@@ -57,7 +56,6 @@ Waylandpp API documentation.
 
 %prep
 %setup -q
-%patch0 -p1
 
 %build
 %cmake -B build \
diff --git a/gcc-13.patch b/gcc-13.patch
deleted file mode 100644
index b2d3755..0000000
--- a/gcc-13.patch
+++ /dev/null
@@ -1,57 +0,0 @@
-From 3c441910aa25f57df2a4db55f75f5d99cea86620 Mon Sep 17 00:00:00 2001
-From: Sergei Trofimovich <slyich at gmail.com>
-Date: Sun, 8 Jan 2023 18:24:53 +0000
-Subject: [PATCH] add missing <cstdint> include
-
-Upcoming `gcc-13` made `<string>` leaner and does not include `<cstdint>`
-implicitly anymore. As a result build fails without the change as:
-
-    [  2%] Building CXX object CMakeFiles/wayland-scanner++.dir/scanner/scanner.cpp.o
-    scanner/scanner.cpp:378:3: error: 'uint32_t' does not name a type
-      378 |   uint32_t width = 0;
-          |   ^~~~~~~~
----
- include/wayland-client.hpp | 1 +
- scanner/scanner.cpp        | 3 +++
- 2 files changed, 4 insertions(+)
-
-diff --git a/include/wayland-client.hpp b/include/wayland-client.hpp
-index a3f782b..4598a0e 100644
---- a/include/wayland-client.hpp
-+++ b/include/wayland-client.hpp
-@@ -29,6 +29,7 @@
- /** \file */
- 
- #include <atomic>
-+#include <cstdint>
- #include <functional>
- #include <memory>
- #include <string>
-diff --git a/scanner/scanner.cpp b/scanner/scanner.cpp
-index bebd71e..37cf7ff 100644
---- a/scanner/scanner.cpp
-+++ b/scanner/scanner.cpp
-@@ -23,6 +23,7 @@
- #include <vector>
- #include <cctype>
- #include <cmath>
-+#include <cstdint>
- #include <stdexcept>
- 
- #include "pugixml.hpp"
-@@ -1106,6 +1107,7 @@ int main(int argc, char *argv[])
-   wayland_hpp << "#pragma once" << std::endl
-               << std::endl
-               << "#include <array>" << std::endl
-+              << "#include <cstdint>" << std::endl
-               << "#include <functional>" << std::endl
-               << "#include <memory>" << std::endl
-               << "#include <string>" << std::endl
-@@ -1125,6 +1127,7 @@ int main(int argc, char *argv[])
-     wayland_server_hpp << "#pragma once" << std::endl
-                        << std::endl
-                        << "#include <array>" << std::endl
-+                       << "#include <cstdint>" << std::endl
-                        << "#include <functional>" << std::endl
-                        << "#include <memory>" << std::endl
-                        << "#include <string>" << std::endl
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/waylandpp.git/commitdiff/fa815481069bdc617d93e0c28b4baa5583c39004



More information about the pld-cvs-commit mailing list