Skip to content

Commit

Permalink
libwaylandpp: update to 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zlice committed Jul 24, 2024
1 parent 4d8cc1f commit 7a17090
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 6 deletions.
8 changes: 4 additions & 4 deletions common/shlibs
Original file line number Diff line number Diff line change
Expand Up @@ -4211,10 +4211,10 @@ libec.so.10 eclib-20220621_1
libsymmetrica.so.2 symmetrica-3.0.1_1
libLfunction.so.1 lcalc-2.0.4_1
liblrcalc.so.2 lrcalc-2.1_1
libwayland-client++.so.0 libwaylandpp-0.2.8_1
libwayland-cursor++.so.0 libwaylandpp-0.2.8_1
libwayland-egl++.so.0 libwaylandpp-0.2.8_1
libwayland-client-extra++.so.0 libwaylandpp-0.2.8_1
libwayland-client++.so.1 libwaylandpp-1.0.0_1
libwayland-cursor++.so.1 libwaylandpp-1.0.0_1
libwayland-egl++.so.1 libwaylandpp-1.0.0_1
libwayland-client-extra++.so.1 libwaylandpp-1.0.0_1
libspdlog.so.1.11 libspdlog-1.11.0_1
libmd.so.0 libmd-1.0.3_1
libldacBT_abr.so.2 ldacBT-2.0.2.3_1
Expand Down
57 changes: 57 additions & 0 deletions srcpkgs/libwaylandpp/patches/cstdint.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
Patch-Source: https://github.com/NilsBrause/waylandpp/pull/75
--
From 5e3243b163aa5d50083b4036c21f84c1204f2023 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 26 Jan 2023 23:25:05 -0800
Subject: [PATCH] include missing <cstdint>

gcc 13 moved some includes around and as a result <cstdint> is no longer transitively included [1]. Explicitly include it for uint{32,64}_t.

[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
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..c25746a 100644
--- a/scanner/scanner.cpp
+++ b/scanner/scanner.cpp
@@ -15,6 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/

+#include <cstdint>
#include <fstream>
#include <iostream>
#include <list>
@@ -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
4 changes: 2 additions & 2 deletions srcpkgs/libwaylandpp/template
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Template file for 'libwaylandpp'
pkgname=libwaylandpp
version=0.2.8
version=1.0.0
revision=1
build_style=cmake
configure_args="-DBUILD_SCANNER=TRUE -DBUILD_LIBRARIES=TRUE
Expand All @@ -13,7 +13,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/NilsBrause/waylandpp"
distfiles="https://github.com/NilsBrause/waylandpp/archive/${version}.tar.gz"
checksum=e7f486165d3568c3558b5c7099133aea4a285b82820eeafad329fc10271c654d
checksum=b20b45917382c6b87e9380130c9a1a1c563da2f498de5830df12fbce326dd9f5
subpackages="libwaylandpp-doc wayland-scanner++ libwaylandpp-devel"

if [ "$CROSS_BUILD" ]; then
Expand Down

0 comments on commit 7a17090

Please sign in to comment.