1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-22 07:09:54 +00:00
emacs/build-aux
Po Lu 22f7ad1057 Update Android port
* INSTALL.android: Document how to install sqlite3.
* build-aux/ndk-build-helper-1.mk (SYSTEM_LIBRARIES):
* build-aux/ndk-build-helper-2.mk (SYSTEM_LIBRARIES): Add liblog
and libandroid.
* configure.ac (SQLITE3_LIBS, HAVE_SQLITE3)
(HAVE_SQLITE3_LOAD_EXTENSION): Support on Android.
(APKSIGNER): Look for this new required binary.

* cross/ndk-build/ndk-build-shared-library.mk (objname):
* cross/ndk-build/ndk-build-static-library.mk (objname): Avoid
duplicate rules by prefixing objects with module type.

* cross/ndk-build/ndk-build.mk.in (NDK_BUILD_SHARED): Fix
definition.
* cross/ndk-build/ndk-resolve.mk:
(NDK_SO_EXTRA_FLAGS_$(LOCAL_MODULE)): Handle new system
libraries.

* doc/emacs/android.texi (Android File System): Document Android
10 system restriction.

* java/AndroidManifest.xml.in: Target Android 33, not 28.
* java/Makefile.in (SIGN_EMACS_V2, APKSIGNER): New variables.
($(APK_NAME)): Make sure to apply a ``version 2 signature'' to
the package as well.

* java/org/gnu/emacs/EmacsNative.java (EmacsNative): New
argument apiLevel.
* java/org/gnu/emacs/EmacsNoninteractive.java (main):
* java/org/gnu/emacs/EmacsThread.java (run): Pass API level.
* m4/ndk-build.m4 (ndk_package_mape): Add package mapping for
sqlite3.
* src/Makefile.in (SQLITE3_CFLAGS): New substition.
(EMACS_CFLAGS): Add that variable.

* src/android.c (android_api_level): New variable.
(initEmacs): Set it.
(android_file_access_p): Make static.
(android_hack_asset_fd): Adjust for restrictions in Android 29
and later.
(android_close_on_exec): New function.
(android_open): Adjust to not duplicate file descriptor even if
CLOEXEC.
(android_faccessat): Use fstatat at-func emulation.

* src/android.h: Update prototypes.
* src/dired.c (file_name_completion_dirp):
* src/fileio.c (file_access_p, Faccess_file): Now that
sys_faccessat takes care of everything, stop calling
android_file_access_p.
2023-01-26 19:54:38 +08:00
..
git-hooks ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
config.guess Update Android port 2023-01-19 22:19:06 +08:00
config.sub Update from gnulib 2023-01-24 10:46:53 +08:00
dir_top Fix the preamble text of the DIR file we install (Bug#20213) 2015-03-29 19:41:04 +03:00
gitlog-to-changelog ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
gitlog-to-emacslog ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
install-sh Update Gnulib. 2020-12-24 16:48:40 +01:00
make-info-dir ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
move-if-change ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
msys-to-w32 ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
ndk-build-helper-1.mk Update Android port 2023-01-26 19:54:38 +08:00
ndk-build-helper-2.mk Update Android port 2023-01-26 19:54:38 +08:00
ndk-build-helper-3.mk Update Android port 2023-01-24 10:34:40 +08:00
ndk-build-helper-4.mk Update Android port 2023-01-24 10:34:40 +08:00
ndk-build-helper.mk Update Android port 2023-01-26 15:37:04 +08:00
ndk-module-extract.awk Update Android port 2023-01-26 15:37:04 +08:00
update-copyright Update from Gnulib by running admin/merge-gnulib 2023-01-13 20:03:54 -08:00
update-subdirs ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00