1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00
emacs/java
Peter Oliver 8099dc6e3a Provide an Android version code derived from the Emacs version
The version code is intended to be an integer that increments
for each Android package release
(https://developer.android.com/studio/publish/versioning#versioningsettings).

If we keep this updated under version control, then F-Droid (a
third-party Android package repository), can watch for that, and
use it to automatically build Emacs packages for Android each
time a new Emacs release is tagged
(https://f-droid.org/en/docs/Build_Metadata_Reference/#UpdateCheckData).

* admin/admin.el (set-version): Update version code in
java/incrementing-version-code
* java/incrementing-version-code: New file containing an Android
version code corresponding to the current Emacs version.
(bug#75809)
2025-03-05 14:58:18 +08:00
..
org/gnu/emacs Fix remaining Android bugs reported over the past months 2025-02-19 20:40:12 +08:00
res Update copyright year to 2025 2025-01-02 18:39:42 +01:00
AndroidManifest.xml.in Update copyright year to 2025 2025-01-02 18:39:42 +01:00
debug.sh Update copyright year to 2025 2025-01-02 18:39:42 +01:00
emacs.keystore
incrementing-version-code Provide an Android version code derived from the Emacs version 2025-03-05 14:58:18 +08:00
INSTALL Update copyright year to 2025 2025-01-02 18:39:42 +01:00
Makefile.in Update copyright year to 2025 2025-01-02 18:39:42 +01:00
proguard.conf Update copyright year to 2025 2025-01-02 18:39:42 +01:00
README Move Android port internals documentation to admin/notes 2023-09-03 10:05:15 +08:00

This directory holds the Java sources of the port of GNU Emacs to
Android-like systems, along with files needed to create an application
package out of them.  If you need to build this port, please read the
file INSTALL in this directory.

The ``org/gnu/emacs'' subdirectory contains the Java sources under the
``org.gnu.emacs'' package identifier.

``AndroidManifest.xml'' contains a manifest describing the Java
sources to the system.

The ``res'' directory contains resources, mainly the Emacs icon and
several ``boolean resources'' which are used as a form of conditional
evaluation for manifest entries.

`emacs.keystore' is the signing key used to build Emacs.  It is kept
here, and we encourage all people redistributing Emacs to use this
key.  It holds no security value, and otherwise it will be impossible
to install different builds of Emacs on top of each other.

Please keep the Java code indented with tabs and formatted according
to the rules for C code in the GNU coding standards.  Always use
C-style comments.

Refer to the file `admin/notes/java' in the toplevel directory of the
Emacs distribution or repository for specifics regarding writing Java
code for Emacs and the organization of the Android port.