Package Details: toggldesktop 7.4.107-1

Git Clone URL: (read-only)
Package Base: toggldesktop
Description: Toggl time tracking software
Upstream URL:
Licenses: BSD
Conflicts: toggl-bin, toggldesktop-bin
Submitter: karel_louwagie
Maintainer: swalladge (flops)
Last Packager: flops
Votes: 17
Popularity: 1.635990
First Submitted: 2016-02-27 16:04
Last Updated: 2018-02-27 00:47

Latest Comments

swalladge commented on 2018-01-31 05:35

@flops done, thanks! Don't worry, 99% of package management is taking the software and patches available and getting it together as a working package! ;)

flops commented on 2018-01-29 18:55

@swalladge i can support and keep things up to date cause i'm using this package. But i'm not a C\C++ dev, so won't be so useful as phi-mah could be. As you say i just took his patches and updated version.

swalladge commented on 2018-01-22 06:18

@flops thanks! Would you like to be added as a comaintainer? (that goes for @phi-mah too, since after reading through the comments I see you came up with the original fixes)

flops commented on 2018-01-20 12:46

Please update PKGBUILD - here 4.7.90 version bump and fix for network error

abhinavd commented on 2017-12-21 13:04

I installed old gstreamer libraries and see that the binary from Toggl works for now, so I am not trying again. Thanks though, your work will surely help someone else!

EDIT: I did try it and it works great! The compile time stumped me too. Thanks again.

phi-mah commented on 2017-12-21 07:16

Yes, the changes described in systemlibs.patch are needed to turn off build and linkage of toggldesktop's own openssl/poco libs. Thus the patched PKGBUILD prepare function applies the new systemlibs.patch after extracting the sources.

In principle this should all happen automatically. Use a clean checkout of the aur toggldesktop repo and e.g. use:

curl | git apply

(When I do this, I get some errors of the type: <stdin>:64: trailing whitespace, just ignore them)</stdin>

to make all the changes that are mentioned in the gist file.

After that, just run makepkg. This way I got a working pkg. Lets hope that it will work as well in your case!

abhinavd commented on 2017-12-20 19:38

@phi-mah, thanks for this! However, for me I still get the ssl error with this build (with plenty of lines saying: SSL Exception: Cannot create SSL_CTX object: error:140A90A1:SSL routines:SSL_CTX_new:library has no ciphers)

Also, just to confirm that I have this right: the file in your gist has two parts: one a patch for the PKGBUILD, and the other the systemlibs.patch file, is it not? I patched the PKGBUILD, and saw the changes. I also removed these lines from the systemlibs.patch file and modified my PKGBUILD to update the last sha512sum (I realise I could have let the lines remain in the systemlibs.patch file and kept the automatically generated sha512sum e2084ecaf7ba3d3c630597450f5aff6bb65844002f2f7332a01228f0f0f0a2c8dae7b7af5f28063db63c5ce10dcd0b21d92adfb5fd8e25677e94eaa0c578c34d, but that hadn't worked for me so I tried it in the way I describe).

Ironic that a time-tracker app is eating way too much of my time in trying to get it to build right. The binary downloaded from the site doesn't work either since I need old gst libraries that are flagged out of date in Arch.

phi-mah commented on 2017-12-20 12:34

Yep, the problem is probably related with the openssl libraries used.

If I change the build files to make use of the poco/openssl system libraries, I benefit from multiple advantages:

  • way faster build process

  • build works in symlinked directories (poco related)

and most important:

  • the app is working again!

phi-mah commented on 2017-12-19 09:34

Concerning the build process, I found the problem:

(I specified a dedicated build directory, which in turn is a symlink)

I am definitely not an expert in this field, but I tried to investigate the linkage to libssl.

ldd /opt/toggldesktop/TogglDesktop | grep ssl

/opt/toggldesktop => /usr/lib/ (0x00007f3563963000) => /home/philipp/builds/arch-pkg/toggldesktop/src/toggldesktop-7.4.76/src/ui/linux/TogglDesktop/../../../lib/linux/TogglDesktopLibrary/build/release/ (0x00007f3561dea000)

So there are still artifacts from the build process linked in (as well as the system libssl).

Renaming the build dir let them disappear:

mv /home/philipp/builds/arch-pkg/toggldesktop{,.bak}

ldd /opt/toggldesktop/TogglDesktop | grep ssl

/opt/toggldesktop => /usr/lib/ (0x00007f28b683c000)

But it still results in the same error.

Renaming the ssl libs in /usr/lib is probably a stupid idea (I tried it anyhow :-)) but then toggl will not even start. And I tried to move toggls own libssl into /opt/toggldesktop/lib (initially it is not there) as /opt/toggldesktop/ considers this directory in its LD_LIBRARY_PATH.

My toogl logs start on December the 13th, directly reporting this error. I don't know why there aren't any other events logged prior to this date. However on that same day, pacman pulled in qt5.10.

Openssl-1.0 got updated on December the 15t [openssl-1.0 (1.0.2.l-1 -> 1.0.2.n-1)], so to a time when the problem was already apparent. Downgrading did not help.

At the beginning of December, toggldesktop was still functional.

swalladge commented on 2017-12-19 02:47

I suspect this has something to do with the fact that it bundles a version of openssl with it (and probably is getting built against it). If that version is very different from that shipped with arch, then we have a problem. Debugging help appreciated! :)

All comments