summaryrefslogtreecommitdiff
path: root/x11/lablgtk/patches
diff options
context:
space:
mode:
authorjaapb <jaapb>2012-09-09 18:45:44 +0000
committerjaapb <jaapb>2012-09-09 18:45:44 +0000
commitbca14fcc838ea786d3557939e89de9c06ff6062a (patch)
treea63e65b4cc1c0ed95a9d7cc12e33b874946b4e2c /x11/lablgtk/patches
parent069fd2244f1a8c9b0748930564366461f3da3bf5 (diff)
downloadpkgsrc-bca14fcc838ea786d3557939e89de9c06ff6062a.tar.gz
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)
Diffstat (limited to 'x11/lablgtk/patches')
-rw-r--r--x11/lablgtk/patches/patch-aa15
-rw-r--r--x11/lablgtk/patches/patch-src_Makefile16
2 files changed, 16 insertions, 15 deletions
diff --git a/x11/lablgtk/patches/patch-aa b/x11/lablgtk/patches/patch-aa
deleted file mode 100644
index 2bfd50653cf..00000000000
--- a/x11/lablgtk/patches/patch-aa
+++ /dev/null
@@ -1,15 +0,0 @@
-$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
diff --git a/x11/lablgtk/patches/patch-src_Makefile b/x11/lablgtk/patches/patch-src_Makefile
new file mode 100644
index 00000000000..ed8ba8fec64
--- /dev/null
+++ b/x11/lablgtk/patches/patch-src_Makefile
@@ -0,0 +1,16 @@
+$NetBSD: patch-src_Makefile,v 1.1 2012/09/09 18:45:45 jaapb Exp $
+
+Support DESTDIR when installing
+--- src/Makefile.orig 2012-08-23 10:37:48.000000000 +0000
++++ src/Makefile
+@@ -391,7 +391,9 @@ old-uninstall:
+ # Install using ocamlfind
+ findlib-install:
+ mkdir -p "$(BINDIR)"
+- ocamlfind install lablgtk2 ../META \
++ ocamlfind install -destdir ${DESTDIR}${PREFIX}/lib/ocaml/site-lib \
++ -ldconf /var/null lablgtk2 \
++ ../META \
+ build.ml \
+ $(CLIBS) \
+ $(ALLOBJS:.cmo=.cmi) $(EXTRA_OBJS:.cmo=.cmi) \