Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package lxqt-notificationd for openSUSE:Factory checked in at 2026-11-20 14:44:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lxqt-notificationd (Old) and /work/SRC/openSUSE:Factory/.lxqt-notificationd.new.1251 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lxqt-notificationd" Fri Nov 20 14:44:53 2026 rev:29 rq:1398753 version:2.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/lxqt-notificationd/lxqt-notificationd.changes 2026-04-22 16:57:34.534983218 +0200 +++ /work/SRC/openSUSE:Factory/.lxqt-notificationd.new.1251/lxqt-notificationd.changes 2026-11-20 14:46:56.843952670 +0100 @@ -1,0 +2,8 @@ +Fri Nov 6 09:20:23 UTC 2026 - Андрей Алыпов <[email protected]> + +- Update to 2.5.0: + * Replaced deprecated layershell codes. + * CMake maintenance. + * Used literal operators for Qt string types. + +------------------------------------------------------------------- Old: ---- lxqt-notificationd-2.4.0.tar.xz lxqt-notificationd-2.4.0.tar.xz.asc New: ---- lxqt-notificationd-2.5.0.tar.xz lxqt-notificationd-2.5.0.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lxqt-notificationd.spec ++++++ --- /var/tmp/diff_new_pack.o47Sll/_old 2026-11-20 14:46:58.213010660 +0100 +++ /var/tmp/diff_new_pack.o47Sll/_new 2026-11-20 14:46:58.219010914 +0100 @@ -1,7 +1,7 @@ # # spec file for package lxqt-notificationd # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2026 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: lxqt-notificationd -Version: 2.4.0 +Version: 2.5.0 Release: 0 Summary: LXQt Notification daemon License: LGPL-2.1-or-later @@ -26,18 +26,18 @@ Source1: %{url}/releases/download/%{version}/%{name}-%{version}.tar.xz.asc Source2: %{name}.keyring -BuildRequires: cmake >= 3.5.0 +BuildRequires: cmake >= 3.18.0 BuildRequires: desktop-file-utils BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: cmake(KF6WindowSystem) BuildRequires: cmake(LayerShellQt) >= 6.0.0 -BuildRequires: cmake(lxqt) >= 2.4.0 -BuildRequires: cmake(lxqt2-build-tools) BuildRequires: cmake(Qt6DBus) BuildRequires: cmake(Qt6LinguistTools) BuildRequires: cmake(Qt6Widgets) +BuildRequires: cmake(lxqt) >= 2.5.0 +BuildRequires: cmake(lxqt2-build-tools) Recommends: %{name}-lang = %{version}-%{release} ++++++ lxqt-notificationd-2.4.0.tar.xz -> lxqt-notificationd-2.5.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/.gitattributes new/lxqt-notificationd-2.5.0/.gitattributes --- old/lxqt-notificationd-2.4.0/.gitattributes 2026-04-20 09:58:23.000000000 +0200 +++ new/lxqt-notificationd-2.5.0/.gitattributes 1970-01-01 01:00:00.000000000 +0100 @@ -1,19 +0,0 @@ -# remove files from deployment using `git archive` - -# git files -.gitattributes export-ignore -.github export-ignore -.gitignore export-ignore - - -# several files and directories we never want to export -# a little bit belt and braces as the most of these files -# should never ever be in the repository - -.*~ export-ignore -.kdev4 export-ignore -.translation-update export-ignore - -/build export-ignore -/temp export-ignore -/tmp export-ignore diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/.github/ISSUE_TEMPLATE.md new/lxqt-notificationd-2.5.0/.github/ISSUE_TEMPLATE.md --- old/lxqt-notificationd-2.4.0/.github/ISSUE_TEMPLATE.md 2026-04-20 09:58:23.000000000 +0200 +++ new/lxqt-notificationd-2.5.0/.github/ISSUE_TEMPLATE.md 1970-01-01 01:00:00.000000000 +0100 @@ -1,43 +0,0 @@ -<!--- Provide a general summary of the issue in the title above. You ---> -<!--- should not delete relevant sections and/or questions in your report ---> - -<!--- BEFORE FILLING OUT THIS REPORT FORM: ---> -<!--- Dear users of stable and LTS (long term service) distributions: ---> -<!--- Please do NOT file bugs against old (dead) versions but use your ---> -<!--- distribution bugtracker instead. This is esp. true for Ubuntu LTS. ---> - -##### Expected Behavior -<!--- If you're describing a bug, tell us what should happen --> -<!--- If you're suggesting a change/improvement, tell us how it should work --> - -##### Current Behavior -<!--- If describing a bug, tell us what happens instead of the expected ---> -<!--- behaviour. If suggesting a change/improvement, explain the difference --> -<!--- from current behavior (a screenshot might help) ---> - -##### Possible Solution -<!--- Not obligatory, but suggest a fix/reason for the bug, ---> -<!--- or ideas how to implement the addition or change ---> - -##### Steps to Reproduce (for bugs) -<!--- Provide a link to a live example, or an unambiguous set of steps to ---> -<!--- reproduce this bug. Include code to reproduce, if relevant ---> -1. -2. -3. -4. - -##### Context -<!--- How has this issue affected you? What are you trying to accomplish? ---> -<!--- Providing context helps us come up with a solution that is most ---> -<!--- useful in the real world ---> - -##### System Information -<!--- Include as many relevant details about the system you experienced ---> -<!--- the bug in ---> -* Distribution & Version: -* Kernel: -* Qt Version: -* liblxqt Version: -* lxqt-build-tools Version: -* Package version: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/.gitignore new/lxqt-notificationd-2.5.0/.gitignore --- old/lxqt-notificationd-2.4.0/.gitignore 2026-04-20 09:58:23.000000000 +0200 +++ new/lxqt-notificationd-2.5.0/.gitignore 1970-01-01 01:00:00.000000000 +0100 @@ -1 +0,0 @@ -build diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/.translation-update new/lxqt-notificationd-2.5.0/.translation-update --- old/lxqt-notificationd-2.4.0/.translation-update 2026-04-20 09:58:23.000000000 +0200 +++ new/lxqt-notificationd-2.5.0/.translation-update 1970-01-01 01:00:00.000000000 +0100 @@ -1,2 +0,0 @@ -translations='./config - ./src' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/CHANGELOG new/lxqt-notificationd-2.5.0/CHANGELOG --- old/lxqt-notificationd-2.4.0/CHANGELOG 2026-04-20 09:58:23.000000000 +0200 +++ new/lxqt-notificationd-2.5.0/CHANGELOG 2026-11-04 13:49:52.000000000 +0100 @@ -1,3 +1,9 @@ +lxqt-notificationd-2.5.0 / 2026-11-05 +====================================== + * Replaced deprectated layershell codes. + * Removed translations artifact and nested projects from CMake. + * Used literal operators for Qt string types. + lxqt-notificationd-2.4.0 / 2026-04-20 ====================================== * No caching of transient notifications. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/CMakeLists.txt new/lxqt-notificationd-2.5.0/CMakeLists.txt --- old/lxqt-notificationd-2.4.0/CMakeLists.txt 2026-04-20 09:58:23.000000000 +0200 +++ new/lxqt-notificationd-2.5.0/CMakeLists.txt 2026-11-04 13:49:52.000000000 +0100 @@ -17,9 +17,9 @@ option(LXQT_NOTIFICATION_BUILD_TESTS "Build LXQt Notification tests" OFF) set(KF6_MINIMUM_VERSION "6.0.0") -set(LXQT_MINIMUM_VERSION "2.4.0") -set(QT_MINIMUM_VERSION "6.6.0") -set(SHELLQT_MINIMUM_VERSION "6.0.0") +set(LXQT_MINIMUM_VERSION "2.5.0") +set(QT_MINIMUM_VERSION "6.10.0") +set(SHELLQT_MINIMUM_VERSION "6.6.0") find_package(Qt6DBus ${QT_MINIMUM_VERSION} REQUIRED) find_package(Qt6LinguistTools ${QT_MINIMUM_VERSION} REQUIRED) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/LICENSE new/lxqt-notificationd-2.5.0/LICENSE --- old/lxqt-notificationd-2.4.0/LICENSE 2026-04-20 09:58:23.000000000 +0200 +++ new/lxqt-notificationd-2.5.0/LICENSE 2026-11-04 13:49:52.000000000 +0100 @@ -2,7 +2,7 @@ Version 2.1, February 1999 Copyright (C) 1991, 1999 Free Software Foundation, Inc. - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + <https://fsf.org/> Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/config/CMakeLists.txt new/lxqt-notificationd-2.5.0/config/CMakeLists.txt --- old/lxqt-notificationd-2.4.0/config/CMakeLists.txt 2026-04-20 09:58:23.000000000 +0200 +++ new/lxqt-notificationd-2.5.0/config/CMakeLists.txt 2026-11-04 13:49:52.000000000 +0100 @@ -1,5 +1,3 @@ -project(lxqt-config-notificationd) - set(NOTIFICATIONS_CONF_SRC advancedsettings.cpp basicsettings.cpp @@ -16,33 +14,34 @@ # Translations ********************************** lxqt_translate_ts(NOTIFICATIONS_CONF_QM UPDATE_TRANSLATIONS ${UPDATE_TRANSLATIONS} + TEMPLATE lxqt-config-notificationd SOURCES ${NOTIFICATIONS_CONF_MOC} ${NOTIFICATIONS_CONF_SRC} ${NOTIFICATIONS_CONF_UI} - INSTALL_DIR "${LXQT_TRANSLATIONS_DIR}/${PROJECT_NAME}" + INSTALL_DIR "${LXQT_TRANSLATIONS_DIR}/lxqt-config-notificationd" ) -lxqt_app_translation_loader(QM_LOADER ${PROJECT_NAME}) +lxqt_app_translation_loader(QM_LOADER lxqt-config-notificationd) lxqt_translate_desktop(DESKTOP_FILES SOURCES lxqt-config-notificationd.desktop.in USE_YAML) #************************************************ -add_executable(${PROJECT_NAME} +add_executable(lxqt-config-notificationd ${NOTIFICATIONS_CONF_SRC} ${NOTIFICATIONS_CONF_QM} ${DESKTOP_FILES} ${QM_LOADER} ) -target_link_libraries(${PROJECT_NAME} +target_link_libraries(lxqt-config-notificationd KF6::WindowSystem Qt6::Widgets lxqt ) install(TARGETS - ${PROJECT_NAME} + lxqt-config-notificationd RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT Runtime ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/config/translations/CMakeLists.txt new/lxqt-notificationd-2.5.0/config/translations/CMakeLists.txt --- old/lxqt-notificationd-2.4.0/config/translations/CMakeLists.txt 2026-04-20 09:58:23.000000000 +0200 +++ new/lxqt-notificationd-2.5.0/config/translations/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -project(lxqt-config-notificationd) - -build_component("." "") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/config/translations/lxqt-config-notificationd_de.ts new/lxqt-notificationd-2.5.0/config/translations/lxqt-config-notificationd_de.ts --- old/lxqt-notificationd-2.4.0/config/translations/lxqt-config-notificationd_de.ts 2026-04-20 09:58:23.000000000 +0200 +++ new/lxqt-notificationd-2.5.0/config/translations/lxqt-config-notificationd_de.ts 2026-11-04 13:49:52.000000000 +0100 @@ -107,8 +107,8 @@ <location filename="../basicsettings.cpp" line="65"/> <source><b>Warning:</b> notifications daemon is slow to respond. Keep trying to connect…</source> - <translation><b>Warnung </b>: Der Benachrichtigungsdämon benötigt zu - lange zum antworten. Versuche zu verbinden…</translation> + <translation><b>Warnung:</b> Der Benachrichtigungsdaemon antwortet zu langsam. +Es wird weiterhin versucht, eine Verbindung herzustellen …</translation> </message> <message> <location filename="../basicsettings.cpp" line="74"/> @@ -122,7 +122,7 @@ <source><b>Warning:</b> A third-party notifications daemon (%1) is running. These settings won't have any effect on it!</source> <translation><b>Warnung:</b> Ein Benachrichtigungsdaemon (%1) von Drittanbietern läuft. -Diese Einstellungen wirken sich auf ihn nicht aus!</translation> +Diese Einstellungen haben darauf keinen Einfluss!</translation> </message> <message> <location filename="../basicsettings.cpp" line="142"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/config/translations/lxqt-config-notificationd_en_GB.desktop.yaml new/lxqt-notificationd-2.5.0/config/translations/lxqt-config-notificationd_en_GB.desktop.yaml --- old/lxqt-notificationd-2.4.0/config/translations/lxqt-config-notificationd_en_GB.desktop.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/lxqt-notificationd-2.5.0/config/translations/lxqt-config-notificationd_en_GB.desktop.yaml 2026-11-04 13:49:52.000000000 +0100 @@ -0,0 +1,3 @@ +Desktop Entry/Name: "Notifications" +Desktop Entry/GenericName: "Notification Settings" +Desktop Entry/Comment: "Configure position, duration, 'Do not disturb' and more" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/config/translations/lxqt-config-notificationd_es.ts new/lxqt-notificationd-2.5.0/config/translations/lxqt-config-notificationd_es.ts --- old/lxqt-notificationd-2.4.0/config/translations/lxqt-config-notificationd_es.ts 2026-04-20 09:58:23.000000000 +0200 +++ new/lxqt-notificationd-2.5.0/config/translations/lxqt-config-notificationd_es.ts 2026-11-04 13:49:52.000000000 +0100 @@ -7,7 +7,7 @@ <location filename="../advancedsettings.ui" line="85"/> <location filename="../advancedsettings.ui" line="95"/> <source>Use the top of the notification as shown.</source> - <translation type="unfinished"></translation> + <translation>Usa la parte superior de la notificación como se muestra.</translation> </message> <message> <location filename="../advancedsettings.ui" line="88"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/config/translations/lxqt-config-notificationd_eu.ts new/lxqt-notificationd-2.5.0/config/translations/lxqt-config-notificationd_eu.ts --- old/lxqt-notificationd-2.4.0/config/translations/lxqt-config-notificationd_eu.ts 1970-01-01 01:00:00.000000000 +0100 +++ new/lxqt-notificationd-2.5.0/config/translations/lxqt-config-notificationd_eu.ts 2026-11-04 13:49:52.000000000 +0100 @@ -0,0 +1,194 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="eu"> +<context> + <name>AdvancedSettings</name> + <message> + <location filename="../advancedsettings.ui" line="85"/> + <location filename="../advancedsettings.ui" line="95"/> + <source>Use the top of the notification as shown.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../advancedsettings.ui" line="88"/> + <source>Ignore these notifications:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../advancedsettings.ui" line="17"/> + <source>Duration</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../advancedsettings.ui" line="29"/> + <source>Some notifications set their own on-screen duration.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../advancedsettings.ui" line="41"/> + <source>Default duration:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../advancedsettings.ui" line="48"/> + <source> sec</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../advancedsettings.ui" line="129"/> + <source>Screen</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../advancedsettings.ui" line="135"/> + <source>When unchecked the notification will always show on primary screen</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../advancedsettings.ui" line="138"/> + <source>Show notifications on screen with the mouse</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../advancedsettings.ui" line="113"/> + <source>Do Not Disturb</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../advancedsettings.ui" line="119"/> + <source>Only save notifications</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../advancedsettings.ui" line="63"/> + <source>Unattended Notifications</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../advancedsettings.ui" line="71"/> + <source>How many to save:</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>BasicSettings</name> + <message> + <location filename="../basicsettings.ui" line="17"/> + <source>Sizes</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../basicsettings.ui" line="25"/> + <source>Width:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../basicsettings.ui" line="32"/> + <location filename="../basicsettings.ui" line="56"/> + <source> px</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../basicsettings.ui" line="49"/> + <source>Spacing:</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../basicsettings.ui" line="68"/> + <source>Position on screen</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../basicsettings.ui" line="227"/> + <source>Preview</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../basicsettings.cpp" line="65"/> + <source><b>Warning:</b> notifications daemon is slow to respond. +Keep trying to connect…</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../basicsettings.cpp" line="74"/> + <source><b>Warning:</b> No notifications daemon is running. +A fallback will be used.</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../basicsettings.cpp" line="77"/> + <source><b>Warning:</b> A third-party notifications daemon (%1) is running. +These settings won't have any effect on it!</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../basicsettings.cpp" line="142"/> + <source>at top left</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../basicsettings.cpp" line="144"/> + <source>at top center</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../basicsettings.cpp" line="146"/> + <source>at top right</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../basicsettings.cpp" line="148"/> + <source>at center left</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../basicsettings.cpp" line="150"/> + <source>at center right</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../basicsettings.cpp" line="152"/> + <source>at bottom left</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../basicsettings.cpp" line="154"/> + <source>at bottom center</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../basicsettings.cpp" line="156"/> + <source>at bottom right</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../basicsettings.cpp" line="158"/> + <source>Notification demo </source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../basicsettings.cpp" line="159"/> + <source>This is a test notification. + All notifications will now appear here on LXQt.</source> + <translation type="unfinished"></translation> + </message> +</context> +<context> + <name>MainWindow</name> + <message> + <location filename="../mainwindow.cpp" line="41"/> + <source>Desktop Notifications</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../mainwindow.cpp" line="44"/> + <source>General Settings</source> + <translation type="unfinished"></translation> + </message> + <message> + <location filename="../mainwindow.cpp" line="48"/> + <source>Appearance</source> + <translation type="unfinished"></translation> + </message> +</context> +</TS> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/config/translations/lxqt-config-notificationd_fi.ts new/lxqt-notificationd-2.5.0/config/translations/lxqt-config-notificationd_fi.ts --- old/lxqt-notificationd-2.4.0/config/translations/lxqt-config-notificationd_fi.ts 2026-04-20 09:58:23.000000000 +0200 +++ new/lxqt-notificationd-2.5.0/config/translations/lxqt-config-notificationd_fi.ts 2026-11-04 13:49:52.000000000 +0100 @@ -7,12 +7,12 @@ <location filename="../advancedsettings.ui" line="85"/> <location filename="../advancedsettings.ui" line="95"/> <source>Use the top of the notification as shown.</source> - <translation type="unfinished"></translation> + <translation>Käytä ilmoituksen yläosaa kuvan osoittamalla tavalla.</translation> </message> <message> <location filename="../advancedsettings.ui" line="88"/> <source>Ignore these notifications:</source> - <translation type="unfinished"></translation> + <translation>Älä välitä näistä ilmoituksista:</translation> </message> <message> <location filename="../advancedsettings.ui" line="17"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/config/translations/lxqt-config-notificationd_zh_CN.ts new/lxqt-notificationd-2.5.0/config/translations/lxqt-config-notificationd_zh_CN.ts --- old/lxqt-notificationd-2.4.0/config/translations/lxqt-config-notificationd_zh_CN.ts 2026-04-20 09:58:23.000000000 +0200 +++ new/lxqt-notificationd-2.5.0/config/translations/lxqt-config-notificationd_zh_CN.ts 2026-11-04 13:49:52.000000000 +0100 @@ -7,12 +7,12 @@ <location filename="../advancedsettings.ui" line="85"/> <location filename="../advancedsettings.ui" line="95"/> <source>Use the top of the notification as shown.</source> - <translation type="unfinished"></translation> + <translation>显示通知的顶部。</translation> </message> <message> <location filename="../advancedsettings.ui" line="88"/> <source>Ignore these notifications:</source> - <translation type="unfinished"></translation> + <translation>忽略这些通知:</translation> </message> <message> <location filename="../advancedsettings.ui" line="17"/> @@ -47,7 +47,7 @@ <message> <location filename="../advancedsettings.ui" line="138"/> <source>Show notifications on screen with the mouse</source> - <translation>使用鼠标时在屏幕上显示通知</translation> + <translation>在鼠标所在的屏幕上显示通知</translation> </message> <message> <location filename="../advancedsettings.ui" line="113"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/src/notification.cpp new/lxqt-notificationd-2.5.0/src/notification.cpp --- old/lxqt-notificationd-2.4.0/src/notification.cpp 2026-04-20 09:58:23.000000000 +0200 +++ new/lxqt-notificationd-2.5.0/src/notification.cpp 2026-11-04 13:49:52.000000000 +0100 @@ -46,6 +46,7 @@ #define ICONSIZE QSize(32, 32) +using namespace Qt::Literals::StringLiterals; Notification::Notification(const QString &application, const QString &summary, const QString &body, @@ -62,7 +63,7 @@ m_hints(hints) { setupUi(this); - setObjectName(QSL("Notification")); + setObjectName(u"Notification"_s); setMouseTracking(true); setMaximumWidth(parent->width()); @@ -96,29 +97,29 @@ // - app_icon parameter // - for compatibility reason, "icon_data", "image_data" and "image_path" - if (!hints[QL1S("image-data")].isNull()) + if (!hints["image-data"_L1].isNull()) { - m_pixmap = getPixmapFromHint(hints[QL1S("image-data")]); + m_pixmap = getPixmapFromHint(hints["image-data"_L1]); } - else if (!hints[QL1S("image_data")].isNull()) + else if (!hints["image_data"_L1].isNull()) { - m_pixmap = getPixmapFromHint(hints[QL1S("image_data")]); + m_pixmap = getPixmapFromHint(hints["image_data"_L1]); } - else if (!hints[QL1S("image-path")].isNull()) + else if (!hints["image-path"_L1].isNull()) { - m_pixmap = getPixmapFromString(hints[QL1S("image-path")].toString()); + m_pixmap = getPixmapFromString(hints["image-path"_L1].toString()); } - else if (!hints[QL1S("image_path")].isNull()) + else if (!hints["image_path"_L1].isNull()) { - m_pixmap = getPixmapFromString(hints[QL1S("image_path")].toString()); + m_pixmap = getPixmapFromString(hints["image_path"_L1].toString()); } else if (!icon.isEmpty()) { m_pixmap = getPixmapFromString(icon); } - else if (!hints[QL1S("icon_data")].isNull()) + else if (!hints["icon_data"_L1].isNull()) { - m_pixmap = getPixmapFromHint(hints[QL1S("icon_data")]); + m_pixmap = getPixmapFromHint(hints["icon_data"_L1]); } // issue #325: Do not display icon if it's not found... if (m_pixmap.isNull()) @@ -155,7 +156,7 @@ //Body - This is a multi-line body of text. Each line is a paragraph, server implementations are free to word wrap them as they see fit. //XXX: remove all unsupported tags?!? (supported <b>, <i>, <u>, <a>, <img>) QString formatted(body); - bodyLabel->setText(formatted.replace(QL1C('\n'), QStringLiteral("<br/>"))); + bodyLabel->setText(formatted.replace(u'\n', QStringLiteral("<br/>"))); // Timeout // Special values: @@ -176,7 +177,7 @@ } // Categories ********************* - if (!hints[QL1S("category")].isNull()) + if (!hints["category"_L1].isNull()) { // TODO/FIXME: Categories - how to handle it? } @@ -186,7 +187,7 @@ // 0 Low // 1 Normal // 2 Critical - if (!hints[QL1S("urgency")].isNull()) + if (!hints["urgency"_L1].isNull()) { // TODO/FIXME: Urgencies - how to handle it? } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/src/notificationarea.cpp new/lxqt-notificationd-2.5.0/src/notificationarea.cpp --- old/lxqt-notificationd-2.4.0/src/notificationarea.cpp 2026-04-20 09:58:23.000000000 +0200 +++ new/lxqt-notificationd-2.5.0/src/notificationarea.cpp 2026-11-04 13:49:52.000000000 +0100 @@ -201,7 +201,7 @@ layershell->setScope(QStringLiteral("notification")); if (m_screenWithMouse) { - layershell->setScreenConfiguration(LayerShellQt::Window::ScreenConfiguration::ScreenFromCompositor); + layershell->setWantsToBeOnActiveScreen(true); } else { @@ -219,7 +219,8 @@ }); win->setScreen(screens.at(0)); } - layershell->setScreenConfiguration(LayerShellQt::Window::ScreenConfiguration::ScreenFromQWindow); + layershell->setWantsToBeOnActiveScreen(false); + layershell->setScreen(nullptr); } layershell->setMargins(QMargins(m_spacing, m_spacing, m_spacing, m_spacing)); LayerShellQt::Window::Anchors anchors; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/src/translations/CMakeLists.txt new/lxqt-notificationd-2.5.0/src/translations/CMakeLists.txt --- old/lxqt-notificationd-2.4.0/src/translations/CMakeLists.txt 2026-04-20 09:58:23.000000000 +0200 +++ new/lxqt-notificationd-2.5.0/src/translations/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100 @@ -1,3 +0,0 @@ -project(lxqt-notificationd) - -build_component("." "") diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/src/translations/lxqt-notificationd_eu.ts new/lxqt-notificationd-2.5.0/src/translations/lxqt-notificationd_eu.ts --- old/lxqt-notificationd-2.4.0/src/translations/lxqt-notificationd_eu.ts 1970-01-01 01:00:00.000000000 +0100 +++ new/lxqt-notificationd-2.5.0/src/translations/lxqt-notificationd_eu.ts 2026-11-04 13:49:52.000000000 +0100 @@ -0,0 +1,45 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE TS> +<TS version="2.1" language="eu"> +<context> + <name>NotificationActionsComboWidget</name> + <message> + <location filename="../notificationwidgets.cpp" line="131"/> + <source>Actions:</source> + <translation>Ekintzak:</translation> + </message> + <message> + <location filename="../notificationwidgets.cpp" line="155"/> + <source>OK</source> + <translation>Ados</translation> + </message> +</context> +<context> + <name>Notifyd</name> + <message> + <location filename="../notifyd.cpp" line="277"/> + <source>Clear All</source> + <translation>Garbitu dena</translation> + </message> + <message> + <location filename="../notifyd.cpp" line="288"/> + <source>Do Not Disturb</source> + <translation>Ez molestatu</translation> + </message> + <message> + <location filename="../notifyd.cpp" line="296"/> + <source>Options</source> + <translation>Aukerak</translation> + </message> + <message numerus="yes"> + <location filename="../notifyd.cpp" line="303"/> + <location filename="../notifyd.cpp" line="361"/> + <location filename="../notifyd.cpp" line="382"/> + <source>%n Unattended Notification(s)</source> + <translation> + <numerusform>Tratatu gabeko %n jakinarazpen</numerusform> + <numerusform>Tratatu gabeko %n jakinarazpen</numerusform> + </translation> + </message> +</context> +</TS> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/lxqt-notificationd-2.4.0/wayland_exclusive_edge.diff new/lxqt-notificationd-2.5.0/wayland_exclusive_edge.diff --- old/lxqt-notificationd-2.4.0/wayland_exclusive_edge.diff 2026-04-20 09:58:23.000000000 +0200 +++ new/lxqt-notificationd-2.5.0/wayland_exclusive_edge.diff 1970-01-01 01:00:00.000000000 +0100 @@ -1,43 +0,0 @@ -diff -ruNp lxqt-notificationd-orig/src/notificationarea.cpp lxqt-notificationd/src/notificationarea.cpp ---- lxqt-notificationd-orig/src/notificationarea.cpp 2025-10-28 16:32:05.000000000 +0330 -+++ lxqt-notificationd/src/notificationarea.cpp 2025-11-06 19:49:22.035541456 +0330 -@@ -223,6 +223,7 @@ void NotificationArea::setLayerShell() - } - layershell->setMargins(QMargins(m_spacing, m_spacing, m_spacing, m_spacing)); - LayerShellQt::Window::Anchors anchors; -+ LayerShellQt::Window::Anchor edge = LayerShellQt::Window::AnchorTop; - if (QL1S("top-center") == m_placement) - { - anchors = {LayerShellQt::Window::AnchorTop}; -@@ -238,24 +239,31 @@ void NotificationArea::setLayerShell() - else if (QL1S("center-left") == m_placement) - { - anchors = {LayerShellQt::Window::AnchorLeft}; -+ edge = LayerShellQt::Window::AnchorLeft; - } - else if (QL1S("center-right") == m_placement) - { - anchors = {LayerShellQt::Window::AnchorRight}; -+ edge = LayerShellQt::Window::AnchorRight; - } - else if (QL1S("bottom-left") == m_placement) - { - anchors = {LayerShellQt::Window::AnchorLeft | LayerShellQt::Window::AnchorBottom}; -+ edge = LayerShellQt::Window::AnchorBottom; - } - else if (QL1S("bottom-center") == m_placement) - { - anchors = {LayerShellQt::Window::AnchorBottom}; -+ edge = LayerShellQt::Window::AnchorBottom; - } - else if (QL1S("bottom-right") == m_placement) - { - anchors = {LayerShellQt::Window::AnchorBottom | LayerShellQt::Window::AnchorRight}; -+ edge = LayerShellQt::Window::AnchorBottom; - } - layershell->setAnchors(anchors); -+ // WARNING: Some compositors may demand an exclusive edge, although we need none. -+ layershell->setExclusiveEdge(edge); - } - } - }
