From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-dev+bounces-86105-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id EA90B138334
	for <garchives@archives.gentoo.org>; Tue,  2 Oct 2018 02:11:02 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id CA3BEE0AA0;
	Tue,  2 Oct 2018 02:10:58 +0000 (UTC)
Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 760D7E0A82
	for <gentoo-dev@lists.gentoo.org>; Tue,  2 Oct 2018 02:10:58 +0000 (UTC)
Received: by mail-oi1-x22d.google.com with SMTP id l197-v6so289815oib.8
        for <gentoo-dev@lists.gentoo.org>; Mon, 01 Oct 2018 19:10:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=jsteward.moe; s=google;
        h=mime-version:from:date:message-id:subject:to:cc;
        bh=zUIWpyAFi+PH97i/POnZSpn2I2bUZ4aUnK7ekHlyirQ=;
        b=XziUbhvYTszCz8yvsgExfx8otoOgVz3ngQc1QBnewhH76oo6VAF/cAdRSmdOOS39bS
         vT5YwJbHD1qOjWgtn9Ukenx1I+fWK02i9gm0EVA22sLuWjdPz6T9mGGm4HsyT+qk39xD
         cZFyKSgbRMciE4hozLFVW9annsgzYJrt8AxShZwuPal9x23kR2Vq/fFe05DI36APDOAj
         xgldno6jwc/k7KBKnd4tj62wCxu0a89w+HI3hA59W+yCyoqjNGzqQyjEpY2SbmQKyfmw
         W05O9JHkhaEh4dPdf6tbXcGCzgPP9KA76criXaXMwcyAB8HOmSyIHBjWfnhM3jx1Cpia
         Bp5w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc;
        bh=zUIWpyAFi+PH97i/POnZSpn2I2bUZ4aUnK7ekHlyirQ=;
        b=Iv1L4HeMdw5Qgx7l/ZpW60WkHUr/O9xcaMUuGCsAl256OAK9Jb+aNbQNcqjGBVVvyk
         6mu/DqcP3+huX1isLme+d0TV61i08HnUrtofHA9dQJ48mHXM0f/lWSC5BX4AeT0Zu5Ba
         +vqFFJL3P4Ncu9hP1HpyrNtXX21s+UUnytZeWrjDJDB1B7GP1h8F+OOafLsEUAyQlXa6
         OCMEGf35X7ZobDlAEPjrXe5uzc+vgbDPXKZ4+hrig83xQHunI1ElI5mkqGp9bvDn5JVM
         VheTgfBdeyGehW2q9Iuj3dCtJGEqvO/X/x8s5uvCTUvS1JfLSHrMcAL498xxEaYU+Lxi
         95yQ==
X-Gm-Message-State: ABuFfohd4JlJszEPA32OtLjjoOEDOZ+ZB+Gm4oLhy8UeUSw+L1z9XNm2
	Lhnb5Ug1v5GX+/+BRLMtydT0mLWg8xIIff+hW8ymR/3AwggYTw==
X-Google-Smtp-Source: ACcGV627+3c6D2jiRFKJZJKrU/wtf1Qs7WKh9FbQX9qUdp1DSSFbWuDWEwXCiibAqROuNSHXgzKFMm1a/1aLX0CciTE=
X-Received: by 2002:aca:a04:: with SMTP id 4-v6mr6675806oik.203.1538446251935;
 Mon, 01 Oct 2018 19:10:51 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@lists.gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
MIME-Version: 1.0
From: Pengcheng Xu <i@jsteward.moe>
Date: Tue, 2 Oct 2018 10:10:39 +0800
Message-ID: <CADuippCpxSkP97+KALYid_mhY+zbBEsEXquUowqfQvSiEKYUig@mail.gmail.com>
Subject: [gentoo-dev] Introducing SharkBait: Gentoo GSoC 2018 project to manage Android
 with Portage
To: gentoo-dev@lists.gentoo.org
Cc: Stephen Christie <undersampled@live.com>, ramage.lucas@protonmail.com
Content-Type: text/plain; charset="UTF-8"
X-Archives-Salt: 4942768c-404b-4209-9b91-5cf307f042e0
X-Archives-Hash: 5bb6b4ba998a52790230894e20fa463a

Dear all,

I'm Pengcheng Xu, one of the participants in Gentoo Google Summer of
Code 2018, with Benda (heroxbd) Xu as my mentor.  I've been
working on the project SharkBait [1] (previously known as
Portage-powered Android), which aims to manage the build and update
process of Android systems with Portage.  Development details can be
found on my personal blog [2].

I've recently delivered a talk on the Software Freedom Day event at
Tsinghua University, China on September 22nd about the SharkBait
project. The talk slides are attached and should serve as a concise
introduction.

We've finished booting Android in LXC while having OpenRC as the
service manager for the rest of the system.  Work to build Android
components with Portage has started, and we have successfully built
bionic (Android's libc) with Portage on amd64, but there are a few
issues left on ARM.

If you're interested, follow the porting guide at [3] to get started
with your Android device.  The slides contain a slightly more detailed
overview of porting a device, while the wiki page holds all the
details to get a port up and running.

We're planning to implement an eclass for Soong, the AOSP build
system, and develop mechanisms to automatically convert Soong metadata
to ebuilds.  We may have to figure out how to build Java parts of
Android (gradle mostly) elegantly with Portage.  In this way, we can
achieve the final goal of the project, that is, to manage Android
update process with Portage.

I've always been looking forward to responses from Gentoo developers,
so please tell me what you think about the project as well as
questions.  Thanks!

[1]: https://www.shark-bait.org/
[2]: https://jsteward.moe/
[3]: https://wiki.gentoo.org/wiki/Android/SharkBait/Porter_Guide

Sincerely,
-- 
Pengcheng Xu
i@jsteward.moe