<p dir="ltr">Re: building support library</p>
<p dir="ltr">I saw <a href="https://plus.google.com/+IanLake/posts/Z4nusZ7sjRW">https://plus.google.com/+IanLake/posts/Z4nusZ7sjRW</a> yesterday, seems that might make it easier to do it, haven't looked at the actual thing yet though (travelling)</p>
<br><div class="gmail_quote"><div dir="ltr">On Wed, Feb 8, 2017, 13:24 Hans-Christoph Steiner <<a href="mailto:hans@at.or.at">hans@at.or.at</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br class="gmail_msg">
F-Droid's buildserver can use packages from backports already.<br class="gmail_msg">
<br class="gmail_msg">
As for the Support Library, I'm thinking now that Debian is not really<br class="gmail_msg">
the place for those libraries. They are Java libraries that will only<br class="gmail_msg">
ever be used on Android. They do need to be present on the Debian<br class="gmail_msg">
system to build apps. I do think it is important to have free software<br class="gmail_msg">
builds of the Android Support Libraries, that should happen as part of<br class="gmail_msg">
F-Droid or perhaps even its own project that generates its own maven<br class="gmail_msg">
repo. "android-platform-23" is required for things like apktool to run<br class="gmail_msg">
on Debian, so that makes sense to include.<br class="gmail_msg">
<br class="gmail_msg">
We could do that on <a href="http://gitlab.com" rel="noreferrer" class="gmail_msg" target="_blank">gitlab.com</a>, for example, with gitlab-ci running the<br class="gmail_msg">
build and publishing to a maven repo that works on gitlab pages.<br class="gmail_msg">
<br class="gmail_msg">
Any ideas how hard it would be to build the support libraries?<br class="gmail_msg">
Hopefully they are straightforward, they are after all just plain Java.<br class="gmail_msg">
<br class="gmail_msg">
.hc<br class="gmail_msg">
<br class="gmail_msg">
殷啟聰:<br class="gmail_msg">
> Seems that a newer API platform isn't going into Stretch, now that it<br class="gmail_msg">
> entered full freeze. But we can still backport it to Stretch as well<br class="gmail_msg">
> as other future packages. Does F-Droid's official build server uses<br class="gmail_msg">
> backport?<br class="gmail_msg">
><br class="gmail_msg">
> In order to build apps we still need to package the Support Library.<br class="gmail_msg">
> And I remember that in order to use the latest Support Library, the<br class="gmail_msg">
> app must be compiled against the latest API platform, which means we<br class="gmail_msg">
> still need to package the latest API platform. I don't feel like<br class="gmail_msg">
> maintaining multiple versions of the Support Library. In that case,<br class="gmail_msg">
> does that mean we eventually only need to maintain the latest API<br class="gmail_msg">
> platform? Since the older platforms are not used in the compilation.<br class="gmail_msg">
><br class="gmail_msg">
> 2016-12-21 2:34 GMT+08:00 Chirayu Desai <<a href="mailto:chirayudesai1@gmail.com" class="gmail_msg" target="_blank">chirayudesai1@gmail.com</a>>:<br class="gmail_msg">
>> Hi,<br class="gmail_msg">
>><br class="gmail_msg">
>><br class="gmail_msg">
>> On 12/20/2016 01:08 AM, Hans-Christoph Steiner wrote:<br class="gmail_msg">
>>> So we're looking good for getting 7.0.0 into stretch! The<br class="gmail_msg">
>>> build/platform tools are pretty complete, and the LAVA group (Neil<br class="gmail_msg">
>>> Williams, etc) are already using our adb/fastboot instead of the old<br class="gmail_msg">
>>> android-tools package. In January, we can deal with removing<br class="gmail_msg">
>>> src:android-tools and migrating users from android-tools-* to our<br class="gmail_msg">
>>> packages by filing RC bugs. This will only be changing the packaging,<br class="gmail_msg">
>>> so I think its appropriate to do after the freeze, given limited time<br class="gmail_msg">
>>> before the freeze.<br class="gmail_msg">
>>><br class="gmail_msg">
>>> I would really love to see android-platform-tools-base v2.2.x and<br class="gmail_msg">
>>> android-framework-24 in stretch. I should be able to find some time to<br class="gmail_msg">
>>> help, but I've never worked on those packages. Any tips? Will they be<br class="gmail_msg">
>>> a lot of work?<br class="gmail_msg">
>> I can't comment on android-platform-tools-base.<br class="gmail_msg">
>> However, for android-framework-24, the current android-framework-23<br class="gmail_msg">
>> should make it easy in theory, and one should be able to keep the<br class="gmail_msg">
>> makefiles from that and add / remove files which were added / removed in<br class="gmail_msg">
>> API 24.<br class="gmail_msg">
>><br class="gmail_msg">
>> d/build.gradle has some whitelisted/blacklisted files which would need<br class="gmail_msg">
>> to be updated<br class="gmail_msg">
>> d/<a href="http://aidl.mk" rel="noreferrer" class="gmail_msg" target="_blank">aidl.mk</a> contains the list of aidl files actually included in the<br class="gmail_msg">
>> android system build, and not all aidl files under frameworks/base. List<br class="gmail_msg">
>> can be copied from frameworks/base/Android.mk<br class="gmail_msg">
>><br class="gmail_msg">
>> Now I haven't really looked at the framework part of the Android 24<br class="gmail_msg">
>> source code in detail to know if they moved things around repos, or how<br class="gmail_msg">
>> would the switch to openjdk (mainly in libcore) would affect us.<br class="gmail_msg">
>><br class="gmail_msg">
>><br class="gmail_msg">
>> And one more thing, having API 24 should make creating a API 25 package<br class="gmail_msg">
>> easier as well, as there aren't as many changes from 24->25, compared to<br class="gmail_msg">
>> 23->24 (or any other major Android version).<br class="gmail_msg">
>>><br class="gmail_msg">
>>> With that in place, I can build the first official app release using<br class="gmail_msg">
>>> only Debian packages: the F-Droid Privileged Extension. Its a perfect<br class="gmail_msg">
>>> example for building our Debian packages since it is a very<br class="gmail_msg">
>>> security-sensitive app:<br class="gmail_msg">
>>> <a href="https://gitlab.com/fdroid/privileged-extension/" rel="noreferrer" class="gmail_msg" target="_blank">https://gitlab.com/fdroid/privileged-extension/</a><br class="gmail_msg">
>>><br class="gmail_msg">
>>> .hc<br class="gmail_msg">
>>><br class="gmail_msg">
>>> _______________________________________________<br class="gmail_msg">
>>> Android-tools-devel mailing list<br class="gmail_msg">
>>> <a href="mailto:Android-tools-devel@lists.alioth.debian.org" class="gmail_msg" target="_blank">Android-tools-devel@lists.alioth.debian.org</a><br class="gmail_msg">
>>> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel</a><br class="gmail_msg">
>><br class="gmail_msg">
>><br class="gmail_msg">
>> _______________________________________________<br class="gmail_msg">
>> Android-tools-devel mailing list<br class="gmail_msg">
>> <a href="mailto:Android-tools-devel@lists.alioth.debian.org" class="gmail_msg" target="_blank">Android-tools-devel@lists.alioth.debian.org</a><br class="gmail_msg">
>> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel</a><br class="gmail_msg">
><br class="gmail_msg">
> _______________________________________________<br class="gmail_msg">
> Android-tools-devel mailing list<br class="gmail_msg">
> <a href="mailto:Android-tools-devel@lists.alioth.debian.org" class="gmail_msg" target="_blank">Android-tools-devel@lists.alioth.debian.org</a><br class="gmail_msg">
> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel</a><br class="gmail_msg">
><br class="gmail_msg">
<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
Android-tools-devel mailing list<br class="gmail_msg">
<a href="mailto:Android-tools-devel@lists.alioth.debian.org" class="gmail_msg" target="_blank">Android-tools-devel@lists.alioth.debian.org</a><br class="gmail_msg">
<a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel" rel="noreferrer" class="gmail_msg" target="_blank">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel</a></blockquote></div>