From owner-svn-ports-all@freebsd.org Thu Mar 22 08:15:53 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8064F4EC13; Thu, 22 Mar 2018 08:15:52 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B21786C57; Thu, 22 Mar 2018 08:15:52 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7D3836EEB; Thu, 22 Mar 2018 08:15:52 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2M8FqwL026118; Thu, 22 Mar 2018 08:15:52 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2M8Fpo9026112; Thu, 22 Mar 2018 08:15:51 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201803220815.w2M8Fpo9026112@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Thu, 22 Mar 2018 08:15:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465264 - in head/math/mathgl: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math/mathgl: . files X-SVN-Commit-Revision: 465264 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2018 08:15:53 -0000 Author: yuri Date: Thu Mar 22 08:15:51 2018 New Revision: 465264 URL: https://svnweb.freebsd.org/changeset/ports/465264 Log: math/mathgl: Update to 2.4.2 Reported by: portscout Modified: head/math/mathgl/Makefile head/math/mathgl/distinfo head/math/mathgl/files/patch-CMakeLists.txt head/math/mathgl/files/patch-examples_CMakeLists.txt head/math/mathgl/pkg-plist Modified: head/math/mathgl/Makefile ============================================================================== --- head/math/mathgl/Makefile Thu Mar 22 08:12:28 2018 (r465263) +++ head/math/mathgl/Makefile Thu Mar 22 08:15:51 2018 (r465264) @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= mathgl -DISTVERSION= 2.4.1 +DISTVERSION= 2.4.2 CATEGORIES= math graphics MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} Modified: head/math/mathgl/distinfo ============================================================================== --- head/math/mathgl/distinfo Thu Mar 22 08:12:28 2018 (r465263) +++ head/math/mathgl/distinfo Thu Mar 22 08:15:51 2018 (r465264) @@ -1,3 +1,3 @@ -TIMESTAMP = 1505889476 -SHA256 (mathgl-2.4.1.tar.gz) = 751488bb9454c057d6e2828867dd56e00507c84a47efa1b8546da55a3455a588 -SIZE (mathgl-2.4.1.tar.gz) = 22665490 +TIMESTAMP = 1521703603 +SHA256 (mathgl-2.4.2.tar.gz) = aeb3107101a21fa7f522746affc4aebfcfefbcc430a37dc8b8bc8413434f4af0 +SIZE (mathgl-2.4.2.tar.gz) = 22665821 Modified: head/math/mathgl/files/patch-CMakeLists.txt ============================================================================== --- head/math/mathgl/files/patch-CMakeLists.txt Thu Mar 22 08:12:28 2018 (r465263) +++ head/math/mathgl/files/patch-CMakeLists.txt Thu Mar 22 08:15:51 2018 (r465264) @@ -1,6 +1,6 @@ ---- CMakeLists.txt.orig 2017-07-20 06:27:40 UTC +--- CMakeLists.txt.orig 2018-03-21 16:48:13 UTC +++ CMakeLists.txt -@@ -59,13 +59,13 @@ function(mgl_add_lib mgl_tmp_lib) +@@ -74,13 +74,13 @@ function(mgl_add_lib mgl_tmp_lib) set(mgl_src_lst ${ARGV}) list(REMOVE_AT mgl_src_lst 0) add_library(${mgllib} SHARED ${mgl_src_lst}) @@ -16,7 +16,7 @@ if(MSVC) set(mgl_lib_static "-static") if(CMAKE_BUILD_TYPE STREQUAL "Debug") -@@ -76,18 +76,18 @@ function(mgl_add_lib mgl_tmp_lib) +@@ -91,18 +91,18 @@ function(mgl_add_lib mgl_tmp_lib) elseif(MSVC) set(mgl_lib_static) set_target_properties(${mgllib} PROPERTIES CLEAN_DIRECT_OUTPUT 1) @@ -39,16 +39,7 @@ EXPORT MathGLTargets RUNTIME DESTINATION ${MathGL_INSTALL_BIN_DIR} ARCHIVE DESTINATION ${MathGL_INSTALL_LIB_DIR} -@@ -446,7 +446,7 @@ if(enable-hdf5) - set(MGL_HAVE_HDF5 1) - find_package(HDF5) - if(NOT HDF5_FOUND) -- find_package(HDF5 NAMES hdf5 COMPONENTS C shared static) -+ find_package(HDF5 NAMES hdf5 COMPONENTS C shared) - if(NOT HDF5_FOUND) - message(SEND_ERROR "Couldn't find HDF5 library.") - endif(NOT HDF5_FOUND) -@@ -715,7 +715,7 @@ if(NOT enable-lgpl) +@@ -738,7 +738,7 @@ if(NOT enable-lgpl) add_subdirectory( lang ) endif(enable-python OR enable-lua OR enable-octave) add_subdirectory( utils ) Modified: head/math/mathgl/files/patch-examples_CMakeLists.txt ============================================================================== --- head/math/mathgl/files/patch-examples_CMakeLists.txt Thu Mar 22 08:12:28 2018 (r465263) +++ head/math/mathgl/files/patch-examples_CMakeLists.txt Thu Mar 22 08:15:51 2018 (r465264) @@ -1,11 +1,11 @@ ---- examples/CMakeLists.txt.orig 2017-07-20 06:27:54 UTC +--- examples/CMakeLists.txt.orig 2018-03-22 07:29:50 UTC +++ examples/CMakeLists.txt -@@ -1,7 +1,7 @@ - file(COPY ${CMAKE_SOURCE_DIR}/examples/iris.dat DESTINATION ${CMAKE_BINARY_DIR}/examples) - file(COPY ${CMAKE_SOURCE_DIR}/examples/Equirectangular-projection.jpg DESTINATION ${CMAKE_BINARY_DIR}/examples) +@@ -3,7 +3,7 @@ file(COPY ${CMAKE_SOURCE_DIR}/examples/E + file(COPY ${CMAKE_SOURCE_DIR}/examples/samples.cpp DESTINATION ${CMAKE_BINARY_DIR}/examples) + file(COPY ${CMAKE_SOURCE_DIR}/examples/wnd_samples.cpp DESTINATION ${CMAKE_BINARY_DIR}/examples) add_executable(mgl_example wnd_samples.cpp full_test.cpp samples.cpp) -target_link_libraries(mgl_example mgl-static ${getopt_lib-static}) +#target_link_libraries(mgl_example mgl-static ${getopt_lib-static}) - - if(MGL_HAVE_FLTK) - include_directories(${FLTK_INCLUDE_DIR}) + if(CMAKE_BUILD_TYPE STREQUAL "Debug" AND CMAKE_COMPILER_IS_GNUCXX AND enable-lcov) + setup_target_for_coverage( + NAME mgl_coverage Modified: head/math/mathgl/pkg-plist ============================================================================== --- head/math/mathgl/pkg-plist Thu Mar 22 08:12:28 2018 (r465263) +++ head/math/mathgl/pkg-plist Thu Mar 22 08:15:51 2018 (r465264) @@ -47,7 +47,10 @@ include/mgl2/vect.h include/mgl2/vectors.fs include/mgl2/volume.h include/mgl2/wnd.h -lib/cmake/mathgl2/mathgl2-config.cmake +lib/cmake/mathgl/MathGL2Config.cmake +lib/cmake/mathgl/MathGL2ConfigVersion.cmake +lib/cmake/mathgl/MathGLTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/mathgl/MathGLTargets.cmake lib/libmgl2-glut.so lib/libmgl2-glut.so.%%SHLIB_VER%% %%QT5%%lib/libmgl2-qt.so