waybar: update

This commit is contained in:
Markus Volk 2023-06-02 18:28:16 +02:00
parent f3e153a77e
commit 2224efc131
2 changed files with 3 additions and 44 deletions

View File

@ -1,40 +0,0 @@
From a8a39f7bdfda7960efe0f5560c34e1518a598169 Mon Sep 17 00:00:00 2001
From: Markus Volk <f_l_k@t-online.de>
Date: Sat, 27 May 2023 00:58:45 +0200
Subject: [PATCH] include headers to fix build after gcc 13 update
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
include/modules/sway/ipc/client.hpp | 1 +
src/modules/sway/ipc/client.cpp | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/modules/sway/ipc/client.hpp b/include/modules/sway/ipc/client.hpp
index 77dab083..d87b00c4 100644
--- a/include/modules/sway/ipc/client.hpp
+++ b/include/modules/sway/ipc/client.hpp
@@ -5,6 +5,7 @@
#include <sys/un.h>
#include <unistd.h>
+#include <string>
#include <cstring>
#include <memory>
#include <mutex>
diff --git a/src/modules/sway/ipc/client.cpp b/src/modules/sway/ipc/client.cpp
index 4d6495cb..256ed3eb 100644
--- a/src/modules/sway/ipc/client.cpp
+++ b/src/modules/sway/ipc/client.cpp
@@ -1,7 +1,8 @@
#include "modules/sway/ipc/client.hpp"
-
+#include <stdexcept>
#include <fcntl.h>
+
namespace waybar::modules::sway {
Ipc::Ipc() {
--
2.34.1

View File

@ -12,13 +12,12 @@ REQUIRED_DISTRO_FEATURES = "wayland gobject-introspection-data"
SRC_URI = " \
git://github.com/Alexays/Waybar.git;protocol=https;branch=master \
file://0001-include-headers-to-fix-build-after-gcc-13-update.patch \
file://waybar.service \
"
S = "${WORKDIR}/git"
PV = "0.9.17"
SRCREV = "f0bead34d4f3a36cb9c94d60152d22dc6a773d60"
PV = "0.9.18"
SRCREV = "47193a3d2f81a8ce7177449f92e927db74d873b0"
DEPENDS += " \
date \
@ -45,7 +44,7 @@ PACKAGECONFIG[gtk-layer-shell] = "-Dgtk-layer-shell=enabled,-Dgtk-layer-shell=di
PACKAGECONFIG[jack] = "-Djack=enabled,-Djack=disabled,pipewire"
PACKAGECONFIG[libinput] = "-Dlibinput=enabled,-Dlibinput=disabled,libinput"
PACKAGECONFIG[logind] = "-Dlogind=enabled,-Dlogind=disabled,systemd"
PACKAGECONFIG[mpd] = "-Dman_pages=enabled,-Dman_pages=disabled,scdoc-native"
PACKAGECONFIG[man_pages] = "-Dman-pages=enabled,-Dman-pages=disabled,scdoc-native"
PACKAGECONFIG[mpd] = "-Dmpd=enabled,-Dmpd=disabled,libmpdclient"
PACKAGECONFIG[mpris] = "-Dmpris=enabled,-Dmpris=disabled,playerctl"
PACKAGECONFIG[network] = "-Dlibnl=enabled,-Dlibnl=disabled,libnl"