Commit graph

1754 commits

Author SHA1 Message Date
Björn Stenberg
5adf7d315d sunet mirror was bad. let's try funet.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30612 a1c6a512-1295-4272-9138-f99709370657
2011-09-27 19:19:28 +00:00
Dominik Riebeling
c7c657ca92 Prevent unnecessary rebuilding of libs.
- When building for Rockbox Utility the called Makefiles would rebuild the libs
  every time. Change dependencies a bit to allow make to properly detect if the
  lib is already up to date.
- Remove dependency on output folder in some cases to avoid unnecessary
  rebuilds.
- Add standard Rockbox header to files lacking it.
- Make make calls from qmake silent.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30608 a1c6a512-1295-4272-9138-f99709370657
2011-09-26 20:51:23 +00:00
Björn Stenberg
291c6be8e4 Use another GNU mirror while kernel.org is down.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30605 a1c6a512-1295-4272-9138-f99709370657
2011-09-26 06:48:53 +00:00
Jonathan Gordon
b71c66ec56 Fix the build errors
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30590 a1c6a512-1295-4272-9138-f99709370657
2011-09-24 13:29:21 +00:00
Bertrik Sikken
f323300b82 Sansa clipzip: make main build compile (plugins still disabled)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30588 a1c6a512-1295-4272-9138-f99709370657
2011-09-24 11:21:01 +00:00
Torne Wuff
8a0db7bf34 Fix FS#12272 - genlang changes broke some targets
New genlang code forgot to allow for the wildcard being the full target name
with a * appended.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30514 a1c6a512-1295-4272-9138-f99709370657
2011-09-12 15:19:57 +00:00
Dominik Riebeling
e6317d51e9 Improve sim win32 cross compiling.
- Extend configure to allow setting the cross compiler prefix using the
  environment variable CROSS. This allows using a compiler that is prefixed
  differently than the prefix configure does assume.
- When searching for sdl-config also check for a prefixed version. Some
  toolchains prefix sdl-config (like mingw-cross-env).

This enables cross compiling the sim with at least the MinGW packages provided
by Fedora (different prefix) and mingw-cross-env (different prefix and prefixes
sdl-config. There's a non-prefixed version as well, but that folder also
includes the non-prefixed compiler, so using the prefixed version is
preferable.)

starting

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30484 a1c6a512-1295-4272-9138-f99709370657
2011-09-08 17:48:18 +00:00
Thomas Martitz
82acdd3e1c Make genlang faster by doing better regexes.
With this change generating all languages takes only two-thirds the
time. It changes the acceptable syntax for target wildcards in language
files, however: instead of a comma-separated list of glob-style
wildcards it requires that it be a comma-separated list of prefix
matches, i.e. the * can only appear at the end of each wildcard, and ?
cannot be used. This does not require any changes to existing language
files as they are all already in this form.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30481 a1c6a512-1295-4272-9138-f99709370657
2011-09-08 14:37:50 +00:00
Frank Gevaerts
7887e596a9 Update stable build to 3.9.1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30423 a1c6a512-1295-4272-9138-f99709370657
2011-09-03 19:42:08 +00:00
Frank Gevaerts
2b9e944021 Rework c200wipe to use proper partitioning and formatting code, which makes the code size-independent.
Also support the e200 with this code. Apparently it's also possible to get the e200 in a state where .fmt files don't help.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30413 a1c6a512-1295-4272-9138-f99709370657
2011-09-02 21:34:28 +00:00
Dominik Riebeling
e9eb5b31ad Quote command arguments to avoid the shell trying to expand them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30412 a1c6a512-1295-4272-9138-f99709370657
2011-09-02 21:28:25 +00:00
Bertrik Sikken
463b3ed8b2 Initial framework for the Sandisk Sansa Clip Zip
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30365 a1c6a512-1295-4272-9138-f99709370657
2011-08-27 16:21:19 +00:00
Thomas Jarosch
121b26e62f perl magic: Use if/elsif/else instead of given/when (FS #12188)
Unbreaks the maemo build.

Patch by Nick Peskett with a small comment added
as suggested by Dominik Riebeling.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30323 a1c6a512-1295-4272-9138-f99709370657
2011-08-16 19:26:24 +00:00
Thomas Martitz
c6ca81329a Android: Fix a few java warnings. Upgrade ndk platform to 2.0 (don't support 1.6 anymore).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30293 a1c6a512-1295-4272-9138-f99709370657
2011-08-14 08:55:16 +00:00
Rafaël Carré
3fda72aa86 configure: don't use sed for autoconf.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30291 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 20:39:58 +00:00
Rafaël Carré
bd89a4123f typo
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30290 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 20:32:34 +00:00
Rafaël Carré
f56bb4e505 configure: avoid double escaping of $ (single quote + backslash)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30289 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 20:29:15 +00:00
Rafaël Carré
e1d33c07c6 configure: remove redundant ENC_CMD
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30288 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 20:07:01 +00:00
Rafaël Carré
cea0654d18 configure: don't use sed to generate the Makefile
remove a few obsolete options

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30286 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 20:03:23 +00:00
Rafaël Carré
adb1b52404 remove obsolete comment
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30285 a1c6a512-1295-4272-9138-f99709370657
2011-08-13 20:03:11 +00:00
Amaury Pouly
3f8bf5e041 imx233/fuze+: fix memory size and appextra configuration
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30198 a1c6a512-1295-4272-9138-f99709370657
2011-07-23 11:45:03 +00:00
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