diff options
| author | Po Lu | 2023-03-12 09:53:41 +0800 |
|---|---|---|
| committer | Po Lu | 2023-03-12 09:53:41 +0800 |
| commit | b83324d1bd5fcab98c6fed71f65424f7017a9a82 (patch) | |
| tree | ab14b8fd81c5866cc2500235ea26f8397595fa2d /java | |
| parent | 26640b7a4f945e28531575467353c6b9c6f4974a (diff) | |
| download | emacs-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.in | 1 | ||||
| -rw-r--r-- | java/INSTALL | 17 |
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 | |||
| 157 | to provide both debug and release versions. | 157 | to provide both debug and release versions. |
| 158 | 158 | ||
| 159 | 159 | ||
| 160 | BUILDING WITH A SHARED USER ID | ||
| 161 | |||
| 162 | Sometimes it may be desirable to build Emacs so that it is able to | ||
| 163 | access executables from another program. To achieve this, that other | ||
| 164 | program must have a ``shared user ID'', and be signed with the same | ||
| 165 | signing key used to sign Emacs (normally `emacs.keystore'.) | ||
| 166 | |||
| 167 | Once you have both that signing key and its ``shared user ID'', you | ||
| 168 | can give it to configure: | ||
| 169 | |||
| 170 | ./configure --with-shared-user-id=MY.SHARED.USER.ID | ||
| 171 | |||
| 172 | Don't do this if you already have Emacs installed with a different | ||
| 173 | shared user ID, as the system does not allow programs to change their | ||
| 174 | user IDs after being installed. | ||
| 175 | |||
| 176 | |||
| 160 | BUILDING WITH THIRD PARTY LIBRARIES | 177 | BUILDING WITH THIRD PARTY LIBRARIES |
| 161 | 178 | ||
| 162 | The Android NDK does not support the usual ways of locating third | 179 | The Android NDK does not support the usual ways of locating third |