[Pkg-wmaker-commits] [wmfrog] 131/145: Import upstream release 0.3.1+20150102
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sun Aug 23 05:46:41 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmfrog.
commit 9ddd7e9b3cf73ceb4a7a81bc63f3741b25af8397
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date: Fri Jan 2 18:53:15 2015 -0600
Import upstream release 0.3.1+20150102
---
Src/Makefile | 6 ++++--
Src/wmfrog.1 | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 53 insertions(+), 2 deletions(-)
diff --git a/Src/Makefile b/Src/Makefile
index 7e8f054..f46bb13 100644
--- a/Src/Makefile
+++ b/Src/Makefile
@@ -13,19 +13,21 @@ OBJS = wmfrog.o \
.c.o:
- $(CC) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
+ $(CC) $(CPPFLAGS) $(CFLAGS) -D$(shell echo `uname -s`) -c $< -o $*.o $(INCDIR)
all: wmfrog.o wmfrog
wmfrog.o: frog.xpm frog.xbm
wmfrog: $(OBJS)
- $(CC) $(CFLAGS) $(SYSTEM) -o wmfrog $^ $(INCDIR) $(LIBDIR) $(LIBS)
+ $(CC) $(LDFLAGS) $(SYSTEM) -o wmfrog $^ $(INCDIR) $(LIBDIR) $(LIBS)
install:
mkdir -p "$(DESTDIR)$(PREFIX)/bin"
mkdir -p "$(DESTDIR)$(PREFIX)/lib/wmfrog"
+ mkdir -p "$(DESTDIR)$(PREFIX)/share/man/man1"
cp wmfrog "$(DESTDIR)$(PREFIX)/bin"
cp weather.pl "$(DESTDIR)$(PREFIX)/lib/wmfrog"
+ cp wmfrog.1 "$(DESTDIR)$(PREFIX)/share/man/man1"
clean:
for i in $(OBJS) ; do \
rm -f $$i; \
diff --git a/Src/wmfrog.1 b/Src/wmfrog.1
new file mode 100644
index 0000000..61e5f05
--- /dev/null
+++ b/Src/wmfrog.1
@@ -0,0 +1,49 @@
+.TH wmfrog 1 "2015-01-01" "wmfrog" "User Commands"
+.SH "NAME"
+wmfrog \- a dockapp for showing weather in graphical way
+.SH "SYNOPSIS"
+wmfrog [options] \-station <METAR station id>
+.SH "OPTIONS"
+.IP "\fB\-delay minutes\fR" 4
+Override time (in minutes) between updates. Default is 15.
+.IP "\fB\-m, \-metric\fR" 4
+Display Temperature in metric unit: Celsius.
+.IP "\fB\-o offset\fR" 4
+Time offset of location from UTC. Positive or negative integer
+expressed in hours, like +1 or \-7.
+.IP "\fB\-s, \-station\fR" 4
+Required option. The 4\-character METAR Station ID. See
+http://en.wikipedia.org/wiki/METAR
+.IP "\fB\-w knots\fR" 4
+Set the maximum wind in KNOTS for percentage of max / scaling. Default
+is 50 Knots.
+.IP "\fB\-tmp directory\fR" 4
+Set the temporary directory where the METAR data files are downloaded
+Default is /tmp.
+.IP "\fB\-l label\fR" 4
+Set displayed text to 4 character (max) label to replace the METAR
+station id.
+.SH "DESCRIPTION"
+A dockapp for weather reports. Includes clouds (clear, few,
+scattered, broken, overcast ...); Precipitations (drizzle, rain, snow,
+ice crystals: light/moderate or heavy); Special weather (Blowing wind
+/ Freezing / Thunderstorm, funnel cloud...); Humidity percentage; Wind
+speed (average & gust); Wind Direction; Temperature (Celsius or
+Fahrenheit); Station name can be configured and weather report time is
+displayed.
+.PP
+To find out more about the METAR/TAF system, see
+http://nws.noaa.gov/ops2/Surface/metar_taf.htm
+.PP
+To find your city Metar code go to http://www.nws.noaa.gov/tg/siteloc.php
+.SH "FILES"
+.IP "/tmp/<station\-id>/" 4
+Stored data files. The directory can be changed with option \fB\-tmp\fR
+.SH "AUTHORS"
+program was written by Thibaut Colar <tcolar at colar.net>.
+.PP
+This manual page is based on 0.1.6 version of the program. Updated by Jari
+Aalto <jari.aalto at cante.net> and Doug Torrance <dtorrance at monmouthcollege.edu>.
+Released under license GNU GPL v2 or (at
+your option) any later version. For more information about license, visit
+<http://www.gnu.org/copyleft/gpl.html>.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmfrog.git
More information about the Pkg-wmaker-commits
mailing list