diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-10 11:36:37 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-10 11:36:37 +0100 |
commit | d6fe3a53bdeea6b060d1755199cc2c27492dc14c (patch) | |
tree | 7bb8240ab620eafcfe59b3d1b45831bf45e12501 /gui-apps/waybar/files | |
parent | 4bbcd26e7cb1908fb98bb318bfaa13ea9e32d860 (diff) |
gentoo auto-resync : 10:04:2023 - 11:36:36
Diffstat (limited to 'gui-apps/waybar/files')
-rw-r--r-- | gui-apps/waybar/files/systemd-0.9.17.patch | 35 | ||||
-rw-r--r-- | gui-apps/waybar/files/waybar-0.9.17-gcc13.patch | 31 |
2 files changed, 66 insertions, 0 deletions
diff --git a/gui-apps/waybar/files/systemd-0.9.17.patch b/gui-apps/waybar/files/systemd-0.9.17.patch new file mode 100644 index 000000000000..7d6c8dd10b38 --- /dev/null +++ b/gui-apps/waybar/files/systemd-0.9.17.patch @@ -0,0 +1,35 @@ +diff --git a/meson.build b/meson.build +index ebf68d4..3c2a7fd 100644 +--- a/meson.build ++++ b/meson.build +@@ -122,7 +122,6 @@ endif + gtk_layer_shell = dependency('gtk-layer-shell-0', + required: get_option('gtk-layer-shell'), + fallback : ['gtk-layer-shell', 'gtk_layer_shell_dep']) +-systemd = dependency('systemd', required: get_option('systemd')) + tz_dep = dependency('date', + required: false, + default_options : [ 'use_system_tzdb=true' ], +@@ -136,16 +135,12 @@ conf_data.set('prefix', prefix) + + add_project_arguments('-DSYSCONFDIR="/@0@"'.format(join_paths(prefix, sysconfdir)), language : 'cpp') + +-if systemd.found() +- user_units_dir = systemd.get_pkgconfig_variable('systemduserunitdir') +- +- configure_file( +- configuration: conf_data, +- input: './resources/waybar.service.in', +- output: '@BASENAME@', +- install_dir: user_units_dir +- ) +-endif ++configure_file( ++ configuration: conf_data, ++ input: './resources/waybar.service.in', ++ output: '@BASENAME@', ++ install_dir: '/usr/lib/systemd/user' ++) + + src_files = files( + 'src/factory.cpp', diff --git a/gui-apps/waybar/files/waybar-0.9.17-gcc13.patch b/gui-apps/waybar/files/waybar-0.9.17-gcc13.patch new file mode 100644 index 000000000000..831435f50cac --- /dev/null +++ b/gui-apps/waybar/files/waybar-0.9.17-gcc13.patch @@ -0,0 +1,31 @@ +https://bugs.gentoo.org/900729 +https://github.com/Alexays/Waybar/commit/ca9d237b00b4d01f341b0d7bc938afb10a4f8cad + +From ca9d237b00b4d01f341b0d7bc938afb10a4f8cad Mon Sep 17 00:00:00 2001 +From: Aleksei Bavshin <alebastr89@gmail.com> +Date: Mon, 16 Jan 2023 10:27:21 -0800 +Subject: [PATCH] fix(sway): add missing includes for GCC 13 + +See also: https://gcc.gnu.org/gcc-13/porting_to.html +--- a/include/modules/sway/ipc/client.hpp ++++ b/include/modules/sway/ipc/client.hpp +@@ -8,6 +8,7 @@ + #include <cstring> + #include <memory> + #include <mutex> ++#include <string> + + #include "ipc.hpp" + #include "util/sleeper_thread.hpp" +--- a/src/modules/sway/ipc/client.cpp ++++ b/src/modules/sway/ipc/client.cpp +@@ -2,6 +2,8 @@ + + #include <fcntl.h> + ++#include <stdexcept> ++ + namespace waybar::modules::sway { + + Ipc::Ipc() { + |