[MXD2map-commits] r325:ebe500ec8a91
scm-commit at wald.intevation.org
scm-commit at wald.intevation.org
Mon Oct 15 12:22:25 CEST 2012
details: http://hg.intevation.org/geospatial/mxd2map/rev/ebe500ec8a91
changeset: 325:ebe500ec8a91
user: Andre Heinecke <aheinecke at intevation.de>
date: Mon Oct 15 11:42:28 2012 +0200
description:
Update and clarify release instructions
diffstat:
ChangeLog | 4 ++++
HowTo-Release.txt | 38 ++++++++++++++++++++++++++------------
2 files changed, 30 insertions(+), 12 deletions(-)
diffs (84 lines):
diff -r 5e7e6d99f997 -r ebe500ec8a91 ChangeLog
--- a/ChangeLog Mon Oct 15 09:02:01 2012 +0000
+++ b/ChangeLog Mon Oct 15 11:42:28 2012 +0200
@@ -1,3 +1,7 @@
+2011-10-15 Andre Heinecke <aheinecke at intevation.de>
+
+ * HowTo-Release: Update and clarify instructions
+
2011-10-15 Andre Heinecke <aheinecke at intevation.de>
* src/java/de/intevation/mxd/writer/MapScriptWriter.java,
diff -r 5e7e6d99f997 -r ebe500ec8a91 HowTo-Release.txt
--- a/HowTo-Release.txt Mon Oct 15 09:02:01 2012 +0000
+++ b/HowTo-Release.txt Mon Oct 15 11:42:28 2012 +0200
@@ -12,9 +12,11 @@
2. Create a source archive:
$ export MXD2MAPVERSION=0.8
$ hg archive -t tgz -X website -X HowToRelease.txt -X testdata-frida MXD2map-$MXD2MAPVERSION.tar.gz
- $ md5sum MXD2map-$MXD2MAPVERSION.tar.gz > MXD2map-$MXD2MAPVERSION.tar.gz.md5sum
+ $ sha1sum MXD2map-$MXD2MAPVERSION.tar.gz > MXD2map-$MXD2MAPVERSION.tar.gz.sha1
-3. Create PDF-file of Documentation:
+3. Create PDF-file of Documentation:
+ Prerequisites:
+ python-sphinx inkscape texlive-latex-extra texlive-fonts-recommended
$ cd doku && make latexpdf
$ cp build/latex/MXD2map.pdf build/latex/MXD2map-$MXD2MAPVERSION.pdf
@@ -22,33 +24,45 @@
4.1 Create Windows-Binary Installer (needs Windows-NSIS-Version and complete build)
-4.1.1 Build MXD2map:
-
- $ ant jar
+4.1.1 Copy the Source Archive to a Windows system and extract it.
+
+4.1.2 Make the dependencies available in the lib subfolder (See INSTALL.txt)
+
+4.1.3 Build MXD2map:
+
+ $ ant jar-norevision
Copy resulting mxd2map.jar into contrib/installer/bin/
-4.1.2 Fill mapserver-Folder with Binary-windows-build
+ $ copy C:\tmp\build_sh\dist\mxd2map.jar contrib\installer\bin
-4.1.3 Download example-data
+4.1.4 Copy the dependendcies from lib to contrib/installer/bin/lib
+
+ $ xcopy /s lib\* contrib\installer\bin\lib
+
+4.1.5 Fill contrib/installer/bin/mapserver with the appropiate mapserver version
+
+4.1.6 Download example-data
$ cd contrib/installer/example/example/testdata-frida
$ wget ftp://ftp.intevation.de/freegis/frida/frida-1.0.1-shp.tar.gz
$ tar xvfz frida-1.0.1-shp.tar.gz
$ rm -f frida-1.0.1-shp.tar.gz
-4.1.4 Build the installer (requires NSIS >= 2.46-2):
+4.1.7 Build the installer (requires NSIS >= 2.46-2):
$ cd contrib/installer
$ makensis -DVERSION_DATE=`date +%d.%m.%Y` MXD2map-installer.nsi
- $ md5sum MXD2map-$MXD2MAPVERSION.exe > MXD2map-$MXD2MAPVERSION.exe.md5sum
+ $ sha1sum MXD2map-$MXD2MAPVERSION.exe > MXD2map-$MXD2MAPVERSION.exe.sha1
-4.2 Tag the release in HG:
+4.2 Test the installer by installing it on a Windows system and running the example.
+
+4.3 Tag the release in HG:
$ hg tag -m "Tagged as release 'release-$MXD2MAPVERSION'" release-$MXD2MAPVERSION && hg push
-4.3 Create new binary-release on Wald and upload
- MXD2map-$MXD2MAPVERSION.exe and corresponding MD5sum.
+4.4 Create new binary-release on Wald and upload
+ MXD2map-$MXD2MAPVERSION.exe and corresponding sha1 hash.
5. Update versions and URLs on the homepage (updates documentation as
well!) [requires sphinx available in $PATH]
More information about the MXD2map-commits
mailing list