This is a script to patch a native bootloader
(bootloader.*) into a stock OF firmware image (update.upt).
Usage: hibyos_nativepatcher.sh <path/to/update.upt>
<path/to/bootloder.*>
Resulting file will be placed next to the original update, and will
be named [$orig_name]_patched_[$rbver].upt
Now with some rudimentary error checking at key points!
Works on macos.
Works on linux, at least debian in docker. Linux
usage requires 7z and genisoimage.
Change-Id: I2878e7ab4652b73f44c6f1efd54047953f636c86
bootloader passes the player version to rockbox for LCD init changes
Credit ZappBranigan2972 on forums for original changes
Credit Bilgus for devicedata additions
Change-Id: Ia2ca493edef49b7457e84dc19b05397dc915fa5a
On hosts running Python 3.12, building the hosted MIPS toolchain fails
on glib with the error
Traceback (most recent call last):
File "<string>", line 2, in <module>
ModuleNotFoundError: No module named 'imp'
gmake[6]: *** [Makefile:982: install-codegenPYTHON] Error 1
gmake[6]: Leaving directory '/tmp/rbdev-build/build-glib-2.46.2/gio/gdbus-2.0/codegen'
due to 'imp' being removed from Python 3.12 after a long deprecation
period. The module is imported by automake's py-compile script, but
in newer versions of automake this has been updated to use 'importlib'
instead, so running autoreconf fixes this.
We need to patch m4macros/glib-gettext.m4 to avoid an error running
autoreconf (see: https://gitlab.gnome.org/GNOME/glib/-/issues/1159):
ac-wrapper: autoreconf: warning: auto-detected versions not found ( 2.69 2.69); falling back to latest available
autoreconf-2.71: export WARNINGS=
autoreconf-2.71: Entering directory '.'
autoreconf-2.71: configure.ac: not using Gettext
autoreconf-2.71: running: aclocal --force -I m4macros ${ACLOCAL_FLAGS}
am-wrapper: aclocal: warning: auto-detected versions not found (1.15); falling back to latest available
m4macros/glib-gettext.m4:39: error: m4_copy: won't overwrite defined macro: glib_DEFUN
m4macros/glib-gettext.m4:39: the top level
autom4te-2.71: error: /usr/bin/m4 failed with exit status: 1
aclocal-1.16: error: /usr/bin/autom4te-2.71 failed with exit status: 1
autoreconf-2.71: error: aclocal failed with exit status: 1
This problem goes away in glib 2.47.5 when they switched to using
upstream gettext.
Change-Id: I878a9d7086d17c6de43470b6e5f14917f0ae1bb9
Turns out the 'gtts' tool on the buildserver is too old to support
Bulgarian. Once this is dealt with, go ahead and switch back.
Change-Id: I507b3b736a722569a2050a2e1f61ed4dce210a44
The former one ('cori') had some very pathological corner cases
especiallly when voicing single letters. This one is just
better all around.
Change-Id: I275256a637cf70ba196aafdecc24038bfe841955
Also corrected the 100% languages:
English, English-US, Chinese-Simplified, German, and Italian
(There is one Italian string I didn't know how to fix)
Change-Id: I958c6737810ad0199333d17fc092eab3120cef40
This keeps rbutil from being confused.
When a new release happens, all of this automagically fixes itself!
Change-Id: I15e3ebb5e274638b9b88f670ce53f950061e9044
It includes all targets that have a working simulator build.
* All stable targets except those that are flagged as bad
* All unstable targets that are flagged as good
Change-Id: Id0e20a10af72236c819077f919ee5cc168ebf14e
This is only used by the nightly voice builds. Default remains
espeak-ng.
Currently defined but disabled until their translation status improves:
Spanish (68%)
Swedish (66%)
Danish (62%)
Estonian (19%)
Change-Id: I96cd00b809bedb480392b84fc9546987a1f5a7c4
If someone submits an incomplete translation without a VOICE_LANG_NAME,
it will add the phrase but with a blank string. In subsequent runs,
the blank string will be treated as an error.. and copied from English.
Make it so that if it is blank, it stays blank.
Change-Id: Ib4a6645a5a52c9d0ff6dcfd0702c2a507bf8d756