Bug 283933 - mail/datovka: update to 4.25.0
Summary: mail/datovka: update to 4.25.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL: https://gitlab.nic.cz/datovka/datovka...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-08 17:16 UTC by Martin Filla
Modified: 2025-01-18 16:39 UTC (History)
1 user (show)

See Also:


Attachments
0001-datovka-update-to-4.25.0.patch (1.12 KB, patch)
2025-01-08 17:16 UTC, Martin Filla
no flags Details | Diff
0001-datovka-update-to-4.25.0.patch (1.61 KB, patch)
2025-01-17 22:36 UTC, Martin Filla
freebsd: maintainer-approval+
Details | Diff
0001-datovka-update-to-4.25.0.patch (1.61 KB, patch)
2025-01-18 04:47 UTC, Martin Filla
freebsd: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Filla 2025-01-08 17:16:09 UTC
Created attachment 256548 [details]
0001-datovka-update-to-4.25.0.patch

Hi,
this is an update datovka to 4.25.0. Poudriere is ok.
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2025-01-16 21:17:24 UTC
It support work with QT6.

-USES=           compiler:c++11-lang desktop-file-utils gl pkgconfig qmake qt:5 \
+USES=           compiler:c++17-lang desktop-file-utils gl pkgconfig qmake qt:6 \

-USE_QT=         buildtools core gui network printsupport sql svg websockets \
-                widgets
+USE_QT=         base svg websockets XXX

Testing what else is needed (instead of XXX).
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2025-01-16 22:36:07 UTC
Migrate to QT6:
-USES=           compiler:c++11-lang desktop-file-utils gl pkgconfig qmake qt:5 \
+USES=           compiler:c++17-lang desktop-file-utils gl pkgconfig qmake qt:6 \

-USE_GL=         gl
+USE_GL=         opengl

-USE_QT=         buildtools core gui network printsupport sql svg websockets \
-                widgets
+USE_QT=         5compat base svg websockets

Tested build on 14.2 amd64 in poudriere and on live system.
Comment 3 Martin Filla 2025-01-17 22:36:04 UTC
Created attachment 256764 [details]
0001-datovka-update-to-4.25.0.patch

migrated to qt6
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2025-01-18 00:23:41 UTC
ChangeLog: * Using c++17 compiler flag when compiling with Qt-6.
-USES=compiler:c++11-lang
+USES=compiler:c++17-lang
I'll change this.
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2025-01-18 00:27:23 UTC
Also don't need "USES=desktop-file-utils" - no "MimeType" in deployment/datovka.desktop:
[Desktop Entry]
Version=1.0
Type=Application
Name=Datovka
Terminal=false
Exec=datovka
Icon=datovka
Comment=A free graphical user interface for Datove schranky
Comment[cs]=Svobodné uživatelské rozhraní pro Datové schránky
Categories=Office;

And you forgot:
-USE_GL=         gl
+USE_GL=         opengl
Comment 6 Martin Filla 2025-01-18 04:47:33 UTC
Created attachment 256768 [details]
0001-datovka-update-to-4.25.0.patch
Comment 7 commit-hook freebsd_committer freebsd_triage 2025-01-18 16:35:35 UTC
A commit in branch main references this bug:

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

commit 65b6aca935cf4a29bd13f98046c3f1b63de18b22
Author:     Martin Filla <freebsd@sysctl.cz>
AuthorDate: 2025-01-18 16:31:48 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-01-18 16:31:48 +0000

    mail/datovka: Update 4.24.2 → 4.25.0, migrate from qt5 to qt6

    Changelog:
    https://gitlab.nic.cz/datovka/datovka/-/blob/v4.25.0/ChangeLog

    PR:     283933

 mail/datovka/Makefile | 10 ++++------
 mail/datovka/distinfo |  6 +++---
 2 files changed, 7 insertions(+), 9 deletions(-)
Comment 8 Vladimir Druzenko freebsd_committer freebsd_triage 2025-01-18 16:39:56 UTC
Thanks.