This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: lablgtk2 (was: [ITP] unison2.48)


> 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.  So I added
ocaml_lablgtk2_REQUIRES=ocaml.

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.

> > * 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.

> > * cygport warns that a few files haven't been installed into any of the
> > packages.
> 
> Those would just be files related to deprecated libraries which we
> wouldn't support (namely gtksourceview 1.x and libgnomeprint).  Those
> could be added to PKG_IGNORE for clarity.
> 
> > * I had to remove ocaml-lablgtkgl2 from the build, because there's currently no
> > gtkglarea2.0-devel package in Cygwin to build against.
> 
> There is, libgtkgl2.0-devel.

OK, I think I got that mixed up with gtkglarea.

> > That's as far as I got.  You're welcome to take it from there.
> 
> OK, I went ahead and moved ocaml-lablgtk2 and ocaml-lablgl into the
> distro. 

Well that simplifies things. Thanks.
Andrew


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]