Make under macOS Sonoma 14.4 is not possible.
The following error is issued:
install_name_tool -id @executable_path/../Frameworks/libfreetype.6.dylib out/Denise.app/Contents/Frameworks/libfreetype.6.dylib
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: input file: out/Denise.app/Contents/Frameworks/libfreetype.6.dylib is not a Mach-O file
make: *** [build] Error 1
Anonymous
It says that the freetype library is not a valid macOS binary.
check your freetype lib: /usr/local/lib/libfreetype.6.dylib
or compile freetype by yourself
download latest source of freetype
./configure --enable-static --without-zlib --without-bzip2
make
sudo make install
Thanks for this hint.
i allready had installed freetype before,
but this command was helpfull:
sudo ln -s /opt/homebrew/lib/libfreetype.6.dylib /usr/local/lib/libfreetype.6.dylib
this also works:
sudo ln -s /Applications/Denise.app/Contents/Frameworks/libfreetype.6.dylib /usr/local/lib/libfreetype.6.dylib
But now i'm facing the next problem:
File "data/dmgSettings.py", line 4, in <module>
import biplist
ModuleNotFoundError: No module named 'biplist'
make: *** [install] Error 1</module>
SyntaxError: invalid syntax
make: *** [install] Error 1
Seems it's not working, i stuck agein in this error:
File "data/dmgSettings.py", line 4, in <module>
import biplist
ModuleNotFoundError: No module named 'biplist'
make: *** [install] Error 1</module>
I have noticed, that the make command allready has build the denise app in the 'out' folder, So it is not necassary to use the 'sudo make install' command.
Thanks for your attantion
python -m pip install biplist
I tried this allready before:
dmgbuild APP uses "dmgSettings.py" to build DMG from APP.
I adjusted the default "dmgSettings.py" file at that time. I'm not familiar with the Python syntax though it seems the function "icon_from_app" in "dmgSettings.py" reads the ICON name from the "info.plist" in APP folder .
It uses "biplist" for this. This seems to be problematic under newer macOS versions.
I don't have Sonoma installed at the moment. But it is probably recommended to swap "biplist".
If you have time, you can try customizing this function.
I found this one in a hurry.
replace biplist
Here is a new tryout with on a virgin macOS Sonoma-Version.
I made it step by step, to see, if i can find a problem.
At the end, i have now the problem with
"module 'plistlib' has no attribute 'Data'"
here the partly log:
When I finish my current task, I try 'plistlib' .
Take your time and worry about your important things first.
There is no reason to programmatically read the icon name from the Info.plist. Delete the function "icon_from_app" and edit line 64:
edit line 64:
badge_icon = os.path.join(application, 'Contents', 'Resources', 'Denise.icns')
I'll change it that way later. so there shouldn't any dependancy to biplist or plistlib
Great,
this is working now.
I thank you very much for your great support on this.