Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix macapp build with homebrew (needs a FreeCAD fix) #172

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vejmarie
Copy link
Contributor

This is fixing the creation of the MacApp when using homebrew. Needs currently some fixes into freecad tree into src/MacAppBundle/CMakeLists.txt which is lacking a few includes to build the bundle.

For pure testing you can use https://github.com/vejmarie/FreeCAD -> branch macbundle

It will successfully create the FreeCAD.app which can be copied into /Applications (it is rellocatable) and then successfully used.

Let me know your thoughts !

Signed-off-by: vejmarie [email protected]

@ageeye
Copy link
Contributor

ageeye commented Jul 31, 2021

I don't understand the icu4-stuff of this PR.

1. Set env PKG_CONFIG_PATH

The result of this line

ENV["PKG_CONFIG_PATH"] = Formula["[email protected]"].opt_prefix + "/lib/pkgconfig"

should be every time '/lib/pgkconfig'.

Better way:

ENV['PKG_CONFIG_PATH'] = Formula["#{@tap}/[email protected]"].lib/'pkgconfig'

2. In CMakeLists.txt the relevant source code is comment out in your branch

#set(ENV{PKG_CONFIG_PATH} "$ENV{PKG_CONFIG_PATH}:${CONFIG_ICU}")

@ageeye
Copy link
Contributor

ageeye commented Aug 1, 2021

Inreplace solution. Testing welcome. :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants