-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Provide a aarch64 build for flathub #715
Comments
Unfortunately I was never able to produce an arm build for Spotube |
Ok so I was playing with CircleCI's linux-arm64 machines & luckily I was able to successfully produce a build |
Make sure these dependencies are installed |
I'm using postmarketos ( so musl instead of glibc) |
It won't work in that case. Flutter depends on glibc |
So I testing arm version on flatpak. See if this works flatpak install --user https://dl.flathub.org/build-repo/48466/com.github.KRTirtho.Spotube.flatpakref |
|
Please do the following: $ flatpak run --devel --command=sh com.github.KRTirtho.Spotube
$ cd /app/spotube/
$ ldd spotube Then provide the output of the last command |
|
Please check is there $ cd /app/spotube
$ LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/app/spotube/lib" ./spotube |
The lib dir does not exist. ls: |
Ok so the Zip messed up the folders |
This time it should work. Using the tar.xz for installation $ flatpak install --user https://dl.flathub.org/build-repo/48962/com.github.KRTirtho.Spotube.flatpakref |
Now it works but it has a strange layout (uses pc layout instead of android layout). how can i fix it? |
That's super easy barely an inconvenience Also can you share some screenshot, I want to see it so much 😄 |
sorry for responding so late, I've been busy everything works as planned. I can't send screenshots since I'm using gnome-shell-mobile which is alpha quality. Thank you very much! Two suggestions: 1- automatic updates should be disabled, as flatpak should handle them As soon as you publish the arm version on flatpak ( or you start a new build with the bot ) I will send you some screenshots 😁 |
I saw this and couldn't resist to test that on Librem 5. So first of all the link you provided with the build is already gone, so I built the flatpak locally on the phone with this patch basing on this. Now to run it there were some issues with GTK3/GDK3 already partially fixed on upstream (this issue specifically) but required additional backport from GTK4. Again compiled manually and required to install all dev dependencies (GTK3 Meson submodule based build is known to not work there) I also needed to modify flatpak Gnome SDK/Platform and copy over all files. Finally I froze them, so no modifications would go in there with unwanted updates. If anyone would like to go the same path I can share the more detailed steps. From issues - scrolling is quite painful (requires to 'grab' the scroll on the edge of screen - no gestures). Anyway 10/10 would do that again. @KRTirtho Thanks for all your work! I can finally play music in my car without doing some convoluted setups! |
Glad that it worked & congrats on getting it working 🎉
Not sure why this much configuration was needed. Btw, there's spotube-linux-nightly-aarch64.tar.xz which should work out of the box if all required runtime packages are installed |
Steps to build the flatpak locally:
|
I tried building it but got this error:
I then installed intltool via
|
I tried to compile the arm64 version on the latest source code, but encountered an error and couldn't find libdiscord rpc.so. After checking, it was found that the file exists, but it is x86 library. I found the referenced project and found that the file does not have the source code. The Discord rpc project itself only provides x86 version libraries. So what should we do? Can't we compile the arm64 version in the future |
@Potomiho I would be very interested in installing it on Droidian, which should be pretty similar to Purism. Could you please share more details on what I should do as of today (I have no knowledge with flatpak building)? Alternatively, @KRTirtho could you put the arm64 versions back on Flathub? I saw there were links to them in the above posts, but they're now gone, which is why @Potomiho had to build the flatpak locally. But if there were builds working on your side, that'd be even better (less work for arm64 users). |
Oh wait, I missed the following. I'll try that first.
|
Sorry for the spam, but I assume it is best to send notifications rather than making edits that no one may ever read if they already read the previous message version in their email. So I realized there actually are aarch64 builds now in nightly builds, which is great news! However, I think there's an error as the aarch64 package is actually build as an amd64 package:
I haven't had success from the AppImage or tar.xz files either yet (need to figure out how to install Flutter SDK on aarch64; I found this but didn't manage to make anything useful out of it, I hope I can find instructions elsewhere). |
Hi are there any holdups here? Would love to have aarch64 officially supported on flatpak. |
This issues as been fixed, could you please close this issues to help reading trhow the issues for developers and let them not have to verify if a issues as already been fixed please. 😉 |
This issue is not fixed. There is no aarch64 flathub release currently https://github.com/flathub/com.github.KRTirtho.Spotube/blob/master/flathub.json |
Oh shit I send it in the wrong issues sorry. |
@Peperehobbits01, presumably https://droidian.org/. |
Yes, that's that OS, and that is why I was also very interested in an aarch64 Linux build instead of the Android apk (although I can run it in Waydroid, I prefer not depending on Waydroid when I can). |
Is there an existing issue for this?
Pain
I can't find a Spotify client for mobile linux as good as spotube ;)
Suggested solution
This would be cool for Linux phones
Useful resources
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: