mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
occt: update to 7.9.1
This commit is contained in:
parent
a930c8bdd5
commit
20e3a3b565
7 changed files with 77 additions and 164 deletions
134
common/shlibs
134
common/shlibs
|
@ -3457,67 +3457,79 @@ libvtkkissfft-9.3.so.1 vtk-9.3.0_1
|
|||
libvolume_key.so.1 volume_key-0.3.9_1
|
||||
libxxhash.so.0 libxxHash-0.6.5_2
|
||||
libcapnp_c.so.0 c-capnproto-0.3_1
|
||||
libTKernel.so.7.7 occt-7.7.1_1
|
||||
libTKXmlXCAF.so.7.7 occt-7.7.1_1
|
||||
libTKXmlTObj.so.7.7 occt-7.7.1_1
|
||||
libTKXmlL.so.7.7 occt-7.7.1_1
|
||||
libTKXml.so.7.7 occt-7.7.1_1
|
||||
libTKXSDRAW.so.7.7 occt-7.7.1_1
|
||||
libTKXSBase.so.7.7 occt-7.7.1_1
|
||||
libTKXMesh.so.7.7 occt-7.7.1_1
|
||||
libTKXDESTEP.so.7.7 occt-7.7.1_1
|
||||
libTKXDEIGES.so.7.7 occt-7.7.1_1
|
||||
libTKXDEDRAW.so.7.7 occt-7.7.1_1
|
||||
libTKXDECascade.so.7.7 occt-7.7.1_1
|
||||
libTKXDE.so.7.7 occt-7.7.1_1
|
||||
libTKXCAF.so.7.7 occt-7.7.1_1
|
||||
libTKViewerTest.so.7.7 occt-7.7.1_1
|
||||
libTKVRML.so.7.7 occt-7.7.1_1
|
||||
libTKVCAF.so.7.7 occt-7.7.1_1
|
||||
libTKV3d.so.7.7 occt-7.7.1_1
|
||||
libTKTopTest.so.7.7 occt-7.7.1_1
|
||||
libTKTopAlgo.so.7.7 occt-7.7.1_1
|
||||
libTKTObjDRAW.so.7.7 occt-7.7.1_1
|
||||
libTKTObj.so.7.7 occt-7.7.1_1
|
||||
libTKStdL.so.7.7 occt-7.7.1_1
|
||||
libTKStd.so.7.7 occt-7.7.1_1
|
||||
libTKShHealing.so.7.7 occt-7.7.1_1
|
||||
libTKService.so.7.7 occt-7.7.1_1
|
||||
libTKSTL.so.7.7 occt-7.7.1_1
|
||||
libTKSTEPBase.so.7.7 occt-7.7.1_1
|
||||
libTKSTEPAttr.so.7.7 occt-7.7.1_1
|
||||
libTKSTEP209.so.7.7 occt-7.7.1_1
|
||||
libTKSTEP.so.7.7 occt-7.7.1_1
|
||||
libTKRWMesh.so.7.7 occt-7.7.1_1
|
||||
libTKQADraw.so.7.7 occt-7.7.1_1
|
||||
libTKPrim.so.7.7 occt-7.7.1_1
|
||||
libTKOpenGlTest.so.7.7 occt-7.7.1_1
|
||||
libTKOpenGl.so.7.7 occt-7.7.1_1
|
||||
libTKOffset.so.7.7 occt-7.7.1_1
|
||||
libTKMeshVS.so.7.7 occt-7.7.1_1
|
||||
libTKMesh.so.7.7 occt-7.7.1_1
|
||||
libTKMath.so.7.7 occt-7.7.1_1
|
||||
libTKLCAF.so.7.7 occt-7.7.1_1
|
||||
libTKIGES.so.7.7 occt-7.7.1_1
|
||||
libTKHLR.so.7.7 occt-7.7.1_1
|
||||
libTKGeomBase.so.7.7 occt-7.7.1_1
|
||||
libTKGeomAlgo.so.7.7 occt-7.7.1_1
|
||||
libTKG3d.so.7.7 occt-7.7.1_1
|
||||
libTKG2d.so.7.7 occt-7.7.1_1
|
||||
libTKFillet.so.7.7 occt-7.7.1_1
|
||||
libTKFeat.so.7.7 occt-7.7.1_1
|
||||
libTKExpress.so.7.7 occt-7.7.1_1
|
||||
libTKDraw.so.7.7 occt-7.7.1_1
|
||||
libTKDCAF.so.7.7 occt-7.7.1_1
|
||||
libTKCDF.so.7.7 occt-7.7.1_1
|
||||
libTKCAF.so.7.7 occt-7.7.1_1
|
||||
libTKBool.so.7.7 occt-7.7.1_1
|
||||
libTKBinXCAF.so.7.7 occt-7.7.1_1
|
||||
libTKBinTObj.so.7.7 occt-7.7.1_1
|
||||
libTKBinL.so.7.7 occt-7.7.1_1
|
||||
libTKBin.so.7.7 occt-7.7.1_1
|
||||
libTKBRep.so.7.7 occt-7.7.1_1
|
||||
libTKBO.so.7.7 occt-7.7.1_1
|
||||
libTKernel.so.7.9 occt-7.9.1_1
|
||||
libTKXmlXCAF.so.7.9 occt-7.9.1_1
|
||||
libTKXmlTObj.so.7.9 occt-7.9.1_1
|
||||
libTKXmlL.so.7.9 occt-7.9.1_1
|
||||
libTKXml.so.7.9 occt-7.9.1_1
|
||||
libTKXSDRAW.so.7.9 occt-7.9.1_1
|
||||
libTKXSDRAW.so.7.9 occt-7.9.1_1
|
||||
libTKXSDRAWDE.so.7.9 occt-7.9.1_1
|
||||
libTKXSDRAWGLTF.so.7.9 occt-7.9.1_1
|
||||
libTKXSDRAWIGES.so.7.9 occt-7.9.1_1
|
||||
libTKXSDRAWOBJ.so.7.9 occt-7.9.1_1
|
||||
libTKXSDRAWPLY.so.7.9 occt-7.9.1_1
|
||||
libTKXSDRAWSTEP.so.7.9 occt-7.9.1_1
|
||||
libTKXSDRAWSTL.so.7.9 occt-7.9.1_1
|
||||
libTKXSBase.so.7.9 occt-7.9.1_1
|
||||
libTKDEIGES.so.7.9 occt-7.9.1_1
|
||||
libTKDEGLTF.so.7.9 occt-7.9.1_1
|
||||
libTKDESTEP.so.7.9 occt-7.9.1_1
|
||||
libTKDESTL.so.7.9 occt-7.9.1_1
|
||||
libTKDEVRML.so.7.9 occt-7.9.1_1
|
||||
libTKDEPLY.so.7.9 occt-7.9.1_1
|
||||
libTKDEOBJ.so.7.9 occt-7.9.1_1
|
||||
libTKXMesh.so.7.9 occt-7.9.1_1
|
||||
libTKXDEDRAW.so.7.9 occt-7.9.1_1
|
||||
libTKDECascade.so occt-7.9.1_1
|
||||
libTKDE.so.7.9 occt-7.9.1_1
|
||||
libTKXCAF.so.7.9 occt-7.9.1_1
|
||||
libTKViewerTest.so.7.9 occt-7.9.1_1
|
||||
libTKVRML.so.7.9 occt-7.9.1_1
|
||||
libTKVCAF.so.7.9 occt-7.9.1_1
|
||||
libTKV3d.so.7.9 occt-7.9.1_1
|
||||
libTKTopTest.so.7.9 occt-7.9.1_1
|
||||
libTKTopAlgo.so.7.9 occt-7.9.1_1
|
||||
libTKTObjDRAW.so.7.9 occt-7.9.1_1
|
||||
libTKTObj.so.7.9 occt-7.9.1_1
|
||||
libTKStdL.so.7.9 occt-7.9.1_1
|
||||
libTKStd.so.7.9 occt-7.9.1_1
|
||||
libTKShHealing.so.7.9 occt-7.9.1_1
|
||||
libTKService.so.7.9 occt-7.9.1_1
|
||||
libTKSTL.so.7.9 occt-7.9.1_1
|
||||
libTKSTEPBase.so.7.9 occt-7.9.1_1
|
||||
libTKSTEPAttr.so.7.9 occt-7.9.1_1
|
||||
libTKSTEP209.so.7.9 occt-7.9.1_1
|
||||
libTKSTEP.so.7.9 occt-7.9.1_1
|
||||
libTKRWMesh.so.7.9 occt-7.9.1_1
|
||||
libTKQADraw.so.7.9 occt-7.9.1_1
|
||||
libTKPrim.so.7.9 occt-7.9.1_1
|
||||
libTKOpenGlTest.so.7.9 occt-7.9.1_1
|
||||
libTKOpenGl.so.7.9 occt-7.9.1_1
|
||||
libTKOffset.so.7.9 occt-7.9.1_1
|
||||
libTKMeshVS.so.7.9 occt-7.9.1_1
|
||||
libTKMesh.so.7.9 occt-7.9.1_1
|
||||
libTKMath.so.7.9 occt-7.9.1_1
|
||||
libTKLCAF.so.7.9 occt-7.9.1_1
|
||||
libTKHLR.so.7.9 occt-7.9.1_1
|
||||
libTKGeomBase.so.7.9 occt-7.9.1_1
|
||||
libTKGeomAlgo.so.7.9 occt-7.9.1_1
|
||||
libTKG3d.so.7.9 occt-7.9.1_1
|
||||
libTKG2d.so.7.9 occt-7.9.1_1
|
||||
libTKFillet.so.7.9 occt-7.9.1_1
|
||||
libTKFeat.so.7.9 occt-7.9.1_1
|
||||
libTKExpress.so.7.9 occt-7.9.1_1
|
||||
libTKDraw.so.7.9 occt-7.9.1_1
|
||||
libTKDCAF.so.7.9 occt-7.9.1_1
|
||||
libTKCDF.so.7.9 occt-7.9.1_1
|
||||
libTKCAF.so.7.9 occt-7.9.1_1
|
||||
libTKBool.so.7.9 occt-7.9.1_1
|
||||
libTKBinXCAF.so.7.9 occt-7.9.1_1
|
||||
libTKBinTObj.so.7.9 occt-7.9.1_1
|
||||
libTKBinL.so.7.9 occt-7.9.1_1
|
||||
libTKBin.so.7.9 occt-7.9.1_1
|
||||
libTKBRep.so.7.9 occt-7.9.1_1
|
||||
libTKBO.so.7.9 occt-7.9.1_1
|
||||
libargon2.so.1 libargon2-20171227_1
|
||||
libdazzle-1.0.so.0 libdazzle-3.28.0_1
|
||||
libjsonrpc-glib-1.0.so.1 jsonrpc-glib-3.28.0_1
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
# fix regex for cmake Config file
|
||||
# inspired by https://git.archlinux.org/svntogit/community.git/commit/trunk/cmake-fix-variable.patch?h=packages/opencascade&id=c99074d88da40ae59882aaf173de94cd0ec73ca7
|
||||
|
||||
--- a/adm/templates/OpenCASCADEConfig.cmake.in 2019-01-27 00:18:42.763819658 -0500
|
||||
+++ b/adm/templates/OpenCASCADEConfig.cmake.in 2019-01-27 23:40:32.872489521 -0500
|
||||
@@ -26,7 +26,7 @@
|
||||
if (OpenCASCADE_INSTALL_PREFIX MATCHES "/cmake$")
|
||||
get_filename_component (OpenCASCADE_INSTALL_PREFIX "${OpenCASCADE_INSTALL_PREFIX}" PATH)
|
||||
endif()
|
||||
-if (OpenCASCADE_INSTALL_PREFIX MATCHES "/lib$")
|
||||
+if (OpenCASCADE_INSTALL_PREFIX MATCHES "/lib(32|64)?$")
|
||||
get_filename_component (OpenCASCADE_INSTALL_PREFIX "${OpenCASCADE_INSTALL_PREFIX}" PATH)
|
||||
endif()
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
diff --color -upr occt-7.7.1.orig/adm/cmake/occt_macros.cmake occt-7.7.1/adm/cmake/occt_macros.cmake
|
||||
--- occt-7.7.1.orig/adm/cmake/occt_macros.cmake 2023-05-31 20:05:47.619869450 +0200
|
||||
+++ occt-7.7.1/adm/cmake/occt_macros.cmake 2023-05-31 20:07:25.611036417 +0200
|
||||
@@ -592,7 +592,7 @@ macro (OCCT_UPDATE_TARGET_FILE)
|
||||
|
||||
install (CODE
|
||||
"string (TOLOWER \"\${CMAKE_INSTALL_CONFIG_NAME}\" CMAKE_INSTALL_CONFIG_NAME_LOWERCASE)
|
||||
- file (GLOB ALL_OCCT_TARGET_FILES \"${INSTALL_DIR}/${INSTALL_DIR_CMAKE}/OpenCASCADE*Targets-\${CMAKE_INSTALL_CONFIG_NAME_LOWERCASE}.cmake\")
|
||||
+ file (GLOB ALL_OCCT_TARGET_FILES \"\$ENV{DESTDIR}${INSTALL_DIR}/${INSTALL_DIR_CMAKE}/OpenCASCADE*Targets-\${CMAKE_INSTALL_CONFIG_NAME_LOWERCASE}.cmake\")
|
||||
foreach(TARGET_FILENAME \${ALL_OCCT_TARGET_FILES})
|
||||
file (STRINGS \"\${TARGET_FILENAME}\" TARGET_FILE_CONTENT)
|
||||
file (REMOVE \"\${TARGET_FILENAME}\")
|
|
@ -1,13 +0,0 @@
|
|||
# gethostbyname returns a nullptr, because the host can't resolve itself
|
||||
|
||||
--- a/src/OSD/OSD_Host.cxx
|
||||
+++ b/src/OSD/OSD_Host.cxx
|
||||
@@ -124,7 +124,7 @@ TCollection_AsciiString OSD_Host::InternetAddress(){
|
||||
|
||||
host = HostName();
|
||||
memcpy(&internet_address,
|
||||
- gethostbyname(host.ToCString()),
|
||||
+ gethostbyname("localhost"),
|
||||
sizeof(struct hostent));
|
||||
|
||||
// Gets each bytes into integers
|
|
@ -1,36 +0,0 @@
|
|||
As stated by srcpkgs/flightgear/patches/musl-fenv.patch:
|
||||
"""
|
||||
Simply disabling the code which enables floating point exceptions
|
||||
is probably wrong, but I don't have a replacement for the
|
||||
non-posix functions fegetexcept(3) and feenableexcept(3).
|
||||
"""
|
||||
|
||||
--- a/src/OSD/OSD_signal.cxx.orig 2022-07-22 10:53:38.000000000 +0200
|
||||
+++ b/src/OSD/OSD_signal.cxx 2022-10-06 09:19:02.286414340 +0200
|
||||
@@ -761,7 +761,7 @@ typedef void (* SIG_PFV) (int);
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
-#if !defined(__ANDROID__) && !defined(__QNX__) && !defined(__EMSCRIPTEN__)
|
||||
+#if !defined(__ANDROID__) && !defined(__QNX__) && !defined(__EMSCRIPTEN__) && defined(__GLIBC__)
|
||||
#include <sys/signal.h>
|
||||
#endif
|
||||
|
||||
@@ -977,7 +977,7 @@ static void SegvHandler(const int theSig
|
||||
//=======================================================================
|
||||
void OSD::SetFloatingSignal (Standard_Boolean theFloatingSignal)
|
||||
{
|
||||
-#if defined (__linux__)
|
||||
+#if defined (__linux__) && defined(__GLIBC__)
|
||||
feclearexcept (FE_ALL_EXCEPT);
|
||||
if (theFloatingSignal)
|
||||
{
|
||||
@@ -1010,7 +1010,7 @@ void OSD::SetFloatingSignal (Standard_Bo
|
||||
//=======================================================================
|
||||
Standard_Boolean OSD::ToCatchFloatingSignals()
|
||||
{
|
||||
-#if defined (__linux__)
|
||||
+#if defined (__linux__) && defined(__GLIBC__)
|
||||
return (fegetexcept() & _OSD_FPX) != 0;
|
||||
#else
|
||||
return Standard_False;
|
|
@ -1,21 +0,0 @@
|
|||
In musl libc there is no struct mallinfo and no function mallinf()
|
||||
|
||||
--- a/src/OSD/OSD_MemInfo.cxx.orig 2022-10-06 09:21:55.466236104 +0200
|
||||
+++ b/src/OSD/OSD_MemInfo.cxx 2022-10-06 09:25:34.105323581 +0200
|
||||
@@ -188,12 +188,16 @@ void OSD_MemInfo::Update()
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+ #if defined(__GLIBC__)
|
||||
#ifdef HAS_MALLINFO2
|
||||
const struct mallinfo2 aMI = mallinfo2();
|
||||
#else
|
||||
const struct mallinfo aMI = mallinfo();
|
||||
#endif
|
||||
myCounters[MemHeapUsage] = aMI.uordblks;
|
||||
+ #else
|
||||
+ myCounters[MemHeapUsage] = 0;
|
||||
+ #endif
|
||||
}
|
||||
|
||||
if (!IsActive (MemVirtual)
|
|
@ -1,14 +1,11 @@
|
|||
# Template file for 'occt'
|
||||
pkgname=occt
|
||||
version=7.7.1
|
||||
version=7.9.1
|
||||
revision=1
|
||||
_gittag="V${version//./_}"
|
||||
build_style=cmake
|
||||
# XXX: re-enable -DUSE_TBB=ON if possible when updating
|
||||
configure_args="-DUSE_FREEIMAGE=ON -DUSE_GL2PS=ON -DUSE_VTK=OFF
|
||||
-DINSTALL_SAMPLES=ON"
|
||||
makedepends="freetype-devel glu-devel freeimage-devel gl2ps-devel tcl-devel
|
||||
tk-devel"
|
||||
configure_args="-DUSE_FREEIMAGE=ON -DUSE_VTK=OFF -DINSTALL_SAMPLES=ON -DUSE_TBB=ON"
|
||||
makedepends="freetype-devel glu-devel freeimage-devel tcl-devel tk-devel tbb-devel"
|
||||
short_desc="OpenCASCADE Technology - library for CAD/CAM/CAE applications"
|
||||
maintainer="Piraty <mail@piraty.dev>"
|
||||
license="custom:LGPL-2.1-only-with-exceptions"
|
||||
|
@ -16,7 +13,7 @@ homepage="https://www.opencascade.com"
|
|||
# distfile: use git instead of official tarball, which requires registration
|
||||
# see https://www.opencascade.com/content/packaging-again-debian
|
||||
distfiles="https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/${_gittag};sf=tgz>occt-${_gittag}.tar.gz"
|
||||
checksum=f413d30a8a06d6164e94860a652cbc96ea58fe262df36ce4eaa92a9e3561fd12
|
||||
checksum=e70b8c08c74f9693cbc91baa48610f1f5448ad167425fb8b957cf5a8f2cafed5
|
||||
conflicts="oce>=0"
|
||||
if [ "$XBPS_TARGET_LIBC" = musl ]; then
|
||||
makedepends+=" libexecinfo-devel"
|
||||
|
|
Loading…
Add table
Reference in a new issue