swayfx: update to 0.4.

Signed-off-by: Christopher K. 'Shmish' Schmitt <me@shmish.dev>
This commit is contained in:
Christopher K. 'Shmish' Schmitt 2024-08-03 19:58:00 -04:00 committed by classabbyamp
parent c087852696
commit e3d256fe38
2 changed files with 5 additions and 31 deletions

View File

@ -1,26 +0,0 @@
diff --git a/sway/config.c b/sway/config.c
index 1f2bb68604..f5efa98a8e 100644
--- a/sway/config.c
+++ b/sway/config.c
@@ -37,7 +37,7 @@ struct sway_config *config = NULL;
static struct xkb_state *keysym_translation_state_create(
struct xkb_rule_names rules) {
- struct xkb_context *context = xkb_context_new(XKB_CONTEXT_NO_FLAGS);
+ struct xkb_context *context = xkb_context_new(XKB_CONTEXT_NO_SECURE_GETENV);
struct xkb_keymap *xkb_keymap = xkb_keymap_new_from_names(
context,
&rules,
diff --git a/sway/input/keyboard.c b/sway/input/keyboard.c
index 3f4a7289b9..45a588ecbf 100644
--- a/sway/input/keyboard.c
+++ b/sway/input/keyboard.c
@@ -754,7 +754,7 @@ static void handle_xkb_context_log(struct xkb_context *context,
struct xkb_keymap *sway_keyboard_compile_keymap(struct input_config *ic,
char **error) {
- struct xkb_context *context = xkb_context_new(XKB_CONTEXT_NO_FLAGS);
+ struct xkb_context *context = xkb_context_new(XKB_CONTEXT_NO_SECURE_GETENV);
if (!sway_assert(context, "cannot create XKB context")) {
return NULL;
}

View File

@ -1,13 +1,13 @@
# Template file for 'swayfx'
pkgname=swayfx
version=0.3.2
revision=2
version=0.4
revision=1
build_style=meson
configure_args="-Dwerror=false -Db_ndebug=false"
conf_files="/etc/sway/config"
hostmakedepends="pkg-config wayland-devel scdoc"
makedepends="wlroots0.16-devel pcre2-devel json-c-devel pango-devel cairo-devel
gdk-pixbuf-devel libevdev-devel"
makedepends="wlroots0.17-devel pcre2-devel json-c-devel pango-devel cairo-devel
gdk-pixbuf-devel libevdev-devel scenefx-devel"
depends="libcap-progs swaybg xorg-server-xwayland libxkbcommon>=1.5.0_1"
short_desc="Sway, but with eye candy!"
maintainer="Rehan <rehanzo@tuta.io>"
@ -15,7 +15,7 @@ license="MIT"
homepage="https://github.com/WillPower3309/swayfx"
changelog="https://github.com/WillPower3309/swayfx/releases"
distfiles="https://github.com/WillPower3309/swayfx/archive/refs/tags/${version}.tar.gz"
checksum=05b5cdc2d25e9f05817556d7053c02f8b89c9ef629405fcba5b4d240d4fd0545
checksum=fa164734a7b32fd82f31e54c407b147e92247ef275de9df4a87b6198a36f20e2
conflicts="sway>=0"
provides="sway-${version}_1"
replaces="sway>=0"