1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Update emacsbug and version.el for the Android port

* java/Makefile.in (install_temp/assets/version): New generated
file.
* lisp/loadup.el: Set emacs versions appropriately prior to
dumping on Android.
* lisp/mail/emacsbug.el (emacs-build-description): Insert
Android build fingerprint.
* lisp/version.el (emacs-repository-version-android)
(emacs-repository-get-version, emacs-repository-get-branch):
Implement for Android.
* src/androidterm.c (android_set_build_fingerprint): New
function.
(syms_of_androidterm): New variable `android-build-fingerprint'.
This commit is contained in:
Po Lu 2023-02-17 21:09:00 +08:00
parent 1f81186d67
commit d70bb47aeb
5 changed files with 145 additions and 4 deletions

View file

@ -408,6 +408,12 @@ copy text to your preferred mail program.\n"
"', version "
(mapconcat #'number-to-string (x-server-version) ".") "\n")
(error t)))
(when (and (boundp 'android-build-fingerprint)
(symbol-value 'android-build-fingerprint))
;; This is used on Android.
(insert "Android version and manufacturer: "
(symbol-value 'android-build-fingerprint)
"\n"))
(let ((os (ignore-errors (report-emacs-bug--os-description))))
(if (stringp os)
(insert "System Description: " os "\n\n")))