summaryrefslogtreecommitdiff
path: root/misc/zyGrib
diff options
context:
space:
mode:
authorplunky <plunky@pkgsrc.org>2010-10-16 06:50:52 +0000
committerplunky <plunky@pkgsrc.org>2010-10-16 06:50:52 +0000
commit3fd29a634bcee337effb4063196f6b99fae8e812 (patch)
treed2bd0ee588fbebc6c0be43afd24e9294b98486bf /misc/zyGrib
parenta837d8b77364db95220c31bce8ee6a8e2da03359 (diff)
downloadpkgsrc-3fd29a634bcee337effb4063196f6b99fae8e812.tar.gz
update to zyGrib 3.9.4:
# 2010-10-06: zyGrib Version 3.9.4 * Reduce flashing when resizing window. * Fixed a bug: the first image was not allways visible with some graphic cards. # 2010-10-05: zyGrib Version 3.9.3 * Supress a vicious bug (random crash). * New dutch translation. # 2010-05-14: zyGrib Version 3.9.2 * zyGrib uses the new GRIB file server, faster and more reliable. * Max file size is now 50 Mb (was 20). * New data in meteotables: geopotential altitude. * Can save data from meteotables in SYLK format, readable with a spreadsheet. Don't use a famous but stupid spreadsheet which do not understand correctly languages with beautiful accentued characters, but prefer OpenOffice. # 2010-05-02: zyGrib Version 3.9.1 * More complete information about data on the map. * Add relative humidity in altitude in meteotables. * Display if possible the wind arrows at the same altitude than the main data of the map. * Suppress a bug: area containing longitude 180° was sometimes not displayed when zooming. # 2010-04-20: zyGrib Version 3.9.0 * New altitude level: 200 hPa ( 11800 m). * New data: relative humidity at levels 850, 700, 500,300, 200 hPa. * Can choose altitude levels when downloading GRIB files. * Solve some bugs. # 2010-04-03: zyGrib Version 3.8.6 * Despite malformed file headers, zyGrib can now display corrupted GRIB files distributed by some suppliers, in particular Maxsee. There are more explanation in the french news page and in the forum (also in french, sorry). # 2010-03-15: zyGrib Version 3.8.5.3 * New language: Czech (thanks Pavel Kalian). # 2010-03-09: zyGrib Version 3.8.5.2 * Suppress again the bug in the Windows version: saving images worked with XP, but not with Vista or Windows 7 (thanks a lot Microsoft for not being compatible with yourself). # 2010-03-08: zyGrib Version 3.8.5.1 * Suppress a bug in the Windows version: a dll was missing, so it was impossible to save images. # 2010-03-08: zyGrib Version 3.8.5 * Suppress an important bug: there was an unpredictable crash when reading certain GRIB files (rare, but it is not a reason). # 2010-03-01: zyGrib Version 3.8.4 * Save image (menu file or Ctrl+S). * Save all the images of an animation. * The trick red of the choice in the date moves when the mouse comes to titillate the date selector (sorry, automatic translation lose spoonerism !!!). * Dialog boxes more compact, so zyGrib is usable on low resolution screen (800x600). * Choose the language at the first start of the application. * Source sentences are now in english (bad :) ) to facilitate the translations. * Suppress a bug: geopotential altitudes very different from average value was not shown. # 2010-01-31: zyGrib Version 3.8.3 * Graphical date selector. * More complete information on meteorigical data shown on the map. # 2010-01-28: zyGrib Version 3.8.2 * Can choose the unit for the geopotential altitudes. * Show altitude data in meteotables. * suppress a bug in the Windows version: save file path was lost. # 2010-01-25: zyGrib Version 3.8.1 * Download and visualization of data in altitude (geopotential altitude, wind, temperature, theta-e) at 850, 700, 500 et 300 hPa (approx 1460, 3000, 5600 and 9200 meters). * When opening a GRIB file, the displayed date is the closest date from now. * There was a lot of very important changes in the source code structure. It is now much easier to evoluate and to add new meteorological data. * Suppress a important bug when loading application in 3.8.0 version (in line only a few minutes). # 2009-12-16: zyGrib Version 3.7.1 * Update Dutch translation. * New Makefile in the source version for Linux. One can now do a make install to install all files in the directory $HOME/zyGrib (see the variable INSTALLDIR in the Makefile). Note: it's not a universal solution... but it's on the way... # 2009-12-05: zyGrib Version 3.7.0 * User can change the fonts used in the interface (Ctrl+E). * By default, zyGrib use and provide free fonts Liberation Fonts, for the interface and (more important) to assure the control of the size of the annotations on the maps. * Adaptive display of cities names, sorted by population. * Using cache memory for configuration parameters (significant speed improvment on slow support like USB key). * Important rewriting of source code to facilitate future evolutions. # 2009-08-19: zyGrib Version 3.6.3 * ZyGrib can now display Saildocs GRIB files. # 2009-08-16: zyGrib Version 3.6.2 * Updated translation files. # 2009-08-15: zyGrib Version 3.6.1 * Fixed a bug on the version number. * Meteotables a little dense for more data under the eyes. # 2009-08-12: zyGrib Version 3.6.0 * Transition to QT 4.5.
Diffstat (limited to 'misc/zyGrib')
-rw-r--r--misc/zyGrib/DESCR23
-rw-r--r--misc/zyGrib/Makefile31
-rw-r--r--misc/zyGrib/PLIST18
-rw-r--r--misc/zyGrib/distinfo12
-rw-r--r--misc/zyGrib/patches/patch-aa15
-rw-r--r--misc/zyGrib/patches/patch-ab6
6 files changed, 67 insertions, 38 deletions
diff --git a/misc/zyGrib/DESCR b/misc/zyGrib/DESCR
index 908b568af17..ed2d6d56c25 100644
--- a/misc/zyGrib/DESCR
+++ b/misc/zyGrib/DESCR
@@ -1,13 +1,16 @@
Download and display weather data contained in GRIB1 files.
Weather data display:
- - atmospheric pressure at sea level
- - wind at 10m above ground
- - temperature at 2m above ground (degC)
- - relative humidity at 2m above ground
- - rainfall (mm/h)
- - cloud cover (%)
- - dew point (degC)
- - altitude of 0C isotherm
- - snow depth and risk
- - convective available potential energy
+ - Surface Pressure
+ - Wind 10 m above mean sea level
+ - Temperature 10 m above mean sea level
+ - Potential Temperature min - max 2 m above mean sea level
+ - Relative Humidity 2 m above mean sea level
+ - Total Precipitation (mm/h)
+ - Total Cloud Cover (%)
+ - Dew Point 2 m above mean sea level
+ - 0C Isotherm
+ - Snow (Depth - Risk)
+ - CAPE (convective available potential energy) at earth level.
+ - Data in altitude (850, 700, 500, 300, 200 hPa) : geopotential altitude,
+ wind, temperature, theta-e, relative humidity.
diff --git a/misc/zyGrib/Makefile b/misc/zyGrib/Makefile
index 5c31f04898f..ab7b73af381 100644
--- a/misc/zyGrib/Makefile
+++ b/misc/zyGrib/Makefile
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2010/09/14 11:02:28 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2010/10/16 06:50:52 plunky Exp $
#
-DISTNAME= zyGrib-3.5.1
-PKGREVISION= 4
+DISTNAME= zyGrib-3.9.4
CATEGORIES= misc
MASTER_SITES= http://www.zygrib.org/files/
EXTRACT_SUFX= .tgz
@@ -12,7 +11,9 @@ HOMEPAGE= http://www.zygrib.org/
COMMENT= GRIB file viewer for weather data
LICENSE= gnu-gpl-v3
-WRKSRC= ${WRKDIR}/zyGrib/src
+DEPENDS+= liberation-ttf-[0-9]*:../../fonts/liberation-ttf
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_LANGUAGES= c c++
USE_TOOLS+= make
@@ -21,7 +22,7 @@ PKG_DESTDIR_SUPPORT= user-destdir
SUBST_CLASSES+= paths
SUBST_STAGE.paths= post-patch
SUBST_MESSAGE.paths= Fixing shared data paths.
-SUBST_FILES.paths= GisReader.cpp GribAnimator.cpp
+SUBST_FILES.paths= map/GisReader.cpp GribAnimator.cpp
SUBST_FILES.paths+= MenuBar.cpp MainWindow.cpp main.cpp
SUBST_SED.paths+= -e "s|maps/|${PREFIX}/share/zyGrib/maps/|"
SUBST_SED.paths+= -e "s|img/|${PREFIX}/share/zyGrib/img/|"
@@ -40,12 +41,22 @@ INSTALL_FILES+= img/anim.png
INSTALL_FILES+= img/back.png
INSTALL_FILES+= img/connect_no.png
INSTALL_FILES+= img/down.png
+INSTALL_FILES+= img/drapeau_cz.png
+INSTALL_FILES+= img/drapeau_de.png
+INSTALL_FILES+= img/drapeau_en.png
+INSTALL_FILES+= img/drapeau_es.png
+INSTALL_FILES+= img/drapeau_fr.png
+INSTALL_FILES+= img/drapeau_it.png
+INSTALL_FILES+= img/drapeau_nl.png
+INSTALL_FILES+= img/drapeau_pt.png
+INSTALL_FILES+= img/drapeau_ru.png
INSTALL_FILES+= img/exit.png
INSTALL_FILES+= img/fileclose.png
INSTALL_FILES+= img/fileopen.png
INSTALL_FILES+= img/forward.png
INSTALL_FILES+= img/help.png
INSTALL_FILES+= img/info.png
+INSTALL_FILES+= img/media-floppy.png
INSTALL_FILES+= img/network.png
INSTALL_FILES+= img/player_eject.png
INSTALL_FILES+= img/player_end.png
@@ -82,12 +93,14 @@ INSTALL_FILES+= maps/gshhs/wdb_borders_l.b
INSTALL_FILES+= maps/gshhs/wdb_rivers_c.b
INSTALL_FILES+= maps/gshhs/wdb_rivers_i.b
INSTALL_FILES+= maps/gshhs/wdb_rivers_l.b
+INSTALL_FILES+= tr/zyGrib_cz.qm
+INSTALL_FILES+= tr/zyGrib_cz.ts
INSTALL_FILES+= tr/zyGrib_de.qm
INSTALL_FILES+= tr/zyGrib_de.ts
-INSTALL_FILES+= tr/zyGrib_en.qm
-INSTALL_FILES+= tr/zyGrib_en.ts
INSTALL_FILES+= tr/zyGrib_es.qm
INSTALL_FILES+= tr/zyGrib_es.ts
+INSTALL_FILES+= tr/zyGrib_fr.qm
+INSTALL_FILES+= tr/zyGrib_fr.ts
INSTALL_FILES+= tr/zyGrib_it.qm
INSTALL_FILES+= tr/zyGrib_it.ts
INSTALL_FILES+= tr/zyGrib_nl.qm
@@ -99,9 +112,9 @@ do-configure:
cd ${WRKSRC} && ${QTDIR}/bin/qmake
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/../zyGrib ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/zyGrib ${DESTDIR}${PREFIX}/bin
.for f in ${INSTALL_FILES}
- ${INSTALL_DATA} ${WRKDIR}/zyGrib/${f} ${DESTDIR}${PREFIX}/share/zyGrib/${f}
+ ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/${f} ${DESTDIR}${PREFIX}/share/zyGrib/${f}
.endfor
.include "../../archivers/bzip2/buildlink3.mk"
diff --git a/misc/zyGrib/PLIST b/misc/zyGrib/PLIST
index 0aed8ea70b2..9f16a4f3f71 100644
--- a/misc/zyGrib/PLIST
+++ b/misc/zyGrib/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2009/08/07 13:45:01 plunky Exp $
+@comment $NetBSD: PLIST,v 1.3 2010/10/16 06:50:52 plunky Exp $
bin/zyGrib
share/zyGrib/img/1leftarrow.png
share/zyGrib/img/1rightarrow.png
@@ -8,12 +8,22 @@ share/zyGrib/img/anim.png
share/zyGrib/img/back.png
share/zyGrib/img/connect_no.png
share/zyGrib/img/down.png
+share/zyGrib/img/drapeau_cz.png
+share/zyGrib/img/drapeau_de.png
+share/zyGrib/img/drapeau_en.png
+share/zyGrib/img/drapeau_es.png
+share/zyGrib/img/drapeau_fr.png
+share/zyGrib/img/drapeau_it.png
+share/zyGrib/img/drapeau_nl.png
+share/zyGrib/img/drapeau_pt.png
+share/zyGrib/img/drapeau_ru.png
share/zyGrib/img/exit.png
share/zyGrib/img/fileclose.png
share/zyGrib/img/fileopen.png
share/zyGrib/img/forward.png
share/zyGrib/img/help.png
share/zyGrib/img/info.png
+share/zyGrib/img/media-floppy.png
share/zyGrib/img/network.png
share/zyGrib/img/player_eject.png
share/zyGrib/img/player_end.png
@@ -50,12 +60,14 @@ share/zyGrib/maps/gshhs/wdb_borders_l.b
share/zyGrib/maps/gshhs/wdb_rivers_c.b
share/zyGrib/maps/gshhs/wdb_rivers_i.b
share/zyGrib/maps/gshhs/wdb_rivers_l.b
+share/zyGrib/tr/zyGrib_cz.qm
+share/zyGrib/tr/zyGrib_cz.ts
share/zyGrib/tr/zyGrib_de.qm
share/zyGrib/tr/zyGrib_de.ts
-share/zyGrib/tr/zyGrib_en.qm
-share/zyGrib/tr/zyGrib_en.ts
share/zyGrib/tr/zyGrib_es.qm
share/zyGrib/tr/zyGrib_es.ts
+share/zyGrib/tr/zyGrib_fr.qm
+share/zyGrib/tr/zyGrib_fr.ts
share/zyGrib/tr/zyGrib_it.qm
share/zyGrib/tr/zyGrib_it.ts
share/zyGrib/tr/zyGrib_nl.qm
diff --git a/misc/zyGrib/distinfo b/misc/zyGrib/distinfo
index d98b2884d76..f8ee268c58c 100644
--- a/misc/zyGrib/distinfo
+++ b/misc/zyGrib/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2009/08/07 13:45:01 plunky Exp $
+$NetBSD: distinfo,v 1.3 2010/10/16 06:50:52 plunky Exp $
-SHA1 (zyGrib-3.5.1.tgz) = 322dbc77080a13da85389d1961f55bece1fa1515
-RMD160 (zyGrib-3.5.1.tgz) = c36c4e52b0f15f3c9090aa88dec64e5132292fd0
-Size (zyGrib-3.5.1.tgz) = 15112983 bytes
-SHA1 (patch-aa) = bed5cff6bdd7806b52daf29d80400e5d5d8a69c6
-SHA1 (patch-ab) = 5ebe5d0f4138ebb2c922b255de4dc7afdbcf832e
+SHA1 (zyGrib-3.9.4.tgz) = 98f676773bedf7306621566f2ebbc037dffd4f27
+RMD160 (zyGrib-3.9.4.tgz) = 2d9e2139b8f348f507757a8656aecd103059bf47
+Size (zyGrib-3.9.4.tgz) = 16545681 bytes
+SHA1 (patch-aa) = 8a72c6fe1e99a4c4a28e3b0f13c22733e4de7b74
+SHA1 (patch-ab) = 0be80e7d5b784da70b65db3eb7d31aa62f660a1d
diff --git a/misc/zyGrib/patches/patch-aa b/misc/zyGrib/patches/patch-aa
index 0cb56c3a135..b37eef7a518 100644
--- a/misc/zyGrib/patches/patch-aa
+++ b/misc/zyGrib/patches/patch-aa
@@ -1,18 +1,19 @@
-$NetBSD: patch-aa,v 1.2 2009/08/07 13:45:01 plunky Exp $
+$NetBSD: patch-aa,v 1.3 2010/10/16 06:50:52 plunky Exp $
libbz2, libz and libproj are all provided by the buildlink3.mk
framework; no need to use private versions.
--- zyGrib.pro.orig 2009-04-10 23:07:17.000000000 +0000
+++ zyGrib.pro
-@@ -5,8 +5,8 @@ TEMPLATE = app
+@@ -5,9 +5,9 @@
TARGET = zyGrib
- DEPENDPATH += .
--INCLUDEPATH += GUI bzip2 zlib-1.2.3 proj-4.6.0/src
+ DEPENDPATH += . util map GUI
+-INCLUDEPATH += . util map GUI bzip2 zlib-1.2.3 proj-4.6.0/src
++INCLUDEPATH += . util map GUI
+
-LIBS += -Lbzip2 -lbz2 -Lzlib-1.2.3 -lz -Lproj-4.6.0/src -lproj
-+INCLUDEPATH += GUI
+LIBS += -lbz2 -lz -lproj
- win32 {
- LIBS += -lregex
+ CFLAGS += -std=c99
+
diff --git a/misc/zyGrib/patches/patch-ab b/misc/zyGrib/patches/patch-ab
index e8affc472e4..dba660f8953 100644
--- a/misc/zyGrib/patches/patch-ab
+++ b/misc/zyGrib/patches/patch-ab
@@ -1,7 +1,7 @@
-$NetBSD: patch-ab,v 1.1.1.1 2009/02/14 20:55:41 plunky Exp $
+$NetBSD: patch-ab,v 1.2 2010/10/16 06:50:52 plunky Exp $
---- Projection.h.orig 2008-11-07 17:34:23.000000000 +0000
-+++ Projection.h
+--- map/Projection.h.orig 2008-11-07 17:34:23.000000000 +0000
++++ map/Projection.h
@@ -20,7 +20,7 @@ along with this program. If not, see <h
#define PROJECTION_H
#include <QObject>