Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Mar 2019 17:11:32 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r495178 - in head/net/x2goclient: . files
Message-ID:  <201903091711.x29HBWpV068587@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sat Mar  9 17:11:32 2019
New Revision: 495178
URL: https://svnweb.freebsd.org/changeset/ports/495178

Log:
  net/x2goclient: switch to using Qt5

Added:
  head/net/x2goclient/files/patch-src_printwidget.cpp   (contents, props changed)
Modified:
  head/net/x2goclient/Makefile

Modified: head/net/x2goclient/Makefile
==============================================================================
--- head/net/x2goclient/Makefile	Sat Mar  9 16:41:54 2019	(r495177)
+++ head/net/x2goclient/Makefile	Sat Mar  9 17:11:32 2019	(r495178)
@@ -3,6 +3,7 @@
 
 PORTNAME=	x2goclient
 PORTVERSION=	4.1.0.0
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	http://code.x2go.org/releases/source/x2goclient/
 
@@ -12,11 +13,6 @@ COMMENT=	Qt client for the X2Go system
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BROKEN=		fails to build
-
-DEPRECATED=		Qt4 has been EOL since december 2015
-EXPIRATION_DATE=	2019-03-15
-
 # Avoid clash with libssh from base
 BUILD_DEPENDS=	${LOCALBASE}/lib/libssh.so:security/libssh
 LIB_DEPENDS=	libcups.so:print/cups \
@@ -24,10 +20,11 @@ LIB_DEPENDS=	libcups.so:print/cups \
 RUN_DEPENDS=	nxproxy:net/nxproxy \
 		x2goclient-cli:net/x2goclient-cli
 
-USES=		qmake qt:4
+USES=		gl qmake qt:5
+USE_GL=		gl
 USE_XORG=	x11 xpm
-USE_QT=		corelib gui network svg \
-		linguisttools_build moc_build rcc_build uic_build
+USE_QT=		core gui network svg widgets x11extras  \
+		buildtools_build linguisttools_build qmake_build
 QMAKE_ARGS=	QMAKE_LRELEASE="${LRELEASE}"
 
 OPTIONS_DEFINE=		DOCS LDAP

Added: head/net/x2goclient/files/patch-src_printwidget.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/x2goclient/files/patch-src_printwidget.cpp	Sat Mar  9 17:11:32 2019	(r495178)
@@ -0,0 +1,11 @@
+--- src/printwidget.cpp.orig	2019-03-09 16:48:28 UTC
++++ src/printwidget.cpp
+@@ -26,6 +26,8 @@
+ #ifdef Q_OS_WIN
+ #include "wapi.h"
+ #endif
++#include <QButtonGroup>
++
+ PrintWidget::PrintWidget ( QWidget* parent )
+ 		: QWidget ( parent )
+ {



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