diff options
| author | Po Lu | 2024-06-12 13:52:33 +0800 |
|---|---|---|
| committer | Po Lu | 2024-06-12 13:52:33 +0800 |
| commit | 5fc75b051fc623a4f614a7abe09f08d127ed9ccd (patch) | |
| tree | c67cc99644aff4dba521d5f0923c218923e43d27 /java/INSTALL | |
| parent | a300db7ad4a16dc39bf1793c2e61f75145337ec6 (diff) | |
| download | emacs-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/INSTALL | 11 |
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 | |||
| 158 | versions of Android, but they are missing the required JNI graphics | 158 | versions of Android, but they are missing the required JNI graphics |
| 159 | library that allows Emacs to display text from C code. | 159 | library that allows Emacs to display text from C code. |
| 160 | 160 | ||
| 161 | Due to an extremely nasty bug in the Android 2.2 system, the generated | 161 | There is an extremely nasty bug in the Android 2.2 system, the upshot of |
| 162 | Emacs package cannot be compressed in builds for Android 2.2. As a | 162 | which is that large files within the generated Emacs package cannot be |
| 163 | result, the Emacs package will be approximately 100 megabytes larger | 163 | compressed in builds for Android 2.2, so that the Emacs package will be |
| 164 | than a compressed package for a newer version of Android. | 164 | approximately 15 megabytes larger than a compressed package for a newer |
| 165 | version of Android. For such systems the `zip' utility is also required | ||
| 166 | to produce packages that will not be misinterpreted by the package | ||
| 167 | manager. | ||
| 165 | 168 | ||
| 166 | 169 | ||
| 167 | BUILDING C++ DEPENDENCIES | 170 | BUILDING C++ DEPENDENCIES |