Commit graph

931 commits

Author SHA1 Message Date
Dominik Riebeling
c3a908f04b Always format error message using ANSI functions to get rid of type-punning when building with rbutil.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23913 a1c6a512-1295-4272-9138-f99709370657
2009-12-09 19:04:02 +00:00
Dave Chapman
5742f89394 Fix ipodpatcher to work with new target names introduced in r23883
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23906 a1c6a512-1295-4272-9138-f99709370657
2009-12-09 13:13:58 +00:00
Björn Stenberg
c0740440ac Rename targets to be consistent in all places. (FS #10819). Take 2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23883 a1c6a512-1295-4272-9138-f99709370657
2009-12-07 12:19:08 +00:00
Dominik Riebeling
e8bab4e3a0 Improve detection of system libspeex and fallback earlier.
libspeex is split into libspeex and libspeexdsp. We need both, so check
for them the same time instead of trying to respect the fact that old
versions didn't have the libspeexdsp part. Should fix issues with
distributions that have libspeex and libspeexdsp split into separate
packages and only the libspeex one is installed.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23872 a1c6a512-1295-4272-9138-f99709370657
2009-12-06 10:19:43 +00:00
Dominik Riebeling
d587794dfc Remove special lib Makefile targets that aren't used anymore.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23871 a1c6a512-1295-4272-9138-f99709370657
2009-12-06 10:19:39 +00:00
Dominik Riebeling
03246172b8 Fix "Warning: Signals cannot be declared virtual" for progresslogger when building with Qt 4.6.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23848 a1c6a512-1295-4272-9138-f99709370657
2009-12-04 21:33:25 +00:00
Dominik Riebeling
f6a92b8e71 Name some unnamed GridLayouts. Fixes uic warnings about names being used multiple times.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23837 a1c6a512-1295-4272-9138-f99709370657
2009-12-03 21:30:45 +00:00
Dominik Riebeling
5f7a846b97 Add support for OS X.
- make the deploy script work on OS X.
- use macdeployqt for copying Frameworks macdeployqt is part of Qt, at least since 4.5.
- add a workaround for Qt not copying icons and plist file correctly when building out of tree.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23789 a1c6a512-1295-4272-9138-f99709370657
2009-11-29 21:09:21 +00:00
Dominik Riebeling
93eefbabe3 Suppress unused warnings for functions that haven't been implemented.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23785 a1c6a512-1295-4272-9138-f99709370657
2009-11-29 19:20:38 +00:00
Dominik Riebeling
f0d0ba86ff Fix building universal binaries.
When building various libraries for Rockbox Utility make sure they use the same compiler as Qt. Pass Qt's CC instead of explicitly setting it. This fixes issues linking on OS X (with recent XCode building universal binaries requires the use of gcc-4-0 while the default one is 4.2).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23779 a1c6a512-1295-4272-9138-f99709370657
2009-11-28 22:39:05 +00:00
Dominik Riebeling
cca6f747f8 Handle TARGET_DIR in universal library building.
Building universal libraries needs to take TARGET_DIR into account as when set the individual libraries are placed into the build output folder and didn't got found anymore.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23778 a1c6a512-1295-4272-9138-f99709370657
2009-11-28 22:39:00 +00:00
Dominik Riebeling
38dde55c27 FS#10100: Wait for the system to remount the player after bootloader installation.
OS X requires to unmount the player during bootloader installation on Sansas / Ipods. The system remounts the player automatically after a short while.
Not waiting for the system to remount the player will result in a changed mount point, making the small / full install write the main build to the wrong
 location.
This currently waits up to 60 seconds for the player to get remounted until it errors out. This value seems to be sufficient, if it's not please report
so we can adjust it. Also, the waiting can't be interrupted right now.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23716 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 22:13:25 +00:00
Dominik Riebeling
46e56582b0 Fix Sansa bootloader installation on OS X.
- adjust the regex to figure the correct drive from the partition name.
- move the check for an old bootloader into the first installation step -- it's a fatal problem so it should appear as soon as possible.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23715 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 21:03:07 +00:00
Dominik Riebeling
bbfe57377c FS#9833: Fix Ipods being wrongly detected as MacPods on OS X
- when scanning for Ipods save the complete ipod_t structure on match. Only saving the disk name can result in the structure holding a disk name not matching the rest of the structure. This lead to wrong detection of macpod on OS X, as Mac drives might get detected later.
- reopen the Ipod in RW mode on scanning on W32 only. On OS X reopening also unmounts the player, which in turn makes resolving the mount point fail.



git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23707 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 16:35:35 +00:00
Dominik Riebeling
48df607faa Fix stupid combination of CnP error and typo.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23703 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 14:41:00 +00:00
Dominik Riebeling
49ed16cd29 Fix two strings and warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23702 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 14:37:31 +00:00
Dominik Riebeling
de37ce51ed OS X uses msdos as filesystem for vfat which is the same OpenBSD does. Fixes mountpoint resolving.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23701 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 14:29:22 +00:00
Rafaël Carré
6b06648239 rbutilqt: always rename the OF to the name specified in rbtutil.ini
The OF could have been stored by the user with a different name

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23700 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 14:28:48 +00:00
Rafaël Carré
e30d13e344 rbutilqt: activate Unstable Clip support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23699 a1c6a512-1295-4272-9138-f99709370657
2009-11-22 14:23:25 +00:00
Dominik Riebeling
9dd6396aa2 Use f_frsize when calculating the free disk space from the block count. Fixes wrong value on implementations with f_bsize != f_frsize.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23685 a1c6a512-1295-4272-9138-f99709370657
2009-11-21 18:54:34 +00:00
Dominik Riebeling
1717217cb8 Add docs/COPYING to rbutil source folder and make checkout slightly more robust.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23679 a1c6a512-1295-4272-9138-f99709370657
2009-11-20 21:04:23 +00:00
Rafaël Carré
a721007e39 mkamsboot: fix linking (typo from r23520)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23571 a1c6a512-1295-4272-9138-f99709370657
2009-11-08 21:00:55 +00:00
Dominik Riebeling
3e489c14c1 Rename print_error() in ipodpatcher and sansapatcher.
Both patchers use the same function name with one being removed when
building for rbutil. This gets in the way trying to move the patchers to
libraries, and it also results a linking dependency of sansapatcher on
ipodpatcher. Renaming the function makes both more self-contained and
avoids potential issues if the functions happen to not do the same.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23568 a1c6a512-1295-4272-9138-f99709370657
2009-11-08 13:38:10 +00:00
Dominik Riebeling
8e47406b76 Fix a compile warning.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23558 a1c6a512-1295-4272-9138-f99709370657
2009-11-07 20:03:36 +00:00
Dominik Riebeling
992b57324e Allow the bin2c output filename stem to contain a path.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23557 a1c6a512-1295-4272-9138-f99709370657
2009-11-07 20:03:32 +00:00
Dominik Riebeling
513a76e14e Update portugues-brasileiro lang file (FS#10765 by Adilson Xavier).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23556 a1c6a512-1295-4272-9138-f99709370657
2009-11-07 19:48:40 +00:00
Dominik Riebeling
7e0fe361d7 Set svn:keywords property.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23545 a1c6a512-1295-4272-9138-f99709370657
2009-11-06 23:20:51 +00:00
Dominik Riebeling
3bae42e9f9 Use mingw32-make when deploy-building on Windows / MinGW as make might not be the MinGW version one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23525 a1c6a512-1295-4272-9138-f99709370657
2009-11-04 22:24:47 +00:00
Dominik Riebeling
3762b36b1a mktccboot doesn't use any version string passed by the Makefile, remove unneeded call to version.sh.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23524 a1c6a512-1295-4272-9138-f99709370657
2009-11-04 22:23:05 +00:00
Dominik Riebeling
d47366bb78 Remove unused variable.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23523 a1c6a512-1295-4272-9138-f99709370657
2009-11-04 21:57:28 +00:00
Dominik Riebeling
20f3e646d8 Clean up mktccboot building. No functional changes.
- Adjust the Makefile similar to the changes done in r23520.
- Split out the standalone part into a separate source file.
- Put telechips.o inside the archive instead of building it separately for rbutil. It is part of mktccboot.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23522 a1c6a512-1295-4272-9138-f99709370657
2009-11-04 21:56:40 +00:00
Dominik Riebeling
ea6178065c Clean up mkamsboot building. No functional changes.
- split out standalone functions to a separate file.
- adjust and clean up Makefile.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23520 a1c6a512-1295-4272-9138-f99709370657
2009-11-04 20:58:40 +00:00
Dominik Riebeling
606a333a5f Fix building of Rockbox Utility by restoring object list for libmkamsboot.a
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23505 a1c6a512-1295-4272-9138-f99709370657
2009-11-03 22:05:35 +00:00
Tomer Shalev
bcadf96066 FS#10740 - rbutil: Test Cowon D2 OF file for CRC consistency before patching
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23470 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 18:26:00 +00:00
Tomer Shalev
0fa6eea2fb rbutil: Fix Cowon D2 bootloaderfile had no slash prefix.
Also remove filename itseld as it is not being considered. The output patched
firmware filename is taken from the original firmware file.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23468 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 17:49:19 +00:00
Tomer Shalev
04f84cf1e8 FS#10747 - Disable actions if rbutil is not configured properly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23466 a1c6a512-1295-4272-9138-f99709370657
2009-11-01 17:16:02 +00:00
Dominik Riebeling
23aecc4539 Don't set the layout direction twice in a row, one time is enough.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23448 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 20:02:33 +00:00
Tomer Shalev
15ea6e663f FS#10741 - rbutil: Fix mkamsboot Makefile dependancies
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23443 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 17:18:17 +00:00
Tomer Shalev
3b3377b0f4 rbutil: Update Hebrew translation
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23442 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 17:17:38 +00:00
Tomer Shalev
d011eecad4 FS#10748 - rbutil: Explicitly override GUI layout direction setting for some widgets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23441 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 17:16:34 +00:00
Tomer Shalev
e3e8898fef Remove tooltip from 'Install Rockbox' button, since no other button has one
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23433 a1c6a512-1295-4272-9138-f99709370657
2009-10-31 09:03:21 +00:00
Tomer Shalev
62e583fa9c Fix cowon D2 bootloader file path
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23430 a1c6a512-1295-4272-9138-f99709370657
2009-10-30 22:51:31 +00:00
Dominik Riebeling
1121206ea7 Catch import errors for modules that are not part of python.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23427 a1c6a512-1295-4272-9138-f99709370657
2009-10-30 21:40:07 +00:00
Dominik Riebeling
2468748800 Building Rockbox Utility now also needs telechips.[ch].
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23425 a1c6a512-1295-4272-9138-f99709370657
2009-10-30 21:13:09 +00:00
Dominik Riebeling
8ed7a590ad Fix mktccboot to make Rockbox Utility compile again.
- when building out-of-tree don't build objects in the tools folder.
- take out-of-tree building into account when looking for objects.
- don't lie to the user -- linking is not compiling.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23423 a1c6a512-1295-4272-9138-f99709370657
2009-10-30 21:04:07 +00:00
Tomer Shalev
08c5a66f8a mktccboot: Remove excessive use of defines in Makefile
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23420 a1c6a512-1295-4272-9138-f99709370657
2009-10-30 14:27:16 +00:00
Tomer Shalev
d0bc525df1 rbutil: Update bootloader name for cowon d2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23413 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 22:21:30 +00:00
Tomer Shalev
ad78551811 FS#10728 - Cowon D2: Add support for D2 in rbutil
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23410 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 21:31:50 +00:00
Dominik Riebeling
aca1d8b50b Improve a few debug logger messages.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23407 a1c6a512-1295-4272-9138-f99709370657
2009-10-29 19:43:48 +00:00
Dave Chapman
48430bfabd Move mktccboot from tools/ to rbutil/mktccboot/ - inspired by FS#10728 but with no functional changes to code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23382 a1c6a512-1295-4272-9138-f99709370657
2009-10-28 21:11:43 +00:00