head 1.9; access; symbols pkgsrc-2013Q2:1.9.0.4 pkgsrc-2013Q2-base:1.9 pkgsrc-2012Q4:1.9.0.2 pkgsrc-2012Q4-base:1.9 pkgsrc-2012Q2:1.8.0.16 pkgsrc-2012Q2-base:1.8 pkgsrc-2012Q1:1.8.0.14 pkgsrc-2012Q1-base:1.8 pkgsrc-2011Q4:1.8.0.12 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q3:1.8.0.10 pkgsrc-2011Q3-base:1.8 pkgsrc-2011Q2:1.8.0.8 pkgsrc-2011Q2-base:1.8 pkgsrc-2011Q1:1.8.0.6 pkgsrc-2011Q1-base:1.8 pkgsrc-2010Q4:1.8.0.4 pkgsrc-2010Q4-base:1.8 pkgsrc-2010Q3:1.8.0.2 pkgsrc-2010Q3-base:1.8 pkgsrc-2010Q2:1.7.0.26 pkgsrc-2010Q2-base:1.7 pkgsrc-2010Q1:1.7.0.24 pkgsrc-2010Q1-base:1.7 pkgsrc-2009Q4:1.7.0.22 pkgsrc-2009Q4-base:1.7 pkgsrc-2009Q3:1.7.0.20 pkgsrc-2009Q3-base:1.7 pkgsrc-2009Q2:1.7.0.18 pkgsrc-2009Q2-base:1.7 pkgsrc-2009Q1:1.7.0.16 pkgsrc-2009Q1-base:1.7 pkgsrc-2008Q4:1.7.0.14 pkgsrc-2008Q4-base:1.7 pkgsrc-2008Q3:1.7.0.12 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.10 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.8 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.6 pkgsrc-2008Q1:1.7.0.4 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.7.0.2 pkgsrc-2007Q4-base:1.7 pkgsrc-2007Q3:1.6.0.2 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.5.0.18 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.16 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.14 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.12 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.10 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.8 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.5.0.6 pkgsrc-2005Q4-base:1.5 pkgsrc-2005Q3:1.5.0.4 pkgsrc-2005Q3-base:1.5 pkgsrc-2005Q2:1.5.0.2 pkgsrc-2005Q2-base:1.5 pkgsrc-2005Q1:1.4.0.2 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.3.0.8 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.3.0.6 pkgsrc-2004Q3-base:1.3 pkgsrc-2004Q2:1.3.0.4 pkgsrc-2004Q2-base:1.3 pkgsrc-2004Q1:1.3.0.2 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.2.0.4 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.2.0.2 netbsd-1-6-1-base:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.9 date 2012.09.09.18.45.45; author jaapb; state dead; branches; next 1.8; 1.8 date 2010.08.28.16.13.25; author wiz; state Exp; branches; next 1.7; 1.7 date 2007.10.27.13.29.38; author wiz; state Exp; branches; next 1.6; 1.6 date 2007.09.21.13.00.54; author wiz; state Exp; branches; next 1.5; 1.5 date 2005.06.16.13.09.34; author hira; state Exp; branches; next 1.4; 1.4 date 2005.02.09.15.22.30; author dillo; state Exp; branches; next 1.3; 1.3 date 2004.03.04.16.13.36; author wiz; state Exp; branches; next 1.2; 1.2 date 2003.01.19.10.59.02; author salo; state Exp; branches; next 1.1; 1.1 date 2002.10.16.16.40.26; author dillo; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.10.16.16.40.26; author dillo; state Exp; branches; next ; desc @@ 1.9 log @Updated to version 2.16.0. Changed maintainer from pkgsrc-users@@ to myself. 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) @ text @$NetBSD: patch-aa,v 1.8 2010/08/28 16:13:25 wiz Exp $ --- src/Makefile.orig 2010-05-20 07:55:54.000000000 +0000 +++ src/Makefile @@@@ -345,9 +345,7 @@@@ install: if test $(THREADS_LIB) != no; \ then cp $(ALLTHOBJS:.cmo=.cmi) "$(INSTALLDIR)"; \ fi - if test $(THREADS_LIB) = vm || test $(HAS_DLL_SUPPORT) != yes; \ - then cp lablgtktop$(XE) "$(INSTALLDIR)"; \ - fi + cp lablgtktop$(XE) "$(INSTALLDIR)" cp -p *.h "$(INSTALLDIR)" @@if test -f lablgtk.cmxa; then $(MAKE) installopt; fi @@if test -f dlllablgtk2$(XS); then $(MAKE) installdll; fi @ 1.8 log @Update to 2.14.1, with additional patches from upstream to build with 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 @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.7 2007/10/27 13:29:38 wiz Exp $ @ 1.7 log @Update to 2.10.0: 2007.09.25 [Jacques] * Various preparations for release. * Use the "Glade for Windows" distribution for win32, supporting glade and rsvg. 2007.08.17 [Jacques] * some more patch by Julien Moutinho (style and Rc). * do not set LC_NUMERIC to C (ocaml is now ok) (Volker Grabsch). * avoid some warnings in ml_gdkpixbuf and ml_glib. 2007.08.09 [Benjamin] * GtkImage : clear support 2007.08.08 [Benjamin] * Fix typo in property "wrap-license" (was "wrap-licence") of GtkAboutDialog * Add GtkFileChooser "do-confirm-overwrite" property support and "confirm-overwrite" signal * GWindow "urgency-hint" property support 2007.08.07 [Benjamin] * Add Glib.usleep * Add Stock icons for Gtk 2.10 and 2.8 * Add has_selection and cursor_position properties in GText.buffer 2007.08.06 [Benjamin] * Add support for GtkAssistant of Gtk 2.10 2007.06.18 [Jacques] * merge patches by Julien Moutinho for GdkDisplay and gtk_tree_view_get_cell_area. 2007.06.08 [Benjamin] * Add support for gtk_link_button 2007.06.07 [Benjamin] * gtksourceview support 2007.05.27 [Benjamin] * fixed bug in GWindow.about_dialog whose callbacks raised an uncaught Not_found. The default Close button now responds `CANCEL and not `CLOSE. 2006.11.19 [Olivier] * add some missing properties in GtkIconView (in module GTree) (2.6) * add some missing properties in GtkButton (2.4, 2.6) 2006.11.03 [Olivier] * move GtkSocket code from ml_gtkbin.c to ml_gtk.c since it is wrapped in GWindow. 2006.10.27 [Jacques] * add Gdk.Cursor.get_image * remove Gdk.Cursor.destroy (could be dangerous) * add new methods to GData.clipboard (partly from SooHyoung Oh) 2006.10.13 [Jacques] * add GDraw.drawable#colormap,gc,set_gc 2006.09.15 [Olivier] * wrap GtkMenuToolButton (2.6) In lablgtk2-20060908: 2006.08.08 [RobertR] * export copy_memblock_indirected and ml_lookup_flags_getter for Windows 2006.07.06 [Jacques] * make ABSVALUE=1 to use a custom mlvalues.h where value is abstract 2006.05.13 [Jacques] * delay finalization functions when they may trigger a callback 2006.02.03 [Jacques] * add GLayout#bin_window 2005.12.19 [Jacques] * lablgladecc : apply Keita Yamaguchi's patch 2005.12.02 [Benjalin] * lablgladecc : support for GtkAboutDialog 2005.11.10 [Olivier] * wrap gtk_tree_view_expand_to_path (2.2) 2005.11.03 [Benjamin] * lablgladecc : emit w#toplevel#misc#show_all instead of w#toplevel#show in check_all, because some toplevel widgets (gMenu for example) do not have a show method 2005.10.28 [Jacques] * add windows support for rsvg @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/Makefile.orig 2007-09-25 10:56:49.000000000 +0000 d5 5 a9 5 @@@@ -285,9 +285,7 @@@@ install: cp $(CLIBS) "$(INSTALLDIR)" cd "$(INSTALLDIR)" && $(RANLIB) $(CLIBS) cp varcc$(XE) propcc$(XE) "$(INSTALLDIR)" - if test $(THREADS_LIB) != system || test $(HAS_DLL_SUPPORT) != yes; \ @ 1.6 log @Rename lablgtk to lablgtk1 and lablgtk2 to lablgtk. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2005/12/02 21:19:06 joerg Exp $ d3 1 a3 1 --- src/Makefile.orig 2005-10-17 13:52:03.000000000 +0200 d5 1 a5 10 @@@@ -220,7 +220,7 @@@@ build.ml: Makefile $(CONFIG) build.ml.in -e "s|@@GTKLIBS@@|$(GTKLIBS)|" < build.ml.in > $@@ gdk-pixbuf-mlsource$(XE) : lablgtk.cma gtkInit.cmo gdk-pixbuf-mlsource.ml - $(CAMLC) -o $@@ $^ + $(CAMLC) -I . -o $@@ $^ lablgtkopt:: $(MLLIBS:.cma=.cmxa) $(INITOBJS:.cmo=.cmx) ifeq ($(THREADS_LIB),system) @@@@ -254,9 +254,7 @@@@ install: @ 1.5 log @ Add missing RCS Id tag to patch-aa. @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- src/Makefile.orig 2003-05-15 16:17:53.000000000 +0200 d5 2 a6 2 @@@@ -137,32 +137,39 @@@@ testcc: lablgladecc lablgtktop rm -f testcc.ml d8 3 a10 35 install: - if test -d $(INSTALLDIR); then : ; else mkdir -p $(INSTALLDIR); fi - cp $(ALLOBJS:.cmo=.cmi) $(THOBJS:.cmo=.cmi) $(INSTALLDIR) - cp -p *.mli $(INSTALLDIR) - cp -p $(ALLOBJS:.cmo=.ml) $(ALLTHOBJS:.cmo=.ml) $(INSTALLDIR) - cp $(MLLIBS) $(THOBJS) $(INITOBJS) $(THINITOBJS) $(INSTALLDIR) - cp $(CLIBS) $(INSTALLDIR) - cd $(INSTALLDIR) && $(RANLIB) $(CLIBS) - cp lablgtktop varcc $(INSTALLDIR) - if test -f lablgtktop_t; then cp lablgtktop_t $(INSTALLDIR); fi - cp -p *.h $(INSTALLDIR) + if test -d $(INSTALLDIR); then : ; else ${BSD_INSTALL_DATA_DIR} ${INSTALLDIR}; fi + for F in $(ALLOBJS:.cmo=.cmi) $(THOBJS:.cmo=.cmi) *.mli \ + $(ALLOBJS:.cmo=.ml) $(ALLTHOBJS:.cmo=.ml) \ + $(MLLIBS) $(THOBJS) $(INITOBJS) $(THINITOBJS) $(CLIBS) *.h; \ + do \ + ${BSD_INSTALL_DATA} $$F ${INSTALLDIR}; \ + done + ${BSD_INSTALL_SCRIPT} lablgtktop $(INSTALLDIR) + ${BSD_INSTALL_SCRIPT} varcc $(INSTALLDIR) + if test -f lablgtktop_t; then ${BSD_INSTALL_SCRIPT} lablgtktop_t $(INSTALLDIR); fi if test -f lablgtk.cmxa; then $(MAKE) installopt; fi + ${BSD_INSTALL_DATA_DIR} $(DLLDIR) if test -f dlllablgtk.so; then \ - if test -d $(DLLDIR); then : ; else mkdir -p $(DLLDIR); fi; \ - cp $(CLIBS:lib%.a=dll%.so) $(DLLDIR) || \ - echo "Couldn't install dlls in default location"; \ + for F in $(CLIBS:lib%.a=dll%.so); \ + do \ + ${BSD_INSTALL_DATA} $$F $(DLLDIR); \ + done; \ fi - cp lablgtk $(BINDIR) + ${BSD_INSTALL_SCRIPT} lablgtk $(BINDIR) if test -f lablgladecc; then cp lablgladecc $(BINDIR); fi d12 13 a24 20 installopt: - cp $(MLLIBS:.cma=.cmxa) $(MLLIBS:.cma=.a) $(INSTALLDIR) - cd $(INSTALLDIR) && $(RANLIB) $(MLLIBS:.cma=.a) - cp $(ALLOBJS:.cmo=.cmx) $(INSTALLDIR) - cp $(INITOBJS:.cmo=.o) $(INSTALLDIR) + for F in $(MLLIBS:.cma=.cmxa) $(MLLIBS:.cma=.a) \ + $(ALLOBJS:.cmo=.cmx) $(INITOBJS:.cmo=.o); \ + do \ + ${BSD_INSTALL_DATA} $$F $(INSTALLDIR); \ + done if test -f gtkThread.cmx; then \ - cp $(THOBJS:.cmo=.cmx) $(THOBJS:.cmo=.o) $(INSTALLDIR); fi + for F in $(THOBJS:.cmo=.cmx) $(THOBJS:.cmo=.o); \ + do \ + ${BSD_INSTALL_DATA} $$F $(INSTALLDIR); \ + done; \ + fi liblablgtk.a: $(COBJS) $(LIBRARIAN) -o lablgtk $(COBJS) $(GTKLIBS) @ 1.4 log @Commit patch from PR 29219 (Linux install fix), untested as I have no Linux withpkgsrc. @ text @d1 2 @ 1.3 log @Update lablgtk to 1.2.6: * fixed a problem of SpinButton.get_value_as_int for the case of the value is minus' src/gtkEdit.ml (Jun Furuse) * ocamllex is abstracted by CAMLLEX in Makefiles (Jun Furuse) * more parametrizations in config.make.nt (Jun) * added the selection method to clist. (Jun) * Glib.Io.add_watch returns event source, so that we can remove it later (J) * added Glib.Io.read (J) * added a new module Gdk.Input (J) * various improvements to GtkText (Antoine Mine) * fix Glib.IO (Henri Dubois-Ferriere) * fixes in ml_gdk.c: win32 and ClientData * GtkThread.main switches GtkMain.Main.main to call GtkThread.thread_main * added GList.clist#get_row_state and GWindow.file_selection#file_list (by Francois Pessaux) * added META (by Stefano Zacchiroli) * fixed applications/camlirc (Tim Freeman) * add gdk_property_* * fix GdkPixbuf.create_pixmap * add GdkEventClient (requested by Didier le Botlan) * add Gdk.Window.get_pointer_location (Tim Freeman) @ text @d1 1 a1 3 $NetBSD$ --- src/Makefile.orig Thu May 15 16:17:53 2003 d24 1 a24 1 + ${BSD_INSTALL_PROGRAM} lablgtktop $(INSTALLDIR) d26 1 a26 1 + if test -f lablgtktop_t; then ${BSD_INSTALL_PROGRAM} lablgtktop_t $(INSTALLDIR); fi @ 1.2 log @s/INSTALL_*/BSD_INSTALL_*/ in patch-aa, remove unnecessary MAKE_ENV. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1.1.1 2002/10/16 16:40:26 dillo Exp $ d3 1 a3 1 --- src/Makefile.orig Fri Aug 9 02:27:19 2002 d5 1 a5 1 @@@@ -136,31 +136,38 @@@@ testcc: lablgladecc lablgtktop d30 1 d32 1 @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d19 1 a19 1 + if test -d $(INSTALLDIR); then : ; else ${INSTALL_DATA_DIR} ${INSTALLDIR}; fi d24 1 a24 1 + ${INSTALL_DATA} $$F ${INSTALLDIR}; \ d26 3 a28 3 + ${INSTALL_PROGRAM} lablgtktop $(INSTALLDIR) + ${INSTALL_SCRIPT} varcc $(INSTALLDIR) + if test -f lablgtktop_t; then ${INSTALL_PROGRAM} lablgtktop_t $(INSTALLDIR); fi d35 1 a35 1 + ${INSTALL_DATA} $$F $(DLLDIR); \ d39 1 a39 1 + ${INSTALL_SCRIPT} lablgtk $(BINDIR) d50 1 a50 1 + ${INSTALL_DATA} $$F $(INSTALLDIR); \ d56 1 a56 1 + ${INSTALL_DATA} $$F $(INSTALLDIR); \ @ 1.1.1.1 log @initial import of lablgtk 1.2.5 LablGTK is is an Objective Caml interface to gtk+. @ text @@