HowTo: Compile from SVN (Ubuntu/Debian)

Developer discussion of experimental fixes, changes, and improvements.

Moderators: Nexuiz Moderators, Moderators

Postby Mr. Bougo » Mon Aug 18, 2008 8:36 am

Bump.

Updated my batch script.
Meh.
Mr. Bougo
Keyboard killer
 
Posts: 760
Joined: Mon Sep 10, 2007 3:29 pm

Postby C.Brutail » Mon Sep 08, 2008 4:22 pm

bump, so I can find it next time :D
STICKY STICKY STICKY!!!

(please?) :roll:
"One should strive to achieve; not sit in bitter regret."
WE ARE NEXUIZ.
Image
Image
C.Brutail
Laidback mapper
 
Posts: 2357
Joined: Tue Feb 28, 2006 7:26 pm
Location: Ironforge

Postby tankmiche » Sun Sep 14, 2008 5:16 pm

Hello there! I've modified the script a bit to add a simple GUI to it.

Here's the link: http://www.tankmiche.com/wp-content/uploads/2008/09/update-nexuiz.sh

The default behaviour almost the same, but in the end there is a small report with exit codes of every operation.
With the "-gui" parameter, however, the script calls zenity (a gui tool available on deb distros) to show a fancy progress bar and a list reporting errors whatsoever.

Hope this was helpful! It was funny to code anyway.
Miche
tankmiche
Newbie
 
Posts: 5
Joined: Thu Aug 28, 2008 5:22 pm

Postby FruitieX » Wed Oct 08, 2008 4:59 pm

Thanks very much tankmiche! I've almost completely rewritten this howto, and included a slightly modified version of your script (it compiles with a custom fteqcc binary, since it's way outdated in the repositories). Since the gui version is really cool, could you write a similar script that defaults to using the gui, and will fall back to text mode if it can't launch/find zenity (or if -text or a similar argument is passed)? That'd be awesome! :)
FruitieX
Keyboard killer
 
Posts: 588
Joined: Mon Nov 13, 2006 4:47 pm
Location: Finland

Postby tankmiche » Sun Oct 12, 2008 9:50 am

Up! After some hard work, here's the 0.5 version of the script:

http://www.tankmiche.com/wp-content/upl ... -nexuiz.sh

(the link is changed)

this one supports skipping tasks (I don't compile nexuiz if it isn't updated!) and auto-updating fteqcc from svn...

If you want to include it in the tutorial, be sure to point out that for the gui you need the "-GUI" parameter (all capital letters) and for the first run you need the "-all" option (no skipping tasks on first run, or nothing will be compiled!)

Well, I'm glad it's finished, I've spent much time on it... enjoy!
Miche
tankmiche
Newbie
 
Posts: 5
Joined: Thu Aug 28, 2008 5:22 pm

Postby tankmiche » Tue Oct 14, 2008 7:44 pm

MMh, due to some server caching you may have taken the latest buggy script (if downloaded in less than 10 hours from my last post).

If so, please be sure to replace the script with the one from the same url, the last version is ok...
Miche
tankmiche
Newbie
 
Posts: 5
Joined: Thu Aug 28, 2008 5:22 pm

Postby [-z-] » Thu Jan 15, 2009 2:12 pm

Here's the latest most in depth script. It's more advanced than this one and can cost you some gigabytes but it's totally worth it :D.
[-z-]
Site Admin and Nexuiz Ninja
 
Posts: 1794
Joined: Mon Nov 13, 2006 12:20 am
Location: Florida

Postby FruitieX » Sat May 02, 2009 7:25 pm

Updated with a recent, (rather?) simple script.
FruitieX
Keyboard killer
 
Posts: 588
Joined: Mon Nov 13, 2006 4:47 pm
Location: Finland

Postby Visceral » Sun May 03, 2009 2:58 am

Not working for me for some reason.

rwillmore@rwillmore-desktop:~/Desktop$ svnup-nexuiz.sh -a
bash: svnup-nexuiz.sh: command not found

Any ideas, the file svnup-nexuiz.sh is sitting right here my desktop and my terminal is there as well..
Visceral
Newbie
 
Posts: 5
Joined: Thu Apr 23, 2009 11:08 pm

Postby mand1nga » Sun May 03, 2009 4:17 am

Visceral wrote:Not working for me for some reason.

rwillmore@rwillmore-desktop:~/Desktop$ svnup-nexuiz.sh -a
bash: svnup-nexuiz.sh: command not found

Any ideas, the file svnup-nexuiz.sh is sitting right here my desktop and my terminal is there as well..


Try with

Code: Select all
./svnup-nexuiz.sh -a


note the ./ prefix

.. or include "." on your $PATH ;)

don't forget to make it an executable with chmod +x svnup-nexuiz-sh

good luck
mand1nga
Alien trapper
 
Posts: 321
Joined: Mon May 12, 2008 12:19 am

PreviousNext

Return to Nexuiz - Development

Who is online

Users browsing this forum: No registered users and 1 guest