Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <4373B343.6040509@users.sourceforge.net> Date: Thu, 10 Nov 2005 14:53:23 -0600 From: "Yaakov S (Cygwin Ports)" User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: unison-gtk2-2.10.2-1 References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------060103000904080405080004" --------------060103000904080405080004 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Schulman DOT Andrew AT epamail DOT epa DOT gov wrote: > I'm sorry but I never have packaged unison-gtk2 for Cygwin. I did try > at first, but ran into a fatal error that seemed to be caused by > lablgtk2, the OCaml interface to GTK2. I wasn't able to solve it right > away, and since I only use the text interface myself, I've never gotten > back to it. lablgtk2 doesn't build OOTB on Cygwin, as it assumes that we use a Win32 target instead of X11. I'm attaching a patch which I used to compile lablgtk2, or if you prefer, I have packages available at: ftp://sunsite.dk/projects/cygwinports/release/ocaml/lablgtk2/ As I know nothing about OCaml, I don't know if this will fix the patch, but perhaps it could be a start to getting this working. Yaakov -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Cygwin) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDc7NCpiWmPGlmQSMRAkuhAKCxM01vhBXejEpd01vjYfg9zhxxyACfSD2M Hw7BBc8sRBgHz8yIrSQVF1c= =r2ce -----END PGP SIGNATURE----- --------------060103000904080405080004 Content-Type: text/plain; name="lablgtk2-2.4.0-3.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="lablgtk2-2.4.0-3.patch" diff -urN -x .build -x .inst -x .sinst -x configure -x Makefile.in -x 'aclocal.m4*' -x ltmain.sh -x 'config.*' -x depcomp -x install-sh -x missing -x mkinstalldirs -x autom4te.cache lablgtk-2.4.0-orig/src/ml_gdk.c lablgtk-2.4.0/src/ml_gdk.c --- lablgtk-2.4.0-orig/src/ml_gdk.c 2004-06-15 17:42:30.000000000 -0400 +++ lablgtk-2.4.0/src/ml_gdk.c 2005-06-06 19:43:13.343750000 -0400 @@ -2,7 +2,7 @@ #include #include -#if defined(_WIN32) || defined(__CYGWIN__) +#if defined(_WIN32) #include #else #include @@ -222,7 +222,7 @@ ML_0 (GDK_ROOT_PARENT, Val_GdkWindow) ML_1 (gdk_window_get_parent, GdkWindow_val, Val_GdkWindow) -#if defined(_WIN32) || defined(__CYGWIN__) +#if defined(_WIN32) CAMLprim value ml_GDK_WINDOW_XWINDOW(value v) { ml_raise_gdk ("Not available for Win32"); @@ -420,7 +420,7 @@ CAMLprim value ml_gdk_property_get (value window, value property, value length, value pdelete) { -#if defined(_WIN32) || defined(__CYGWIN__) +#if defined(_WIN32) return Val_unit; /* not supported */ #else GdkAtom atype; --------------060103000904080405080004 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ --------------060103000904080405080004--