Hi Stefan,

Stefan Peter wrote:
> I wanted to be able to check out the trunk, too.

OK. this is what I do. Note that I am a bash scripting newbie and some 
bash expert can massively improve on my script below (e.g. add a switch 
to select which branch to build and another switch to select which 
revision).

1. SETUP

mkdir hugin
cd hugin
svn co https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/trunk/ trunk
svn co https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/branches/ 
branches
svn co 
https://hugin.svn.sourceforge.net/svnroot/hugin/hugin/releases/2009.2/ 
release

this way I have a layout with
hugin/trunk => trunk
hugin/branches => the currently active development branches
hugin/release => the currently active release branch

2. SCRIPT

add the attached script in hugin/

3. USAGE

edit the --- VARIABLES --- section in the build.sh script: comment all 
branches out, uncomment the branch you want to build

cd hugin
./build.sh

have a coffe break

when you come back you should have your *.deb file in hugin/ - rename it 
to something meaningful to you if you want to keep it.

I usually keep many deb files and can easily switch between them by 
using sudo dpkg -i <NAME>.deb

4. ADVANCED USAGE

there is also a tarball in hugin/ - before distributing it it needs 
testing. so I untar it with tar xvfz and run the script on the untarrad 
package. then i install the resulting .deb, run basic tests and if it is 
OK I push the tarball to the distribution channels. The goal of the 
script is to make the life of a release manager easy.

Yuv

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---

Attachment: build.sh
Description: Bourne shell script

Reply via email to