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: Help with Android port? (+ gnulib question) Date: Sat, 31 Dec 2022 18:13:44 +0800 Message-ID: <87wn67khif.fsf@yahoo.com> References: <87wn67khif.fsf.ref@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33991"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 31 11:14:51 2022 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 1pBYt9-0008eM-0p for ged-emacs-devel@m.gmane-mx.org; Sat, 31 Dec 2022 11:14:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pBYsK-0004TU-47; Sat, 31 Dec 2022 05:14:00 -0500 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 1pBYsI-0004Sq-L5 for emacs-devel@gnu.org; Sat, 31 Dec 2022 05:13:58 -0500 Original-Received: from sonic314-20.consmr.mail.ne1.yahoo.com ([66.163.189.146]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pBYsG-0005z0-VR for emacs-devel@gnu.org; Sat, 31 Dec 2022 05:13:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1672481634; bh=x04IaugkAJOLyTY8cECNwpNsi71IGhZsSEsbWqFLOyU=; h=From:To:Subject:Date:References:From:Subject:Reply-To; b=snfOb/FzloCXQgEMAm73Fur0HoVftRNe/MzTdyyJKZJWISTogxjfp1B1qz0CQB9iZzg9Vcd2Dm4q8fjy/mUt8mWD2OFzzjehNGcMwbWt80YwCoMv+o7/l68Te3RCt8HyRy1DhIHaeSHWkazSP3Sv2ORdiLRS9CL9Qry/Elc1a2JT8dKy6lpyON/zg1ZxfHBNOuV2KjaKVawEZHoE30WJJXKc49lFuQuQh2y9ZQPzlJftZ0UgfQJrXJx1z8p0hCjrGSYNpaybAxSgG8FTdcysElUUlKoAIlfp4VhawMynYdfckdpMNpwelA3/dNYUi2YCmGpSlGSTKwG4bokHa+NNxw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1672481634; bh=f/aJxN19myDADIlpIXav4Hy0OX0AMAlqGVlXcej3srU=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=R4qRwSNaV4qoXTOVYtsLbfKDi0ptHtkucogUb4qAAW2N6uLXIxwd8Iatir5R4TDG+o8fzihoentUpxeWyhzoN83mlnGYDsaw2KRG38aATVqRvS45PCvhKWwSR3ncbNeMxWHhqvy3CRmo/1BJtTXliG98ieamFtduNi5qN1Jx/n3PvwdC8uj6J2C0nO2YqB2A96u6FIvhZy912s7FH4d4wZU+dqIx8ieZMaKEnokcLUAcSh4ti5u6g4dqdKVhWWHkvcCgH/R5Ir4+XQZUG+om62M5oW2duevu0NFhl1f8jxLY2mWzoSzLYJI4JEYECGYHRHIVul1BmdS57AEUKM6u3g== X-YMail-OSG: xNlY7eYVM1mCG3jk_Q5dwX3KKDz.o7cEwxqHLxzTIF6WRMA5CF3owibcqMNHlaW 5tJOuCrZGuPwtbLRwiY2OjH8Ef3wTmTBxE.pTmEtrUhbGpKQ7wrhfB66y_UcUE026fKqFDpAiGIk pOFO8WKMfK3mVlezp4_cIj.GrFpRuXaYfTGKOKMlVBN.Ek6AVRFhI7x02MmcSUsa5zwcK9rU0Jm4 HvumElUBmmONMZQSP2akuZvNJd0NreF1s9IXqOG1uT2zCTWAu6OHKvbHK3GLOqCu4o1ispNKm0TG 99wprEIfqFWWbboUuWgTuMseM4W4IWcaNuAtLNlei2CGKAlIh8a0llXE_YU0q6IFjkJ9atG4kAYZ SLNpOeXzd5NtfsbFKats0NgUbJsNugUJttWa.YWSqTST64k6zpnOfceZ3hEH31XW9RCBgOfWvQbd fOqfY6XThKbK17k49dWnESqVooscWDnzNSpzhw9IMM_Yx1iSx6LOEvMFtduF3HrLKWXIZK7CFoqN UVOo8K8MswVyg7AmgfbFSJ_D4AkxCzK5r7QmhoJ5aeoh4LQJ95wJvj9OxCaObG47r2razRrs2RbL SK21xCzc3WAVcqg4PkpHKOQJxpL2FXJiLMSwMhGHrTWKqS_oGr8_zQFamGIw_wbQxpXgZW5zK8XC dWx01Xe_Rl.AMZ9yyPObrERwld18lrDSTaxG1boyZwtyrElTvLmDX5f0fDLLpjCMy2PmuF4pw.EL h56yBciecUU94FvQBlw.BeljQyEOosVJz.8D9Cj_zROSiCL2pXcbHb232OBc9blvrl6AssyC.HAW 6X0zlEyqE4Wi3vsv59QBD8qv9_o2Q4QzgDpy48RAQG X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.ne1.yahoo.com with HTTP; Sat, 31 Dec 2022 10:13:54 +0000 Original-Received: by hermes--production-sg3-b666c6484-prndz (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f48d76eec053852503f23fb996569af5; Sat, 31 Dec 2022 10:13:49 +0000 (UTC) X-Mailer: WebService/1.1.20982 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.189.146; envelope-from=luangruo@yahoo.com; helo=sonic314-20.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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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:302155 Archived-At: As promised last November, I've pushed about 14,000 lines of stuff, with support for building elc's with an Emacs built for the build machine, then another set of binaries for the host machine (thus cross-compiling Emacs), along with the configury for setting up the Android SDK build tools, and the initial OS and window system support code for the Android operating system. It can be found on the feature/android branch. Right now, what does not work is (in ascending order by how difficult it would be to make it work): - there is no documentation. - there is no event handling aside from that of resize events. - text rendering doesn't work, everything is a glyphless glyph because the font backend is not fully implemented. - image display. - support for building Emacs with third party libraries. - dumping Emacs to disk upon first startup on the Android device. Does anyone want to help fix those? I will get to most of them eventually, but if more people are involved they will get fixed faster. Also, does anyone want to look at the mess in lib/Makefile.in and see how that can be eliminated? Along with the changes to random files in lib/*.c to make them work with the odd cross-compile system? Thanks.