[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1002004: ITP: qt-android-6.2 -- Qt for Android enables you to run Qt applications on Android devices



Package: wnpp
Severity: wishlist
Owner: Fab Stz <fabstz-it@yahoo.fr>
X-Debbugs-Cc: debian-devel@lists.debian.org

* Package name    : qt-android-6.2
  Version         : 6.2.2
  Upstream Author : Qt Company
* URL             : https://www.qt.io/
* License         : Mixed: Apache-2.0, public-domain, GPL-2+ or FTL, LGPL-3 or
GPL-2, brg-endian, MPL-1.1 and GPL-2+ and LGPL-2.1, LGPL-2.1-or-3 with Qt-1.1
exception, W3C, BSD-3-Clause, CC0-1.0, GPL-2+, BSD-2-Clause, LGPL-2+, GPL-3.0+
with Bison-exception-2.2 exception, ICC, Hybrid-BSD, Unlicense, NTP, 
Apache-2.0
or Expat, MPL-2.0 or GPL-2+ or LGPL-2.1+, BSD-3-clause, Expat or Unlicense,
libjpeg and BSD-3-clause and Zlib, MIT, GPL-3 with Qt-1.0 exception, Harfbuzz,
LGPL-3 or GPL-2+, BSD-2-clause, OpenGroup-BSD-like, GFDL-NIV-1.3, Bitstream,
Zlib, Expat, GPL-3, BSL-1.0, libpng, Unicode, ISC
  Description     : Qt for Android enables you to run Qt applications on
Android devices


Related to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921545

This package permits Android developers to build Android apps based on the Qt
Framework. This could also be useful to F-Droid that packages android apps,
among which some are based on Qt. F-Droid runs Debian.

Concerning the usage in F-Droid, some discussion here:
- https://forum.f-droid.org/t/packaging-qt-apps/14764/15
- https://gitlab.com/fdroid/fdroiddata/-/merge_requests/9667

This is similar to the Qt for desktop packages but usage is not the same as 
the binaries/libraries this package produced are built for Android platforms.

It depdends on the Android NDK & SDK and requires them to be installed. more
info on required versions here: https://salsa.debian.org/bastif/qt-android

I also sent messages to pkg-kde-talk mailing list: [4]

There have been some exchanges in this thread too: [2]

It would be great if that could be merged into qt/kde salsa team and/or 
android team and team-maintained so that it doesn't rely only on 1 person.

Once qt-android-6.2 is in, on my salsa repo there are packages ready for
5.15.2, 5.12.11 & 5.11.3 so that it fits all needs of android app developers &
f-droid. Reasons for the need of all these versions if in the urls above.

The source file can't be duplicate to dfsg Qt source code as shipped by Debian
because these sources have been stripped down and some files/libraries that 
are needed for the qt for android "variant" are missing. That's the case for
'sqlite' as well as for 'freetype' and 'libpng' if i remember well. These
libraries used by Qt for android are not shipped in android NDK, so we have to 
build with their source shipped in the qt sources. hence the need of a 
distinct source file.

You can follow a beginning of discussion on qt for android in [2]. Having a
distinct source archive seemed to be the prefered option.

See also this rfs:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1001759

This package (in its version 5.15.2) is used to build welle.io app in github's
continuous integration. It uses the deb packages produced by the salsa-ci
pipeline (aptly job).

There have been some doubt about the size of the copyright file. Here are a 
few things I would like to mention:

- Most of the d/copyright file is produced by the same script as the one in
qt6-base [1]. For the rest, some has also been borrowed and adapted from the
various  debian packages for qt modules.

- From line 124 to 9249 the list is auto-generated by the script
- From line 9999 to the end, it is just license text
- So there are roughly 900 "manual/additional" lines in d/copyright that have
been double checked with debmake -k.

- In the copyright file (also attached) some 3rd party sources are already in 
Files-Excluded.

- The package is for contrib section (at least for now) because it depends on
packages that are not shipped on debian, and it can depend on "google-android-
installers" in contrib. I will amend Build-Depends once google-android-
installers [3] is accepted. For now you have to install google android's NDK & 
SDK manually (and +/- build with DEB_BUILD_OPTIONS, see README.source for more 
details).

[1] <https://salsa.debian.org/qt-kde-team/qt6/qt6-base/-/blob/master/debian/
scripts/update-copyright>
[2] https://alioth-lists.debian.net/pipermail/pkg-kde-talk/2021-september/
003288.html
[3] https://mentors.debian.net/package/google-android-installers/
[4] https://alioth-lists.debian.net/pipermail/pkg-kde-talk/2021-september/
003285.html

Regards

Attachment: copyright.tar.xz
Description: application/xz-compressed-tar


Reply to: