-
Notifications
You must be signed in to change notification settings - Fork 807
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
appimage for arm? #2564
Comments
Technically yes (although I guess we might need to throw hardware at it which we don't have for now). That's not on our roadmap for now though. |
I am completely new to NextCloud, and when I saw this issue I wanted to give it a try to see if I can get it running on my PinePhone on Manjaro/PhoSh beta23, using instructions from https://github.com/nextcloud/desktop#linux--mac-os. After resolving various errors about missing packages and components I eventually get stuck at:
Full log is attached.
|
@robster7674 Try |
Stumbled upon a post that mentioned to install extra-cmake-modules. That worked, only thing remaining was an optional package CMocka not found, so I installed that as well. Then I end up without any warnings or errors. Due to time limitations I cannot start make install now, will do so tomorrow morning (CET) and report back. |
Thanks @jwillikers , your post crossed mine. ;) |
make install gave me a permissions error:
For now I used sudo to run make install and then the client starts up fine on the PinePhone. Over the upcoming days I will reimage the phone and start from scratch, then document the steps here. |
Did you see this repo: https://gitlab.com/undef1/signal-desktop-builder |
After a reimage with Manjaro/PhoSh using beta23, I installed these packages using yay to get the cmake working:
Let's see what the make install does now. Edit: make install fails again with permissions issue, need to dig into this:
|
Hey @er-vin by now you can get the hardware in every cloud. Would it be possible to reconsider? raspberry-pies are common enough as cheap desktops where it would be really nice to have the nextcloud-desktop installed. |
I used this script to compile desktop clients 3.9.0 and 3.8.2 on a Raspberry Pi Zero 2 W, 64bit, 2GB swap For 32bit ARM, Qt does not provide a web/engine/browser library which the desktop needs to compile. GREEN='\033[0;32m'; BIYellow='\033[1;93m'; RED='\033[0;31m'; NOCOLOR='\033[0m'; DESCRIPTION () { printf "${BIYellow}$1${NOCOLOR}\n"; }
#### Fehlt auf 32bit zero
# qtwebengine5-dev ---> libqt5webengine-data qutebrowser-qtwebengine
DESCRIPTION 'Ensure Debian packagess'
packagesWanted=( qt5-qmake cmake g++ openssl libssl-dev libzip-dev qtwebengine5-dev libqt5webengine-data qutebrowser-qtwebengine qtbase5-private-dev qtdeclarative5-dev qt5keychain-dev qttools5-dev sqlite3 libsqlite3-dev libqt5svg5-dev zlib1g-dev libqt5websockets5-dev qtquickcontrols2-5-dev libkf5archive-dev extra-cmake-modules libkf5kio-dev libqt5webkit5-dev inkscape doxygen )
packagesMissing=()
for apackage in "${packagesWanted[@]}"; do
# Add to list unlesss installed (dpkg --verify returns true if it can verify install)
dpkg --verify "$apackage" || packagesMissing+=("$apackage")
done
if (( ${#packagesMissing[@]} != 0 )); then
sudo apt update
sudo apt install --yes ${packagesMissing[*]}
fi
TAG=v3.8.2
WORKINGDIR="nextcloudDesktop${TAG}"
INSTALLDIR="~/nextcloud-desktop-client${TAG}"
DESCRIPTION "Get source: clone ${TAG}"
[ -d $WORKINGDIR ] || git -c advice.detachedHead=false clone --depth 1 --branch $TAG https://github.com/nextcloud/desktop.git $WORKINGDIR|| exit
cd $WORKINGDIR
git submodule update --init || exit
DESCRIPTION 'Meta make: create the build/Makefile'
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=$INSTALLDIR -DCMAKE_BUILD_TYPE=Debug || exit
DESCRIPTION 'Even the user install requires access to two system directories'
DIR4U=/usr/lib/aarch64-linux-gnu/qt5/plugins/kf5/overlayicon && ([ -d $DIR4U ] || sudo mkdir $DIR4U) && sudo chmod 777 $DIR4U
DIR4U=/usr/lib/aarch64-linux-gnu/qt5/plugins/kf5/kfileitemaction && ([ -d $DIR4U ] || sudo mkdir $DIR4U) && sudo chmod 777 $DIR4U
# target install also installs the tests :-(
DESCRIPTION 'Make: create the executable'
#time cmake --build build --target install || exit
time cmake --build build --target nextcloud || exit
On the Zero, building the tests takes an eternity, only the desktops about 3 hours, the desktops runs without an issue for the last two weeks, as root. I guessed the required packages, some might not be needed. It would be nice to see the source that builds the AppImages, or an ARM64 AppImage. |
Just an FYI, there is an unofficial Flatpak that is available for I've been using it on PINE64 / Raspberry Pi devices for a couple of years now. |
@jwillikers thank you for sharing, the aarch64 image also works fine on Asahi Linux with Mac ARMS. |
Would it be possible to have an appimage for arm64 for pinephone, pinetab and others...?
The text was updated successfully, but these errors were encountered: