Difference between revisions of "Release production"

From GeopsyWiki
Jump to navigation Jump to search
Line 35: Line 35:
 
   dpfacpublish
 
   dpfacpublish
  
== Mac OS X and Windows ==
+
== Updating Qt Libraries ==
  
* Update devpro
+
(To edit once Qt will release 4.5.1)
 
 
  cd devtools/devpro
 
  cvs update
 
  make install
 
 
 
* Update sesarray branch
 
 
 
  cd sesarray-2.0
 
  dpsubupdate
 
 
 
* Change configure option to latest archive version
 
 
 
  vi admin/info
 
  # CONFIGURE_LIB="-release -no-pch -batch -prefix $PREFIX -build-key $BUILD_KEY -distribution sesarray-2.0.4"
 
 
 
* Configure and make
 
 
 
  dpsubconfig -f
 
  dpsubmake
 
 
 
For Mac:
 
 
 
  cd sesarray
 
  dppackmac
 
 
 
For Windows
 
 
 
  cd sesarray
 
  dpuserfiles
 
  dppackwin
 
 
 
== Updating Qt ==
 
 
 
=== Mac OS X ===
 
 
 
Usually, to avoid double Qt libraries plugins must be turned off by renaming ''/usr/local/Trolltech/Qt/plugins'' into ''plugins-off''. When upgrading to new Qt release, you must rename the new ''plugins'' directory and remove the old one. dppack is fetching plugins in ''plugins-off'' directory.
 
 
 
=== Windows ===
 
 
 
Manually copy Qt dll and 'plugins' directory to ''/c/usr/sesarray-2.0/bin''. Do this for all active branches.
 
 
 
Files to copy:
 
 
 
  QtCore4.dll
 
  QtGui4.dll
 
  QNetwork4.dll 
 
  QSvg4.dll                # Not needed for branch 2.0, but needed for branch 2.1
 
  imageformats/qgif4.dll
 
  imageformats/qmng4.dll
 
  imageformats/qsvg4.dll
 
  imageformats/qjpeg4.dll
 
  imageformats/qtiff4.dll
 
  mingwm10.dll              # Not really Qt but this also an extra dll to include
 

Revision as of 13:49, 20 May 2009

Testing

For Windows and Source distributions, the build process is tested automatically every night. Daily reports

For Mac OS X, the process is also automatic but it does not run independently on a dedicated server. Instead, it is run manually (buying and installing a dedicated server, e.g. a Mac Mini would be enough, would rather help).

Tagging

Once all tests report success, set all version numbers as explained Version management.

Tag all sub projects

 dpsubdo git tag geopsypack-2_1_0
 dpsubpush

Tag list of projects and general options

 cd admin
 git tag geopsypack-2_1_0
 dppush

Publishing

On Source and Windows server:

 cd windows
 dpfacpublish
 cd sources
 dpfacpublish

On Mac OS X:

 cd devel
 dpfacpublish

Updating Qt Libraries

(To edit once Qt will release 4.5.1)