git: 6c9645782b54 - main - deskutils/charmtimetracker: Remove expired port

From: Rene Ladan <rene_at_FreeBSD.org>
Date: Wed, 31 Dec 2025 11:02:40 UTC
The branch main has been updated by rene:

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

commit 6c9645782b540b3c0e89f0d22bcfdbb772837bee
Author:     Rene Ladan <rene@FreeBSD.org>
AuthorDate: 2025-12-31 11:02:31 +0000
Commit:     Rene Ladan <rene@FreeBSD.org>
CommitDate: 2025-12-31 11:02:31 +0000

    deskutils/charmtimetracker: Remove expired port
    
    2025-12-31 deskutils/charmtimetracker: Abandoned upstream, upstream repo archived Sep 24, 2023
---
 MOVED                                              |   1 +
 deskutils/Makefile                                 |   1 -
 deskutils/charmtimetracker/Makefile                |  35 -------
 deskutils/charmtimetracker/distinfo                |   3 -
 .../charmtimetracker/files/patch-CMakeLists.txt    |  34 -------
 .../files/patch-Charm_CMakeLists.txt               |  45 ---------
 .../files/patch-Charm_Lotsofcake_Configuration.cpp |  18 ----
 .../files/patch-Charm_Lotsofcake_Configuration.h   |  16 ---
 .../charmtimetracker/files/patch-git-fe99a1380757  | 107 ---------------------
 deskutils/charmtimetracker/pkg-descr               |  10 --
 deskutils/charmtimetracker/pkg-plist               |   9 --
 11 files changed, 1 insertion(+), 278 deletions(-)

diff --git a/MOVED b/MOVED
index ffde345c2dfa..cf3e4e10f047 100644
--- a/MOVED
+++ b/MOVED
@@ -4911,3 +4911,4 @@ games/rlvm||2025-12-28|Broken for more than a year
 www/castor||2025-12-28|Abandoned upstream and fails to build with OpenSSL 3
 www/py-lia-web|www/py-cross-web|2025-12-29|Renamed to match upstream name
 security/clamtk||2025-12-31|Has expired: Maintainer has retired
+deskutils/charmtimetracker||2025-12-31|Has expired: Abandoned upstream, upstream repo archived Sep 24, 2023
diff --git a/deskutils/Makefile b/deskutils/Makefile
index be0594eb933d..0bebb86890ce 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -31,7 +31,6 @@
     SUBDIR += calindori
     SUBDIR += cartotheque
     SUBDIR += cfiles
-    SUBDIR += charmtimetracker
     SUBDIR += chart
     SUBDIR += cherrytree
     SUBDIR += clipit
diff --git a/deskutils/charmtimetracker/Makefile b/deskutils/charmtimetracker/Makefile
deleted file mode 100644
index b5756fe6ab02..000000000000
--- a/deskutils/charmtimetracker/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-PORTNAME=	charmtimetracker
-DISTVERSION=	1.12.0
-PORTREVISION=	7
-CATEGORIES=	deskutils
-
-# PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
-
-MAINTAINER=	adridg@FreeBSD.org
-COMMENT=	Time tracker
-WWW=		https://github.com/KDAB/Charm
-
-# The top-level license file is GPLv2, but all the sources say
-# (at your option) GPLv2+ .
-LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/COPYING
-
-DEPRECATED=	Abandoned upstream, upstream repo archived Sep 24, 2023
-EXPIRATION_DATE=2025-12-31
-
-LIB_DEPENDS=	libqt5keychain.so:security/qtkeychain@qt5
-
-USES=		cmake compiler:c++11-lib pkgconfig qt:5 xorg
-CMAKE_ARGS=	-DCharm_VERSION:STRING=${PORTVERSION}
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	KDAB
-GH_PROJECT=	Charm
-
-USE_QT=		core dbus gui \
-		network printsupport script sql sql-sqlite3 \
-		widgets xml \
-		buildtools:build qmake:build testlib:build
-USE_XORG=	ice x11 xcb xext xscrnsaver
-
-.include <bsd.port.mk>
diff --git a/deskutils/charmtimetracker/distinfo b/deskutils/charmtimetracker/distinfo
deleted file mode 100644
index 7bd1e90623a3..000000000000
--- a/deskutils/charmtimetracker/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1535747617
-SHA256 (KDAB-Charm-1.12.0_GH0.tar.gz) = 82e1b2356bd5a29f4b6b19b6c7dc7a8b0ce32574a5999b617647743e012f52b6
-SIZE (KDAB-Charm-1.12.0_GH0.tar.gz) = 825231
diff --git a/deskutils/charmtimetracker/files/patch-CMakeLists.txt b/deskutils/charmtimetracker/files/patch-CMakeLists.txt
deleted file mode 100644
index dd039128b721..000000000000
--- a/deskutils/charmtimetracker/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,34 +0,0 @@
- - Shuffle a little to enforce C++11 in a normal way
- - Don't install license, since the ports LICENSE_FILE already does that
-
-Hopefully the bundled parts of ECM handle compiler flags properly.
-
---- CMakeLists.txt.orig	2018-06-15 07:34:16 UTC
-+++ CMakeLists.txt
-@@ -1,5 +1,7 @@
--CMAKE_MINIMUM_REQUIRED( VERSION 2.8.12 )
--PROJECT( Charm CXX )
-+CMAKE_MINIMUM_REQUIRED( VERSION 3.10 )
-+PROJECT( Charm VERSION ${Charm_VERSION} LANGUAGES CXX )
-+SET( CMAKE_CXX_STANDARD 11 )
-+SET( CMAKE_CXX_STANDARD_REQUIRED ON )
- 
- include(FeatureSummary)
- 
-@@ -12,7 +14,6 @@ include(KDEFrameworkCompilerSettings NO_
- 
- include(ECMInstallIcons)
- 
--
- IF( NOT Charm_VERSION )
-     FIND_PACKAGE( Git QUIET )
-     IF( EXISTS ${GIT_EXECUTABLE} )
-@@ -119,7 +120,7 @@ CONFIGURE_FILE( CharmCMake.h.cmake ${CMA
- SET( LICENSE_FILE "License.txt" )
- SET( README_FILE "ReadMe.md" )
- IF( NOT APPLE )
--    INSTALL( FILES "${LICENSE_FILE}" "${README_FILE}" DESTINATION ${DOC_INSTALL_DIR} )
-+    INSTALL( FILES "${README_FILE}" DESTINATION ${DOC_INSTALL_DIR} )
- ENDIF()
- 
- IF (WIN32)
diff --git a/deskutils/charmtimetracker/files/patch-Charm_CMakeLists.txt b/deskutils/charmtimetracker/files/patch-Charm_CMakeLists.txt
deleted file mode 100644
index 46ac7bc8a03c..000000000000
--- a/deskutils/charmtimetracker/files/patch-Charm_CMakeLists.txt
+++ /dev/null
@@ -1,45 +0,0 @@
-Munge (effectively) -L/usr/local/lib into the link lines.
-
-QtKeyChain's cmake config lists the libraries it depends on:
- - a bunch of Qt5 libraries, which are imported targets, and hence
-   already have full paths for CMake
- - other libraries, like libsecret-1, gio, gobject .. which are not
-   set up as imported targets; these are not found at link-time unless
-   the directory is added to -L. They do have a pkg-config file,
-   so we'll look for (only) libsecret-1 and just add the directory it
-   lives in -- hopefully the other libraries live there too.
-
-Error message otherwise:
-
-: && /usr/bin/c++  -O2 -pipe -fstack-protector -fno-strict-aliasing -std=c++0x -fno-exceptions -Wno-gnu-zero-variadic-macro-arguments -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -Wvla -Wdate-time -fdiagnostics-color=always -pedantic -O2 -pipe -fstack-protector -fno-strict-aliasing  -Wl,--enable-new-dtags  -fstack-protector Charm/CMakeFiles/charmtimetracker.dir/Charm.cpp.o Charm/CMakeFiles/charmtimetracker.dir/qrc_CharmResources.cpp.o Charm/CMakeFiles/charmtimetracker.dir/charmtimetracker_autogen/mocs_compilation.cpp.o  -o Charm/charmtimetracker  -Wl,-rpath,/usr/local/lib:/usr/local/lib/qt5: Charm/libCharmApplication.a Core/libCharmCore.a /usr/local/lib/libxcb.so /usr/local/lib/libxcb-screensaver.so /usr/local/lib/qt5/libQt5Network.so.5.10.1 /usr/local/lib/qt5/libQt5PrintSupport.so.5.10.1 /usr/local/lib/libqt5keychain.so.0.9.0 -lsecret-1 -lgio-2.0 -lgobject-2
.0 -lglib-2.0 -lintl /usr/local/lib/qt5/libQt5DBus.so.5.10.1 /usr/local/lib/qt5/libQt5Widgets.so.5.10.1 /usr/local/lib/qt5/libQt5Gui.so.5.10.1 /usr/local/lib/qt5/libQt5Xml.so.5.10.1 /usr/local/lib/qt5/libQt5Sql.so.5.10.1 /usr/local/lib/qt5/libQt5Core.so.5.10.1 -Wl,-rpath-link,/usr/local/lib && :
-/usr/bin/ld: cannot find -lsecret-1
-
-
---- Charm/CMakeLists.txt.orig	2018-09-01 10:20:52 UTC
-+++ Charm/CMakeLists.txt
-@@ -170,6 +170,25 @@ ADD_LIBRARY(
-     ${CharmApplication_SRCS} ${UiGenerated_SRCS}
- )
- 
-+# Need to find support-libraries for qt5keychain
-+set( CharmExtra_LIBS "" )
-+include( FindPkgConfig )
-+pkg_search_module( _lso libsecret-1 )
-+if( _lso_FOUND )
-+    find_library( _lso_lib NAMES ${_lso_LIBRARIES} HINTS ${_lso_LIBRARY_DIRS} )
-+    if ( _lso_lib )
-+        # The issue is that qtkeychain lists libraries with no
-+        # imported targets.
-+        #
-+        # set( CharmExtra_LIBS ${_lso_lib} )
-+        link_directories( ${_lso_LIBRARY_DIRS} )
-+    else()
-+        message( WARNING "Found libsecret-1, but not ${_lso_LIBRARIES}" )
-+    endif()
-+else()
-+    message( WARNING "Could not find libsecret-1" )
-+endif()
-+
- kde_target_enable_exceptions( CharmApplication PUBLIC )
- TARGET_LINK_LIBRARIES(CharmApplication ${CharmApplication_LIBS}
-     Qt5::Core
diff --git a/deskutils/charmtimetracker/files/patch-Charm_Lotsofcake_Configuration.cpp b/deskutils/charmtimetracker/files/patch-Charm_Lotsofcake_Configuration.cpp
deleted file mode 100644
index 90b7eee273d6..000000000000
--- a/deskutils/charmtimetracker/files/patch-Charm_Lotsofcake_Configuration.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-Fix build with clang7:
-
-	WeeklyTimesheet.cpp:287:37: error: default initialization of an object of const type 'const Lotsofcake::Configuration' requires a user-provided default constructor
-	const Lotsofcake::Configuration configuration;
-
---- Charm/Lotsofcake/Configuration.cpp.orig	2018-09-03 18:53:25 UTC
-+++ Charm/Lotsofcake/Configuration.cpp
-@@ -43,6 +43,10 @@ static void setValueIfNotNull(QSettings 
-     }
- }
- 
-+Lotsofcake::Configuration::Configuration()
-+{
-+}
-+
- bool Lotsofcake::Configuration::isConfigured() const
- {
-     return !username().isEmpty();
diff --git a/deskutils/charmtimetracker/files/patch-Charm_Lotsofcake_Configuration.h b/deskutils/charmtimetracker/files/patch-Charm_Lotsofcake_Configuration.h
deleted file mode 100644
index 2c0563c76498..000000000000
--- a/deskutils/charmtimetracker/files/patch-Charm_Lotsofcake_Configuration.h
+++ /dev/null
@@ -1,16 +0,0 @@
-Fix build with clang7:
-
-	WeeklyTimesheet.cpp:287:37: error: default initialization of an object of const type 'const Lotsofcake::Configuration' requires a user-provided default constructor
-	const Lotsofcake::Configuration configuration;
-
---- Charm/Lotsofcake/Configuration.h.orig	2018-09-03 18:53:17 UTC
-+++ Charm/Lotsofcake/Configuration.h
-@@ -36,6 +36,8 @@ namespace Lotsofcake {
- class Configuration
- {
- public:
-+    Configuration();
-+
-     bool isConfigured() const;
- 
-     void importFromTaskExport(const TaskExport &exporter);
diff --git a/deskutils/charmtimetracker/files/patch-git-fe99a1380757 b/deskutils/charmtimetracker/files/patch-git-fe99a1380757
deleted file mode 100644
index f67cfa093f4d..000000000000
--- a/deskutils/charmtimetracker/files/patch-git-fe99a1380757
+++ /dev/null
@@ -1,107 +0,0 @@
-Idle detection: Fix crash on Wayland
-
-Check for screen saver extension before using it, avoids a crash on
-Wayland (where xcb_screensaver_query_info_reply returns null).
-
-Change-Id: Icecd2f930ed071eff573866784c8c52ccc272253
-Reviewed-on: https://codereview.kdab.com/c/Charm/+/88868
-Reviewed-by: Andras Mantia <andras@kdab.com>
-Tested-by: Continuous Integration <build@kdab.com>
-
-diff --git a/Charm/Idle/IdleDetector.cpp b/Charm/Idle/IdleDetector.cpp
-index 24e0c457..1cc74460 100644
---- Charm/Idle/IdleDetector.cpp
-+++ Charm/Idle/IdleDetector.cpp
-@@ -45,24 +45,22 @@ IdleDetector::IdleDetector(QObject *parent)
- IdleDetector *IdleDetector::createIdleDetector(QObject *parent)
- {
- #ifdef CHARM_IDLE_DETECTION
--#ifdef Q_OS_OSX
-+#if (defined Q_OS_OSX)
-     return new MacIdleDetector(parent);
--#endif
--
--#ifdef Q_OS_WIN
-+#elif (defined Q_OS_WIN)
-     return new WindowsIdleDetector(parent);
-+#elif (defined CHARM_IDLE_DETECTION_AVAILABLE)
-+    return new X11IdleDetector(parent);
-+#else
-+    auto unavailable = new IdleDetector(parent);
-+    unavailable->setAvailable(false);
-+    return unavailable;
- #endif
--
--#ifdef CHARM_IDLE_DETECTION_AVAILABLE
--    X11IdleDetector *detector = new X11IdleDetector(parent);
--    detector->setAvailable(detector->idleCheckPossible());
--    return detector;
--#endif
--#endif
--
--    IdleDetector *unavailable = new IdleDetector(parent);
-+#else
-+    auto unavailable = new IdleDetector(parent);
-     unavailable->setAvailable(false);
-     return unavailable;
-+#endif
- }
- 
- bool IdleDetector::available() const
-diff --git a/Charm/Idle/X11IdleDetector.cpp b/Charm/Idle/X11IdleDetector.cpp
-index 4f03a418..796742a3 100644
---- Charm/Idle/X11IdleDetector.cpp
-+++ Charm/Idle/X11IdleDetector.cpp
-@@ -32,18 +32,20 @@
- X11IdleDetector::X11IdleDetector(QObject *parent)
-     : IdleDetector(parent)
- {
-+    setAvailable(false);
-+    m_connection = xcb_connect(NULL, NULL); // krazy:exclude=null
-+    m_screen = xcb_setup_roots_iterator(xcb_get_setup(m_connection)).data;
-+    if (!m_screen)
-+        return;
-+    auto query = xcb_get_extension_data(m_connection, &xcb_screensaver_id);
-+    Q_ASSERT(query);
-+    if (!query->present)
-+        return;
-+
-     connect(&m_timer, &QTimer::timeout, this, &X11IdleDetector::checkIdleness);
-     m_timer.start(idlenessDuration() * 1000 / 5);
-     m_heartbeat = QDateTime::currentDateTime();
--}
--
--bool X11IdleDetector::idleCheckPossible()
--{
--    m_connection = xcb_connect(NULL, NULL); //krazy:exclude=null
--    m_screen = xcb_setup_roots_iterator(xcb_get_setup(m_connection)).data;
--    if (m_screen)
--        return true;
--    return false;
-+    setAvailable(true);
- }
- 
- void X11IdleDetector::onIdlenessDurationChanged()
-diff --git a/Charm/Idle/X11IdleDetector.h b/Charm/Idle/X11IdleDetector.h
-index 0b0f48ca..45ef9328 100644
---- Charm/Idle/X11IdleDetector.h
-+++ Charm/Idle/X11IdleDetector.h
-@@ -38,7 +38,6 @@ class X11IdleDetector : public IdleDetector
-     Q_OBJECT
- public:
-     explicit X11IdleDetector(QObject *parent);
--    bool idleCheckPossible();
- 
- protected:
-     void onIdlenessDurationChanged() override;
-@@ -50,8 +49,8 @@ private Q_SLOTS:
-     QDateTime m_heartbeat;
-     QTimer m_timer;
- #if defined(Q_OS_UNIX) && !defined(Q_OS_OSX)
--    xcb_connection_t *m_connection;
--    xcb_screen_t *m_screen;
-+    xcb_connection_t *m_connection = nullptr;
-+    xcb_screen_t *m_screen = nullptr;
- #endif
- };
- 
diff --git a/deskutils/charmtimetracker/pkg-descr b/deskutils/charmtimetracker/pkg-descr
deleted file mode 100644
index 80232fc65fc2..000000000000
--- a/deskutils/charmtimetracker/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-Charm is a program for FreeBSD, OS X, Linux and Windows that helps to keep
-track of time. It is built around two major ideas - tasks and events. Tasks
-are the things time is spend on, repeatedly. For example, ironing
-laundry is a task. The laundry done for two hours on last Tuesday is an
-event in that task. When doing laundry multiple times, the events will
-be accumulated, and can later be printed in activity reports or weekly
-time sheets. So in case laundry would be done for three hours on
-Wednesday again, the activity report for the "Ironing Laundry" task
-would list the event on tuesday, the event on wednesday and a total of
-five hours.
diff --git a/deskutils/charmtimetracker/pkg-plist b/deskutils/charmtimetracker/pkg-plist
deleted file mode 100644
index 7e287fcf6f0e..000000000000
--- a/deskutils/charmtimetracker/pkg-plist
+++ /dev/null
@@ -1,9 +0,0 @@
-bin/charmtimetracker
-share/applications/charmtimetracker.desktop
-share/doc/HTML/charmtimetracker/ReadMe.md
-share/icons/hicolor/128x128/apps/Charm.png
-share/icons/hicolor/16x16/apps/Charm.png
-share/icons/hicolor/256x256/apps/Charm.png
-share/icons/hicolor/32x32/apps/Charm.png
-share/icons/hicolor/48x48/apps/Charm.png
-share/icons/hicolor/64x64/apps/Charm.png