Home
Welcome to OSRail
Vendor Branches Procedure PDF Print E-mail
Written by Samuel E. Henley   
Thursday, 01 October 2009 10:25

Initial Branch

To establish an initial branch – download or export from the vendors svn, a copy of the current vendor source, renaming the directory to something suitable (ogre, wxwidgets etc.). From the OSRail repository import the newly named directory into the top directory of the repository under vendor. OSRail does not use tags for vendor branches so note the revision in the import comment for example (CMake maintenance branch branch 2.8.0 - last change Nov 11, 2009 svn-1347) it will be required to identify the revision for a merge of a newer revision to the trunk line of CMake.

Update a Branch

To update a vendor branch - download or export from the vendors svn, a copy of the updated vendor source, use the vendor branch name (cmake-2.8.0). Checkout the vendor directory under the vendor directory in the top of the OSRail repository (http://wush.net/svn/sehenley/vendor/cmake). Use the operating system to copy or move the exported vendor source to the checked out vendor source. Check for files and directories that have been removed and use svn to remove them from the working copy. Comment the working copy to the repository.

--- Or

Checkout the new cmake branch/tag to the working directory cmake-2.8.0 (http://www.cmake.org/files)

Run the Perl script svn_load_dirs.pl. In the working directory (not free, no copyright, not available from Debian site, but available from http://subversion.tigris.org)

./svn_load_dirs.pl http://wush.net/svn/sehenley/vendor cmake cmake-2.8.0

 

Update the Trunk

To update the trunk vendor branch – checkout the trunk vendor branch (http://wush.net/svn/sehenley/trunk/vendor/cmake). From the repository merge the previous vendor branch in the top directory with the current vendor branch into the checked out version of the trunk vendor branch. For example http://wush.net/svn/sehenley/vendor/cmake (svn revision 1324 ) is merged with http://wush.net/svn/sehenley/vendor/cmake (svn revision (head) ) into working directory c:/working/cmake. Resolve any conflicts etc. and commit the result back to the trunk. Use this copy to make any program changes required and commit them to the trunk branch after testing.

Caution: The Windows build of CMake, modifies the cmake source - do not commit these changes.
Self Modified Sources are:

  • Tests/.NoDartCoverage
  • Utilities/cmexpat/.NoDartCoverage
  • Utilities/cmexpat/cm_expat_mangle.h
  • Utilities/cmexpat/expat.h
  • Utilities/cmzlib/.NoDartCoverage

If the header files are commited - they will prevent a Linux build.
Caution: You should remove the cmake directory when finished or you will get an error running script svn_load_dirs.pl on the next update.

 

 

Last Updated on Sunday, 22 November 2009 03:04
 
The CMake CodeBlocks Project PDF Print E-mail
Written by Samuel E. Henley   
Sunday, 11 May 2008 19:39

The purpose of the project in the vendors/cmake directory is to build a CMake generator for codeblocks similar to the current Visual C++ generator. The project uses the current release version of CMake (2.8.0) in the vendor directory.

Additionally, the project contains two built-in commands PackageConfigure and PreCompiledHeader. Also added was a codeblocks project file (CodeBlocksGenerator.cbp) to build/debug the modified CMake with its normally generated CMake makefile.

 

Files Modified in cmake

 

 

The modified version of CMake is required to build OSRail – Instructions for building this version of CMake can be found under “Building OSRail” (Linux or Windows).

Last Updated on Sunday, 22 August 2010 16:05
 
Contributing to the OSRail Project Print E-mail
Saturday, 05 April 2008 09:27

We welcome anyone wishing to contribute to the development of OSRail. The project is in the inception phase with only boiler-plate code for the simulator and utilities. A near complete build system using CMake and CodeBlocks for both Windows and Linux has been created. Programmers can review or download the source from the SVN. For commit authority, for the Project SVN, contact This e-mail address is being protected from spambots. You need JavaScript enabled to view it . Suggestions and design ideas can be added to this site or posted on the Project Trac. For authority to modify the Trac, contact This e-mail address is being protected from spambots. You need JavaScript enabled to view it . You may, if you wish, only outline the idea in an e-mail and it will be placed on this site and/or on the project Trac.

 
Advantages of a Virtual Railroad PDF Print E-mail
Written by Samuel E. Henley   
Saturday, 05 April 2008 09:25

The advantages of a virtual railroad simulation: club members may be many miles apart, the railroad and its equipment can be synchronized to a particular era, operation may be accomplished in real-time with the affects of real distances, the session can be paused and resumed at the groups convenience, and software driven operating session is more adaptable then typical model railroad layout. Sharing your latest model with the group has an exact equivalent in sharing a newly created 3d model, but with a 3d model each member can have their own copy where the cost of producing the model is only having the use of a computer with an internet connection. OSRail is Open Source project licensed under GNU General Public License. The source is available from the Project SVN.

Last Updated on Wednesday, 03 June 2009 08:14
 
Blender DNA Class Generator PDF Print E-mail
Written by Samuel E. Henley   
Monday, 19 October 2009 03:25

The Blender Class Generator tool is located in the src/tools/blenderclassgenerator directory. The tool is designed to read the dna.c file generated in a blender build. The file is generated by makesdna during a build of  Blender. The blenderclassgenerator produces C++ structures and generates stream members for those structures to read a blender 3d file. The generated header file (src/include/dna.h.in) is used by the MSTS2Blender utility to read and write Blender 3d editor files (*.blend). A default dna.h.in is supplied in the src/include directory and maintained and updated in the svn repository. The program is made up of a reader and main program files.).

 
Third Party Tools PDF Print E-mail
Written by Samuel E. Henley   
Monday, 07 April 2008 10:25

OSRail is a simulation program and the utilities required to support the simulation. Additionally OSRail uses many third party tools to build the cross-platform simulation and utilities. The essentially third party tools and links to their web-sites are listed below:

Last Updated on Monday, 05 October 2009 14:05
 
Third Party Libraries PDF Print E-mail
Written by Samuel E. Henley   
Saturday, 05 April 2008 09:29

OSRail is a simulation program and the utilities required to support the simulation. Additionally OSRail uses many third party libraries to build the cross-platform simulation and utilities. The essentially third party libraries and links to their web-sites are listed below:

Last Updated on Monday, 05 October 2009 14:04
 
<< Start < Prev 1 2 Next > End >>

Page 1 of 2