From owner-svn-ports-all@freebsd.org Tue Jan 30 18:54:07 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9E2FEDBF4A; Tue, 30 Jan 2018 18:54:07 +0000 (UTC) (envelope-from acm@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7B3177B9B6; Tue, 30 Jan 2018 18:54:07 +0000 (UTC) (envelope-from acm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 761571B272; Tue, 30 Jan 2018 18:54:07 +0000 (UTC) (envelope-from acm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0UIs7Mf042846; Tue, 30 Jan 2018 18:54:07 GMT (envelope-from acm@FreeBSD.org) Received: (from acm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0UIs65n042840; Tue, 30 Jan 2018 18:54:06 GMT (envelope-from acm@FreeBSD.org) Message-Id: <201801301854.w0UIs65n042840@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: acm set sender to acm@FreeBSD.org using -f From: Jose Alonso Cardenas Marquez Date: Tue, 30 Jan 2018 18:54:06 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r460429 - in head/editors: . lazarus lazarus-lcl-units lazarus/files X-SVN-Group: ports-head X-SVN-Commit-Author: acm X-SVN-Commit-Paths: in head/editors: . lazarus lazarus-lcl-units lazarus/files X-SVN-Commit-Revision: 460429 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Jan 2018 18:54:08 -0000 Author: acm Date: Tue Jan 30 18:54:06 2018 New Revision: 460429 URL: https://svnweb.freebsd.org/changeset/ports/460429 Log: - Update to 1.8.0 - Connect editors/lazarus-lcl-qt5 port Added: head/editors/lazarus/files/patch-components-synedit_synedit.pp (contents, props changed) Modified: head/editors/Makefile head/editors/lazarus-lcl-units/Makefile head/editors/lazarus/Makefile head/editors/lazarus/distinfo head/editors/lazarus/files/pkg-message.in Modified: head/editors/Makefile ============================================================================== --- head/editors/Makefile Tue Jan 30 18:52:05 2018 (r460428) +++ head/editors/Makefile Tue Jan 30 18:54:06 2018 (r460429) @@ -77,6 +77,7 @@ SUBDIR += lazarus-lcl-gtk2 SUBDIR += lazarus-lcl-nogui SUBDIR += lazarus-lcl-qt + SUBDIR += lazarus-lcl-qt5 SUBDIR += lazarus-lcl-units SUBDIR += le SUBDIR += leafpad Modified: head/editors/lazarus-lcl-units/Makefile ============================================================================== --- head/editors/lazarus-lcl-units/Makefile Tue Jan 30 18:52:05 2018 (r460428) +++ head/editors/lazarus-lcl-units/Makefile Tue Jan 30 18:54:06 2018 (r460429) @@ -6,7 +6,7 @@ PKGNAMESUFFIX= -lcl-units COMMENT= Lazarus components library units USE_FPC= fcl-base fcl-db fcl-image fcl-json fcl-registry \ - fcl-res fcl-xml iconvenc pasjpeg + fcl-res fcl-xml iconvenc pasjpeg regexpr LCL_INTERFACE= # Modified: head/editors/lazarus/Makefile ============================================================================== --- head/editors/lazarus/Makefile Tue Jan 30 18:52:05 2018 (r460428) +++ head/editors/lazarus/Makefile Tue Jan 30 18:54:06 2018 (r460429) @@ -2,11 +2,10 @@ # $FreeBSD$ PORTNAME= lazarus -PORTVERSION= 1.6.4 -DISTVERSIONSUFFIX= -0 +PORTVERSION= 1.8.0 PORTREVISION?= 0 CATEGORIES= editors devel -MASTER_SITES= SF/${PORTNAME}/Lazarus%20Zip%20_%20GZip/Lazarus%20${PORTVERSION:S/.0//} \ +MASTER_SITES= SF/${PORTNAME}/Lazarus%20Zip%20_%20GZip/Lazarus%20${PORTVERSION} \ LOCAL/acm/freepascal DIST_SUBDIR= freepascal @@ -33,11 +32,12 @@ DATADIR?= ${PREFIX}/share/${PORTNAME}-${PORTVERSION} .if !defined(PKGNAMESUFFIX) OPTIONS_DEFINE= GDB OPTIONS_SINGLE= LCL -OPTIONS_SINGLE_LCL= GTK2 QT4 +OPTIONS_SINGLE_LCL= GTK2 QT4 QT5 GDB_DESC= Install a newest version of gdb GTK2_DESC= Use gtk20 interface QT4_DESC= Use qt4 interface +QT5_DESC= Use qt5 interface OPTIONS_DEFAULT= GTK2 GDB .endif @@ -82,6 +82,13 @@ BUILD_DEPENDS+= ${LCL_UNITS_DIR}/${LCL_PLATFORM}/inter RUN_DEPENDS+= ${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:editors/lazarus-lcl-qt .endif +.if ${PORT_OPTIONS:MQT5} +LIB_DEPENDS+= libQt5Pas.so:x11-toolkits/qt5pas +LCL_PLATFORM= qt5 +BUILD_DEPENDS+= ${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:editors/lazarus-lcl-qt5 +RUN_DEPENDS+= ${LCL_UNITS_DIR}/${LCL_PLATFORM}/interfaces.ppu:editors/lazarus-lcl-qt5 +.endif + post-extract: @${MKDIR} ${WRKDIR}/man1 @${MV} ${WRKSRC}/install/man/man1/lazarus-ide.1 ${WRKDIR}/man1/ @@ -92,7 +99,7 @@ post-extract: post-patch: @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' -e 's|%%DATADIR%%|${DATADIR}|g' \ - -e 's|tools: lcl|tools:|g' -e '3080d' -e '3082d' -e '3083d' -e '3084d' -e '3085d' -e '3086d' ${WRKSRC}/${MAKEFILE} + -e 's|tools: lcl|tools:|g' -e '3267d' -e '3269d' -e '3270d' -e '3271d' -e '3272d' -e '3273d' ${WRKSRC}/${MAKEFILE} pre-build: @${LN} -sf ${LOCALBASE}/share/${PORTNAME}-${PORTVERSION}/lcl/units ${WRKSRC}/lcl/units Modified: head/editors/lazarus/distinfo ============================================================================== --- head/editors/lazarus/distinfo Tue Jan 30 18:52:05 2018 (r460428) +++ head/editors/lazarus/distinfo Tue Jan 30 18:54:06 2018 (r460429) @@ -1,3 +1,3 @@ -TIMESTAMP = 1488377664 -SHA256 (freepascal/lazarus-1.6.4-0.tar.gz) = 336654c5ad32244e64a56511108965b6b8eb25fe5882f61b2c15a24d8435a5e2 -SIZE (freepascal/lazarus-1.6.4-0.tar.gz) = 57180961 +TIMESTAMP = 1513100874 +SHA256 (freepascal/lazarus-1.8.0.tar.gz) = 320888ba1af17295b8d3993d50c31780d137e363e05797e3575eee90f3b3a844 +SIZE (freepascal/lazarus-1.8.0.tar.gz) = 62114372 Added: head/editors/lazarus/files/patch-components-synedit_synedit.pp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/lazarus/files/patch-components-synedit_synedit.pp Tue Jan 30 18:54:06 2018 (r460429) @@ -0,0 +1,20 @@ +--- components/synedit/synedit.pp 2018-01-30 13:41:54.904942000 -0500 ++++ components/synedit/synedit.pp 2018-01-30 13:40:23.811860000 -0500 +@@ -8945,7 +8945,7 @@ + while not Highlighter.GetEol do begin + Start := Highlighter.GetTokenPos + 1; + Token := Highlighter.GetToken; +- if (PosX >= Start) and (PosX <= Start + Length(Token)) then begin ++ if (PosX >= Start) and (PosX < Start + Length(Token)) then begin + Attri := Highlighter.GetTokenAttribute; + TokenType := Highlighter.GetTokenKind; + exit(True); +@@ -8990,7 +8990,7 @@ + //TokenType := Highlighter.GetTokenKind; + Attri := Highlighter.GetTokenAttribute; + //DebugLn([' TCustomSynEdit.CaretAtIdentOrString: Start=', Start, ', Token=', Token]); +- if (PosX >= Start) and (PosX <= Start + Length(Token)) then ++ if (PosX >= Start) and (PosX < Start + Length(Token)) then + begin + AtIdent := Attri = Highlighter.IdentifierAttribute; + NearString := (Attri = Highlighter.StringAttribute) Modified: head/editors/lazarus/files/pkg-message.in ============================================================================== --- head/editors/lazarus/files/pkg-message.in Tue Jan 30 18:52:05 2018 (r460428) +++ head/editors/lazarus/files/pkg-message.in Tue Jan 30 18:54:06 2018 (r460429) @@ -27,8 +27,9 @@ The Lazarus RAD was installed editors/lazarus-lcl-nogui editors/lazarus-lcl-gtk2 editors/lazarus-lcl-qt + editors/lazarus-lcl-qt5 - You can added those ports if you want support for nogui, gtk2 or qt + You can added those ports if you want support for nogui, gtk2, qt or qt5 interfaces. Please look at net-p2p/transmission-remote-gui like a example of how use it