discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Buildtool : other attempt to build a ported app : the Bean.app examp


From: Gregory Casamento
Subject: Re: Buildtool : other attempt to build a ported app : the Bean.app example
Date: Wed, 8 Jul 2020 15:49:35 -0400

Sometimes cocoa projects contain scripts which are run.  It's possible that message is coming from that.  I haven't tested "install" in a while, so I will need to take a look at it.  Bean should run, but it is going to be slow.  The author made some pretty Cocoa specific changes (changes to undocumented parts of the typesetter) which make it slow on GNUstep.


On Wed, Jul 8, 2020 at 3:46 PM Patrick Cardona via Discussion list for the GNUstep programming environment <discuss-gnustep@gnu.org> wrote:
Hi All,

Unlike 'PBXbuilder -g', I did not find the way to generate Makefiles
with buildtool. It would appropriate to avoid the Bean_Prefix.pch
before starting the make process.

So, I tried this workaround :

1) I Modified : Bean_Prefix.pch like this :

pi@raspberrypi:~/Fabrique/gap/ported-apps/Util/Bean $ cat
Bean_Prefix.pch
//
// Prefix header for all source files of the 'Bean' target in the
'Bean' project//
#ifdef GNUSTEP
     /* GNUstep code goes here ... */
         #import <Foundation/Foundation.h>
         #import <AppKit/AppKit.h>
#else
     /* OS-X Cocoa native code goes here ... */
    #ifdef __OBJC__
      #import <Cocoa/Cocoa.h>
    #endif
#endif

2) I added the USER target domain...

pi@raspberrypi:~/Fabrique/gap/ported-apps/Util/Bean $ export
GNUSTEP_INSTALLATION_DOMAIN=USER && buildtool

(...)
         * Building JHScroller.m
         * Building JHDocumentController.m
=== Sources Build Phase Completed
=== Executing Frameworks Build Phase (Application)
         * Linking build/Bean/Products/Bean.app/Bean
clang: warning: argument unused during compilation: '-shared-libgcc'
[-Wunused-command-line-argument]
=== Frameworks Build Phase Completed
=== Done...
=== Completed Executing Target Bean
=== Completed Building Project
** Build Succeeded

3) ANd I did the same to install...

pi@raspberrypi:~/Fabrique/gap/ported-apps/Util/Bean $ ls
build/Bean/Products/
Bean.app

pi@raspberrypi:~/Fabrique/gap/ported-apps/Util/Bean $ export
GNUSTEP_INSTALLATION_DOMAIN=USER && buildtool install
** Start operation Install
=== Installing Project
=== Applying Build Configuration Release
=== Done Applying Build Configuration for Release
=== Installing Target Bean
Abandon

Why 'abandon' : what is the error ? No more message from buildtool...

And so I did not find the way to show a help syntaxis nor a man page
to get the right way to use this tool.

Cheers,
Patrick




--
Gregory Casamento
GNUstep Lead Developer / OLC, Principal Consultant
http://www.gnustep.org - http://heronsperch.blogspot.com
https://www.patreon.com/bePatron?u=352392 - Become a Patron
https://gf.me/u/x8m3sx - My GNUstep GoFundMe

reply via email to

[Prev in Thread] Current Thread [Next in Thread]