Stefan Kangas <stefankangas@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 65207) by debbugs.gnu.org; 10 Aug 2023 17:24:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 10 13:24:43 2023 Received: from localhost ([127.0.0.1]:43963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qU9Os-0002g5-QU for submit <at> debbugs.gnu.org; Thu, 10 Aug 2023 13:24:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1qU9Oq-0002ft-Rx for 65207 <at> debbugs.gnu.org; Thu, 10 Aug 2023 13:24:41 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1qU9Ol-0000pg-Fj; Thu, 10 Aug 2023 13:24:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=BWoPc31u2BiTjui092ri+RtEEKS5u9XaQoQmMEBUHGQ=; b=m2XgCmq97NjPx9fg3ecr YoMKC9wzuWhA+1j92Yill3fHtYOZ9pOvB8ZAX6N14LoNi0CVTXkHzj7xCU7jHDXelmxDGTN/p8RJV 8O8VX5GllJC47hxImSDfHxeyuXrwWC8p6OjHDZLKdlA59xDvBDSqUW3lRHQsBgc+0j2x3/xiRCN5T iHminf79fEt/rESnthjTTAf+Dou3gVgDMQXW4AKAw51fh8529iFwuwRf9ZPtoDZJcxd05NmooMU61 Yq9UY5psZj6Dn2zfIGdux68m+5VYN6IiJckoudlf/icARKWk3oaq9Q1KjLDwReZmXGe5QZoZijMV+ QQUdlX8kyRQntw==; Date: Thu, 10 Aug 2023 20:25:01 +0300 Message-Id: <83a5uyizde.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Po Lu <luangruo@HIDDEN> In-Reply-To: <s0dleejuenu.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN) Subject: Re: bug#65207: 30.0; More instructions for how to build Android emacs, are needed References: <87sf8rw8ka.fsf@HIDDEN> <s0dleejuenu.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 65207 Cc: j.e.widen@HIDDEN, 65207 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 65207 <at> debbugs.gnu.org > Date: Thu, 10 Aug 2023 22:59:17 +0800 > From: Po Lu via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > Johan Widén <j.e.widen@HIDDEN> writes: > > > First I suggest that the emacs repo top level README or INSTALL > > should include a reference to java/INSTALL. Perhaps something like > > this: > > > > * For instructions on how to build Android emacs, see . > > /java/INSTALL. > > Eli already did this, I think. Yes, INSTALL now says near its beginning: This file contains general information on building GNU Emacs. If you are building an Emacs release tarball on a Unix or a GNU system, the instructions in this file should be sufficient. For other configurations, we have additional specialized files: . INSTALL.REPO if you build from a Git checkout . nt/INSTALL if you build for MS-Windows . nextstep/INSTALL if you build for GNUstep/macOS . java/INSTALL if you build for Android . msdos/INSTALL if you build for MS-DOS
bug-gnu-emacs@HIDDEN
:bug#65207
; Package emacs
.
Full text available.Received: (at 65207) by debbugs.gnu.org; 10 Aug 2023 14:59:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 10 10:59:42 2023 Received: from localhost ([127.0.0.1]:43823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qU78Y-0007HB-8S for submit <at> debbugs.gnu.org; Thu, 10 Aug 2023 10:59:42 -0400 Received: from sonic310-14.consmr.mail.bf2.yahoo.com ([74.6.135.124]:39528) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <luangruo@HIDDEN>) id 1qU78V-0007Gv-DJ for 65207 <at> debbugs.gnu.org; Thu, 10 Aug 2023 10:59:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691679572; bh=W/ehZznUrktiYUMt++0xWtwiYNX4FTf7ClK+RPN4BIQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=dMC5MQMfP4ARUR05Dw40HfxYXVVTJ/u8TA5tcFGDYTAnuaCxQgWOWzb0KO8Kl7Akp7ycj2C+A1TNz+WXDbOq8yT1kq1h4r0GpzT0G/6eyrRmq7sHFVAemPp8y5l93axJSLKRp5h42E0mH9Er8KqK5ITGkqv/H6zqKrHgVUKGk5JtwWhmwmZGkP+n21Jtrvc0al/JEoxQrorzXQvriuYvPeqDs8eIG2f4ulqNljtWmcl9cUUg8vNrmQmuE7ZOPSD6xfa2kKIKzM76Tt83LmIJ9z2GpBV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ntslaXOEN5JOJoBVP1FSxiMOFdM.Gnygowexf0mfKS4fJ2xwuBBSHle60w4kNtbxSbFZDsVyaWKO Xk0N7_g83Jp0hex0WrcdAyGyp0YV1iJ9su3PCMAL6tb2Ctz0LUmNu7baTKyk9wmbHqjmL4KbSvaJ nn7PaN0XEXV8Nrcdq.SOOQTfMWg2HEbrjpVw1IUP9aGLtN.R.ul1SpknywkAy5vUona6qCn2GO39 qykUXCuq1m7cXt1WyB9pmt1YMpR3m22l8ngAhMkhpReiCFy_XTLAXclc1U17bdABswi15bqBhyG8 RonrKzbJGuAPfryvTly2UHFTkgNyLSTJmlDIPsy.B52O9kAcyP8ebz2j8N9EE6IL6_rJ213l0yr7 x1SnvaBkOQpSEq_99Umsw5gPn3_oj_6AWysnNL7XEiMmHFMYMXrkys8ifkKhqpoLYhMzjq4GrBpP egTatPZe.tfL74vVtU822oGkCKrrqB8VzY_rtVMexSUBPY7e4YyMFCoBT1GhNoz8oHUWbicBOIKa PcjVcN0mqoSewtnBheULtii8jnuzlPfT2Uy_GmoxCKrfMJWQPYQeKSProIISDQud3d2jcSJ4X3yD auQNLti7ea4QsAkYVCtPJYK5i0C3sP_nfXTh0pcqd_oY4pmrOrGGucPc99poj8klzfaADewqKZeH rrinraytQjUMuBUg_kqzVldRs4Q4QMmDHtu2PhW30mymIzW7Hr1frRCS99dJ4MpM- X-Sonic-MF: <luangruo@HIDDEN> X-Sonic-ID: 366f6346-2b69-4f59-883d-686dbd685de2 Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.bf2.yahoo.com with HTTP; Thu, 10 Aug 2023 14:59:32 +0000 Received: by hermes--production-sg3-69654d8bd-7fcnj (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c04722d773989ed44d1e6c6d4d1bf974; Thu, 10 Aug 2023 14:59:28 +0000 (UTC) From: Po Lu <luangruo@HIDDEN> To: Johan =?utf-8?Q?Wid=C3=A9n?= <j.e.widen@HIDDEN> Subject: Re: bug#65207: 30.0; More instructions for how to build Android emacs, are needed In-Reply-To: <87sf8rw8ka.fsf@HIDDEN> ("Johan =?utf-8?Q?Wid=C3=A9n=22's?= message of "Thu, 10 Aug 2023 11:23:41 +0200") References: <87sf8rw8ka.fsf@HIDDEN> Date: Thu, 10 Aug 2023 22:59:17 +0800 Message-ID: <s0dleejuenu.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.21695 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 2327 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 65207 Cc: 65207 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Johan Wid=C3=A9n <j.e.widen@HIDDEN> writes: > Note: This is a request for an enhancement of the emacs version 30 > documentation. I am writing this submission in emacs 29.1, so the > current environment details are irrelevant.=20 > > I needed to build and run the Android emacs APK, to try and track > down a bug. As I am a novice regarding building Android apps, > finding out how to do this required considerable effort. I therefore > suggest that information similar to what I include below, is added as > an appendix to java/INSTALL.=20 > > First I suggest that the emacs repo top level README or INSTALL > should include a reference to java/INSTALL. Perhaps something like > this:=20 > > * For instructions on how to build Android emacs, see . > /java/INSTALL. Eli already did this, I think. > Here is now my build and run instructions:=20 > > I am using Ubuntu, so these instructions are Ubuntu specific, but > should be easily adaptable to other linux based distributions. Note > that Android Studio, Android SDK, Android NDK can be downloaded > from the software provider, if they are not available in your linux > distributions package manager.=20 > > I first installed Android Studio. It is available in the Ubuntu snap > store:=20 > > * sudo snap install android-studio > > I then ran Android Studio to set it up, and also tried to build a sample > project. I believe that at this point $HOME/Android with important > subdirectory $HOME/Android/Sdk/build-tools/33.0.1 was added to > my $HOME directory. See below why this was important.=20 > [Further instructions elided.] While I don't oppose explaining the process in more detail, we should not recommend using Android Studio, as it is proprietary software. Google's binaries for the Android SDK and NDK are themselves free software built directly from public source code. We should instead describe how they can be obtained or built individually, without using Android Studio or the Sdkmanager. (The Sdkmanager demands users sign a scareware EULA before downloading anything, even free software that is available separately.) My understanding is that for Debian and Trisquel users, it is merely a matter of installing a few packages from their default package repositories, whereas the process for other GNU/Linux distribution is more involved. TIA.
bug-gnu-emacs@HIDDEN
:bug#65207
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 10 Aug 2023 13:21:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 10 09:21:47 2023 Received: from localhost ([127.0.0.1]:41692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qU5bm-0001IB-EK for submit <at> debbugs.gnu.org; Thu, 10 Aug 2023 09:21:47 -0400 Received: from lists.gnu.org ([2001:470:142::17]:37216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <j.e.widen@HIDDEN>) id 1qU22T-0000oF-ME for submit <at> debbugs.gnu.org; Thu, 10 Aug 2023 05:33:06 -0400 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 <j.e.widen@HIDDEN>) id 1qU22N-0002Ts-Sl for bug-gnu-emacs@HIDDEN; Thu, 10 Aug 2023 05:33:00 -0400 Received: from mail-lj1-x234.google.com ([2a00:1450:4864:20::234]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <j.e.widen@HIDDEN>) id 1qU22L-0003Qa-GN for bug-gnu-emacs@HIDDEN; Thu, 10 Aug 2023 05:32:59 -0400 Received: by mail-lj1-x234.google.com with SMTP id 38308e7fff4ca-2b9338e4695so10478061fa.2 for <bug-gnu-emacs@HIDDEN>; Thu, 10 Aug 2023 02:32:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691659974; x=1692264774; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=/PRh3XwOYHxZFPENkqT3HLVNLSqi6VYoP92Uze+BquM=; b=FWuf9d64rXt/YfF0kVc0WJXLqHN4eVo1yI/2KPmOa4qIjuYnye4ULUc2cY1f36LF3e E+fMj0V/2ZI7XAo2fo2V24unqBg7V+Lm3O6pQmVlbmBxiYRy6XVyHFq06Z8Pf4tTyYVr t81ENQQQ43Can0iWSb2tkHlYebQNXkqubHnQ5nz9RPDvKckeMdzEIwy++dTkoBDTk3rb Co8Lc2ExGY4vfGYBLrhejxRn8H5aRRCoSV52Gt0xj0lrpuK9i8x//KWkeXRw2l+oGdMA mzirx6MfuLVO4kshmbAhfYJE+2JzVtJEoLk0dBxrYA/R5Atkq44fzbbkLktZDNi8NkBr 8/2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691659974; x=1692264774; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=/PRh3XwOYHxZFPENkqT3HLVNLSqi6VYoP92Uze+BquM=; b=dcbxDDeaAjQiaQ8ziRsM6i1n5nMRhzCgm18W0D0SAhbJtJGXwQsm+MR6HOowA0CpmT jEJT+z4T0JVItBQaQ9VVu3TQ/Rh7fWBgjLDRe9mnSD92/7P/xEeuitFHlDxU5iveR/lV 71XrMRZPV2LVt5t9yRnPkaBgrviwJ+OQb95Vz5iShOw3+JjgRgjha4Se/4hagFPW2MPH HwOfBUc4eBbQLQ4bDqb4Sfyh2WjQZrLVhgurtrNmDVjJq846XUfqS75oxcZ/wS7dHGv+ GxXgdvZRSjOfxzVpla7dZmDdPny5ml9KBb0XK0kmJbv8EOCii+gUkYegXpfbYtsJ9sd6 UJtA== X-Gm-Message-State: AOJu0YxTWg2V/E695MInWLEETpdOsNdY7ab5lZ4U5x+P+rarN/gaebxp wyYctnY5sjjXQ1qsXBcNE5OOPlu7IKI= X-Google-Smtp-Source: AGHT+IHM3Rk90wSp0g6jXt/jDq5JgriET6AERzLI+iFC5SCslvP940A4dp0vqWmR5aJuBl92YMID2Q== X-Received: by 2002:a2e:9806:0:b0:2b6:e2c1:6cda with SMTP id a6-20020a2e9806000000b002b6e2c16cdamr1427862ljj.46.1691659973963; Thu, 10 Aug 2023 02:32:53 -0700 (PDT) Received: from localhost (h-82-196-111-90.NA.cust.bahnhof.se. [82.196.111.90]) by smtp.gmail.com with ESMTPSA id e16-20020a2e9e10000000b002b9baa7ce37sm273927ljk.22.2023.08.10.02.32.52 for <bug-gnu-emacs@HIDDEN> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Aug 2023 02:32:53 -0700 (PDT) From: Johan =?utf-8?Q?Wid=C3=A9n?= <j.e.widen@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 30.0; More instructions for how to build Android emacs, are needed Date: Thu, 10 Aug 2023 11:23:41 +0200 Message-ID: <87sf8rw8ka.fsf@HIDDEN> User-agent: mu4e 1.10.5; emacs 29.1 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=2a00:1450:4864:20::234; envelope-from=j.e.widen@HIDDEN; helo=mail-lj1-x234.google.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, HTML_MESSAGE=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-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 10 Aug 2023 09:21:43 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --=-=-= Content-Type: multipart/alternative; boundary="==-=-=" --==-=-= Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Note: This is a request for an enhancement of the emacs version 30 documentation. I am writing this submission in emacs 29.1, so the current environment details are irrelevant. I needed to build and run the Android emacs APK, to try and track down a bug. As I am a novice regarding building Android apps, finding out how to do this required considerable effort. I therefore suggest that information similar to what I include below, is added as an appendix to java/INSTALL. First I suggest that the emacs repo top level README or INSTALL should include a reference to java/INSTALL. Perhaps something like this: =E2=80=A2 For instructions on how to build Android emacs, see ./java/INSTAL= L. Here is now my build and run instructions: I am using Ubuntu, so these instructions are Ubuntu specific, but should be easily adaptable to other linux based distributions. Note that Android Studio, Android SDK, Android NDK can be downloaded from the software provider, if they are not available in your linux distributions pa= ckage manager. I first installed Android Studio. It is available in the Ubuntu snap store: =E2=80=A2 sudo snap install android-studio I then ran Android Studio to set it up, and also tried to build a sample project. I believe that at this point $HOME/Android with important subdirectory $HOME/Android/Sdk/build-tools/33.0.1 was added to my $HOME directory. See below why this was important. I then installed a number of apt packages: =E2=80=A2 sudo apt install android-sdk =E2=80=A2 sudo apt install sdkmanager =E2=80=A2 sudo apt-get install crossbuild-essential-arm64 =E2=80=A2 sudo apt install google-android-ndk-r25c-installer Not sure if package crossbuild-essential-arm64 is needed. The SDK was installed under /usr/lib/android-sdk. The NDK was installed under /usr/lib/android-ndk. The sdk supports creating Java based apps. The ndk supports creating apps using C or C++ source. Now something important: The sdk installation created, among other things, a directory /usr/lib/android-sdk/build-tools/debian. I tried building with that, but this did not work, as the contents of the directory is very incomplete. That was when I discovered $HOME/Android, and the important directory $HOME/Android/Sdk/build-tools/33.0.1. Using that directory instead of the debian directory, I was able to make a successful build. I added a number of directories to my PATH, but I do not know if that is necessary: if [ -d =E2=80=9C/usr/lib/android-sdk/tools/bin=E2=80=9D ] ; then PATH=3D=E2=80=9C/usr/lib/android-sdk/tools/bin:$PATH=E2=80=9D fi if [ -d =E2=80=9C/usr/lib/android-sdk/platform-tools=E2=80=9D ] ; then PATH=3D=E2=80=9C/usr/lib/android-sdk/platform-tools:$PATH=E2=80=9D fi if [ -d =E2=80=9C$HOME/Android/Sdk/build-tools/33.0.1=E2=80=9D ] ; then PATH=3D=E2=80=9C$HOME/Android/Sdk/build-tools/33.0.1:$PATH=E2=80=9D fi if [ -d =E2=80=9C/usr/lib/android-ndk=E2=80=9D ] ; then PATH=3D=E2=80=9C/usr/lib/android-ndk:$PATH=E2=80=9D fi To install cross compilers for android I now did: =E2=80=A2 sudo sdkmanager =E2=80=93list =E2=80=A2 sudo sdkmanager =E2=80=9Cplatforms;android-33=E2=80=9D Installed under =E2=80=9C/opt/android-sdk//platforms/android-33=E2=80=9D. ANDROID_CC are under /usr/lib/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin I then ran the following in the top directory of the emacs repo: ./configure =E2=80=93with-android=3D/opt/android-sdk/platforms/android-33/a= ndroid.jar \ ANDROID_CC=3D/usr/lib/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin= /aarch64-linux-android33-clang \ SDK_BUILD_TOOLS=3D$HOME/Android/Sdk/build-tools/33.0.1 make all To run the emulator I started Android Studio, and in the menu in the upper right corner selected =E2=80=9CVirtual Device Manager=E2=80=9D. I cou= ld then select and run the default emulator device =E2=80=9CPixel_3A_API_34_extension_level_7_x86_64=E2=80=9D. To load the APK= into the emulator I started a file manager and dragged and dropped the APK file onto the emulator display. The computer keyboard can be used for typing int= o Android emacs. --==-=-= Content-Type: text/html; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable <html xmlns=3D"http://www.w3.org/1999/xhtml" lang=3D"en" xml:lang=3D"en"><h= ead><!-- 2023-08-10 tor 11:28 --><meta http-equiv=3D"Content-Type" content= =3D"text/html;charset=3Dutf-8"/><meta name=3D"viewport" content=3D"width=3D= device-width, initial-scale=3D1"/><meta name=3D"generator" content=3D"Org M= ode"/></head><body> <div style=3D"font-family:-apple-system, BlinkMacSystemFont, "Segoe UI= ", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", &q= uot;Droid Sans", "Helvetica Neue", Arial, sans-serif, "= Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol&= quot;;;font-size:11pt;line-height:12pt;" id=3D"content"> <p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margin-bot= tom:0px;font-size:11pt;max-width:50em;"> Note: This is a request for an enhancement of the emacs version 30 documentation. I am writing this submission in emacs 29.1, so the current environment details are irrelevant. </p> <p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margin-bot= tom:0px;font-size:11pt;max-width:50em;"> I needed to build and run the Android emacs APK, to try and track down a bug. As I am a novice regarding building Android apps, finding out how to do this required considerable effort. I therefore suggest that information similar to what I include below, is added as an appendix to java/INSTALL. </p> <p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margin-bot= tom:0px;font-size:11pt;max-width:50em;"> First I suggest that the emacs repo top level README or INSTALL should include a reference to java/INSTALL. Perhaps something like this: </p> <ul style=3D"list-style-type:disc;"><li style=3D"line-height:1.2;margin-bot= tom:0px;margin-top:2px;max-width:47em;">For instructions on how to build An= droid emacs, see ./java/INSTALL.</li> </ul><p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margi= n-bottom:0px;font-size:11pt;max-width:50em;"> Here is now my build and run instructions: </p> <p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margin-bot= tom:0px;font-size:11pt;max-width:50em;"> I am using Ubuntu, so these instructions are Ubuntu specific, but should be easily adaptable to other linux based distributions. Note that Android Studio, Android SDK, Android NDK can be downloaded from the software provider, if they are not available in your linux distributions pa= ckage manager. </p> <p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margin-bot= tom:0px;font-size:11pt;max-width:50em;"> I first installed Android Studio. It is available in the Ubuntu snap store: </p> <ul style=3D"list-style-type:disc;"><li style=3D"line-height:1.2;margin-bot= tom:0px;margin-top:2px;max-width:47em;">sudo snap install android-studio</l= i> </ul><p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margi= n-bottom:0px;font-size:11pt;max-width:50em;"> I then ran Android Studio to set it up, and also tried to build a sample project. I believe that at this point $HOME/Android with important subdirectory $HOME/Android/Sdk/build-tools/33.0.1 was added to my $HOME directory. See below why this was important. </p> <p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margin-bot= tom:0px;font-size:11pt;max-width:50em;"> I then installed a number of apt packages: </p> <ul style=3D"list-style-type:disc;"><li style=3D"line-height:1.2;margin-bot= tom:0px;margin-top:2px;max-width:47em;">sudo apt install android-sdk</li> <li style=3D"line-height:1.2;margin-bottom:0px;margin-top:2px;max-width:47e= m;">sudo apt install sdkmanager</li> <li style=3D"line-height:1.2;margin-bottom:0px;margin-top:2px;max-width:47e= m;">sudo apt-get install crossbuild-essential-arm64</li> <li style=3D"line-height:1.2;margin-bottom:0px;margin-top:2px;max-width:47e= m;">sudo apt install google-android-ndk-r25c-installer</li> </ul><p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margi= n-bottom:0px;font-size:11pt;max-width:50em;"> Not sure if package crossbuild-essential-arm64 is needed. </p> <p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margin-bot= tom:0px;font-size:11pt;max-width:50em;"> The SDK was installed under /usr/lib/android-sdk. The NDK was installed under /usr/lib/android-ndk. </p> <p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margin-bot= tom:0px;font-size:11pt;max-width:50em;"> The sdk supports creating Java based apps. The ndk supports creating apps using C or C++ source. </p> <p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margin-bot= tom:0px;font-size:11pt;max-width:50em;"> Now something important: The sdk installation created, among other things, a directory /usr/lib/android-sdk/build-tools/debian. I tried building with that, but this did not work, as the contents of the directory is very incomplete. That was when I discovered $HOME/Android, and the important directory $HOME/Android/Sdk/build-tools/33.0.1. Using that directory instead of the debian directory, I was able to make a successful build. </p> <p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margin-bot= tom:0px;font-size:11pt;max-width:50em;"> I added a number of directories to my PATH, but I do not know if that is necessary: if [ -d =E2=80=9C/usr/lib/android-sdk/tools/bin=E2=80=9D ] ; then PATH=3D=E2=80=9C/usr/lib/android-sdk/tools/bin:$PATH=E2=80=9D fi if [ -d =E2=80=9C/usr/lib/android-sdk/platform-tools=E2=80=9D ] ; then PATH=3D=E2=80=9C/usr/lib/android-sdk/platform-tools:$PATH=E2=80=9D fi if [ -d =E2=80=9C$HOME/Android/Sdk/build-tools/33.0.1=E2=80=9D ] ; then PATH=3D=E2=80=9C$HOME/Android/Sdk/build-tools/33.0.1:$PATH=E2=80=9D fi if [ -d =E2=80=9C/usr/lib/android-ndk=E2=80=9D ] ; then PATH=3D=E2=80=9C/usr/lib/android-ndk:$PATH=E2=80=9D fi </p> <p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margin-bot= tom:0px;font-size:11pt;max-width:50em;"> To install cross compilers for android I now did: </p> <ul style=3D"list-style-type:disc;"><li style=3D"line-height:1.2;margin-bot= tom:0px;margin-top:2px;max-width:47em;">sudo sdkmanager =E2=80=93list</li> <li style=3D"line-height:1.2;margin-bottom:0px;margin-top:2px;max-width:47e= m;">sudo sdkmanager =E2=80=9Cplatforms;android-33=E2=80=9D</li> </ul><p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margi= n-bottom:0px;font-size:11pt;max-width:50em;"> Installed under =E2=80=9C/opt/android-sdk//platforms/android-33=E2=80=9D. ANDROID_CC are under /usr/lib/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin </p> <p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margin-bot= tom:0px;font-size:11pt;max-width:50em;"> I then ran the following in the top directory of the emacs repo: </p> <p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margin-bot= tom:0px;font-size:11pt;max-width:50em;"> ./configure =E2=80=93with-android=3D/opt/android-sdk/platforms/android-33/a= ndroid.jar \ ANDROID_CC=3D/usr/lib/android-ndk/toolchains/llvm/prebuilt/linux-x86_64/bin= /aarch64-linux-android33-clang \ SDK_BUILD_TOOLS=3D$HOME/Android/Sdk/build-tools/33.0.1 </p> <p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margin-bot= tom:0px;font-size:11pt;max-width:50em;"> make all </p> <p style=3D"text-decoration:none;line-height:1.4;margin-top:10px;margin-bot= tom:0px;font-size:11pt;max-width:50em;"> To run the emulator I started Android Studio, and in the menu in the upper right corner selected =E2=80=9CVirtual Device Manager=E2=80=9D. I cou= ld then select and run the default emulator device =E2=80=9CPixel_3A_API_34_extension_level_7_x86_64=E2=80=9D. To load the APK= into the emulator I started a file manager and dragged and dropped the APK file onto the emulator display. The computer keyboard can be used for typing int= o Android emacs. </p> </div> </body></html> --==-=-=-- --=-=-=--
Johan Widén <j.e.widen@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#65207
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.