pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/xygrib-devel



Module Name:    pkgsrc
Committed By:   bouyer
Date:           Thu Jun 27 12:31:32 UTC 2024

Added Files:
        pkgsrc/misc/xygrib-devel: DESCR Makefile PLIST data.mk distinfo
        pkgsrc/misc/xygrib-devel/patches: patch-CMakeLists.txt
            patch-src_CMakeLists.txt patch-src_SkewT.h

Log Message:
Add xygrib-devel version 20240620

XyGrib is visualizer of meteorologial data.
XyGrib is continuation of zyGrib available in misc/zyGrib.
This package tracks the head of the developement repo.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/xygrib-devel/DESCR \
    pkgsrc/misc/xygrib-devel/Makefile pkgsrc/misc/xygrib-devel/PLIST \
    pkgsrc/misc/xygrib-devel/data.mk pkgsrc/misc/xygrib-devel/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/misc/xygrib-devel/patches/patch-CMakeLists.txt \
    pkgsrc/misc/xygrib-devel/patches/patch-src_CMakeLists.txt \
    pkgsrc/misc/xygrib-devel/patches/patch-src_SkewT.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/misc/xygrib-devel/DESCR
diff -u /dev/null pkgsrc/misc/xygrib-devel/DESCR:1.1
--- /dev/null   Thu Jun 27 12:31:32 2024
+++ pkgsrc/misc/xygrib-devel/DESCR      Thu Jun 27 12:31:32 2024
@@ -0,0 +1,5 @@
+XyGrib is visualizer of meteorologial data.
+XyGrib is continuation of zyGrib available in misc/zyGrib.
+This package tracks the head of the developement repo.
+
+This project is not maintained upstream.
Index: pkgsrc/misc/xygrib-devel/Makefile
diff -u /dev/null pkgsrc/misc/xygrib-devel/Makefile:1.1
--- /dev/null   Thu Jun 27 12:31:32 2024
+++ pkgsrc/misc/xygrib-devel/Makefile   Thu Jun 27 12:31:32 2024
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1 2024/06/27 12:31:32 bouyer Exp $
+
+VERSION=       20240620
+DISTNAME=      XyGrib-${VERSION}
+PKGNAME=       XyGrib-devel-${VERSION}
+CATEGORIES=    misc
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=opengribs/}
+GITHUB_PROJECT=        XyGrib
+GITHUB_TAG=    88c425ca2d7f4ba5d7ab75bfa25e177bee02d310
+EXTRACT_USING= bsdtar
+DISTFILES=     ${DISTNAME}-${GITHUB_TAG}${EXTRACT_SUFX}
+
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://opengribs.org/
+COMMENT=       GRIB file viewer for weather data (developement branch)
+LICENSE=       gnu-gpl-v3
+
+# This program is not maintained upstream.
+# https://github.com/opengribs/XyGrib/issues/313
+
+.include "data.mk"
+
+USE_LANGUAGES+=        c c++
+USE_CMAKE=     yes
+CMAKE_ARGS+=   -DGNU_PACKAGE=ON -DGEN_TRANSLATIONS=OFF
+
+.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 "../../mk/bsd.pkg.mk"
Index: pkgsrc/misc/xygrib-devel/PLIST
diff -u /dev/null pkgsrc/misc/xygrib-devel/PLIST:1.1
--- /dev/null   Thu Jun 27 12:31:32 2024
+++ pkgsrc/misc/xygrib-devel/PLIST      Thu Jun 27 12:31:32 2024
@@ -0,0 +1,154 @@
+@comment $NetBSD: PLIST,v 1.1 2024/06/27 12:31:32 bouyer 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_sea_temp_celcius.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_cn.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_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_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_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_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_ar.ts
+share/openGribs/XyGrib/data/tr/xyGrib_cn.qm
+share/openGribs/XyGrib/data/tr/xyGrib_cn.ts
+share/openGribs/XyGrib/data/tr/xyGrib_cz.qm
+share/openGribs/XyGrib/data/tr/xyGrib_cz.ts
+share/openGribs/XyGrib/data/tr/xyGrib_de.qm
+share/openGribs/XyGrib/data/tr/xyGrib_de.ts
+share/openGribs/XyGrib/data/tr/xyGrib_es.qm
+share/openGribs/XyGrib/data/tr/xyGrib_es.ts
+share/openGribs/XyGrib/data/tr/xyGrib_fi.qm
+share/openGribs/XyGrib/data/tr/xyGrib_fi.ts
+share/openGribs/XyGrib/data/tr/xyGrib_fr.qm
+share/openGribs/XyGrib/data/tr/xyGrib_fr.ts
+share/openGribs/XyGrib/data/tr/xyGrib_gr.qm
+share/openGribs/XyGrib/data/tr/xyGrib_gr.ts
+share/openGribs/XyGrib/data/tr/xyGrib_he.qm
+share/openGribs/XyGrib/data/tr/xyGrib_he.ts
+share/openGribs/XyGrib/data/tr/xyGrib_it.qm
+share/openGribs/XyGrib/data/tr/xyGrib_it.ts
+share/openGribs/XyGrib/data/tr/xyGrib_nl.qm
+share/openGribs/XyGrib/data/tr/xyGrib_nl.ts
+share/openGribs/XyGrib/data/tr/xyGrib_pt.qm
+share/openGribs/XyGrib/data/tr/xyGrib_pt.ts
+share/openGribs/XyGrib/data/tr/xyGrib_ru.qm
+share/openGribs/XyGrib/data/tr/xyGrib_ru.ts
+share/pixmaps/xygrib.png
Index: pkgsrc/misc/xygrib-devel/data.mk
diff -u /dev/null pkgsrc/misc/xygrib-devel/data.mk:1.1
--- /dev/null   Thu Jun 27 12:31:32 2024
+++ pkgsrc/misc/xygrib-devel/data.mk    Thu Jun 27 12:31:32 2024
@@ -0,0 +1,24 @@
+# $NetBSD: data.mk,v 1.1 2024/06/27 12:31:32 bouyer Exp $
+#
+XYGRIBDV=      1.1.1
+XYGRIBDS=      https://github.com/openGribs/XyGrib/releases/download/v${XYGRIBDV}/
+
+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
Index: pkgsrc/misc/xygrib-devel/distinfo
diff -u /dev/null pkgsrc/misc/xygrib-devel/distinfo:1.1
--- /dev/null   Thu Jun 27 12:31:32 2024
+++ pkgsrc/misc/xygrib-devel/distinfo   Thu Jun 27 12:31:32 2024
@@ -0,0 +1,14 @@
+$NetBSD: distinfo,v 1.1 2024/06/27 12:31:32 bouyer Exp $
+
+BLAKE2s (XyGrib-1.1.1/XyGrib-20240620-88c425ca2d7f4ba5d7ab75bfa25e177bee02d310.tar.gz) = fa161bc4fde5d67738762c213ac19a99b51c71fea51e9b583ec16c3c26aec7d1
+SHA512 (XyGrib-1.1.1/XyGrib-20240620-88c425ca2d7f4ba5d7ab75bfa25e177bee02d310.tar.gz) = 
b01e67007e9731875efd1f122ef87eef19bbacc224d7aa1b0ad4305899a2f4a786f8a54749b09ad6ef74d138d1bb312ac8b2bd1b72ff328918647e3d4beb5ab1
+Size (XyGrib-1.1.1/XyGrib-20240620-88c425ca2d7f4ba5d7ab75bfa25e177bee02d310.tar.gz) = 14734804 bytes
+BLAKE2s (XyGrib-1.1.1/XyGrib___High_Resolution_Maps.tar.gz) = 3926799985d32ae47eb034c6cd48c87fd45691f12f0c39d9d0ca405a8803729a
+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
+BLAKE2s (XyGrib-1.1.1/XyGrib___cities_files.tar.gz) = de6b831344be5b1e6ca2d089fdf2ff24730f3393b1fe4290c8097a7798d4d044
+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) = a639c49c4f14756e8999bc951b1718932797911a
+SHA1 (patch-src_CMakeLists.txt) = 3a06026a033e2dbe93ea9d08c48d87f51186918a
+SHA1 (patch-src_SkewT.h) = 71f5d89e04aa4faa8e4812cca82186a834e5786f

Index: pkgsrc/misc/xygrib-devel/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/misc/xygrib-devel/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Thu Jun 27 12:31:32 2024
+++ pkgsrc/misc/xygrib-devel/patches/patch-CMakeLists.txt       Thu Jun 27 12:31:32 2024
@@ -0,0 +1,100 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2024/06/27 12:31:32 bouyer 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 regenerate translations (no need for qttools dependecy)
+* don't install cmake files in the translation directory
+* don't generate an app bundle on MacOS X
+* install icon and desktop files
+* install hi-res maps
+
+--- CMakeLists.txt.orig        2022-05-16 12:16:49.000000000 +0200
++++ CMakeLists.txt     2024-06-24 12:54:25.426142023 +0200
+@@ -57,66 +57,23 @@
+ 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
+-     /opt/local/include # DarwinPorts
+-     /opt/csw/include # Blastwave
+-     /opt/include
++     NAMES "libnova/libnova.h"
+      REQUIRED
+  )
+ include_directories(${LIBNOVA_INCLUDE_DIR})
+ 
+ #find_package(OpenJPEG REQUIRED)
+ find_library(OPENJPEG_LIBRARIES
+-#     NAMES "libopenjp2.a" "libopenjp2.so" "libopenjpeg.so.2" "libopenjp2.dll.a"
+-     NAMES "libopenjp2.so.7" "libopenjp2.so" "libopenjp2.a" "libopenjpeg.so.2" "libopenjp2.dll.a"
+-     PATHS
+-     $ENV{EXTERNLIBS}/lib
+-     ~/Library/Frameworks
+-     /Library/Frameworks
+-     /usr/local
+-     /usr
+-     /sw
+-     /opt/local
+-     /opt/csw
+-     /opt
+-     PATH_SUFFIXES lib lib64
++     NAMES "openjp2" "libopenjp2"
+      REQUIRED
+  )
+ find_path(OPENJPEG_INCLUDE_DIR
+      NAMES "openjpeg.h"
+-     PATHS
+-     $ENV{EXTERNLIBS}/include
+-     ~/Library/Frameworks/include
+-     /Library/Frameworks/include
+-     /usr/local/include
+-     /usr/include
+-     /sw/include # Fink
+-     /opt/local/include # DarwinPorts
+-     /opt/csw/include # Blastwave
+-     /opt/include
+-     PATH_SUFFIXES openjpeg-2.3 openjpeg-2.2 openjpeg-2.1
++     PATH_SUFFIXES openjpeg-2.4 openjpeg-2.5
+      REQUIRED
+  )
+ include_directories(${OPENJPEG_INCLUDE_DIR})
+@@ -231,15 +188,6 @@
+ 
+ # Installation
+ # macOS bundle parameters
+-set_target_properties(${PROJECT_NAME} PROPERTIES MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/cmake/MacOSXBundleInfo.plist.in")
+-set_target_properties(${PROJECT_NAME} PROPERTIES MACOSX_BUNDLE_INFO_STRING "${PROJECT_NAME}")
+-set_target_properties(${PROJECT_NAME} PROPERTIES MACOSX_BUNDLE_ICON_FILE "xyGrib.icns")
+-set_target_properties(${PROJECT_NAME} PROPERTIES MACOSX_BUNDLE_GUI_IDENTIFIER "${PROJECT_NAME}")
+-set_target_properties(${PROJECT_NAME} PROPERTIES MACOSX_BUNDLE_LONG_VERSION_STRING "${XYGRIB_VERSION}")
+-set_target_properties(${PROJECT_NAME} PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME "${PROJECT_NAME}")
+-set_target_properties(${PROJECT_NAME} PROPERTIES MACOSX_BUNDLE_SHORT_VERSION_STRING "${XYGRIB_VERSION}")
+-set_target_properties(${PROJECT_NAME} PROPERTIES MACOSX_BUNDLE_BUNDLE_VERSION "${XYGRIB_VERSION}")
+-set_target_properties(${PROJECT_NAME} PROPERTIES MACOSX_BUNDLE_COPYRIGHT "${PROJECT_NAME} Authors")
+ # Install data
+ install(DIRECTORY data DESTINATION ${PREFIX_PKGDATA}
+         PATTERN "CMakeFiles" EXCLUDE
Index: pkgsrc/misc/xygrib-devel/patches/patch-src_CMakeLists.txt
diff -u /dev/null pkgsrc/misc/xygrib-devel/patches/patch-src_CMakeLists.txt:1.1
--- /dev/null   Thu Jun 27 12:31:32 2024
+++ pkgsrc/misc/xygrib-devel/patches/patch-src_CMakeLists.txt   Thu Jun 27 12:31:32 2024
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_CMakeLists.txt,v 1.1 2024/06/27 12:31:32 bouyer Exp $
+* don't create bundle under OSX
+--- src/CMakeLists.txt.orig    2019-12-10 11:27:27.459588414 +0000
++++ src/CMakeLists.txt
+@@ -112,7 +112,7 @@ ENDIF()
+ 
+ qt5_wrap_cpp(xygrib_mocs ${XYGRIB_SRCS} ${XYGRIB_HDRS})
+ 
+-add_executable(${CMAKE_PROJECT_NAME} WIN32 MACOSX_BUNDLE ${XYGRIB_SRCS} ${xygrib_mocs})
++add_executable(${CMAKE_PROJECT_NAME} WIN32 ${XYGRIB_SRCS} ${xygrib_mocs})
+ 
+ install(TARGETS
+     ${CMAKE_PROJECT_NAME}
Index: pkgsrc/misc/xygrib-devel/patches/patch-src_SkewT.h
diff -u /dev/null pkgsrc/misc/xygrib-devel/patches/patch-src_SkewT.h:1.1
--- /dev/null   Thu Jun 27 12:31:32 2024
+++ pkgsrc/misc/xygrib-devel/patches/patch-src_SkewT.h  Thu Jun 27 12:31:32 2024
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_SkewT.h,v 1.1 2024/06/27 12:31:32 bouyer Exp $
+
+Fix undeclared class QPainterPath 
+
+--- src/SkewT.h.orig   2020-08-21 13:09:55.133572321 +0200
++++ src/SkewT.h        2020-08-21 13:10:05.207772962 +0200
+@@ -16,6 +16,7 @@
+ #include <QMainWindow>
+ #include <QFrame>
+ #include <QPainter>
++#include <QPainterPath>
+ #include <QLayout>
+ #include <QKeyEvent>
+ #include <QPrintDialog>



Home | Main Index | Thread Index | Old Index