aboutsummaryrefslogtreecommitdiffstats
path: root/java/INSTALL
diff options
context:
space:
mode:
authorPo Lu2024-06-12 13:52:33 +0800
committerPo Lu2024-06-12 13:52:33 +0800
commit5fc75b051fc623a4f614a7abe09f08d127ed9ccd (patch)
treec67cc99644aff4dba521d5f0923c218923e43d27 /java/INSTALL
parenta300db7ad4a16dc39bf1793c2e61f75145337ec6 (diff)
downloademacs-5fc75b051fc623a4f614a7abe09f08d127ed9ccd.tar.gz
emacs-5fc75b051fc623a4f614a7abe09f08d127ed9ccd.zip
Improve compression of Emacs packages on Android 2.2
* configure.ac (ZIP): Search for a `zip' executable and substitute the same if targeting SDK 8. * java/INSTALL: Document new requirement. * java/Makefile.in (GZIP_PROG, ZIP): New substitutions. (.PHONY): Delete references to directory-tree. (install_temp): On SDK 8 and earlier, compress large *.el and Info files with gzip, and divide install_temp into three separate directories, with one for large files, another for gzipped files, and one more for the remainder. (install_temp/assets/directory-tree, install_temp/assets/version) (install_temp/assets/build_info): Merge these rules into install_tmp, that they may execute before the assets directory is split. (emacs.apk-in): Package each directory separately, accounting for their varied compression requirements. * lisp/term/android-win.el (input-decode-map): Define select to return in input-decode-map.
Diffstat (limited to 'java/INSTALL')
-rw-r--r--java/INSTALL11
1 files changed, 7 insertions, 4 deletions
diff --git a/java/INSTALL b/java/INSTALL
index 1d6f1535647..91916c6586c 100644
--- a/java/INSTALL
+++ b/java/INSTALL
@@ -158,10 +158,13 @@ the NDK r10b or later. We wanted to make Emacs work on even older
158versions of Android, but they are missing the required JNI graphics 158versions of Android, but they are missing the required JNI graphics
159library that allows Emacs to display text from C code. 159library that allows Emacs to display text from C code.
160 160
161Due to an extremely nasty bug in the Android 2.2 system, the generated 161There is an extremely nasty bug in the Android 2.2 system, the upshot of
162Emacs package cannot be compressed in builds for Android 2.2. As a 162which is that large files within the generated Emacs package cannot be
163result, the Emacs package will be approximately 100 megabytes larger 163compressed in builds for Android 2.2, so that the Emacs package will be
164than a compressed package for a newer version of Android. 164approximately 15 megabytes larger than a compressed package for a newer
165version of Android. For such systems the `zip' utility is also required
166to produce packages that will not be misinterpreted by the package
167manager.
165 168
166 169
167BUILDING C++ DEPENDENCIES 170BUILDING C++ DEPENDENCIES