Skip to content

Commit

Permalink
bump opencascade and pythonocc to 7.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
joergbrech committed Dec 23, 2023
1 parent 8cb7593 commit e7f1028
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 43 deletions.
14 changes: 7 additions & 7 deletions opencascade/fix-private-linking.patch
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Index: opencascade-7.4.0/adm/cmake/occt_toolkit.cmake
Index: opencascade-7.6.2/adm/cmake/occt_toolkit.cmake
===================================================================
--- opencascade-7.4.0.orig/adm/cmake/occt_toolkit.cmake
+++ opencascade-7.4.0/adm/cmake/occt_toolkit.cmake
@@ -354,7 +354,7 @@ else()
endif()

if (BUILD_SHARED_LIBS)
--- opencascade-7.6.2.orig/adm/cmake/occt_toolkit.cmake
+++ opencascade-7.6.2/adm/cmake/occt_toolkit.cmake
@@ -400,7 +400,7 @@
if(IS_VTK_9XX)
string (REGEX REPLACE "vtk" "VTK::" USED_TOOLKITS_BY_CURRENT_PROJECT "${USED_TOOLKITS_BY_CURRENT_PROJECT}")
endif()
- target_link_libraries (${PROJECT_NAME} ${USED_TOOLKITS_BY_CURRENT_PROJECT} ${USED_EXTERNAL_LIBS_BY_CURRENT_PROJECT})
+ target_link_libraries (${PROJECT_NAME} PUBLIC ${USED_TOOLKITS_BY_CURRENT_PROJECT} PRIVATE ${USED_EXTERNAL_LIBS_BY_CURRENT_PROJECT})
endif()
Expand Down
13 changes: 0 additions & 13 deletions opencascade/fix_brepblend.patch

This file was deleted.

12 changes: 6 additions & 6 deletions opencascade/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,20 @@
{% set name = "opencascade" %}
{% set version = "7.4.0" %}
{% set commit = "V7_4_0" %}
{% set version = "7.6.2" %}
{% set commit = "V7_6_2" %}
package:
name: {{ name }}
version: {{ version }}

source:
fn: {{ name }}-{{ version }}.tar.gz
url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h={{ commit }};sf=tgz
sha256: 9614c2075cef53e30b25317fc8fcfb71d60a69181d562e1c56469ed8e54ad758
sha256: 9f7285acdfe63754955dfba1114010d5f273ac2be189c9717c4228bb28fd675f
patches:
- no-xmu.patch # [linux]
- fix-private-linking.patch
- fix_brepblend.patch
- dlr-feature-coons_c2.patch

build:
number: 9
number: 0
detect_binary_files_with_prefix: True

requirements:
Expand All @@ -38,13 +36,15 @@ requirements:
- tbb-devel ==2019.5
- python
- freetype
- rapidjson
- fontconfig # [unix]

run:
- freeimageplus
- tbb ==2019.5
- freetype
- six
- rapidjson

test:
requires:
Expand Down
13 changes: 0 additions & 13 deletions opencascade/no-xmu.patch

This file was deleted.

8 changes: 4 additions & 4 deletions python-occ-7x/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set version = "7.4.1" %}
{% set version = "7.6.2" %}

package:
name: pythonocc-core
Expand All @@ -11,7 +11,7 @@ source:
- 0001-DLR-patch-to-support-c2-continous-coons-patches.patch

build:
number: 8
number: 0
binary_relocation: false [osx]

requirements:
Expand All @@ -26,10 +26,10 @@ requirements:

host:
- python {{ python }}
- opencascade ==7.4.0
- opencascade ==7.6.2

run:
- opencascade ==7.4.0
- opencascade ==7.6.2
- python

test:
Expand Down

0 comments on commit e7f1028

Please sign in to comment.