Commit graph

2443 commits

Author SHA1 Message Date
Solomon Peachy
8d5fd1b20b manual: add 'manual-7zip' build target for 7zipped HTML manual.
7zip produces files nearly *half* the size of a zipped one.

Change-Id: Ic8bc4129dd4106a32060c98049061ea3848ebddc
2025-04-18 11:24:40 -04:00
Aidan MacDonald
7e8a818d95 arm: add ARM architecture profile detection
Add some logic to detect classic and M-profile cores, and make
this info available to the build system. All existing targets
are classic profile.

Change-Id: I07bfcd418bcaa6297b9bbf889fc189f167147428
2025-04-18 09:22:48 -04:00
Solomon Peachy
b3caf32f78 voice: Disable Greek voicing in daily and release builds
...Its coverage is below the 80% threshold.  If anyone complains, they
can help improve the translation coverage first.

Change-Id: I0201497ec1209a7d125ac99ec45de6e2a9e41098
2025-04-07 08:44:43 -04:00
Solomon Peachy
8b54bec33e tools: Release scripts should only create artefacts for _stable_ targets
...Instead of including unstable targets too.  Those have to make do with
dailies.

Change-Id: Ie7d75338dab7b395e1f5980da54bc03f4b9f0184
2025-04-05 20:47:23 -04:00
Solomon Peachy
1fadf1cd89 Disable nightly Norweigan and Czech voice generation
They are hovering at 61% and 73% respectively.  Our current cutoff
is 75%, and that should arguably be raied to at least 80%.

If anyone complains we can politely request they help with the
translation.

Change-Id: I39fd0a3b40311669c2a644de8c359a29ae066e75
2025-04-04 11:31:38 -04:00
Solomon Peachy
4bdbd0785b tools: Update release script so that it generates 7z archives
Change-Id: Icc41a54af590d71a97baff16ad1c0124b26b0d0c
2025-04-01 17:26:08 -04:00
Solomon Peachy
7d51b14cca tools: Alter the 'voice_url' in the [release] build-info
Now it's consistent with everything else.  All old files have been renamed.

Change-Id: I5c6974fb30cc90a7aedb732d8f970800c7de74c4
2025-04-01 07:35:12 -04:00
Solomon Peachy
0b214badc8 builds: 4.0 is out, make it official
Change-Id: I61dc303c4d68a0d9cf559ecff2373f1f09fef01e
2025-04-01 06:32:12 -04:00
Solomon Peachy
e094c599fa partial revert of previous commit, broke DX50/DX90 builds
Change-Id: I728034bf5c8c6dc53e791421afa7eb700495ab55
2025-03-30 17:08:09 -04:00
Solomon Peachy
4ff880a15c build: make sure rockbox-info.txt is included in zip builds
Fixes regression in 25f3ba5db4

Change-Id: I170618e3d14d48a154c67555345b0ecaa35d3360
2025-03-30 16:52:46 -04:00
Solomon Peachy
e4cf213d5d build-info: source code should be called 'rockbox-source-VERSION.7z'
Change-Id: Ib2acd37ce48857032628b1288df69a24391e5b3c
2025-03-30 14:35:47 -04:00
Solomon Peachy
25f3ba5db4 build: instead of 'ifdef NODEPS' use 'ifneq ($NODEPS,)'
This way we can set NODEPS from within the makefiles, allowing
the fontzip to be buildable by itself again

Change-Id: Icc4022fef3805b39a97b7bc5d42719ee6522afd1
2025-03-29 14:33:20 -04:00
Solomon Peachy
7fe0a95dd3 build: Add additional archive types to 'make clean' target
Change-Id: I6dd27ba8a793367b9c1095082238629a53081fb4
2025-03-27 21:34:51 -04:00
Solomon Peachy
70dc293a60 build: drop 'bzip2' target, add 'full7zip', 'fullgzip', and 'fullxz'
The net result is _simpler_ as it uses the same rules for creating
the subvariations.

Change-Id: I8618a0beb2e1ada156468df3d2b45ff53d49c8c7
2025-03-27 21:17:48 -04:00
Solomon Peachy
1959fade86 tools: More fixes for relese voice script.
...Was broken for piper-based models

Change-Id: Ib1df918ecde69bff6b048f8dad7451399b93d05d
2025-03-27 07:15:36 -04:00
Solomon Peachy
c3b8fcae33 tools: Fixes for release scripts
Change-Id: I2d2184baa5267aec64c48eee13580085feb0d4cb
2025-03-26 21:28:54 -04:00
Solomon Peachy
5135223b0c voice: Enable nightlies for Latvian and Brazillian Portuguese
Change-Id: Idb6b57c712323d64d0e81e5d64fb9451b4298ab5
2025-03-24 13:00:34 -04:00
Solomon Peachy
fc9076e89f voice: Add support for voicing Brazilian Portuguese. Disabled by default.
Change-Id: Iaef5e59e3dd6037c0fa3ffed1c00a0f7cde411b2
2025-03-24 08:45:11 -04:00
Solomon Peachy
21941a8165 voice: Add support for voicing Latvian. Disabled by default.
Change-Id: Ieeec14bf259518232fb158a87abab7d4e58362c8
2025-03-23 21:03:36 -04:00
William Wilgus
154a20c2eb [BugFix] lua include scripts may fail to copy
lua has some include scripts for interfacing with rockbox
locally these appear to be generated properly by the lua make file

However the buildserver appears to not copy them over

add a copy loop for lua_include in then buildzip script to ensure they get copied

Change-Id: I8d2a4447a1496a53a16cec6e51d453cb60c2d6e5
2025-03-07 11:19:00 -05:00
Solomon Peachy
3539dd5a70 Revert back to the default 8px sysfont for ipod5g/ipod6g/erosq
The default status bar is sized for SYSFONT, so this made the status bar
slightly taller.

Unfortunately this broke a bunch of themes that didn't include a custom
status bar and had hardcoded assumptions about the height of the default.

While those themes should not be making those assumptions, we don't
yet have a straightforward way to deal with it.  So while we try to figure
out a better path forward, revert this.

Change-Id: I2cd6f64be5f405906a097ee0a33391e03bf1804d
2025-03-05 14:50:23 -05:00
Paul Sauro
36bcc0625a ipodvideo/ipod6g: use taller sysfont
same as eroq devices which have also a 320x240 screen

Change-Id: Ie723f7ce378beee1764dc9c0c276f08ce9381dd4
2025-03-04 13:43:15 -05:00
William Wilgus
7897cded2d [FixRed] Database add itoa_buf to SOURCES
Change-Id: I6d070aea2c444e4a888c72c339688bd63d337aae
2025-02-18 11:56:47 -05:00
Solomon Peachy
3b850e0c6f toolchains: Correct bad default path for toolchain PREFIX
Change-Id: Ib4e91f72a4e1b4eae123f676610045309a891309
2025-02-08 10:57:31 -05:00
Solomon Peachy
50e0c99832 dailyvoices: Switch back to 'espeak' for Bulgarian and Japanese
gtts rate limited us before even a single voice was generated.

Change-Id: Ibe705e5d6023e8046216a4e0cd48d5f60ed43ace
2025-02-02 07:53:31 -05:00
Solomon Peachy
14ba18b1dd builds: Add Japanese to the nightly voice set (using gtts)
Change-Id: I77fb5601d45c008f72b613f8e67148ccca738b71
2025-02-01 13:34:01 -05:00
Solomon Peachy
36e85ef78a voice: Correct a rather embarrasing bug in talk clip generation
Introduced

Change-Id: I150617267b8866a7ae09bf9c01430e7afbd369ed
2025-01-23 15:52:02 -05:00
Solomon Peachy
a220402d51 voice: clean up a debug message
Change-Id: Iee8c68a8e943218ce53b46a7150af7df08702719
2025-01-22 13:22:25 -05:00
William Wilgus
a8f6ddc5ed [Feature] bookmark.ignore to selectively ignore or include directories
allows blacklist / whitelisting of bookmarks by directory

Change-Id: I4eb684bb5775d1bba1c97b416e7d25e4763be553
2025-01-18 00:21:42 -05:00
Solomon Peachy
5e8d3fec66 voice: Silence a runtime warning when generating talkclips
Change-Id: I9d95377654d8883315657a1eff11ff198df9a41b
2025-01-17 11:36:36 -05:00
Solomon Peachy
e4fb35f173 Revert "Toolchains: Update to GCC 9.5.0"
This reverts commit 573ba5472e.

Reason for revert: Accidentally pushed to master, Maintainer will be put in timeout.

Change-Id: Iaa5c6eb18ae40dd64c13db75c0c3f6f519922d4a
2025-01-08 09:35:18 -05:00
Solomon Peachy
ada000e8de builds: Add 'Creative Zen V' as an unusable target
Change-Id: I3da683c3d9bc41336d3c5b35415c3248ff4371ae
2025-01-08 09:33:35 -05:00
Solomon Peachy
573ba5472e Toolchains: Update to GCC 9.5.0
All toolchain dependencies are circa the GCC 9.5.0 release:

  GCC 9.5.0, binutils 2.38, gmp 6.2.1, mpfr 4.1.1, mpc 1.2.1, isl 0.18

Native:

 * arm - mini2g, nano2g seems to work
       - ipod6g boot hang on 9.5.0 (possibly leading to disk corruption)
 * mips - xduoox3 seems stable so far
 * m68k - binaries untested

Hosted:

 * arm - binaries untested
 * mips - erosq seems stable so far
 * Android NDK - unchanged at GCC 4.9.4

Change-Id: I614f1b198643bfa8c45f68e4d8e15307a4998618
2025-01-08 09:31:51 -05:00
Solomon Peachy
8b01f939d8 hitiet ma8/ma9: add in keymaps for all plugins
Largely guesswork.

Change-Id: I8ab8d36de4bbdcf25dcf7d3442266bfb0a370b6f
2025-01-07 14:22:53 -05:00
Nick Feldmann
f1b53d129f android: make installToolchains.sh work again
Google changed their site and the layout of downloaded SDK zips.
Also add a warning to configure if a r2x series NDK version is used, because those aren't supported - they no longer contain GCC, only clang.

Change-Id: I48a42c38c9b657ac6662162a39763aac73ec502a
2025-01-01 09:59:34 -05:00
Christian Soffke
a032611e3e configure: remove clang warning for darwin host
not a reason to warn (anymore)

Change-Id: Ia4e42ebb03d1aa5e4a22906acb164fb795470773
2024-12-20 10:46:22 +01:00
Christian Soffke
727c800c0d Don't force gcc as host compiler + fix clang warnings
On MacOS, gcc is a symlink for clang.

Patch gets rid of the warnings produced by clang,
when it is set as HOSTCC, and fixes voicetools
compilation on MacOS when calling make voicetools
from the simulator directory.

lua rb_defines_helper:
format specifies type 'int' but the argument has
type 'long'

codecs: opus / speex (LOGF):
format '%ld' expects argument of type 'long int',
but argument 7 has type 'off_t'

gigabeat:
variable 'size' set but not used

rdf2binary:
a function declaration without a prototype is
deprecated in all versions of C

rbspeexdec:
passing 'unsigned char *' to parameter of type
'char *' converts between pointers to integer
types where one is of the unique plain 'char'
type and the other is not

hmac-sha1.c
defining a type within 'offsetof' is a Clang
extension

Change-Id: I90539906698868f9589650585d865aee9f7e8539
2024-12-20 05:29:18 +01:00
Christian Soffke
a86b1999d0 simulator: fix missing Werror option + eliminate lib duplicate
configure:
Ensure Werror option doesn't get lost when simcc resets GCCOPTS

uisimulator.make:
Remove ignored duplicate SIMLIB on Darwin

codecs.make:
Eliminate some redundancy

Change-Id: Ieee6f677fd22666cb58aa6fe53eabdc0b0f8c190
2024-12-19 15:04:46 -05:00
Christian Soffke
aeb4b6c34a mkboot500: fix compilation on MacOS
code changes limited to L-31-37,
rest is trailing whitespace cleanup

Change-Id: Iaec8f1daec5112715085f1a59b0347044fcbbc09
2024-12-17 13:33:35 +01:00
Vencislav Atanasov
1468649258 Convert non-ASCII characters to UTF-8 or C-string literals
Comments are converted to UTF-8.

Strings which are part of executable code are converted using C-string hex literals. A comment with the intended UTF-8 character is appended to such lines.

The "c"-looking character in mpa.c was actually a small cyrillic "s" (i.e. "с").

Change-Id: If3a889080ef60b8bf756ad9ada38baede93ce35b
2024-12-15 21:16:12 -05:00
Solomon Peachy
d6e57e6e8e Update simulator build release script
Change-Id: I4ff2f21da93534d8434304c4a61db3eb6ad62e0c
2024-12-10 23:11:48 -05:00
Solomon Peachy
29e909c25d SDL: Log the version detected
* At build time (in configure script)
 * At runtime (but only for simulator builds)

Change-Id: I01c6f0f39d4c68e3a5a037212b65baf693bb84a9
2024-12-10 09:01:32 -05:00
Solomon Peachy
0c8b71b00d checkwps: Update the cleanall script and documentation
Change-Id: I170875f2b199ec5395a8b66976a8bc17d9eb85f8
2024-12-07 18:09:17 -05:00
Solomon Peachy
93baf94dc3 configure: Disallow 'sdlapp' to be build as a simulator target.
Change-Id: I52cf549aa8a24080832413ca5afb197047b42bd7
2024-12-07 16:57:50 -05:00
Christian Soffke
c754bc5870 configure: minor ux improvements when compiling macos sim
- Show a warning when Apple's clang is detected,
  because compilation would fail with it. Then
  check for a (e.g.) Homebrew-installed version
  of GCC (14) and use it instead.

- Don't display multiple meaningless numbers when
  (incorrectly) parsing Apple's current LD version
  info. Set to 0 on Darwin, unless cross-compiling,
  since it only matters in the latter case.

Change-Id: I52236e1d1c349e30850c7786736d820c25b6d2d8
2024-12-07 17:16:31 +01:00
neofright
f895167345 Update Dockerfile for Debian 12
Change-Id: Iefbcb6f0c6869826b9ceec479eeb2c86b5d0bdcf
2024-12-06 07:55:21 -05:00
Solomon Peachy
61d70de7f4 tools: Fix up a bunch of compilation warnings
Plenty more to go.

Change-Id: I3f6e6686d3e581bb97493d40dcb7df74650ba96c
2024-12-03 20:37:55 -05:00
Christian Soffke
1745b74576 Make simulator compile on MacOS
Tested on MacOS Sequoia (Apple Silicon) with the
latest Xcode command line tools, gcc 14
(Homebrew GCC 14.2.0_1) and sdl2 (Homebrew 2.30.9)

Make sure 'gcc' (and 'gcc-ar') is in your PATH
ahead of the Xcode-provided "gcc"(clang). E.g.
by setting up symlinks in /usr/local/bin that
point to gcc-14 and gcc-ar-14.

Notes:
- The appropriate bmp from uisimulator/bitmaps
  has to be manually copied to your build folder
  and renamed to UI256.bmp, if you want the sim
  background to be displayed

Change-Id: I559f33d2165065f913f30c016b85906af380fb81
2024-11-30 22:19:02 -05:00
Solomon Peachy
f9ae6d6524 toolchain: Make it easier to build toolchains on modern MacOS
When building on MacOS:

 * greadlink instead of readlink
 * gsed instead of sed
 * $TMPDIR instead of a hardcoded /tmp
 * apply a macos-specific patch
 * additional option to GCC

Additionally, don't rely on the system 'isl' stuff; always have binutils
build its own.

The forum post also says that bumping mpfr 3.1.x to 4.1.x, and mpc
from 1.0.x to 1.2.x is needed, but I do not want to do that due to the
possibility of unknown codegen changes.

Change-Id: I18084d392fa927318cc2a1183da7eb2ffa0d5884
2024-11-30 22:06:35 -05:00
Solomon Peachy
fdc17096b5 build: add 'lto' to features.txt if built with it
This makes it easy to tell at a glance if a build was with LTO or not.

Change-Id: I7ba9b412f7b74d300a0c55e36ea4cf522d46e6f2
2024-11-30 13:49:42 -05:00