Package Details: toggldesktop 7.5.363-3

Git Clone URL: https://aur.archlinux.org/toggldesktop.git (read-only, click to copy)
Package Base: toggldesktop
Description: Toggl time tracking software
Upstream URL: https://github.com/toggl-open-source/toggldesktop
Keywords: toggl
Licenses: BSD
Conflicts: toggl-bin, toggldesktop-bin
Submitter: midnightfox
Maintainer: Miller.EC
Last Packager: Miller.EC
Votes: 25
Popularity: 0.000000
First Submitted: 2016-02-27 16:04 (UTC)
Last Updated: 2023-03-18 02:19 (UTC)

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

x-yuri commented on 2024-02-14 08:18 (UTC) (edited on 2024-02-14 16:59 (UTC) by x-yuri)

An error during build:

~/build/toggldesktop/src/toggldesktop-7.5.363/third_party/poco/Crypto/src/RSACipherImpl.cpp: In function
‘int Poco::Crypto::{anonymous}::mapPaddingMode(RSAPaddingMode)’:
~/build/toggldesktop/src/toggldesktop-7.5.363/third_party/poco/Crypto/src/RSACipherImpl.cpp:54:32: error:
‘RSA_SSLV23_PADDING’ was not declared in this scope; did you mean ‘RSA_NO_PADDING’?
   54 |                         return RSA_SSLV23_PADDING;
      |                                ^~~~~~~~~~~~~~~~~~
      |                                RSA_NO_PADDING

Supposedly due to openssl removing support for RSA_SSLV23_PADDING:

https://stackoverflow.com/a/72250612/52499

Any ideas?

radfordhound commented on 2023-11-12 07:32 (UTC)

Hey, attempting to build this package recently is resulting in errors which are related to Poco.

It seems that the CMake script included with the poco package (specifically, PocoUtilConfig.cmake) contains the following lines:

if(ENABLE_XML)
    find_dependency(PocoXML)
endif()
if(ENABLE_JSON)
    find_dependency(PocoJSON)
endif()

If ENABLE_XML and ENABLE_JSON are not set, the script will fail, and CMake will warn that Poco was not found. The toggldesktop cmake scripts then proceed to fallback to the bundled Poco in the included third_party folder, which fails with a compiler error (I think due to it building old Poco code in the third_party folder using the latest headers from the poco package?).

Anyway, I managed to fix by adding -DENABLE_XML=ON and -DENABLE_JSON=ON to the end of the cmake command in the PKGBUILD which starts on line 48, like so:

  cmake ../${pkgname}-${pkgver}\
    -DCMAKE_INSTALL_PREFIX=/usr\
    -DTOGGL_VERSION:STRING="${pkgver}"\
    -DTOGGL_PRODUCTION_BUILD=ON\
    -DTOGGL_ALLOW_UPDATE_CHECK=ON\
    -DUSE_BUNDLED_LIBRARIES=OFF\
    -DENABLE_XML=ON\
    -DENABLE_JSON=ON

nicktee commented on 2022-11-15 21:41 (UTC)

@x-yuri thanks yeah re-installing & rebuilding did the trick

x-yuri commented on 2022-11-15 09:53 (UTC) (edited on 2022-11-15 09:54 (UTC) by x-yuri)

@nicktee My guess is you upgraded poco (pacman -Syu), but didn't rebuild toggl. As a result, toggl can't find the version of poco it was built against.

nicktee commented on 2022-11-15 06:38 (UTC) (edited on 2022-11-15 06:40 (UTC) by nicktee)

I get the following when I run this

~$ TogglDesktop.sh 
/usr/bin/TogglDesktop: error while loading shared libraries: libPocoCrypto.so.91: cannot open shared object file: No such file or directory

Version:

~$ yay -Qi toggldesktop
Name            : toggldesktop
Version         : 7.5.363-3

Also:

~$ yay -Qi poco
Name            : poco
Version         : 1.12.4-1
...
Build Date      : Sun 13 Nov 2022 17:33:07
Install Date    : Tue 15 Nov 2022 08:55:01

Looks like poco got updated to an incompatible version?

herrzinter commented on 2022-04-04 07:45 (UTC)

I get the error

toggldesktop: /usr/lib/libjsoncpp.so exists in filesystem (owned by jsoncpp)

It does not change if I deinstall jsoncpp. Anyone knows, what to do?

Miller.EC commented on 2022-02-03 17:07 (UTC)

This package was flagged out-of-date due to there being newer prereleases available in the Github repository.

I choose to not update this package with these prereleases as they tend to be buggier than the last stable release (7.5.363 at this time). For example, the shortcut key feature in the latest prerelease version 7.5.454 does not work, while it does in 7.5.363.

Note that the toggl-open-source/toggldesktop README mentions that the Toggl team is reworking their desktop apps and plan to release new versions, in line with this they have stopped accepting feature requests for the existing apps. Looking at the number of open issues and PRs on the project, there doesn't seem to be many resources being put into maintenance, so personally I'm waiting for the new native desktop apps they'd intended to release late last year.

PotHix commented on 2021-12-28 11:47 (UTC)

Thanks, @Miller.EC! That fixes the problem!

Miller.EC commented on 2021-12-28 11:11 (UTC)

@PotHix I've bumped the package release to force a rebuild against the updated extra dependency libjsoncpp.so.25

PotHix commented on 2021-12-28 10:22 (UTC)

Currently having a problem with libjsoncpp:

TogglDesktop: error while loading shared libraries: libjsoncpp.so.24: cannot open shared object file: No such file or directory