delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/11/10/15:53:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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)" <yselkowitz AT users DOT sourceforge DOT net>
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: <cc730b690511100958l668ece8eu821068341bf50db3 AT mail DOT gmail DOT com> <OF5B0A812C DOT AEB376CD-ON852570B5 DOT 0065203B-852570B5 DOT 006A3B33 AT epamail DOT epa DOT gov>
In-Reply-To: <OF5B0A812C.AEB376CD-ON852570B5.0065203B-852570B5.006A3B33@epamail.epa.gov>

--------------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 <string.h>
 #include <gdk/gdk.h>
-#if defined(_WIN32) || defined(__CYGWIN__)
+#if defined(_WIN32)
 #include <gdk/gdkwin32.h>
 #else
 #include <gdk/gdkx.h>
@@ -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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019