git: d92a1cb96c0e - main - x11-fm/polo: unbreak the port's build against modern Vala
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Aug 2022 10:41:36 UTC
The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=d92a1cb96c0e4d49a0a2c2af045d505c50411f24 commit d92a1cb96c0e4d49a0a2c2af045d505c50411f24 Author: Alexey Dokuchaev <danfe@FreeBSD.org> AuthorDate: 2022-08-27 10:39:44 +0000 Commit: Alexey Dokuchaev <danfe@FreeBSD.org> CommitDate: 2022-08-27 10:39:44 +0000 x11-fm/polo: unbreak the port's build against modern Vala Vala now validates property names against GLib.Object conventions per https://gitlab.gnome.org/GNOME/vala/-/commit/38d61fbf commit. --- x11-fm/polo/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/x11-fm/polo/Makefile b/x11-fm/polo/Makefile index 7ec8a0e824ed..de158e97d2b6 100644 --- a/x11-fm/polo/Makefile +++ b/x11-fm/polo/Makefile @@ -13,7 +13,8 @@ LIB_DEPENDS= libgee-0.8.so:devel/libgee \ libharfbuzz.so:print/harfbuzz \ libjson-glib-1.0.so:devel/json-glib -USES= desktop-file-utils gettext-tools gmake gnome pkgconfig vala:build +USES= desktop-file-utils gettext-tools gmake gnome pkgconfig \ + vala:build USE_GNOME= cairo gdkpixbuf2 gtk30 libxml2 vte3 USE_GITHUB= yes GH_ACCOUNT= teejee2008 @@ -21,11 +22,13 @@ GH_ACCOUNT= teejee2008 WRKSRC_SUBDIR= src MAKEFILE= makefile -BROKEN= Does not build against current vala - post-patch: @${RM} ${WRKSRC}/share/polo/files/gtk-theme/*.orig @${RM} ${WRKSRC}/share/polo/files/install-*.sh @${RM} -r ${WRKSRC}/share/polo/files/udisks2 +# Adhere to GLib.Object naming conventions for properties + @${REINPLACE_CMD} -e 's,7zip_version,sevenzip_version,g' \ + ${WRKSRC}/Gtk/MainMenubar.vala \ + ${WRKSRC}/Utility/ArchiveTask.vala .include <bsd.port.mk>