-
Notifications
You must be signed in to change notification settings - Fork 87
AppImage Qt5.8 #162
AppImage Qt5.8 #162
Conversation
So the Travis CI AppImage build still uses Qt 4 while the Docker stuff uses 5.8. Did you know that you can run Docker images on Travis CI? I think that'd be the way to go: Have Travis CI use the Docker image to build the AppImage. Do you think you can do this? It would also save me from setting up a Docker instance locally on my machine. |
Bad idea to do it like this @rullzer. You should NOT enable FUSE in Docker with black magic, bypassing several security measurements enforced by default by Docker for good reasons. Instead, Also, you can just integrate it with your Travis file, as you can run Docker stuff on Travis IIRC. |
Oh, btw, you should also If you need more information on how to do it right™, please get in touch with me on Freenode in #appimage. |
cc @ivaradi |
This branch has been made from a few commits behind the current master, i.e. it does not contain my fix for the determination of the base version (i.e. 2.3.1 or 2.3.2). This is why the "push" build fails, but the "pr" one is successful. So I think the build failure can be ignored in this case. |
Thnx @TheAssassin for the pointers. I'll get to work with those ;) |
Signed-off-by: Roeland Jago Douma <[email protected]>
Signed-off-by: Roeland Jago Douma <[email protected]>
Signed-off-by: Roeland Jago Douma <[email protected]>
@TheAssassin I fixed it a bit. Now no more priviledges to docker are required thnx for the tip. Now lets see if I can make @probonopd stuff work with Qt5.8! |
@3v1n0 This is what I see: Yeah, would be great if someone could fix the store issue. |
@enoch85 mh... I see, i guess (I've not checked the logs yet) it's because of this security advisor. |
Any news here? |
One last issue that should probably be fixed: In the build script, the option Other than that, it looks good to me now. |
Any news here? @TheAssassin Could you please add the suggested changes? |
@rullzer is this still what you are using? Looks like this is not using |
@probonopd no it does not use linuxdeployqt, unfortunately. @enoch85 I cannot push to the repository so I cannot update that specific branch, I am just a collaborator because I sent a PR previously. Talking about PRs, please see #181. |
@TheAssassin @probonopd So this is OK to merge now from your perspective? |
Well, @probonopd is right that the recipe should use linuxdeployqt instead of the legacy shell script stuff. So, technically yes, you can merge it as is after checking whether the latest build works, and change it to use linuxdeployqt eventually. |
@TheAssassin Sure, let's make another PR for the fixes. Thanks for confirming! |
Have you actually run it...? Just wondering... |
@TheAssassin Nope, trusted you that it worked. All the checks passed and you approved it so I figured everything was OK? |
I just thought a few further checks wouldn't hurt. |
It's broken... starting here https://travis-ci.org/nextcloud/client_theming/jobs/251305311#L2107... should be /app/usr/share/... rather than /app/share/... |
@TheAssassin You're right, I was a bit quick. 😟 @probonopd Could you please prepare another PR? |
Working on it in #182 |
I see... I ran the old version instead of the one with the changes, and failed to notice the mistake... sorry for that. Pro tip: always check the results of a PR yourself before merging. And don't submit code that isn't tested thoroughly. Thanks @probonopd, let me know if I can support your efforts. You might visit IRC once in a while by the way, there's news. |
So the steps:
docker build -t nextcloud-client-appimage:5.8 linux/AppImage
docker run -t -i --rm --cap-add SYS_ADMIN --cap-add MKNOD --device=/dev/fuse --security-opt apparmor:unconfined -v "$PWD:/home/client" nextcloud-client-appimage:5.8
/home/client/linux/AppImage/build.sh
@probonopd as discussed.
Maybe we should merge this with the already running stuff on travis? (Or just use this to build and add a container to our drone ci?)
Feedback welcome.