Package Details: syncthingtray-qt6 1.6.3-1

Git Clone URL: https://aur.archlinux.org/syncthingtray-qt6.git (read-only, click to copy)
Package Base: syncthingtray-qt6
Description: Tray application for Syncthing (using Qt 6)
Upstream URL: https://github.com/Martchus/syncthingtray
Licenses: GPL-2-or-later
Submitter: Martchus
Maintainer: Martchus
Last Packager: Martchus
Votes: 21
Popularity: 1.28
First Submitted: 2020-11-07 16:16 (UTC)
Last Updated: 2024-10-21 14:23 (UTC)

Pinned Comments

Martchus commented on 2023-11-21 23:20 (UTC) (edited on 2024-10-21 15:10 (UTC) by Martchus)

All my packages are managed at GitHub where you can also contribute directly: https://github.com/Martchus/PKGBUILDs
There also exist a binary repository: https://wiki.archlinux.org/index.php/Unofficial_user_repositories#ownstuff

Important remarks:

  • The packages within the binary repository are built against the latest packages from Arch Linux and hence might not be compatible with Manjaro. This can be the cause when the Plasmoid doesn't work.
  • Like with any other package a rebuild is required when the soname of a dependency like boost changes (see e.g. https://github.com/Martchus/syncthingtray/issues/98). The package in my binary repository should be rebuilt in a timely manner. I'm also sometimes updating pkgrel of the AUR package when a rebuild is required (only in accordance with Arch Linux of course, not in accordance with Manjaro).
    • The "dirty" way is forcing the installation/update (leaving syncthingtray-qt6 broken until it has been rebuilt) or to uninstall syncthingtray-qt6 temporarily before the update. After the update syncthingtray-qt6 can be rebuilt and reinstalled again.
    • The correct solution is to use makechrootpkg which is also how official developers build their packages (and how packages in my binary repository are built).
  • It is required to build dependencies (that are not provided by Arch Linux itself) before building this package. So you need to build c++utilities, qtutilities-qt6, qtforkawesome-qt6 and syncthingtray-qt6 in that order.
  • The KDE integrations have been ported to KDE 6. This package builds KDE integrations for KDE 6 by default as KDE 6 is now in the main repositories.
  • Note that the tests of this package might fail despite there's nothing wrong (e. g. because Syncthing is just too slow and the test runs in a timeout). To ignore those false-positives, build the package with makepkg --nocheck or makechrootpkg -- --nocheck. It makes still sense to report failures. But please include the actual error message and not just the last few lines.

Latest Comments

1 2 3 4 5 Next › Last »

Martchus commented on 2024-09-27 14:36 (UTC) (edited on 2024-09-27 14:37 (UTC) by Martchus)

Fixed. Sorry for accidentally pushing these changes. (They were supposed to be pushed only on the next release after some testing was done.)

mbunkus commented on 2024-09-27 14:28 (UTC)

It seems this package cannot be installed anymore as there's no package that provides libc++utilities-qt6.so anymore?

Martchus commented on 2024-09-18 21:07 (UTC)

Considering the -qt6 package works now as well you just might not be able to reproduce the issue anymore at all. However, for now let's leave it at this because I'd be out of ideas what else to improve anyway.

FichteFoll commented on 2024-09-18 08:03 (UTC)

Indeed, it works now after I rebooted my system for a different reason, for both -git and -qt6, so that must've been it. I don't actually remember having something serving over 8080 specifically, but it is not unlikely.

Martchus commented on 2024-09-17 18:57 (UTC)

I've just noticed that the mocking of those tests is incomplete. Normally this is not a problem because the test just expects the relevant requests to fail anyway. However, maybe you have an HTTP server running on your system that returns a 200 response on the query http://localhost:8080/rest/db/ignores?folder=GXWxf-3zgnU. So I've just pushed a new change to test that hypothesis. With this change Ignore patterns have been changed. will hopefully vanish from your test logs and tests will pass.

Martchus commented on 2024-09-17 18:45 (UTC)

Too bad that it didn't work. At this point I have no idea why the test behaves differently in your case. The line that would print Ignore patterns have been changed. is actually not indented to be covered by the test in its current form. It is actually expected that saving ignore patterns fails with Unable to change ignore patterns: …. Not sure what I can do about it because I can really not reproduce this locally.

FichteFoll commented on 2024-09-17 16:48 (UTC)

@Martchus

3: ********* Start testing of ModelTests *********
3: Config: Using QtTest library 6.7.2, Qt 6.7.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 14.2.1 20240805), arch unknown
3: PASS   : ModelTests::initTestCase()
3: PASS   : ModelTests::testDirectoryModel()
3: PASS   : ModelTests::testDevicesModel()
3: QDEBUG : ModelTests::testFileModel() connection error:  "Unable to query ignore patterns of \"GXWxf-3zgnU\": No mockup reply available for this request."
3: QWARN  : ModelTests::testFileModel() qt.svg: Cannot open file ':/icons/hicolor/scalable/actions/view-refresh.svg', because: No such file or directory
3: QWARN  : ModelTests::testFileModel() qt.svg: Cannot open file ':/icons/hicolor/scalable/actions/view-refresh.svg', because: No such file or directory
3: QWARN  : ModelTests::testFileModel() qt.svg: Cannot open file ':/icons/hicolor/scalable/places/folder-open.svg', because: No such file or directory
3: QWARN  : ModelTests::testFileModel() qt.svg: Cannot open file ':/icons/hicolor/scalable/places/folder-open.svg', because: No such file or directory
3: QWARN  : ModelTests::testFileModel() qt.svg: Cannot open file ':/icons/hicolor/scalable/places/edit-copy.svg', because: No such file or directory
3: QWARN  : ModelTests::testFileModel() qt.svg: Cannot open file ':/icons/hicolor/scalable/places/edit-copy.svg', because: No such file or directory
3: QDEBUG : ModelTests::testFileModel() file model notification of type  "info" :  "Ignore patterns have been changed."
3: QDEBUG : ModelTests::testFileModel() connection error:  "Unable to query ignore patterns of \"GXWxf-3zgnU\": No mockup reply available for this request."
3: FAIL!  : ModelTests::testFileModel() Timeout exceeded
3:    Loc: [/usr/src/debug/syncthingtray-git/syncthingtray/syncthingmodel/tests/models.cpp(48)]
3: PASS   : ModelTests::cleanupTestCase()
3: Totals: 4 passed, 1 failed, 0 skipped, 0 blacklisted, 4801ms
3: ********* Finished testing of ModelTests *********

crashoverarch commented on 2024-09-14 11:00 (UTC) (edited on 2024-09-14 11:00 (UTC) by crashoverarch)

Regarding the error :: installing boost-libs (1.86.0-2) breaks dependency 'libboost_filesystem.so=1.83.0-64' required by syncthingtray-qt6

For me it worked:

  1. Removing syncthingtray-qt6 before updating
sudo pacman -R syncthingtray-qt6
sudo pacman -Syu
  1. Installing the deps from AUR and then installing syncthingtray-qt6
paru -S c++utilities
paru -S qtutilities-qt6
paru -S qtforkawesome-qt6
paru -S syncthingtray-qt6

Martchus commented on 2024-09-11 13:52 (UTC) (edited on 2024-09-11 13:53 (UTC) by Martchus)

@FichteFoll I cannot reproduce this problem. However, I pushed a change to the Git repository that will probably let tests pass. For now you can simply go ahead and build this package without tests (as mentioned in the pinned comment). If you like to help me you can also try to build the syncthingtray-git package and tell me whether it works. Even if it works I'd be interested in the logs between 3: ********* Start testing of ModelTests ********* and ********* Finished testing of ModelTests *********. With my latest change more QDEBUG lines should show up in any case and the information would be useful to me. Note that you can install syncthingtray-git and its dependencies alongside syncthingtray-qt6 so you don't have to uninstall anything for doing this test.

FichteFoll commented on 2024-09-11 07:57 (UTC) (edited on 2024-09-11 07:57 (UTC) by FichteFoll)

Tests are failing for me on both this package and the qt5 one (built via aurutils in chroot):

    Start 3: syncthingmodel-qt6_run_models_tests

3: Test command: /build/syncthingtray-qt6/src/syncthingtray-1.6.2/syncthingmodel/syncthingmodel-qt6_models_tests
3: Working Directory: /build/syncthingtray-qt6/src/syncthingtray-1.6.2/syncthingmodel
3: Test timeout computed to be: 10000000
3: /build/syncthingtray-qt6/src/syncthingtray-1.6.2/syncthingmodel/../syncthingconnector/testfiles/
3: ./testfiles/
3: Directory used to store working copies:
3: ./testfiles/workingdir/
3: ********* Start testing of ModelTests *********
3: Config: Using QtTest library 6.7.2, Qt 6.7.2 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 14.2.1 20240805), arch unknown
3: PASS   : ModelTests::initTestCase()
3: PASS   : ModelTests::testDirectoryModel()
3: PASS   : ModelTests::testDevicesModel()
3: QDEBUG : ModelTests::testFileModel() connection error:  "Unable to query ignore patterns of \"GXWxf-3zgnU\": No mockup reply available for this request."
3: QWARN  : ModelTests::testFileModel() qt.svg: Cannot open file ':/icons/hicolor/scalable/actions/view-refresh.svg', because: No such file or directory
3: QWARN  : ModelTests::testFileModel() qt.svg: Cannot open file ':/icons/hicolor/scalable/actions/view-refresh.svg', because: No such file or directory
3: QWARN  : ModelTests::testFileModel() qt.svg: Cannot open file ':/icons/hicolor/scalable/places/folder-open.svg', because: No such file or directory
3: QWARN  : ModelTests::testFileModel() qt.svg: Cannot open file ':/icons/hicolor/scalable/places/folder-open.svg', because: No such file or directory
3: QWARN  : ModelTests::testFileModel() qt.svg: Cannot open file ':/icons/hicolor/scalable/places/edit-copy.svg', because: No such file or directory
3: QWARN  : ModelTests::testFileModel() qt.svg: Cannot open file ':/icons/hicolor/scalable/places/edit-copy.svg', because: No such file or directory
3: FAIL!  : ModelTests::testFileModel() Compared values are not the same
3:    Actual   (type)                   : "info"
3:    Expected (QStringLiteral("error")): "error"
3:    Loc: [/usr/src/debug/syncthingtray-qt6/syncthingtray-1.6.2/syncthingmodel/tests/models.cpp(369)]
3: PASS   : ModelTests::cleanupTestCase()
3: Totals: 4 passed, 1 failed, 0 skipped, 0 blacklisted, 35ms
3: ********* Finished testing of ModelTests *********
3/4 Test #3: syncthingmodel-qt6_run_models_tests .....***Failed    0.06 sec