Commit 1b31db4b authored by Rene Ladan's avatar Rene Ladan
Browse files

graphics/osgearth: Remove expired port

2025-12-31 graphics/osgearth: fails to build
parent 5118b952
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4981,3 +4981,4 @@ www/unitc||2025-12-31|Removed, part of expired www/unit
www/unit||2025-12-31|Has expired: Upstream repo archived on Oct 8 2025
archivers/py-borgbackup12|archivers/py-borgbackup|2025-12-31|Has expired: Likely the final 1.2.x release, please migrate to using 1.4.x (it is quite similar)
devel/fastcrc||2025-12-31|Has expired: dead upstream
graphics/osgearth||2025-12-31|Has expired: fails to build
+0 −1
Original line number Diff line number Diff line
@@ -685,7 +685,6 @@
    SUBDIR += optar
    SUBDIR += optipng
    SUBDIR += osg
    SUBDIR += osgearth
    SUBDIR += ospray
    SUBDIR += ospray-studio
    SUBDIR += ossim

graphics/osgearth/Makefile

deleted100644 → 0
+0 −61
Original line number Diff line number Diff line
PORTNAME=	osgearth
PORTVERSION=	3.6.1
DISTVERSIONPREFIX=	${PORTNAME}-
PORTREVISION=	8
CATEGORIES=	graphics geography

MAINTAINER=	ports@FreeBSD.org
COMMENT=	C++ terrain rendering toolkit for OpenSceneGraph
WWW=		http://osgearth.org/

LICENSE=	LGPL3
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

BROKEN=		Fails to build, error: cannot assign to non-static data member 'length' with const-qualified type 'const SizeType'
EXPIRATION_DATE=2025-12-31

LIB_DEPENDS=	libcurl.so:ftp/curl \
		libgdal.so:graphics/gdal \
		libgeos_c.so:graphics/geos \
		libosg.so:graphics/osg \
		libprotobuf.so:devel/protobuf \
		libwebp.so:graphics/webp

USES=		cmake compiler:c++17-lang gl pkgconfig sqlite
USE_CXXSTD=	c++17
USE_GITHUB=	yes
GH_ACCOUNT=	gwaldron ocornut:imgui Esri:lerc Tencent:rapidjson
GH_PROJECT=	imgui:imgui lerc:lerc rapidjson:rapidjson
GH_TAGNAME=	cab7edd:imgui 19542a0:lerc f54b0e4:rapidjson
USE_GL=		gl
USE_LDCONFIG=	yes

CMAKE_ARGS+=	-DCMAKE_INCLUDE_PATH:PATH=${LOCALBASE}/include \
		-DCMAKE_LIBRARY_PATH:PATH=${LOCALBASE}/lib \
		-DLIB_POSTFIX:STRING=""

LDFLAGS+=	-Wl,--as-needed

PLIST_SUB=	PORTVERSION=${PORTVERSION}

OPTIONS_DEFINE=		SPDLOG
OPTIONS_DEFAULT=	SPDLOG
SPDLOG_DESC=		Logging support via devel/spdlog

SPDLOG_LIB_DEPENDS=	libspdlog.so:devel/spdlog

post-extract:
.for sm in imgui lerc rapidjson
	@${MV} ${WRKSRC_${sm}}/* ${WRKSRC}/src/third_party/${sm}/
.endfor

post-patch-SPDLOG-off:
	@${REINPLACE_CMD} '/find_package(spdlog)/d' ${WRKSRC}/CMakeLists.txt

.include <bsd.port.options.mk>

.if ${ARCH} != amd64
EXTRA_PATCHES+=	${FILESDIR}/extra-patch-no-ia32-sse
.endif

.include <bsd.port.mk>

graphics/osgearth/distinfo

deleted100644 → 0
+0 −9
Original line number Diff line number Diff line
TIMESTAMP = 1724998365
SHA256 (gwaldron-osgearth-osgearth-3.6.1_GH0.tar.gz) = 38069c30520331b476c9cd3833e0471c3fc96e12e327404aa0ad13fc2c58c9fe
SIZE (gwaldron-osgearth-osgearth-3.6.1_GH0.tar.gz) = 119666978
SHA256 (ocornut-imgui-cab7edd_GH0.tar.gz) = aab343459ef16baab1ace818296220ff11c5c0140dca832bef82c646adb9f3b2
SIZE (ocornut-imgui-cab7edd_GH0.tar.gz) = 1806446
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
+0 −23
Original line number Diff line number Diff line
--- src/osgEarthDrivers/fastdxt/CMakeLists.txt.orig	2024-08-31 11:55:43 UTC
+++ src/osgEarthDrivers/fastdxt/CMakeLists.txt
@@ -11,8 +11,7 @@ if(OSGEARTH_ENABLE_FASTDXT)
             FastDXTImageProcessor.cpp
             dxt.cpp
             util.cpp
-            libdxt.cpp
-            intrinsic.cpp )
+            libdxt.cpp )
 
 ENDIF()
 
--- src/osgEarthDrivers/fastdxt/dxt.cpp.orig	2024-08-31 11:55:04 UTC
+++ src/osgEarthDrivers/fastdxt/dxt.cpp
@@ -6,7 +6,7 @@
 #include "dxt.h"
 #include "util.h"
 
-#define DXT_INTR 1
+#define DXT_INTR 0
 
 void ExtractBlock( const byte *inPtr, int width, byte *colorBlock );
 void ExtractBlock_Intrinsics( const byte *inPtr, int width, byte *colorBlock );
Loading