to address issues with NetBSD-6(and earlier)'s fontconfig not being
new enough for pango.
While doing that, also bump freetype2 dependency to current pkgsrc
version.
Suggested by tron in PR 47882
Added PLIST_VAR in order to install native code files only on appropriate
architectures.
This closes PR pkg/46922 (submitted before I became a developer).
Changes from 2.14.2 to 2.16.0:
2012.08.23 [Jacques]
* update Windows port, compiles fine on mingw with
./configure --disable-gtktest
* lablgtk2 script does not load extra libraries by default
(use flag -all to load all extensions)
2012.08.17 [Jacques]
* generate correct lablgtk2 script for findlib.
* add old-uninstall target.
* support threaded toplevel with Quartz backend, using gtkThTop.ml
(runs the toplevel loop in another thread)
* remove GtkThInit from META (not portable)
* avoid busy waiting by using g_main_context_set_poll_func to
make polling non-blocking.
busy waiting is still needed for VM threads, and can be activated
by setting the environment variable LABLGTK_BUSY_WAIT.
2012.08.16 [Jacques]
* update applications/browser for OCaml 4.00
* update applications/camlirc to use GText instead of GBroken.text
2012.07.26 [Pierre-Marie]
* improvements to GtkSourceView2.
* add cast and assignation functions to GText.nocopy_iter.
* add Gtk 2.10 missing key modifiers.
2012.07.24 [Jacques]
* can still install using old-install.
2012.06.19 [Adrien]
* add a high-level API to create keyboard shortcuts.
2012.06.12 [Adrien]
* add several #as_foo methods: entry, notebook, range
* new signals for notebook: select_page, reorder_tab,
change_current_page, move_focus_out, page_{added,removed,reordered}
* add gtk_container_child_{set,get}_property
* add gtk_notebook_{set,get}_tab_reorderable
* add gtk_signal_new which can be used to create custom keyboard shortcuts
* add g_signal_list and g_signal_query
* add functions to connect to notify::foo signals which indicate when an
object property changes
* add foo#connect#notify_bar methods to add callbacks on changes of
the "bar" property of the object "foo".
2012.04.11 [Maxence]
* use findlib to install (see README for the list of installed packages)
2012.06.05 [Jacques]
* merge GtkSourceView2 additions by Pierre-Marie Pedrot
2012.03.07 [Jacques]
* add Make_Val_option to wrappers.h
2011.07.20 [Jacques]
* add gtk_accelerator_name/get_label (for Pierre Boutillier)
* add gtk_accel_map_foreach/change_entry (ibid)
* add gdk_window_clear_area (for DDR)
* make gtk_tree_view_get_visible_range version dependent (Thomas Ripoche)
"gnomecanvas" option. Otherwise some packages fail to link because
they can't find -lnspr4. PKGREVISION -> 10.
Because the packages affected by this don't build without it, I don't
think they need to be revbumped.
In Lablgtk-2.14.2:
2010.09.09 [Jacques]
* add GtkCurve (but it is deprecated since 2.20)
2010.08.16 [Jacques]
* rename g_value_{get,set}_variant, as the name is used by recent
versions of glib (reported by Florent Monnier)
2010.07.25 [Jacques]
* add changed signal to cell_renderer_combo (reported by Dmitry Bely)
2010.07.23 [Jacques]
* copy GtkTreePath arguments in callbacks, as reported by Benjamin.
2010.06.25 [Jacques]
* remove gtkInit.cmo from gdk_pixbuf_mlsource, no need to
initialize Gtk as Gobject is sufficient
* protect GtkThread callbacks against exceptions, and provide a
function to process messages inside a different main loop.
* add -nothinit option to lablgtk2, since Quartz cannot run the main
loop in a different thread (one should just call GtkThread.main).
See dialog-thread.ml for an example.
2010.06.08 [Jacques]
* correct interfaces due to the fixing of an unsoundness bug in ocaml 3.12
(cf. http://caml.inria.fr/mantis/view.php?id=4824)
ocaml-3.12. Set LICENSE. Add gtksourceview2 option; disable (default off)
glade option, since it currently doesn't build.
In Lablgtk-2.14.1:
2010.05.20 [Jacques]
* update unison patch to 2.40.16 (for Quartz users)
2010.05.18 [Jacques]
* rename gtkSignal.ml to gtkSignal.ml4 and fix depend target
* move Glib.Utf8 code to gutf8.ml, so that it can be used in xml_lexer
to fix a bug report by Pascal Brisset (multibyte entities of the form
● in glade files).
2010.04.08 [Jacques]
* remove useless methods (discovered by ocaml 3.12)
2010.01.14 [Benjamin]
* Apply patch from Mike Spivey to support get_visible range in Gtree
* Fixed incorrect target labgtkspell.cmxs in Makefile
2009.10.01 [Jacques]
* Correct wrong module name SourceViewEnums -> SourceView2Enums
In Lablgtk-2.14.0:
2009.09.25 [Jacques]
* Ensure compilation under windows
2009.09.22 [Benjamin]
* Restore compatibility with pre-3.11 OCaml versions
2009.09.01 [Benjamin]
* Apply patch from Mike Spivey:
* Access to StyleSchemeManager objects
* Some attributes are strings and not string options. This seems
sensible.
* Languages and style schemes are treated alike in creating buffers:
both arguments are wrapped.
* draw_spaces deals with a list of flags, not a single flag.
* Mark categories can have priorities, icons and backgrounds
* Some attributes of languages are accessed by methods instead of
properties to work around a GTK bug.
2009.09.01 [Benjamin]
* Support for GtkSourceView 2.6 in library "lablgtksourceview2"
* Support for GtkSourceView 1.x is still available in library
"lablgtksourceview" but it is no longer linked into the lablgtk2
default toplevel as it is not linkable with "lablgtksourceview2".
2009.05.21 [Jacques]
* Apply Anil Madhavapeddy patch for lablgladecc2 -hide-default
2009.05.18 [Benjamin]
* Make and install dynamic cmxs objects when available.
* Fix compilation bug for ml_panel.c (Richard Jones message of 2009-02-06)
2009.05.12 [Jacques]
* Merge new tooltip support from Moutinho's branch r1365
(sorry for 1.5y delay...)
* Merge tree DND from Moutinho's branch r1387 (1y delay...)
2009.05.08 [Jacques]
* Add Gdk.Windowing.platform for platform dependent applications
* Fix bug in Clist.set_pixmap when no mask given
2009.04.20 [Jacques]
* Print backtrace if available when exception raised in signal callback.
Requires ocaml 3.11. (suggested by Bart Jacobs)
* Use "val virtual obj" in generated code. Requires ocaml 3.10.
2009.03.19 [Jacques]
* In GtkAboutDialog, change internal property from "name" to "program-name"
if version >= 2.12. The OO interface is left unchanged, since there is
no conflict with #misc#name anyway.
2009.02.09 [Benjamin]
* fix linking bug for older than 2.2 Gtk with g_io_channel_read_chars
2009.01.20 [Benjamin]
* change handling of non existent properties.
[Not_found] is no longer raised and [Invalid_argument prop_name] is
used instead.
No exception is raised by unknown dynamic property setters and a GLib
warning is emitted.
See the comments in src/gobject.mli in the local Property module.
2009.01.13 [Benjamin]
* fix compilation issues with Gtk 2.4
In Lablgtk-2.12.0:
2008.12.20 [Jacques]
* fix build process for ocaml 3.11 on MSVC and mingw.
2008.12.09 [Jacques]
* fix ml_gtk_source_buffer_create_marker
2008.10.30 [Benjamin]
* Support Gtk Quartz backend compilation (thanks to Pascal Cuoq)
2008.10.07 [Benjamin]
* Revert last change on GEdit.entry_completion according to M. Clasen.
Keeping the new type for the callback match_selected.
2008.10.05 [Benjamin]
* Change type of model contained in GEdit.entry_completion from
model to model_filter see
http://bugzilla.gnome.org/show_bug.cgi?id=555087.
2008.09.10 [Benjamin]
* Many custom tree model bugs fixed.
2008.09.04 [Benjamin]
* First attempt to support custom_tree_models in GTree.
I need some feedback on ways to improve the safety.
An example of usage is given in examples/custom_tree.ml
Part of the code comes from Robert Schneck: he agreed by private mail
on relicensing it for lablgtk2.
2008.08.20 [Jacques]
* Move model to head of properties in ComboBox
(bug reported by Pierre-Marie Pedrot)
2008.08.03 [Benjamin]
* Support for wrapped signal of GEdit.spin_button (Gtk 2.10)
2008.08.01 [Benjamin]
* Support for GtkRendererAccel of Gtk 2.10
2008.07.26 [Benjamin]
* Add a few 2.10 properties GAction.icon_name, GButton.image_position,
2008.07.25 [Olivier]
* don't use G_QUEUE_INIT (dependency on glib 2.14)
2008.07.25 [Jacques]
* Add [widget] to Gtk.file_chooser
* configure did not work on FreeBSD
2008.05.09 [Benjamin]
* Add Glib.Io.read_chars. Other g_io_* function could be added...
2008.04.14 [Olivier]
* use Gc.create_alarm to delay GObject finalization instead of an idle function
2008.03.31 [Benjamin]
* Support mingw compilation with OCaml 3.11. Still tricky...
2008.03.25 [Jacques]
* add GtkWindow properties
* add GMain.Event
* add GtkMenu.Menu.popup_at
2008.03.22 [Benjamin]
* prepare gtksourceview 2.1 support
gtkspell is not required so split it out as an option but keep it enabled by
default so there's no change in the package. Without gtkspell it removes
a whole slew of dependencies which makes this package a fair bit lighter.
Make a small change to a CONFLICTS statement to keep pkglint happy.