git: aca2d57f1b19 - main - deskutils/coregarage: Update to 5.0.0

From: Jason W. Bacon <jwb_at_FreeBSD.org>
Date: Tue, 16 Sep 2025 13:44:02 UTC
The branch main has been updated by jwb:

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

commit aca2d57f1b19d49a76671944f7eba41e337e70a5
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2025-09-16 13:36:32 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2025-09-16 13:36:32 +0000

    deskutils/coregarage: Update to 5.0.0
    
    Switch to Qt6
    Changes: https://gitlab.com/cubocore/coreapps/coregarage/-/commits/master
    
    PR:             289559
    Reported by:    diizzy
---
 deskutils/coregarage/Makefile                      | 23 +++++++++++-----------
 deskutils/coregarage/distinfo                      |  6 +++---
 .../{patch-settings.cpp => patch-src_settings.cpp} |  6 +++---
 3 files changed, 17 insertions(+), 18 deletions(-)

diff --git a/deskutils/coregarage/Makefile b/deskutils/coregarage/Makefile
index 9918b48ff24c..b4279f11a5c2 100644
--- a/deskutils/coregarage/Makefile
+++ b/deskutils/coregarage/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	coregarage
-DISTVERSION=	4.5.0
+DISTVERSION=	5.0.0
 CATEGORIES=	deskutils
 
 MAINTAINER=	jwb@FreeBSD.org
@@ -9,28 +9,27 @@ WWW=		https://gitlab.com/cubocore/coregarage
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-LIB_DEPENDS=	libarchiveqt5.so:archivers/libarchive-qt \
-		libcprime-core.so:deskutils/libcprime
+LIB_DEPENDS=	libcprime-core.so:deskutils/libcprime
 
-USES=		cmake desktop-file-utils localbase:ldflags qt:5
-USE_QT=		buildtools:build core gui network qmake:build widgets
+USES=		cmake desktop-file-utils localbase:ldflags qt:6
+USE_QT=		base tools:build
 USE_GITLAB=	yes
 
 GL_ACCOUNT=	CuboCore
-GL_TAGNAME=	c03fd7d1bd37d4a11017cf242c55c66b157033fa
+GL_TAGNAME=	v5.0.0
 
 PLIST_FILES=	bin/coregarage \
-		share/applications/org.cubocore.CoreGarage.desktop \
-		share/icons/hicolor/scalable/apps/org.cubocore.CoreGarage.svg
+		share/applications/cc.cubocore.CoreGarage.desktop \
+		share/icons/hicolor/scalable/apps/cc.cubocore.CoreGarage.svg
 
 pre-configure:
 	@${REINPLACE_CMD} \
 		-e 's|/usr/bin|${PREFIX}/bin|g' \
 		-e 's|/usr/lib|${PREFIX}/lib|g' \
 		-e 's|/usr/share|${PREFIX}/share|g' \
-		${WRKSRC}/coregarage.cpp \
-		${WRKSRC}/coregarage.h \
-		${WRKSRC}/org.cubocore.CoreGarage.desktop \
-		${WRKSRC}/settings.cpp
+		${WRKSRC}/src/coregarage.cpp \
+		${WRKSRC}/src/settings.cpp \
+		${WRKSRC}/src/coregarage.h \
+		${WRKSRC}/cc.cubocore.CoreGarage.desktop
 
 .include <bsd.port.mk>
diff --git a/deskutils/coregarage/distinfo b/deskutils/coregarage/distinfo
index 14de16709547..2126d8573ca2 100644
--- a/deskutils/coregarage/distinfo
+++ b/deskutils/coregarage/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1730204804
-SHA256 (CuboCore-coregarage-c03fd7d1bd37d4a11017cf242c55c66b157033fa_GL0.tar.gz) = bfdf824302448466df9de5ded410378db2cb21e0f1957a5ce03522e8ac6cd90a
-SIZE (CuboCore-coregarage-c03fd7d1bd37d4a11017cf242c55c66b157033fa_GL0.tar.gz) = 102326
+TIMESTAMP = 1757764557
+SHA256 (coregarage-v5.0.0.tar.bz2) = eb047b3f0b2627c9a7e479625c66b30153254dc63b931eee8bc039ca054d1867
+SIZE (coregarage-v5.0.0.tar.bz2) = 96707
diff --git a/deskutils/coregarage/files/patch-settings.cpp b/deskutils/coregarage/files/patch-src_settings.cpp
similarity index 81%
rename from deskutils/coregarage/files/patch-settings.cpp
rename to deskutils/coregarage/files/patch-src_settings.cpp
index 7bb7311ada83..8358ca5ffe65 100644
--- a/deskutils/coregarage/files/patch-settings.cpp
+++ b/deskutils/coregarage/files/patch-src_settings.cpp
@@ -1,9 +1,9 @@
---- settings.cpp.orig	2023-08-27 20:32:18 UTC
-+++ settings.cpp
+--- src/settings.cpp.orig	2025-09-13 11:52:38 UTC
++++ src/settings.cpp
 @@ -177,9 +177,9 @@ void settings::setDefaultSettings(QSettings& settings)
      // Add system font to CorePad, CoreTerminal
      QFont monoFont = QFontDatabase::systemFont(QFontDatabase::FixedFont);
-     if ( not monoFont.family().count() ) {
+     if ( not monoFont.family().length() ) {
 -        monoFont = QFont("monospace", 9);}
 +        monoFont = QFont("monospace", 12);}
      if (monoFont.styleHint() != QFont::Monospace) {