Skip to content

Commit 58ef050

Browse files
committed
freecad: update to 1.1.0
1 parent 6ee3036 commit 58ef050

File tree

8 files changed

+38
-104
lines changed

8 files changed

+38
-104
lines changed

common/shlibs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3425,6 +3425,7 @@ libvtkTestingCore-9.5.so.1 vtk-9.5.0_1
34253425
libvtktoken-9.5.so.1 vtk-9.5.0_1
34263426
libvtkverdict-9.5.so.1 vtk-9.5.0_1
34273427
libvtkWrappingTools-9.5.so.1 vtk-9.5.0_1
3428+
libvtkWrappingPythonCore3.14-9.5.so.1 vtk-python3-9.5.0_1
34283429
libvolume_key.so.1 volume_key-0.3.9_1
34293430
libxxhash.so.0 libxxHash-0.6.5_2
34303431
libcapnp_c.so.0 c-capnproto-0.3_1

srcpkgs/freecad/patches/boost-1.89.patch

Lines changed: 0 additions & 11 deletions
This file was deleted.

srcpkgs/freecad/patches/i686.patch

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--- a/src/3rdParty/libE57Format/src/ReaderImpl.cpp
2+
+++ b/src/3rdParty/libE57Format/src/ReaderImpl.cpp
3+
@@ -29,6 +29,7 @@
4+
#include "ReaderImpl.h"
5+
#include "Common.h"
6+
#include "StringFunctions.h"
7+
+#include <limits>
8+
9+
namespace e57
10+
{

srcpkgs/freecad/patches/includes.patch

Lines changed: 0 additions & 20 deletions
This file was deleted.

srcpkgs/freecad/patches/musl.patch

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
--- a/src/Base/UnlimitedUnsigned.h
2+
+++ b/src/Base/UnlimitedUnsigned.h
3+
@@ -31,6 +31,7 @@
4+
#include <vector>
5+
#include <string>
6+
#include <stdexcept>
7+
+#include <cstdint>
8+
9+
// ----------------------------------------------------------------------------
10+

srcpkgs/freecad/patches/occ790.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.

srcpkgs/freecad/patches/pyregex.patch

Lines changed: 0 additions & 47 deletions
This file was deleted.

srcpkgs/freecad/template

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
# Template file for 'freecad'
22
pkgname=freecad
3-
version=1.0.2
4-
revision=9
5-
_pycxx_ver=7.1.8
6-
_ondsel_ver=09d6175a2ba69e7016fcecc4f384946a2f84f92d
3+
version=1.1.0
4+
revision=1
5+
_pycxx_ver=7.2.0
6+
_ondsel_ver=9e8a88547e1ee7db534df1921dd694aa3b690d04
7+
_addon_ver=291366f293c8b1c073e7b1f300e04e38dc40c7fe
78
build_style=cmake
89
pycompile_dirs="usr/lib/${pkgname}/Mod"
910
_inst_prefix=/usr/lib/${pkgname}
@@ -12,7 +13,8 @@ configure_args="-DPYTHON_EXECUTABLE=/usr/bin/python3 -DBUILD_GUI=ON
1213
-DENABLE_DEVELOPER_TESTS=OFF -DBUILD_TEST=OFF
1314
-DFREECAD_USE_EXTERNAL_PIVY=ON -DCMAKE_INSTALL_PREFIX=${_inst_prefix}
1415
-DCMAKE_INSTALL_DATAROOTDIR=/usr/share -DCMAKE_INSTALL_DATADIR=/usr/share/${pkgname}
15-
-DMEDFILE_INCLUDE_DIRS=/usr/include/med -DCOIN3D_INCLUDE_DIRS=/usr/include/Coin3"
16+
-DMEDFILE_INCLUDE_DIRS=/usr/include/med -DCOIN3D_INCLUDE_DIRS=/usr/include/Coin3
17+
-DFREECAD_USE_EXTERNAL_PYCXX=ON -DPYCXX_INCLUDE_DIRS=pycxx"
1618
hostmakedepends="pkg-config swig doxygen graphviz python3-setuptools
1719
python3-matplotlib python3-pivy"
1820
makedepends="boost-devel-minimal boost-python3 libboost_filesystem
@@ -21,7 +23,7 @@ makedepends="boost-devel-minimal boost-python3 libboost_filesystem
2123
hdf5-devel libgomp-devel libmed-devel eigen double-conversion-devel
2224
coin3-devel libspnav-devel liblz4-devel netcdf-devel jsoncpp-devel
2325
glew-devel python3-devel yaml-cpp-devel guidelines-support-library
24-
qt6-base-devel qt6-svg-devel qt6-tools-devel libpyside6-devel"
26+
qt6-base-devel qt6-svg-devel qt6-tools-devel libpyside6-devel python3-pybind11"
2527
depends="python3-matplotlib python3-pivy python3-GitPython python3-Markdown
2628
python3-pyside6-gui python3-pyside6-network python3-pyside6-printsupport
2729
python3-pyside6-ui-tools python3-pyside6-widgets"
@@ -31,13 +33,16 @@ license="LGPL-2.0-or-later"
3133
homepage="https://freecadweb.org/"
3234
distfiles="https://github.com/FreeCAD/FreeCAD/archive/${version}.tar.gz
3335
${SOURCEFORGE_SITE}/cxx/pycxx-${_pycxx_ver}.tar.gz
34-
https://github.com/FreeCAD/OndselSolver/archive/${_ondsel_ver}.tar.gz>OndselSolver-${_ondsel_ver}.tar.gz"
35-
checksum="228ee52f00627c7d8fa61998179deb01865ece69390829feb1300228d24f7e9e
36-
4b91e1e1141c23fbd5039df635c4bb6e75632168548f56b83ce177193c0c98c6
37-
890fb6ddeb1b42face95854689ff7b96c926c368b7d616d9e31e4b35f79ddde8"
36+
https://github.com/FreeCAD/OndselSolver/archive/${_ondsel_ver}.tar.gz>OndselSolver-${_ondsel_ver}.tar.gz
37+
https://github.com/FreeCAD/AddOnManager/archive/${_addon_ver}.tar.gz>AddOnManager-${_addon_ver}.tar.gz"
38+
checksum="b99b932037eb801a66b5f66ac46968a0da3654a1774ee12f28781b43de34daf6
39+
4140ca17c39e7f3d8c9a426d12126a037a27dc148e50d3f98f0d334513fcbbb2
40+
29b9b61d94c5d2bb64689b2ddc2045c1dbdd837a0b5a928e08b76b8905ced078
41+
3c6ab90d90e536814fac20a390f7d63cd9b784184f50add7b5c56d8303be9837"
3842
python_version=3
3943
skip_extraction="pycxx-${_pycxx_ver}.tar.gz
40-
OndselSolver-${_ondsel_ver}.tar.gz"
44+
OndselSolver-${_ondsel_ver}.tar.gz
45+
AddOnManager-${_addon_ver}.tar.gz"
4146

4247
if [ "$XBPS_TARGET_LIBC" = musl ]; then
4348
makedepends+=" libexecinfo-devel"
@@ -49,8 +54,7 @@ CXXFLAGS="-DPYCXX_PYTHON_2TO3"
4954
post_extract() {
5055
vsrcextract -C src/3rdParty/OndselSolver "OndselSolver-${_ondsel_ver}.tar.gz"
5156
vsrcextract -C pycxx "pycxx-${_pycxx_ver}.tar.gz"
52-
rm -r src/CXX
53-
ln -Tsr ./pycxx/CXX src/CXX
57+
vsrcextract -C src/Mod/AddonManager "AddOnManager-${_addon_ver}.tar.gz"
5458
}
5559

5660
post_patch() {

0 commit comments

Comments
 (0)