Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2020 21:53:16 +0000 (UTC)
From:      Christoph Moench-Tegeder <cmt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r524609 - head/net/liferea
Message-ID:  <202001292153.00TLrG3H014284@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001292153.00TLrG3H014284>