Re: ANN: One Step to GNUstep - pre-release version 0.9

2011-06-14 Thread Nicola Pero
I'm not certain that morale is best served by putting another project down due to the decision to use an obviously superior compiler as was done earlier in this thread. The most successful route has historically been the one of being inclusive. That means supporting all the compilers,

Re: ANN: One Step to GNUstep - pre-release version 0.9

2011-06-13 Thread Nicola Pero
I *want* to use a GNU GPLv3 compiler, because [...] Various people pointed out how this was a late night unorganized rant, inappropriate for a mailing list. I apologize for that. Anyhow, the point of the rant is that I do prefer GCC to clang purely due to the different licensing. But this

Re: ANN: One Step to GNUstep - pre-release version 0.9

2011-06-12 Thread Nicola Pero
The latest release versions of clang and the GNUstep runtime provide feature parity with the iPhone Objective-C stack, but lack GC support. The current trunk releases provide feature parity with OS X 10.6, including GC support. [...] Well, if the system is targeted at new users who are

Re: ANN: One Step to GNUstep - pre-release version 0.9

2011-06-10 Thread Nicola Pero
If it's intended as a developer environment, then I would hope that it includes clang for the analyser at least, if not as the compiler. Hopefully it's also using clang as the compiler, with the GNUstep runtime and the non-fragile ABI. And I'd rather have GCC because I prefer GCC. :-)

Re: OT: cross compile gcc objc is broken?

2011-05-29 Thread Nicola Pero
On 28 May 2011, at 13:03, Rogelio Serrano wrote: Sorry for the OT post but i understand that the objc maintainer is on this list too. If you want to report a bug in GCC, I recommend submitting a bug report via the GCC bug tracking system: http://gcc.gnu.org/bugzilla/ Make sure to include

RE: ProjectCenter, Clang, and Reporting

2011-05-25 Thread Nicola Pero
Is there any way to set ProjectCenter to build using Clang? Or will I have to edit the Make files? I am trying to get ObjC2 working. There should be no need to edit the Makefiles :-), but to change compiler and runtime library you most likely would need to reconfigure/recompile everything

RE: Some general questions

2011-05-24 Thread Nicola Pero
1) Products that use GNUstep libraries can still be sold? Your question is not formulated in a very clear way, but in most interpretations I can think of, the answer would be yes. I recommend reading the actual licenses to be sure. :-) Questions: What is the easiest way to compile a GNUstep

Re: Some general questions

2011-05-24 Thread Nicola Pero
Basically, as of right now, it is easiest to have the IDE running in the environment that it intends to develop for (Target). As for the IDE, it is proprietary and runs on Mac OS X, and builds Cocoa/Cocoa Touch applications. Seeing as the GNUstep framework is so similar, I hope to port

RE: install headers for an application

2011-05-18 Thread Nicola Pero
with gnustep make it seems, when I have an application project, it does ignore the AppName_HEADER_FILES AppName_HEADER_DIR and AppName_HEADER_INSTALL_DIR variables. Yes. We can change that (for gnustep-make 2.8.x) and have application.make recognize these variables and process them. It's

Re: GCC 4.6 under MinGW

2011-05-14 Thread Nicola Pero
if anyone is interested in using GCC 4.6 under MinGW, here is a precompiled version: http://www.xvidvideo.ru/component/docman/cat_view/28-cross-mingwgcc-x86x64/183-cross-mingw-with-gcc-46-x86x64/188-experimental--pre-release.html At a quick glance, GCC seems to have been compiled with

Re: Problems with nsis.make

2011-04-28 Thread Nicola Pero
On 28 Apr 2011, at 18:11, Stefan Bidi wrote: If I include $(GNUSTEP_MAKEFILES)/Master/nsis.make in my makefile I get an error when running make: This is gnustep-make 2.6.0. Type 'make print-gnustep-make-help' for help. if [ -d /c/Documents and Settings/bidigst/My Documents/

Re: building dbuskit fails with llvm/clang

2011-04-10 Thread Nicola Pero
I think the correct solution is to allow something like this: @classNSObject GSStackTrace; This would forward-declare the class, and also advertise that it conforms to the NSObject protocol. It's an interesting suggestion, and has good merit. :-) I would personally not like it that much

Re: building dbuskit fails with llvm/clang

2011-04-10 Thread Nicola Pero
If you message an object of a class which is only declared using @class, you should get a warning. Both GCC and clang don't warn about this. I think clang does. On my machine, all compilers (both GCC and clang from trunk, as far as I can see) compile the following testcase with no

Re: Basic questions about Gorm

2011-04-09 Thread Nicola Pero
- Unique protocols (two protocols returned by @protocol() may give different sets of methods - this requires a little bit of help from the compiler, not sure if GCC 4.6 does it) Do you have an example/testcase of what you mean by this ? Thanks

Re: Basic questions about Gorm

2011-04-09 Thread Nicola Pero
This does not change the fact that older non-Apple GCC does not know about the syntax changes: @property, @synthesize, et al. Or am I wrong? No, you are perfectly right. You need GCC 4.6, or clang, if you want @property, @synthesize, etc. :-) Thanks

RE: libmysql and mingw

2011-04-09 Thread Nicola Pero
I have been trying with no success to use libmysql in Windows. I had a quick look at the logs, and couldn't see anything that seemed related to GNUstep. Can you use libmysql without gnustep-make ? You may want to try creating a simple .c file that uses your libmysql and compile/link it with

Re: applications that fail to build with new gnustep from svn

2011-04-08 Thread Nicola Pero
* with price and graphos, I haven't yet tested the latest svn checkout, Riccardo, do you tested to compile those two? - I compiled both Graphos and PRICE from CVS and they built fine on Linux+gcc If that code works for you, you really should update your compiler :-) There is a horrible

RE: things that fail to build with gcc and libobjc2

2011-04-06 Thread Nicola Pero
Hi, I recompiled everything yesterday with gcc 4.2.1 and without libobjc2. For some of the stuff in the list I sent in the other thread, I have taken it from svn/cvs since the last releases available releases did not compiled. Everything compiled with it with the new gnustep core from

Re: Remove GSAppKitUserBundles

2011-03-17 Thread Nicola Pero
I don't understand why such a bundle-loading mechanism is considered a security hole. There are no security holes if the application is not setuid/setgid. In that case, a user can change his own user defaults to affect what bundles are loaded in applications. That is no different than

Re: Status of gnustep for gcc-4.6

2011-03-16 Thread Nicola Pero
Does Objective-C++ work? I try g++ from ubuntu's gcc-snapshot It works to a certain extent, but support for it is not by any means complete. In particular, Objective-C exceptions in Objective-C++ simply don't work in GCC 4.6. That may get fixed in 4.7. I try to compile a file.mm

Re: NSSlider in Renaissance

2011-03-16 Thread Nicola Pero
It took a while, but I just committed the renaissance's slider tag to the repository. Hope it is useful for others. Well done. I love it. :-) Thanks ___ Discuss-gnustep mailing list Discuss-gnustep@gnu.org

RE: Objective c++ precompiled header.

2011-02-22 Thread Nicola Pero
I tried using objective c++ precompiled header using XXX_OBJCC_PRECOMPILED_HEADERS = XXX_Prefix.h But it failed with error. make[1]: *** No rule to make target `obj/PrecompiledHeaders/ObjCC/XXX_Prefix.h.gch', needed by `internal-precompile-headers'. Stop. make: ***

Re: Strange crash in __objc_resolve_class_links

2011-02-16 Thread Nicola Pero
Is the stance of GNUstep project that ObjC2.0 will, long term, be unsupported in apps? It is supported (with the right compiler/runtime/core library combination, obviously), and will always be supported. Richard was referring to an internal GNUstep policy. In your own code, you can do

Re: Next GNUstep releases

2011-02-09 Thread Nicola Pero
perhaps we should make a list of things to do before the release of each core component. I have two things in my list for gnustep-make 2.6: * finalize/polish switch to FHS as default (update documentation, configure options, etc) * finalize/polish the new TestFramework that was moved

Re: Fast enumeration

2011-02-04 Thread Nicola Pero
If you refer to for(id x in y) syntax, I believe you just need to use a compiler with objc2.0 support, as well as a sufficiently recent runtime. That, and support for the fast enumeration protocol in Base collections. This exists at least in base-1.20.1. This doesn't actually resolve

Re: Next GNUstep releases (was: Re: Status of gnustep for gcc-4.6)

2011-02-02 Thread Nicola Pero
I am all for a GNUstep release, but with a bit of warning time before we do it. What about having a release at the end of Febuary/beginning of March? That should leave us some time to implement all the great ideas we get over FOSDEM and then some more time for others to test these :-) It

Re: Status of gnustep for gcc-4.6

2011-01-31 Thread Nicola Pero
Hi Jochen, GNUstep trunk should work with gcc-4.6. I don't know myself when the next gnustep-base and gnustep-gui releases are scheduled for. Thanks On 31 Jan 2011, at 20:28, Jochen Schmitt wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hallo, I'm the maintainer of serveral

Re: Status of gnustep for gcc-4.6

2011-01-31 Thread Nicola Pero
Hi Jochen, GNUstep trunk should work with gcc-4.6. I don't know myself when the next gnustep-base and gnustep-gui releases are scheduled for. Alternatively, you could look at my changes (from December) in gnustep trunk (for gnustep-base and gnustep-gui), and backport them to the version

RE: (no subject)

2011-01-27 Thread Nicola Pero
Hi Everybody, I am new to GNUstep makefile build system . I am creating a shared library named libCoCostep. Folder cocostep contains majority of the files, however for understandability some files are put in sub folder called Support. Whenever building shared lib I want build all

Re: Using GCC 4.5 on GNUStep

2010-12-14 Thread Nicola Pero
libobjc2 provides the same property functions as the Apple runtime (and the ObjectiveC2 framework in GNUstep). If GCC 4.6 uses these, then it should be fine. If it doesn't, then I'd suggest you change that before 4.6 is released, because it will make maintaining the compiler difficult in

Re: GNUstep on OpenBSD..

2010-12-14 Thread Nicola Pero
take a look at attached port. The gnumake package Makefiles are a bit hacked up to match the constraints/requirements of the ports framework, i.e. libraries need to have libPreferencesPane.so.MAJOR.MINOR, and not the Linuxish symlink clutter around. Is that how things should always be

RE: Using GCC 4.5 on GNUStep

2010-12-13 Thread Nicola Pero
You probably mean GCC 4.6 :-) All the new Objective-C enhancements will be in GCC 4.6, which hasn't been released yet. Because it's not even been released yet, there aren't any smooth, ready-to-use packages or instructions for using it on Windows (yet). Windows is a difficult platform (for

Re: Foundation.h help

2010-11-29 Thread Nicola Pero
P.S. To whoever is responsible for gnustep-config - is there a good reason why we have an ad-hoc thing instead of using pkg-config? The ad-hoc thing guarantees that gnustep-config always works properly with all the configurations and options supported by gnustep-make and gnustep-base

Re: Foundation.h help

2010-11-29 Thread Nicola Pero
NSAutoreleasePool * Pool = [NSAutoreleasePool alloc] init]; There's a typo ... that line should be NSAutoreleasePool * Pool = [[NSAutoreleasePool alloc] init]; Thanks ___ Discuss-gnustep mailing list Discuss-gnustep@gnu.org

RE: Problems building JIGS on msys/mingw

2010-11-24 Thread Nicola Pero
3. It fails to link due to undefined references: Creating library file: ./obj/libgnustep-java.dll.a obj/libgnustep-java.obj/NSJavaVirtualMachine.m.o: In function `+[NSJavaVirtualMachine startVirtualMachineWithClassPath:libraryPath:]':

Re: Determining which button was clicked using it's id attribute

2010-11-20 Thread Nicola Pero
I think Csanyi is using Renaissance, where each tag has an 'id'. To figure out which button has been clicked, as Fred said, it's best to use a 'tag': button tag=3 ... and then [sender tag] should work. Csanyi, check the renaissance/ Examples/Applications/Calculator for a full example.

Re: Sony SNAP

2010-11-19 Thread Nicola Pero
Which mentions GNUstep by name in a number of places. I'm very surprised they didn't try to contact us on the mailing list or via email. Sure. But it's great that they want to use GNUstep. :-) IMO for us the most important thing would be that they contribute back any changes and

Re: simple(?) PC/Gorm question

2010-11-14 Thread Nicola Pero
If someone has time to rewrite the tutorial, please send me the new version and I can upload it to www.gnustep.it in place of the old one. :-) Thanks -Original Message- From: Gregory Casamento greg.casame...@gmail.com Sent: Saturday, 13 November, 2010 23:38 To: Riccardo Mottola

RE: question regarding xxx_INTERFACE_VERSION for libraries/frameworks

2010-11-14 Thread Nicola Pero
IIRC, the way you are supposed to use it is: include $(GNUSTEP_MAKEFILES)/common.make LIBRARY_NAME = PDFKit PDFKit_VERSION = 1.0.0 PDFKit_INTERFACE_VERSION = 1.0 ... include $(GNUSTEP_MAKEFILES)/library.make The 'xxx_VERSION' determines the full library name, eg libPDFKit.so.1.0.0 The

Re: NSSlider in Renaissance

2010-11-10 Thread Nicola Pero
...@gmail.com Sent: Monday, 18 October, 2010 23:35 To: Nicola Pero nicola.p...@meta-innovation.com Cc: GNUstep Discuss discuss-gnustep@gnu.org Subject: Re: NSSlider in Renaissance Hi Nicola, There it goes: Source/Markup.h Source/TagLibrary/GNUmakefile Source/TagLibrary/GSMarkupTagSlider.h Source

Re: Issue starting Gorm, ProjectCenter, GWorkspace..etc on netbsd 5.0.2

2010-11-10 Thread Nicola Pero
path environment variable: echo $PATH Cheers Fred Am 08.11.2010 22:10, schrieb Fred Kiefer: Am 08.11.2010 13:56, schrieb Nicola Pero: freetype-config --libs and it should return the right command options, but obviously it doesn't. It looks like the problem

Re: Issue starting Gorm, ProjectCenter, GWorkspace..etc on netbsd 5.0.2

2010-11-08 Thread Nicola Pero
freetype-config --libs and it should return the right command options, but obviously it doesn't. It looks like the problem is that it is providing the correct flags to pass to ld, but we are passing them to gcc. Why do you say that ? Any evidence ? What I personally immediately noticed

RE: NSSlider in Renaissance

2010-10-16 Thread Nicola Pero
Anyone already needed this thing? I was willing to create something like GSMarkupTagSlider.m to support it. Suggestions? Yes, an implementation of GSMarkupTagSlider would be very welcome. :-) Thanks ___ Discuss-gnustep mailing list

Re: Some apps losts

2010-10-08 Thread Nicola Pero
I did try to contact Marko to ask, but he didn't reply. :-( Do you have an up-to-date email address for him ? I do have an offline backup of the pages, but the only reason I can think of why they would no longer be online is that he removed them from the server. I can't really put the pages

RE: Categories, NSString and +load

2010-10-08 Thread Nicola Pero
It sounds like a bug in the GNU Objective-C Runtime, most likely this one -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16110 It's on my list for GCC 4.6.0. But please note that (in practice) most likely you want to use +load as little as possible. Almost anything else works more reliably.

Re: Renaissance, Obj-C, Handling the sound attribute of a button

2010-09-29 Thread Nicola Pero
Yes :-) Btw, my guess is that this has nothing to do with Renaissance. The problem is that [NSSound soundNamed: @GombHangja_Magas.wav]; does not work (ie, returns 'nil') when the sound is a local file inside the application bundle. It should be easy to write a short test and check. Thanks

Re: Renaissance, Obj-C, Handling the sound attribute of a button

2010-09-23 Thread Nicola Pero
I copy my sound file: GombHangja_Magas.wav into the /usr/lib/GNUstep/Sounds/ directory where the sound files 'Bottle', 'Blow', 'Basso' etc. are, and in Gorm I can heare my sound file too. Great - you're making progress :-) It sounds that it's a problem finding the sound file. In your

RE: Hard time cross building latest base

2010-09-21 Thread Nicola Pero
Hi Andreas do you have any more information on your problem ? What procedure are you following to cross-compile ? Thanks ___ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Re: Some things broken

2010-09-17 Thread Nicola Pero
Currently openapp someApp don't work. And I can't run gsim with . /usr/GNUstep/System/Library/Makefiles/GNUstep.sh gsim I need write the full paths. Is this the expected behavior? There is a bit of a discussion on the default filesystem layout to use in gnustep-make. Some partial changes

Re: [JIGS] Is there a command to create JARs for the wrapped libraries

2010-09-14 Thread Nicola Pero
On 14 Sep 2010, at 09:48, Eric Brayet wrote: HI, When using JIGS to build a Java wrapping an Objective-C library, JIGS creates searate .class files (in /usr/GNUstep/Local/Library/ Java/...) but no JARs, by default at least. Is there a way to create a JAR for that wrapper ? Not at the

RE: simple make file

2010-09-14 Thread Nicola Pero
Now I want to expand it to incorporate the sqlite3 database, which is in the form of a single source file called sqlite3.c and its accompanying header file sqlite3.h. Somehow the sqlite3 c file needs to be compiled to a linkable static object file and then linked in with the source.m file,

RE: why --enable-auto-import ?

2010-09-12 Thread Nicola Pero
Hi thanks for trying out GNUstep. Unfortunately, Windows is a complicated platform to start with. ;-) To start with, try following the tutorial here: http://www.gnustep.it/nicola/Tutorials/WritingMakefiles/index.html it explains how to get your first Hello World program working. :-) It that

Re: Renaissance - LPT_Interface.app - implementing button action

2010-08-21 Thread Nicola Pero
Because the button is toggle type I must to write the code so so when the button has title=1 then the action code must to write logical 1 to the Data Port bit, but when the button title=0 then it must to write logical 0 to the bit. This all is not specific to Renaissance ... it has to do

Re: Problem running hello-objc-gnustep example in gettext

2010-08-21 Thread Nicola Pero
for NSLanguages in NSGlobalDomain. Hence the application strings appear still in English. Could anyone please have a look and let me know how I could modify the NSLanguages value for the NSGlobalDomain from the main.m. Thank you very much, Asha --- On Wed, 8/18/10, Nicola Pero nicola.p...@meta

Re: Problem running hello-objc-gnustep example in gettext

2010-08-21 Thread Nicola Pero
$ myApp -NSLanguages='(French, Italian)' Yes, I think most likely Asha should use this. :-) That's fine ... but I think the idea was to do it programatically from within the app itsself. [...] If you want to override any defaults set anywhere else ... then the code is a bit more

Re: Renaissance - Adding a target to a button

2010-08-15 Thread Nicola Pero
On 14 Aug 2010, at 13:31, csanyi...@gmail.com wrote: Hi, I'm developing a GNUstep app: LPT_Interface.app which purpose is to Control the LPT parallel port of a PC Box. This is a Renaissance application. In LPT_Interface.gsmarup I specify a button (type toggle) which should set/reset a bit

Re: Problems building/installing Renaissance in OSX 10.6

2010-07-26 Thread Nicola Pero
Installing framework Renaissance... bash-3.2$ ls /Library/Frameworks/Renaissance.framework/ Headers/ Renaissance Resources/ Versions/ bash-3.2$ ls /Library/Frameworks/Renaissance.framework Headers Renaissance Resources Versions bash-3.2$ Is that output fine? Yes, it

RE: gnustep make on MacOSX

2010-07-16 Thread Nicola Pero
You need to check the Apple documentation - IIRC, in Mac OS X 10.5 Apple completely changed the way you specify the files that an application can open (see UTExportedTypeDeclarations etc). Thanks PS: On this topic, I think the current way that gnustep-make creates Info.plist files for you is

Re: Renaissance - nextKeyView - first key board focus?

2010-07-11 Thread Nicola Pero
On 10 Jul 2010, at 23:09, Paul Chany wrote: Paul Chany csanyi...@gmail.com writes: I created a gsmarkup file and have nextKeyView setup for views. My question is: how to get the first keyboard focus to the first such view without mouse click? I find a solution: in the gsmarkup file I

Re: Renaissance - make_strings doesn't works?

2010-07-10 Thread Nicola Pero
Hi Paul, make_strings does not support gsmarkup files. Renaissance does contain code to extract them, as shown by the GSMarkupLocalizableStrings.app in renaissance/Tools/, which will extract all the localizable strings from a .gsmarkup file, but there is no ready-to-use tools such as

Re: Renaissance - text centered in a Label?

2010-07-05 Thread Nicola Pero
When run it with GSMarkupBrowser.app one can see that labels (green rectangles) in rows: bit 0, bit 1, ... etc. has text '0' aligned to the left in the label objects. Is there a way how to get aligned them to the center of the label object? You can use the textAlignment attribute --

Re: Renaissance - Grids howto

2010-07-04 Thread Nicola Pero
On 3 Jul 2010, at 23:11, Paul Chany wrote: Hi, I'm trying to use two grids which are one under the other: grid_2 (|) should be under the grid_1 (| | |): | | | | In the .gsmarkup file I'm trying the following to achieve my goal: LPT_Interface.gsmarkup but when I load the .gsmarkup

Re: ld problem GNUmakefile osx

2010-07-01 Thread Nicola Pero
On 1 Jul 2010, at 04:45, Lucas Samaruga wrote: Hello I have compiled an application but when it tries to link gives me this error ld: in /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ ApplicationServices.framework, can't map file, errno=22 collect2: ld returned 1 exit status

Re: Renaissance - how to use Grids?

2010-06-29 Thread Nicola Pero
Hi Paul check the Renaissance documentation for how to use grids - you need Renaissance from subversion (trunk) to get the actual implementation, and in there there is also the documentation. :-) So, once you have the version from trunk, you can browse the documentation - start from

Re: Renaissance - how to use Grids?

2010-06-29 Thread Nicola Pero
So I think that that the Renaissance that I have installed is not enough new to use grid tag? I have installed GNUstep on my Debian GN U/Linux Squeeze with aptitude. Should I purge this installation and install gnustep from SVN? :( Unfortunately, yes. grid is only implemented in trunk.

Re: Renaissance - how to use Grids?

2010-06-29 Thread Nicola Pero
there I think I find a bug in the chapter '2.7.5 The gridEmptyCell tag': [snip..] I think that that there should be gridEmptyCell instead of gridEmptyRow, right? Yes, well spotted. I fixed it. :-) Thanks ___ Discuss-gnustep mailing list

Re: How to compile obj-c and c++ together

2010-06-29 Thread Nicola Pero
include $(GNUSTEP_MAKEFILES)/common.make APP_NAME = PanelTest PanelTest_OBJCC_FILES = source.mm PenelTest_CC_FILES = testMake.cc This should be 'PanelTest', not 'PenelTest'. ;-) Thanks ___ Discuss-gnustep mailing list Discuss-gnustep@gnu.org

Re: How to localize keyEquivalent=q?

2010-06-24 Thread Nicola Pero
On 24 Jun 2010, at 10:29, Paul Chany wrote: So far every localization works: Window objects, GSPrint to xterm but in the menuItem the keyEquivalent=q don't work. menuItem title=Quit keyEquivalent=q action=terminate: / I have in Menu-GNUstep.strings file following: Window = Ablak; Quit =

Re: How to localize keyEquivalent=q?

2010-06-24 Thread Nicola Pero
Maybe that's wrong - I'm not sure. Do people change the keyEquivalents from one language to the other ? My feeling/ experience was that keyboard shortcut are usually the same across languages. If they don't do, they should, but everyone should make a decision whether she/he want or want

Re: Relocatable packages

2010-06-20 Thread Nicola Pero
Some questions about relocatable packages: 1) Is possible install gnustep-base in other place than USER, LOCAL, SYSTEM,...? On wiki say that I can use my own GNUstep.conf file. But even when I point other directory to install this (on my personal dir), when I type make install, I get the

RE: does GNUstep support exception as well as apple implementation?

2010-06-04 Thread Nicola Pero
Depending on how your Objective-C environment is setup on Linux, it is possible that @try/@catch/@throw may not work or not be configured. In that case, you should use NS_DURING/NS_HANDLER/NS_ENDHANDLER. The syntax and internals are not slick but they work and have been in use for ages. ;-)

Re: Vindaloo - open a PDF from the command line

2010-04-15 Thread Nicola Pero
Is there a reason that it's called gopen instead of open? Avoiding a conflict on Mac OS X? Why two competing helpers, gopen and openapp, exist eludes me, though. I can clarify a bit. :-) openapp is not a open-file helper. It's a script that just runs a specific program. It uses to be

Re: Vindaloo - open a PDF from the command line

2010-04-15 Thread Nicola Pero
Hi, use gopen instead of openapp. Maybe openapp has a bug. I know that with PRICE gopen PRICE image works. Openapp doesn't. Neither giving direclty the executable the image path works. I'm not exaclty sure why. openapp PRICE image is (or should be) equivalent to PRICE image Does

New Mini Tutorial on Parallel Building with GNUstep Makefiles

2010-03-13 Thread Nicola Pero
To make sure everyone knows how to use the new cool parallel building features I implemented for the forthcoming gnustep-make 2.4.0, I wrote a mini tutorial on it -- http://www.gnustep.it/nicola/Tutorials/ParallelBuildingMakefiles/index.html (Warning: this tutorial is a draft and discusses

Re: sync.m

2010-03-01 Thread Nicola Pero
We should not sacrifice new features or readability for the sake of holding on to older architectures and compilers. Also, the use of non-c99 standards does hinder contributions since we constantly expect people who don't have access to c99 based compilers to change their code to conform to

Re: GNUSTEP_SYSTEM_ROOT

2010-02-18 Thread Nicola Pero
On 18 Feb 2010, at 14:01, J. Jordan wrote: I am editing, updating and converting to .rtfd Dennis Leeuw's very nice _GWorkspace User Guide_ in hopes that it can be used as a help file for GWorkspace. One of the appendi indicates that GWorkspace is normally installed in

Re: FOSDEM and beyond (next stable release of base)

2010-02-12 Thread Nicola Pero
A common case, for example, is building many tools from the same GNUmakefile - each of them created by compiling a file or two. We don't parallelize building the tools at the moment I experimentally implemented this in trunk - for tools. Please give it a go. You just need to use

Re: FOSDEM and beyond (next stable release of base)

2010-02-11 Thread Nicola Pero
A common case, for example, is building many tools from the same GNUmakefile - each of them created by compiling a file or two. We don't parallelize building the tools at the moment I experimentally implemented this in trunk - for tools. Please give it a go. You just need to use

Re: GNUstep @ FOSDEM 2010 6th and 7th February 2010

2009-10-20 Thread Nicola Pero
- What are we planning for FOSDEM? Will we apply for a dev-room again and/or for a stand? (for a dev-room we would need speakers, a stand needs more manpower to operate than the dev-room (all the time at least two to three people must be at the stand and since nobody can be there all the

Re: Obective-C undefined reference to ___objc_class_name_NSObject on Windows

2009-10-19 Thread Nicola Pero
When I use: gcc -o filename filename.h -I /c/gnustep/gnustep/system/library/ headers -L /c/gnustep/gnustep/system/library/libraries to compile the file I receive the following errors: undefined reference to ___objc_class_name_NSObject undefined reference to ___objc_exec_class 1-

Re: GNUmakfiles - sources must be in project's root?

2009-10-10 Thread Nicola Pero
On 26 Aug 2009, at 11:31, Juergen Lorenz Simon wrote: Hi, I'm trying to shoehorn GNUstep onto an existing project. During the creation of the GNUstep makefile (originally I had the luxury of cmake), I found I could not add sources like this: foo_OBJC_FILES = src/App/main.mm \

Re: Changes I've been thinking of...

2009-10-09 Thread Nicola Pero
Additionally I really dislike the coding style, not because it's not mine, but because it fails to make the code more readable. On the other hand, there was code by Fred which looked really ok, so maybe it's just about using the coding style in a sane way All I wanted to say is, that it's

Re: Changes I've been thinking of...

2009-10-09 Thread Nicola Pero
By the way the GNU coding standards are not bad, in fact I personally like them (mostly because my eyesight is really bad and whitespace is much more effective at separating tokens than brackets or commas). There are some details I'd change, but they certainly are not an unusual or

Re: Changes I've been thinking of...

2009-10-08 Thread Nicola Pero
It would undoubtedly be good to have some packager-specific documentation, but obviously the target readership is a very small group We *do* have packager documentation, in core/make/README.Packaging Feel free to add a short section about what was discussed here. :-) - How

Re: GNUStep OpenGL on WinXP

2009-09-05 Thread Nicola Pero
Hi Doug you should try make messages=yes to view the compiler and linker command lines and check how they change when you add/remove these GNUmakefile options. ;-) Since you specify -lopengl32 twice (as Gears_TOOL_LIBS and LDFLAGS) I'd expect it to appear twice on the linker command

Re: Makefile question

2009-09-04 Thread Nicola Pero
On 4 Sep 2009, at 12:13, Philippe Roussel wrote: Hi all, I currently use the appended makefile to build my application. I want to add the file config.h automagically generated from config.h.in by a call to './configure' and I'm stuck on how to do that with GNUmakefile. Add config.h to

Re: Makefile question

2009-09-04 Thread Nicola Pero
But I don't see how adding config.h to SimpleAgenda_HEADER_FILES helps. I can remove it without any effect it seems. Oh - right, since your project is an application, I suppose SimpleAgenda_HEADER_FILES is never used. So, unless I'm missing something (you should test), you could remove

Re: General question about GNUStep

2009-08-27 Thread Nicola Pero
Is it not going about compiler possibilities to optimize the code using hyper threading? OpenMP is a specification trying to get a standard for such things, I hope, I have it not totally misunderstood. Is ObjC compiler just an extension to the common GNU C compiler (100% compatible) or

Re: General question about GNUStep

2009-08-26 Thread Nicola Pero
It looks like I will go back to C++ or Java for the server, Why? Objective-C is much better than either... it's a very good server solution (C++ is too inflexible and Java is slow/clumsy). Yes! :-) Simeon, you can check my Building server applications using Objective-C and GNUstep

Re: Application without GUI lib dependence?

2009-08-15 Thread Nicola Pero
On 6 Aug 2009, at 17:39, Martin Kalbfuß wrote: How can I tell the application project type in the makefile to ignore the gui libs? I want to create my game as application type, not as tool, because it isn't a tool. This was added in 2.0.5. You need to add xxx_NEEDS_GUI to your

Re: Install resources for a tool

2009-08-15 Thread Nicola Pero
Thank you for your excellent answer. But It looks like it isn't working for me. My currenr makefile is now: but when i install it I cannot find the resources anywhere in the GNUstep directory. Only the binary in the subdirectory tools. Thanks Martin. It works for me. The tool binary

Re: Install resources for a tool

2009-08-02 Thread Nicola Pero
On 2 Aug 2009, at 13:36, Martin Kalbfuß wrote: I'm creating a game using my sdl wrapper library. So there is no gui stuff. I`m using the tool project type. But how can I install resources like images with my game? You need to use xxx_HAS_RESOURCE_BUNDLE = yes that will turn on our

Re: Linking against an uninstalled framework

2009-07-15 Thread Nicola Pero
On 15 Jul 2009, at 12:55, Wolfgang Lux wrote: Hello, what are the correct linker flags in a GNUmakefile for linking an application against an uninstalled framework? So far, the best I could find are the following definitions from SystemPreferences.app: ifeq ($(findstring mingw32,

Re: GNUstep make static library question

2009-05-29 Thread Nicola Pero
Hi all, I am still struggling to get a bundle referencing a framework referencing a library to work on MacOSX using GNUstep make. I have done the following: rm -rf /opt/GNUstep cd /usr/src/core/make ./configure --prefix=/opt/GNUstep --enable-import

Re: Problem with GNUstep and Objective-C++

2009-05-05 Thread Nicola Pero
Hi Mike I tried following your instructions with gnustep-make from trunk and everything worked out-of-the-box. :-) Can you clarify which version of gnustep-make you were using ? What was the fix that fixed your problem ? Can you try gnustep-make from subversion trunk and verify that it

Re: a collective introduction of all sites related to gnustep

2009-05-05 Thread Nicola Pero
GNUStep.it http://www.gnustep.it/ This site hosts some projects: GWorkspace and SystemPreferences. Although it is the first google result for system preferences gnustep, it offer an unmaintained version of SystemPreferences.app where gnustep.org has the maintained one. It also have several

Re: SEGMENTATION FAULT when running GNUstep.sh on RedHat or CentOS 4.7

2009-04-13 Thread Nicola Pero
I'm seeing the following when doing: . /usr/GNUstep/System/Library/ Makefiles/GNUstep.sh /usr/GNUstep/System/Library/Makefiles/GNUstep.sh: line 374: 3674 Doneecho :${LD_LIBRARY_PATH}: 3675 Segmentation fault | grep -v :${path_fragment}: / dev/null

Re: Someone help these poor chaps

2009-04-13 Thread Nicola Pero
On 13 Apr 2009, at 21:16, Lars Sonchocky-Helldorf wrote: here are some redhat guys struggling to get GNUstep into their official release if I understand it right. Seems to be not so easy for them - technicalwise: https://bugzilla.redhat.com/show_bug.cgi?id=475852 We'd certainly like to

Re: Troubles with GNUstep Make

2009-03-19 Thread Nicola Pero
If you don't replace the second instance of 'LogTest', gnustep-make won't find any files to link for your tool, and so it will create a new tool from zero object files. Then, the main() function will be missing ;-) I added a check in gnustep-make trunk for this situation (linking no

Re: Troubles with GNUstep Make

2009-03-17 Thread Nicola Pero
Hi Torli make sure your new GNUmakefile looks like include $(GNUSTEP_MAKEFILES)/common.make TOOL_NAME = WriteStr2File WriteStr2File_OBJC_FILES = source.m include $(GNUSTEP_MAKEFILES)/tool.make (note how you have to replace LogTest twice) ;-) If you don't replace the second instance of

  1   2   3   4   >