diff options
author | Lauri Leukkunen <lle@rahina.org> | 2007-07-03 00:27:14 +0300 |
---|---|---|
committer | Lauri Leukkunen <lle@rahina.org> | 2007-07-03 00:27:14 +0300 |
commit | e2c66634f6a725db8e6e1d1e515ef3cfb6d80bf4 (patch) | |
tree | a9d7b7cfaac51f9080b31863c0b7ffb739ebb3a7 | |
parent | 72d2d0a88e358ca0771fbd1f790771f434dd69c9 (diff) |
Update README1.99.0.7
Signed-off-by: Lauri Leukkunen <lle@rahina.org>
-rw-r--r-- | README | 38 |
1 files changed, 33 insertions, 5 deletions
@@ -1,6 +1,19 @@ +SCRATCHBOX 2 README + +author: Lauri Leukkunen <lle@rahina.org> +date: 2007-07-02 + + + +LICENSING + All files are licensed under GNU LGPL version 2.1 unless specifically stated otherwise in the file itself. + + +GENERAL NOTICE + This is development code, it is broken. Don't expect to use it for anything resembling production use. However, I firmly believe this is infinitely more functional than Scratchbox 1.x can ever be. @@ -9,7 +22,6 @@ infinitely more functional than Scratchbox 1.x can ever be. INSTALLATION - You need git to work with sbox2, get it from http://git.or.cz/. Clone the scratchbox 2 repository: @@ -52,10 +64,17 @@ At this point you can simply run sb2: $ ../scratchbox/bin/sb2 +To make sb2 default to the $HOME/buildroot sandbox, you can put this in +your $HOME/.sb2rc: +-- snip -- +SBOX_TARGET_ROOT=~/buildroot +-- snip -- + +After that you can run sb2 from anywhere and it'll just do its magic. -MAEMO DEVELOPMENT +MAEMO DEVELOPMENT Download the latest rootstrap from: @@ -71,15 +90,24 @@ Architecture armel; -- snip -- Then build a proper libtool for your active toolchain by running -this inside sb2: +this: -[SB2] $ $HOME/scratchbox/bin/sb2-build-libtool +$ sb2 $HOME/scratchbox/bin/sb2-build-libtool In order to build debian packages, you have to use -d switch for dpkg-buildpackage to skip build dependency checking. A proper command line would be for example: -dpkg-buildpackage -rfakeroot -d +$ sb2 dpkg-buildpackage -rfakeroot -d + +Full example of building fontconfig for Maemo would go like this: + +$ sb2 apt-get source fontconfig +$ cd fontconfig-2.4.1 +$ sb2 dpkg-buildpackage -rfakeroot -d + +You don't need to be in $HOME/buildroot to do that, I typically do all +development work in $HOME/src. That's all folks, enjoy! |