pkgsrc-Changes archive

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

CVS commit: pkgsrc/misc/xygrib



Module Name:    pkgsrc
Committed By:   nros
Date:           Thu Dec  5 17:56:16 UTC 2019

Modified Files:
        pkgsrc/misc/xygrib: distinfo
        pkgsrc/misc/xygrib/patches: patch-CMakeLists.txt

Log Message:
Fix xygrib on OSX

Don't create app bundles on osx since this breaks installation as seen
in MacOSX bulk builds.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/misc/xygrib/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/misc/xygrib/patches/patch-CMakeLists.txt

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

Modified files:

Index: pkgsrc/misc/xygrib/distinfo
diff -u pkgsrc/misc/xygrib/distinfo:1.2 pkgsrc/misc/xygrib/distinfo:1.3
--- pkgsrc/misc/xygrib/distinfo:1.2     Mon Nov  4 18:53:13 2019
+++ pkgsrc/misc/xygrib/distinfo Thu Dec  5 17:56:15 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2019/11/04 18:53:13 nros Exp $
+$NetBSD: distinfo,v 1.3 2019/12/05 17:56:15 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
@@ -12,4 +12,4 @@ SHA1 (XyGrib-1.1.1/XyGrib___cities_files
 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) = a206bc8c9f11a96a96a5e8aa001cc678189f4680
+SHA1 (patch-CMakeLists.txt) = f12e4cc04e94919a8ed5824df859b0573612ab02

Index: pkgsrc/misc/xygrib/patches/patch-CMakeLists.txt
diff -u pkgsrc/misc/xygrib/patches/patch-CMakeLists.txt:1.2 pkgsrc/misc/xygrib/patches/patch-CMakeLists.txt:1.3
--- pkgsrc/misc/xygrib/patches/patch-CMakeLists.txt:1.2 Mon Nov  4 18:53:13 2019
+++ pkgsrc/misc/xygrib/patches/patch-CMakeLists.txt     Thu Dec  5 17:56:15 2019
@@ -1,10 +1,11 @@
-$NetBSD: patch-CMakeLists.txt,v 1.2 2019/11/04 18:53:13 nros Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.3 2019/12/05 17:56:15 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 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
 
@@ -86,7 +87,7 @@ $NetBSD: patch-CMakeLists.txt,v 1.2 2019
       REQUIRED
   )
  include_directories(${OPENJPEG_INCLUDE_DIR})
-@@ -212,22 +164,18 @@ include_directories(${PNG_INCLUDE_DIR})
+@@ -212,33 +164,30 @@ include_directories(${PNG_INCLUDE_DIR})
  configure_file(cmake/Version.h.in ${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/include/Version.h)
  include_directories(${CMAKE_CURRENT_BINARY_DIR}${CMAKE_FILES_DIRECTORY}/include)
  
@@ -113,9 +114,15 @@ $NetBSD: patch-CMakeLists.txt,v 1.2 2019
  
  # Installation
  # macOS bundle parameters
-@@ -241,4 +189,14 @@ set_target_properties(${PROJECT_NAME} PR
- set_target_properties(${PROJECT_NAME} PROPERTIES MACOSX_BUNDLE_BUNDLE_VERSION "${XYGRIB_VERSION}")
- set_target_properties(${PROJECT_NAME} PROPERTIES MACOSX_BUNDLE_COPYRIGHT "${PROJECT_NAME} Authors")
+-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})
 +install(DIRECTORY data DESTINATION ${PREFIX_PKGDATA}



Home | Main Index | Thread Index | Old Index