Date: Tue, 30 Jan 2018 18:54:06 +0000 (UTC) From: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> 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 Message-ID: <201801301854.w0UIs65n042840@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801301854.w0UIs65n042840>