This is the mail archive of the
cygwin-apps
mailing list for the Cygwin project.
Re: lablgtk2 (was: [ITP] unison2.48)
- From: Andrew Schulman <schulman dot andrew at epa dot gov>
- To: cygwin-apps at cygwin dot com
- Date: Fri, 12 Jun 2015 16:40:30 -0400
- Subject: Re: lablgtk2 (was: [ITP] unison2.48)
- Authentication-results: sourceware.org; auth=none
- References: <8pk4na1m8e85b7206jutfuck7979abqmqp-e09XROE/p8c at public dot gmane dot org> <CAMKht8gtZxqeqXXY+dx2fUfJCN13=-CGGDZJUCQ-JFUrjvRvVg at mail dot gmail dot com> <li0jna11g9gafl3gntq3utt5ed5n2sepfs at 4ax dot com> <li0jna11g9gafl3gntq3utt5ed5n2sepfs-e09XROE/p8c at public dot gmane dot org> <CAMKht8iP6YmHjeNMa7Q779XpNBaq9f8zY88qZsvXSvYmngshuw at mail dot gmail dot com> <fk2lnap245it6fv369mtmkvgtkjgccetnv at 4ax dot com> <fk2lnap245it6fv369mtmkvgtkjgccetnv-e09XROE/p8c at public dot gmane dot org> <1434138088 dot 11680 dot 19 dot camel at cygwin dot com>
> 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