Commit graph

1733 commits

Author SHA1 Message Date
Alex Parker
354d8fbc63 Commit FS#12188 - Fix perl scripts that used Switch by Sean Bartell.
Perl 5.14 removed Switch which means that Rockbox will no longer build
with the current release of Perl. The patch replaces Switch
with given/when which was introduced in Perl 5.10.0.

Debian stable has 5.10.1, cygwin 1.7 has 5.10.1 and Mac OSX 10.6 comes
with 5.10.0. I'm not sure what version older versions of OSX come with,
but newer versions are apparently available from Macports.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30169 a1c6a512-1295-4272-9138-f99709370657
2011-07-19 19:16:54 +00:00
Thomas Martitz
9e8d7dc07c Fix FS#12179 - Simulator build fails when using "configure --sdl-threads"
Change the logic in configure to record the entire command line from the
beginning and filter out options that are set again by configure.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30134 a1c6a512-1295-4272-9138-f99709370657
2011-07-09 08:23:36 +00:00
Jonas Häggqvist
ed0f1aec5d Add --lcdwidth and --lcdheight to help output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30102 a1c6a512-1295-4272-9138-f99709370657
2011-06-29 23:10:41 +00:00
Alex Parker
787537caa3 We have a 3.9 release, update builds.pm
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30086 a1c6a512-1295-4272-9138-f99709370657
2011-06-27 22:01:42 +00:00
Björn Stenberg
7ba8871d5b Fixed broken regex
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30057 a1c6a512-1295-4272-9138-f99709370657
2011-06-23 15:09:04 +00:00
Jens Arnold
a7bedc5e4f Make genlang rewrite english.list if it exists but is older than english.lang
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30056 a1c6a512-1295-4272-9138-f99709370657
2011-06-23 06:42:08 +00:00
Andree Buschmann
dc0abc7744 Fix build problems for win32 cross compilation and cygwin which were introduced with r29983.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30052 a1c6a512-1295-4272-9138-f99709370657
2011-06-22 17:46:26 +00:00
Björn Stenberg
35cd408196 Added NODEPS define to skip recompilation for zip and apk builds. Usage: make zip NODEPS=1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30050 a1c6a512-1295-4272-9138-f99709370657
2011-06-22 14:14:49 +00:00
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