summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /media-plugins/vdr-weatherng/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'media-plugins/vdr-weatherng/files')
-rw-r--r--media-plugins/vdr-weatherng/files/confd-0.0.841
-rw-r--r--media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh24
-rw-r--r--media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-dxr3.diff17
-rw-r--r--media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-gcc43.patch15
-rw-r--r--media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-gentoo.diff56
-rw-r--r--media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-i18n-fix.diff32
-rw-r--r--media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-timeout.diff25
7 files changed, 210 insertions, 0 deletions
diff --git a/media-plugins/vdr-weatherng/files/confd-0.0.8 b/media-plugins/vdr-weatherng/files/confd-0.0.8
new file mode 100644
index 000000000000..69573e4f95d9
--- /dev/null
+++ b/media-plugins/vdr-weatherng/files/confd-0.0.8
@@ -0,0 +1,41 @@
+# /etc/conf.d/vdr.weatherng
+# $Id$
+
+# =================================================================================
+# Before you use the examples of URLs in weatherng.sh ,
+# you agree with the "Terms of Use" from "The Weather Channel" ,
+# short TWC , which you can found at http://www.weather.com
+# and that you have the permission to use the downloaded files.
+# The same for copyrighted radarmaps.
+# Take a look in /var/vdr/weatherng/weatherng.sh or read the README.(DE)
+# =================================================================================
+#
+# To get your Station Id move with your internetbrowser to :
+#
+# http://uk.weather.com/search/drilldown/
+#
+# Type in the name of your town (e.g. "London" and hit enter.
+# Now have a look at the link for your town which you hopefully got after you hit return.
+# If you dont got one , try with a bigger town next to you.
+# For "Herne, Germany" you get something like ....GMXX0056.... .
+# so GMXX0056 is the StationId for you if you live in "Herne,Germany" ;)
+
+WEATHERNG_STATIONID1="GMXX0007" # example for Berlin, Germany
+WEATHERNG_STATIONID2="GRXX0068" # example for Corfu, Greece
+WEATHERNG_STATIONID3="USNY0996" # example for New York, USA
+
+## Next are default settings; should not be changed !
+#
+# Directory to the /image DIR where the images are placed
+# allowed values: pathes
+# default: /usr/share/vdr/weatherng
+#WEATHERNG_IMAGE_DIR="/usr/share/vdr/weatherng"
+
+#
+# Directory to store downloaded weather data
+#
+# allowed values: pathes
+# default: /var/vdr/weatherng
+#WEATHERNG_DATA_DIR="/var/vdr/weatherng"
+
+
diff --git a/media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh b/media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh
new file mode 100644
index 000000000000..82d35b2bdbe7
--- /dev/null
+++ b/media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh
@@ -0,0 +1,24 @@
+# $Id$
+#
+# rc-addon-script for plugin weatherng
+#
+# Joerg Borrnkessel <hd_brummy@gentoo.org>
+
+# set default image DIR
+: ${WEATHERNG_IMAGE_DIR:=/usr/share/vdr/weatherng}
+
+# set default date DIR
+: ${WEATHERNG_DATA_DIR:=/var/vdr/weatherng}
+
+# set default path to weatherng.sh
+WEATHERNG_BIN_DIR=/var/vdr/weatherng
+
+plugin_pre_vdr_start() {
+
+ add_plugin_param "-D ${WEATHERNG_DATA_DIR}"
+
+ add_plugin_param "-I ${WEATHERNG_IMAGE_DIR}"
+
+ add_plugin_param "-S ${WEATHERNG_BIN_DIR}"
+}
+
diff --git a/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-dxr3.diff b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-dxr3.diff
new file mode 100644
index 000000000000..f77a9ef3810a
--- /dev/null
+++ b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-dxr3.diff
@@ -0,0 +1,17 @@
+fix OSD Problems on dxr3 cards
+http://www.vdr-portal.de/board/thread.php?postid=517188#post517188
+
+Joerg Bornkessel <hd_brummy@gentoo.org> 24 Oct 2006
+
+diff -Naur weatherng-0.0.8-pre3.orig/OsdWeather.c weatherng-0.0.8-pre3/OsdWeather.c
+--- weatherng-0.0.8-pre3.orig/OsdWeather.c 2006-10-24 13:46:22.850099968 +0200
++++ weatherng-0.0.8-pre3/OsdWeather.c 2006-10-24 13:57:12.446697218 +0200
+@@ -379,7 +379,7 @@
+
+ #endif
+ */
+- colordepth = 16;
++ colordepth = 7;
+ areadepth = 4;
+
+ tArea Area[] = {
diff --git a/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-gcc43.patch b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-gcc43.patch
new file mode 100644
index 000000000000..e11e004ebbde
--- /dev/null
+++ b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-gcc43.patch
@@ -0,0 +1,15 @@
+fix compile problems with gcc-4.3.x
+bug 227133
+diff -ruN weatherng-0.0.8-pre3_orig/imagecache.h weatherng-0.0.8-pre3/imagecache.h
+--- weatherng-0.0.8-pre3_orig/imagecache.h 2006-03-11 19:14:49.000000000 +0100
++++ weatherng-0.0.8-pre3/imagecache.h 2008-06-15 12:54:10.000000000 +0200
+@@ -5,6 +5,8 @@
+ #ifndef VDR_IMAGECACHE_HPP
+ #define VDR_IMAGECACHE_HPP
+
++#include <sys/types.h>
++
+ #include <map>
+ #include <vector>
+ #include <string>
+
diff --git a/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-gentoo.diff b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-gentoo.diff
new file mode 100644
index 000000000000..67c62e25ab66
--- /dev/null
+++ b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-gentoo.diff
@@ -0,0 +1,56 @@
+Joerg Bornkessel <hd_brummy@gentoo.org>
+Version 1 ( 24 Oct 2006 )
+
+diff -Naur weatherng-0.0.8-pre2.orig/examples/weatherng.sh weatherng-0.0.8-pre2/examples/weatherng.sh
+--- weatherng-0.0.8-pre2.orig/examples/weatherng.sh 2006-03-19 18:35:48.897789250 +0100
++++ weatherng-0.0.8-pre2/examples/weatherng.sh 2006-03-19 18:46:43.290686250 +0100
+@@ -8,6 +8,11 @@
+ # To use this examples of urls , you must have the permission of owner to download and
+ # use them. Otherwise you must change the URLs. See README or README.DE.
+
++source /etc/conf.d/vdr.weatherng
++
++SCRIPT_API=2
++source /usr/share/vdr/rcscript/plugin-weatherng.sh
++
+ # Change SETUPDIR if you need.
+ SETUPDIR=/etc/vdr
+
+@@ -16,11 +21,11 @@
+ case "${LANGUAGE[2]}" in
+ 1) MESG='Download abgeschlossen und Radarmaps aktualisiert'
+ URLS=(\
+-# http://www.dwd.de/scripts/getimg.php?src=/wundk/Wetter.jpg \
+-# http://www.wetter24.de/automatic/brd_tag_n+ww00002.jpg \
+-# http://www.wetter24.de/automatic/brd_tag_dd00002.jpg \
+-# http://www.wetter24.de/automatic/brd_tag_tt00002.jpg \
+-# http://www.wetter24.de/automatic/brd_tag_rr00002.jpg \
++ http://www.dwd.de/bvbw/generator/Sites/DWDWWW/Content/Oeffentlichkeit/WV/WV11/Wetterkarten/Wetter__Deutschland__teaser__Bild,property=default.jpg \
++ http://www.zdf.de/CMO/frontend/subsystem_we/WeShowPicture/0,6008,337,00.jpg \
++ http://www.zdf.de/CMO/frontend/subsystem_we/WeShowPicture/0,6008,261,00.jpg \
++ http://www.zdf.de/CMO/frontend/subsystem_we/WeShowPicture/0,6008,258,00.jpg \
++ http://www.zdf.de/CMO/frontend/subsystem_we/WeShowPicture/0,6008,346,00.jpg \
+ )
+ ;;
+ 7) MESG='Téléchargement des données Météo OK'
+@@ -53,7 +58,7 @@
+ esac
+
+ for i in $(seq 0 10) ; do
+- eval ${URLS[$i]:+ wget -t 4 -T 20 "${URLS[$i]}" -O "$SETUPDIR/plugins/weatherng/pic${i}"}
++ eval ${URLS[$i]:+ wget -t 4 -T 20 "${URLS[$i]}" -O "${WEATHERNG_DATA_DIR}/pic${i}"}
+ done
+
+ # Dont change or uncomment this and the following 5 lines. ;)
+@@ -63,8 +68,8 @@
+ # Example for Herne,Germany [GMXX0057]with a permission from The weather channel:
+ # e.g : wget -t 4 -T 20 "http://xoap.weather.com/weather/local/GMXX0057?cc=*&unit=m&dayf=10&prod=xoap&par=1004124588&key=079f24145f208494" -O "$SETUPDIR/plugins/weatherng/data1.xml"
+
+-#wget -t 4 -T 20 "http://xoap.weather.com/weather/local/STATIONID1?cc=*&unit=m&dayf=10&prod=xoap&par=1004124588&key=079f24145f208494" -O "$SETUPDIR/plugins/weatherng/data1.xml"
+-#wget -t 4 -T 20 "http://xoap.weather.com/weather/local/STATIONID2?cc=*&unit=m&dayf=10&prod=xoap&par=1004124588&key=079f24145f208494" -O "$SETUPDIR/plugins/weatherng/data2.xml"
+-#wget -t 4 -T 20 "http://xoap.weather.com/weather/local/STATIONID3?cc=*&unit=m&dayf=10&prod=xoap&par=1004124588&key=079f24145f208494" -O "$SETUPDIR/plugins/weatherng/data3.xml"
++wget -t 4 -T 20 "http://xoap.weather.com/weather/local/${WEATHERNG_STATIONID1}?cc=*&unit=m&dayf=10&par=1004124588&key=079f24145f208494" -O "${WEATHERNG_DATA_DIR}/data1.xml"
++wget -t 4 -T 20 "http://xoap.weather.com/weather/local/${WEATHERNG_STATIONID2}?cc=*&unit=m&dayf=10&par=1004124588&key=079f24145f208494" -O "${WEATHERNG_DATA_DIR}/data2.xml"
++wget -t 4 -T 20 "http://xoap.weather.com/weather/local/${WEATHERNG_STATIONID3}?cc=*&unit=m&dayf=10&par=1004124588&key=079f24145f208494" -O "${WEATHERNG_DATA_DIR}/data3.xml"
+
+ echo $MESG
diff --git a/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-i18n-fix.diff b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-i18n-fix.diff
new file mode 100644
index 000000000000..f42673f8db09
--- /dev/null
+++ b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-i18n-fix.diff
@@ -0,0 +1,32 @@
+remove unused translation, compile problems up from vdr-1.5.8
+
+Joerg Bornkessel 19 Sep 2007 <hd_brummy@gentoo.org>
+
+diff -Naur weatherng-0.0.8-pre3.orig/i18n.c weatherng-0.0.8-pre3/i18n.c
+--- weatherng-0.0.8-pre3.orig/i18n.c 2007-09-19 12:03:01.884552652 +0200
++++ weatherng-0.0.8-pre3/i18n.c 2007-09-19 12:03:21.786518169 +0200
+@@ -369,24 +369,6 @@
+ "",// TODO
+ "¿àØÒÕâ!",
+ },
+- { "°C",
+- "°C",
+- "",// TODO
+- "",// TODO
+- "",// TODO
+- "",// TODO
+- "°C",
+- "",// TODO
+- "°C",
+- "",// TODO
+- "",// TODO
+- "",// TODO
+- "",// TODO
+- "",// TODO
+- "",// TODO
+- "",// TODO
+- "¿àØÒÕâ!",
+- },
+ { "Update data on start",
+ "Update von Daten bei Start",
+ "",// TODO
diff --git a/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-timeout.diff b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-timeout.diff
new file mode 100644
index 000000000000..a44c70a63212
--- /dev/null
+++ b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre3-timeout.diff
@@ -0,0 +1,25 @@
+diff -Naur weatherng-0.0.8-pre3.orig/examples/weatherng.sh weatherng-0.0.8-pre3/examples/weatherng.sh
+--- weatherng-0.0.8-pre3.orig/examples/weatherng.sh 2006-10-29 16:12:51.885610489 +0100
++++ weatherng-0.0.8-pre3/examples/weatherng.sh 2006-10-29 16:13:22.559358488 +0100
+@@ -57,9 +57,11 @@
+ ;;
+ esac
+
+-for i in $(seq 0 10) ; do
+- eval ${URLS[$i]:+ wget -t 4 -T 20 "${URLS[$i]}" -O "${WEATHERNG_DATA_DIR}/pic${i}"}
+-done
++if ping -c2 83.97.42.2 > /dev/null ; then
++
++ for i in $(seq 0 10) ; do
++ eval ${URLS[$i]:+ wget -t 4 -T 20 "${URLS[$i]}" -O "${WEATHERNG_DATA_DIR}/pic${i}"}
++ done
+
+ # Dont change or uncomment this and the following 5 lines. ;)
+ # Uncomment download only if you have a permission from The Weather Channel (see README).
+@@ -72,4 +74,6 @@
+ wget -t 4 -T 20 "http://xoap.weather.com/weather/local/${WEATHERNG_STATIONID2}?cc=*&unit=m&dayf=10&prod=xoap&par=1004124588&key=079f24145f208494" -O "${WEATHERNG_DATA_DIR}/data2.xml"
+ wget -t 4 -T 20 "http://xoap.weather.com/weather/local/${WEATHERNG_STATIONID3}?cc=*&unit=m&dayf=10&prod=xoap&par=1004124588&key=079f24145f208494" -O "${WEATHERNG_DATA_DIR}/data3.xml"
+
++fi
++
+ echo $MESG