[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Porting Gnustep and Gworkspace to less conventional gnu based system
From: |
David Chisnall |
Subject: |
Re: Porting Gnustep and Gworkspace to less conventional gnu based systems |
Date: |
Sun, 5 Aug 2012 11:36:33 +0100 |
On 5 Aug 2012, at 01:20, wave wrote:
> How do i find wich parts of gnustep base do i have to adapt to syllable
> before being able to build it?
The only bit of -base that you are likely to need to modify on a vaguely POSIXy
system is the threading code, which depends on POSIX threads, and possibly the
timer / event code.
For a system without X, however, you are going to need to write a new back end
for -gui. This needs to handle window management, UI event delivery, and
drawing. On modern systems, we usually delegate the drawing part to Cairo,
which provides a PostScript-like abstraction, but you will still need to write
the event handling (i.e. mapping native events to NSEvent objects) and window
management code.
David
-- Sent from my Cray X1