INSTALL.txt for GoWeather

by Bill Kendrick
bill@newbreedsoftware.com
http://www.newbreedsoftware.com/goweather/

October 16, 2001 - October 16, 2001


REQUIREMENTS:
  * MDSP Lib (aka libmetar)
    by Eric McCarthy <eric@macperspectives.com>

    Based on METAR Decoder Software Package 1.0
    by Carl McCalla, US National Weather Service

    http://www.macperspectives.com/mdsplib/

    (This version of "GoWeather" tested with version 0.1 of MDSP Lib,
    and has tweaks to work around some current problems.  It should work
    with later versions too, hopefully.  When in doubt, check for an updated
    version of GoWeather.)

    (I built the "metar.a" static library for SNOW Agenda on my desktop by
    changing the Makefile.  "CC = gcc" became "CC = $(PRE)gcc".
    "ar" and "ranlib" became "$(PRE)ar" and "$(PRE)ranlib".
    "CFLAGS" got "-fPIC -Os -B/opt/snow-gcc/lib/snow/" appended to it.
    A new variable, "PRE" got set to "mipsel-linux-".  After building, I
    copied "metar.a" into "/opt/snow-gcc/lib/snow/" and renamed it
    "libmetar.a")


  * FLTK
    http://www.fltk.org/


COMPILING:
  Run "make" with one of the following:

    host      - Build for the host environment
    mips-snow - Build for Agenda VR3s using SNOW (1.x.xS) kernels
    mips-svr4 - Build for Agenda VR3s using older, non-SNOW kernels

  Simply running "make" will attempt to build for host and Agenda-SNOW.


UPLOADING:
  Upload "goweather.snow" (or ".mips" if using a non-SNOW Agenda)
  to your Agenda.  A suitable place to upload it is "/flash/local/bin/".

  Create a symbolic link to "/flash/local/bin/goweather.snow" in your
  "/flash/home/default/.wmx/Applications/" directory, and call it
  "GoWeather".

  This will add a "GoWeather" entry to your VR->Applications menu, and
  the Agenda Launchpad app (under "Applications" category).

  You can also upload the included icon image, "goweather.xpm".
  Place it somewhere like "/flash/local/pixmaps/" on your Agenda.

  Then, add the following line to your "/flash/home/default/.xwm/.icons"
  file on the Agenda.  (eg, "cat >> ~/.wmx/.icons"):

    Applications/GoWeather;/flash/local/pixmaps/goweather.xpm

  Then quit (if it's running) and re-start the Launchpad application.
  You should see a nice cloud icon for the "GoWeather" launcher.



Under construction
