Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package tail-tray for openSUSE:Factory checked in at 2026-06-02 16:07:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tail-tray (Old) and /work/SRC/openSUSE:Factory/.tail-tray.new.1937 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tail-tray" Tue Jun 2 16:07:34 2026 rev:26 rq:1356538 version:0.2.33 Changes: -------- --- /work/SRC/openSUSE:Factory/tail-tray/tail-tray.changes 2026-05-06 19:20:46.300189857 +0200 +++ /work/SRC/openSUSE:Factory/.tail-tray.new.1937/tail-tray.changes 2026-06-02 16:09:32.803888960 +0200 @@ -1,0 +2,13 @@ +Tue Jun 02 04:48:58 UTC 2026 - Johannes Kastl <[email protected]> + +- Update to version 0.2.33: + * Bump version to 0.2.33 for new release + * Replace QSharedMemory which is attachable after termination + with QLockFile (#117) + * Fix DATAROOTDIR #116 + * [CI] - Adjust QT version + * [CI] - Bump windows and VS to latest + latest QT LTS patch + release + * [Docs] - Fix missing dep for Ubuntu build from source + +------------------------------------------------------------------- Old: ---- tail-tray-0.2.32.obscpio New: ---- tail-tray-0.2.33.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tail-tray.spec ++++++ --- /var/tmp/diff_new_pack.GMzuPp/_old 2026-06-02 16:09:33.831931315 +0200 +++ /var/tmp/diff_new_pack.GMzuPp/_new 2026-06-02 16:09:33.835931480 +0200 @@ -17,7 +17,7 @@ Name: tail-tray -Version: 0.2.32 +Version: 0.2.33 Release: 0 Summary: Tailscale tray menu and UI for the KDE Plasma Desktop License: GPL-3.0-only ++++++ _service ++++++ --- /var/tmp/diff_new_pack.GMzuPp/_old 2026-06-02 16:09:33.883933458 +0200 +++ /var/tmp/diff_new_pack.GMzuPp/_new 2026-06-02 16:09:33.887933623 +0200 @@ -2,8 +2,8 @@ <service name="obs_scm" mode="manual"> <param name="url">https://github.com/SneWs/tail-tray</param> <param name="scm">git</param> - <param name="revision">refs/tags/v0.2.32</param> - <param name="match-tag">v0.2.32</param> + <param name="revision">refs/tags/v0.2.33</param> + <param name="match-tag">v0.2.33</param> <param name="versionformat">@PARENT_TAG@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.GMzuPp/_old 2026-06-02 16:09:33.915934776 +0200 +++ /var/tmp/diff_new_pack.GMzuPp/_new 2026-06-02 16:09:33.919934941 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/SneWs/tail-tray</param> - <param name="changesrevision">12b54eeb85bc7f69050851f0306652aae3217402</param></service></servicedata> + <param name="changesrevision">5089d8a02763a01668fb90c0896fbf25b9b4d16c</param></service></servicedata> (No newline at EOF) ++++++ tail-tray-0.2.32.obscpio -> tail-tray-0.2.33.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tail-tray-0.2.32/.github/workflows/windows_latest-build.yml new/tail-tray-0.2.33/.github/workflows/windows_latest-build.yml --- old/tail-tray-0.2.32/.github/workflows/windows_latest-build.yml 2026-05-04 17:13:26.000000000 +0200 +++ new/tail-tray-0.2.33/.github/workflows/windows_latest-build.yml 2026-06-01 20:32:32.000000000 +0200 @@ -20,7 +20,7 @@ - name: Install Qt - Windows uses: jurplel/install-qt-action@v4 with: - version: '6.8.2' + version: '6.8.3' target: 'desktop' set-env: 'true' @@ -36,7 +36,7 @@ run: | echo "Running Windows build" echo "Build output directory: ${{ steps.strings.outputs.build-output-dir }}" - cmake -B ${{ steps.strings.outputs.build-output-dir }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DKNOTIFICATIONS_ENABLED=OFF -S ${{ github.workspace }} -G "Visual Studio 17 2022" + cmake -B ${{ steps.strings.outputs.build-output-dir }} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DKNOTIFICATIONS_ENABLED=OFF -S ${{ github.workspace }} -G "Visual Studio 18 2026" shell: pwsh - name: Build on Windows diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tail-tray-0.2.32/CMakeLists.txt new/tail-tray-0.2.33/CMakeLists.txt --- old/tail-tray-0.2.32/CMakeLists.txt 2026-05-04 17:13:26.000000000 +0200 +++ new/tail-tray-0.2.33/CMakeLists.txt 2026-06-01 20:32:32.000000000 +0200 @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.21) -project(tail-tray VERSION 0.2.32 LANGUAGES CXX) +project(tail-tray VERSION 0.2.33 LANGUAGES CXX) set(CMAKE_AUTOUIC ON) set(CMAKE_AUTOMOC ON) @@ -10,6 +10,8 @@ set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) +include(GNUInstallDirs) + # Use Davfs or not option(DAVFS_ENABLED "Enable DAVFS" ON) if (DAVFS_ENABLED) @@ -169,10 +171,6 @@ # Generate Version.h from template configure_file(src/Version.h.in ${CMAKE_SOURCE_DIR}/src/Version.h @ONLY) -if (UNIX AND NOT APPLE) - include(GNUInstallDirs) -endif () - install(TARGETS tail-tray BUNDLE DESTINATION . LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} @@ -220,4 +218,3 @@ # Add the tests subdirectory so it is built with the main project add_subdirectory(tests) endif () - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tail-tray-0.2.32/debian/changelog new/tail-tray-0.2.33/debian/changelog --- old/tail-tray-0.2.32/debian/changelog 2026-05-04 17:13:26.000000000 +0200 +++ new/tail-tray-0.2.33/debian/changelog 2026-06-01 20:32:32.000000000 +0200 @@ -1,4 +1,4 @@ -tail-tray (0.2.32) UNRELEASED; urgency=medium +tail-tray (0.2.33) UNRELEASED; urgency=medium * New upstream release. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tail-tray-0.2.32/docs/build-from-src.md new/tail-tray-0.2.33/docs/build-from-src.md --- old/tail-tray-0.2.32/docs/build-from-src.md 2026-05-04 17:13:26.000000000 +0200 +++ new/tail-tray-0.2.33/docs/build-from-src.md 2026-06-01 20:32:32.000000000 +0200 @@ -3,7 +3,7 @@ * Git, QT 6, cmake and a c++ compiler, for example: * On Ubuntu and Ubuntu based distros ```bash - sudo apt install git qt6-tools-dev qt6-tools-dev-tools g++ clang cmake davfs2 extra-cmake-modules + sudo apt install git qt6-tools-dev qt6-tools-dev-tools g++ clang cmake davfs2 extra-cmake-modules libkf6notifications-dev ``` **NOTE**: If you want to enable rich notifications, you also need to install `libkf6notifications-dev` and be on Ubuntu 25.04 or newer diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tail-tray-0.2.32/src/Paths.h.in new/tail-tray-0.2.33/src/Paths.h.in --- old/tail-tray-0.2.32/src/Paths.h.in 2026-05-04 17:13:26.000000000 +0200 +++ new/tail-tray-0.2.33/src/Paths.h.in 2026-06-01 20:32:32.000000000 +0200 @@ -1,6 +1,6 @@ #ifndef PATHS_H #define PATHS_H -#define DATAROOTDIR "@CMAKE_INSTALL_PREFIX@/@CMAKE_INSTALL_DATAROOTDIR@" +#define DATAROOTDIR "@CMAKE_INSTALL_FULL_DATAROOTDIR@" #endif // PATHS_H diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tail-tray-0.2.32/src/SingleApplicationImpl.h new/tail-tray-0.2.33/src/SingleApplicationImpl.h --- old/tail-tray-0.2.32/src/SingleApplicationImpl.h 2026-05-04 17:13:26.000000000 +0200 +++ new/tail-tray-0.2.33/src/SingleApplicationImpl.h 2026-06-01 20:32:32.000000000 +0200 @@ -2,41 +2,43 @@ #define SINGLEAPPLICATIONIMPL_H #include <QApplication> -#include <QSharedMemory> +#include <QDir> +#include <QLockFile> +#include <QStandardPaths> class SingleApplicationImpl final : public QApplication { Q_OBJECT public: explicit SingleApplicationImpl(int &argc, char **argv) : QApplication(argc, argv) - , pSingleGuard(new QSharedMemory("tail-tray.grenangen.se/shm", this)) + , singleGuard(singleInstanceLockFilePath()) { + singleGuard.setStaleLockTime(0); } ~SingleApplicationImpl() override { - if(pSingleGuard != nullptr && pSingleGuard->isAttached()) - pSingleGuard->detach(); - delete pSingleGuard; + if(singleGuard.isLocked()) + singleGuard.unlock(); } [[nodiscard]] bool isOwningSingleInstance() const { - return pSingleGuard != nullptr && pSingleGuard->isAttached(); + return singleGuard.isLocked(); } - [[nodiscard]] bool claimInstance() const { - if(pSingleGuard->attach(QSharedMemory::ReadOnly)) { - pSingleGuard->detach(); - return false; - } + [[nodiscard]] bool claimInstance() { + return singleGuard.tryLock(0); + } - if(!pSingleGuard->create(1)) - return false; +private: + static QString singleInstanceLockFilePath() { + auto lockDir = QStandardPaths::writableLocation(QStandardPaths::RuntimeLocation); + if (lockDir.isEmpty()) + lockDir = QDir::tempPath(); - return true; + return QDir(lockDir).absoluteFilePath("tail-tray.grenangen.se.lock"); } -private: - QSharedMemory* pSingleGuard; + QLockFile singleGuard; }; #endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tail-tray-0.2.32/src/Version.h new/tail-tray-0.2.33/src/Version.h --- old/tail-tray-0.2.32/src/Version.h 2026-05-04 17:13:26.000000000 +0200 +++ new/tail-tray-0.2.33/src/Version.h 2026-06-01 20:32:32.000000000 +0200 @@ -1,6 +1,6 @@ #pragma once -#define TAIL_TRAY_VERSION "0.2.32" +#define TAIL_TRAY_VERSION "0.2.33" #define TAIL_TRAY_VERSION_MAJOR 0 #define TAIL_TRAY_VERSION_MINOR 2 -#define TAIL_TRAY_VERSION_PATCH 32 +#define TAIL_TRAY_VERSION_PATCH 33 ++++++ tail-tray.obsinfo ++++++ --- /var/tmp/diff_new_pack.GMzuPp/_old 2026-06-02 16:09:34.399954719 +0200 +++ /var/tmp/diff_new_pack.GMzuPp/_new 2026-06-02 16:09:34.407955048 +0200 @@ -1,5 +1,5 @@ name: tail-tray -version: 0.2.32 -mtime: 1777907606 -commit: 12b54eeb85bc7f69050851f0306652aae3217402 +version: 0.2.33 +mtime: 1780338752 +commit: 5089d8a02763a01668fb90c0896fbf25b9b4d16c
