+lablgtksourceview (0.0.1-2) unstable; urgency=low
+
+ * rebuilt with ocaml 3.09
+ * debian/*
+ - no longer hard coding of ocaml abi version anywhere
+
+ -- Stefano Zacchiroli <zack@debian.org> Wed, 23 Nov 2005 10:23:24 +0000
+
lablgtksourceview (0.0.1-1) unstable; urgency=low
* Initial release (closes: bug#320716).
Section: devel
Priority: optional
Maintainer: Stefano Zacchiroli <zack@debian.org>
-Build-Depends: debhelper (>= 4.1.0), cdbs, ocaml-findlib, ocaml-nox-3.08.3, liblablgtk2-ocaml-dev (>= 2.4.0+2005.06.13-1), libgtksourceview-dev (>= 1.2.0)
+Build-Depends: debhelper (>= 4.1.0), cdbs, ocaml-findlib, ocaml-nox (>= 3.09.0), liblablgtk2-ocaml-dev (>= 2.6.0), libgtksourceview-dev (>= 1.2.0)
Standards-Version: 3.6.2
Package: liblablgtksourceview-ocaml-dev
Architecture: any
Section: libdevel
-Depends: ocaml-nox-3.08.3, ocaml-findlib, liblablgtksourceview-ocaml (= ${Source-Version}), liblablgtk2-ocaml-dev (>= 2.4.0+2005.06.13-1), libgtksourceview-dev (>= 1.2.0), ${misc:Depends}
+Depends: ocaml-nox-${F:OCamlABI}, ocaml-findlib, liblablgtksourceview-ocaml (= ${Source-Version}), liblablgtk2-ocaml-dev (>= 2.6.0), libgtksourceview-dev (>= 1.2.0), ${misc:Depends}
Description: OCaml bindings for libgtksourceview, a source editor GTK widget
This is the OCaml binding for the GtkSourceView widget, a text widget that
extends the standard gtk+ 2.x text widget with syntax highlighting and other
Package: liblablgtksourceview-ocaml
Architecture: any
Section: libs
-Depends: ocaml-base-nox-3.08.3, liblablgtk2-ocaml (>= 2.4.0+2005.06.13-1), ${shlibs:Depends}, ${misc:Depends}
+Depends: ocaml-base-nox-${F:OCamlABI}, liblablgtk2-ocaml (>= 2.6.0), ${shlibs:Depends}, ${misc:Depends}
Description: OCaml bindings for libgtksourceview, a source editor GTK widget
This is the OCaml binding for the GtkSourceView widget, a text widget that
extends the standard gtk+ 2.x text widget with syntax highlighting and other
--- /dev/null
+Source: lablgtksourceview
+Section: devel
+Priority: optional
+Maintainer: Stefano Zacchiroli <zack@debian.org>
+Build-Depends: debhelper (>= 4.1.0), cdbs, ocaml-findlib, ocaml-nox (>= @OCamlABI@), liblablgtk2-ocaml-dev (>= 2.6.0), libgtksourceview-dev (>= 1.2.0)
+Standards-Version: 3.6.2
+
+Package: liblablgtksourceview-ocaml-dev
+Architecture: any
+Section: libdevel
+Depends: ocaml-nox-${F:OCamlABI}, ocaml-findlib, liblablgtksourceview-ocaml (= ${Source-Version}), liblablgtk2-ocaml-dev (>= 2.6.0), libgtksourceview-dev (>= 1.2.0), ${misc:Depends}
+Description: OCaml bindings for libgtksourceview, a source editor GTK widget
+ This is the OCaml binding for the GtkSourceView widget, a text widget that
+ extends the standard gtk+ 2.x text widget with syntax highlighting and other
+ features typical of a source editor.
+ .
+ This package contains the development part of the lablgtksourceview package.
+
+Package: liblablgtksourceview-ocaml
+Architecture: any
+Section: libs
+Depends: ocaml-base-nox-${F:OCamlABI}, liblablgtk2-ocaml (>= 2.6.0), ${shlibs:Depends}, ${misc:Depends}
+Description: OCaml bindings for libgtksourceview, a source editor GTK widget
+ This is the OCaml binding for the GtkSourceView widget, a text widget that
+ extends the standard gtk+ 2.x text widget with syntax highlighting and other
+ features typical of a source editor.
+ .
+ This package contains the shared runtime stub libraries.
+
-debian/tmp/lablgtksourceview/*.a usr/lib/ocaml/3.08.3/lablgtksourceview/
-debian/tmp/lablgtksourceview/*.cma usr/lib/ocaml/3.08.3/lablgtksourceview/
-debian/tmp/lablgtksourceview/*.cmi usr/lib/ocaml/3.08.3/lablgtksourceview/
-debian/tmp/lablgtksourceview/*.cmxa usr/lib/ocaml/3.08.3/lablgtksourceview/
-debian/tmp/lablgtksourceview/META usr/lib/ocaml/3.08.3/lablgtksourceview/
-debian/tmp/lablgtksourceview/*.mli usr/lib/ocaml/3.08.3/lablgtksourceview/
-debian/tmp/lablgtksourceview/*.o usr/lib/ocaml/3.08.3/lablgtksourceview/
+debian/tmp/lablgtksourceview/*.a usr/lib/ocaml/3.09.0/lablgtksourceview/
+debian/tmp/lablgtksourceview/*.cma usr/lib/ocaml/3.09.0/lablgtksourceview/
+debian/tmp/lablgtksourceview/*.cmi usr/lib/ocaml/3.09.0/lablgtksourceview/
+debian/tmp/lablgtksourceview/*.cmxa usr/lib/ocaml/3.09.0/lablgtksourceview/
+debian/tmp/lablgtksourceview/META usr/lib/ocaml/3.09.0/lablgtksourceview/
+debian/tmp/lablgtksourceview/*.mli usr/lib/ocaml/3.09.0/lablgtksourceview/
+debian/tmp/lablgtksourceview/*.o usr/lib/ocaml/3.09.0/lablgtksourceview/
--- /dev/null
+debian/tmp/lablgtksourceview/*.a usr/lib/ocaml/@OCamlABI@/lablgtksourceview/
+debian/tmp/lablgtksourceview/*.cma usr/lib/ocaml/@OCamlABI@/lablgtksourceview/
+debian/tmp/lablgtksourceview/*.cmi usr/lib/ocaml/@OCamlABI@/lablgtksourceview/
+debian/tmp/lablgtksourceview/*.cmxa usr/lib/ocaml/@OCamlABI@/lablgtksourceview/
+debian/tmp/lablgtksourceview/META usr/lib/ocaml/@OCamlABI@/lablgtksourceview/
+debian/tmp/lablgtksourceview/*.mli usr/lib/ocaml/@OCamlABI@/lablgtksourceview/
+debian/tmp/lablgtksourceview/*.o usr/lib/ocaml/@OCamlABI@/lablgtksourceview/
-debian/tmp/lablgtksourceview/*.so usr/lib/ocaml/3.08.3/stublibs/
+debian/tmp/lablgtksourceview/*.so usr/lib/ocaml/3.09.0/stublibs/
--- /dev/null
+debian/tmp/lablgtksourceview/*.so usr/lib/ocaml/@OCamlABI@/stublibs/
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/autotools.mk
+
+OCAMLABI := $(shell ocamlc -version)
+OFILES := $(patsubst %.in,%,$(shell ls debian/*.in))
+DEB_DH_GENCONTROL_ARGS = -- -VF:OCamlABI="$(OCAMLABI)"
+
+ocamlinit:
+ for f in $(OFILES); do sed -e 's/@OCamlABI@/$(OCAMLABI)/g' $$f.in > $$f; done