head 1.2; access; symbols pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @// @; 1.2 date 2026.01.06.19.57.10; author tnn; state dead; branches; next 1.1; commitid mE7uPPCxFzA9ZmpG; 1.1 date 2025.10.20.19.49.12; author tnn; state Exp; branches; next ; commitid 9JsLCVGeBFyBslfG; desc @@ 1.2 log @deskflow: update to 1.25.0 - add UI translations - save geometry into a state file - remove old deskflow-core cli options - remove CLI11, tomlpp and env file configuration - bugfixes @ text @$NetBSD: patch-src_lib_base_Log.cpp,v 1.1 2025/10/20 19:49:12 tnn Exp $ Avoid requirement on newer compiler for now. GCC 12 claims C++20 but has incomplete support. Reverts: https://github.com/deskflow/deskflow/commit/a6068ad6f64eee474d0cc5343db765dba0269034 --- src/lib/base/Log.cpp.orig 2025-10-20 18:41:42.807882627 +0000 +++ src/lib/base/Log.cpp @@@@ -18,7 +18,7 @@@@ #include #include -#ifndef __APPLE__ +#if 0 #include #endif @@@@ -73,7 +73,7 @@@@ void makeTimeString(std::vector &b localtime_r(&t, &tm); #endif -#ifndef __APPLE__ +#if 0 std::format_to_n( buffer.data(), buffer.size(), "{:04}-{:02}-{:02}T{:02}:{:02}:{:02}", tm.tm_year + yearOffset, tm.tm_mon + monthOffset, tm.tm_mday, tm.tm_hour, tm.tm_min, tm.tm_sec @@@@ -117,7 +117,7 @@@@ std::vector makeMessage(const char bufferSize += filenameLength + lineNumberLength; std::vector buffer(bufferSize); -#ifndef __APPLE__ +#if 0 std::format_to_n( buffer.data(), bufferSize, "[{}] {}: {}\n\t{}:{}", timeBuffer.data(), sectionName, message, filename, lineNumber ); @@@@ -129,7 +129,7 @@@@ std::vector makeMessage(const char return buffer; } else { std::vector buffer(bufferSize); -#ifndef __APPLE__ +#if 0 std::format_to_n(buffer.data(), bufferSize, "[{}] {}: {}", timeBuffer.data(), sectionName, message); #else snprintf(buffer.data(), bufferSize, "[%s] %s: %s", timeBuffer.data(), sectionName, message); @ 1.1 log @deskflow: update to 1.24.0 - The client and server binaries have been merged: Use "deskflow-core client" instead of "deskflow-client" and ditto for the server. - The log levels values in the gui have changed. Users may want to adjust the Log Level setting after upgrading. - Bugfixes and cleanups @ text @d1 1 a1 1 $NetBSD$ @