I have done some work to automate starting pcloudcc with expect and 1password-cli.
https://gist.github.com/christian-oudard/3c26d90651b7eb142008267d289e966a
Git Clone URL: | https://aur.archlinux.org/pcloudcc-git.git (read-only, click to copy) |
---|---|
Package Base: | pcloudcc-git |
Description: | A simple linux console client for pCloud cloud storage. |
Upstream URL: | https://github.com/pcloudcom/console-client |
Keywords: | pcloud pcloudcc pcloudcc-git |
Licenses: | GPL |
Conflicts: | pcloudcc |
Provides: | pcloudcc |
Submitter: | coxackie |
Maintainer: | coxackie |
Last Packager: | coxackie |
Votes: | 9 |
Popularity: | 0.000008 |
First Submitted: | 2020-10-21 11:30 (UTC) |
Last Updated: | 2021-11-18 21:31 (UTC) |
I have done some work to automate starting pcloudcc with expect and 1password-cli.
https://gist.github.com/christian-oudard/3c26d90651b7eb142008267d289e966a
@goetzc I have no platform other than x86_64 to check building, and since upstream is not pro-active at all with the repo, I do not want to find myself in the situation that I have to answer questions on building on arm (that I will not even be able to answer). The comments below should suffice for anyone who wants to do this locally on their machine.
What about patching the Makefile in prepare()
to use -mtune=native
GCC parameter?
@vlas Yes, that I did indeed. I compiled directly from your GitHub repo and everything went fine. :)
I've just changed for -mtune=native. Next time, I'll use -mtune=arm7
I've noticed libraries are compiled using CMakeFile; but one that use Makefile.
@vlas most probably the 2FA thing, but anyway this is an issue to be taken up with upstream. Nothing wrong with the package being able to build here.
@jean-michel Use github instead and change core2
to arm7
in the Makefile.
@coxackie Now it shows the following:
$ pcloudcc -u <email> -p
pCloud console client v.2.0.1
Please, enter password
Down: Everything Downloaded| Up: Everything Uploaded, status is CONNECTING
Down: Everything Downloaded| Up: Everything Uploaded, status is Unrecognized status
I use 2FA, maybe this is the reason?
Now, unfortunately, the PKGBUILD failed on Pi 4/400.
It's a problem around the -mtune gcc option. During the construction, I've got on Pi 400: gcc ....... -mtune=core2...... core2 is not one of the valid values of aarch64.
I investigate more...
@vlas upstream finally updated the repo - can you now build the package again and check if the problem resolves?
@jean-michel thanks a lot for the info - I will update the PKGBUILD in the next iteration with the 'aarch64' target.
Pinned Comments
coxackie commented on 2020-10-21 11:41 (UTC) (edited on 2020-10-21 20:24 (UTC) by coxackie)
This git AUR package replaces the previous
pcloudcc
one.