Skip to content

Commit

Permalink
Create custom ports for mac with script
Browse files Browse the repository at this point in the history
  • Loading branch information
talregev committed Nov 29, 2024
1 parent 38a9e1e commit b1de10b
Show file tree
Hide file tree
Showing 25 changed files with 56 additions and 798 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
diff --git a/build/cmake/init.cmake b/build/cmake/init.cmake
index 0bc4f934b9..ec703ad19b 100644
index 0584ecaeb5..3e0f5feb3e 100644
--- a/build/cmake/init.cmake
+++ b/build/cmake/init.cmake
@@ -12,6 +12,9 @@ if(DEFINED wxBUILD_CXX_STANDARD AND NOT wxBUILD_CXX_STANDARD STREQUAL COMPILER_D
set(CMAKE_CXX_STANDARD ${wxBUILD_CXX_STANDARD})
@@ -18,6 +18,9 @@ else()
# CMAKE_CXX_STANDARD not defined.
endif()

+set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fvisibility=hidden")
Expand Down
15 changes: 15 additions & 0 deletions 3rdParty/vcpkg_ports/patches/pcre2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/pcre2/vcpkg.json b/pcre2/vcpkg.json
--- a/pcre2/vcpkg.json
+++ b/pcre2/vcpkg.json
@@ -14,11 +14,8 @@
"name": "vcpkg-cmake-config",
"host": true
}
],
- "default-features": [
- "platform-default-features"
- ],
"features": {
"jit": {
"description": "Enable support for Just-In-Time compiling regex matchers",
"supports": "!emscripten"
24 changes: 24 additions & 0 deletions 3rdParty/vcpkg_ports/patches/wxwidgets.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
diff --git a/wxwidgets/portfile.cmake b/wxwidgets/portfile.cmake
index f812fd8c5..27e289f2b 100644
--- a/wxwidgets/portfile.cmake
+++ b/wxwidgets/portfile.cmake
@@ -12,6 +12,8 @@ vcpkg_from_github(
fix-pcre2.patch
gtk3-link-libraries.patch
sdl2.patch
+ boinc_SetItemBitmap.patch
+ boinc_SetVisibilityHidden.patch
)

vcpkg_check_features(
@@ -75,6 +77,10 @@ vcpkg_cmake_configure(
-DwxUSE_UIACTIONSIMULATOR=OFF
-DCMAKE_DISABLE_FIND_PACKAGE_GSPELL=ON
-DCMAKE_DISABLE_FIND_PACKAGE_MSPACK=ON
+ -DwxBUILD_MONOLITHIC=ON
+ -DwxUSE_DIALUP_MANAGER=ON
+ -DwxUSE_UNICODE=ON
+ -DwxUSE_UNICODE_UTF8=ON
${OPTIONS}
"-DPKG_CONFIG_EXECUTABLE=${PKGCONFIG}"
# The minimum cmake version requirement for Cotire is 2.8.12.
Empty file.
33 changes: 0 additions & 33 deletions 3rdParty/vcpkg_ports/ports/mac/pcre2/no-static-suffix.patch

This file was deleted.

10 changes: 0 additions & 10 deletions 3rdParty/vcpkg_ports/ports/mac/pcre2/pcre2-10.35_fix-uwp.patch

This file was deleted.

76 changes: 0 additions & 76 deletions 3rdParty/vcpkg_ports/ports/mac/pcre2/portfile.cmake

This file was deleted.

23 changes: 0 additions & 23 deletions 3rdParty/vcpkg_ports/ports/mac/pcre2/vcpkg.json

This file was deleted.

31 changes: 0 additions & 31 deletions 3rdParty/vcpkg_ports/ports/mac/wxwidgets/example/CMakeLists.txt

This file was deleted.

21 changes: 0 additions & 21 deletions 3rdParty/vcpkg_ports/ports/mac/wxwidgets/fix-libs-export.patch

This file was deleted.

19 changes: 0 additions & 19 deletions 3rdParty/vcpkg_ports/ports/mac/wxwidgets/fix-nanosvg.patch

This file was deleted.

23 changes: 0 additions & 23 deletions 3rdParty/vcpkg_ports/ports/mac/wxwidgets/fix-pcre2.patch

This file was deleted.

13 changes: 0 additions & 13 deletions 3rdParty/vcpkg_ports/ports/mac/wxwidgets/fix_include.patch

This file was deleted.

12 changes: 0 additions & 12 deletions 3rdParty/vcpkg_ports/ports/mac/wxwidgets/gtk3-link-libraries.patch

This file was deleted.

52 changes: 0 additions & 52 deletions 3rdParty/vcpkg_ports/ports/mac/wxwidgets/install-layout.patch

This file was deleted.

13 changes: 0 additions & 13 deletions 3rdParty/vcpkg_ports/ports/mac/wxwidgets/nanosvg-ext-depend.patch

This file was deleted.

Loading

0 comments on commit b1de10b

Please sign in to comment.