enlightenment & Eterm
Robert Collins
robert.collins@itdomain.com.au
Mon Apr 30 02:26:00 GMT 2001
Fantastic!
BTW: Theres work underway to build a in-cygwin version of cygipc.... it
will almost certainly break the ABI for cygipc compiled apps.
Just a heads up.
Rob
----- Original Message -----
From: "Alan Hourihane" <alanh@fairlite.demon.co.uk>
To: <cygwin-xfree@sources.redhat.com>
Sent: Monday, April 30, 2001 7:12 PM
Subject: enlightenment & Eterm
> Just thought I'd let people know - that with the help of the add-on to
> cygwin - cygipc. I've been able to build a shared memory version of
libXext
> and therefore also I've now been able to compile the enlightenment
window
> manager and Eterm. Very nice!
>
> I got CygIPC from
http://www.neuro.gatech.edu/users/cwilson/cygutils/v1.1/cygipc
>
> You have to do a little hacking on enlightenment & Eterm to build
properly too.
>
> There's also a small patch to the cygwin.cf and one to X11/Font.c
(looks like it
> was older cygipc.h support). Attached below.
>
> So when building X, all you need to put in your xc/config/cf/host.def
is
>
> #define UseCygIPC YES
>
> and you'll get a shared memory version of X.
>
> Alan.
>
> Index: cygwin.cf
> ===================================================================
> RCS file: /X11R6/x-cvs/xc/config/cf/cygwin.cf,v
> retrieving revision 3.9
> diff -u -r3.9 cygwin.cf
> --- cygwin.cf 2001/04/27 12:32:42 3.9
> +++ cygwin.cf 2001/04/30 08:45:42
> @@ -34,7 +34,12 @@
> #define HasLibCrypt YES
> #define HasPutenv YES
> #define HasPoll NO
> -#define HasShm NO
> +#if UseCygIPC
> +# define HasShm YES
> +# define HasShmDefines -DHAS_SHM
> +#else
> +# define HasShm NO
> +#endif
> #define HasSnprintf YES
> #define HasZlib YES
>
> @@ -103,7 +108,7 @@
>
> #define
OptimizedCDebugFlags -O2 -fno-strength-reduce -fpcc-struct-return -m486
>
> -#define
StandardDefines -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_X
86_ -D__STDC__ -DNO_TCP_H -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE
=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DX_SOURCE
> +#define
StandardDefines -D__i386__ -DWIN32_LEAN_AND_MEAN -DX_LOCALE -D_X
86_ -D__STDC__ -DNO_TCP_H -D__CYGWIN__ -D_XOPEN_SOURCE -D_POSIX_C_SOURCE
=199309L -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE -DX_SOURCE
HasShmDefines
>
> #define XawI18nDefines -DUSE_XWCHAR_STRING -DUSE_XMBTOWC
> #define HasWChar32 YES
> Index: Font.c
> ===================================================================
> RCS file: /X11R6/x-cvs/xc/lib/X11/Font.c,v
> retrieving revision 1.12
> diff -u -r1.12 Font.c
> --- Font.c 2001/01/17 19:41:35 1.12
> +++ Font.c 2001/04/30 08:11:07
> @@ -39,11 +39,7 @@
> #ifdef USE_XF86BIGFONT
> #include <sys/types.h>
> #ifdef HAS_SHM
> -#ifndef __CYGWIN__
> #include <sys/ipc.h>
> -#else
> -#include <sys/cygipc.h>
> -#endif
> #include <sys/shm.h>
> #endif
>
>
More information about the Cygwin-xfree
mailing list