Commit graph

172 commits

Author SHA1 Message Date
Daniel Stenberg
e19f763d79 generate a lang.h file from a .lang input
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2301 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 15:01:38 +00:00
Eric Linenberg
038df5cdc9 Daniel,
The following patch makes loadable fonts actually work (finally!).
It took me quite a while, but I finally figured out why the sim
worked and the target didn't: the SH1 processor won't read
longwords from a shortword alignment... I had to rev the .fnt
file to version 1.1 (requires remaking *.fnt files) in order
to fix this.  Please apply the following patch completely.
It's diffed against the latest CVS.

I've also attached rockbox-fonts-1.1.tar.gz which includes
known working *.fnt files, including a courB08 system.fnt,
for demonstration.

Now the real work can begin...  Although the new
system.fnt will work fine, if you try going to a really
big font (try copying courB14.fnt to system.fnt), then
you will find that it comes up and works in tree mode,
but will crash the system when going into WPS
mode...  I'm sure this is because of the low-level
lcd_bitmap not clipping properly when given a too-large
bitmap, which the characters become.  I haven't yet
tried to debug the low-level driver.  Of course, it all
works on the sim...

So the apps developers will now have to make sure that
all apps screen sizes may vary according to the loaded font.
The font height can be gotten through the lcd_getfontsize API.

Files patched in fonts-6.patch

1. apps/menu.c - LCD_PROPFONTS error (2nd resubmission on this, please checkin)

2. firmware/font.c - fixes and reformatting.  Please check this in as is,
my vi editor requires more reformatting changes since I left tabs in the
file, these are removed now (2nd resubmission on this, please checkin)

3. firmware/fonts.h - doc change on .fnt file format, .fnt version
number incremented.

4. firmware/loadfont.c - fixes to load font properly, typedefs
removed.

5. firmware/system.c - lcd_setfont(FONT_SYSFIXED) before
issuing error, otherwise font may not exist.

6. tools/bdf2c - fixes for correct output when filename starts
with a number, as well as when no DEFAULT_CHAR in .bdf
file.  (2nd resubmission on this, please checkin)

7. tools/writerbf.c - fixes for bugfixed fontfile format.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2294 a1c6a512-1295-4272-9138-f99709370657
2002-09-16 03:18:49 +00:00
Daniel Stenberg
ba39ff62e5 Greg Haerr added -limit <max_encode_hex_value>
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2282 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:31:16 +00:00
Daniel Stenberg
ae0c23847b Greg Haerr removed the font questions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2281 a1c6a512-1295-4272-9138-f99709370657
2002-09-13 06:30:47 +00:00
Daniel Stenberg
31a48ea1f8 setup the include path better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2277 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 14:08:42 +00:00
Daniel Stenberg
7b3cea4df3 the script sets ARCHOS_RECORDER instead
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2276 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 14:03:56 +00:00
Daniel Stenberg
e5cb74003d define archos so that config works better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2275 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 14:01:09 +00:00
Daniel Stenberg
1b5afda12f Greg's
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2274 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:59:59 +00:00
Daniel Stenberg
4cd138955d Greg's font scripts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2272 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:49:57 +00:00
Daniel Stenberg
05e353acfc bdf2ajf is not needed/used anymore
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2271 a1c6a512-1295-4272-9138-f99709370657
2002-09-12 13:43:22 +00:00
Daniel Stenberg
d2aa7116d2 support -v for verbose (debug) output
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2240 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 14:42:27 +00:00
Daniel Stenberg
89db47fde8 no thank you, no very nasty union tricks here
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2237 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 13:13:17 +00:00
Daniel Stenberg
7c57db5560 build bdf2ajf with debug option
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2236 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 13:12:51 +00:00
Daniel Stenberg
c06a55b7ef more portable is better
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2234 a1c6a512-1295-4272-9138-f99709370657
2002-09-09 12:33:05 +00:00
Daniel Stenberg
3d90ed43f1 Maintain this simple philosophy:
Default build actions are without any flags/options. Only modiciations from
default use extra defines etc.

This is because:

1) We want builds that don't run configure to keep building the same kind
   of build it was configured to do.

2) 'configure update' must work to read the selected options and generate
   an updated makefile with the same options.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2203 a1c6a512-1295-4272-9138-f99709370657
2002-09-06 06:44:43 +00:00
Daniel Stenberg
52a87c7ce7 removed the conflict markers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2130 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 12:40:19 +00:00
Daniel Stenberg
e800bca6dc make it bourne shell pure
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2129 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 12:33:18 +00:00
Daniel Stenberg
42c125fad6 Prevent this script from being run in the same directory where this script
lives. It will make more people happy. ;-)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2128 a1c6a512-1295-4272-9138-f99709370657
2002-09-02 11:50:52 +00:00
Robert Hak
5e1270e60c i stupid, forgot to fix simulators
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2109 a1c6a512-1295-4272-9138-f99709370657
2002-09-01 16:37:57 +00:00
Robert Hak
28c60ff40a Corrected to allow for game removal via USE_GAMES (on by default)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2104 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 23:21:59 +00:00
Robert Hak
7dcdf05d94 cleaned up USE_SCREENSAVERS questions/usage
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2099 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 22:49:41 +00:00
Robert Hak
15c5cac721 We now ask if the user wants Screensavers (on by default)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2098 a1c6a512-1295-4272-9138-f99709370657
2002-08-31 20:59:23 +00:00
Björn Stenberg
1f4e4d339c Reverted back to monospace again. Let's not rock the boat until people can change it themselves (i.e. loadable fonts).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2032 a1c6a512-1295-4272-9138-f99709370657
2002-08-28 11:54:41 +00:00
Björn Stenberg
af406a1f6d Made LCD_PROPFONTS default on recorder
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2016 a1c6a512-1295-4272-9138-f99709370657
2002-08-27 22:49:13 +00:00
Daniel Stenberg
e1fbb12aaf we like each line less than 80 characters wide please
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1890 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 16:34:41 +00:00
Daniel Stenberg
793ca18310 now detects 1bit BMP files too and adjusts to that, which makes things
simpler


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1881 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 12:11:51 +00:00
Mats Lidell
4b12d882bf Added newline before EOF.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1858 a1c6a512-1295-4272-9138-f99709370657
2002-08-21 10:45:17 +00:00
Daniel Stenberg
8c78975300 made it output valid C code even if given a filename that starts with a
dot, also made the width and height get written as proper #defines in the
output C source.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1795 a1c6a512-1295-4272-9138-f99709370657
2002-08-19 08:04:48 +00:00
Mats Lidell
8cca95bd48 Added bmp2rb.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1782 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:03:24 +00:00
Mats Lidell
8a700fe39c Created.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1781 a1c6a512-1295-4272-9138-f99709370657
2002-08-16 14:02:48 +00:00
Björn Stenberg
62625737a4 Added helpful reminder about copying font file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1760 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 11:51:49 +00:00
Daniel Stenberg
6246ce5a37 added tags target for the generated simulator makefile as well
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1755 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 10:07:27 +00:00
Daniel Stenberg
bc35ae3f50 Generates a 'tags' target in the toplevel makefile now, this is only
for target builds as of yet. More to come.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1753 a1c6a512-1295-4272-9138-f99709370657
2002-08-15 09:32:59 +00:00
Robert Hak
72f54337d6 case issue with questions
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1702 a1c6a512-1295-4272-9138-f99709370657
2002-08-13 08:40:40 +00:00
Björn Stenberg
7a8f398b6f Clear extra_defines for players
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1675 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 20:22:53 +00:00
Robert Hak
f29f6fa66c == is not a valid POSIX compare, use =
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1672 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 14:19:18 +00:00
Björn Stenberg
0cbd1912cc Forgot to add new files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1669 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 09:36:25 +00:00
Björn Stenberg
dd7d695153 Forgot to add the new files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1668 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 09:22:40 +00:00
Björn Stenberg
cd225736f9 First version of loadable fonts patch by Alex Gitelman
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1666 a1c6a512-1295-4272-9138-f99709370657
2002-08-11 09:17:47 +00:00
Daniel Stenberg
23d0b5d65a Applied Bjoern Fischer's patch to make this generate correct makefiles
using '$(MAKE)' instead of 'make' for recursion.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1596 a1c6a512-1295-4272-9138-f99709370657
2002-08-07 14:37:53 +00:00
Daniel Stenberg
60fe9dfa4a Adjustments to allow generating a Makefile for building win32 simulator
cross-compiled. Based on the excellent patch from Bill Napier.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1517 a1c6a512-1295-4272-9138-f99709370657
2002-08-02 12:06:07 +00:00
Linus Nielsen Feltzing
e53bdf0c20 Fixed misspelled .PHONY target. Spotted by Nick Robinson and Markus Braun.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1452 a1c6a512-1295-4272-9138-f99709370657
2002-07-26 14:13:03 +00:00
Björn Stenberg
6d55a71e0e Added build timestamp in version string
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1349 a1c6a512-1295-4272-9138-f99709370657
2002-07-15 13:19:00 +00:00
Björn Stenberg
ec048f6024 Stripped off needless things
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1084 a1c6a512-1295-4272-9138-f99709370657
2002-06-19 14:33:11 +00:00
Daniel Stenberg
e45a8f5f3c works with traditional sh now (as tested on Solaris)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@901 a1c6a512-1295-4272-9138-f99709370657
2002-06-06 13:33:38 +00:00
Daniel Stenberg
d86da20fac configure update for simulator builds must preserve display and keypad
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@879 a1c6a512-1295-4272-9138-f99709370657
2002-06-03 22:26:56 +00:00
Daniel Stenberg
63787dffde now configure update works for simulator builds too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@878 a1c6a512-1295-4272-9138-f99709370657
2002-06-03 21:56:48 +00:00
Daniel Stenberg
45abe619cd target builds must run make in firmware AND apps
this script now creates an archos subdir when creating a simulator build env


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@846 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 08:38:35 +00:00
Daniel Stenberg
c38ccba483 made it support --help or -h as arguments, and then displays a very short
and really not very helpful message but now you know where to fill in that
very large and friendly help text you want the users to see! ;-)


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@845 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 08:21:20 +00:00
Daniel Stenberg
58f4d0d6c6 now manages simulator makefiles too!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@841 a1c6a512-1295-4272-9138-f99709370657
2002-05-31 07:22:38 +00:00
Daniel Stenberg
bdf24904c9 allow commented lines in FILES
generate the apps/version.h version define properly


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@793 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 12:56:35 +00:00
Daniel Stenberg
349e73079e add the FILES file itself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@778 a1c6a512-1295-4272-9138-f99709370657
2002-05-29 08:56:30 +00:00
Daniel Stenberg
c7036f1f5e use a better file to find the firmware dir
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@746 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 12:33:30 +00:00
Daniel Stenberg
14671eb04c add the release script itself
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@742 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 11:58:35 +00:00
Daniel Stenberg
93a14e20e6 this script builds release tarballs, pass a version number as argument,
make sure the FILES file include all files to include!


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@740 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 11:57:12 +00:00
Daniel Stenberg
4cd5ad6688 files included in release
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@739 a1c6a512-1295-4272-9138-f99709370657
2002-05-27 11:56:13 +00:00
Daniel Stenberg
44d76bc1ae store nodebug status too, as it makes 'update' work better if there's
a non-empty field when the status is known, be it debug or nodebug.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@690 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 10:14:10 +00:00
Daniel Stenberg
2f06ff764f the all target only builds in apps now, as the apps Makefile itself will
depend on the firmware lib and run that makefile if needed


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@688 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 10:10:20 +00:00
Daniel Stenberg
40c6129c91 fixed the clean target, also made two separate clean targets in case
you ever wanna clean just one of them


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@686 a1c6a512-1295-4272-9138-f99709370657
2002-05-24 09:33:37 +00:00
Daniel Stenberg
3c286ec63c generates separate 'firmware' and 'apps' targets in the makefile, also
added a clean target


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@671 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 13:55:26 +00:00
Daniel Stenberg
f8a59f27f8 change the order we check for the apps dir to more often get the shortest
path


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@670 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 12:48:04 +00:00
Daniel Stenberg
6709658768 escape $ properly, added 'update' support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@662 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 10:10:44 +00:00
Daniel Stenberg
fcf56299f2 pass better variables
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@661 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 09:58:44 +00:00
Daniel Stenberg
e0c12aff3b bash happy now?
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@660 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 09:39:31 +00:00
Daniel Stenberg
82e6a07298 try the directories in the current dir too
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@657 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 09:18:14 +00:00
Daniel Stenberg
3aacd2edf1 First attempt. This script sets up a toplevel build Makefile.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@656 a1c6a512-1295-4272-9138-f99709370657
2002-05-23 09:11:35 +00:00
Björn Stenberg
00b26e63fc Header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@72 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 10:49:59 +00:00
Björn Stenberg
5dc1d10b0d Test commit
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@65 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 08:58:41 +00:00
Björn Stenberg
b9139255ad Added Rockbox header
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@63 a1c6a512-1295-4272-9138-f99709370657
2002-04-11 08:53:12 +00:00
Björn Stenberg
efdfdc3284 Added more targets
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@57 a1c6a512-1295-4272-9138-f99709370657
2002-03-28 14:42:55 +00:00
Björn Stenberg
09efa1bf0d Fixed comments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@56 a1c6a512-1295-4272-9138-f99709370657
2002-03-28 14:42:40 +00:00
Björn Stenberg
e1715c27e0 First checkin
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@55 a1c6a512-1295-4272-9138-f99709370657
2002-03-28 14:34:13 +00:00