diff options
author | cube <cube@pkgsrc.org> | 2004-02-24 23:15:55 +0000 |
---|---|---|
committer | cube <cube@pkgsrc.org> | 2004-02-24 23:15:55 +0000 |
commit | 493ab306f02259763949b829a38ef0905457556b (patch) | |
tree | ad7d41c81b0545f557bf39e35b48e88b3cdf2ef1 /misc/gkrellm-weather/patches | |
parent | 7d1670e7cd1a5f05b7db66f48b00571a0a46ce4b (diff) | |
download | pkgsrc-493ab306f02259763949b829a38ef0905457556b.tar.gz |
Update to version 2.0.6, by tripledes /AT/ eslack /DOT/ org in pkgsrc-wip.
This is the GKrellM-2 port of the weather plugin.
Diffstat (limited to 'misc/gkrellm-weather/patches')
-rw-r--r-- | misc/gkrellm-weather/patches/patch-aa | 60 |
1 files changed, 12 insertions, 48 deletions
diff --git a/misc/gkrellm-weather/patches/patch-aa b/misc/gkrellm-weather/patches/patch-aa index fe81eaad371..ab88bed5dbc 100644 --- a/misc/gkrellm-weather/patches/patch-aa +++ b/misc/gkrellm-weather/patches/patch-aa @@ -1,49 +1,13 @@ -$NetBSD: patch-aa,v 1.1.1.1 2001/10/30 13:24:58 damon Exp $ +$NetBSD: patch-aa,v 1.2 2004/02/24 23:15:55 cube Exp $ ---- Makefile.orig Sat Oct 20 01:16:36 2001 -+++ Makefile -@@ -5,14 +5,16 @@ - IMLIB_LIB = `imlib-config --libs-gdk` - - --FLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) -+CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) -I${PREFIX}/include - LIBS = $(GTK_LIB) $(IMLIB_LIB) - LFLAGS = -shared - --CC = gcc $(CFLAGS) $(FLAGS) -+CC = gcc $(CFLAGS) - - OBJS = gkrellweather.o - -+all: gkrellweather.so -+ - gkrellweather.so: $(OBJS) - $(CC) $(OBJS) -o gkrellweather.so $(LFLAGS) $(LIBS) -lpthread - -@@ -22,23 +24,7 @@ - gkrellweather.o: gkrellweather.c - - install: -- if [ -d /usr/lib/gkrellm/plugins/ ] ; then \ -- install -c -s -m 644 gkrellweather.so /usr/lib/gkrellm/plugins/ ; \ -- elif [ -d /usr/share/gkrellm/plugins/ ] ; then \ -- install -c -s -m 644 gkrellweather.so /usr/share/gkrellm/plugins/ ; \ -- elif [ -d /usr/local/lib/gkrellm/plugins/ ] ; then \ -- install -c -s -m 644 gkrellweather.so /usr/local/lib/gkrellm/plugins/ ; \ -- elif [ -d /usr/lib/gkrellm/plugins/ ] ; then \ -- install -c -s -m 644 gkrellweather.so /usr/lib/gkrellm/plugins/ ; \ -- else \ -- install -D -c -s -m 644 gkrellweather.so /usr/lib/gkrellm/plugins/gkrellweather.so ; \ -- fi -- install -c -m 755 GrabWeather /usr/X11R6/bin -+ install -c -s -m 644 gkrellweather.so ${PREFIX}/lib/gkrellm/plugins/ - - uninstall: -- rm -f /usr/lib/gkrellm/plugins/gkrellweather.so -- rm -f /usr/share/gkrellm/plugins/gkrellweather.so -- rm -f /usr/local/lib/gkrellm/plugins/gkrellweather.so -- rm -f /usr/lib/gkrellm/plugins/gkrellweather.so -- rm -f /usr/X11R6/bin/GrabWeather -- -+ rm -f ${PREFIX}/lib/plugins/gkrellweather.so +--- gkrellweather.c.orig 2003-11-02 12:05:08.000000000 +0000 ++++ gkrellweather.c 2003-11-02 12:05:23.000000000 +0000 +@@ -983,7 +983,7 @@ + options.windspeed_unit = 1; + options.pressure_unit = 1; + strcpy(options.station, DEFAULT_STATION_ID); +- sprintf(options.command, "/usr/share/gkrellm/GrabWeather %s", options.station); ++ sprintf(options.command, "GrabWeather %s", options.station); + sprintf(options.filename, "%s/.wmWeatherReports/%s.dat", + getenv("HOME"), options.station); + } |