Dear all,
Is it possible to get along without xCode at all and build
everything
(even applications) with gnustep make on MacOSX 10.5? And if not how
Yes, why not? You can do everything from the commandline.
Where would I find an example project (GNUmakefile,. resources,..)
that builds a complete application for MacOSX?
Ahm - any GNUstep application's GNUmakefile would serve as an example.
;-)
To get a GNUstep application compile on Apple as a native Apple
application, you need to:
Get gnustep-make 2.0.5
./configure
make
sudo make install
gnustep-make will be installed into /Library/GNUstep. Whenever you want
to remove your gnustep-make installation, just remove that directory.
Now go into your application, and type
export GNUSTEP_MAKEFILES=/Library/GNUstep/Makefiles
make
and that's it. Is it not working for you ? What problem are you
having ?
Building applications with gnustep make on MacOSX does work for me now.
They even get an application icon. However, linking files to
applications does not work yet. I have CustomInfo.plist with
CFBundleIconFile = "ProjectBuilder.icns";
Note = "For MacOSX only. Check ProjectBuilderInfo.plist for GNUstep";
NSTypes = (
...
{
NSName = "sproject";
NSHumanReadableName = "sproject File";
NSUnixExtensions = ("sproject");
NSDOSExtensions = ("sproject");
NSRole = Editor;
NSIcon = "projfile.tiff";
},
{
NSName = "project";
NSHumanReadableName = "project File";
NSUnixExtensions = ("project");
NSDOSExtensions = ("project");
NSRole = Editor;
NSIcon = "projfile.tiff";
}
);
and Info-gnustep.plist with
{
ApplicationName = "ProjectBuilder";
ApplicationDescription = "A superb dev tool";
ApplicationRelease = "1.0";
Copyright =
"Copyright (c) 2006 Smartsoft GmbH";
CopyrightDescription =
"This program is not intended for a public audience";
NSIcon = ProjectBuilder;
NSTypes = (
...
{
NSName = "sproject";
NSHumanReadableName = "sproject File";
NSUnixExtensions = ("sproject");
NSDOSExtensions = ("sproject");
NSRole = Editor;
NSIcon = "projfile.tiff";
},
{
NSName = "project";
NSHumanReadableName = "project File";
NSUnixExtensions = ("project");
NSDOSExtensions = ("project");
NSRole = Editor;
NSIcon = "projfile.tiff";
}
);
}
and expected files with extensions project and sproject to be displayed
with projfile.tiff in Finder and that a doubleclick on MyTest.poject or
MyTest.sproject would lauch ProjectBuilder.app, but that's not the case
on MacOSX (it works under GNUstep though)!? What am I missing?
Thanks a lot!
Regards,
Andreas
_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep