From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.devel Subject: Re: Android port of Emacs Date: Thu, 22 Jun 2023 22:49:51 +0000 Message-ID: References: <83v8fnslfz.fsf@gnu.org> <83edmask4z.fsf@gnu.org> <5c02371a-3c42-de66-70b7-4ed0d88cc3fa@gutov.dev> <87cz1td0ku.fsf@yahoo.com> <87cz1ta5fr.fsf@telefonica.net> <87edm645yy.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30363"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?Q?=C3=93scar_Fuentes?= , emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 23 00:50:54 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 1qCT8g-0007eh-Io for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Jun 2023 00:50:54 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qCT7o-0000zp-TK; Thu, 22 Jun 2023 18:50:00 -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 1qCT7n-0000zh-Ps for emacs-devel@gnu.org; Thu, 22 Jun 2023 18:49:59 -0400 Original-Received: from heytings.org ([95.142.160.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qCT7l-0001I5-Vr for emacs-devel@gnu.org; Thu, 22 Jun 2023 18:49:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1687474192; bh=T64ZljwYa7cxvhcCP22PkSENWumKU8Xoqjq83joyXd8=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=DmDJfzsmRRugplOW6N6DmOvfk6l9E+/p6SeAB/fmUKWuFxQypZnePSya4bsdbX74x Ljirfhx1eb/yfR2Mf7UHZ/AynzzAHaZ4P35/FxQZsUlAqc39BYrM2IVhqvKzUJbSKg RPM/nwHDqsSds9bNpZ6EKFquIqiBVZL/KSi5k1ejQKzT2sGsO7FmZzcy4wHyEAfW2v zK12Fu8pqT5WJpxFdhKB9p1tIsyWJOJISUCepnsQ5sw8k2zYBO1qjJ3mWOp2pSkKPY ARaBWwO4rLkqDRdUYn4LPEUdh/wO70FWVK8P3zsSf0y+/QiEqiStEePIN+ovhHdQVt GsBgtU29FKFsA== In-Reply-To: <87edm645yy.fsf@yahoo.com> Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org 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, SPF_HELO_PASS=-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:307135 Archived-At: > > The issues with installing and running binaries has been completely > solved: in fact, it is possible to build the entire Termux binary > repositories with the prefix changed to `org.gnu.emacs', and to run the > programs built directly from inside Emacs. > IOW, users will run Termux under Emacs instead of running Emacs under Termux. (Yes, that's a simplified way of presenting things, but it's the idea.) Concretely speaking, this means that the same programs will be installed twice on the same device (which typically do not have a large storage capacity): in the /data/data/com.termux directory, and in the /data/data/org.gnu.emacs directory. Concretely speaking, this also means that all programs installed in the /data/data/org.gnu.emacs directory need to be built from source, either on the Android device itself (but they typically have slow CPUs) or by cross-compiling them on a faster computer. I've also looked at the "exec" subdirectory in the feature branch. You may be aware that the hack you use there to circumvent Android's "write xor execute" security policy has been rejected by the Termux developers, and that in all likelihood that hole in Android's security policy will be patched sooner or later.