Update to celestia-1.7.0pre20260319.

This commit is contained in:
ajacoutot
2026-03-25 14:51:54 +00:00
parent a3391a0e48
commit 3815ded745
5 changed files with 9 additions and 66 deletions
+6 -14
View File
@@ -1,14 +1,13 @@
COMMENT= real-time 3D visualization of space
DIST_TUPLE= github CelestiaProject Celestia 1fbc88e2ec75050c3ff95bf8b9071ee8cc7d862b .
# submodule for Spice until we have a port
DIST_TUPLE += github OpenSpace Spice 711ffdb91865c48018ba2efef963ed645ed2557b thirdparty/Spice
GH_ACCOUNT= CelestiaProject
GH_PROJECT= Celestia
GH_COMMIT= 504e54ca7decb483c81f76357ada8bd95a7b0f47
PKGNAME= celestia-1.7.0pre20251225
DISTNAME= celestia-1.7.0pre20260319
EPOCH= 0
SHARED_LIBS += celestia 0.0 # 0.0
SHARED_LIBS += spice 0.0 # unknown
CATEGORIES= astro x11
@@ -33,6 +32,7 @@ MODULES= devel/cmake \
BUILD_DEPENDS= devel/boost \
devel/gettext,-tools \
devel/gperf \
devel/fast-float \
math/eigen3
LIB_DEPENDS= devel/fmt \
@@ -43,7 +43,7 @@ LIB_DEPENDS= devel/fmt \
RUN_DEPENDS= astro/celestia-data \
devel/desktop-file-utils
CONFIGURE_ARGS= -DENABLE_SPICE=ON \
CONFIGURE_ARGS= -DENABLE_SPICE=OFF \
-DENABLE_SDL=OFF \
-DENABLE_QT5=OFF \
-DENABLE_QT6=ON \
@@ -52,12 +52,4 @@ CONFIGURE_ARGS= -DENABLE_SPICE=ON \
-DENABLE_NLS=ON \
-DENABLE_LIBAVIF=ON
pre-configure:
${SUBST_CMD} ${WRKSRC}/thirdparty/Spice/CMakeLists.txt
post-install:
${INSTALL_PROGRAM} \
${WRKBUILD}/thirdparty/Spice/libspice.so.${LIBspice_VERSION} \
${PREFIX}/lib/
.include <bsd.port.mk>
+3 -4
View File
@@ -1,4 +1,3 @@
SHA256 (CelestiaProject-Celestia-1fbc88e2ec75050c3ff95bf8b9071ee8cc7d862b.tar.gz) = jwcrtKd8fqgI7BYc66l7EY0qgMHp9sl8TS8XngoDQgY=
SHA256 (OpenSpace-Spice-711ffdb91865c48018ba2efef963ed645ed2557b.tar.gz) = Q40HkYZAtABJBONOUJtzxarA04f8YMjCT37eNs5rI14=
SIZE (CelestiaProject-Celestia-1fbc88e2ec75050c3ff95bf8b9071ee8cc7d862b.tar.gz) = 4541687
SIZE (OpenSpace-Spice-711ffdb91865c48018ba2efef963ed645ed2557b.tar.gz) = 7612304
SHA256 (-504e54ca.tar.gz) = TEA5Iy9SNerwRma4N45JhFhnnH2abXwGYDSZzGcHjNc=
SHA256 (celestia-1.7.0pre20260319-504e54ca.tar.gz) = TEA5Iy9SNerwRma4N45JhFhnnH2abXwGYDSZzGcHjNc=
SIZE (celestia-1.7.0pre20260319-504e54ca.tar.gz) = 4533801
@@ -1,35 +0,0 @@
Index: src/celcompat/charconv_impl.cpp
--- src/celcompat/charconv_impl.cpp.orig
+++ src/celcompat/charconv_impl.cpp
@@ -170,19 +170,31 @@ write_buffer(const char* first, const char* last, char
inline void
parse_value(const char* start, char** end, float& value)
{
+#ifndef __OpenBSD__
value = strtof_l(start, end, numberParsingLocale);
+#else
+ value = strtof(start, end);
+#endif
}
inline void
parse_value(const char* start, char** end, double& value)
{
+#ifndef __OpenBSD__
value = strtod_l(start, end, numberParsingLocale);
+#else
+ value = strtod(start, end);
+#endif
}
inline void
parse_value(const char* start, char** end, long double& value)
{
+#ifndef __OpenBSD__
value = strtold_l(start, end, numberParsingLocale);
+#else
+ value = strtold(start, end);
+#endif
}
template<typename T>
@@ -1,11 +0,0 @@
Index: thirdparty/Spice/CMakeLists.txt
--- thirdparty/Spice/CMakeLists.txt.orig
+++ thirdparty/Spice/CMakeLists.txt
@@ -47,6 +47,7 @@ else ()
endif ()
set_target_properties(spice PROPERTIES POSITION_INDEPENDENT_CODE 1)
set_target_properties(spice PROPERTIES C_STANDARD 90)
+set_target_properties(spice PROPERTIES SOVERSION ${LIBspice_VERSION})
target_include_directories(spice PUBLIC "${INCLUDE_PATH}")
if (WIN32)
-2
View File
@@ -1,6 +1,5 @@
@bin bin/celestia-qt6
@lib lib/libcelestia.so.${LIBcelestia_VERSION}
@lib lib/libspice.so.${LIBspice_VERSION}
share/applications/space.celestiaproject.celestia_qt6.desktop
share/celestia/COPYING
share/celestia/celestia.cfg
@@ -122,7 +121,6 @@ share/celestia/scripts/mark-lg.celx
share/celestia/scripts/marktype.celx
share/celestia/scripts/overlay_demo.cel
share/celestia/scripts/overlay_demo.celx
share/celestia/scripts/randstar.celx
share/celestia/scripts/tour-system.celx
share/celestia/scripts/z-dist.celx
share/celestia/shaders/