The Arramagong Live DVD, GISVM, and OSGeo Live-Demo projects are collaborating to create a set of simple, automated install scripts for a wide variety of Free and Open Source GIS projects, and we're calling on each project to help us write a script for their software. Projects that can write their install script this week will be included on The Arramamgong Live DVD which will be given to all delegates at the FOSS4G conference.
The scripts should cover the installation and configuration of each project into a base Xubuntu 9.04 system. Separate scripts can optionally cover data, demos and tutorials. As a bonus, these scripts are exactly what packagers require to bundle your project into Debian and Ubuntu, so you will be taking the first steps toward getting your project into a Linux distribution.
The base version of the FOSS4G2009 GISVM/Arramagong Live DVD can be trialled as a VMWare virtual machine and downloaded from: http://download.osgeo.org/livedvd/Arramagong_GISVM_FOSS4G2009_alpha1.7z
Timeline
Date | Date | Milestone |
---|---|---|
7 Sep 2009 | in 1 week | LiveDVD Feature Freeze |
11 Sep 2009 | in 2 weeks | LiveDVD Beta Release |
18 Sep 2009 | in 3 weeks | LiveDVD Final Freeze |
20 Sep 2009 | in 3 weeks | LiveDVD Final Release & sent to printers |
Packaging Howto
For projects already packaged for Ubuntu or DebianGIS, an install script will likely be as simple as:
#!/bin/sh
apt-get install cgi-mapserver
Projects that haven't been packaged yet are slightly more complicated:
#!/bin/sh
#################################################
#
# Purpose: Installation of udig into Xubuntu
# Author: Stefan Hansen
#
#################################################
# Copyright (c) 2009 Open Geospatial Foundation
# Copyright (c) 2009 LISAsoft
#
# Licensed under the GNU LGPL.
#
# This library is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation, either version 2.1 of the License,
# or any later version. This library is distributed in the hope that
# it will be useful, but WITHOUT ANY WARRANTY, without even the implied
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU Lesser General Public License for more details, either
# in the "LICENSE.LGPL.txt" file distributed with this software or at
# web page "http://www.fsf.org/licenses/lgpl.html".
#
# About:
# =====
# This script will install udig into Xubuntu
# Running:
# =======
# sudo ./install_udig.sh
TMP="/tmp/udig_downloads"
INSTALL_FOLDER="/usr/lib"
DATA_FOLDER="/usr/local/share"
UDIG_FOLDER="$INSTALL_FOLDER/udig"
BIN="/usr/bin"
USER_NAME="user"
USER_HOME="/home/$USER_NAME"
## Setup things... ##
# check required tools are installed
if [ ! -x "`which wget`" ] ; then
echo "ERROR: wget is required, please install it and try again"
exit 1
fi
# create tmp folders
mkdir $TMP
cd $TMP
## Install Application ##
# get udig
if [ -f "udig-1.2-M6.linux.gtk.x86.tar.gz" ]
then
echo "udig-1.2-M6.linux.gtk.x86.tar.gz has already been downloaded."
else
wget http://udig.refractions.net/files/downloads/branches/udig-1.2-M6.linux.gtk.x86.tar.gz
fi
# unpack it and copy it to /usr/lib
tar -xzf udig-1.2-M6.linux.gtk.x86.tar.gz -C $INSTALL_FOLDER
## Configure Application ##
# Download modified startup script for udig
if [ -f "udig.sh" ]
then
echo "udig.sh has already been downloaded."
else
wget https://svn.osgeo.org/osgeo/livedvd/gisvm/trunk/udig-conf/udig.sh
fi
# copy it into the udig folder
cp udig.sh $UDIG_FOLDER
# create link to startup script
ln -s $UDIG_FOLDER/udig.sh $BIN/udig
# Download desktop icon
if [ -f "uDig.desktop" ]
then
echo "uDig.desktop has already been downloaded."
else
wget https://svn.osgeo.org/osgeo/livedvd/gisvm/trunk/udig-conf/uDig.desktop
fi
# copy it into the udig folder
cp uDig.desktop $USER_HOME/Desktop
chown $USER_NAME:$USER_NAME $USER_HOME/Desktop/uDig.desktop
## Sample Data ##
# Download udig's sample data
if [ -f "data-v1_1.zip" ]
then
echo "data-v1_1.zip has already been downloaded."
else
wget http://udig.refractions.net/docs/data-v1_1.zip
fi
#unzip the file into /usr/local/share/udig-data
mkdir $DATA_FOLDER/udig-data
unzip data-v1_1.zip -d $DATA_FOLDER/udig-data
## Documentation ##
# Download udig's documentation
if [ -f "udig-1.2-M5.html" ]
then
echo "udig-1.2-M5.html has already been downloaded."
else
wget http://udig.refractions.net/files/downloads/branches/udig-1.2-M5.html
fi
if [ -f "uDigWalkthrough1.pdf" ]
then
echo "uDigWalkthrough1.pdf has already been downloaded."
else
wget http://udig.refractions.net/docs/uDigWalkthrough1.pdf
fi
if [ -f "uDigWalkthrough2.pdf" ]
then
echo "uDigWalkthrough2.pdf has already been downloaded."
else
wget http://udig.refractions.net/docs/uDigWalkthrough2.pdf
fi
#copy into /usr/local/share/udig-docs
mkdir $DATA_FOLDER/udig-docs
cp udig-1.2-M5.html $DATA_FOLDER/udig-docs
cp uDigWalkthrough1.pdf $DATA_FOLDER/udig-docs
cp uDigWalkthrough1.pdf $DATA_FOLDER/udig-docs
As we are still bootstrapping the packaging project, and as we are very short on time before feature freeze, manual steps can be included as comments in each install script, and can be automated by a project member, or packager at a later date.
Packaging details and examples can be found at: http://wiki.osgeo.org/wiki/GISVM_Build
And help is available on the Live-Demo mailing list via Cameron Shorter, Stefan Hansen, Ricardo Pino, Hamish Bowman, Alex Mandel, Massimo de Stefano and others.
About GISVM
GISVM is a Free(dom) and ready to use anywhere Geographic Information System Virtual Machine. Based on the amazing Virtualization technology it can be used on almost any operating system environment and is intended to be a hassle-free installation option for anyone that needs a ready to use GIS solution.
About Arramagong Live DVD
The Arramagong Live DVD provides a stack of most of best Geospatial Open Source software, pre-configured with sample data. It is based on the XUbuntu linux operating system and also contains windows installers. A FOSS4G 2009 release of Arramagong will be given to all delegates at the FOSS4G conference. It has been built by LISAsoft in conjunction with the Open Source Geospatial community.
About FOSS4G
FOSS4G is the international Free and Open Source Software for Geospatial conference, which comes to Sydney, Australia, 20-23 October 2009. FOSS4G offers presentations, workshops, demos, an install-fest, and a code sprint. It is presented by the world's best Developers, Policy Makers, Sponsors and Geospatial Professionals and includes the latest geospatial applications, standards, government programs, business processes and case studies. Topics include mobile platforms, location based applications, crowd sourcing, cloud computing, development, spatial standards, integration of cross-agency data, Spatial Data Infrastructures, Sensor Webs, Web Processing Services, Integration of Open Source and Proprietary Software and more.
Upcoming milestones
- 14 Sep 2009, Final program available
- 21 Sep 2009, Poster Submission closes
- 20 Oct 2009, FOSS4G Workshop
- 21-23 Oct 2009, FOSS4G Presentations and Tutorials
- 24 Oct 2009, FOSS4G Code Sprint
Media Sponsors
- Position Magazine: http://www.positionmag.com.au/
- Asian Surveying and Mapping Newsletter: http://www.asmmag.com
- Geoconnexions Magazine: http://www.geoconnexion.com/
- Directions Magazine: http://directionsmag.com/
- GIS Development: http://gisdevelopment.net/
- Baliz Media: http://www.BALIZ-MEDIA.com/
For more information or to keep informed from the FOSS4G Organising Committee, join our email list or twitter feed at: http://2009.foss4g.org/about_us/
or contact:
Cameron Shorter, Chair of the FOSS4G Organising Committee and Geospatial Systems Architect at LISAsoft
tel +61-2-8570-5050
c a m e r o n . s h o r t e r @ l i s a s o f t . c o m