git: f46813a5ef78 - main - editors/lazarus*: update to 3.4.0

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Sun, 16 Jun 2024 08:26:48 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f46813a5ef78be9cd0f3512589ef87fdb5df6951

commit f46813a5ef78be9cd0f3512589ef87fdb5df6951
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2024-06-16 08:11:23 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-06-16 08:26:33 +0000

    editors/lazarus*: update to 3.4.0
    
    - Remove obsolete patch files
---
 editors/lazarus-qt5/Makefile                               |  2 --
 editors/lazarus-qt6/Makefile                               |  2 --
 editors/lazarus/Makefile                                   |  8 ++++----
 editors/lazarus/distinfo                                   |  6 +++---
 .../lazarus/files/patch-lcl_interfaces_qt5_qtwidgets.pas   | 11 -----------
 .../lazarus/files/patch-lcl_interfaces_qt6_qtwidgets.pas   | 14 --------------
 6 files changed, 7 insertions(+), 36 deletions(-)

diff --git a/editors/lazarus-qt5/Makefile b/editors/lazarus-qt5/Makefile
index ec166591334a..fdbad1d94475 100644
--- a/editors/lazarus-qt5/Makefile
+++ b/editors/lazarus-qt5/Makefile
@@ -1,5 +1,3 @@
-PORTREVISION=	1
-
 PKGNAMESUFFIX?=  -qt5
 
 COMMENT=	Portable Delphi-like IDE for the FreePascal compiler (QT5)
diff --git a/editors/lazarus-qt6/Makefile b/editors/lazarus-qt6/Makefile
index e9f76dc35150..beda06699a11 100644
--- a/editors/lazarus-qt6/Makefile
+++ b/editors/lazarus-qt6/Makefile
@@ -1,5 +1,3 @@
-PORTREVISION=	2
-
 PKGNAMESUFFIX?=  -qt6
 
 COMMENT=	Portable Delphi-like IDE for the FreePascal compiler (QT6)
diff --git a/editors/lazarus/Makefile b/editors/lazarus/Makefile
index b5c36f008e52..f8c9492dcc72 100644
--- a/editors/lazarus/Makefile
+++ b/editors/lazarus/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	lazarus
-DISTVERSION=	3.2.0
+DISTVERSION=	3.4.0
 PKGNAMESUFFIX?=  -gtk2
-PORTREVISION?=	1
+PORTREVISION?=	0
 CATEGORIES=	editors devel
 DIST_SUBDIR=	freepascal
 
@@ -22,7 +22,7 @@ ONLY_FOR_ARCHS=	i386 amd64
 USE_GITLAB=	yes
 GL_ACCOUNT=	freepascal.org/lazarus
 GL_PROJECT=	${PORTNAME}
-GL_COMMIT=	9c6333cdc4b14205f0098058597835c6fa673ca3
+GL_COMMIT=	34295aa4240319e5179f0ceb7ed86de5104c152a
 
 USES=		desktop-file-utils fpc:run gettext gmake iconv shared-mime-info xorg
 USE_XORG=	x11
@@ -40,7 +40,7 @@ OPTIONS_DEFAULT=	GDB
 .include <bsd.port.options.mk>
 
 LAZARUS_ARCH=	${ARCH:S,amd64,x86_64,}
-LAZARUS_BASE=	3.2.0
+LAZARUS_BASE=	3.4.0
 
 BUILDNAME=	${LAZARUS_ARCH}-${OPSYS:tl}
 LCL_PLATFORM?=	gtk2
diff --git a/editors/lazarus/distinfo b/editors/lazarus/distinfo
index a490961ff40e..91fc005c7e72 100644
--- a/editors/lazarus/distinfo
+++ b/editors/lazarus/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1711252857
-SHA256 (freepascal/freepascal.org/lazarus-lazarus-9c6333cdc4b14205f0098058597835c6fa673ca3_GL0.tar.gz) = 5ba673a52af77bf124d671977052c4af19c6fc1a8bcfdbbb7c45abc60f396ade
-SIZE (freepascal/freepascal.org/lazarus-lazarus-9c6333cdc4b14205f0098058597835c6fa673ca3_GL0.tar.gz) = 56200133
+TIMESTAMP = 1718486238
+SHA256 (freepascal/freepascal.org/lazarus-lazarus-34295aa4240319e5179f0ceb7ed86de5104c152a_GL0.tar.gz) = 62ce715e48861c0480cf8791c924acb1f0a18070d0fdf64e3fe35a5d4814f86a
+SIZE (freepascal/freepascal.org/lazarus-lazarus-34295aa4240319e5179f0ceb7ed86de5104c152a_GL0.tar.gz) = 56215767
diff --git a/editors/lazarus/files/patch-lcl_interfaces_qt5_qtwidgets.pas b/editors/lazarus/files/patch-lcl_interfaces_qt5_qtwidgets.pas
deleted file mode 100644
index 584702005287..000000000000
--- a/editors/lazarus/files/patch-lcl_interfaces_qt5_qtwidgets.pas
+++ /dev/null
@@ -1,11 +0,0 @@
---- lcl/interfaces/qt5/qtwidgets.pas.orig	2024-05-04 04:39:55 UTC
-+++ lcl/interfaces/qt5/qtwidgets.pas
-@@ -10213,7 +10213,7 @@ begin
- 
- procedure TQtTextEdit.setReadOnly(const AReadOnly: Boolean);
- begin
--  {$IFDEF DARWIN} // issue #40246
-+  {$IF DEFINED(DARWIN) OR DEFINED(FREEBSD)} // issue #40246
-   if AReadOnly <> QTextEdit_isReadOnly(QTextEditH(Widget)) then
-   {$ENDIF}
-     QTextEdit_setReadOnly(QTextEditH(Widget), AReadOnly);
diff --git a/editors/lazarus/files/patch-lcl_interfaces_qt6_qtwidgets.pas b/editors/lazarus/files/patch-lcl_interfaces_qt6_qtwidgets.pas
deleted file mode 100644
index 462601cd0328..000000000000
--- a/editors/lazarus/files/patch-lcl_interfaces_qt6_qtwidgets.pas
+++ /dev/null
@@ -1,14 +0,0 @@
---- lcl/interfaces/qt6/qtwidgets.pas.orig	2024-05-04 05:06:13 UTC
-+++ lcl/interfaces/qt6/qtwidgets.pas
-@@ -10243,7 +10243,10 @@ begin
- 
- procedure TQtTextEdit.setReadOnly(const AReadOnly: Boolean);
- begin
--  QTextEdit_setReadOnly(QTextEditH(Widget), AReadOnly);
-+  {$IF DEFINED(DARWIN) OR DEFINED(FREEBSD)} // issue #40246
-+  if AReadOnly <> QTextEdit_isReadOnly(QTextEditH(Widget)) then
-+  {$ENDIF}
-+    QTextEdit_setReadOnly(QTextEditH(Widget), AReadOnly);
- end;
- 
- procedure TQtTextEdit.setSelection(const AStart, ALength: Integer);