On 2006-05-26 01:14:00 +0200 Yen-Ju Chen <[EMAIL PROTECTED]> wrote:
I just committed XWindowServerKit into SVN
and make MenuServer use it when 'make x11=yes'.
In this case, MenuServer will stay in all desktops.
If people think this approach is fine, I can fill up the rest.
Have fun.

I'm not sure how/why it works on Linux, but on FreeBSD, you will need to modify the top-level GNUmakefile, eg:

  ifeq ($(x11), yes)
        ADDITIONAL_GUI_LIBS = -lXWindowServerKit
        ADDITIONAL_CPPFLAGS += -DXWindowServerKit
    ifeq ($(findstring freebsd, $(GNUSTEP_TARGET_OS)), freebsd)
        ADDITIONAL_OBJCFLAGS += -I/usr/X11R6/include
    endif
  endif

The second ifeq can/should be removed, since most likely other systems will have to include X11 as well.

Second, there's a mismatch WRT to the About:

  Compiling file ETMachineInfo_FreeBSD.m ...
ETMachineInfo_FreeBSD.m: In function '+[ETMachineInfo(FreeBSD) platformSupported]': ETMachineInfo_FreeBSD.m:99: warning: conflicting types for '+(NSString *)platformSupported' ETMachineInfo.h:46: warning: previous declaration of '+(BOOL)platformSupported' ETMachineInfo_FreeBSD.m:100: warning: return makes pointer from integer without a cast

I guess this is due to methods being simply copied then renamed.

Third, also in ETMachineInfo_FreeBSD.m, if +realMemory is supposed to give the TOTAL amount of RAM, it should be changed to read

  + (unsigned long long) realMemory
  {
return (unsigned long long) performIntegerSysctlNamed ("hw.realmem");
  }

Sorry, I guess this was my fault.

--
Chris





_______________________________________________
Etoile-dev mailing list
[email protected]
https://mail.gna.org/listinfo/etoile-dev

Reply via email to