vdr-plugin-weather-0.2.1e.orig/0000755000765700007640000000000010105705004016444 5ustar martinedv00000000000000vdr-plugin-weather-0.2.1e.orig/images/0000755000765700007640000000000010105705004017711 5ustar martinedv00000000000000vdr-plugin-weather-0.2.1e.orig/images/border.xpm0000644000765700007640000002431207763646370021750 0ustar martinedv00000000000000/* XPM */ static char * border_xpm[] = { "....................................................................................................", "....................................................................................................", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..", "....................................................................................................", "...................................................................................................."}; vdr-plugin-weather-0.2.1e.orig/images/e.xpm0000644000765700007640000002430507763646370020721 0ustar martinedv00000000000000/* XPM */ static char * e_xpm[] = { "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..+++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++......++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..........+++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..............++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.................+++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++....................+++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++........................+++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++............................++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++...............................+++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++..................................+++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++......................................++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++.......................................+++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++..................................+++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++...............................+++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++............................++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++........................+++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++....................++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.................+++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..............++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..........+++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++......++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..+++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"}; vdr-plugin-weather-0.2.1e.orig/images/se.xpm0000644000765700007640000002430607763646370021105 0ustar martinedv00000000000000/* XPM */ static char * se_xpm[] = { "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++..++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++..+++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++..+.++++++++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++....+++++++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++.....++++++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++......+++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++.......+++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++.......+.++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++.........+++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++..........++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++...........++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++...........+++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++............+.++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++...............+++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++...............++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++................++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++................+++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++.................++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++..................++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++..................+++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++..................+.++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++.....................+++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++.....................++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++......................++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.......................+++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++........................++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..................+.......+++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..........++++.++++++.++.+++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..........++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++........+++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++........++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.......++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.......++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.......++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++......++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.....++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++....++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++....++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++...++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"}; vdr-plugin-weather-0.2.1e.orig/images/sun.xpm0000644000765700007640000002430707763646370021304 0ustar martinedv00000000000000/* XPM */ static char * sun_xpm[] = { "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++..++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++..++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+.+++++++++++..++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++.++++++++++++.+.++++++++++.+.++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++..+++++++++++.+.++++++++++.+.++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++...++++++++++.++.+++++++++.+.++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++...++++++++++++.++++++++.++.++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++.+.++++++++++++.++++++++.++.++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++.+.++++++++++++.+++++++.++.+++++++++++++++..+++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++.++.+++++++++++.++++++.+++.++++++++++++++..++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++.+++.+++++++.+++++++++.+++.+++++++++++++.+.++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++.++..++++++.+++.+++++.+++.+++++++++++..+.+++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++.+++.++++++.+++.++++.++++.++++++++++.++.++++++++++++", "+++++++++++++++++++++++++++++++...+++++++++++++++.+++.+++++.++++.+++.++++.+++++++++.++..++++++++++++", "++++++++++++++++++++++++++++++++....+++++++++++++.++++.++++.++++.+++.++++.+++++++..+++.+++++++++++++", "+++++++++++++++++++++++++++++++++.++..+++++++++++.+++++.+++.++++.++.+++++.++++++.++++.++++++++++++++", "++++++++++++++++++++++++++++++++++.+++...+++++++++.++++..++.+++++.+.+++++.++++..++++.+++++++++++++++", "+++++++++++++++++++++++++++++++++++..+++...+++++++.+++++.++.+++++.+.+++++.+++..++++.++++++++++++++++", "++++++++++++++++++++++++++++++++++++..+++++..++++++.+++++.+.+++++..++++++.++.+++++.+++++++++++++++++", "++++++++++++++++++++++++++++++++++++++.++++++..++++.++++++..+++....++++++...++++++.+++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++.+++++++..+++.+++++....++++++.......++++++.++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++..+++++++..+.+++..++++++++++++++..++++++.+++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++..+++++++....+.+++++++++++++++++..++++.++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++.++++++++...+++++++++++++++++++..++.+++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++.++++++++.+++++++++++++++++++++....++++++++...........++", "+++++++++++++++++++++++++++++++++++++++++++++.++++++..++++++++++++++++++++++.........++++++++++..+++", "++++++++++++++++++++++++++++++++++++++++++++++..++++.++++++++++++++++++++++++.+++++++++++++++...++++", "+++++++++++++++++++++++++++++++++++++++++++++++..++.+++++++++++++++++++++++++.+++++++++++++..+++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++.+.++++....++++++++....++++++.++++++++++..+++++++++", "++++++++++++++++++++++++++...............++++++++...+++....+.++++++.+..+.+++++.++++++++..+++++++++++", "++++++++++++++++++++++++++++..++++++++++++.........++++.+..+.+++++.++..+.+++++.++++++..+++++++++++++", "++++++++++++++++++++++++++++++..++++++++++++++++++.++++.+....++++++......+++++.++++.++++++++++++++++", "++++++++++++++++++++++++++++++++...+++++++++++++++.+++++....+++.+.+++..++++++++...++++++++++++++++++", "+++++++++++++++++++++++++++++++++++..+++++++++++++.++...+++++++...++++++++.......+++++++++++++++++++", "+++++++++++++++..........++++++++++++..............+.+++..+++++++++++++++.++++.....+++++++++++++++++", "+++++++++++++..++++++++++...++++++++....++++++++++...++++.+++.+++++++.++.+++++..++++...+++++++++++++", "+++++++++++.++++++++++++++++..++++..+++++++++++++++++..++++++...+++...++.+++++..++++++++...+++++++++", "++++++++++.+++++++++++++++++++.+..+++++++++++++++++++++.++++++.....+.++++.+++...+++++++++++...++++++", "+++++++++.+++++++++++++++++++++.++++++++++++++++++++++++..++++........++++...+.++++++++++++++++...++", "+++++++++.++++++++++++++++++++++++++++++++++++++++++++++++......++++++.....+++.++++++++++++........+", "++++++++.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.............+++++++++++", "++++++++.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..+++++++++++++++++++", "+++++++++.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++++", "+++++++++...++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++++++++", "+++....+++..+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++", "++.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++", "+.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++++++", ".+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++", ".+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++++++++", "+.++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++++++++", "++.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++++++++++", "+++..++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+..+++++++++++++++++++++++", "+++++...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++++++++++++", "++++++++.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.+++++++++++++++++++++++++++", "+++++++++++++.+++++++++++++++++++++++++++.+++++++++++++++++++++++++++++.++++++++++++++++++++++++++++", "+++++++++++++.++++++++++++++++++++++++++.++..+++++++++++++++++++++++++..++++++++++++++++++++++++++++", "++++++++++++++..++++++++++++++++++++++..+++++...+++++++++++++++++++++..+++++++++++++++++++++++++++++", "++++++++++++++++..+++++++++++++++++...++++++++++...++++++++++++++++..+++++++++++++++++++++++++++++++", "++++++++++++++++++....++++++++++...+++++++++++++++++...+++++++++...+++++++++++++++++++++++++++++++++", "++++++++++++++++++++++..........++++++++++++++++++++++++........++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"}; vdr-plugin-weather-0.2.1e.orig/images/windrose.xpm0000644000765700007640000002431407763646370022327 0ustar martinedv00000000000000/* XPM */ static char * windrose_xpm[] = { "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++....+++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++....+++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++....+++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++....+++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++....+++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++......++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++......++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++......++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++......++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++........+++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++........+++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++........+++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++........+++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++........+++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++.++++++++++++..........++++++++++++.+++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++..+++++++++++..........+++++++++++..+++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++...+++++++++..........+++++++++...++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++.....+++++++..........+++++++.....++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++......++++............++++......+++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++.......+++............+++.......+++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++........+............+........++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++.............................++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++............................+++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++..........................++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++..........................++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++........................+++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++........................+++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++................................+++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++..........................................++++++++++++++++++++++++++++", "++++++++++++++++++++++++++..................................................++++++++++++++++++++++++", "+++++++++++++++++++++............................................................+++++++++++++++++++", "+++++++++++++++++....................................................................+++++++++++++++", "+++++++++++++............................................................................+++++++++++", "++++++++++++++++......................................................................++++++++++++++", "+++++++++++++++++++++............................................................+++++++++++++++++++", "+++++++++++++++++++++++++....................................................+++++++++++++++++++++++", "++++++++++++++++++++++++++++++..........................................++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++..................................++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++........................+++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++........................+++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++.........................++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++..........................++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++............................+++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++............................+++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++........+............+........++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++.......+++............+++.......+++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++......++++............++++......+++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++.....+++++++..........+++++++.....++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++...+++++++++..........+++++++++...++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++...++++++++++..........++++++++++...+++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++.++++++++++++..........++++++++++++.+++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++........+++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++........+++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++........+++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++........+++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++........+++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++......++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++......++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++......++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++......++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++....+++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++....+++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++....+++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++....+++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++....+++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++..++++++++++++++++++++++++++++++++++++++++++++++++", "+++++++++++++++++++++++++++++++++++++++++++++++++++.++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++", "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"}; vdr-plugin-weather-0.2.1e.orig/.dependencies0000644000765700007640000000102007764616303021110 0ustar martinedv00000000000000weather.o: weather.c weather.h setup.h metarReader.h display.h \ weatherUtil.h simpleDisplay.h i18n.h setup.o: setup.c setup.h i18n.o: i18n.c i18n.h weatherUtil.o: weatherUtil.c weatherUtil.h i18n.h display.o: display.c display.h metarReader.h setup.h weatherUtil.h \ weather.h simpleDisplay.h images/windrose.xpm images/e.xpm \ images/se.xpm images/sun.xpm images/border.xpm metarReader.o: metarReader.c metarReader.h setup.h simpleDisplay.o: simpleDisplay.c simpleDisplay.h metarReader.h setup.h \ weatherUtil.h weather.h vdr-plugin-weather-0.2.1e.orig/COPYING0000644000765700007640000004313107763646370017533 0ustar martinedv00000000000000 GNU GENERAL PUBLIC LICENSE Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Also add information on how to contact you by electronic and paper mail. If the program is interactive, make it output a short notice like this when it starts in an interactive mode: Gnomovision version 69, Copyright (C) year name of author Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program. You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names: Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Library General Public License instead of this License. vdr-plugin-weather-0.2.1e.orig/HISTORY0000644000765700007640000000221207763646370017557 0ustar martinedv00000000000000VDR Plugin 'weather' Revision History ------------------------------------- 2003-09-03: Version 0.2.1e - Added french translation. Thanks to Eric Legigan. 2003-07-24: Version 0.2.1d - Added finnish translation. Thanks to Bror Heinola. 2003-06-21: Version 0.2.1c - Removed developer code 2003-06-16: Version 0.2.1b - Fixed preference menu. Thanks to Andreas Kool - Better string initializing to avoid compiler warnings. Thanks to Andreas Kool. - Fixed pressure unit. Thanks to Matthias Raus 2003-04-07: Version 0.2.1 -New option: use passive ftp. -Windchill added. -Minor code changes. 2003-04-01: Version 0.2.0 - Now you can choose between two layouts: simple and graphical. - Added icons for winddirection and weather condition. Weather condition does yet not really work, the sun will always shine :) - The simple layout is now a bit more pleasing. - A couple of bugfixes. - Better localization 2003-02-21: Version 0.1.1 - Now reads saved preferences. - Segmentation Fault fixed, when no internet is available. - Preferece menu entries fixed (i18n). 2003-02-21: Version 0.1.0b - README added. 2003-02-21: Version 0.1.0 - Initial revision. vdr-plugin-weather-0.2.1e.orig/Makefile0000644000765700007640000000374307763646370020145 0ustar martinedv00000000000000# # Makefile for a Video Disk Recorder plugin # # $Id$ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. # By default the main source file also carries this name. # PLUGIN = weather ### The version number of this plugin (taken from the main source file): VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g') ### The C++ compiler and options: CXX ?= g++ CXXFLAGS ?= -O2 -Wall -Woverloaded-virtual ### The directory environment: DVBDIR = ../../../../DVB VDRDIR = ../../.. LIBDIR = ../../lib TMPDIR = /tmp ### Allow user defined options to overwrite defaults: -include $(VDRDIR)/Make.config ### The version number of VDR (taken from VDR's "config.h"): VDRVERSION = $(shell grep 'define VDRVERSION ' $(VDRDIR)/config.h | awk '{ print $$3 }' | sed -e 's/"//g') ### The name of the distribution archive: ARCHIVE = $(PLUGIN)-$(VERSION) PACKAGE = vdr-$(ARCHIVE) ### Includes and Defines (add further entries here): INCLUDES += -I$(VDRDIR)/include -I$(DVBDIR)/include -I./images DEFINES += -D_GNU_SOURCE -DPLUGIN_NAME_I18N='"$(PLUGIN)"' LIBS = -lftp -lmetar ### The object files (add further files here): OBJS = $(PLUGIN).o setup.o i18n.o weatherUtil.o display.o metarReader.o simpleDisplay.o ### Implicit rules: %.o: %.c $(CXX) $(CXXFLAGS) -c $(DEFINES) $(INCLUDES) $< # Dependencies: MAKEDEP = g++ -MM -MG DEPFILE = .dependencies $(DEPFILE): Makefile @$(MAKEDEP) $(DEFINES) $(INCLUDES) $(OBJS:%.o=%.c) > $@ -include $(DEPFILE) ### Targets: all: libvdr-$(PLUGIN).so libvdr-$(PLUGIN).so: $(OBJS) $(CXX) $(CXXFLAGS) -shared $(OBJS) $(LIBS) -o $@ @cp $@ $(LIBDIR)/$@.$(VDRVERSION) dist: clean @-rm -rf $(TMPDIR)/$(ARCHIVE) @mkdir $(TMPDIR)/$(ARCHIVE) @cp -a * $(TMPDIR)/$(ARCHIVE) @tar czf $(PACKAGE).tgz -C $(TMPDIR) $(ARCHIVE) @-rm -rf $(TMPDIR)/$(ARCHIVE) @echo Distribution package created as $(PACKAGE).tgz clean: @-rm -f $(OBJS) $(DEPFILE) *.so *.tgz core* *~ vdr-plugin-weather-0.2.1e.orig/README0000644000765700007640000000317707763646370017366 0ustar martinedv00000000000000This is a "plugin" for the Video Disk Recorder (VDR). Written by: Steffen Moldaner Project's homepage: http://www.moldaner.de/vdr/ Latest version available at: http://www.moldaner.de/vdr/download/ See the file COPYING for license information. Description: Displays the current weather conditions for a selected location. It gets the METAR data from ftp://weather.noaa.gov. Get the station id for yout location at http://weather.noaa.gov/. Default is "EDDF" (Frankfurt / M-Flughafen, Germany). Requirements: ------------- -METAR Decoder Software Package Library 0.11(http://limulus.net/mdsplib/) -ftplib 3.1-1 (http://nbpfaus.net/~pfau/ftplib/) Run ldconfig after installation. Installation: ------------- Just type "make plugins" at VDR directory level. Run VDR and edit the station id in prefrences for your location. Preferences: ------------- -Station id The id for your location. Get it from http://weather.noaa.gov/. Default is EDDF. -Update time Time to update the metar data in minutes. Default is 30. -Username Username to login at ftp://weather.noaa.gov. Default is anonymous. -Password The password to login at ftp://weather.noaa.gov. This should be your e-mail, as always by anonymous login. -Use passive connection If true a passive ftp-connection is used to download metar. Behind some routers vdr will will crash (Bug in ftplib) if disabled. Default is true. -Display Choose between simple Text and a graphical layout. FAQ ------------- There are some display problems with the dvb-1.0.0-pre3 driver and CVS versions. Please update your driver to dvb-1.0.0 or newer. vdr-plugin-weather-0.2.1e.orig/configure-stamp0000644000765700007640000000000007764616303021504 0ustar martinedv00000000000000vdr-plugin-weather-0.2.1e.orig/display.c0000644000765700007640000001074507763646370020316 0ustar martinedv00000000000000 #include "display.h" #include "windrose.xpm" #include "e.xpm" #include "se.xpm" #include "sun.xpm" #include "border.xpm" const static char YES = '.'; //const static char *POSSIBLE_CHARS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ°"; const static int gapY = 2; const static int gapX = 5; const static int lineHeight = 2; cWeatherOsd::cWeatherOsd(cUpdate *metarReader) : cSimpleWeatherOsd(metarReader) { } void cWeatherOsd::initBitmap(cBitmap &b, char*xpm[], eDvbColor col, bool setBg) { for (int y=0; y<100; y++) { for (int x=0; x<100; x++) { if (setBg) { b.SetPixel(x, y, (xpm[y][x] == YES) ? col : clrBackground); } else { if (xpm[y][x] == YES) { b.SetPixel(x, y, col); } } } } } void cWeatherOsd::initEastBitmap(cBitmap &b, eDvbColor col) { for (int y=0; y<100; y++) { for (int x=0; x<100; x++) { if (e_xpm[y][x] == YES) { b.SetPixel(x, y, col); } } } } void cWeatherOsd::initNorthBitmap(cBitmap &b, eDvbColor col) { for (int y=0; y<100; y++) { for (int x=0; x<100; x++) { if (e_xpm[y][x] == YES) { b.SetPixel(y, 100 - x, col); } } } } void cWeatherOsd::initWestBitmap(cBitmap &b, eDvbColor col) { for (int y=0; y<100; y++) { for (int x=99; x>=0; x--) { if (e_xpm[y][x] == YES) { b.SetPixel(100 - x, y, col); } } } } void cWeatherOsd::initSouthBitmap(cBitmap &b, eDvbColor col) { for (int y=0; y<100; y++) { for (int x=0; x<100; x++) { if (e_xpm[y][x] == YES) { b.SetPixel(y, x, col); } } } } void cWeatherOsd::initSouthEastBitmap(cBitmap &b, eDvbColor col) { for (int y=0; y<100; y++) { for (int x=0; x<100; x++) { if (se_xpm[y][x] == YES) { b.SetPixel(x, y, col); } } } } void cWeatherOsd::initNorthEastBitmap(cBitmap &b, eDvbColor col) { for (int y=0; y<100; y++) { for (int x=0; x<100; x++) { if (se_xpm[y][x] == YES) { b.SetPixel(y, 100 - x, col); } } } } void cWeatherOsd::initNorthWestBitmap(cBitmap &b, eDvbColor col) { for (int y=0; y<100; y++) { for (int x=0; x<100; x++) { if (se_xpm[y][x] == YES) { b.SetPixel(100-x, 100-y, col); } } } } void cWeatherOsd::initSouthWestBitmap(cBitmap &b, eDvbColor col) { for (int y=0; y<100; y++) { for (int x=99; x>=0; x--) { if (se_xpm[y][x] == YES) { b.SetPixel(100 - x, y, col); } } } } void cWeatherOsd::initBorderBitmap(cBitmap &b, eDvbColor col) { for (int y=0; y<100; y++) { for (int x=99; x>=0; x--) { if (border_xpm[x][y] == YES) { b.SetPixel(x, y, col); } } } } void cWeatherOsd::printMetar (cOsdBase *osd, Decoded_METAR *Mptr, int x, int y) { cFont *font = new cFont((eDvbFont)0); osd->SetFont((eDvbFont)0); //int cy = 0; int lineY = y; osd->Text(x + 80 - font->Width(tr("Weather")) - gapX, y, tr("Weather")); lineY += font->Height(tr("Weather")) + gapY; osd->Fill(x, lineY, x+80, lineY+lineHeight, clrBlue); osd->Fill(x+80, lineY, x+80+lineHeight, lineY+20, clrBlue); drawWeather(osd, Mptr, x, lineY+20); x += 120; osd->Text(x + 80 - font->Width(tr("Wind")) - gapX, y, tr("Wind")); osd->Fill(x, lineY, x+80, lineY+lineHeight, clrBlue); osd->Fill(x+80, lineY, x+80+lineHeight, lineY+20, clrBlue); if (Mptr->winData.windDir != MAXINT) { drawWindRose(osd, Mptr->winData.windDir, x, lineY+20); } x += 120; drawData(osd, Mptr, 0, font, x, y); } void cWeatherOsd::drawWeather(cOsdBase *osd, Decoded_METAR *mptr, int x, int y) { //char* filename; // sprintf("%s%s.xpm", coverage[mptr->], phenomen[]); cBitmap weather(100, 100, 3, false); initBitmap(weather, sun_xpm, clrYellow, true); initBorderBitmap(weather, clrBlue); osd->SetBitmap(x, y, weather); } void cWeatherOsd::drawWindRose(cOsdBase *osd, int degree, int x, int y) { cBitmap windRose(100, 100, 3, false); initBitmap(windRose, windrose_xpm, clrYellow, true); if (degree < 22.5) { initNorthBitmap(windRose, clrBlue); } else if (degree < 67.5){ initNorthEastBitmap(windRose, clrBlue);; } else if (degree < 112.5) { initEastBitmap(windRose, clrBlue);; } else if (degree < 157.5) { initSouthEastBitmap(windRose, clrBlue);; } else if (degree < 202.5){ initSouthBitmap(windRose, clrBlue);; } else if (degree < 247.5) { initSouthWestBitmap(windRose, clrBlue);; } else if (degree < 292.5) { initWestBitmap(windRose, clrBlue);; } else if (degree < 337.5){ initNorthWestBitmap(windRose, clrBlue);; } else { initNorthBitmap(windRose, clrBlue);; } initBorderBitmap(windRose, clrBlue); osd->SetBitmap(x, y, windRose); } vdr-plugin-weather-0.2.1e.orig/display.h0000644000765700007640000000251207763646370020314 0ustar martinedv00000000000000#ifndef WEATHER_DISPLAY_H #define WEATHER_DISPLAY_H #include "metarReader.h" #include "weatherUtil.h" #include "weather.h" #include "simpleDisplay.h" #include class cWeatherOsd : public cSimpleWeatherOsd { public: cWeatherOsd(cUpdate *metarReader); protected: virtual void printMetar (cOsdBase *osd, Decoded_METAR *Mptr, int x, int y); void initWeatherBitmap(cBitmap &b, Decoded_METAR *mptr, eDvbColor col, bool setBg); void initBitmap(cBitmap &b, char *xpm[], eDvbColor col, bool setBg); void initNorthBitmap(cBitmap &b, eDvbColor col); void initSouthBitmap(cBitmap &b, eDvbColor col); void initWestBitmap(cBitmap &b, eDvbColor col); void initEastBitmap(cBitmap &b, eDvbColor col); void initNorthWestBitmap(cBitmap &b, eDvbColor col); void initNorthEastBitmap(cBitmap &b, eDvbColor col); void initSouthWestBitmap(cBitmap &b, eDvbColor col); void initSouthEastBitmap(cBitmap &b, eDvbColor col); void initBorderBitmap(cBitmap &b, eDvbColor col); void drawWindRose(cOsdBase *osd, int degree, int x, int y); void drawWeather(cOsdBase *osd, Decoded_METAR *mptr, int x, int y); std::string cWeatherOsd::getIntensity(const std::string weather); std::string cWeatherOsd::getPrecipitation(const std::string weather); std::string cWeatherOsd::getCoverage(const std::string weather); }; #endif //WEATHER_DISPLAY_H vdr-plugin-weather-0.2.1e.orig/i18n.c0000644000765700007640000001612507763646370017426 0ustar martinedv00000000000000/* * i18n.c: Internationalization * * See the README file for copyright information and how to reach the author. * * $Id: i18n.c 1.3 2002/06/23 13:05:59 kls Exp $ */ #include "i18n.h" const tI18nPhrase Phrases[] = { { "Weather", "Wetter", "",// TODO "",// TODO "",// TODO "",// TODO "Météo", "",// TODO "Sää", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "Station Id", "Stations Id", "",// TODO "",// TODO "",// TODO "",// TODO "Station Id", "",// TODO "Asematunnus", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "Username", "Anmeldename", "",// TODO "",// TODO "",// TODO "",// TODO "Utilisateur", "",// TODO "Käyttäjätunnus", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "Password (e-mail)", "Passwort (E-Mail)", "",// TODO "",// TODO "",// TODO "",// TODO "Mot de passe (e-mail)", "",// TODO "Salasana (e-mail)", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "Updatetime (min)", "Aktualisierungsintervall (min)", "",// TODO "",// TODO "",// TODO "",// TODO "Mise à jour (min)", "",// TODO "Päivitysväli (min)", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "Wind", "Wind", "",// TODO "",// TODO "",// TODO "",// TODO "Vent", "",// TODO "Tuuli", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "Wind speed", "Windgeschwindigkeit", "",// TODO "",// TODO "",// TODO "",// TODO "Vitesse du vent", "",// TODO "Tuulen nopeus", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "Wind direction", "Windrichtung", "",// TODO "",// TODO "",// TODO "",// TODO "Direction du vent", "",// TODO "Tuulen suunta", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "Temperature", "Temperatur", "",// TODO "",// TODO "",// TODO "",// TODO "Température", "",// TODO "Lämpötila", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "Windchill", "Gefühlte Temperatur", "",// TODO "",// TODO "",// TODO "",// TODO "Température du vent", "",// TODO "Tuulivaikutus", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "Dew point", "Taupunkt", "",// TODO "",// TODO "",// TODO "",// TODO "Point de condensation", "",// TODO "Kastepiste", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "Humidity", "Luftfeuchte", "",// TODO "",// TODO "",// TODO "",// TODO "Humidité", "",// TODO "Ilmankosteus", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "Altimeter", "Luftdruck", "",// TODO "",// TODO "",// TODO "",// TODO "Altimètre ", "",// TODO "Ilmanpaine", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "N", "N", "",// TODO "",// TODO "",// TODO "",// TODO "Nord", "",// TODO "Pohjoinen", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "NE", "NO", "",// TODO "",// TODO "",// TODO "",// TODO "N-O", "",// TODO "Koillinen", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "E", "O", "",// TODO "",// TODO "",// TODO "",// TODO "Est", "",// TODO "Itä", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "SE", "SO", "",// TODO "",// TODO "",// TODO "",// TODO "S-E", "",// TODO "Kaakko", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "S", "S", "",// TODO "",// TODO "",// TODO "",// TODO "Sud", "",// TODO "Etelä", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "SW", "SW", "",// TODO "",// TODO "",// TODO "",// TODO "S-O", "",// TODO "Lounas", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "W", "W", "",// TODO "",// TODO "",// TODO "",// TODO "Ouest", "",// TODO "Länsi", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "NW", "NW", "",// TODO "",// TODO "",// TODO "",// TODO "N-W", "",// TODO "Luode", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "Display", "Anzeige", "",// TODO "",// TODO "",// TODO "",// TODO "Affichage", "",// TODO "Näyttö", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "Simple", "Einfach", "",// TODO "",// TODO "",// TODO "",// TODO "Simple", "",// TODO "Yksinkertainen", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "Advanced", "Erweitert", "",// TODO "",// TODO "",// TODO "",// TODO "Avancé", "",// TODO "Laajennettu", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "Displays the current weather conditons.", "Zeigt das aktuelle Wetter", "",// TODO "",// TODO "",// TODO "",// TODO "Affiche la météo courante", "",// TODO "Näyttää tämänhetkisen säätilan", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "On", "An", "",// TODO "",// TODO "",// TODO "",// TODO "En marche", "",// TODO "Päällä", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "Off", "Aus", "",// TODO "",// TODO "",// TODO "",// TODO "Arrêt", "",// TODO "Poissa", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "Use passive connection", "Benutzte passive Verbindung", "",// TODO "",// TODO "",// TODO "",// TODO "Utiliser une connection passive", "",// TODO "Käytä passiivista yhteyttä", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { "No Data available", "Keine Daten verfügbar", "",// TODO "",// TODO "",// TODO "",// TODO "Aucune donnée utilisable", "",// TODO "Ei tietoja saatavilla", "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO "",// TODO }, { NULL } }; vdr-plugin-weather-0.2.1e.orig/i18n.h0000644000765700007640000000043607763646370017431 0ustar martinedv00000000000000/* * i18n.h: Internationalization * * See the README file for copyright information and how to reach the author. * * $Id: i18n.h 1.2 2002/05/11 14:48:16 kls Exp $ */ #ifndef _I18N__H #define _I18N__H #include extern const tI18nPhrase Phrases[]; #endif //_I18N__H vdr-plugin-weather-0.2.1e.orig/icons.c0000644000765700007640000000202107763646370017750 0ustar martinedv00000000000000cFont::tPixelData Symbols[][28] = { { // Up arrow 22, 26, 0x00000000, // ........................... 0x00000000, // ........................... 0x00000000, // ........................... 0x00030000, // ................**.......... 0x00078000, // ...............****......... 0x003FC000, // ..............******........ 0x0000FF00, // .............********....... 0x0001FF80, // ............**********...... 0x0003FFC0, // ...........************..... 0x0007FFE0, // ..........**************.... 0x000FFFF0, // .........****************... 0x001FFFF8, // ........******************.. 0x003FFFFC, // .......********************. 0x007FFFFE, // ......********************** 0x0000FF00, // .....************************ ....************************** ...************.....***********... ..********...............*******.. .****........................****. **..............................** }vdr-plugin-weather-0.2.1e.orig/metarReader.c0000644000765700007640000000625207763646370021102 0ustar martinedv00000000000000#include "metarReader.h" static const char *host = "weather.noaa.gov"; static const char *metarDir = "/data/observations/metar/stations/"; cUpdate::cUpdate(cWeatherSetup *setup) { this->setup = setup; active = false; } cUpdate::~cUpdate() { if (active) { active = false; Cancel(3); } } inline const char *cUpdate::getMetar() { if (fetched) { return metar; } else { throw NoDataAvailable(); } } Decoded_METAR *cUpdate::getDecodedMetar() { if (fetched) { return &decodedMetar; } else { throw NoDataAvailable(); } } inline const char *cUpdate::getDate() { if (fetched) { return date; } else { throw NoDataAvailable(); } } bool cUpdate::isDataAvailable() { return fetched; } void cUpdate::StartUpdate() { if (!active) { Start(); } else { active = false; Cancel(3); usleep(250); Start(); } } void cUpdate::Action(void) { dsyslog("weather Thread started (pid=%d)", getpid()); active = true; do { updateWeatherData(); if (setup->updateTime > 0) { for (long i = 0; active && i < setup->updateTime * 60 * 2; i++) { usleep(500000); } } } while (active && setup->updateTime > 0); active = false; dsyslog("weather Thread ended (pid=%d)", getpid()); Cancel(0); } void cUpdate::updateWeatherData() { char filename[150]; netbuf *conn = NULL; netbuf *nData = NULL; FtpInit(); dsyslog("Connectiong %s.", host); if (FtpConnect(host, &conn) == 0) { dsyslog("Could not connect server: %s", host); logLastResponse(conn); return; } logLastResponse(conn); dsyslog("Login user [%s].", setup->user); if (FtpLogin(setup->user, setup->pwd, conn) == 0) { dsyslog("Could not login user: %s", setup->user); logLastResponse(conn); FtpQuit(conn); return; } logLastResponse(conn); dsyslog("Setting connection mode: %s", (setup->passiveFTP ? "PASV" : "PORT")); if (FtpOptions(FTPLIB_CONNMODE, (setup->passiveFTP ? FTPLIB_PASSIVE : FTPLIB_PORT), conn) == 0) { dsyslog("Could not set connection mode %s.", (setup->passiveFTP ? "PASV" : "PORT")); logLastResponse(conn); FtpQuit(conn); return; } sprintf(filename, "%s%s.TXT", metarDir, setup->stationId); dsyslog("Getting %s.", filename); if (FtpAccess(filename, FTPLIB_FILE_READ, FTPLIB_ASCII, conn, &nData) == 0) { dsyslog("Could not acces file: %s", filename); logLastResponse(conn); FtpQuit(conn); return; } logLastResponse(conn); dsyslog("Reading date."); if (FtpRead(date, 1024, nData) == 0) { dsyslog("Could not read metar"); logLastResponse(conn); FtpQuit(conn); return; } dsyslog("Reading metar."); if (FtpRead(metar, 1024, nData) == 0) { dsyslog("Could not read metar"); logLastResponse(conn); FtpQuit(conn); return; } logLastResponse(conn); dsyslog("Closing connection."); if (FtpClose(nData) == 0) { dsyslog("Could not close file: %s", filename); logLastResponse(conn); FtpQuit(conn); return; } logLastResponse(conn); dsyslog("Fetched METAR: %s", metar); DcdMETAR(metar, &decodedMetar); char tmp[3000]; sprint_metar(tmp, &decodedMetar); dsyslog("Decoded METAR: %s", tmp); fetched = true; FtpQuit(conn); } void cUpdate::logLastResponse(netbuf *conn) { dsyslog("Response was: \n%s", FtpLastResponse(conn)); } vdr-plugin-weather-0.2.1e.orig/metarReader.h0000644000765700007640000000143407763646370021104 0ustar martinedv00000000000000#ifndef METAR_READER_H #define METAR_READER_H #include #include #include #include "setup.h" #ifndef _FTPLIB_NO_COMPAT #define _FTPLIB_NO_COMPAT #endif extern "C" { #include #include } class cUpdate : public cThread { private: bool active; bool fetched; char metar[1024]; char date[1024]; cWeatherSetup *setup; Decoded_METAR decodedMetar; public: cUpdate(cWeatherSetup *setup); ~cUpdate(); virtual void StartUpdate(); const char *getMetar(); Decoded_METAR *getDecodedMetar(); const char *getDate(); bool isDataAvailable(); class NoDataAvailable {}; protected: virtual void Action(void); virtual void updateWeatherData(); void logLastResponse(netbuf *conn); }; #endif //METAR_READER_H vdr-plugin-weather-0.2.1e.orig/setup.c0000644000765700007640000000030107763646370017774 0ustar martinedv00000000000000#include "setup.h" cWeatherSetup::cWeatherSetup(void) : updateTime(30){ strcpy(stationId, "EDDF"); strcpy(user, "anonymous"); strcpy(pwd, "name@host.com"); display = 0; passiveFTP = 1; } vdr-plugin-weather-0.2.1e.orig/setup.h0000644000765700007640000000040507763646370020006 0ustar martinedv00000000000000#ifndef WEATHER_SETUP_H #define WEATHER_SETUP_H #include class cWeatherSetup { public: char stationId[5]; char user[100]; char pwd[100]; int updateTime; int display; int passiveFTP; cWeatherSetup(void); }; #endif //WEATHER_SETUP_H vdr-plugin-weather-0.2.1e.orig/simpleDisplay.c0000644000765700007640000001255307763646370021467 0ustar martinedv00000000000000#include "simpleDisplay.h" const static char YES = '.'; const static int gapY = 2; const static int gapX = 5; const static int lineHeight = 2; cSimpleWeatherOsd::cSimpleWeatherOsd(cUpdate *metarReader) { osd = NULL; color = clrRed; this->metarReader = metarReader; } cSimpleWeatherOsd::~cSimpleWeatherOsd() { delete osd; } void cSimpleWeatherOsd::Show(void) { osd = cOsd::OpenRaw(50, 50); if (osd) { osd->Create(0, 240, 612, 250, 4); osd->AddColor(clrBackground); osd->AddColor(clrRed); osd->AddColor(clrGreen); osd->AddColor(clrYellow); osd->AddColor(clrBlue); osd->Clear(); if (metarReader->isDataAvailable()) { Decoded_METAR *decodedMetar = metarReader->getDecodedMetar(); this->printMetar(osd, decodedMetar, 10, 250); } else { osd->Text(10, 250, tr("No Data available")); } osd->Flush(); } } eOSState cSimpleWeatherOsd::ProcessKey(eKeys Key) { eOSState state = cOsdObject::ProcessKey(Key); if (state == osUnknown) { switch (Key & ~k_Repeat) { case kOk: return osEnd; case kBack: return osEnd; default: return state; } state = osContinue; } return state; } void cSimpleWeatherOsd::printMetar (cOsdBase *osd, Decoded_METAR *Mptr, int x, int y) { cFont *font = new cFont((eDvbFont)0); osd->SetFont((eDvbFont)0); drawData(osd, Mptr, 0, font, x, y); } int cSimpleWeatherOsd::calculateMaxDescriptionFontWidth(measurement measurements[], int size, cFont *font) { int maxSize = 0; int strSize = 0; for (int i = 0; i< size; i++) { strSize = font->Width(measurements[i].description); if (strSize > maxSize) { maxSize = strSize; } } return maxSize; } int cSimpleWeatherOsd::calculateMaxValueFontWidth(measurement measurements[], int size, cFont *font) { int maxSize = 0; int strSize = 0; for (int i = 0; i< size; i++) { strSize = font->Width(measurements[i].value); if (strSize > maxSize) { maxSize = strSize; } } return maxSize; } void cSimpleWeatherOsd::drawData(cOsdBase *osd, Decoded_METAR *Mptr, int cy, cFont *font, int x, int y) { measurement measurements[10]; for(int i=0; i<10; i++) { *measurements[i].description = 0; *measurements[i].value = 0; } if ( Mptr->stnid[0] != '\0' ) { sprintf(measurements[cy].description, "%s", Mptr->stnid); } if ( Mptr->ob_hour != MAXINT && Mptr->ob_minute != MAXINT ) { sprintf(measurements[cy].description, "%s, %d:%d", measurements[cy].description, Mptr->ob_hour, Mptr->ob_minute); } cy++; sprintf(measurements[cy].description, "%s", tr("Temperature")); if ( Mptr->temp != MAXINT ) { sprintf(measurements[cy].value, "%d °C", Mptr->temp); } else { sprintf(measurements[cy].value, "%s", tr("No Data")); } cy++; sprintf(measurements[cy].description, "%s", tr("Windchill")); if (Mptr->temp != MAXINT && Mptr->winData.windSpeed != MAXINT) { sprintf(measurements[cy].value, "%d °C", cWeatherUtil::calculateWindChill(Mptr->temp, Mptr->winData.windSpeed)); } else { sprintf(measurements[cy].value, "%s", tr("No Data")); } cy++; sprintf(measurements[cy].description, "%s", tr("Dew point")); if ( Mptr->dew_pt_temp != MAXINT ) { sprintf(measurements[cy].value, "%d °C", Mptr->dew_pt_temp); } else { sprintf(measurements[cy].value, "%s", tr("No Data")); } cy++; sprintf(measurements[cy].description, "%s", tr("Wind speed")); if ( Mptr->winData.windSpeed != MAXINT && Mptr->winData.windUnits[0] != '\0') { sprintf(measurements[cy].value, "%d %s",Mptr->winData.windSpeed, Mptr->winData.windUnits); } else { sprintf(measurements[cy].value, "%s", tr("No Data")); } cy++; sprintf(measurements[cy].description, "%s", tr("Wind direction")); if (Mptr->winData.windDir != MAXINT) { sprintf(measurements[cy].value, "%d° (%s)",Mptr->winData.windDir, cWeatherUtil::calculateWindDirectionString(Mptr->winData.windDir)); } else { sprintf(measurements[cy].value, "%s", tr("No Data")); } cy++; sprintf(measurements[cy].description, "%s", tr("Humidity")); if ( Mptr->temp != MAXINT && Mptr->dew_pt_temp != MAXINT) { int hum = cWeatherUtil::calculateHumidity(Mptr->temp, Mptr->dew_pt_temp); sprintf(measurements[cy].value, "%i %%", hum); } else { sprintf(measurements[cy].value, "%s", tr("No Data")); } cy++; sprintf(measurements[cy].description, "%s", tr("Altimeter")); if ( Mptr->A_altstng ) { sprintf(measurements[cy].value, "%.2f inch", Mptr->inches_altstng ); } else if ( Mptr->Q_altstng ) { sprintf(measurements[cy].value, "%d hPa", Mptr->hectoPasc_altstng ); } else{ sprintf(measurements[cy].value, "%s", tr("No Data")); } int maxSize = x + calculateMaxDescriptionFontWidth(measurements, cy, font) + gapX; osd->Text(maxSize-font->Width(measurements[0].description)-gapX, y, measurements[0].description); y += font->Height(measurements[0].description) + gapY; int lineY = y; osd->Fill(x, y, maxSize+gapX, y+lineHeight, clrBlue); y += lineHeight+gapY; for (int i=1; i<=cy; i++) { osd->Text(maxSize-font->Width(measurements[i].description)-gapX, y, measurements[i].description); osd->Text(maxSize+lineHeight+gapX+gapX, y, measurements[i].value); osd->Fill(maxSize, y+(font->Height(measurements[0].description)/2), maxSize+gapX, y+(font->Height(measurements[0].description)/2)+lineHeight, clrBlue); y += font->Height(measurements[0].description) + gapY; } osd->Fill(maxSize+gapX, lineY, maxSize+gapX+lineHeight, y, clrBlue); } vdr-plugin-weather-0.2.1e.orig/simpleDisplay.h0000644000765700007640000000163207763646370021470 0ustar martinedv00000000000000#ifndef SIMPLE_WEATHER_DISPLAY_H #define SIMPLE_WEATHER_DISPLAY_H #include "metarReader.h" #include "weatherUtil.h" #include "weather.h" struct measurement { char description[500]; char value[500]; }; class cSimpleWeatherOsd : public cOsdObject { public: cSimpleWeatherOsd(cUpdate *metarReader); ~cSimpleWeatherOsd(); virtual void Show(void); virtual eOSState ProcessKey(eKeys Key); protected: cOsdBase *osd; eDvbColor color; cUpdate *metarReader; virtual void printMetar (cOsdBase *osd, Decoded_METAR *Mptr, int x, int y); void drawData(cOsdBase *osd, Decoded_METAR *Mptr, int cy, cFont *font, int x, int y); int calculateMaxDescriptionFontWidth(measurement measurements[], int size, cFont *font); int calculateMaxValueFontWidth(measurement measurements[], int size, cFont *font); int calculateMaxFontWidth(char strings[][500], int size, cFont *font); }; #endif //SIMPLE_WEATHER_DISPLAY_H vdr-plugin-weather-0.2.1e.orig/weather.c0000644000765700007640000000626507763646370020312 0ustar martinedv00000000000000/* * weather.c: A plugin for the Video Disk Recorder * * See the README file for copyright information and how to reach the author. * * $Id$ */ #include "weather.h" #include "display.h" #include "simpleDisplay.h" #include "i18n.h" #include #include static const char *ALLOWED_STATION_CHARS = "abcdefghijklmnopqrstuvwxyz"; static const char *ALLOWED_MAIL_CHARS = "abcdefghijklmnopqrstuvwxyz0123456789-.#~@"; static const char *VERSION = "0.2.1e"; cMenuSetupWeather::cMenuSetupWeather(cWeatherSetup *setup, cPluginWeather *plugin) { this->setup = setup; this->plugin = plugin; Add(new cMenuEditStrItem(tr("Station Id"), setup->stationId, 5, ALLOWED_STATION_CHARS)); Add(new cMenuEditStrItem(tr("Username"), setup->user, 20, ALLOWED_MAIL_CHARS)); Add(new cMenuEditStrItem(tr("Password (e-mail)"), setup->pwd, 20, ALLOWED_MAIL_CHARS)); Add(new cMenuEditIntItem(tr("Updatetime (min)"), &setup->updateTime, 0, 10)); Add(new cMenuEditBoolItem(tr("Use passive connection"), &setup->passiveFTP)); Add(new cMenuEditBoolItem(tr("Display"), &setup->display, tr("Advanced"), tr("Simple"))); } void cMenuSetupWeather::Store(void) { for(char *ptr = setup->stationId; *ptr; ++ptr) { if (islower(*ptr)) { *ptr = toupper(*ptr); } } SetupStore("StationId", setup->stationId); SetupStore("User", setup->user); SetupStore("Password", setup->pwd); SetupStore("UpdateTime", setup->updateTime); SetupStore("PassiveFTP", setup->passiveFTP); SetupStore("Display", setup->display); } cPluginWeather::cPluginWeather(void) : metarReader(&setup){ } cPluginWeather::~cPluginWeather() { // Clean up after yourself! } const char *cPluginWeather::Version(void) { return VERSION; } void cPluginWeather::handleConfigUpdate() { dsyslog("Config changed. Restarting metarReader."); metarReader.StartUpdate(); } const char *cPluginWeather::CommandLineHelp(void) { // Return a string that describes all known command line options. return NULL; } bool cPluginWeather::ProcessArgs(int argc, char *argv[]) { // Implement command line argument processing here if applicable. return true; } bool cPluginWeather::Start(void) { RegisterI18n(Phrases); metarReader.StartUpdate(); return true; } void cPluginWeather::Housekeeping(void) { // Perform any cleanup or other regular tasks. } cOsdObject *cPluginWeather::MainMenuAction(void) { if (setup.display) { return new cSimpleWeatherOsd(&metarReader); } else { return new cWeatherOsd(&metarReader); } } cMenuSetupPage *cPluginWeather::SetupMenu(void) { return new cMenuSetupWeather(&setup, this); } bool cPluginWeather::SetupParse(const char *Name, const char *Value) { if (!strcasecmp(Name, "StationId")) { strncpy(setup.stationId, Value, 4); } else if (!strcasecmp(Name, "User")) { strncpy(setup.user, Value, 99); } else if (!strcasecmp(Name, "Password")) { strncpy(setup.pwd, Value, 99); } else if (!strcasecmp(Name, "UpdateTime")) { setup.updateTime = atoi(Value); } else if (!strcasecmp(Name, "Display")) { setup.display = atoi(Value); } else if (!strcasecmp(Name, "PassiveFTP")) { setup.passiveFTP = atoi(Value); } else { return false; } return true; } VDRPLUGINCREATOR(cPluginWeather); // Don't touch this! vdr-plugin-weather-0.2.1e.orig/weather.h0000644000765700007640000000217507763646370020313 0ustar martinedv00000000000000#ifndef PLUGIN_WEATHER_H #define PLUGIN_WEATHER_H #include #include "setup.h" #include "metarReader.h" #define MAXINT INT_MAX /* maximum integer */ class cPluginWeather : public cPlugin { private: cWeatherSetup setup; cUpdate metarReader; public: cPluginWeather(void); virtual ~cPluginWeather(); virtual const char *Version(void); virtual const char *Description(void) { return tr("Displays the current weather conditons."); } virtual const char *CommandLineHelp(void); virtual bool ProcessArgs(int argc, char *argv[]); virtual bool Start(void); virtual void Housekeeping(void); virtual const char *MainMenuEntry(void) { return tr("Weather"); } virtual cOsdObject *MainMenuAction(void); virtual cMenuSetupPage *SetupMenu(void); virtual bool SetupParse(const char *Name, const char *Value); void handleConfigUpdate(); }; class cMenuSetupWeather : public cMenuSetupPage { private: cWeatherSetup *setup; cPluginWeather *plugin; protected: virtual void Store(void); public: cMenuSetupWeather(cWeatherSetup *setup, cPluginWeather *plugin); }; #endif //PLUGIN_WEATHER_H vdr-plugin-weather-0.2.1e.orig/weatherData.h0000644000765700007640000000034407763646370021101 0ustar martinedv00000000000000struct cWeatherData { double temp; double dew_pt_temp; double windSpeed; double windDir; double ob_date; double hour; double ob_minute; double inches_altstng; double hectoPasc_altstng; char *stnid; char *windUnits; };vdr-plugin-weather-0.2.1e.orig/weatherUtil.c0000644000765700007640000000252007763646370021136 0ustar martinedv00000000000000#include #include "weatherUtil.h" #include "i18n.h" int cWeatherUtil::calculateHumidity(double temperature, double dewPoint) { return (int) (100.0 * cWeatherUtil::calculateSaturationVaporPressure(dewPoint) / cWeatherUtil::calculateSaturationVaporPressure(temperature)); } double cWeatherUtil::calculateSaturationVaporPressure(double temperature) { double a, b; if (temperature >= 0) { a = 7.5; b = 237.3; } else { a = 7.6; b = 240.7; } return 6.1078 * pow(10, (a*temperature)/(b+temperature)); } const char *cWeatherUtil::calculateWindDirectionString(int degree) { if (degree < 22.5) { return tr("N"); } else if (degree < 67.5){ return tr("NE"); } else if (degree < 112.5) { return tr("E"); } else if (degree < 157.5) { return tr("SE"); } else if (degree < 202.5){ return tr("S"); } else if (degree < 247.5) { return tr("SW"); } else if (degree < 292.5) { return tr("W"); } else if (degree < 337.5){ return tr("NW"); } else { return tr("N"); } } int cWeatherUtil::knToKmh (int kn) { return round(((double) kn) * 1.852); } int cWeatherUtil::calculateWindChill(int temperatureC, int windKn) { double windKmh = windKn * 1.852; return round(33.0 + (0.478 + 0.237 * sqrt(windKmh) - 0.0124 * windKmh) * (temperatureC - 33.0)); } int cWeatherUtil::round (double num) { return (int) floor(num + 0.5); } vdr-plugin-weather-0.2.1e.orig/weatherUtil.h0000644000765700007640000000066507763646370021153 0ustar martinedv00000000000000#ifndef WEATHER_UTIL_H #define WEATHER_UTIL_H class cWeatherUtil { public: static double calculateSaturationVaporPressure(double temperature); static int calculateHumidity(double temperature, double dewPoint); static const char *calculateWindDirectionString(int degree); static int knToKmh(int kn); static int calculateWindChill(int temperatureC, int windKn); protected: static int round(double num); }; #endif //WEATHER_UTIL_H