From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 116546 invoked by alias); 12 Jun 2015 21:31:55 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 116529 invoked by uid 89); 12 Jun 2015 21:31:54 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 12 Jun 2015 21:31:53 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id B30F03635C6 for ; Fri, 12 Jun 2015 21:31:52 +0000 (UTC) Received: from YAAKOV04.redhat.com ([10.3.113.13]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t5CLVpsf021639 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 12 Jun 2015 17:31:52 -0400 Message-ID: <1434144729.9188.19.camel@cygwin.com> Subject: Re: lablgtk2 (was: [ITP] unison2.48) From: Yaakov Selkowitz To: cygwin-apps@cygwin.com Date: Fri, 12 Jun 2015 21:31:00 -0000 In-Reply-To: <4sgmnah53l3dpkdp9n7frrc5fc93f3g76u@4ax.com> References: <8pk4na1m8e85b7206jutfuck7979abqmqp-e09XROE/p8c@public.gmane.org> <1434138088.11680.19.camel@cygwin.com> <4sgmnah53l3dpkdp9n7frrc5fc93f3g76u@4ax.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg00096.txt.bz2 On Fri, 2015-06-12 at 16:40 -0400, Andrew Schulman wrote: > > On Fri, 2015-06-12 at 03:54 -0400, Andrew Schulman wrote: > > > OK, pushed to https://github.com/andrex-e-schulman/cygwin-lablgtk2.git. I > > > started with the version in Cygwin ports - the cygport file and two patches. I > > > adjusted the cygport file as follows: > > > > > > * Added ocaml_lablgtk2_REQUIRES and DEPEND. > > > > Was something missing from the autogenerated requires? > > Yes, IIRC none of them included ocaml. Hmm, I'll have to look into that, although practically speaking I don't think it's much of a concern. > Also, all of the autogenerated requires included all of the -devel packages - > about a dozen of them. Which is undesirable and seems wrong, since then anyone > who installed unison-gtk for example would need to have all of those -devel > packages too. No they wouldn't, no more than anyone installing unison has to install ocaml. While ocaml has the toplevel system for use as a script interpreter and runtime system for bytecode interpretation, the primary practical use of ocaml (on platforms which support it) is as a native code compiler. On these platforms, ocaml *programs* are generally native-compiled for much better performance, and such use requires -devel packages. This is particularly true on x86_64-cygwin, where we don't have flexdll working yet (although upstream is making progress), which severely limits the usefulness of bytecode interpretation. > > > * Replaced $OCAML_LIB_DIR (I think it was) by usr/lib/ocaml. > > > * Changed ocaml_install (which I can't find anywhere) to "make old-install > > > DESTDIR=${D}". > > > > These are both provided by ocaml.cygclass. > > Ah, thanks. I guess I moved the "inherit ocaml" too far down in the file. inherit commands are intended to be at the top of the .cygport, preceded only by variables that are required thereby (as indicated in the manual). -- Yaakov