From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Android port of Emacs Date: Sat, 17 Jun 2023 07:45:37 +0800 Message-ID: <87o7lfeztq.fsf@yahoo.com> References: <83v8fnslfz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27230"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , emacs-devel@gnu.org To: Thomas Fitzsimmons Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 17 01:46:39 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qAJ9L-0006uR-5l for ged-emacs-devel@m.gmane-mx.org; Sat, 17 Jun 2023 01:46:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qAJ8h-0002wK-4K; Fri, 16 Jun 2023 19:45:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qAJ8c-0002vy-Rb for emacs-devel@gnu.org; Fri, 16 Jun 2023 19:45:55 -0400 Original-Received: from sonic305-22.consmr.mail.ne1.yahoo.com ([66.163.185.148]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qAJ8b-00005y-4S for emacs-devel@gnu.org; Fri, 16 Jun 2023 19:45:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1686959149; bh=bMBH7XJiGoizL45xA9L6IiAvZmw+/KBSTg42clvZESs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=WWxsZ6D3buoKYo4Q8grFrx5HftCusRHyqcOQCBHY2lDzH3EaisFmdQKa7Z8fZGb9djcrMoa1wkju7vbzt9jrbplvxTRvf4BfxXRbRM0c9AJ8UrTqwhAQfK0mc3LVS7qfzGP0hf/bMqeo326jz+6ajbDLlOWiQiZDT3RupXqTt+VqHxGcTnICOnZhYStUSJcfQOKZYCTO9DO/+UCdmHvZze+KL8Bpm5TVe1k7ZbP3iGEm9UXRu1dT/a7zaffIMD6VBoRU4hDW9IZne724jU7QIssJ51JpIE81aneUoWfKFW7JuGtKg+59NPqWrGW83n5zPOJNkB4seXk8nCITeEWbPw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1686959149; bh=r8IQ/b/YKCgiNZ9amU/ZkafLEXnOwbkV9tuvB0m2hAN=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Ymz1HHAMxkSVE+WBLRxYq0dNO2iSrAIM/P2wfe88KLnO81bF3FboSsSJkQQH/4F2+zi4lJjo/8mHl4TVB5+AUwYajo6VDHIFQ25dqk/3gU2lNqEy6abxHbGhMAgqU7NRLzXI+QTQ744kmxcsqrMvCzrEUMVIUo106zEhlg6Ge+BzB6sKmSiMgYwcqVZw/qj6DrbI4FAkfovwBRwBgCyNEuep3BkgagNFriRcFTucH5ZIBsaSFHcARC9rSUR3jgtLPShLg1P42CDou5zuNdk2R5XpVb0u3M7FVrhTGiPrBsK2iFSN8E7aRA0tGyPfhW0kQU9LBZAq62tPMzXjWH74ZQ== X-YMail-OSG: J.HgZnoVM1kDtwDyNs0bn_CBCs.kdCCVbkRT0Gas3QhPj4trAaZ2VcfIBn6Sp8u rE_xvZZrq4c5QZh6nlvB6H2e8TxGkihAdJrVfVuK6HR6KcmO0SjGTJo_oNmO94AFOg.Bk6r.wjg. Ns5cDYxlK5ucx9iPBGqsEnJLp7JCj9vM1leD9j3YyDPmf5fFEVwRxWZzY881Lfx5ZNV9SPJOhjC8 v6koqO5Rpa_t9QzoEi6fgOZHsq0vVzJYnWYBWWQZ2hrFbyNHA_re6c6NkQrGGUFzG7vhOrDI6lWK ..olSgqEEBVGhfvUnth7JWtuFiYUn8ABumgRqxQ5nJpnBsxwnkbvk2gRqRuTjsKXtBUXJewDXgvs 9ZyC01FwVQbSc7Mvn_9c2LA0bHdKUkvd9m78zQeLpKfuxc2hSfVxZlDCLSrQg8ptYJ_4koOJIhKC Xe7DHWsKVaINtUDge.c6iSok8X4p12XyCi3in8asTJcX5F1irbQ8eevZhlrGNrU5Ov5ixGsrSNeE WqpSMW2y1Tr_uA_1YnPK2sMpVJrSWVxdKH1pZqf5RmBNHGjRfzBK5ABUnoXamYmgTxw2URHZmeQt YhxnCeqFb2eR.AeOTcoWKvMODzhxtYgWTn6h8hGyAqe96icukdpY44VQoIxUo_EruHhIEHFNxfUI TmxrkOpUkvhNa4aGo1vqt4izBjDgVSqznP4aUjggP7gcDzV1gu0OSkkUUNUWFtVwTrwspb3wjRUR fACD1wX4uyFFLimYUkIMwuC0gmt6ijh84qsdsqj5fYDZYKz5KAPnZmBFxxNdg3Ho3NCLkaWZMzuy tZOt2shgxbr6WbXMOSRvb7VwPfxyMPRglEkTQXQKVc X-Sonic-MF: X-Sonic-ID: 24c22c56-b743-4572-ae44-ff3ef4731298 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Fri, 16 Jun 2023 23:45:49 +0000 Original-Received: by hermes--production-sg3-748897c457-fnrhv (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f53a10ee1073232da1f39469d1d66434; Fri, 16 Jun 2023 23:45:42 +0000 (UTC) In-Reply-To: (Thomas Fitzsimmons's message of "Fri, 16 Jun 2023 11:49:29 -0400") X-Mailer: WebService/1.1.21557 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.185.148; envelope-from=luangruo@yahoo.com; helo=sonic305-22.consmr.mail.ne1.yahoo.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306841 Archived-At: Thomas Fitzsimmons writes: > My main worry about the port, from a maintainability standpoint, is how > to cross-compile Emacs for Android using entirely free software. (For > an extra challenge, my workstation is PPC64, so I can't use pre-built > x86-64 binaries.) Po, are there steps I can take using a free toolchain > to generate an APK that I can try on my device? > Emacs doesn't require any proprietary software to be built on Android. Providing a suitable Java compiler and pointing GCC or Clang to the Android headers is sufficient. The tools and headers are all free software and run on the RS/6000. > I have seen other Android projects that claim to be buildable only with > Gradle which AFAIK is free software, but they are Java-only, but I > haven't tried myself. Can Emacs be built using gradlew? Is the NDK > required to build Emacs for Android? The build system used is based on Make, not Gradle. Gradle has the nasty habit of automatically downloading software you did not ask for.