<div dir="ltr"><div><div>Hello,</div><div><br></div><div>In this last weeks, my focus was on "a package to install them all" ! :D</div><div><br></div><div>First, since there are multiple google-android-platform-*-installer packages</div><div>I created a package to generate all these binary packages (23 packages in total:</div><div>from platform-24 to platfrom-2) since they share many multiple things</div><div>(install/remove procedure, debconf.. and so on) the package called:</div><div>google-android-platform-installers[1].</div><div><br></div><div>Then idea then was to create script to be able to generate and create installers</div><div>packages; since the packages keep updating and it's easy to miss these updates.</div><div><br></div><div>At first, I created a python script[1] for the package that provides all the</div><div>google-android-platform-*-installer packages:</div><div>google-android-platform-installers[2]. The script parses repository-11.xml file,</div><div>and then updates every binary package if needed, and generate new ones if they</div><div>are available and all of them work with the same generic Makefile.</div><div><br></div><div>After, I enhanced the script more to handle google-android-ndk-installer[3].</div><div>The script updates the package always to latest upstream version available</div><div>at repository-11.xml</div><div><br></div><div>After this, we pushed this even further: embedding the debian files and the</div><div>python script into a single source package called google-android-installers[4].</div><div>The idea is that not only google-android-platform-*-installer packages share</div><div>same installing/working structure, but actually all the</div><div>google-android-*-installers! so let's create a package for all of them !</div><div>First I embedded google-android-platform-installers with the script, then</div><div>I added google-android-ndk-installers, google-android-sdk-docs-installer[5] and</div><div>finally google-android-m2repository-installer[6] (by adding parsing addon.xml to</div><div>the script too).</div></div><div><div>The version of the source package is generated from the latest generation time</div><div>indicated in the XML files converted to Unix time, and the script indicates if</div><div>changing the script version is suggested.</div><div><br></div><div>Meanwhile, I kept updating all the uploaded google-android-*-installer packages</div><div>to the latest versions, and I added the multiple PO translation files that we</div><div>received (German, Portuguese, Indonesian, Czech and Dutch) to these packages.</div><div><br></div><div>PS: I had few days break because my regular computer broke down (graphics</div><div>card died) so had to require a new one, which I had so difficulties to make it</div><div>work properly.</div><div><br></div><div>[1]: <a href="https://github.com/Aallam/debian_google-android-platform-installers">https://github.com/Aallam/debian_google-android-platform-installers</a></div><div>[2]: <a href="https://github.com/Aallam/google-android-installers-scripts">https://github.com/Aallam/google-android-installers-scripts</a></div><div>[3]: <a href="https://anonscm.debian.org/cgit/android-tools/google-android-ndk-installer.git/">https://anonscm.debian.org/cgit/android-tools/google-android-ndk-installer.git/</a></div><div>[4]: <a href="https://github.com/Aallam/debian_google-android-installers">https://github.com/Aallam/debian_google-android-installers</a></div><div>[5]: <a href="https://anonscm.debian.org/cgit/android-tools/google-android-sdk-docs-installer.git/">https://anonscm.debian.org/cgit/android-tools/google-android-sdk-docs-installer.git/</a></div></div><div><div>[6]: <a href="https://anonscm.debian.org/cgit/android-tools/google-android-m2repository-installer.git/">https://anonscm.debian.org/cgit/android-tools/google-android-m2repository-installer.git/</a></div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><i>Mouaad Aallam</i></div></div></div>
</div>