Building Cinecode for release on Windows XP

Using the xp-build machine and builduser account (see ProductionTestingHardware).

The process described here is for cincode-v1. For v2, just replace cinecode-v1 by cinecode-v2 everywhere.

  • Log onto the xp-build machine with the 'Jean Krohn' account.
  • The local repositories are in c:\src :
    • openlibraries (CVS)
    • jah (CVS)
    • cinecode-v1 (SVN)
    • cinecode-v2 (SVN)
  • Update the repositories using tortoiseCVS/SVN update
    • Sync openlibraries to the tag point stable-0-4-1
  • Building openlibraries
    • For each of open{plugin,image,asset,object,media,effects(optional)}_vc8.sln (in this order) in c:\src\openlibraries
      • open it with visual studio (e.g. dnd it on the visual studio icon)
      • set the solution configuration (in the toolbar, near 'win32') to 'Multi-threaded Release DLL'
      • rebuild everything with Ctrl+Alt+F7
      • build again with F7
      • check that the only things failing to compile are tests
        • if something else doesn't compile fix it or get someone else to fix it
  • Building jahwidgets
    • Open c:\src\jah\jahwidgets\jahwidgets_vc80.sln in Visual Studio
    • set the solution configuration to 'Release'
    • rebuild with Ctrl+Alt+F7 and check that nothing fails to compile
    • install the jahwidgets libs into the 'jahwidgets release dll' and 'jahwidgets debug dll' desktop directories by running (double-clicking) the jahwidgets.bat script from the desktop (situated top-right).
  • Building cinecode
    • First, read and apply CinecodeReleaseFixes.
    • build the theme :
      • load the theme/cinecode_vc80.vcproj in Visual Studio
      • set the solution configuration to 'Release'
      • rebuild with Ctrl+Alt+F7 and check that nothing fails to compile
    • copy the .dll files in the 'jahwidgets release dll' directory situated on the desktop to c:/src/cinecode-v1
    • create the cinecode.car file
      • open a command line
      • execute : "set PATH=%PATH%;%OPENLIBRARIES_LIB_PATH%;%JAHWIDGETS_PATH%"
      • execute "pkg_config.bat" in c:/src/cinecode-v1. It will ask for a password, which is 'cinecode'
    • build cinecode by running (e.g. double-clicking) the cinecode-v1_build.bat script on the desktop
    • with explorer, go to c:/src/cinecode-v1/installer, right-click on cinecode.nsi and click on 'Compile NSIS Script'. This should take a while, then, when finished (the Close button then becomes active), there should be a new cinecode-x.x.x-installer.exe file in the directory, which is the cinecode installer. Please rename it according to the guidelines in [BuildRepository] .
    • A note on versioning : To change the version used in the packaging (e.g. the one displayed by the installer), change "!define x.x.x" in installer/cinecode.nsi.