aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorPo Lu2023-03-12 09:53:41 +0800
committerPo Lu2023-03-12 09:53:41 +0800
commitb83324d1bd5fcab98c6fed71f65424f7017a9a82 (patch)
treeab14b8fd81c5866cc2500235ea26f8397595fa2d /java
parent26640b7a4f945e28531575467353c6b9c6f4974a (diff)
downloademacs-b83324d1bd5fcab98c6fed71f65424f7017a9a82.tar.gz
emacs-b83324d1bd5fcab98c6fed71f65424f7017a9a82.zip
Update Android port
* configure.ac: Take option `--with-shared-user-id' and give it to AndroidManifest.xml.in. * java/AndroidManifest.xml.in: Substitute that into the application info. * java/INSTALL (BUILDING WITH A SHARED USER ID): New section.
Diffstat (limited to 'java')
-rw-r--r--java/AndroidManifest.xml.in1
-rw-r--r--java/INSTALL17
2 files changed, 18 insertions, 0 deletions
diff --git a/java/AndroidManifest.xml.in b/java/AndroidManifest.xml.in
index 4ebfe470c0a..f7f834e7582 100644
--- a/java/AndroidManifest.xml.in
+++ b/java/AndroidManifest.xml.in
@@ -69,6 +69,7 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. -->
69 android:supportsRtl="true" 69 android:supportsRtl="true"
70 android:theme="@style/EmacsStyle" 70 android:theme="@style/EmacsStyle"
71 android:debuggable="@ANDROID_DEBUGGABLE@" 71 android:debuggable="@ANDROID_DEBUGGABLE@"
72 @ANDROID_SHARED_USER_ID@
72 android:extractNativeLibs="true"> 73 android:extractNativeLibs="true">
73 74
74 <activity android:name="org.gnu.emacs.EmacsActivity" 75 <activity android:name="org.gnu.emacs.EmacsActivity"
diff --git a/java/INSTALL b/java/INSTALL
index 37f7048b89d..676c63a3cda 100644
--- a/java/INSTALL
+++ b/java/INSTALL
@@ -157,6 +157,23 @@ If you are building an Emacs package for redistribution, we urge you
157to provide both debug and release versions. 157to provide both debug and release versions.
158 158
159 159
160BUILDING WITH A SHARED USER ID
161
162Sometimes it may be desirable to build Emacs so that it is able to
163access executables from another program. To achieve this, that other
164program must have a ``shared user ID'', and be signed with the same
165signing key used to sign Emacs (normally `emacs.keystore'.)
166
167Once you have both that signing key and its ``shared user ID'', you
168can give it to configure:
169
170 ./configure --with-shared-user-id=MY.SHARED.USER.ID
171
172Don't do this if you already have Emacs installed with a different
173shared user ID, as the system does not allow programs to change their
174user IDs after being installed.
175
176
160BUILDING WITH THIRD PARTY LIBRARIES 177BUILDING WITH THIRD PARTY LIBRARIES
161 178
162The Android NDK does not support the usual ways of locating third 179The Android NDK does not support the usual ways of locating third