Installing gnustep from version control sources

2018-04-13 Thread Mick Bert
Hello I would like to install gnustep on an old Apple iBook with Lubuntu 14.04 PowerPC, compiling it from sources taken from VCS, but I can not find any updated guide to follow. I found on the wiki [1] and [2], but the SVN address indicated is wrong. Eventually I found the gnustep github page [3]

Re: Installing gnustep from version control sources

2018-04-15 Thread Mick Bert
2018-04-13 15:49 GMT+02:00 Liam Proven : > On 13 April 2018 at 15:19, Mick Bert wrote: >> Hello >> I would like to install gnustep on an old Apple iBook with Lubuntu >> 14.04 PowerPC > > 16.04 also exists for PowerPC. I think you will have more luck with > the n

Re: Installing gnustep from version control sources

2018-04-15 Thread Mick Bert
2018-04-13 16:49 GMT+02:00 Bertrand Dekoninck : > >> On 13 April 2018 at 15:19, Mick Bert wrote: >>> >>> Hello >>> I would like to install gnustep on an old Apple iBook with Lubuntu >>> 14.04 PowerPC >> > The matter on ppc is that l

NSMutableString -initWithFormat appends to existing text

2018-04-18 Thread Mick Bert
Hello. Can I make question about how to use API, in this list? I decided to use GNUstep for all the working activity where I have the chance, just to practice my obj-c/gnustep experience. Well, in a method I am using and re-using an object of NSMutableString, so I create it once with +stringWithCa

Re: NSMutableString -initWithFormat appends to existing text

2018-04-18 Thread Mick Bert
2018-04-18 9:52 GMT+02:00 H. Nikolaus Schaller : > > -init or -initWithFormat: should be called only once and only after +alloc. > You use stringWithCapacity which has already been initialized. > > Use -setString:@"" followed by -appendWithFormat: instead. > Thanks a lot! Now it works as expected.

Re: NSMutableString -initWithFormat appends to existing text

2018-04-18 Thread Mick Bert
2018-04-18 11:29 GMT+02:00 Ivan Vučica : > > > On 18 Apr 2018, at 09:23, Mick Bert wrote: > > 2018-04-18 9:52 GMT+02:00 H. Nikolaus Schaller : > > > -init or -initWithFormat: should be called only once and only after +alloc. > You use stringWithCapacity which has alread

Re: NSMutableString -initWithFormat appends to existing text

2018-04-18 Thread Mick Bert
2018-04-18 15:00 GMT+02:00 Riccardo Mottola : > Hi Mick, > > > You can write the stream directly, it may work for you, also for quite big > data, it is efficient. > What do you mean by "write the stream directly"? > > Otherwise indeed, work with NSFileHandle > > https://www.gnu.org/software/gnuste

Re: NSMutableString -initWithFormat appends to existing text

2018-04-18 Thread Mick Bert
2018-04-18 17:15 GMT+02:00 David Chisnall : > On 18 Apr 2018, at 10:23, Mick Bert wrote: >> >> Is it the preferable way? > > That depends a bit on what you mean by ‘preferable’. If you mean > ‘simpler’ or ‘cleaner code’, then I don’t think so. If you mean > ‘faster’

CPPFLAGS ignored compiling gui

2021-09-09 Thread Mick Bert
Hello I am trying to compile gnustep (latest release, downloaded a couple of days ago) on a Debian 5.10.46-powerpc, with clang. Configured gnustep-gui with CPPFLAGS=-I/usr/lib/gcc/powerpc-linux-gnu/9/include and CFLAGS=-I/usr/lib/gcc/powerpc-linux-gnu/9/include (which is the directory conta

Re: CPPFLAGS ignored compiling gui

2021-09-09 Thread Mick Bert
On 10/09/2021 00:16, Mick Bert wrote: Where should I have to specify that directory, in order it to be added to that compiling command? It looks that the file Model/GNUMakefile misses something like "include ../config.make" just after "../Version". I added it, and it

NSInvalidArgumentException building GSspell.service

2021-09-09 Thread Mick Bert
Again, after installing gnustep-make 2.9.0, and gnustep-base 1.28.0, compiling gnustep-gui 0.29.0 on a debian powerpc port with clang 9.0.1-16.1, I got the error: Creating GSspell.service/Resources/Info-gnustep.plist... ././obj/make_services: Uncaught exception NSInvalidArgumentExcep

Re: CPPFLAGS ignored compiling gui

2021-09-10 Thread Mick Bert
On 10/09/2021 09:06, Fred Kiefer wrote: this sounds a bit strange. You are building GNUstep with clang but point it to use the gcc libobjc? This might work but surely it isn’t a recommended setup. Why would you want to do that? When using clang you should be using the GNUstep libobjc2. It is t

Re: NSInvalidArgumentException building GSspell.service

2021-09-10 Thread Mick Bert
On 10/09/2021 09:18, Fred Kiefer wrote: I still would prefer to better understand your setup before going into detailed analysis here. An as this involves a non standard architecture it would be great to get David and Riccardo involved as they know a lot more about GNUstep and clang on PowerPC

Re: NSInvalidArgumentException building GSspell.service

2021-09-11 Thread Mick Bert
On 10/09/2021 22:40, Mick Bert wrote: Since I cannot change the cpu, I will probably switch to gcc :-D Done: I compiled with gcc, strait away! As a first test on the installation, I compiled SystemPreferences. For my next holidays, I'm going to populate the application I need: gwork