[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problem loading NSBundle in TalkSoup
From: |
Riccardo Mottola |
Subject: |
Re: problem loading NSBundle in TalkSoup |
Date: |
Sun, 15 Mar 2015 12:19:15 +0100 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:36.0) Gecko/20100101 Firefox/36.0 SeaMonkey/2.33 |
Hi,
Riccardo Mottola wrote:
It is thus somehow a build problem: GNUstep make tries to be smart,
merges in some Mac stuff which confuses then the code at runtime.
I have the "proof" by checking messages=yes:
echo "OLD_GNUSTEP_STAMP_ASTRING = _Ignore-" > ./Ignore.bundle/stamp.make
(echo "{"; echo ' NOTE = "Automatically generated, do not edit!";'; \
echo " NSExecutable = \"Ignore\";"; \
echo " NSMainNibFile = \"\";"; \
echo " NSPrincipalClass = \"Ignore\";"; \
echo "}") >Ignore.bundle/Resources/Info-gnustep.plist
if [ -r "Ignore-Info.plist" ]; then \
plmerge Ignore.bundle/Resources/Info-gnustep.plist Ignore-Info.plist; \
fi
Can I skip this plmerge step? Do I need to rename all the new
*-Info.plist I created in Xcode I hope not... that would be long tedious
work.
Perhaps I can just fix in Xcode
CFBundleIdentifier = "org.gnustep.${PRODUCT_NAME:rfc1034identifier}";
to
CFBundleIdentifier = "org.gnustep.Ignore";
perhaps I even should add a level and add TalkSoup?
org.gnustep.TalkSoup.Ignore ?
That would be my last resource though, Id prefer to be able to tell
gnustep to skip XCode stuff if it is not needed or can't be shared.
Riccardo