Commit graph

109 commits

Author SHA1 Message Date
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
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
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
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
e4af86a834 rbutil: build our libraries in the build folder like everything else. Centralize the build rules for them within the project file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23216 a1c6a512-1295-4272-9138-f99709370657
2009-10-16 20:44:06 +00:00
Dominik Riebeling
2e9155c3c5 Add the left brace again that was unintentionally lost.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23165 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 20:55:56 +00:00
Dominik Riebeling
bc748951b9 Fix building Rockbox Utility when using newer versions of libspeex.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23164 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 20:53:25 +00:00
Dominik Wenger
3215c09462 rbutil: split tts.cpp/h into individual files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23158 a1c6a512-1295-4272-9138-f99709370657
2009-10-13 19:54:27 +00:00
Dominik Riebeling
b5240fd93b Czech translation for Rockbox Utility (FS#10662 by Pavel Rzehák).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23017 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 21:40:12 +00:00
Dominik Riebeling
21a712cba1 If available, use the systems libspeex when linking rbspeex(enc|dec) and rbutil dynamically. This is similar to FS#9233 but utilizes pkg-config.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23016 a1c6a512-1295-4272-9138-f99709370657
2009-10-08 21:26:39 +00:00
Dominik Riebeling
f65170f1df Add config option to disable ccache during build.
When building releases in a temporary folder using ccache doesn't help, as the path of the source files is also used for identification. Disabling ccache makes it not cache objects that are likely to be never needed again (i.e. the next build will use a different file).

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22922 a1c6a512-1295-4272-9138-f99709370657
2009-10-04 16:41:24 +00:00
Dominik Wenger
976784b405 rbutil: correct dependencies by setting DEPENDPATH.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22803 a1c6a512-1295-4272-9138-f99709370657
2009-09-23 19:57:37 +00:00
Dominik Wenger
4d86861ce5 rbutil: modify buildsystem so you can build outside of the rbutilqt directoy. (similar to the normal buildsystem). Attention: Spaces in the path will cause errors.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22624 a1c6a512-1295-4272-9138-f99709370657
2009-09-04 21:31:17 +00:00
Maurus Cuelenaere
e8c71aa40c Rockbox Utility: add preliminary support for installing the bootloader (+ dual boot) on ChinaChip targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22356 a1c6a512-1295-4272-9138-f99709370657
2009-08-16 20:39:00 +00:00
Dominik Wenger
426bfa8d03 rbutil: add a errorlog function into rbutil and the possibility to save a log if a error happens. (thanks to bluebrother for the trace functionality)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22329 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 17:02:25 +00:00
Dominik Wenger
26a0dd086f rbutil: use universal mkamsboot.a and libucl.a on mac.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22326 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 15:26:05 +00:00
Dominik Wenger
a66dfa4ab7 rbutil: add ams sansa targets. (FS#10185)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22317 a1c6a512-1295-4272-9138-f99709370657
2009-08-15 13:04:21 +00:00
Dominik Riebeling
e2f5086916 Clean up and rename Detect class.
Move check() function out of the Detect class and place it into utils.cpp for now. Rename Detect class to System, as it now only retrieves data about the underlying system and doesn't detect anything anymore. Cleans up with the confusion between Detect and Autodetection.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22238 a1c6a512-1295-4272-9138-f99709370657
2009-08-10 19:46:51 +00:00
Dominik Riebeling
363cbc22b5 Support libusb-1.0.
Use "qmake -config libusb1" to use libusb-1.0 instead of libusb-0.1.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22205 a1c6a512-1295-4272-9138-f99709370657
2009-08-08 12:28:47 +00:00
Dominik Riebeling
8b77ce2d61 Fix rbutil build on w32.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22197 a1c6a512-1295-4272-9138-f99709370657
2009-08-07 22:19:59 +00:00
Dominik Riebeling
844b2147ee FS#10439: Português Brasileiro Translation for Rockbox Utility by Adilson Xavier.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21902 a1c6a512-1295-4272-9138-f99709370657
2009-07-16 08:32:56 +00:00
Dominik Wenger
13d0b526c3 rbutil: move ProgressloggerInterface to base/
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21531 a1c6a512-1295-4272-9138-f99709370657
2009-06-27 15:21:42 +00:00
Dominik Wenger
20bf8aaf18 rbutil: improve voice and talk generation.
- introduce a talkgenerator to better share code between voice and talk generation.
- name intermediate .talkfiles after the md5sum of the text. (prevents naming problems).
- do not directly use the logger, instead emit signals.
- move talkfile and voicefile generation to base/

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21524 a1c6a512-1295-4272-9138-f99709370657
2009-06-26 20:40:51 +00:00
Dominik Riebeling
d5f7dab230 Cleanup and un-gui ZipInstaller class:
- Use signals for updating the progress logger from  ZipInstaller class.
- Move ZipInstaller class to base folder as it doesn't rely on QtGui anymore.
- cleanup debugging output a bit.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20845 a1c6a512-1295-4272-9138-f99709370657
2009-05-02 18:50:31 +00:00
Dominik Riebeling
19c2588471 Move Settings class to base.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20827 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 21:36:05 +00:00
Dominik Wenger
2265691102 rbutil: ups, forgot to update the .pro file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20826 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 21:32:53 +00:00
Dominik Wenger
5b85ef6006 rbutil: completely rework how tts and encoders are configured. (FS#10070)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20824 a1c6a512-1295-4272-9138-f99709370657
2009-04-29 21:27:01 +00:00
Dominik Riebeling
9104b808fd Rename installzip.{cpp,h} to better reflect the actual class name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20813 a1c6a512-1295-4272-9138-f99709370657
2009-04-27 19:37:34 +00:00
Dominik Riebeling
270106d151 Rename ThemeInstall class files to actually match the class name.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20594 a1c6a512-1295-4272-9138-f99709370657
2009-03-31 19:50:43 +00:00
Dominik Wenger
8f2aaaf79d rbutil: commit FS#9983 by Delyan Kratunov. It adds support for the Festival TTS on Linux.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20559 a1c6a512-1295-4272-9138-f99709370657
2009-03-27 19:18:14 +00:00
Dominik Riebeling
c9a4537d0e Portuguese translation for Rockbox Utility (FS#9702 by Rui Araújo).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19710 a1c6a512-1295-4272-9138-f99709370657
2009-01-07 17:36:43 +00:00
Dominik Riebeling
b208000c36 Make Detect::check() return an error string instead of a boolean result and move the handling of an occurred error to the application to make detection Gui-clean. Move detect class to base folder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18873 a1c6a512-1295-4272-9138-f99709370657
2008-10-24 22:31:07 +00:00
Dominik Riebeling
6371460172 Make uninstallation class use QtCore instead of QtGui -- it doesn't use any GUI elements. Move class to the QtCore-only base folder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18872 a1c6a512-1295-4272-9138-f99709370657
2008-10-24 21:23:18 +00:00
Dominik Riebeling
f958717d43 Separate basic functionality from GUI parts by moving it into a separate folder. Some files still need to get cleaned up prior moving them too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18788 a1c6a512-1295-4272-9138-f99709370657
2008-10-12 19:21:58 +00:00
Dominik Riebeling
ab424ac11c Move rbutil translations into a subfolder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18713 a1c6a512-1295-4272-9138-f99709370657
2008-10-05 12:40:57 +00:00
Dominik Riebeling
197c24c5d3 Completely rework the bootloader installation class:
- create a base class and make derived classes for each installation type.
- sort installations by type, not by player model.
- remove duplicated code for iriver (de)scrambling functionality and use the functions inside of the tools folder directly -- we already do the same for rbspeex.
- make bootloader file backup optional and allow choosing a target location.
- clean up some wording and add some more guiding messages.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18657 a1c6a512-1295-4272-9138-f99709370657
2008-09-28 17:02:36 +00:00
Dominik Riebeling
eeaa3df7d8 Fix missing line continue character in project file.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18495 a1c6a512-1295-4272-9138-f99709370657
2008-09-11 17:16:18 +00:00
Dominik Wenger
990d4d9c78 rbutil: commit japanese translation by Yoshihisa Uchida.(FS#9393)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18493 a1c6a512-1295-4272-9138-f99709370657
2008-09-11 15:48:54 +00:00
Dominik Wenger
5510c60f18 rbutil: commit FS#9382 Hebrew translation by Tomer Shalev.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18465 a1c6a512-1295-4272-9138-f99709370657
2008-09-08 21:11:55 +00:00
Dominik Wenger
c6bcb35064 commit FS#9355 by Alexander Spyridakis. Greek translation for rbutil.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18384 a1c6a512-1295-4272-9138-f99709370657
2008-09-02 16:22:31 +00:00
Dominik Riebeling
ca588afe51 Let qmake check the Qt version and error out if its too old. Useful if you have Qt3 and Qt4 installed and forget to pick the correct one.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18369 a1c6a512-1295-4272-9138-f99709370657
2008-08-31 12:32:27 +00:00
Dominik Riebeling
fd61460c45 Extend rbspeex Makefile to allow easier building a universal binary needed for rbutil.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18103 a1c6a512-1295-4272-9138-f99709370657
2008-07-20 15:47:47 +00:00
Dominik Riebeling
3f830cb96b Finnish translation for rbutil by Jani Hyytiäinen (FS#9192).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18036 a1c6a512-1295-4272-9138-f99709370657
2008-07-14 16:21:48 +00:00
Dominik Wenger
145827d2a4 rbutil/rbspeex: alway run make clean before building librbspeex for a specific arch.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18005 a1c6a512-1295-4272-9138-f99709370657
2008-07-09 22:10:09 +00:00
Dominik Wenger
c82511ab06 rbutil/rbspeex fix some small mistakes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18004 a1c6a512-1295-4272-9138-f99709370657
2008-07-09 21:56:41 +00:00
Dominik Wenger
6bd961d6a5 rbutil: use rbspeex new Makefile commands to build a universal lib on mac.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18003 a1c6a512-1295-4272-9138-f99709370657
2008-07-09 21:41:41 +00:00
Dominik Wenger
34216463be rbutil: first fix to build a universal binary on mac.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17998 a1c6a512-1295-4272-9138-f99709370657
2008-07-09 20:36:38 +00:00
Dominik Riebeling
341f831310 When building static, add "." to the library include path so libusb.a can be placed in the build folder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17967 a1c6a512-1295-4272-9138-f99709370657
2008-07-06 19:46:48 +00:00
Dominik Wenger
58335f8724 rbutil: add a "make dmg" target to build a dmg file on mac
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17890 a1c6a512-1295-4272-9138-f99709370657
2008-06-30 14:39:21 +00:00
Dominik Wenger
7fb11a82a1 rbutil: move some detecting code, to make detecing things nicer
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17813 a1c6a512-1295-4272-9138-f99709370657
2008-06-27 21:53:22 +00:00