Package Details: syncthingtray 1.7.7-1

Git Clone URL: https://aur.archlinux.org/syncthingtray.git (read-only, click to copy)
Package Base: syncthingtray
Description: Tray application for Syncthing
Upstream URL: https://github.com/Martchus/syncthingtray
Licenses: GPL-2.0-or-later
Submitter: Martchus
Maintainer: Martchus
Last Packager: Martchus
Votes: 93
Popularity: 0.57
First Submitted: 2016-09-14 20:13 (UTC)
Last Updated: 2025-05-06 12:23 (UTC)

Pinned Comments

Martchus commented on 2016-10-31 11:39 (UTC) (edited on 2025-05-03 08:48 (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:

  • Switch to the Qt 6 based version. There is probably no good reason to still use the Qt 5 based version under GNU/Linux.
  • 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 broken until it has been rebuilt) or to uninstall syncthingtray temporarily before the update. After the update syncthingtray 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, qtforkawesome and syncthingtray in that order.
  • The KDE integrations have been ported to KDE 6 but building them for KDE 5 should still work. This package does not build any KDE integrations by default because KDE 6 is now in the main repositories. To build KDE integrations for KDE 6 you need to install syncthingtray-qt6 instead of this package.
  • 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

« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 14 Next › Last »

Martchus commented on 2022-08-03 10:52 (UTC)

@NovaViper I cannot help you with anything specific to EndeavourOS but please be aware that you need to build dependencies of this package before building this package itself (except of course dependencies that are already provided by official repositories).

NovaViper commented on 2022-08-02 23:54 (UTC) (edited on 2022-08-02 23:54 (UTC) by NovaViper)

When I try to install this package on EndeavourOS, I get this error

Could not find all required packages:
  libc++utilities.so (Wanted by: syncthingtray)
  libqtforkawesome.so (Wanted by: syncthingtray)
  libqtutilities.so (Wanted by: syncthingtray)

How do I fix this error?

Martchus commented on 2022-07-06 10:52 (UTC)

You need to rebuild c++utilities first.

You're not the first user to run into this problem. I'm really wondering why you would assume it makes sense to (re)build syncthingtray before its dependency c++utilities. If you're using an AUR helper you should likely move to using a better one or report a bug. However, I suggest to simply run makepkg/makechrootpkg manually and read various Wiki pages to understand how package building works. If you're lazy, I also provide a binary repository (see pinned comment).

mattalxndr commented on 2022-07-06 05:19 (UTC) (edited on 2022-07-06 05:19 (UTC) by mattalxndr)

I'm getting an error upgrading:

syncthingtray % makepkg --syncdeps
==> Making package: syncthingtray 1.2.1-1 (Wed 06 Jul 2022 12:17:44 AM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading syncthingtray-1.2.1.tar.gz...
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 1763k  100 1763k    0     0  2347k      0 --:--:-- --:--:-- --:--:-- 9301k
==> Validating source files with sha256sums...
syncthingtray-1.2.1.tar.gz ... Passed
==> Extracting sources...
-> Extracting syncthingtray-1.2.1.tar.gz with bsdtar
==> Starting build()...
-- The C compiler identification is GNU 12.1.0
-- The CXX compiler identification is GNU 12.1.0

[...]

-- Building with Qt Widgets GUI.
-- Building WITHOUT Qt Quick GUI.
-- Using Qt WebEngine as web view provider.
-- Using template for webviewdefs.h from QT_UTILITIES installation.
-- Using template for webviewincludes.h from QT_UTILITIES installation.
-- Linking syncthingwidgets against Qt module Qt5::Network.
-- Linking syncthingwidgets against Qt module Qt5::Concurrent.
-- Linking syncthingwidgets against Qt module Qt5::Gui.
-- Linking syncthingwidgets against Qt module Qt5::Widgets.
-- Linking syncthingwidgets against Qt module Qt5::WebEngineWidgets.
-- Linking syncthingwidgets against Qt module Qt5::Core.
-- Qt variable QT_INSTALL_TRANSLATIONS queried from qmake: /usr/share/qt/translations
-- Qt variable QT_INSTALL_TRANSLATIONS resolved to path: /usr/share/qt/translations
-- Project has translations which will be released.
-- Using template for qtconfig.h from QT_UTILITIES installation.
-- Using template for global.h from CPP_UTILITIES installation.
-- Using template for version.h from CPP_UTILITIES installation.
-- Using template for Config.cmake from CPP_UTILITIES installation.
-- Using template for template.pc from CPP_UTILITIES installation.
-- Using template for doxygen from CPP_UTILITIES installation.
-- Generating target for generating API documentation for syncthingwidgets with Doxygen
-- Using template for config.h from CPP_UTILITIES installation.
CMake Error at tray/CMakeLists.txt:96 (find_package):
Could not find a configuration file for package "c++utilities" that is
compatible with requested version "5.17.0".

The following configuration files were considered but not accepted:

/usr/share/c++utilities/cmake/c++utilitiesConfig.cmake, version: 5.16.0



-- Configuring incomplete, errors occurred!
See also "/home/matt/.cache/yay/syncthingtray/src/syncthingtray-1.2.1/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
Aborting...

SanskritFritz commented on 2022-06-04 10:49 (UTC)

@mattalxndr Remove syncthingtray from your autostart, or disable the plasmoid from the list of entries in the tray settings.

mattalxndr commented on 2022-06-04 09:57 (UTC)

For some reason, whenever I install this, I get both the plasmoid and the syncthingtray icons in the tray. How do I avoid having two icons in the tray that do virtually the same thing (other than hiding one of them in the overflow menu).

Martchus commented on 2022-05-26 10:03 (UTC)

@VyacheslavS Impossible to tell what's going wrong without logs. Checkout the pinned comment for how to ignore test failures. (Although it might be worthwhile looking into them.)

VyacheslavS commented on 2022-05-25 18:04 (UTC) (edited on 2022-05-25 18:10 (UTC) by VyacheslavS)

-> error making: syncthingtray

2/2 Test #2: syncthingctl_run_tests ...........   Passed   32.52 sec
50% tests passed, 1 tests failed out of 2
Total Test time (real) =  59.02 sec
The following tests FAILED:
      1 - syncthingconnector_run_tests (Failed)
Errors while running CTest
Output from these tests are in: /home/svm/.cache/yay/syncthingtray/src/syncthingtray-1.1.20/Testing/Temporary/LastTest.log
Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
FAILED: connector/CMakeFiles/check /home/svm/.cache/yay/syncthingtray/src/syncthingtray-1.1.20/connector/CMakeFiles/check 
cd /home/svm/.cache/yay/syncthingtray/src/syncthingtray-1.1.20 && /usr/bin/ctest -V
ninja: build stopped: subcommand failed. 

Martchus commented on 2022-05-05 00:08 (UTC)

To who flagged the package: Please rebuild packages in the right order. Nothing is outdated here. Please refrain from flagging a package if you run into a problem.

reefland commented on 2022-01-11 17:16 (UTC)

@Martchus - I understand now, thank you. I uninstalled the "syncthingtray-git" repo and went back to "syncthingtray" and it worked fine. As you said, just luck that the act of rebuilding from repo switch fixes it, not the alt repo itself.