Build Android apps with Debian: apt install android-sdk
On Wed 15 March 2017 with tags announce android tools apiWritten by Hans-Christoph Steiner and Kai-Chung Yan (殷啟聰)
In Debian stretch, the upcoming new release, it is now possible to build Android
apps using only packages from Debian. This will provide all of the tools needed
to build an Android app targeting the "platform" android-23
using the SDK
build-tools
24.0.0. Those two are the only versions of "platform" and
"build-tools" currently in Debian, but it is possible to use the Google binaries
by installing them into /usr/lib/android-sdk
.
This doesn't cover yet all of the libraries that are used in the app, like the Android Support libraries, or all of the other myriad libraries that are usually fetched from jCenter or Maven Central. One big question for us is whether and how libraries should be included in Debian. All the Java libraries in Debian can be used in an Android app, but including something like Android Support in Debian would be strange since they are only useful in an Android app, never for a Debian app.
Building apps with these packages
Here are the steps for building Android apps using Debian's Android SDK on Stretch.
sudo apt install android-sdk android-sdk-platform-23
export ANDROID_HOME=/usr/lib/android-sdk
- In build.gradle, set compileSdkVersion to 23 and buildToolsVersion to 24.0.0
- run
gradle build
The Gradle Android Plugin is also packaged. Using the Debian package instead of the one from online Maven repositories requires a little configuration before running gradle. In the buildscript block:
- add
maven { url 'file:///usr/share/maven-repo' }
to repositories - use
compile 'com.android.tools.build:gradle:debian'
to load the plugin
Currently there is only the target platform of API Level 23 packaged, so only apps targeted at android-23 can be built with only Debian packages. There are plans to add more API platform packages via backports. Only build-tools 24.0.0 is available, so in order to use the SDK, build scripts need to be modified. Beware that the Lint in this version of Gradle Android Plugin is still problematic, so running the :lint tasks might not work. They can be turned off with lintOptions.abortOnError in build.gradle. Google binaries can be combined with the Debian packages, for example to use a different version of the platform or build-tools.
Why include the Android SDK in Debian?
While Android developers could develop and ship apps right now using these
Debian packages, this is not very flexible since only build-tools-24.0.0
and
android-23
platform are available. Currently, the Debian Android Tools
Team is not aiming to cover the most
common use cases. Those are pretty well
covered by Google's binaries (except for the proprietary license on the Google
binaries), and are probably the most work for the Android Tools Team to cover.
The current focus is on use cases that are poorly covered by the Google
binaries, for example, like where only specific parts of the whole SDK are used.
Here are some examples:
- tools for security researchers, forensics, reverse engineering, etc. which can then be included in live CDs and distros like Kali Linux
- a hardened APK signing server using apksigner that uses a standard, audited, public configuration of all reproducibly built packages
- Replicant is a 100% free software Android distribution, so of course they want to have a 100% free software SDK
- high security apps need a build environment that matches their level of security, the Debian Android Tools packages are reproducibly built only from publicly available sources
- support architectures besides i386 and amd64, for example, the Linaro LAVA setup for testing ARM devices of all kinds uses the adb packages on ARM servers to make their whole testing setup all ARM architecture
- dead simple install with strong trust path with mirrors all over the world
In the long run, the Android Tools Team aims to cover more use cases well, and also building the Android NDK. This all will happen more quickly if there are more contributors on the Android Tools team! Android is the most popular mobile OS, and can be 100% free software like Debian. Debian and its derivatives are one of the most popular platforms for Android development. This is an important combination that should grow only more integrated.
Last but not least, the Android Tools Team wants feedback on how this should all work, for example, ideas for how to nicely integrate Debian's Java libraries into the Android gradle workflow. And ideally, the Android Support libraries would also be reproducibly built and packaged somewhere that enforces only free software. Come find us on IRC and/or email! https://wiki.debian.org/AndroidTools#Communication_Channels
New Debian Developers and Maintainers (January and February 2017)
On Wed 08 March 2017 with tags projectWritten by Jean-Pierre Giraud
Translations: ca es fr pt
The following contributors got their Debian Developer accounts in the last two months:
- Ulrike Uhlig (ulrike)
- Hanno Wagner (wagner)
- Jose M Calhariz (calharis)
- Bastien Roucariès (rouca)
The following contributors were added as Debian Maintainers in the last two months:
- Dara Adib
- Félix Sipma
- Kunal Mehta
- Valentin Vidic
- Adrian Alves
- William Blough
- Jan Luca Naumann
- Mohanasundaram Devarajulu
- Paulo Henrique de Lima Santana
- Vincent Prat
Congratulations!
DebConf17: Call for Proposals
On Wed 08 February 2017 with tags debconf debconf17 cfpWritten by Gunnar Wolf
The DebConf Content team would like to Call for Proposals for the DebConf17 conference, to be held in Montreal, Canada, from August 6 through August 12, 2017.
You can find this Call for Proposals in its latest form at: https://debconf17.debconf.org/cfp
Please refer to this URL for updates on the present information.
Submitting an Event
Submit an event proposal and describe your plan. Please note, events are not limited to traditional presentations or informal sessions (BoFs). We welcome submissions of tutorials, performances, art installations, debates, or any other format of event that you think would be beneficial to the Debian community.
Please include a short title, suitable for a compact schedule, and an engaging description of the event. You should use the field "Notes" to provide us information such as additional speakers, scheduling restrictions, or any special requirements we should consider for your event.
Regular sessions may either be 20 or 45 minutes long (including time for questions), other kinds of sessions (like workshops) could have different durations. Please choose the most suitable duration for your event and explain any special requests.
You will need to create an account on the site, to submit a talk. We'd encourage Debian account holders (e.g. DDs) to use Debian SSO when creating an account. But this isn't required for everybody, you can sign up with an e-mail address and password.
Timeline
The first batch of accepted proposals will be announced in April. If you depend on having your proposal accepted in order to attend the conference, please submit it as soon as possible so that it can be considered during this first evaluation period.
All proposals must be submitted before Sunday 4 June 2017 to be evaluated for the official schedule.
Topics and Tracks
Though we invite proposals on any Debian or FLOSS related subject, we have some broad topics on which we encourage people to submit proposals, including:
- Blends
- Debian in Science
- Cloud and containers
- Social context
- Packaging, policy and infrastructure
- Embedded
- Systems administration, automation and orchestration
- Security
You are welcome to either suggest more tracks, or become a coordinator for any of them; please refer to the Content Tracks wiki page for more information on that.
Code of Conduct
Our event is covered by a Code of Conduct designed to ensure everyone's safety and comfort. The code applies to all attendees, including speakers and the content of their presentations. For more information, please see the Code on the Web, and do not hesitate to contact us at content@debconf.org if you have any questions or are unsure about certain content you'd like to present.
Video Coverage
Providing video of sessions amplifies DebConf achievements and is one of the conference goals. Unless speakers opt-out, official events will be streamed live over the Internet to promote remote participation. Recordings will be published later under the DebConf license, as well as presentation slides and papers whenever available.
DebConf would not be possible without the generous support of all our sponsors, especially our Platinum Sponsor Savoir-Faire Linux. DebConf17 is still accepting sponsors; if you are interested, or think you know of others who would be willing to help, please get in touch!
In case of any questions, or if you wanted to bounce some ideas off us first, please do not hesitate to reach out to us at content@debconf.org.
We hope to see you in Montreal!
The DebConf team
Debian welcomes its Outreachy interns
On Sun 05 February 2017 with tags announce outreachyWritten by Nicolas Dandrimont and Laura Arjona Reina
Better late than never, we'd like to welcome our three Outreachy interns for this round, lasting from the 6th of December 2016 to the 6th of March 2017.
Elizabeth Ferdman is working in the Clean Room for PGP and X.509 (PKI) Key Management.
Maria Glukhova is working in Reproducible builds for Debian and free software.
Urvika Gola is working in improving voice, video and chat communication with free software.
From the official website: Outreachy helps people from groups underrepresented in free and open source software get involved. We provide a supportive community for beginning to contribute any time throughout the year and offer focused internship opportunities twice a year with a number of free software organizations.
The Outreachy program is possible in Debian thanks to the effort of Debian developers and contributors that dedicate part of their free time to mentor students and outreach tasks, and the help of the Software Freedom Conservancy, who provides administrative support for Outreachy, as well as the continued support of Debian's donors, who provide funding for the internships.
Debian will also participate in the next round for Outreachy, during the summer of 2017. More details will follow in the next weeks.
Join us and help extend Debian! You can follow the work of the Outreachy interns reading their blogs (they are syndicated in Planet Debian), and chat with us in the #debian-outreach IRC channel and mailing list.
Congratulations, Elizabeth, Maria and Urvika!
Savoir-faire Linux Platinum Sponsor of DebConf17
On Mon 30 January 2017 with tags debconf17 debconf sponsors Savoir-faire LinuxWritten by Laura Arjona Reina and Tássia Camões Araújo
Translations: fr
We are very pleased to announce that Savoir-faire Linux has committed to support DebConf17 as a Platinum sponsor.
"Debian acts as a model for both Free Software and developer communities. Savoir-faire Linux promotes both vision and values of Debian. Indeed, we believe that it's an essential piece, in a social and political way, to the freedom of users using modern technological systems", said Cyrille Béraud, president of Savoir-faire Linux.
Savoir-faire Linux is a Montreal-based Free/Open-Source Software company with offices in Quebec City, Toronto, Paris and Lyon. It offers Linux and Free Software integration solutions in order to provide performance, flexibility and independence for its clients. The company actively contributes to many free software projects, and provides mirrors of Debian, Ubuntu, Linux and others.
Savoir-faire Linux was present at DebConf16 program with a talk about Ring, its GPL secure and distributed communication system. Ring package was accepted in Debian testing during DebCamp in 2016 and will be part of Debian Stretch. OpenDHT, the distributed hash table implementation used by Ring, also appeared in Debian experimental during last DebConf.
With this commitment as Platinum Sponsor, Savoir-faire Linux contributes to make possible our annual conference, and directly supports the progress of Debian and Free Software helping to strengthen the community that continues to collaborate on Debian projects throughout the rest of the year.
Thank you very much Savoir-faire Linux, for your support of DebConf17!
Become a sponsor too!
DebConf17 is still accepting sponsors. Interested companies and organizations may contact the DebConf team through sponsors@debconf.org, and visit the DebConf17 website at http://debconf17.debconf.org.