./x11/ocaml-lablgtk3, GTK+ 3.x bindings for OCaml

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.1.3nb18, Package name: ocaml-lablgtk3-3.1.3nb18, Maintainer: gdt

LablGTK is an Objective Caml interface to GTK+. It uses the rich type
system of Objective Caml to provide a strongly typed, yet very
comfortable, object-oriented interface to GTK+. This is not that easy
if you know the dynamic typing approach taken by GTK+.

This is the version currently maintained by upstream, supporting
GTK+ 3.



Required to run:
[lang/ocaml] [devel/ocaml-findlib] [x11/gtk3] [x11/gtksourceview3] [textproc/gtkspell3] [devel/ocaml-dune] [graphics/ocaml-cairo]

Required to build:
[pkgtools/x11-links] [x11/xcb-proto] [x11/fixesproto4] [pkgtools/cwrappers] [x11/xorgproto] [misc/ocaml-opaline]

Package options: gtksourceview3, gtkspell

Master sites:

Filesize: 1018.795 KB

Version history: (Expand)


CVS history: (Expand)


   2024-12-06 17:44:58 by Greg Troxel | Files touched by this commit (1)
Log message:
x11/ocaml-lablgtk3: Remove dune/PKGCONFIG kludge

as no longer necessary/useful now that the bug is patched in dune and
the patch is actually used in the build.

No PKGREVISION++; this is just swapping a dune fix for a dune
workaround, with no expected change in the binary.
   2024-11-25 21:37:17 by Greg Troxel | Files touched by this commit (1)
Log message:
x11/ocaml-lablgtk3: Add comment about perhaps-similar pkg-config-finding problem
   2024-11-24 15:45:32 by Greg Troxel | Files touched by this commit (1)
Log message:
x11/ocaml-lablgtk3: Improve kludge comments

NFCI
   2024-11-24 15:32:49 by Greg Troxel | Files touched by this commit (1)
Log message:
x11/ocaml-lablgtk3: Kludge around dune pkg-config issues

For unclear reasons, if PKG_CONFIG is set in the environment, even if
properly to a copy of pkg-config in the work directory, dune objects
to it and errors out.  Remove PKG_CONFIG from the build environment.
This allows building to succeed.

This commit adds some test targets, not invoked, with comments that
are notes to the next person struggling with this, perhaps future
self.

The removal of PKG_CONFIG is implemented by open-coding the do-build
target from ocaml.mk, pending disscussion of the wisdom of changing
that target, on the theory that this is a dune bug, not a lablgtk bug.
   2024-11-24 13:20:57 by Greg Troxel | Files touched by this commit (3)
Log message:
x11/ocaml-lablgtk3: Add -verbose when using pkg-config

This doesn't fix the build, but it provides a clue: dune code is
objecting to the pkg-config that is found, which is a shell script
wrapper:

  File "src/dune", line 9, characters 0-128:
   9 | (rule
  10 |  (targets
  11 |    cflag-gtk+-3.0.sexp
  12 |    clink-gtk+-3.0.sexp)
  13 |  (action (run dune_config -verbose -pkg gtk+-3.0 -version 3.18)))
  (cd _build/default/src && ../.bin/dune_config -verbose -pkg gtk+-3.0 \ 
-version 3.18)
  which: /tmp/work/x11/ocaml-lablgtk3/work/.tools/bin/pkg-config
  -> not found
  configure error: pkg_config not installed

Take maintainership (offlist discussion with jaapb@).
   2024-11-17 08:17:06 by Thomas Klausner | Files touched by this commit (944)
Log message:
*: recursive bump for default-on option of at-spi2-core
   2024-11-14 23:22:33 by Thomas Klausner | Files touched by this commit (2429)
Log message:
*: recursive bump for icu 76 shlib major version bump
   2024-11-01 13:55:19 by Thomas Klausner | Files touched by this commit (2426)
Log message:
*: revbump for icu downgrade