diff --git a/x11/swaysettings/Makefile b/x11/swaysettings/Makefile index 6e69f59d97c8..1c8d85ed0b00 100644 --- a/x11/swaysettings/Makefile +++ b/x11/swaysettings/Makefile @@ -1,50 +1,50 @@ PORTNAME= swaysettings DISTVERSIONPREFIX= v DISTVERSION= 0.5.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11 MAINTAINER= ports@FreeBSD.org COMMENT= GUI for setting Sway wallpaper, default apps, GTK themes, etc. WWW= https://github.com/ErikReider/SwaySettings LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= blueprint-compiler:devel/blueprint-compiler LIB_DEPENDS= libpulse.so:audio/pulseaudio \ libjson-glib-1.0.so:devel/json-glib \ libgee-0.8.so:devel/libgee \ libgtop-2.0.so:devel/libgtop \ libaccountsservice.so:sysutils/accountsservice \ libudisks2.so:sysutils/libudisks \ libgtk4-layer-shell.so:x11-toolkits/gtk4-layer-shell USES= compiler:c11 gettext gnome meson pkgconfig \ python:build shebangfix vala:build USE_GITHUB= yes USE_GNOME= gdkpixbuf gtk40 libadwaita libxml2 GH_ACCOUNT= ErikReider GH_PROJECT= SwaySettings SHEBANG_FILES= build-aux/meson/postinstall.py GLIB_SCHEMAS= org.erikreider.swaysettings.gschema.xml post-patch: # Respect PREFIX for images and XKB layouts @${REINPLACE_CMD} 's,/usr/share,${DATADIR:H},' \ ${WRKSRC}/src/Settings/Page/InputPage.vala \ ${WRKSRC}/src/Settings/Pages/Background/BackgroundPage.vala \ ${WRKSRC}/src/Settings/Pages/Users/Users.vala # Drop unused dependency @${REINPLACE_CMD} -e 's/granite-7/gio-unix-2.0/' \ ${WRKSRC}/src/meson.build # Disable Linux-only bluez and rfkill @${REINPLACE_CMD} -e '/Bluetooth/d; /Rfkill/d' \ ${WRKSRC}/src/Settings/meson.build \ ${WRKSRC}/src/Settings/Pages/meson.build \ ${WRKSRC}/data/swaysettings.gresource.xml @${REINPLACE_CMD} -e '/bluetooth-symbolic/d' \ -e 's/new BluetoothPage.*/null;/' \ ${WRKSRC}/src/Settings/Window/Window.vala .include diff --git a/x11/swaysettings/files/patch-e4f3749a053b5fbe0feab93e46d6eba380ee2e58 b/x11/swaysettings/files/patch-e4f3749a053b5fbe0feab93e46d6eba380ee2e58 new file mode 100644 index 000000000000..b4cf418ea01a --- /dev/null +++ b/x11/swaysettings/files/patch-e4f3749a053b5fbe0feab93e46d6eba380ee2e58 @@ -0,0 +1,21 @@ +commit e4f3749a053b5fbe0feab93e46d6eba380ee2e58 +Author: Erik Reider <35975961+ErikReider@users.noreply.github.com> +AuthorDate: Wed Sep 17 01:01:39 2025 +0200 +Commit: Erik Reider <35975961+ErikReider@users.noreply.github.com> +CommitDate: Wed Sep 17 01:01:39 2025 +0200 + + Fixed Fedora 43 build issues + +diff --git a/src/Settings/Window/Window.vala b/src/Settings/Window/Window.vala +index 1afe8ea..f2a9db6 100644 +--- src/Settings/Window/Window.vala ++++ src/Settings/Window/Window.vala +@@ -140,7 +140,7 @@ namespace SwaySettings { + new Adw.BreakpointCondition.length ( + Adw.BreakpointConditionLengthType.MAX_WIDTH, 650, + Adw.LengthUnit.SP); +- Adw.Breakpoint breakpoint = new Adw.Breakpoint (condition); ++ Adw.Breakpoint breakpoint = new Adw.Breakpoint (condition.copy ()); + breakpoint.add_setter (split_view, "collapsed", true); + add_breakpoint (breakpoint); +