Commit graph

1725 commits

Author SHA1 Message Date
Jens Arnold
91ce4b2a60 Optional dual-boot support in iAudio X5 and M5 bootloader, based on FS#5289.
In order to enable it, #define HAVE_DUALBOOT when building the bootloader.
Do not use the automatically created x5_fw.bin or m5_fw.bin, but use mkboot
to create a new firmware file from an OF x5_fw.bin resp. m5_fw.bin and
bootloader.bin.

The dual-boot bootloader boots the OF when pressing Play (main or remote) for
more than 3 seconds. Hold it a bit longer because the OF also checks buttons.
Short press boots rockbox.

As a bonus, the Play button read (for hold check) is done a bit earlier for
single-boot mode as well.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30018 a1c6a512-1295-4272-9138-f99709370657
2011-06-19 17:23:18 +00:00
Dominik Riebeling
1d1fa41b20 Remove Manual option from configure script.
Building the manual requires to use the manual make target, and it can be
invoked from a normal build configuration. Having a separate configure option
isn't necessary anymore.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29994 a1c6a512-1295-4272-9138-f99709370657
2011-06-12 11:40:20 +00:00
Thomas Jarosch
986a92fe66 Pandora port: Automate rockbox.pnd (=binary archive) build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29991 a1c6a512-1295-4272-9138-f99709370657
2011-06-09 20:58:03 +00:00
Thomas Jarosch
6c571361ff Pandora port: Fix rockbox share directory path (it has to end on /rockbox)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29990 a1c6a512-1295-4272-9138-f99709370657
2011-06-09 20:28:44 +00:00
Nils Wallménius
331b23d15b FS#12144, Use -fPIC -fvisibility=hidden only for plugins on sim and app builds and enable it for 32 bit too. Fixes linking errors on simbuilds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29983 a1c6a512-1295-4272-9138-f99709370657
2011-06-07 11:56:23 +00:00
Björn Stenberg
c3cf8bcd4e Add build dependency to zip
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29977 a1c6a512-1295-4272-9138-f99709370657
2011-06-06 22:00:44 +00:00
Dominik Riebeling
26a92fa9e1 Android: adjust screen orientation based on LCD size.
If the screen size specified is wider than higher specify the orientation as
landscape in AndroidManifest.xml. This usually applies to tablets where Rockbox
in portrait mode feels unnatural.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29951 a1c6a512-1295-4272-9138-f99709370657
2011-06-04 10:36:34 +00:00
Dominik Riebeling
70b81e65cc Android: install codecs as native libs instead of extracting them (FS#12134).
Codec files are loaded as dynamic libraries. Instead of extracting them from
the packaged libmisc.so and therefore having them present twice on the device
put them into the apk as native libraries. Decreases the size of the installed
Rockbox by the compressed size of the codecs. Also, the extraction on first
Rockbox startup gets notably faster since it's less data to extract.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29940 a1c6a512-1295-4272-9138-f99709370657
2011-05-31 21:26:18 +00:00
Marcin Bukat
976a1699da Rockchip rk27xx port initial commit. This is still work in progress.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29935 a1c6a512-1295-4272-9138-f99709370657
2011-05-30 21:10:37 +00:00
Dominik Riebeling
fc68a0d3b0 Android: rework r29929 AndroidManifest.xml version handling.
Put the generated AndroidManifest.xml into the bin subfolder and remove it from
clean list. Avoids problems with cleaning if you're building in the android/
folder. Thanks to kugel for pointing out that people are actually doing that.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29931 a1c6a512-1295-4272-9138-f99709370657
2011-05-29 18:44:42 +00:00
Dominik Riebeling
bc3f9c1b71 Add source tree version into AndroidManifest.xml
Use the source tree version as versionName string. As result the Android
Settings menu will now show that version instead of a rather unhelpful "1.0".

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29929 a1c6a512-1295-4272-9138-f99709370657
2011-05-29 17:23:52 +00:00
Nils Wallménius
ee7cbf6d4a FS#12121 by Sean Bartell, disables -Werror on binutils builds to fix them when using gcc 4.6.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29928 a1c6a512-1295-4272-9138-f99709370657
2011-05-27 15:13:29 +00:00
Rafaël Carré
9b6910c348 thumb-cc.py: simplify
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29897 a1c6a512-1295-4272-9138-f99709370657
2011-05-18 20:04:20 +00:00
Dominik Riebeling
75e3fb7edb SAPI voice creating: add slovak to languages.
Extend sapi_voice.vbs with slovak (FS#10904). Additionally add it to the list
of supported languages in Rockbox Utility and fix the country code used for
slovenscina (by myself).

Author: Peter Lecky
Flyspray: FS#10904

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29830 a1c6a512-1295-4272-9138-f99709370657
2011-05-07 15:55:42 +00:00
Michael Hohmuth
7bac05c749 Better version reporting for git-tracked repositories: Include the git
commit ID in the version string, much like is done for repos tracked
with bzr.  FS#11297

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29827 a1c6a512-1295-4272-9138-f99709370657
2011-05-06 08:36:10 +00:00
Amaury Pouly
08fb3f6574 Sansa Fuze+: initial commit (bootloader only, LCD basically working)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29808 a1c6a512-1295-4272-9138-f99709370657
2011-05-01 13:02:46 +00:00
Dominik Riebeling
b66239b436 Fix Win32 native convttf creating invalid output files.
When operating with binary files on Windows it is necessary to explicitly open
them in binary mode to prevent unwanted effects.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29699 a1c6a512-1295-4272-9138-f99709370657
2011-04-10 11:25:59 +00:00
Dominik Riebeling
7adc200564 Make convttf build with C89 compilers.
- Move variable declarations to the top of blocks to be compatible with C89
  compilers (like MSVS).
- Remove unnecessary Windows includes.
- Paths on Windows usually use backslash as path delimiter so accept that as
  well.
- Rename some variables to avoid shadowing functions (like index()).

No functional changes.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29698 a1c6a512-1295-4272-9138-f99709370657
2011-04-09 20:35:17 +00:00
Nils Wallménius
37990206dd Fix FS#12003 'langtool.pl --deprecate is broken'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29688 a1c6a512-1295-4272-9138-f99709370657
2011-04-07 07:50:29 +00:00
Alex Parker
0e8e166f25 Bump to 3.8.1 release.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29686 a1c6a512-1295-4272-9138-f99709370657
2011-04-06 21:43:50 +00:00
Magnus Holmgren
671127c65d Commit FS#12000: confttv - try to make digits equally wide (-w to disable)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29633 a1c6a512-1295-4272-9138-f99709370657
2011-03-22 19:37:28 +00:00
Thomas Jarosch
0f440d108d Pandora port: Fix SDL detection, pkg-config is not supported
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29579 a1c6a512-1295-4272-9138-f99709370657
2011-03-13 12:46:59 +00:00
Maurus Cuelenaere
7228f2fa9f Android: use APPEXTRA instead of makefile hack
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29567 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 16:08:36 +00:00
Maurus Cuelenaere
0b92c0fa26 Android: remove rockbox.apk when doing 'make clean'
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29564 a1c6a512-1295-4272-9138-f99709370657
2011-03-11 15:45:49 +00:00
Frank Gevaerts
36d98fa7d0 *really* don't automatically build convttf
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29554 a1c6a512-1295-4272-9138-f99709370657
2011-03-09 21:50:43 +00:00
Dave Chapman
5b6a849986 Don't automatically build convttf - it isn't (currently) required to build Rockbox.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29550 a1c6a512-1295-4272-9138-f99709370657
2011-03-09 11:25:08 +00:00
Dave Chapman
bd05c07584 Remove an erroneous tab
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29547 a1c6a512-1295-4272-9138-f99709370657
2011-03-08 22:54:38 +00:00
Thomas Martitz
29e84dff51 Remove a few whitespaces to get under the magical string length of 509 (i.e. fix yellow)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29524 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 18:56:47 +00:00
Thomas Martitz
9edd6d4ee9 Anti-Aliased Fonts support.
This enables Rockbox to render anti-aliased fonts using an alpha blending method.
The input font bitmaps are 4bit, i.e. 4x larger, but the metadata size stays the same.

A tool, convttf, for converting ttf fonts directly to the Rockbox fnt format is provided.
It has a useful help output, but the parameter that works best is -c1 or -c2 (2 for larger font sizes).

Flyspray: FS#8961
Author: Initial work by Jonas Hurrelmann, further work by Fred Bauer, Andrew Mahone, Teruaki Kawashima and myself.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29523 a1c6a512-1295-4272-9138-f99709370657
2011-03-05 18:36:51 +00:00
Dominik Riebeling
7ad78222c4 FS#11913: Separate TTS correction expressions into separate file.
voice.pl will now read the TTS correction expressions from a file
tools/voice-corrections.txt which includes regular expressions for
adjusting the string. This makes it easier to adjust the corrections and
allows integrating them into tools like Rockbox Utility.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29500 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 18:29:38 +00:00
Björn Stenberg
1f77d091a5 Only create english.list for binary output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29499 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 12:47:48 +00:00
Björn Stenberg
d0fdeca19e Added english id caching to speed up builds.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29498 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 12:30:49 +00:00
Marcin Bukat
d233066155 Revert r29494 as It is a) buggy b) doesn't seem to do any good in terms of speed.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29495 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 09:42:51 +00:00
Marcin Bukat
c9b0044274 genlang: Remove unused subs. Use precompiled regex in parsetarget(). Minor tweek by substituting s/\r//g with tr/\r//d.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29494 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 09:22:42 +00:00
Björn Stenberg
6170ded83d Almost 30% faster.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29488 a1c6a512-1295-4272-9138-f99709370657
2011-03-02 00:20:56 +00:00
Thomas Jarosch
6e9e6a7571 RaaA: Add initial Pandora support
More information: www.openpandora.org

Possible things to implement:
- Special button mappings
- Battery monitoring
- ALSA audio backend
- Automate creation of "pnd" (=binary) file

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29451 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 23:42:37 +00:00
Björn Stenberg
b25f17200f Point out the 3.8 release.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29443 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 22:42:40 +00:00
Thomas Jarosch
cc895b5853 New way to detect build for arm target in the maemo port.
Log detected CPU target.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29433 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 19:58:38 +00:00
Dave Chapman
376c9f3ad0 FS#11966 - use separate modelnames and config files for RaaA. This adds an APPLICATION define that can be used in Makefiles, and target-name defines (-DSDLAPP, -DANDROID, -DNOKIAN8XX and -DNOKIAN900) for use elsewhere. LCD size is now hard-coded for the Nokia builds in their config files. A new --app parameter is passed to buildzip.pl to explicitly state that this is an application build - it was previously derived from the model name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29418 a1c6a512-1295-4272-9138-f99709370657
2011-02-27 11:37:39 +00:00
Dominik Riebeling
12ace922d5 libucl: don't error out when output folder exists.
Fixes building Rockbox Utility with multiple jobs since other libs could have
created the output folder already.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29414 a1c6a512-1295-4272-9138-f99709370657
2011-02-26 22:40:11 +00:00
Dave Chapman
efe556fb35 Cosmetic change only - remove tabs.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29411 a1c6a512-1295-4272-9138-f99709370657
2011-02-26 21:30:20 +00:00
Dave Chapman
eddf624779 Clarify the condition for stripping the leading / in rbdir. The calculation of $app in the current code implies that this is not done for any call to buildzip.pl for application builds, but it is in fact only not done for the *install targets - $(MODELNAME) is quoted for the other calls in root.make, and hence $app is false.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29410 a1c6a512-1295-4272-9138-f99709370657
2011-02-26 21:23:20 +00:00
Thomas Martitz
194acc68a8 Android: Also enable some plugins
Plugins still default to grid mode so using them will be awkward.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29408 a1c6a512-1295-4272-9138-f99709370657
2011-02-26 21:00:32 +00:00
Alex Parker
d0a0d02167 Forgot to add the help text for make elfzip.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29406 a1c6a512-1295-4272-9138-f99709370657
2011-02-26 20:50:12 +00:00
Thomas Jarosch
e3a3e2c9c2 RaaA: Enable plugins for application builds
Use own plugins/SOURCES and plugins/SUBDIRS file to avoid
ifdef hell for disabled plugins without a keymap.

This finally brings the credits screen to RaaA.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29392 a1c6a512-1295-4272-9138-f99709370657
2011-02-24 23:35:16 +00:00
Thomas Jarosch
ec6e64ce90 Improve SDL port 'configure --prefix' error message
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29380 a1c6a512-1295-4272-9138-f99709370657
2011-02-22 20:15:26 +00:00
Alex Parker
cdce4ddf0d Also build and keep elfs zip file for the release.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29362 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 20:07:41 +00:00
Alex Parker
745406a9f0 Add "elfzip" target to make which creates a zip of all elf files, as mapzip does for map files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29360 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 19:56:53 +00:00
Alex Parker
bf7276d1d0 * Keep the map files instead of building then throwing them away in the release script.
* Pass the release version to make in the release script instead of having to remember to hack up version.sh in the release branch.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29358 a1c6a512-1295-4272-9138-f99709370657
2011-02-20 19:27:09 +00:00
Thomas Martitz
66643cff0c Explicitely add -lpthread to the linker command for the new sigaltstack threads.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29338 a1c6a512-1295-4272-9138-f99709370657
2011-02-19 02:19:04 +00:00