svn commit: r524609 - head/net/liferea
Christoph Moench-Tegeder
cmt at FreeBSD.org
Wed Jan 29 21:53:17 UTC 2020
Author: cmt
Date: Wed Jan 29 21:53:16 2020
New Revision: 524609
URL: https://svnweb.freebsd.org/changeset/ports/524609
Log:
net/liferea: unbreak build
liferea tries to initialize it's graphics backend even when being run
for gobject introspection only - and that causes webkit to crash or
hang when there is no X server or similar available (e.g. during package
build in poudriere). This environment variable makes webkit survive
the package build.
PR: 243680
Submitted by: v1ne2go
Approved by: portmgr blanket (trivial and tested build fix)
Modified:
head/net/liferea/Makefile
Modified: head/net/liferea/Makefile
==============================================================================
--- head/net/liferea/Makefile Wed Jan 29 21:25:10 2020 (r524608)
+++ head/net/liferea/Makefile Wed Jan 29 21:53:16 2020 (r524609)
@@ -11,8 +11,6 @@ COMMENT= Simple RSS/RDF feed reader
LICENSE= GPLv2
-BROKEN= fails to build
-
BUILD_DEPENDS= gsettings-desktop-schemas>=0:devel/gsettings-desktop-schemas
LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \
libwebkit2gtk-4.0.so:www/webkit2-gtk3 \
@@ -30,6 +28,11 @@ USE_GNOME= cairo dconf:run gtk30 intltool introspectio
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
CONFIGURE_ARGS= --enable-introspection
+
+# Introspection starts the program, but it may hang or crash-abort
+# without an X server because the Webkit compositor tries to initialize
+# a graphics backend
+MAKE_ENV+= WEBKIT_DISABLE_COMPOSITING_MODE=1
GLIB_SCHEMAS= net.sf.liferea.gschema.xml
INSTALLS_ICONS= yes
More information about the svn-ports-head
mailing list