From nobody Sun Oct 29 17:52:45 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SJPBQ1TVWz4y0K0; Sun, 29 Oct 2023 17:52:46 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SJPBQ0hQLz4Hdr; Sun, 29 Oct 2023 17:52:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698601966; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NSqHl+fOTs0b4jPHaWjsFgiW8Pkeh26Qb15tkhi5/bw=; b=IwgpgoLloSFzcWOp+gbM/5fm/DzuJTpEpqMqJhqXxgydxCSENYHZy2rgZNDxG7V2nwk08r EVrkYbDQguh06DZR8lh9Z1RmEvXVp2CZjNH7U+vyogDEau+2Ildz0JFW3XWle0sVbEMlwI 7oTSeJ4ngl01w1+1HrTiMP/VI4X7SN2rMbCiy7rG/AeDxCs238lan81rIt4/kqcugDowVq 02t9QDfu0OjpNLEKPlroUD4sIXwmWNfKVr6K4ccatXHoq2CzcvfGIDPGlA83B6V6Qst++R AXSjtcqty4YkUmvWMST1q/pyAmOdcQ0sQIwQd9pmKVMG/9N8XTAgh6o2Y0cBLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698601966; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=NSqHl+fOTs0b4jPHaWjsFgiW8Pkeh26Qb15tkhi5/bw=; b=iKss8Ywa4EFmfNkL7rqTIGC5GGspxRh2e7c6wF2DTrNBcV0gPWVfEYMgAQ8PorVND8ZYnE wUzpbSAK84E4yosWrXp1V+DI8xWekt2/ERr8VqdW1TJ8g9x2HPuijjm/+wEzkPDbiBrHlP dDotXLIC6TCbmdTcUq7Yw8rftXRFaqO2pHasFTVQ3QgAgTxXlufcJ8n0o8BSlEr3cXwHzT G+6AfvnbjShbcxR4CLivsNNqVofX3/rPvtpdygUzf7znNIVfhrx5OLaeW4sd3YxAa+9k4F ejKQxFMKEKWv2DdkVVAi7/hT/bK3xIuClBoKkmHdoq1kTRZhCHj/qHMKbfYNXg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698601966; a=rsa-sha256; cv=none; b=LSqJb5AfaW73/ZPKIhyr0C+oVGCJemMFG9Bs0qFRviyV3bjAmFLl6ZME1R/O/hvA2siZy6 Za0GoiSHC27porQlwwx8l2mFB/LosPm5EhgrQCYxRhaLyOwjnY4tQCmx9GTf3RuRSU/2Pl oNAfmqeXy8TYVewJVws7dV8qqZIJZK58npsnR9NmLdD9LJlI4N/sLkk2OEHx5lFlfUqenX etL3+0H1JHJfFOemiQ3eL5SnBvDn1EbGnejMqb4iDcXyOtKhREV+Mz7i9Sg4PKo/83fzrX gCvhjqfcd5RSL146FJSg7iG8t6fUKFAAI0R2BAr+Ht2YTXNBT7KjH+ISXsPLmQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SJPBP6vlGzp1g; Sun, 29 Oct 2023 17:52:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39THqjil027533; Sun, 29 Oct 2023 17:52:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39THqj9t027530; Sun, 29 Oct 2023 17:52:45 GMT (envelope-from git) Date: Sun, 29 Oct 2023 17:52:45 GMT Message-Id: <202310291752.39THqj9t027530@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jose Alonso Cardenas Marquez Subject: git: c626e9b7f55e - main - editors/lazarus-*-devel: Update to 3.0.0.20231028 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: acm X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c626e9b7f55e7351efe5f2016f3ddd06c37e08d9 Auto-Submitted: auto-generated The branch main has been updated by acm: URL: https://cgit.FreeBSD.org/ports/commit/?id=c626e9b7f55e7351efe5f2016f3ddd06c37e08d9 commit c626e9b7f55e7351efe5f2016f3ddd06c37e08d9 Author: Jose Alonso Cardenas Marquez AuthorDate: 2023-10-29 17:46:47 +0000 Commit: Jose Alonso Cardenas Marquez CommitDate: 2023-10-29 17:52:20 +0000 editors/lazarus-*-devel: Update to 3.0.0.20231028 - Update pkg-message.in file - Add -p to ${INSTALL_DATA} to preserves the access and modification times. It avoids issues with checksum changes and it improves compile time when lazarus ide is rebuild by users. - Update CONFLICTS --- editors/lazarus-devel/Makefile | 28 +++++++++++++++------------- editors/lazarus-devel/distinfo | 6 +++--- editors/lazarus-devel/files/pkg-message.in | 13 ++++++++----- editors/lazarus-qt5-devel/Makefile | 2 +- 4 files changed, 27 insertions(+), 22 deletions(-) diff --git a/editors/lazarus-devel/Makefile b/editors/lazarus-devel/Makefile index ab2d90fda05b..81f113241fdc 100644 --- a/editors/lazarus-devel/Makefile +++ b/editors/lazarus-devel/Makefile @@ -1,7 +1,7 @@ PORTNAME= lazarus -PORTVERSION= 2.3.0 +DISTVERSION= 3.0.0.20231028 PKGNAMESUFFIX?= -gtk2-devel -PORTREVISION?= 2 +PORTREVISION?= 0 CATEGORIES= editors devel DIST_SUBDIR= freepascal @@ -9,7 +9,7 @@ MAINTAINER?= acm@FreeBSD.org COMMENT?= Portable Delphi-like IDE for the FreePascal compiler (GTK2 devel) WWW= https://www.lazarus-ide.org/ -CONFLICTS?= ${PORTNAME}-qt5-* ${PORTNAME}-gtk2-2* +CONFLICTS?= lazarus-gtk2 lazarus-qt5 lazarus-qt5-devel lazarus-qt6-devel BUILD_DEPENDS?= ${LOCALBASE}/bin/as:devel/binutils \ fpcres:lang/fpc-utils @@ -23,7 +23,7 @@ ONLY_FOR_ARCHS= i386 amd64 USE_GITLAB= yes GL_ACCOUNT= freepascal.org/lazarus GL_PROJECT= ${PORTNAME} -GL_TAGNAME= 8d4b429879fc99ee4652c966015e19e2cb1131d8 +GL_COMMIT= da69f50a82ed2c57fdecc26023f75431bffe3d42 USES= desktop-file-utils fpc:run gettext gmake iconv shared-mime-info xorg USE_FPC?= chm cairo dblib fcl-base fcl-db fcl-fpcunit fcl-image fcl-json fcl-net \ @@ -36,7 +36,7 @@ OPT?= "-Sgic " MAKE_ENV= OPT=${OPT} PLIST= ${WRKDIR}/pkg-plist #WRKSRC?= ${WRKDIR}/${PORTNAME} -DATADIR?= ${PREFIX}/share/${PORTNAME}-${PORTVERSION} +DATADIR?= ${PREFIX}/share/${PORTNAME}-${LAZARUS_BASE} OPTIONS_DEFINE= GDB GDB_DESC= Install a newest version of gdb @@ -45,6 +45,7 @@ OPTIONS_DEFAULT= GDB .include LAZARUS_ARCH= ${ARCH:S,amd64,x86_64,} +LAZARUS_BASE= 3.0.0 BUILDNAME= ${LAZARUS_ARCH}-${OPSYS:tl} LCL_PLATFORM?= gtk2 @@ -79,13 +80,14 @@ post-patch: do-build: @cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} bigide LCL_PLATFORM=${LCL_PLATFORM} - @cd ${WRKSRC} && \ - ${SETENV} ${MAKE_ENV} ${MAKE_CMD} tools LCL_PLATFORM=${LCL_PLATFORM} post-build: @cd ${WRKSRC} && \ ${RM} -R COPYING* README* debian localize.bat test *.orig *.bak startlazarus.app \ - ide/Makefile*.orig ide/Makefile*.bak lcl/interfaces/qt5/qtobjects.pas.orig + ide/Makefile*.orig ide/Makefile*.bak lcl/interfaces/qt5/qtobjects.pas.orig \ + .git* + @cd ${WRKSRC} && \ + ${FIND} . -name ".gitignore" -exec ${RM} "{}" \; pre-install: @${ECHO} "#!/bin/sh" > ${WRKDIR}/lazarus-wrapper @@ -135,24 +137,24 @@ do-install: @${MKDIR} ${STAGEDIR}${DATADIR}/${DIRE} @cd ${WRKSRC}/${DIRE} && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; && \ - ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; + ${FIND} * -type f -exec ${INSTALL_DATA} -p {} "${STAGEDIR}${DATADIR}/${DIRE}/{}" \; .endfor @${CHMOD} +x ${STAGEDIR}${DATADIR}/tools/svn2revisioninc ${STAGEDIR}${DATADIR}/tools/lazres ${STAGEDIR}${DATADIR}/tools/lrstolfm \ ${STAGEDIR}${DATADIR}/tools/updatepofiles -.for FILE in lazarus startlazarus lazbuild +.for FILE in lazarus lazbuild startlazarus ${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${STAGEDIR}${DATADIR} .endfor @cd ${WRKDIR}/docs && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DOCSDIR}/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${DOCSDIR}/{}" \; - @${LN} -s ${DOCSDIR} ${STAGEDIR}${DATADIR}/docs + @${LN} -sf ${DOCSDIR} ${STAGEDIR}${DATADIR}/docs @cd ${WRKDIR}/examples && \ ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${EXAMPLESDIR}/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} {} "${STAGEDIR}${EXAMPLESDIR}/{}" \; - @${LN} -s ${EXAMPLESDIR} ${STAGEDIR}${DATADIR}/examples + @${LN} -sf ${EXAMPLESDIR} ${STAGEDIR}${DATADIR}/examples .for RESO in 128 16 256 32 48 64 @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${RESO}x${RESO}/apps @@ -177,6 +179,6 @@ do-install: .for FILE in ${MAN1S} ${INSTALL_MAN} ${WRKDIR}/man1/${FILE} ${STAGEDIR}${MAN1PREFIX}/man/man1 .endfor - ${LN} -s ${DATADIR}/lazbuild ${STAGEDIR}${PREFIX}/bin/lazbuild + ${LN} -sf ${DATADIR}/lazbuild ${STAGEDIR}${PREFIX}/bin/lazbuild .include diff --git a/editors/lazarus-devel/distinfo b/editors/lazarus-devel/distinfo index 9940d2fd918b..7eae0648f22a 100644 --- a/editors/lazarus-devel/distinfo +++ b/editors/lazarus-devel/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1679285267 -SHA256 (freepascal/freepascal.org/lazarus-lazarus-8d4b429879fc99ee4652c966015e19e2cb1131d8_GL0.tar.gz) = 4be74d6421296ed76309ef09a6471ae2064c05130373012bfcc1beb6a83d78ff -SIZE (freepascal/freepascal.org/lazarus-lazarus-8d4b429879fc99ee4652c966015e19e2cb1131d8_GL0.tar.gz) = 57272154 +TIMESTAMP = 1698534530 +SHA256 (freepascal/freepascal.org/lazarus-lazarus-da69f50a82ed2c57fdecc26023f75431bffe3d42_GL0.tar.gz) = 2976846d842e5812bd225c33a34fc21562e044d22064c6dc7edf45db87784985 +SIZE (freepascal/freepascal.org/lazarus-lazarus-da69f50a82ed2c57fdecc26023f75431bffe3d42_GL0.tar.gz) = 56191429 diff --git a/editors/lazarus-devel/files/pkg-message.in b/editors/lazarus-devel/files/pkg-message.in index c0eeec2ddd9a..75ba689d4185 100644 --- a/editors/lazarus-devel/files/pkg-message.in +++ b/editors/lazarus-devel/files/pkg-message.in @@ -19,27 +19,30 @@ The Lazarus RAD devel was installed 4) You can use %%LOCALBASE%%/bin/gdb debugger instead of gdb installed debugger installed from base system. Lazarus works better with this version. -5) The lazbuild.cfg file has been removed, it is not necessary anymore. Now - we can use the following ports for aplications that depend of lazarus +5) We can use the following ports for aplications that depend of lazarus and these can be built with an interface different than lazarus has compiled by default: editors/lazarus + editors/lazarus-devel editors/lazarus-qt5 + editors/lazarus-qt5-devel + editors/lazarus-qt6-devel - You can added those ports if you want support for gtk2 or qt5 + You can added those ports if you want support for gtk2, qt5 or qt6 interfaces. Please look at net-p2p/transmission-remote-gui like a example of how use it -6) If you want built apps using trunk version of lazarus, you must add the +6) If you want built apps using devel version of lazarus, you must add the following into /etc/make.conf file WANT_LAZARUS_DEVEL= yes - It is neccesary for use devel version of lazarus (gtk2 or qt5) + It is neccesary for use devel version of lazarus (gtk2, qt5 or qt6) editors/lazarus-devel editors/lazarus-qt5-devel + editors/lazarus-qt6-devel 7) Enjoy it ;) EOM diff --git a/editors/lazarus-qt5-devel/Makefile b/editors/lazarus-qt5-devel/Makefile index 981398114ed0..92cad89c3d2e 100644 --- a/editors/lazarus-qt5-devel/Makefile +++ b/editors/lazarus-qt5-devel/Makefile @@ -2,7 +2,7 @@ PKGNAMESUFFIX?= -qt5-devel COMMENT= Portable Delphi-like IDE for the FreePascal compiler (QT5 devel) -CONFLICTS= ${PORTNAME}-gtk2-* ${PORTNAME}-qt5-2* +CONFLICTS= lazarus-gtk2 lazarus-gtk2-devel lazarus-qt5 lazarus-qt6-devel LIB_DEPENDS= libQt5Pas.so:x11-toolkits/qt5pas