pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc Add XyGrib version 1.2.6.1 to pkgsrc-current.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7aeb125859da
branches:  trunk
changeset: 404003:7aeb125859da
user:      nros <nros%pkgsrc.org@localhost>
date:      Mon Nov 04 18:35:21 2019 +0000

description:
Add XyGrib version 1.2.6.1 to pkgsrc-current.
Packaged in pkgsrc-wip by myself.

XyGrib is visualizer of meteorologial data.
XyGrib is continuation of zyGrib available in misc/zyGrib.

diffstat:

 misc/Makefile                            |    3 +-
 misc/xygrib/DESCR                        |    2 +
 misc/xygrib/Makefile                     |   30 ++++++
 misc/xygrib/PLIST                        |  148 +++++++++++++++++++++++++++++++
 misc/xygrib/data.mk                      |   25 +++++
 misc/xygrib/distinfo                     |   15 +++
 misc/xygrib/patches/patch-CMakeLists.txt |  115 ++++++++++++++++++++++++
 7 files changed, 337 insertions(+), 1 deletions(-)

diffs (truncated from 376 to 300 lines):

diff -r 5907aa64cdda -r 7aeb125859da misc/Makefile
--- a/misc/Makefile     Mon Nov 04 17:47:29 2019 +0000
+++ b/misc/Makefile     Mon Nov 04 18:35:21 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.517 2019/10/30 14:43:46 kamil Exp $
+# $NetBSD: Makefile,v 1.518 2019/11/04 18:35:21 nros Exp $
 #
 
 COMMENT=       Miscellaneous utilities
@@ -377,6 +377,7 @@
 SUBDIR+=       xrolodex
 SUBDIR+=       xtail
 SUBDIR+=       xtend
+SUBDIR+=       xygrib
 SUBDIR+=       yelp3
 SUBDIR+=       yrolo
 SUBDIR+=       zorro
diff -r 5907aa64cdda -r 7aeb125859da misc/xygrib/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/xygrib/DESCR Mon Nov 04 18:35:21 2019 +0000
@@ -0,0 +1,2 @@
+XyGrib is visualizer of meteorologial data.
+XyGrib is continuation of zyGrib available in misc/zyGrib.
diff -r 5907aa64cdda -r 7aeb125859da misc/xygrib/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/xygrib/Makefile      Mon Nov 04 18:35:21 2019 +0000
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1 2019/11/04 18:35:21 nros Exp $
+
+GITHUB_PROJECT=        XyGrib
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+DISTNAME=      XyGrib-1.2.6.1
+CATEGORIES=    misc
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=opengribs/}
+EXTRACT_USING= bsdtar
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://opengribs.org/
+COMMENT=       GRIB file viewer for weather data
+LICENSE=       gnu-gpl-v3
+
+.include "data.mk"
+
+USE_LANGUAGES+=        c c++
+USE_CMAKE=     yes
+
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+
+.include "../../archivers/bzip2/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../geography/libnova/buildlink3.mk"
+.include "../../geography/proj/buildlink3.mk"
+.include "../../graphics/openjpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+.include "../../x11/qt5-qttools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 5907aa64cdda -r 7aeb125859da misc/xygrib/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/xygrib/PLIST Mon Nov 04 18:35:21 2019 +0000
@@ -0,0 +1,148 @@
+@comment $NetBSD: PLIST,v 1.1 2019/11/04 18:35:21 nros Exp $
+bin/XyGrib
+share/applications/xygrib.desktop
+share/openGribs/XyGrib/data/colors/colors_binary.txt
+share/openGribs/XyGrib/data/colors/colors_cape_jkg.txt
+share/openGribs/XyGrib/data/colors/colors_cin_jkg.txt
+share/openGribs/XyGrib/data/colors/colors_clouds_black_pc.txt
+share/openGribs/XyGrib/data/colors/colors_clouds_white_pc.txt
+share/openGribs/XyGrib/data/colors/colors_current_kts.txt
+share/openGribs/XyGrib/data/colors/colors_deltatemp_celcius.txt
+share/openGribs/XyGrib/data/colors/colors_gust_kts.txt
+share/openGribs/XyGrib/data/colors/colors_humidrel_pc.original.txt
+share/openGribs/XyGrib/data/colors/colors_humidrel_pc.txt
+share/openGribs/XyGrib/data/colors/colors_rain_mmh - Copy.txt
+share/openGribs/XyGrib/data/colors/colors_rain_mmh.txt
+share/openGribs/XyGrib/data/colors/colors_reflect_dbz.txt
+share/openGribs/XyGrib/data/colors/colors_snowdepth_m - Copy.txt
+share/openGribs/XyGrib/data/colors/colors_snowdepth_m.txt
+share/openGribs/XyGrib/data/colors/colors_temp_celcius.txt
+share/openGribs/XyGrib/data/colors/colors_thetae_celcius.txt
+share/openGribs/XyGrib/data/colors/colors_thetae_celcius_1.txt
+share/openGribs/XyGrib/data/colors/colors_waveheight_m.txt
+share/openGribs/XyGrib/data/colors/colors_whitecap_prb.txt
+share/openGribs/XyGrib/data/colors/colors_whitecap_prb.txt.colors
+share/openGribs/XyGrib/data/colors/colors_wind_jet_kts.txt
+share/openGribs/XyGrib/data/colors/colors_wind_kts.txt
+share/openGribs/XyGrib/data/fonts/liberation-fonts/AUTHORS
+share/openGribs/XyGrib/data/fonts/liberation-fonts/COPYING
+share/openGribs/XyGrib/data/fonts/liberation-fonts/ChangeLog
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationMono-Bold.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationMono-BoldItalic.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationMono-Italic.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationMono-Regular.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationSans-Bold.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationSans-BoldItalic.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationSans-Italic.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationSans-Regular.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationSerif-Bold.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationSerif-BoldItalic.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationSerif-Italic.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/LiberationSerif-Regular.ttf
+share/openGribs/XyGrib/data/fonts/liberation-fonts/License.txt
+share/openGribs/XyGrib/data/fonts/liberation-fonts/README
+share/openGribs/XyGrib/data/gis/cities_0-300.txt.gz
+share/openGribs/XyGrib/data/gis/cities_10k-more.txt.gz
+share/openGribs/XyGrib/data/gis/cities_1k-3k.txt.gz
+share/openGribs/XyGrib/data/gis/cities_300-1k.txt.gz
+share/openGribs/XyGrib/data/gis/cities_3k-10k.txt.gz
+share/openGribs/XyGrib/data/gis/countries_en.txt.gz
+share/openGribs/XyGrib/data/gis/countries_fr.txt.gz
+share/openGribs/XyGrib/data/gis/states_en.txt.gz
+share/openGribs/XyGrib/data/gis/stations_metar.txt.gz
+share/openGribs/XyGrib/data/img/1leftarrow.png
+share/openGribs/XyGrib/data/img/1rightarrow.png
+share/openGribs/XyGrib/data/img/2leftarrow.png
+share/openGribs/XyGrib/data/img/2rightarrow.png
+share/openGribs/XyGrib/data/img/Thumbs.db
+share/openGribs/XyGrib/data/img/airport.png
+share/openGribs/XyGrib/data/img/anim.png
+share/openGribs/XyGrib/data/img/back.png
+share/openGribs/XyGrib/data/img/connect_no.png
+share/openGribs/XyGrib/data/img/cursor-cross.png
+share/openGribs/XyGrib/data/img/cursor-openhand.png
+share/openGribs/XyGrib/data/img/down.png
+share/openGribs/XyGrib/data/img/drapeau_ar.png
+share/openGribs/XyGrib/data/img/drapeau_cz.png
+share/openGribs/XyGrib/data/img/drapeau_de.png
+share/openGribs/XyGrib/data/img/drapeau_en.png
+share/openGribs/XyGrib/data/img/drapeau_es.png
+share/openGribs/XyGrib/data/img/drapeau_fi.png
+share/openGribs/XyGrib/data/img/drapeau_fr.png
+share/openGribs/XyGrib/data/img/drapeau_gr.png
+share/openGribs/XyGrib/data/img/drapeau_he.png
+share/openGribs/XyGrib/data/img/drapeau_it.png
+share/openGribs/XyGrib/data/img/drapeau_nl.png
+share/openGribs/XyGrib/data/img/drapeau_pt.png
+share/openGribs/XyGrib/data/img/drapeau_ru.png
+share/openGribs/XyGrib/data/img/exit.png
+share/openGribs/XyGrib/data/img/fileclose.png
+share/openGribs/XyGrib/data/img/fileopen.png
+share/openGribs/XyGrib/data/img/forward.png
+share/openGribs/XyGrib/data/img/help.png
+share/openGribs/XyGrib/data/img/info.png
+share/openGribs/XyGrib/data/img/media-floppy.png
+share/openGribs/XyGrib/data/img/meteoblue.png
+share/openGribs/XyGrib/data/img/network.png
+share/openGribs/XyGrib/data/img/player_eject.png
+share/openGribs/XyGrib/data/img/player_end.png
+share/openGribs/XyGrib/data/img/player_fwd.png
+share/openGribs/XyGrib/data/img/player_pause.png
+share/openGribs/XyGrib/data/img/player_play.png
+share/openGribs/XyGrib/data/img/player_playlist.png
+share/openGribs/XyGrib/data/img/player_rew.png
+share/openGribs/XyGrib/data/img/player_start.png
+share/openGribs/XyGrib/data/img/player_stop.png
+share/openGribs/XyGrib/data/img/printer.png
+share/openGribs/XyGrib/data/img/reload.png
+share/openGribs/XyGrib/data/img/resource.rc
+share/openGribs/XyGrib/data/img/spreadsheet.png
+share/openGribs/XyGrib/data/img/time_icon.png
+share/openGribs/XyGrib/data/img/up.png
+share/openGribs/XyGrib/data/img/viewmag+.png
+share/openGribs/XyGrib/data/img/viewmag-.png
+share/openGribs/XyGrib/data/img/viewmag1.png
+share/openGribs/XyGrib/data/img/viewmagfit.png
+share/openGribs/XyGrib/data/img/xyGrib.icns
+share/openGribs/XyGrib/data/img/xyGrib_32.ico
+share/openGribs/XyGrib/data/img/xyGrib_32.xpm
+share/openGribs/XyGrib/data/maps/gshhs/README.gshhs
+share/openGribs/XyGrib/data/maps/gshhs/README.gshhs.rangs
+share/openGribs/XyGrib/data/maps/gshhs/gshhs_0.rim
+share/openGribs/XyGrib/data/maps/gshhs/gshhs_1.rim
+share/openGribs/XyGrib/data/maps/gshhs/gshhs_2.rim
+share/openGribs/XyGrib/data/maps/gshhs/gshhs_3.rim
+share/openGribs/XyGrib/data/maps/gshhs/gshhs_4.rim
+share/openGribs/XyGrib/data/maps/gshhs/rangs_0.cat
+share/openGribs/XyGrib/data/maps/gshhs/rangs_0.cel
+share/openGribs/XyGrib/data/maps/gshhs/rangs_1.cat
+share/openGribs/XyGrib/data/maps/gshhs/rangs_1.cel
+share/openGribs/XyGrib/data/maps/gshhs/rangs_2.cat
+share/openGribs/XyGrib/data/maps/gshhs/rangs_2.cel
+share/openGribs/XyGrib/data/maps/gshhs/rangs_3.cat
+share/openGribs/XyGrib/data/maps/gshhs/rangs_3.cel
+share/openGribs/XyGrib/data/maps/gshhs/rangs_4.cat
+share/openGribs/XyGrib/data/maps/gshhs/rangs_4.cel
+share/openGribs/XyGrib/data/maps/gshhs/wdb_borders_c.b
+share/openGribs/XyGrib/data/maps/gshhs/wdb_borders_f.b
+share/openGribs/XyGrib/data/maps/gshhs/wdb_borders_h.b
+share/openGribs/XyGrib/data/maps/gshhs/wdb_borders_i.b
+share/openGribs/XyGrib/data/maps/gshhs/wdb_borders_l.b
+share/openGribs/XyGrib/data/maps/gshhs/wdb_rivers_c.b
+share/openGribs/XyGrib/data/maps/gshhs/wdb_rivers_f.b
+share/openGribs/XyGrib/data/maps/gshhs/wdb_rivers_h.b
+share/openGribs/XyGrib/data/maps/gshhs/wdb_rivers_i.b
+share/openGribs/XyGrib/data/maps/gshhs/wdb_rivers_l.b
+share/openGribs/XyGrib/data/tr/xyGrib_ar.qm
+share/openGribs/XyGrib/data/tr/xyGrib_cz.qm
+share/openGribs/XyGrib/data/tr/xyGrib_de.qm
+share/openGribs/XyGrib/data/tr/xyGrib_es.qm
+share/openGribs/XyGrib/data/tr/xyGrib_fi.qm
+share/openGribs/XyGrib/data/tr/xyGrib_fr.qm
+share/openGribs/XyGrib/data/tr/xyGrib_gr.qm
+share/openGribs/XyGrib/data/tr/xyGrib_he.qm
+share/openGribs/XyGrib/data/tr/xyGrib_it.qm
+share/openGribs/XyGrib/data/tr/xyGrib_nl.qm
+share/openGribs/XyGrib/data/tr/xyGrib_pt.qm
+share/openGribs/XyGrib/data/tr/xyGrib_ru.qm
+share/pixmaps/xygrib.png
diff -r 5907aa64cdda -r 7aeb125859da misc/xygrib/data.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/xygrib/data.mk       Mon Nov 04 18:35:21 2019 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: data.mk,v 1.1 2019/11/04 18:35:21 nros Exp $
+#
+XYGRIBDV=      1.1.1
+XYGRIBDS=      https://github.com/openGribs/XyGrib/releases/download/v${XYGRIBDV}/
+
+DISTFILES=     ${DISTNAME}${EXTRACT_SUFX}
+DISTFILES+=    XyGrib___High_Resolution_Maps.tar.gz
+DISTFILES+=    XyGrib___cities_files.tar.gz
+
+SITES.XyGrib___High_Resolution_Maps.tar.gz=    ${XYGRIBDS}
+SITES.XyGrib___cities_files.tar.gz=            ${XYGRIBDS}
+
+DIST_SUBDIR=   XyGrib-${XYGRIBDV}
+
+INSTALL_CITIES_FILES=  cities_0-300.txt.gz
+INSTALL_CITIES_FILES+= cities_300-1k.txt.gz
+INSTALL_CITIES_FILES+= cities_1k-3k.txt.gz
+
+.PHONY: install-cities
+install-cities:
+.for f in ${INSTALL_CITIES_FILES}
+       ${INSTALL_DATA} ${WRKDIR}/${f} \
+               ${DESTDIR}${PREFIX}/share/openGribs/XyGrib/data/gis/${f}
+.endfor
+post-install: install-cities
diff -r 5907aa64cdda -r 7aeb125859da misc/xygrib/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/xygrib/distinfo      Mon Nov 04 18:35:21 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: distinfo,v 1.1 2019/11/04 18:35:21 nros Exp $
+
+SHA1 (XyGrib-1.1.1/XyGrib-1.2.6.1.tar.gz) = 8e3431ed6a5ef114d77ac57029129a26a381f696
+RMD160 (XyGrib-1.1.1/XyGrib-1.2.6.1.tar.gz) = 876e8a53b492b2e2ea0572e5b0cd31a2c04f505a
+SHA512 (XyGrib-1.1.1/XyGrib-1.2.6.1.tar.gz) = 33c8a0fc6791dbe3342524555dc90362560fed08b4e2a624111167d92e2c71890dcb5bfe7e85d7df2ffc11a382ea5afa484cdab84c29935d4be2e673c76a371c
+Size (XyGrib-1.1.1/XyGrib-1.2.6.1.tar.gz) = 14704088 bytes
+SHA1 (XyGrib-1.1.1/XyGrib___High_Resolution_Maps.tar.gz) = 7849cd9361757ae89c48f0e74ce340c7faf15015
+RMD160 (XyGrib-1.1.1/XyGrib___High_Resolution_Maps.tar.gz) = a0c82dfc09db8cb466c7bc7d396e7a62cb77b4fd
+SHA512 (XyGrib-1.1.1/XyGrib___High_Resolution_Maps.tar.gz) = 42d1f938ade119ab73cb8da7b2fe4758a4288a869e8fbb2974c0f2fe8e4418af826a2cc0dbf282e0a30cf814fc3ea18dccda2ff6b6c2ab62e6d0e1ea1916c909
+Size (XyGrib-1.1.1/XyGrib___High_Resolution_Maps.tar.gz) = 103284692 bytes
+SHA1 (XyGrib-1.1.1/XyGrib___cities_files.tar.gz) = eb82eb192bb3d6d97ebb32a21fdf7737bb640f94
+RMD160 (XyGrib-1.1.1/XyGrib___cities_files.tar.gz) = 1c47e3af9884e1a927b1e717f938178f12a17fa8
+SHA512 (XyGrib-1.1.1/XyGrib___cities_files.tar.gz) = 6bb9362c87fec7633b0ad1fd3b8717408c0fffa36631db1d1a680928c724e8e49758c292cac164ad7a9773fd51a432d25628eecbaa1261f5f3c5ab6fc499fd01
+Size (XyGrib-1.1.1/XyGrib___cities_files.tar.gz) = 2487518 bytes
+SHA1 (patch-CMakeLists.txt) = 011146a46621b1948a6d1bfae1605d769beff4df
diff -r 5907aa64cdda -r 7aeb125859da misc/xygrib/patches/patch-CMakeLists.txt
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/xygrib/patches/patch-CMakeLists.txt  Mon Nov 04 18:35:21 2019 +0000
@@ -0,0 +1,115 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2019/11/04 18:35:22 nros Exp $
+
+* sanitze the names and dirs to search for libs and headers files
+* use PATH_SUFFIX fix to find openjpeg
+* install bins and data into the right directory
+* don't install cmake files in the translation directory
+* install icon and desktop files
+* install hi-res maps
+
+--- CMakeLists.txt.orig        2019-07-05 09:01:01.000000000 +0000
++++ CMakeLists.txt
+@@ -54,71 +54,23 @@ find_package(Qt5Xml CONFIG REQUIRED)
+ include_directories(${Qt5Xml_INCLUDE_DIRS})
+ 
+ find_library(LIBNOVA_LIBRARY
+-     NAMES "libnova.a" "libnova.so"
+-     PATHS
+-     $ENV{EXTERNLIBS}/lib
+-     ~/Library/Frameworks
+-     /Library/Frameworks
+-     /usr/local
+-     /usr
+-     /sw
+-     /opt/local
+-     /opt/csw
+-     /opt
+-     PATH_SUFFIXES lib lib64 lib/x86_64-linux-gnu lib/i386-linux-gnu lib/armhf-linux-gnu lib/arm64-linux-gnu
++     NAMES "nova" "libnova"
+      REQUIRED
+  )
+ find_path(LIBNOVA_INCLUDE_DIR
+-     NAMES "libnova/libnova.h" "libnova.h"
+-     PATHS
+-     $ENV{EXTERNLIBS}/include
+-     ~/Library/Frameworks/include
+-     /Library/Frameworks/include
+-     /usr/local/include
+-     /usr/include
+-     /sw/include # Fink



Home | Main Index | Thread Index | Old Index