debian/0000755000000000000000000000000012247304202007162 5ustar debian/libsdl-ocaml.docs0000644000000000000000000000000712174030161012372 0ustar README debian/control0000644000000000000000000000356212174030313010571 0ustar Source: ocamlsdl Section: ocaml Priority: optional Maintainer: Debian OCaml Maintainers Uploaders: Samuel Mimram , Stéphane Glondu Build-Depends: debhelper (>= 8), dh-ocaml (>= 0.9.1), ocaml-nox (>= 4), libpng-dev, libsdl1.2-dev, libsdl-mixer1.2-dev, libsdl-image1.2-dev, libsdl-ttf2.0-dev, libsdl-gfx1.2-dev, liblablgl-ocaml-dev (>= 1.04), ocaml-findlib (>= 1.2.4) Standards-Version: 3.9.3 Homepage: http://ocamlsdl.sourceforge.net Vcs-Git: git://anonscm.debian.org/pkg-ocaml-maint/packages/ocamlsdl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ocaml-maint/packages/ocamlsdl.git Package: libsdl-ocaml-dev Architecture: any Depends: libsdl1.2-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev, libsdl-ttf2.0-dev, libsdl-gfx1.2-dev, ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Suggests: ocaml-findlib Description: OCaml bindings for SDL - development files SDL (Simple DirectMedia Layer) is a generic API that provides low level access to audio, keyboard, mouse, and display framebuffer across multiple platforms. OCamlSDL is an OCaml interface to SDL that might be used to write multimedia applications in Objective Caml. . This package contains development files for OCamlSDL application writers. Package: libsdl-ocaml Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Description: OCaml bindings for SDL - runtime files SDL (Simple DirectMedia Layer) is a generic API that provides low level access to audio, keyboard, mouse, and display framebuffer across multiple platforms. OCamlSDL is an OCaml interface to the SDL and might be used to write multimedia applications in Objective Caml. . This package contains runtime libraries needed for running dynamic bytecode executables. debian/source/0000755000000000000000000000000012174030161010461 5ustar debian/source/format0000644000000000000000000000001412174030161011667 0ustar 3.0 (quilt) debian/libsdl-ocaml-dev.dirs.in0000644000000000000000000000007112174030161013565 0ustar @OCamlStdlibDir@/sdl usr/share/doc/libsdl-ocaml-dev/html debian/copyright0000644000000000000000000000155512174030161011122 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Packaged-By: Jérôme Marant Packaged-Date: Sat, 20 Apr 2002 22:42:47 +0200 Files: * Copyright: 2002-2012 Olivier Andrieu and others License: LGPL-2 This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. . On Debian systems, the complete text of the GNU Lesser General Public License can be found in /usr/share/common-licenses/LGPL-2. debian/libsdl-ocaml-dev.docs0000644000000000000000000000002012174030161013141 0ustar doc/html README debian/watch0000644000000000000000000000007112174030161010210 0ustar version=3 http://sf.net/ocamlsdl/ocamlsdl-(.*)\.tar\.gz debian/compat0000644000000000000000000000000212174030161010357 0ustar 8 debian/libsdl-ocaml.dirs0000644000000000000000000000000012174030161012374 0ustar debian/rules0000755000000000000000000000240312174030161010240 0ustar #!/usr/bin/make -f # -*- makefile -*- include /usr/share/ocaml/ocamlvars.mk # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) CFLAGS += -g endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif DESTDIR=$(CURDIR)/debian/tmp/$(OCAML_STDLIB_DIR) OCAMLSDL=$(CURDIR)/debian/libsdl-ocaml OCAMLSDLDEV=$(OCAMLSDL)-dev %: dh $@ --with ocaml .PHONY: override_dh_auto_configure override_dh_auto_configure: ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info .PHONY: override_dh_auto_clean override_dh_auto_clean: [ ! -f makefile.config.gcc ] || $(MAKE) clean rm -f config.log config.status rm -f makefile.config.gcc src/config.h .PHONY: override_dh_auto_install override_dh_auto_install: mkdir -p $(DESTDIR) $(MAKE) install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore .PHONY: override_dh_installchangelogs override_dh_installchangelogs: dh_installchangelogs NEWS debian/libsdl-ocaml-dev.doc-base0000644000000000000000000000051012174030161013672 0ustar Document: libsdl-ocaml-dev Title: OCamlSDL Reference Manual Author: Olivier Andrieu, Frederic Brunel, Luc Mazardo, Sami Mäkelä Abstract: Documentation for the SDL OCaml bindings. Section: Programming/OCaml Format: HTML Index: /usr/share/doc/libsdl-ocaml-dev/html/index.html Files: /usr/share/doc/libsdl-ocaml-dev/html/*.html debian/gbp.conf0000644000000000000000000000003612174030161010577 0ustar [DEFAULT] pristine-tar = True debian/clean0000644000000000000000000000002712174030161010165 0ustar META makefile.platform debian/changelog0000644000000000000000000002546112247303573011056 0ustar ocamlsdl (0.9.1-2) unstable; urgency=low * Upload to unstable -- Stéphane Glondu Tue, 03 Dec 2013 08:25:47 +0100 ocamlsdl (0.9.1-1) experimental; urgency=low [ Sylvain Le Gall ] * Remove Sylvain Le Gall from uploaders [ Stéphane Glondu ] * New upstream release * Update Vcs-* * Compile with OCaml >= 4 -- Stéphane Glondu Wed, 24 Jul 2013 21:54:08 +0200 ocamlsdl (0.9.0-1) unstable; urgency=low * New upstream release (Closes: #667447) * Switch debian/copyright to format 1.0 * Bump Standards-Version to 3.9.3 -- Stéphane Glondu Mon, 18 Jun 2012 12:06:00 +0200 ocamlsdl (0.8.0-4) unstable; urgency=low * Build-Depend on libpng-dev instead of libpng12-dev (Closes: #662449) -- Stéphane Glondu Mon, 05 Mar 2012 21:25:32 +0100 ocamlsdl (0.8.0-3) unstable; urgency=low * Add dependency to libsdl-gfx1.2-dev (Closes: #638014) * Bump debhelper compat to 8, rewrite debian/rules using overrides * Bump Standards-Version to 3.9.2 (no changes) -- Stéphane Glondu Thu, 18 Aug 2011 22:10:37 +0200 ocamlsdl (0.8.0-2) unstable; urgency=low * Add 0001-Fix-build-on-bytecode-architectures.patch (Closes: #586619) -- Stéphane Glondu Mon, 21 Jun 2010 14:00:38 -0700 ocamlsdl (0.8.0-1) unstable; urgency=low * New upstream release - remove all patches * debian/control: - add myself to Uploaders - bump Standards-Version to 3.8.4 (no changes) * Switch source package format to 3.0 (quilt) -- Stéphane Glondu Sat, 19 Jun 2010 22:00:20 -0700 ocamlsdl (0.7.2-11) unstable; urgency=low * Use dh-ocaml 0.9.1 features * Upgrade Standards-Version to 3.8.3 (section ocaml, README.source) * Add a patch to update config.{sub|guess} (Closes: #549998) -- Sylvain Le Gall Thu, 17 Dec 2009 22:10:54 +0000 ocamlsdl (0.7.2-10) unstable; urgency=low * Rebuild with OCaml 3.11. * Add Homepage field. -- Samuel Mimram Sun, 01 Mar 2009 21:18:38 +0100 ocamlsdl (0.7.2-9) experimental; urgency=low * Switch packaging to git. * Use predefined dh-ocaml variables. * Update standards version to 3.8.0. * Update compat to 7. -- Samuel Mimram Thu, 19 Feb 2009 18:56:07 +0100 ocamlsdl (0.7.2-8) unstable; urgency=low [ Stefano Zacchiroli ] * fix vcs-svn field to point just above the debian/ dir [ Julien Cristau ] * Add missing dependencies of libsdl-ocaml-dev on the packages providing the various SDL libraries (closes: #471659). [ Ralf Treinen ] * Changed doc-base section to Programming/OCaml [ Samuel Mimram ] * Remove bashism from rules, closes: #484425. * Updated standards version to 3.7.3. * Remove empty /usr/share/lintian/overrides directories. * Convert copyright and doc-base files in utf8. * Updated copyright file. -- Samuel Mimram Mon, 09 Jun 2008 00:24:20 +0200 ocamlsdl (0.7.2-7) unstable; urgency=low * Rebuild with OCaml 3.10. * It is not necessary anymore to remove rpath. -- Samuel Mimram Sat, 08 Sep 2007 01:19:06 +0200 ocamlsdl (0.7.2-6) unstable; urgency=low * Rebuild with OCaml 3.09.2. * Updated standards version to 3.7.2, no changes needed. -- Samuel Mimram Thu, 18 May 2006 22:50:09 +0000 ocamlsdl (0.7.2-5) unstable; urgency=low * Rebuild with OCaml 3.09.1. -- Samuel Mimram Sun, 8 Jan 2006 18:49:57 +0100 ocamlsdl (0.7.2-4) unstable; urgency=low * Added forgotten dependency on ocaml-findlib. * Using chrpath to remove rpaths. * Removed lintian overrides. -- Samuel Mimram Wed, 23 Nov 2005 21:22:27 +0100 ocamlsdl (0.7.2-3) unstable; urgency=low * New maintainer. * Updated package to OCaml 3.09.0. * No longer hardcoding OCaml's ABI in the package. * No longer build-conflicting with ocaml-findlib. * Updated watch file. * Updated standards version to 3.6.2, no changes needed. -- Samuel Mimram Tue, 22 Nov 2005 21:39:25 +0100 ocamlsdl (0.7.2-2) unstable; urgency=low * debian/libsdl-ocaml-dev.doc-base: move documentation from `Devel' to `Apps/Programming' section. Closes: Bug#311121. -- Jerome Marant Sat, 4 Jun 2005 12:15:52 +0200 ocamlsdl (0.7.2-1) unstable; urgency=low * New upstream release. * Built against ocaml 3.08.3. Closes: Bug#304166. * debian/control: - Changed ocaml build-dependency to ocaml-3.08.3. - [libsdl-ocaml-dev]: changed ocaml dependency to ocaml-nox-3.08.3. - [libsdl-ocaml]: changed ocaml dependency to ocaml-base-nox-3.08.3. * debian/libsdl-ocaml{,-dev}.overrides: updated with respect to ocaml 3.08.3. * debian/patches/sdltimer-delay-fix.dpatch: new patch from upstream fixing a crash in Sdltimer.delay. -- Jerome Marant Tue, 12 Apr 2005 21:51:25 +0200 ocamlsdl (0.7.1-2) unstable; urgency=medium * debian/samples: removed examples since they are no longer provided upstream and of a too low quality. * debian/rules: - Removed installation of examples. - Install META file from the upstream tarball rather than the one we have provided so far. * debian/control: got rid of sharutils build-dependency. -- Jerome Marant Tue, 3 Aug 2004 22:53:02 +0200 ocamlsdl (0.7.1-1) unstable; urgency=low * New upstream release. * Built against ocaml 3.08.0. * debian/control: - Bumped Standards-Version to 3.6.1.1. - Changed liblablgl build-dependency version to >= 1.01-1. - Changed ocaml build-dependency to ocaml-3.08. - Build conflict on ocaml-findlib: findlib really makes a hard time to install libraries, better use the traditional way. - Added build-dependency on dpatch. - [libsdl-ocaml-dev]: changed ocaml dependency to ocaml-nox-3.08. - [libsdl-ocaml]: changed ocaml dependency to ocaml-base-nox-3.08. - Added build-dependency on sharutils since we need uudecode for images and fonts from imported samples. * debian/libsdl-ocaml{,-dev}.overrides: updated with respect to ocaml 3.08.0. * debian/libsdl-ocaml.files: likewise. * debian/META: likewise. * debian/rules.patch: removed since we use dpatch now. * debian/samples: imported samples from the previous upstream release since they are no longer distributed in upstream tarballs. -- Jerome Marant Wed, 28 Jul 2004 22:47:39 +0200 ocamlsdl (0.6.3-2) unstable; urgency=low * Rebuilt against ocaml 3.07. * debian/control: - Bumped Standards-Version to 3.6.1. - Changed binary dependencies and build dependencies with respect to ocaml 3.07. * debian/*.overrides: updated with respect to ocaml 3.07. * debian/libsdl-ocaml.files: likewise. -- Jerome Marant Sat, 4 Oct 2003 14:56:56 +0200 ocamlsdl (0.6.3-1) unstable; urgency=low * New upstream version. * support/config.{guess,sub}: updated from latest autotools-dev. * debian/control: - Bumped Standards-Version to 3.5.9. - Changed libsdl-ocaml-dev section from devel to libdevel. - Changed libpng3-dev build dependency to libpng12-dev. -- Jerome Marant Fri, 25 Apr 2003 20:22:14 +0200 ocamlsdl (0.6.2-1) unstable; urgency=low * New upstream release. * support/config.{guess,sub}: updated from latest autotools-dev. -- Jerome Marant Wed, 12 Mar 2003 22:03:36 +0100 ocamlsdl (0.6.1-4) unstable; urgency=low * debian/control: replaced libsdl-ttf1.2-dev with libsdl-ttf2.0-dev. -- Jerome Marant Thu, 6 Mar 2003 21:48:18 +0100 ocamlsdl (0.6.1-3) unstable; urgency=low * support/config.{guess,sub}: updated from latest autotools-dev. Closes: Bug#176394. * Reran aclocal -I support; autoconf. -- Jerome Marant Sat, 18 Jan 2003 13:44:32 +0100 ocamlsdl (0.6.1-2) unstable; urgency=low * support/config.{guess,sub}: updated with files from autotools-dev in order to add support for s390. Closes: Bug#176394. * Reran aclocal -I support; autoconf. -- Jerome Marant Sat, 11 Jan 2003 15:39:39 +0100 ocamlsdl (0.6.1-1) unstable; urgency=low * New upstream release. * debian/control: added liblablgl-ocaml-dev to build dependencies. * debian/extra/Makefile.samples: updated with respect to new samples. -- Jerome Marant Thu, 9 Jan 2003 23:28:11 +0100 ocamlsdl (0.6-3) unstable; urgency=low * debian/control: - Bumped Standards-Version to 3.5.8. - Bumped ocaml build dependency to ocaml-3.06-1 and standard dependencies to ocaml{, base}-3.06-1. * debian/rules: use `ocaml -where' to determine the library directory. Libraires are now installed in /usr/lib/ocaml/3.06 with respect to changes in the OCaml policy. * debian/libsdl-ocaml{, -dev}.overrides: updated with respect to new library directory. * debian/libsdl-ocaml{, -dev}.dirs: removed entries for library directories since those entries are provided by upstream makefiles. * libsdl-ocaml.files: updated with respect to libdir transition. -- Jerome Marant Mon, 16 Dec 2002 21:04:00 +0100 ocamlsdl (0.6-2) unstable; urgency=low * Applied upstream patch from Olivier Andrieu fixing a bug which prevents ocamlsdl to be built on architectures with no ocamlopt available. Closes: Bug#167981. * Reran aclocal -I support; autoconf. -- Jerome Marant Thu, 7 Nov 2002 22:56:38 +0100 ocamlsdl (0.6-1) unstable; urgency=low * New upstream release. * debian/control: bumped Standards-Version to 3.5.7. * debian/extra/META: updated to latest release. -- Jerome Marant Tue, 05 Nov 2002 22:33:03 +0100 ocamlsdl (0.5.0+cvs.20020724-2) unstable; urgency=low * Recompiled against ocaml 3.06. Closes: Bug#155474, Bug#157275. * debian/control: - Bumped Standards-Version to 3.5.6.1. - Updated dependencies and build-dependencies with respect to new OCaml policy. - Changed Debhelper build-dependency to greater that 4.0.0. * debian/rules: - Made use of Debhelper 4. - Removed call to dh_ocamlld which is no longer necessary. -- Jerome Marant Sat, 24 Aug 2002 14:54:08 +0200 ocamlsdl (0.5.0+cvs.20020724-1) unstable; urgency=low * New upstream CVS snapshot. * Upstream fix: do not build the native version of the library on architectures for which ocamlopt is not available. Closes: Bug#150924. * debian/control: added build-dependency on libpng3-dev. * Rebuilt against libpng3 because libsdl-image1.2 is now built against that version of libpng. -- Jerome Marant Wed, 24 Jul 2002 21:00:14 +0200 ocamlsdl (0.5.0+cvs.20020616-1) unstable; urgency=low * Initial Release. Closes: Bug#144707. -- Jerome Marant Sun, 16 Jun 2002 12:28:19 +0200 debian/libsdl-ocaml.install.in0000644000000000000000000000005012174030161013513 0ustar @OCamlStdlibDir@/sdl/*.so @OCamlDllDir@ debian/patches/0000755000000000000000000000000012174030161010610 5ustar debian/patches/series0000644000000000000000000000005712174030161012027 0ustar 0001-Fix-build-on-bytecode-architectures.patch debian/patches/0001-Fix-build-on-bytecode-architectures.patch0000644000000000000000000000207212174030161021104 0ustar From: Stephane Glondu Date: Mon, 21 Jun 2010 13:54:48 -0700 Subject: Fix build on bytecode architectures Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586619 Signed-off-by: Stephane Glondu --- src/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 3f53e3d..e1f77e1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -17,7 +17,7 @@ gfx_MODULES = sdlgfx TARGETS = sdl.cma $(patsubst %,sdl%.cma,$(PARTS)) TARGETS += libsdlstub.$(A) $(patsubst %,libsdl%stub.$(A),$(PARTS)) -ifdef OCAMLOPT +ifneq ($(OCAMLOPT),no) TARGETS += sdl.cmxa $(patsubst %,sdl%.cmxa,$(PARTS)) endif @@ -87,7 +87,7 @@ ifdef OCAMLFIND install-findlib : $(OCAMLFIND) install sdl ../META \ *.cma lib*.$(A) *.cmi *.mli \ - $(if $(OCAMLOPT),*.cmxa sdl*.$(A) *.cmx) \ + $(if $(filter-out no,$(OCAMLOPT)),*.cmxa sdl*.$(A) *.cmx) \ $(if $(OCAMLMKLIB),dll*.so) ifeq ($(PLATFORM),Apple) $(RANLIB) $$($(OCAMLFIND) printconf destdir)/sdl/*.$(A) -- debian/libsdl-ocaml-dev.install.in0000644000000000000000000000015112174030161014271 0ustar @OCamlStdlibDir@/sdl/*.a @OCamlStdlibDir@/sdl/*.cm* @OCamlStdlibDir@/sdl/*.ml* @OCamlStdlibDir@/sdl/META