debian/0000755000000000000000000000000012254060242007163 5ustar debian/liblablgl-ocaml-dev.docs0000644000000000000000000000002511311416127013623 0ustar README Togl/examples debian/liblablgl-ocaml-dev.manpages0000644000000000000000000000001111311416127014461 0ustar lablgl.1 debian/patches/0000755000000000000000000000000012174154374010625 5ustar debian/patches/compilation-examples0000644000000000000000000000167012174154320014675 0ustar Contributed-by: Russell Sears Integrated: Ralf Treinen Fixes-bug: #425465 Description: make examples compile via "make" Sent-to-upstream: to Jacques Garrigue by Ralf Treinen, Dec 3 2009 --- a/Togl/examples/Makefile +++ b/Togl/examples/Makefile @@ -1,4 +1,16 @@ # Makefile for examples subdir +PACKAGES = lablgl.togl,unix +DERIVEDML = $(patsubst %.ml.gz,%.ml,$(wildcard *.ml.gz)) + +all: $(patsubst %.ml,%.opt,$(wildcard *.ml) $(DERIVEDML)) + +%.ml : %.ml.gz + gunzip -c $^ > $@ + +%.opt : %.ml + ocamlfind ocamlopt -package $(PACKAGES) -c $^ + ocamlfind ocamlopt -package $(PACKAGES) -linkpkg -o $@ $^ + clean: - rm -f *.cm* *.o *.opt + rm -f *.cm* *.o *.opt $(DERIVEDML) --- a/Togl/examples/planet.ml +++ b/Togl/examples/planet.ml @@ -1,6 +1,6 @@ (* $Id: planet.ml,v 1.17 2001-09-07 06:50:01 garrigue Exp $ *) -#load"unix.cma";; +open Unix class planet togl = object (self) val togl = togl debian/patches/series0000644000000000000000000000002511311416207012023 0ustar compilation-examples debian/clean0000644000000000000000000000004611311416127010170 0ustar src/build.ml Makefile.config lablgl.1 debian/liblablgl-ocaml-dev.ocamldoc.in0000644000000000000000000000005311311416127015062 0ustar -I @OCamlStdlibDir@/labltk -no-custom-tags debian/liblablgl-ocaml.dirs.in0000644000000000000000000000001611311416127013465 0ustar @OCamlDllDir@ debian/liblablgl-ocaml.docs0000644000000000000000000000000711311416127013047 0ustar README debian/gbp.conf0000644000000000000000000000003611311416127010601 0ustar [DEFAULT] pristine-tar = True debian/liblablgl-ocaml-dev.links0000644000000000000000000000010011311416127014005 0ustar usr/share/man/man1/lablgl.1.gz usr/share/man/man1/lablglut.1.gz debian/rules0000755000000000000000000000265212174154320010252 0ustar #!/usr/bin/make -f # -*- makefile -*- include /usr/share/ocaml/ocamlvars.mk # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 VERSION:=$(shell sed -n "s/^LablGL \(.*\):/\1/p" CHANGES | head -n 1) export OCAMLINIT_SED=-e 's%@LABLGL_VERSION@%$(VERSION)%g' %: dh $@ --with ocaml .PHONY: override_dh_auto_configure override_dh_auto_configure: cp debian/Makefile.config . .PHONY: override_dh_auto_build override_dh_auto_build: $(MAKE) ifneq ($(OCAML_OPT_ARCH),) $(MAKE) opt endif # Quick replacement for docbook/po4a CDBS class # TODO: use cdbs + po4a xmllint --nonet --noout --postvalid --xinclude $(CURDIR)/debian/xml-man/en/lablgl.xml xsltproc --nonet --xinclude --param man.charmap.use.subset 0 \ -o $(CURDIR)/ /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl \ $(CURDIR)/debian/xml-man/en/lablgl.xml .PHONY: override_dh_auto_clean override_dh_auto_clean: [ ! -f "$(CURDIR)/Makefile" ] || [ ! -f "$(CURDIR)/Makefile.config" ] || $(MAKE) clean .PHONY: override_dh_auto_install override_dh_auto_install: $(MAKE) install \ LIBDIR=$(CURDIR)/debian/liblablgl-ocaml-dev$(OCAML_STDLIB_DIR) \ DLLDIR=$(CURDIR)/debian/liblablgl-ocaml$(OCAML_STDLIB_DIR)/stublibs \ BINDIR=$(CURDIR)/debian/liblablgl-ocaml-dev/usr/bin cp debian/META $(CURDIR)/debian/liblablgl-ocaml-dev$(OCAML_STDLIB_DIR)/lablgl ln -sf $(OCAML_STDLIB_DIR)/lablgl $(CURDIR)/debian/liblablgl-ocaml-dev$(OCAML_STDLIB_DIR)/lablGL debian/changelog0000644000000000000000000003457312254060062011051 0ustar lablgl (1:1.05-1) unstable; urgency=medium * New upstream release -- Stéphane Glondu Tue, 17 Dec 2013 15:31:14 +0100 lablgl (20120306-2) unstable; urgency=low * Upload to unstable -- Stéphane Glondu Tue, 03 Dec 2013 00:38:29 +0100 lablgl (20120306-1) experimental; urgency=low [ Ralf Treinen ] * Minor language corrections in package descriptions. * Fixed spelling error in lablgl.1 manpage. [ Mehdi Dogguy ] * Fix version number in META * Add myself to uploaders [ Sylvain Le Gall ] * Remove Sylvain Le Gall from uploaders [ Lifeng Sun ] * New upstream release. * Bump debhelper compat level to 9. * debian/copyright: switch to Machine-readable format. * debian/control: - Bump Standards-Version to 3.9.4. - Add myself to Uploaders. - Update Homepage. - Canonical VCS-* fields. - liblablgl-ocaml-dev: + depends on ocaml-findlib. + minor changes to package description. * debian/watch: follow ocamlcore.org. -- Lifeng Sun Wed, 24 Jul 2013 15:21:15 +0800 lablgl (1.04-5) unstable; urgency=low * Use Tcl/Tk 8.5 -- Stéphane Glondu Thu, 17 Dec 2009 12:27:37 +0100 lablgl (1.04-4) unstable; urgency=low * Converted to source format 3.0 (quilt) - added debian/source/format * Fixed the Makefile in the examples to make compilation work. Patch: compilation-examples. Closes: Bug#425465. Thanks a lot to Russell Sears for the patch! -- Ralf Treinen Thu, 03 Dec 2009 21:50:04 +0100 lablgl (1.04-3) unstable; urgency=low * debian/rules: switch to dh and dh-ocaml 0.9 * debian/control: - switch to dh-ocaml 0.9 - move to section ocaml - add Homepage - update Standards-Version to 3.8.3 - Build-depends: update dh-ocaml, ocaml and debhelper - Uploaders: update my e-mail address, remove Sven -- Stéphane Glondu Wed, 23 Sep 2009 20:48:30 +0200 lablgl (1.04-2) unstable; urgency=low [ Stephane Glondu ] * Switch packaging to git * Add myself to Uploaders * Remove Julien from uploaders * Get closer to CDBS interface * Remove dpatch dependency * Remove versioned dependencies on OCaml introduced for experimental * Remove versioned dependencies available in stable * Add debian/clean [ Samuel Mimram ] * Upload to unstable and build with OCaml 3.11. * Use dh-ocaml predefined variables. -- Samuel Mimram Wed, 25 Feb 2009 10:27:41 +0100 lablgl (1.04-1) experimental; urgency=low * New upstream release. * Updated compat to 7. * Updated standards version to 3.8.0. * Depend on libgl1-mesa-dev instead of xlibmesa-gl-dev. * Depend on libglu1-mesa-dev instead of libglu1-xorg-dev. * Depend on x11proto-core-dev instead of x-dev. -- Samuel Mimram Tue, 10 Feb 2009 12:50:41 +0100 lablgl (1.03-4) experimental; urgency=low * Fixed versioning of camlp4 to force resolution against ocaml 3.11 on experimental. -- Romain Beauxis Wed, 17 Dec 2008 01:37:31 +0100 lablgl (1.03-3) experimental; urgency=low * Upload to experimental to build against ocaml 3.11. * Versioned build-dep on ocaml to avoid confusion. * Added build-dep on dh-ocaml (needs the file ocaml-docbase-template.txt). -- Romain Beauxis Mon, 15 Dec 2008 17:12:48 +0100 lablgl (1.03-2) experimental; urgency=low [ Stefano Zacchiroli ] * fix vcs-svn field to point just above the debian/ dir [ Ralf Treinen ] * Recompiled for ocaml 3.10.2. * Added myself to Uploaders -- Ralf Treinen Mon, 07 Apr 2008 20:50:45 +0200 lablgl (1.03-1) unstable; urgency=low * New upstream release. * We don't need to remove rpaths anymore. * Bumped standards version to 3.7.3, no changes needed. -- Samuel Mimram Tue, 11 Dec 2007 10:03:51 +0000 lablgl (1.02-7) unstable; urgency=low * Build-depends on ocaml 3.10.0-8 to be able to generate *.doc- base.ocamldoc-apiref -- Sylvain Le Gall Tue, 04 Sep 2007 17:53:58 +0200 lablgl (1.02-6) unstable; urgency=low * Generate ocamldoc documentation -- Sylvain Le Gall Mon, 03 Sep 2007 23:16:44 +0200 lablgl (1.02-5) unstable; urgency=low [ Samuel Mimram ] * Correct symlink for lablglut manpage (closes: #435895). * Updated watch file. [ Sylvain Le Gall ] * Upgrade build-dep on ocaml to version 3.10.0 -- Sylvain Le Gall Mon, 03 Sep 2007 16:36:57 +0200 lablgl (1.02-4) experimental; urgency=low * Rebuild for ocaml 3.10.0 * Don't ignore errors in $(MAKE) clean * Add myself to uploader * Use binary:Version * Add manpages for lablgl, lablglut * Remove file generated from debian/*.in -- Sylvain Le Gall Sat, 14 Jul 2007 02:40:56 +0200 lablgl (1.02-3) unstable; urgency=low * Build-Depend on debhelper (>= 4.0) since we use compat level 4. * Improve copyright file and add missing information there. * Move README.Debian to TODO. Thanks to Christoph Berg for his remarks about all this. -- Julien Cristau Thu, 22 Jun 2006 20:52:30 +0200 lablgl (1.02-2) unstable; urgency=low * Rebuild with OCaml 3.09.2. * Updated standards version to 3.7.2, no changes needed. -- Samuel Mimram Mon, 15 May 2006 21:23:56 +0000 lablgl (1.02-1) unstable; urgency=low * New upstream release. * Rebuild with OCaml 3.09.1. -- Samuel Mimram Sat, 7 Jan 2006 13:02:34 +0100 lablgl (1.01-9) unstable; urgency=low * Build-dep on chrpath and delete the rpath from the stub libraries. * Drop lintian overrides. * Add myself to Uploaders. * liblablgl-ocaml-dev depends on libxmu-dev (Closes: #336128) and freeglut3-dev (Closes: #295969). * Use freeglut3-dev instead of libglut3-dev in Build-Depends. -- Julien Cristau Wed, 30 Nov 2005 19:46:16 +0100 lablgl (1.01-8) unstable; urgency=low * Rebuilt for ocaml 3.09.0. * No hardcoded ocaml abi versions anymore. -- Sven Luther Thu, 27 Oct 2005 22:29:48 +0000 lablgl (1.01-7) unstable; urgency=low [ Julien Cristau ] * libXxf86vm is not used by lablgl, so we: + remove libxxf86vm-dev dependency from liblablgl-ocaml-dev. + remove -lXxf86vm from Makefile.config. (Closes: #325915) [ Samuel Mimram ] * New maintainer, added myself to uploaders. -- Samuel Mimram Fri, 9 Sep 2005 13:08:23 +0200 lablgl (1.01-6) unstable; urgency=low * Added a watch file * Added dependency to libglu1-xorg-dev as an alternative to xlibmesa-glu-dev. (Closes: #319281) * Cleanup Build-depends, with explanations for each of them: replace xlibs-dev with individual library packages, add tcl8.4-dev, remove libncurses5-dev. Also remove libxxf86vm-dev, which is not needed. (Julien Cristau) * Upgrade to standards 3.6.2.0 (no change) -- Sven Luther Mon, 29 Aug 2005 23:24:14 +0200 lablgl (1.01-5) unstable; urgency=low * debian/Makefile.config - added -lXxf86vm to XLIBS, fixes FTBFS with xorg * debian/control - added build-dep on libxxf86vm-dev - added dep from -dev to libxxf86vm-dev * changed svn repo structure so that it is compatible with svn-buildpackage -- Stefano Zacchiroli Sat, 23 Jul 2005 17:13:43 +0200 lablgl (1.01-4) unstable; urgency=medium * Rebuilt against ocaml 3.08.3. -- Sven Luther Tue, 22 Mar 2005 08:52:49 +0100 lablgl (1.01-3) unstable; urgency=low * Added labltk to togl META-dependencies. (Closes: #288837) -- Sven Luther Wed, 5 Jan 2005 23:30:58 +0100 lablgl (1.01-2) unstable; urgency=low * Build with build-depends as ocaml, ocaml-3.08, to see if we can work around the autobuilder bug with virtual packages this way. -- Sven Luther Tue, 27 Jul 2004 17:41:41 +0200 lablgl (1.01-1) unstable; urgency=low * New upstream version. * Built with ocaml 3.08. -- Sven Luther Thu, 15 Jul 2004 14:14:44 +0200 lablgl (1.00-4) unstable; urgency=low * Changed build-depends to use new xlibmesa-glu package name. (Closes: #244805) -- Sven Luther Wed, 26 May 2004 09:39:17 +0200 lablgl (1.00-3) unstable; urgency=low * Added new META files from Stefano, conflicts with older version of findlib though. -- Sven Luther Wed, 14 Jan 2004 21:38:46 +0100 lablgl (1.00-2) unstable; urgency=high * Since ocaml now is version 3.07+2, modified debian/rules to use ocamlc -where instead of ocamlc -version. -- Sven Luther Mon, 20 Oct 2003 09:20:44 +0200 lablgl (1.00-1) unstable; urgency=low * New upstream release. (Adds support for glut, GlArray and some other extensions) -- Sven Luther Fri, 10 Oct 2003 15:26:10 +0200 lablgl (0.99-16) unstable; urgency=low * Rebuilt for ocaml 3.07. -- Sven Luther Wed, 1 Oct 2003 16:15:29 +0200 lablgl (0.99-15) unstable; urgency=low * Still struggling with the libgl/libglu dependencies, since the -14 didn't build on Stefano's Woody backport. It seems that i have to put the virtual build-depends last in the alternatives. -- Sven Luther Sat, 15 Mar 2003 13:32:18 +0100 lablgl (0.99-14) unstable; urgency=low * Hope i did it right this time :((( -- Sven Luther Fri, 14 Mar 2003 12:38:09 +0100 lablgl (0.99-13) unstable; urgency=low * The 0.99-10 change disappeared, re-added it :(((( -- Sven Luther Fri, 14 Mar 2003 09:52:07 +0100 lablgl (0.99-12) unstable; urgency=low * Well, the pre gl/glu split xlibmesa packages where xlibmesa and xlibmesa-dev. -- Sven Luther Wed, 12 Mar 2003 11:31:06 +0100 lablgl (0.99-11) unstable; urgency=low * Added a shlibs.local override for the libglu1 dependency in liblablgl-ocaml, so that it can also handle pre gl/glu split xlibmesa3-gl Packages. -- Sven Luther Mon, 10 Mar 2003 13:44:15 +0100 lablgl (0.99-10) unstable; urgency=low * Apparently XFree86 4.2.1-6 is not yet building on arm and alpha, so we have to workaround the xlibmesa-glu-dev does not depend on xlibmesa3-glu but ourselves. -- Sven Luther Mon, 10 Mar 2003 12:20:03 +0100 lablgl (0.99-9) unstable; urgency=low * Changed build dependencies and dependencies again to xlibmesa, since the the problem with xlibmesa-glu was fixed. Also, added an alternative glu dependency on the xlimesa-gl-dev from before the gl/glu split. I hope this will make lablgl fit to enter testing, or at lest it will not be stopped by the nonexistent libglu packages in current testing, so we don't have to wait for either mesa 5 or xfree86 to be ready. -- Sven Luther Mon, 10 Mar 2003 10:11:04 +0100 lablgl (0.99-8) unstable; urgency=low * Downgraded tcl/tk dependency on 8.3 again, since i was not able to build ocaml 3.06 with 8.4. I hope that forthcoming 3.07 will be buildable with tcl/tk 8.4, and that i could then upgrade the dependency again. (Closes: #183920) -- Sven Luther Sat, 08 Mar 2003 13:06:21 +0100 lablgl (0.99-7) unstable; urgency=low * Removed the old mesag3-glide2 conflict, as it doesn't seem necessary anymore. -- Sven Luther Fri, 14 Feb 2003 11:54:32 +0100 lablgl (0.99-6) unstable; urgency=low * Still problems on hppa autobuilder, testing built with mesa instead of the xlibmesa. This will also allow us to build on ia64 and mips, where the latest XFree86 packages providing xlibmesa-glu fail to build. -- Sven Luther Thu, 13 Feb 2003 15:51:50 +0100 lablgl (0.99-5) unstable; urgency=low * Now also build depend on xlibmesa3-glu, which xlibmesa-glu-dev doesn't seem to depend on. Hope this fixes the build problem. -- Sven Luther Thu, 13 Feb 2003 12:42:22 +0100 lablgl (0.99-4) unstable; urgency=low * Changed the tcl/tk to depend on tcl/tk 8.4. (Closes: #180793) -- Sven Luther Wed, 12 Feb 2003 22:12:19 +0100 lablgl (0.99-3) unstable; urgency=low * Added build dependencies on the -glu packages and normal dependencies on the gl and glu developpment packages. -- Sven Luther Tue, 11 Feb 2003 13:30:42 +0100 lablgl (0.99-2) unstable; urgency=low * Added META file, courtesy of Stefano Zacchiroli. -- Sven Luther Fri, 24 Jan 2003 11:47:42 +0100 lablgl (0.99-1) unstable; urgency=low * New upstream release. -- Sven Luther Fri, 10 Jan 2003 10:47:37 +0100 lablgl (0.98-4) unstable; urgency=low * Rebuilt for ocaml 3.06-13. * Closes: #164222, actually already in 0.98-3. * Added glBindTexture patch from Chris. -- Sven Luther Sat, 14 Dec 2002 23:09:54 +0100 lablgl (0.98-3) unstable; urgency=low * added lablGL as a symlink to lablgl. -- Sven Luther Wed, 20 Nov 2002 09:09:29 +0100 lablgl (0.98-2) unstable; urgency=low * Changed Build-depends. -- Sven Luther Mon, 30 Sep 2002 18:07:28 +0200 lablgl (0.98-1) unstable; urgency=low * New upstream release. * Built with ocaml 3.06. -- Sven Luther Wed, 21 Aug 2002 19:41:17 +0200 lablgl (0.97-2) unstable; urgency=low * Adapting to the new shared library split scheme. * Now conflicts with mesag3-glide2, since it does not provide the propers glut 1.3 bindings. Notice that it is possible to build lablgl with mesag3-glide2, it is just not enabled by default. -- Sven Luther Wed, 20 Feb 2002 00:01:42 +0100 lablgl (0.97-1) unstable; urgency=low * New upstream version for ocaml 3.04. -- Sven Luther Thu, 20 Dec 2001 10:22:40 +0100 lablgl (0.95-1.1) unstable; urgency=low * Rebuilt for ocaml 3.02 -- Sven Luther Fri, 16 Mar 2001 10:00:58 +0100 lablgl (0.95-1) unstable; urgency=low * New upstream release -- Sven Luther Fri, 16 Mar 2001 10:00:58 +0100 lablgl (0.94-2) unstable; urgency=low * Added some build dependencies, ... -- Sven Luther Sun, 25 Feb 2001 19:59:30 +0100 lablgl (0.94-1) unstable; urgency=low * Initial Release. -- Sven Luther Sun, 3 Dec 2000 11:06:58 +0100 debian/compat0000644000000000000000000000000212174154205010365 0ustar 9 debian/TODO0000644000000000000000000000107411311416127007655 0ustar lablgl for Debian ---------------------- * Need to add the download site in copyright. * lablgl needs manpage. (mostly ocaml manpage, but with added -thread). * In truth, it would be better to split the package between : - the togl tcl/tk widget. - the OpenGL library. - the togl bindings. - the gtkglarea bindings. - examples and docs ? * Examples checker.ml, scene.ml and simple.ml are not working, don't know why (am using the non-DRI versions of Xfree 4's OpenGL). -- Sven LUTHER , Sun, 3 Dec 2000 11:06:58 +0100 debian/liblablgl-ocaml-dev.dirs.in0000644000000000000000000000004011311416127014236 0ustar usr/bin @OCamlStdlibDir@/lablgl debian/copyright0000644000000000000000000001521112174154320011120 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: lablgl Upstream-Contact: garrigue@kurims.kyoto-u.ac.jp Source: https://forge.ocamlcore.org/projects/lablgl/ Files: * Copyright: 1997-2001 Jacques Garrigue 1997-2001 Kyoto University. Isaac Trotts Erick Tryzelaar Christophe Raffali License: BSD Files: LablGlut/examples/caml-images/OCamlMakefile Copyright: 1999-2002 Markus Mottl License: BSD License: BSD Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: LablGlut/examples/caml-images/main.ml Copyright: 2002 Issac J. Trotts License: This file is distributed under the terms of the GNU Lesser General Public License, available in /usr/share/common-licenses/LGPL-2.1. Files: Togl/* Copyright: 1996-1998 Brian Paul Benjamin Bederson License: The authors hereby grant permission to use, copy, modify, distribute, and license this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. No written agreement, license, or royalty fee is required for any of the authorized uses. Modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated on the first page of each file where they apply. . IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. Files: Togl/src/Togl/WinMain2.c Togl/src/Togl/tkFont.h Togl/src/Togl/tkInt4.0.h Togl/src/Togl/tkInt4.1.h Togl/src/Togl/tkInt8.1.h Copyright: 1990-1994 The Regents of the University of California 1995 Sun Microsystems, Inc. 1998 Scriptics Corporation License: The authors hereby grant permission to use, copy, modify, distribute, and license this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions. No written agreement, license, or royalty fee is required for any of the authorized uses. Modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated on the first page of each file where they apply. . IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. . THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. . GOVERNMENT USE: If you are acquiring this software on behalf of the U.S. government, the Government shall have only "Restricted Rights" in the software and related documentation as defined in the Federal Acquisition Regulations (FARs) in Clause 52.227.19 (c) (2). If you are acquiring the software on behalf of the Department of Defense, the software shall be classified as "Commercial Computer Software" and the Government shall have only "Restricted Rights" as defined in Clause 252.227-7013 (c) (1) of DFARs. Notwithstanding the foregoing, the authors grant the U.S. Government and others acting in its behalf permission to use and distribute the software in accordance with the terms specified in this license. Files: debian/* Copyright: 2000 Sven LUTHER 2013 Lifeng Sun License: This package is free software; you can redistribute it and/or modify it under the terms of the GNU 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 General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/Makefile.config0000644000000000000000000000304211311416207012065 0ustar # LablGL and Togl configuration file # # Please have a look at the config/Makefile in the Objective Caml distribution, # or at the labltklink script to get the information needed here # ##### Adjust these always # Uncomment if you have the fast ".opt" compilers #CAMLC = ocamlc.opt #CAMLOPT = ocamlopt.opt # Where to put the lablgl script BINDIR = /usr/bin # Where to find X headers XINCLUDES = -I/usr/X11R6/include # X libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0) XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lX11 # Where to find Tcl/Tk headers # This must the same version as for LablTk TKINCLUDES = -I/usr/include/tcl8.5 # Tcl/Tk libs (for broken RTLD_GLOBAL: e.g. FreeBSD 4.0) TKLIBS = -ltk8.5 -ltcl8.5 # Where to find OpenGL/Mesa/Glut headers and libraries GLINCLUDES = GLLIBS = -lGL -lGLU GLUTLIBS = -lglut # The following libraries may be required (try to add them one at a time) #GLLIBS = -lGL -lGLU -lXmu -lXext -lXi -lcipher -lpthread # How to index a library after installing (ranlib required on MacOSX) RANLIB = : #RANLIB = ranlib ##### Uncomment these for windows #TKLIBS = tk83.lib tcl83.lib gdi32.lib user32.lib #GLLIBS = opengl32.lib glu32.lib #TOOLCHAIN = msvc #XA = .lib #XB = .bat #XE = .exe #XO = .obj #XS = .dll ##### Adjust these if non standard # The Objective Caml library directory LIBDIR = `ocamlc -where` # Where to put dlls (if dynamic loading available) DLLDIR = `ocamlc -where`/stublibs # Where to put LablGL (standard) INSTALLDIR = $(LIBDIR)/lablgl # Where is Togl (default) #TOGLDIR = Togl # C Compiler options #COPTS = -c -O debian/META.in0000644000000000000000000000051111505742415010245 0ustar version="@LABLGL_VERSION@" directory="+lablgl" archive(byte) = "lablgl.cma" archive(native) = "lablgl.cmxa" package "togl" ( requires = "labltk lablgl" archive(byte) = "togl.cma" archive(native) = "togl.cmxa" ) package "glut" ( requires = "lablgl" archive(byte) = "lablglut.cma" archive(native) = "lablglut.cmxa" ) debian/source/0000755000000000000000000000000011635605777010507 5ustar debian/source/format0000644000000000000000000000001411311416207011670 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000012612174154320010215 0ustar version=3 https://forge.ocamlcore.org/frs/?group_id=291 .*/lablgl-([0-9\.]*)\.tar\.gz debian/control0000644000000000000000000000475712174154320010605 0ustar Source: lablgl Section: ocaml Priority: optional Maintainer: Debian OCaml Maintainers Uploaders: Samuel Mimram , Stéphane Glondu , Mehdi Dogguy , Ralf Treinen , Lifeng Sun Build-Depends: debhelper (>= 9), ocaml (>= 4.00.1), tcl8.5-dev, tk8.5-dev, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, freeglut3-dev, x11proto-core-dev, libxmu-dev, libx11-dev, dpkg-dev (>= 1.13.19), docbook-xml, docbook-xsl, libxml2-utils, xsltproc, camlp4, dh-ocaml (>= 0.9) Standards-Version: 3.9.4 Homepage: https://forge.ocamlcore.org/projects/lablgl/ Vcs-Git: git://anonscm.debian.org/pkg-ocaml-maint/packages/lablgl.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ocaml-maint/packages/lablgl.git # Reasons for Build-Depends: # # debhelper (>= 4.0): used in debian/rules, debian/compat # ocaml: the ocaml compiler and stdlib, with labltk # tcl8.5-dev: #include # tk8.5-dev: #include # libgl-dev: #include # #include # libglu-dev: #include # freeglut3-dev: #include # #include # x11proto-core-dev: #include # libxmu-dev: #include # libx11-dev: #include # #include # dpkg-dev (>= 1.13.19): binary:Version # docbook-xml (>= 4.4), docbook-xsl, libxml2-utils, xsltproc: manpages # camlp4: camlp4 Package: liblablgl-ocaml Architecture: any Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Description: Runtime libraries for lablgl LablGL is an OpenGL interface for Objective Caml. Since it includes support for the Togl widget you can comfortably use it with LablTk. A GtkGlarea binding for use with lablgtk is also provided. . This package contains only the dynamic libraries needed for running dynamic bytecode executables. Package: liblablgl-ocaml-dev Architecture: any Depends: libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | xlibmesa-glu-dev | libglu-dev, tk8.5-dev, ocaml-findlib, libxmu-dev, freeglut3-dev, ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends} Provides: ${ocaml:Provides} Description: OpenGL interface for Objective Caml LablGL gives access to the OpenGL interface from Objective Caml. Since it includes support for the Togl widget, you can comfortably use it with LablTk. A GtkGlarea binding for use with lablgtk is also provided. debian/xml-man/0000755000000000000000000000000011635606000010534 5ustar debian/xml-man/po4a/0000755000000000000000000000000011635615212011404 5ustar debian/xml-man/po4a/po4a.cfg0000644000000000000000000000030411311416127012720 0ustar [po4a_paths] debian/xml-man/po4a/po/lablgl-man.pot [type: docbook] debian/xml-man/en/lablgl.xml [type: docbook] debian/xml-man/en/license.xml [type: docbook] debian/xml-man/en/refentryinfo.xml debian/xml-man/en/0000755000000000000000000000000011635615212011143 5ustar debian/xml-man/en/refentryinfo.xml0000644000000000000000000000427711311416127014404 0ustar Sylvain Le Gall gildor@debian.org 2007 Sylvain Le Gall Jul 15, 2007 debian/xml-man/en/license.xml0000644000000000000000000000510711311416127013305 0ustar ]> LICENSE This manual page was written by Sylvain Le Gall gildor@debian.org for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Lesser General Public License, Version 2.1 or any later version published by the Free Software Foundation; considering as source code all the file that enable the production of this manpage. debian/xml-man/en/lablgl.xml0000644000000000000000000000651711337230114013124 0ustar lablgl"> lablglut"> ]> LABGL 1 lablgl OCaml toplevel with labgl support. &dhprg; ocaml toplevel option DESCRIPTION This manual page documents briefly the &dhprg; command. This manual page was written for the &debian; distribution because the original program does not have a manual page. The &dhprg; commands launch an OCaml toplevel with lablgl or labglut support. &dhprg2; provides the same functionality for lablglut. SEE ALSO ocaml 1