summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Bornkessel <hd_brummy@gentoo.org>2006-03-18 16:44:06 +0000
committerJörg Bornkessel <hd_brummy@gentoo.org>2006-03-18 16:44:06 +0000
commitd18e0f094d991271ffd3448e99a938d75f54920b (patch)
tree22923efa385b2e4d1ce0e2c07af43f5bea870465 /media-plugins/vdr-weatherng
parentCentralize --as-needed filtering in wxwidgets eclass, safer and simpler. (diff)
downloadgentoo-2-d18e0f094d991271ffd3448e99a938d75f54920b.tar.gz
gentoo-2-d18e0f094d991271ffd3448e99a938d75f54920b.tar.bz2
gentoo-2-d18e0f094d991271ffd3448e99a938d75f54920b.zip
version bump
(Portage version: 2.0.54)
Diffstat (limited to 'media-plugins/vdr-weatherng')
-rw-r--r--media-plugins/vdr-weatherng/ChangeLog9
-rw-r--r--media-plugins/vdr-weatherng/Manifest18
-rw-r--r--media-plugins/vdr-weatherng/files/confd-0.0.843
-rw-r--r--media-plugins/vdr-weatherng/files/digest-vdr-weatherng-0.0.8_pre21
-rw-r--r--media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh28
-rw-r--r--media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre2-gentoo.diff53
-rw-r--r--media-plugins/vdr-weatherng/vdr-weatherng-0.0.8_pre2.ebuild58
7 files changed, 197 insertions, 13 deletions
diff --git a/media-plugins/vdr-weatherng/ChangeLog b/media-plugins/vdr-weatherng/ChangeLog
index ee388a5aa56c..f38615291757 100644
--- a/media-plugins/vdr-weatherng/ChangeLog
+++ b/media-plugins/vdr-weatherng/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/vdrplugin-weatherng
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-weatherng/ChangeLog,v 1.1 2006/03/07 23:27:21 hd_brummy Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-weatherng/ChangeLog,v 1.2 2006/03/18 16:44:06 hd_brummy Exp $
+
+*vdr-weatherng-0.0.8_pre2 (18 Mar 2006)
+
+ 18 Mar 2006; Joerg Bornkessel <hd_brummy@gentoo.org> +files/confd-0.0.8,
+ +files/vdr-weatherng-0.0.8_pre2-gentoo.diff, +files/rc-addon-0.0.8.sh,
+ +vdr-weatherng-0.0.8_pre2.ebuild:
+ version bump
*vdr-weatherng-0.0.5 (07 Mar 2006)
diff --git a/media-plugins/vdr-weatherng/Manifest b/media-plugins/vdr-weatherng/Manifest
index ad5bda2a9c77..e483a792f88a 100644
--- a/media-plugins/vdr-weatherng/Manifest
+++ b/media-plugins/vdr-weatherng/Manifest
@@ -1,19 +1,13 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 60fa4af613e2ab5dd8bc1d848eaef23c ChangeLog 512
+MD5 c10be085aa07ebea4b3bb8e0a394aa30 ChangeLog 753
MD5 ecd213d08b8b9809b4bdb46af714cf83 files/commands.weatherng.conf 119
MD5 3b502807d03a9e772d6fd3d56b6f1ae9 files/confd 482
+MD5 bc066967a68466a96a72de4a7f36a1c9 files/confd-0.0.8 1719
MD5 ae3e4eac1c26cc9d930bf6a13e2e75f6 files/digest-vdr-weatherng-0.0.5 67
+MD5 1c610c952a5270b67ecb61725aa524fc files/digest-vdr-weatherng-0.0.8_pre2 73
+MD5 3c36680437751006003e50e1b8931bc9 files/rc-addon-0.0.8.sh 676
MD5 cec36393d3093f94c0871e6694a06feb files/rc-addon.sh 532
MD5 5c16ddc47669804c5e10110f592452cc files/vdr-weatherng-0.0.5.diff 15469
+MD5 0decc3c8062c0dec3eb6daf5f4a727af files/vdr-weatherng-0.0.8_pre2-gentoo.diff 3122
MD5 7dfb137c446412814a7c98d51eceee7e metadata.xml 484
MD5 2a29186a98e3ac9a5da1ece8d0e9127f vdr-weatherng-0.0.5.ebuild 1584
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.1 (GNU/Linux)
-Comment: no further Information
-
-iD8DBQFEDhbodn07HTTCgIoRArAxAKCOctZ34Nkv5bvFg/pEfro10W8zHwCgn1yH
-zA7BmCMtBDasHahwne4wWcM=
-=4+hD
------END PGP SIGNATURE-----
+MD5 62a78ed1979c33de555e2404d3a3aabe vdr-weatherng-0.0.8_pre2.ebuild 1531
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..05e74a9665ef
--- /dev/null
+++ b/media-plugins/vdr-weatherng/files/confd-0.0.8
@@ -0,0 +1,43 @@
+# /etc/conf.d/vdr.weatherng
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-weatherng/files/confd-0.0.8,v 1.1 2006/03/18 16:44:06 hd_brummy Exp $
+
+# =================================================================================
+# 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://www.weather.com
+# 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 ar default settings; should not be changed !
+#
+# Directory to the /image DIR where the images are placed
+# allowed values: pathes
+# default: /usr/share/weatherng
+#WEATHERNG_IMAGE_DIR="/usr/share/vdr/weatherng"
+
+#
+# Directory to store downloaded weather data
+#
+# If you want change this Path,
+# you have to change the Path in file SatDownload too !!!
+# Read at first usr/share/doc/vdrplugin-weatherng-*/README
+#
+# allowed values: pathes
+# default: /var/vdr/weatherng
+#WEATHERNG_DATA_DIR="/var/vdr/weatherng"
+
+
diff --git a/media-plugins/vdr-weatherng/files/digest-vdr-weatherng-0.0.8_pre2 b/media-plugins/vdr-weatherng/files/digest-vdr-weatherng-0.0.8_pre2
new file mode 100644
index 000000000000..01b08dd211da
--- /dev/null
+++ b/media-plugins/vdr-weatherng/files/digest-vdr-weatherng-0.0.8_pre2
@@ -0,0 +1 @@
+MD5 2d67ab8b27c146f810aef8fec6e01c88 vdr-weatherng-0.0.8-pre2.tgz 177224
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..14d63a425875
--- /dev/null
+++ b/media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh
@@ -0,0 +1,28 @@
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-weatherng/files/rc-addon-0.0.8.sh,v 1.1 2006/03/18 16:44:06 hd_brummy Exp $
+#
+# 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}"
+}
+
+# for compatibility
+if [[ ${SCRIPT_API:-1} -lt 2 ]]; then
+ plugin_pre_vdr_start
+fi
diff --git a/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre2-gentoo.diff b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre2-gentoo.diff
new file mode 100644
index 000000000000..60a07834b415
--- /dev/null
+++ b/media-plugins/vdr-weatherng/files/vdr-weatherng-0.0.8_pre2-gentoo.diff
@@ -0,0 +1,53 @@
+Joerg Bornkessel <hd_brummy@gentoo.org> (18 Mar 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-17 22:49:10.677193500 +0100
++++ weatherng-0.0.8-pre2/examples/weatherng.sh 2006-03-17 22:49:28.606314000 +0100
+@@ -8,6 +8,9 @@
+ # 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
++source /usr/lib/vdr/rcscript/plugin-weatherng.sh
++
+ # Change SETUPDIR if you need.
+ SETUPDIR=/etc/vdr
+
+@@ -16,11 +19,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/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 \
+ )
+ ;;
+ 7) MESG='Téléchargement des données Météo OK'
+@@ -53,7 +56,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 +66,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&prod=xoap&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&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"
+
+ echo $MESG
diff --git a/media-plugins/vdr-weatherng/vdr-weatherng-0.0.8_pre2.ebuild b/media-plugins/vdr-weatherng/vdr-weatherng-0.0.8_pre2.ebuild
new file mode 100644
index 000000000000..8014f3365dd1
--- /dev/null
+++ b/media-plugins/vdr-weatherng/vdr-weatherng-0.0.8_pre2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2006 Gentoo Foundation.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-plugins/vdr-weatherng/vdr-weatherng-0.0.8_pre2.ebuild,v 1.1 2006/03/18 16:44:06 hd_brummy Exp $
+
+inherit vdr-plugin
+
+MY_PV="${PV/_/-}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Video Disk Recorder plugin to show weather for specified place"
+HOMEPAGE="http://beejay.vdr-developer.org/"
+SRC_URI="mirror://vdrfiles/${PN}/${MY_P}.tgz"
+
+LICENSE="GPL-2 stardock-images"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND="media-gfx/imagemagick
+ >=media-video/vdr-1.3.34"
+
+S="${WORKDIR}/weatherng-${MY_PV}"
+
+VDR_CONFD_FILE="${FILESDIR}/confd-0.0.8"
+VDR_RCADDON_FILE="${FILESDIR}/rc-addon-0.0.8.sh"
+
+PATCHES="${FILESDIR}/${P}-gentoo.diff"
+
+src_install() {
+ vdr-plugin_src_install
+
+ insinto /usr/share/vdr/weatherng/images
+ doins ${S}/images/*.png
+
+ diropts -m0755 -ovdr -gvdr
+ dodir /var/vdr/${VDRPLUGIN}
+
+ insinto /var/vdr/${VDRPLUGIN}
+ insopts -m755 -ovdr -gvdr
+ doins ${S}/examples/weatherng.sh
+}
+
+pkg_postinst() {
+ vdr-plugin_pkg_postinst
+
+ echo
+ einfo "To display the weather for your location"
+ einfo "you have to find out its ID on weather.com"
+ einfo
+ einfo "Go to http://www.weather.com and search for your city (i.e. Herne)"
+ einfo "in the list of results click on the right one and then look at its URL"
+ einfo
+ einfo "It contains a code for your city"
+ einfo "For Herne this is GMXX0056"
+ einfo
+ einfo "Now you have to enter this code in /etc/conf.d/vdr.burn WEATHERNG_STATIONID(x)"
+ echo
+}