git: 16f1d251ee48 - main - x11/coreterminal: Update to 4.5.0

From: Jason W. Bacon <jwb_at_FreeBSD.org>
Date: Tue, 29 Oct 2024 14:33:40 UTC
The branch main has been updated by jwb:

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

commit 16f1d251ee483141cbef36292fa8fb3da6b9a79f
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2024-10-29 14:32:55 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2024-10-29 14:32:55 +0000

    x11/coreterminal: Update to 4.5.0
    
    Bug fixes and minor improvements
    Changes: https://gitlab.com/cubocore/coreapps/coreterminal/-/commits/\
             master?ref_type=heads
---
 x11/coreterminal/Makefile                 |  5 ++---
 x11/coreterminal/distinfo                 |  6 +++---
 x11/coreterminal/files/patch-settings.cpp | 31 +++++++++++++++++++------------
 3 files changed, 24 insertions(+), 18 deletions(-)

diff --git a/x11/coreterminal/Makefile b/x11/coreterminal/Makefile
index 165166bc6924..d52440e5e0a0 100644
--- a/x11/coreterminal/Makefile
+++ b/x11/coreterminal/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	coreterminal
-DISTVERSION=	4.3.0
-PORTREVISION=	4
+DISTVERSION=	4.5.0
 CATEGORIES=	x11
 
 MAINTAINER=	jwb@FreeBSD.org
@@ -19,7 +18,7 @@ USE_QT=		buildtools:build core gui qmake:build serialport widgets
 USE_GITLAB=	yes
 
 GL_ACCOUNT=	CuboCore
-GL_TAGNAME=	679b317d1612dcdd54596ba5bf313d60bebc808e
+GL_TAGNAME=	a04d47537f2d01d1742d11dd4d28adc401a19a0c
 
 PLIST_FILES=	bin/coreterminal \
 		share/applications/org.cubocore.CoreTerminal.desktop \
diff --git a/x11/coreterminal/distinfo b/x11/coreterminal/distinfo
index 256ae97ee6f6..436fbad376c6 100644
--- a/x11/coreterminal/distinfo
+++ b/x11/coreterminal/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1655761434
-SHA256 (CuboCore-coreterminal-679b317d1612dcdd54596ba5bf313d60bebc808e_GL0.tar.gz) = 610e380a6b738a80fb6d871d19dd9979f32155255fafd2e7733b92536d713c18
-SIZE (CuboCore-coreterminal-679b317d1612dcdd54596ba5bf313d60bebc808e_GL0.tar.gz) = 74556
+TIMESTAMP = 1730204631
+SHA256 (CuboCore-coreterminal-a04d47537f2d01d1742d11dd4d28adc401a19a0c_GL0.tar.gz) = c83f83f043ce53d7e38f3dc4a0d87686867d49c248ada7abd9f89453bdcd17e1
+SIZE (CuboCore-coreterminal-a04d47537f2d01d1742d11dd4d28adc401a19a0c_GL0.tar.gz) = 74484
diff --git a/x11/coreterminal/files/patch-settings.cpp b/x11/coreterminal/files/patch-settings.cpp
index 3b6041ca7294..47da1a755ab8 100644
--- a/x11/coreterminal/files/patch-settings.cpp
+++ b/x11/coreterminal/files/patch-settings.cpp
@@ -1,16 +1,23 @@
---- settings.cpp.orig	2021-08-19 22:10:26 UTC
+--- settings.cpp.orig	2024-10-29 12:23:05 UTC
 +++ settings.cpp
-@@ -92,11 +92,11 @@ void settings::setDefaultSettings()
- 	QFont monoFont = QFontDatabase::systemFont(QFontDatabase::FixedFont);
+@@ -137,9 +137,9 @@ void settings::setAppDefaultSettings(QSettings &settin
+     // Add system font to CoreTerminal
+     QFont monoFont = QFontDatabase::systemFont(QFontDatabase::FixedFont);
+     if ( not monoFont.family().count() ) {
+-        monoFont = QFont("monospace", 9);}
++        monoFont = QFont("monospace", 12);}
+     if (monoFont.styleHint() != QFont::Monospace) {
+-        monoFont = QFont("monospace", 9);}
++        monoFont = QFont("monospace", 12);}
  
- 	if (not monoFont.family().count()) {
--		monoFont = QFont("monospace", 9);
-+		monoFont = QFont("monospace", 12);
- 	}
+     struct passwd *pwent;
+     pwent = getpwuid(getuid());
+@@ -182,7 +182,7 @@ void settings::setAppDefaultSettings(QSettings &settin
  
- 	if (monoFont.styleHint() != QFont::Monospace) {
--		monoFont = QFont("monospace", 9);
-+		monoFont = QFont("monospace", 12);
- 	}
+     // Check if "CoreTerminal/Columns" exists
+     if (!settings.contains("CoreTerminal/Columns")) {
+-        settings.setValue("CoreTerminal/Columns", 120);}
++        settings.setValue("CoreTerminal/Columns", 80);}
  
- 	cSetting->setValue("CoreTerminal/Font", monoFont);
+     cSetting->sync();
+ }