pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/zyGrib Download and display weather data containe...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d0bacb18bba1
branches:  trunk
changeset: 554443:d0bacb18bba1
user:      plunky <plunky%pkgsrc.org@localhost>
date:      Sat Feb 14 20:55:41 2009 +0000

description:
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

diffstat:

 misc/zyGrib/DESCR            |   12 +++++
 misc/zyGrib/Makefile         |  101 +++++++++++++++++++++++++++++++++++++++++++
 misc/zyGrib/PLIST            |   54 ++++++++++++++++++++++
 misc/zyGrib/distinfo         |    7 ++
 misc/zyGrib/patches/patch-aa |   17 +++++++
 misc/zyGrib/patches/patch-ab |   13 +++++
 6 files changed, 204 insertions(+), 0 deletions(-)

diffs (228 lines):

diff -r 1cd2f48ad2d6 -r d0bacb18bba1 misc/zyGrib/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/zyGrib/DESCR Sat Feb 14 20:55:41 2009 +0000
@@ -0,0 +1,12 @@
+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
diff -r 1cd2f48ad2d6 -r d0bacb18bba1 misc/zyGrib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/zyGrib/Makefile      Sat Feb 14 20:55:41 2009 +0000
@@ -0,0 +1,101 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/02/14 20:55:41 plunky Exp $
+#
+
+DISTNAME=      zyGrib-3.3.0
+CATEGORIES=    misc
+MASTER_SITES=  http://www.zygrib.org/files/
+EXTRACT_SUFX=  .tgz
+
+MAINTAINER=    plunky%rya-online.net@localhost
+HOMEPAGE=      http://www.zygrib.org/
+COMMENT=       GRIB file viewer for weather data
+
+#LICENSE=      gnu-gpl-v3
+
+WRKSRC=                ${WRKDIR}/zyGrib/src
+USE_LANGUAGES= c c++
+USE_TOOLS+=    make
+
+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 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/|"
+SUBST_SED.paths+=      -e "s|tr/|${PREFIX}/share/zyGrib/tr/|"
+
+INSTALLATION_DIRS+=    share/zyGrib/img
+INSTALLATION_DIRS+=    share/zyGrib/maps/gis
+INSTALLATION_DIRS+=    share/zyGrib/maps/gshhs
+INSTALLATION_DIRS+=    share/zyGrib/tr
+
+INSTALL_FILES= img/1leftarrow.png
+INSTALL_FILES+=        img/1rightarrow.png
+INSTALL_FILES+=        img/2leftarrow.png
+INSTALL_FILES+=        img/2rightarrow.png
+INSTALL_FILES+=        img/anim.png
+INSTALL_FILES+=        img/back.png
+INSTALL_FILES+=        img/connect_no.png
+INSTALL_FILES+=        img/down.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/network.png
+INSTALL_FILES+=        img/player_eject.png
+INSTALL_FILES+=        img/player_end.png
+INSTALL_FILES+=        img/player_fwd.png
+INSTALL_FILES+=        img/player_pause.png
+INSTALL_FILES+=        img/player_play.png
+INSTALL_FILES+=        img/player_playlist.png
+INSTALL_FILES+=        img/player_rew.png
+INSTALL_FILES+=        img/player_start.png
+INSTALL_FILES+=        img/player_stop.png
+INSTALL_FILES+=        img/reload.png
+INSTALL_FILES+=        img/up.png
+INSTALL_FILES+=        img/viewmag+.png
+INSTALL_FILES+=        img/viewmag-.png
+INSTALL_FILES+=        img/viewmag1.png
+INSTALL_FILES+=        img/viewmagfit.png
+INSTALL_FILES+=        maps/gis/cities.txt.gz
+INSTALL_FILES+=        maps/gis/countries_en.txt.gz
+INSTALL_FILES+=        maps/gis/countries_fr.txt.gz
+INSTALL_FILES+=        maps/gshhs/README.gshhs
+INSTALL_FILES+=        maps/gshhs/README.gshhs.rangs
+INSTALL_FILES+=        maps/gshhs/gshhs_2.rim
+INSTALL_FILES+=        maps/gshhs/gshhs_3.rim
+INSTALL_FILES+=        maps/gshhs/gshhs_4.rim
+INSTALL_FILES+=        maps/gshhs/rangs_2.cat
+INSTALL_FILES+=        maps/gshhs/rangs_2.cel
+INSTALL_FILES+=        maps/gshhs/rangs_3.cat
+INSTALL_FILES+=        maps/gshhs/rangs_3.cel
+INSTALL_FILES+=        maps/gshhs/rangs_4.cat
+INSTALL_FILES+=        maps/gshhs/rangs_4.cel
+INSTALL_FILES+=        maps/gshhs/wdb_borders_c.b
+INSTALL_FILES+=        maps/gshhs/wdb_borders_i.b
+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_en.qm
+INSTALL_FILES+=        tr/zyGrib_en.ts
+
+do-configure:
+       cd ${WRKSRC} && ${QTDIR}/bin/qmake
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/zyGrib ${DESTDIR}${PREFIX}/bin
+.for f in ${INSTALL_FILES}
+       ${INSTALL_DATA} ${WRKDIR}/zyGrib/${f} ${DESTDIR}${PREFIX}/share/zyGrib/${f}
+.endfor
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../misc/proj/buildlink3.mk"
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 1cd2f48ad2d6 -r d0bacb18bba1 misc/zyGrib/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/zyGrib/PLIST Sat Feb 14 20:55:41 2009 +0000
@@ -0,0 +1,54 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/02/14 20:55:41 plunky Exp $
+bin/zyGrib
+share/zyGrib/img/1leftarrow.png
+share/zyGrib/img/1rightarrow.png
+share/zyGrib/img/2leftarrow.png
+share/zyGrib/img/2rightarrow.png
+share/zyGrib/img/anim.png
+share/zyGrib/img/back.png
+share/zyGrib/img/connect_no.png
+share/zyGrib/img/down.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/network.png
+share/zyGrib/img/player_eject.png
+share/zyGrib/img/player_end.png
+share/zyGrib/img/player_fwd.png
+share/zyGrib/img/player_pause.png
+share/zyGrib/img/player_play.png
+share/zyGrib/img/player_playlist.png
+share/zyGrib/img/player_rew.png
+share/zyGrib/img/player_start.png
+share/zyGrib/img/player_stop.png
+share/zyGrib/img/reload.png
+share/zyGrib/img/up.png
+share/zyGrib/img/viewmag+.png
+share/zyGrib/img/viewmag-.png
+share/zyGrib/img/viewmag1.png
+share/zyGrib/img/viewmagfit.png
+share/zyGrib/maps/gis/cities.txt.gz
+share/zyGrib/maps/gis/countries_en.txt.gz
+share/zyGrib/maps/gis/countries_fr.txt.gz
+share/zyGrib/maps/gshhs/README.gshhs
+share/zyGrib/maps/gshhs/README.gshhs.rangs
+share/zyGrib/maps/gshhs/gshhs_2.rim
+share/zyGrib/maps/gshhs/gshhs_3.rim
+share/zyGrib/maps/gshhs/gshhs_4.rim
+share/zyGrib/maps/gshhs/rangs_2.cat
+share/zyGrib/maps/gshhs/rangs_2.cel
+share/zyGrib/maps/gshhs/rangs_3.cat
+share/zyGrib/maps/gshhs/rangs_3.cel
+share/zyGrib/maps/gshhs/rangs_4.cat
+share/zyGrib/maps/gshhs/rangs_4.cel
+share/zyGrib/maps/gshhs/wdb_borders_c.b
+share/zyGrib/maps/gshhs/wdb_borders_i.b
+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_en.qm
+share/zyGrib/tr/zyGrib_en.ts
diff -r 1cd2f48ad2d6 -r d0bacb18bba1 misc/zyGrib/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/zyGrib/distinfo      Sat Feb 14 20:55:41 2009 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/02/14 20:55:41 plunky Exp $
+
+SHA1 (zyGrib-3.3.0.tgz) = ad5a9f0854673e5b836f59f7d611cf75bee93c7d
+RMD160 (zyGrib-3.3.0.tgz) = dc221174166ad39bca61df0dc58bb4c97d649a72
+Size (zyGrib-3.3.0.tgz) = 14964263 bytes
+SHA1 (patch-aa) = 6d5169f3db5b6f9a27ae0a8bd777cd7d8c0a8ac1
+SHA1 (patch-ab) = 5ebe5d0f4138ebb2c922b255de4dc7afdbcf832e
diff -r 1cd2f48ad2d6 -r d0bacb18bba1 misc/zyGrib/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/zyGrib/patches/patch-aa      Sat Feb 14 20:55:41 2009 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/02/14 20:55:41 plunky Exp $
+
+libbz2, libz and libproj are all provided by the buildlink3.mk
+framework; no need to use private versions.
+
+--- zyGrib.pro.orig    2008-12-18 20:21:44.000000000 +0000
++++ zyGrib.pro
+@@ -4,8 +4,7 @@ CONFIG += qt
+ TEMPLATE = app
+ TARGET = 
+ DEPENDPATH += .
+-INCLUDEPATH += bzip2 zlib-1.2.3 proj-4.6.0/src
+-LIBS += -Lbzip2 -lbz2 -Lzlib-1.2.3 -lz -Lproj-4.6.0/src -lproj
++LIBS += -lbz2 -lz -lproj
+ 
+ win32 {
+       LIBS += -lregex
diff -r 1cd2f48ad2d6 -r d0bacb18bba1 misc/zyGrib/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/zyGrib/patches/patch-ab      Sat Feb 14 20:55:41 2009 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2009/02/14 20:55:41 plunky Exp $
+
+--- Projection.h.orig  2008-11-07 17:34:23.000000000 +0000
++++ Projection.h
+@@ -20,7 +20,7 @@ along with this program.  If not, see <h
+ #define PROJECTION_H
+ #include <QObject>
+ 
+-#include "projects.h"         // libproj
++#include <projects.h>         // libproj
+ 
+ 
+ class Projection : public QObject



Home | Main Index | Thread Index | Old Index