Re: compiling kde/qt apps for android

2018-10-07 Thread Jos van den Oever
Op zondag 7 oktober 2018 07:42:18 CEST schreef Nicolás Alvarez:
> El 7 oct. 2018, a las 02:25, Jos van den Oever  
escribió:
> > KDE has a repo for F-Droid with 8 apps at the moment.
> > https://origin.cdn.kde.org/android/fdroid/repo/
> 
> Linking to 'origin' bypasses the CDN and makes all requests hit our servers.
> Please don't :P Where did you even get that URL?
> 
> For the benefit of people who find this thread after we finally blocked
> access to the origin endpoint: https://cdn.kde.org/android/fdroid/repo/

I did not know that. I got the URL on IRC. I'll take care not to access 
origin.cdn.kde.org directly but instead use cdn.kde.org.

Cheers,
Jos



signature.asc
Description: This is a digitally signed message part.


Re: compiling kde/qt apps for android

2018-10-06 Thread Ben Cooksley
On Sun, Oct 7, 2018 at 6:25 PM Jos van den Oever  wrote:
>
> Hello KDE-ers,

Hi Jos,

>
> I've a question about building KDE and Qt apps for Android. I'd like to see
> how hard it is to build a Rust + Qt app for Android. First step is to build a
> plain QML app for Android. Unfortunately, I already failed there.
>
> There are many steps to set up the environment. So once I figure out the
> magic, I'd like to make a Docker file out of it like I did for Calligra.

We already have Docker containers, which you can fetch from the
Dockerhub repository operated by Sysadmin:
https://hub.docker.com/u/kdeorg

The Dockerfiles and other resources for these images are stored in the
sysadmin/ci-tooling repository, under system-images/

>
> https://www.vandenoever.info/blog/2017/07/23/developing-kde-with-docker.html
>
> So far I've come to the point where I need to get the Qt libraries in a
> suitable architecture (Arm). I could compile them myself, but surely there's
> an easier option.
>
> I think many KDE-ers have an Android phone and would love to use KDE apps on
> it. Improving apps for Android also improves them for Plasma Mobile.
>
> KDE has a repo for F-Droid with 8 apps at the moment.
> https://cdn.kde.org/android/fdroid/repo/
>
> Does anyone know the secret recipe to setting up an environment to build Qt
> applications for Android?

While i'm not familiar with the entire build process, the steps run by
the Binary Factory (which in turns produces the APK files
redistributed through the F-Droid repository) are documented in the
Jenkins pipeline for those jobs, which can be found in
sysadmin/binary-factory-tooling, in the android/ folder.

The variables mentioned in that pipeline can be found in the
current-jobs.json file in the same folder.

For more detail i'd suggest mailing the kde-andr...@kde.org mailing list (CC'ed)

>
> Cheers,
> Jos

Cheers,
Ben


Re: compiling kde/qt apps for android

2018-10-06 Thread Nicolás Alvarez
El 7 oct. 2018, a las 02:25, Jos van den Oever  escribió:
> 
> KDE has a repo for F-Droid with 8 apps at the moment.
> https://origin.cdn.kde.org/android/fdroid/repo/

Linking to 'origin' bypasses the CDN and makes all requests hit our servers. 
Please don't :P Where did you even get that URL?

For the benefit of people who find this thread after we finally blocked access 
to the origin endpoint: https://cdn.kde.org/android/fdroid/repo/

-- 
Nicolás
KDE Sysadmin Team

compiling kde/qt apps for android

2018-10-06 Thread Jos van den Oever
Hello KDE-ers,

I've a question about building KDE and Qt apps for Android. I'd like to see 
how hard it is to build a Rust + Qt app for Android. First step is to build a 
plain QML app for Android. Unfortunately, I already failed there.

There are many steps to set up the environment. So once I figure out the 
magic, I'd like to make a Docker file out of it like I did for Calligra.

https://www.vandenoever.info/blog/2017/07/23/developing-kde-with-docker.html

So far I've come to the point where I need to get the Qt libraries in a 
suitable architecture (Arm). I could compile them myself, but surely there's 
an easier option.

I think many KDE-ers have an Android phone and would love to use KDE apps on 
it. Improving apps for Android also improves them for Plasma Mobile.

KDE has a repo for F-Droid with 8 apps at the moment.
https://origin.cdn.kde.org/android/fdroid/repo/

Does anyone know the secret recipe to setting up an environment to build Qt 
applications for Android?

Cheers,
Jos


signature.asc
Description: This is a digitally signed message part.