From nobody Thu Jul 20 16:37:43 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R6JJS1YjDz4p4n8; Thu, 20 Jul 2023 16:37:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R6JJS132Sz4TrQ; Thu, 20 Jul 2023 16:37:44 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689871064; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uH9ncNu/HNHHQGe8c08ntHJ9lMqi/0HCjjeoiLuNkFU=; b=I1P0Vh9GXcOVbP5OWD2qlJsV9A5UY1GqUCxW5mnxvpTST1HoiaZVs+wARZI6cQ2mVcIDEl 7D2cUZVY0eT+qcL1tzHKv+xMfeYlGx4+163KwayaLIjM3g/b98dJtwzDGn7mNaYQx52jal TJr1eMU1hb5g0R8n09mE6PmazrnjKpntENLvjCO+j2jwHwH8HH7cbo7e4A9xu6DeSb2N84 kzQcEdc9GiBFyoKa6SJTAob6vHyznO8j9k3nZ4gaFDXGbJYduM6tAcb9eOh6JCrsuJ7atq k+7nFABQ/wUzxngv0CzJCQV2LEcz9Wf375kqM3aRk3aRq08e7e/zi/DUUX7MNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689871064; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=uH9ncNu/HNHHQGe8c08ntHJ9lMqi/0HCjjeoiLuNkFU=; b=AVKzYCiUofSrkCDmRGNZN1kd+qaR6gq5cCBFl+YgmXULEoDWlqZCC8rZwow32/BQZN4hMU UlTIyjgjeV/Iux0xrXBP6pB7oIAcidqK8Nmb2kXyzi67boum3foboMSmpne7O94SEpNEB7 QwmKoSlTb0MJGv6yD7AVuhRpgE+BxgRAHBdyuF2Mj0gVAI0YMyOhfNS64d88LPX15VcdAu Idf83ucv1cnrpmCumObcQb8vnwH70V1vmM/Y26k303r16UjaxsIw4u1Gp3V57U0OGeMBid XOHon77+mfqqocujwv3qc2c+VPlQ56vCmZmXpdnBS8fuwB5UALdfRIQtnySeVg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689871064; a=rsa-sha256; cv=none; b=FR1h5XbeehWcPd4LyQv5xjrcrMvqTxv+XSTu4H1zFj1SQ47IaQsf6d8dTTCxeS/UWXX+d/ WG7qLHA5KYc3coyZI5JQQ5vTEJAytUcygYB/GNxzx1C5nBS2CBuhC1XZWdsFBqUaGveiVr 2FHQWEl+bSHsfpjZXEt776O1DOCLdVqt+WA8H/k7d1JdjA8wVcJa8MxFmoX++i/yl48Hlm Zgk8ivgnNe7tO4JXssq5jr3q8r5pNFE+HzUwggSzsXP8mAx2+yUiMIF+rjyweIt8IdzN8b hPM/d6kYtMXo8i671TdZPeZFBI6YaYcv5iaoMGoZpM6VVuOQFdx+myqiCQU9Hg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R6JJS0567zdBC; Thu, 20 Jul 2023 16:37:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36KGbhbu020837; Thu, 20 Jul 2023 16:37:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36KGbhrF020836; Thu, 20 Jul 2023 16:37:43 GMT (envelope-from git) Date: Thu, 20 Jul 2023 16:37:43 GMT Message-Id: <202307201637.36KGbhrF020836@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Felix Palmen Subject: git: 10327d204ee8 - main - graphics/osgearth: Update to 3.4 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zirias X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 10327d204ee8740ba8cf5b11e59084c85279ce3a Auto-Submitted: auto-generated The branch main has been updated by zirias: URL: https://cgit.FreeBSD.org/ports/commit/?id=10327d204ee8740ba8cf5b11e59084c85279ce3a commit 10327d204ee8740ba8cf5b11e59084c85279ce3a Author: Felix Palmen AuthorDate: 2023-07-16 18:56:56 +0000 Commit: Felix Palmen CommitDate: 2023-07-20 16:37:12 +0000 graphics/osgearth: Update to 3.4 Changes from 3.2: Bugfixes, performance and maintenance, see https://github.com/gwaldron/osgearth/releases Take maintainership from lbartoletti@. PR: 272550 Approved by: lbartoletti (previous maintainer) --- graphics/osgearth/Makefile | 18 ++++++----- graphics/osgearth/distinfo | 12 ++++++-- graphics/osgearth/files/extra-patch-i386 | 8 ++--- graphics/osgearth/files/patch-CMakeLists.txt | 8 +++++ .../patch-src_osgEarthDrivers_lerc_CMakeLists.txt | 6 ++-- graphics/osgearth/pkg-plist | 35 +++++++++++----------- 6 files changed, 53 insertions(+), 34 deletions(-) diff --git a/graphics/osgearth/Makefile b/graphics/osgearth/Makefile index b5fc4011a837..f78f6fa99b93 100644 --- a/graphics/osgearth/Makefile +++ b/graphics/osgearth/Makefile @@ -1,10 +1,9 @@ PORTNAME= osgearth -PORTVERSION= 3.2 +PORTVERSION= 3.4 DISTVERSIONPREFIX= ${PORTNAME}- -PORTREVISION= 7 CATEGORIES= graphics geography -MAINTAINER= lbartoletti@FreeBSD.org +MAINTAINER= zirias@FreeBSD.org COMMENT= C++ terrain rendering toolkit for OpenSceneGraph WWW= http://osgearth.org/ @@ -21,7 +20,9 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ USES= cmake gl pkgconfig sqlite USE_GITHUB= yes -GH_ACCOUNT= gwaldron +GH_ACCOUNT= gwaldron ocornut:imgui Esri:lerc Tencent:rapidjson +GH_PROJECT= imgui:imgui lerc:lerc rapidjson:rapidjson +GH_TAGNAME= 9e8e5ac:imgui 19542a0:lerc f54b0e4:rapidjson USE_CXXSTD= c++11 USE_LDCONFIG= yes @@ -33,6 +34,11 @@ CMAKE_ARGS+= -DCMAKE_INCLUDE_PATH:PATH=${LOCALBASE}/include \ PLIST_SUB= PORTVERSION=${PORTVERSION} +post-extract: +.for sm in imgui lerc rapidjson + @${MV} ${WRKSRC_${sm}}/* ${WRKSRC}/src/third_party/${sm}/ +.endfor + .include .if ${ARCH:Mpowerpc64*} @@ -42,10 +48,8 @@ USES+= compiler:gcc-c++11-lib USES+= compiler:c++11-lang .endif -.include - .if ${ARCH} == i386 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-i386 .endif -.include +.include diff --git a/graphics/osgearth/distinfo b/graphics/osgearth/distinfo index 52485837ad55..ae9a78f59d26 100644 --- a/graphics/osgearth/distinfo +++ b/graphics/osgearth/distinfo @@ -1,3 +1,9 @@ -TIMESTAMP = 1648530145 -SHA256 (gwaldron-osgearth-osgearth-3.2_GH0.tar.gz) = 7e1dd643b1f3b8d1ba9561b899c18176af988342b86c42d89a70be924cb747f6 -SIZE (gwaldron-osgearth-osgearth-3.2_GH0.tar.gz) = 121772329 +TIMESTAMP = 1689531343 +SHA256 (gwaldron-osgearth-osgearth-3.4_GH0.tar.gz) = 2a5aabd6950c598b2310842dfa1e9cf085d54692a0c787cef5627530fcbe682e +SIZE (gwaldron-osgearth-osgearth-3.4_GH0.tar.gz) = 119642993 +SHA256 (ocornut-imgui-9e8e5ac_GH0.tar.gz) = da877be818e7f4f20915c9982081f958bf5f68b26a5afde64c263427aff8097b +SIZE (ocornut-imgui-9e8e5ac_GH0.tar.gz) = 1592220 +SHA256 (Esri-lerc-19542a0_GH0.tar.gz) = 5d48ae91b45343c68da336ef6996af3b9495452970185244e21253f4c711e529 +SIZE (Esri-lerc-19542a0_GH0.tar.gz) = 4247805 +SHA256 (Tencent-rapidjson-f54b0e4_GH0.tar.gz) = 35c330d40ed9def99e8dea8f3b0e4fda7610b813b6f4aac9a70ffefcb9ab1f1e +SIZE (Tencent-rapidjson-f54b0e4_GH0.tar.gz) = 1019457 diff --git a/graphics/osgearth/files/extra-patch-i386 b/graphics/osgearth/files/extra-patch-i386 index ffcf26df680e..ae7e8a338d36 100644 --- a/graphics/osgearth/files/extra-patch-i386 +++ b/graphics/osgearth/files/extra-patch-i386 @@ -1,4 +1,4 @@ ---- src/osgEarthDrivers/fastdxt/CMakeLists.txt.orig 2018-11-12 18:17:36 UTC +--- src/osgEarthDrivers/fastdxt/CMakeLists.txt.orig 2023-05-16 14:53:59 UTC +++ src/osgEarthDrivers/fastdxt/CMakeLists.txt @@ -30,7 +30,6 @@ SET(TARGET_SRC dxt.cpp @@ -8,12 +8,12 @@ ) SETUP_PLUGIN(fastdxt) ---- src/osgEarthDrivers/fastdxt/dxt.cpp.orig 2018-11-12 18:17:36 UTC +--- src/osgEarthDrivers/fastdxt/dxt.cpp.orig 2023-05-16 14:53:59 UTC +++ src/osgEarthDrivers/fastdxt/dxt.cpp -@@ -7,7 +7,7 @@ +@@ -6,7 +6,7 @@ + #include "dxt.h" #include "util.h" - -#define DXT_INTR 1 +#define DXT_INTR 0 diff --git a/graphics/osgearth/files/patch-CMakeLists.txt b/graphics/osgearth/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..ab12b4b6f4f0 --- /dev/null +++ b/graphics/osgearth/files/patch-CMakeLists.txt @@ -0,0 +1,8 @@ +--- CMakeLists.txt.orig 2023-07-17 15:47:49 UTC ++++ CMakeLists.txt +@@ -335,4 +335,4 @@ install(FILES ${CMAKE_CURRENT_BINARY_DIR}/osgEarthConf + COMPATIBILITY SameMajorVersion ) + install(FILES ${CMAKE_CURRENT_BINARY_DIR}/osgEarthConfig.cmake + ${CMAKE_CURRENT_BINARY_DIR}/osgEarthConfigVersion.cmake +- DESTINATION ${CMAKE_INSTALL_PREFIX}/cmake ) ++ DESTINATION ${CMAKE_INSTALL_PREFIX}/share/cmake/Modules/osgEarth ) diff --git a/graphics/osgearth/files/patch-src_osgEarthDrivers_lerc_CMakeLists.txt b/graphics/osgearth/files/patch-src_osgEarthDrivers_lerc_CMakeLists.txt index 6c8bcc143041..7c50938eb372 100644 --- a/graphics/osgearth/files/patch-src_osgEarthDrivers_lerc_CMakeLists.txt +++ b/graphics/osgearth/files/patch-src_osgEarthDrivers_lerc_CMakeLists.txt @@ -1,8 +1,8 @@ ---- src/osgEarthDrivers/lerc/CMakeLists.txt.orig 2021-08-09 17:37:52 UTC +--- src/osgEarthDrivers/lerc/CMakeLists.txt.orig 2023-05-16 14:53:59 UTC +++ src/osgEarthDrivers/lerc/CMakeLists.txt @@ -1,4 +1,4 @@ --INCLUDE_DIRECTORIES( ../../third_party/lerc ) -+INCLUDE_DIRECTORIES( BEFORE ../../third_party/lerc ) +-INCLUDE_DIRECTORIES( ../../third_party/lerc/include ) ++INCLUDE_DIRECTORIES( BEFORE ../../third_party/lerc/include ) SET(TARGET_SRC ReaderWriterLERC.cpp diff --git a/graphics/osgearth/pkg-plist b/graphics/osgearth/pkg-plist index 26841690225c..05b9cb587be0 100644 --- a/graphics/osgearth/pkg-plist +++ b/graphics/osgearth/pkg-plist @@ -2,24 +2,19 @@ bin/osgEarth_tests bin/osgearth_3pv bin/osgearth_annotation bin/osgearth_atlas +bin/osgearth_bakefeaturetiles bin/osgearth_bindless bin/osgearth_boundarygen bin/osgearth_city bin/osgearth_clamp bin/osgearth_cluster -bin/osgearth_computerangecallback -bin/osgearth_controls bin/osgearth_conv bin/osgearth_createtile -bin/osgearth_decal bin/osgearth_drawables bin/osgearth_eci -bin/osgearth_elevation bin/osgearth_ephemeris bin/osgearth_featurefilter -bin/osgearth_featurequery bin/osgearth_features -bin/osgearth_geodetic_graticule bin/osgearth_graticule bin/osgearth_heatmap bin/osgearth_horizon @@ -29,16 +24,12 @@ bin/osgearth_los bin/osgearth_magnify bin/osgearth_manip bin/osgearth_map -bin/osgearth_measure bin/osgearth_minimap bin/osgearth_mrt bin/osgearth_mvtindex bin/osgearth_occlusionculling bin/osgearth_overlayviewer -bin/osgearth_scenegraphcallbacks -bin/osgearth_sequencecontrol bin/osgearth_shadercomp -bin/osgearth_shadergen bin/osgearth_skyview bin/osgearth_terrainprofile bin/osgearth_tfs @@ -48,7 +39,6 @@ bin/osgearth_transform bin/osgearth_version bin/osgearth_video bin/osgearth_viewer -bin/osgearth_wfs include/osgEarth/AGG.h include/osgEarth/ActivityMonitorTool include/osgEarth/AltitudeFilter @@ -77,7 +67,6 @@ include/osgEarth/BuildGeometryFilter include/osgEarth/BuildTextFilter include/osgEarth/Cache include/osgEarth/CacheBin -include/osgEarth/CacheEstimator include/osgEarth/CachePolicy include/osgEarth/CacheSeed include/osgEarth/Callouts @@ -86,6 +75,7 @@ include/osgEarth/Capabilities include/osgEarth/CascadeDrapingDecorator include/osgEarth/CentroidFilter include/osgEarth/CesiumIon +include/osgEarth/Chonk include/osgEarth/CircleNode include/osgEarth/ClampCallback include/osgEarth/ClampableNode @@ -102,6 +92,8 @@ include/osgEarth/Containers include/osgEarth/ContourMap include/osgEarth/Controls include/osgEarth/ConvertTypeFilter +include/osgEarth/Coverage +include/osgEarth/CoverageLayer include/osgEarth/CoverageSymbol include/osgEarth/CropFilter include/osgEarth/CssUtils @@ -127,7 +119,6 @@ include/osgEarth/ElevationQuery include/osgEarth/ElevationRanges include/osgEarth/EllipseNode include/osgEarth/Ellipsoid -include/osgEarth/EllipsoidIntersector include/osgEarth/Endian include/osgEarth/Ephemeris include/osgEarth/ExampleResources @@ -156,6 +147,7 @@ include/osgEarth/FileUtils include/osgEarth/Fill include/osgEarth/Filter include/osgEarth/FilterContext +include/osgEarth/FilteredFeatureSource include/osgEarth/FlatteningLayer include/osgEarth/Formatter include/osgEarth/FractalElevationLayer @@ -177,6 +169,7 @@ include/osgEarth/GeodeticLabelingEngine include/osgEarth/Geoid include/osgEarth/Geometry include/osgEarth/GeometryClamper +include/osgEarth/GeometryCloud include/osgEarth/GeometryCompiler include/osgEarth/GeometryFactory include/osgEarth/GeometryRasterizer @@ -199,7 +192,6 @@ include/osgEarth/ImageToHeightFieldConverter include/osgEarth/ImageUtils include/osgEarth/InstanceBuilder include/osgEarth/InstanceCloud -include/osgEarth/InstanceCloud.cpp include/osgEarth/InstanceResource include/osgEarth/InstanceSymbol include/osgEarth/IntersectionPicker @@ -228,12 +220,14 @@ include/osgEarth/MGRSFormatter include/osgEarth/MGRSGraticule include/osgEarth/MVT include/osgEarth/Map +include/osgEarth/MapboxGLGlyphManager include/osgEarth/MapCallback include/osgEarth/MapInfo include/osgEarth/MapModelChange include/osgEarth/MapNode include/osgEarth/MapNodeObserver include/osgEarth/MapboxGLImageLayer +include/osgEarth/MaterialLoader include/osgEarth/Math include/osgEarth/MeasureTool include/osgEarth/MemCache @@ -242,6 +236,7 @@ include/osgEarth/MeshConsolidator include/osgEarth/MeshFlattener include/osgEarth/MeshSubdivider include/osgEarth/MetaTile +include/osgEarth/MetadataNode include/osgEarth/Metrics include/osgEarth/ModelLayer include/osgEarth/ModelNode @@ -349,16 +344,17 @@ include/osgEarth/Text include/osgEarth/TextSymbol include/osgEarth/TextSymbolizer include/osgEarth/TextureArena -include/osgEarth/TextureArena.cpp include/osgEarth/TextureBuffer include/osgEarth/Threading include/osgEarth/ThreeDTilesLayer include/osgEarth/TileCache +include/osgEarth/TileEstimator include/osgEarth/TileHandler include/osgEarth/TileIndex include/osgEarth/TileIndexBuilder include/osgEarth/TileKey include/osgEarth/TileLayer +include/osgEarth/TileMesher include/osgEarth/TileRasterizer include/osgEarth/TileSource include/osgEarth/TileSourceElevationLayer @@ -367,6 +363,7 @@ include/osgEarth/TileVisitor include/osgEarth/TiledFeatureModelGraph include/osgEarth/TiledFeatureModelLayer include/osgEarth/TimeControl +include/osgEarth/TimeSeriesImage include/osgEarth/TopologyGraph include/osgEarth/TrackNode include/osgEarth/TransformFilter @@ -389,7 +386,10 @@ include/osgEarth/WingedEdgeMesh include/osgEarth/WireLines include/osgEarth/XYZ include/osgEarth/XYZFeatureSource +include/osgEarth/XYZModelGraph +include/osgEarth/XYZModelLayer include/osgEarth/XmlUtils +include/osgEarth/glyphs.pb.h include/osgEarth/optional include/osgEarth/rtree.h include/osgEarth/tinystr.h @@ -407,7 +407,6 @@ include/osgEarthDrivers/engine_rex/GeometryPool include/osgEarthDrivers/engine_rex/LayerDrawable include/osgEarthDrivers/engine_rex/LoadTileData include/osgEarthDrivers/engine_rex/Loader -include/osgEarthDrivers/engine_rex/MeshEditor include/osgEarthDrivers/engine_rex/RenderBindings include/osgEarthDrivers/engine_rex/RexTerrainEngineNode include/osgEarthDrivers/engine_rex/SelectionInfo @@ -431,7 +430,7 @@ include/osgEarthDrivers/scriptengine_javascript/duktape.h include/osgEarthDrivers/sky_gl/GLSkyOptions include/osgEarthDrivers/sky_simple/SimpleSkyOptions lib/libosgEarth.so -lib/libosgEarth.so.113 +lib/libosgEarth.so.148 lib/libosgEarth.so.%%PORTVERSION%%.0 lib/osgPlugins-3.6.5/osgdb_earth.so lib/osgPlugins-3.6.5/osgdb_fastdxt.so @@ -457,3 +456,5 @@ lib/osgPlugins-3.6.5/osgdb_osgearth_vdatum_egm96.so lib/osgPlugins-3.6.5/osgdb_osgearth_viewpoints.so lib/osgPlugins-3.6.5/osgdb_template.so lib/osgPlugins-3.6.5/osgdb_webp.so +share/cmake/Modules/osgEarth/osgEarthConfig.cmake +share/cmake/Modules/osgEarth/osgEarthConfigVersion.cmake