Re: [Flightgear-devel] download_and_compile.sh - version 1.9.12 finally ready

2013-10-14 Thread Pat
Geoff,

Thanks for testing this.  

I left a set -x on line 371 which causes the double output you're
seeing on -h. I've removed it.
 
Also, I've changes the svn
for plib to http://svn.code.sf.net/p/plib/code/trunk/.

OSG and PLIB are slated for different treatment in a future version.

If the chosen version of OSG, or the 1.8.5 version of PLIB is
installed or previously built, there's no reason to reconfigure
or rebuild them.

In general, I'd like to be able to detect when git does not add a file
to the sources.  Then I could condition the configure step on whether
its actually needed or not.  If I find a way to do that quickly, it
could be applied to any component that uses git, not just OSG.

I'll be using your approach for plib at least.

The latest is still 1.9.12:

https://www.gitorious.org/fg/fg-download-and-compile-fgmeta/raw/master:download_and_compile.sh

-Pat

On Thu,
10 Oct 2013 12:50:15 +0200 Geoff McLane ubu...@geoffair.info wrote:

 Hi Pat,
 
 Finally got a chance to try download_and_compile.sh 
 1.9.12 from the ...-fgmeta repo...
 
 I think you need to adjust the svn repo for plib! It 
 has permanently changed I think
 
 About ln 649
   svn $PLIB_STABLE_REVISION_ co
 http://plib.svn.sourceforge.net/svnroot/plib/trunk/ plib 
 to the new repo
   svn $PLIB_STABLE_REVISION_ co
 http://svn.code.sf.net/p/plib/code/trunk plib 
 
 Also, as a suggestion, why not first search the system for an 
 installed plib, and use that rather than a new download 
 and compile? These days I have add plib as a 'system'
 install...
 
 In my makefg, which as you know was based on one of 
 Brisa's original versions, circa Jan 2009, I use 
 script like -
 
 # if NO plib installed path from user, and none from
 # previous configuration file, then
 if [ -z $INSTALL_DIR_PLIB ]; then
 # try the 'system' places
 PLIB_PATH=/usr
 if [ -f $PLIB_PATH/include/plib/ul.h ]; then
 show_plib_version $PLIB_PATH
 PLIB_INSTALL_OK=1
 elif [ -f $PLIB_PATH/local/include/plib/ul.h ]; then
 show_plib_version $PLIB_PATH/local
 PLIB_INSTALL_OK=1
 else
 PLIB_PATH=
 fi
 fi
 
 The function 'show_plib_version' just reads the version
 from the ul.h header...
 
 Anyway, just a suggestion...
 
 After the above svn correction, the script ran to 
 the end, building fgcom, fgfs, fgrun, openrti,
 OpenSceneGraph, plib, simgear... great stuff...
 
 I only had a chance to try it with the ALL option ;=))
 
 But found out later that is not really 'ALL'. I could 
 add FGX, FGO?, FGCOMGUI, ATLAS and DATA, but I have 
 already done the DATA separately overnight... 
 
 I will try to get around to trying the others... 
 presently doing -p FGX, but it insists on rebuilding 
 OSG which is slow...
 
 One little thing. When I say run it with the -h help 
 option for example my bash shell echos the echo 
 lines, like the script has say -
echo Switches:
 


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register 
http://pubads.g.doubleclick.net/gampad/clk?id=60134071iu=/4140/ostg.clktrk
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] download_and_compile.sh - version 1.9.12 finally ready

2013-09-22 Thread Pat
Version 1.9.12 will build 

2.10.0 as stable with -s, 
next without the -s 
2.12.0 with -B release/2.12.0
master with -B master

can someone do a final check on
https://www.gitorious.org/fg/fg-download-and-compile-fgmeta/raw/6516d8db2c0ab3cf19722b5d3aa49e2860b6cf9b:download_and_compile.sh

i've built each of the above and run the resulting flightgear 
I'd like to
have someone besides me test it before we go ahead with the merge to the
main fgmeta archive.

Also, there's another version coming right after this that builds
2.12.0 as stable 

-Pat

Here's the complete release notes:

Version 1.9.12 release version of 1.9.12
function write_log() added.
write_log writes summary information to sysout and a summary
log file the function is added as a preview of changes to the logging
for the script function SET_WINDOW_TITLE()
changes the window title to indicate what is being built.
function check_build()
writes to the summary log a list of what was found as
executables after a build. outputs a rebuild command
the rebuild command can be used to re-execute the same build
without entry of options or parameters.

removes fgcomgui from the list of modules built when ALL is specified

STOP_AFTER_ONE_MODULE
Adds options z, B, R and G

option z will set this so that only one module will be built, and then
the script will immediately stop.  This is useful during testing of the
script.

Option B allows the build of a specific branch. Without the R option it
will build the head of the branch. option R allows the build of a
specific revision or commit. Option G allows selection of a specific
version of OpenSceneGraph.

This version introduces the use of a bash associative array to select
branch and version for building.

patches allow building with fltk under Ubuntu 13.04

Open radar has been added


--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel