--- rgl-0.95.1441.orig/debian/changelog +++ rgl-0.95.1441/debian/changelog @@ -0,0 +1,586 @@ +rgl (0.95.1441-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Tue, 05 Jan 2016 08:09:14 -0600 + +rgl (0.95.1435-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set Build-Depends: to current R version + + -- Dirk Eddelbuettel Mon, 28 Dec 2015 16:56:33 -0600 + +rgl (0.95.1429-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Mon, 07 Dec 2015 10:59:48 -0600 + +rgl (0.95.1367-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Tue, 06 Oct 2015 22:33:13 -0500 + +rgl (0.95.1337-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set Build-Depends: to current R version + + -- Dirk Eddelbuettel Sat, 19 Sep 2015 13:02:26 -0500 + +rgl (0.95.1247-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set Build-Depends: to current R version + + -- Dirk Eddelbuettel Fri, 01 May 2015 21:04:57 -0500 + +rgl (0.95.1201-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Tue, 23 Dec 2014 14:39:56 -0600 + +rgl (0.95.1158-1) unstable; urgency=low + + * New upstream release + * debian/control: Set Build-Depends: to current R version + + -- Dirk Eddelbuettel Wed, 12 Nov 2014 07:16:19 -0600 + +rgl (0.95.1157-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Wed, 29 Oct 2014 16:34:34 -0500 + +rgl (0.94.1143-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set Build-Depends: to current R version + * debian/control: Set Standards-Version: to current version + + -- Dirk Eddelbuettel Thu, 02 Oct 2014 09:00:31 -0500 + +rgl (0.94.1131-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Mon, 08 Sep 2014 20:17:34 -0500 + +rgl (0.93.1098-2) unstable; urgency=low + + * debian/missing-sources/CanvasMatrix.js: Added (Closes: #754715) + + -- Dirk Eddelbuettel Sat, 26 Jul 2014 06:46:02 -0500 + +rgl (0.93.1098-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set Build-Depends: to current R version + + -- Dirk Eddelbuettel Thu, 03 Jul 2014 19:19:36 -0500 + +rgl (0.93.996-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Sat, 04 Jan 2014 12:30:04 -0600 + +rgl (0.93.991-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set Standards-Version: to current version + + -- Dirk Eddelbuettel Mon, 04 Nov 2013 07:28:48 -0600 + +rgl (0.93.986-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Fri, 11 Oct 2013 16:21:15 -0500 + +rgl (0.93.984-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Tue, 08 Oct 2013 08:57:38 -0500 + +rgl (0.93.975-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set Build-Depends: to current R version + + -- Dirk Eddelbuettel Thu, 03 Oct 2013 11:31:05 -0500 + +rgl (0.93.963-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Wed, 04 Sep 2013 08:42:34 -0500 + +rgl (0.93.960-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Sat, 31 Aug 2013 07:33:16 -0500 + +rgl (0.93.952-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Thu, 25 Jul 2013 11:36:36 -0500 + +rgl (0.93.949-1) unstable; urgency=low + + * New upstream release + + * debian/control: Added 'autotools-dev' to Build-Depends: + + -- Dirk Eddelbuettel Wed, 24 Jul 2013 12:32:56 -0500 + +rgl (0.93.945-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set Build-Depends: to current R version + + -- Dirk Eddelbuettel Sat, 13 Jul 2013 12:34:07 -0500 + +rgl (0.93.935-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Sun, 28 Apr 2013 07:32:16 -0500 + +rgl (0.93.932-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Fri, 05 Apr 2013 19:21:42 -0500 + +rgl (0.93.928-2) unstable; urgency=low + + * debian/control: Set Build-Depends: to current R version + + * (Re-)building with R 3.0.0 (beta) + + -- Dirk Eddelbuettel Sat, 30 Mar 2013 17:57:03 -0500 + +rgl (0.93.928-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Fri, 08 Feb 2013 08:06:33 -0600 + +rgl (0.93.921-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set Build-Depends: to current R version + + -- Dirk Eddelbuettel Sat, 26 Jan 2013 08:47:08 -0600 + +rgl (0.92.894-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set Standards-Version: to current version + + -- Dirk Eddelbuettel Mon, 22 Oct 2012 08:31:52 -0500 + +rgl (0.92.892-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Thu, 19 Jul 2012 06:46:59 -0500 + +rgl (0.92.891-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set Build-Depends: to current R version + + -- Dirk Eddelbuettel Tue, 17 Jul 2012 16:18:58 -0500 + +rgl (0.92.880-1) unstable; urgency=low + + * New upstream release (containing our patch from 0.92.879-2) + + -- Dirk Eddelbuettel Tue, 08 May 2012 11:09:13 -0500 + +rgl (0.92.879-2) unstable; urgency=low + + * src/types.h: Move copy() template definition which is what g++-4.7 + now requires to build the package (Closes: #667355) + + -- Dirk Eddelbuettel Tue, 08 May 2012 06:27:10 -0500 + +rgl (0.92.879-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Sun, 08 Apr 2012 09:53:42 -0500 + +rgl (0.92.861-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Mon, 26 Mar 2012 18:57:38 -0500 + +rgl (0.92.858-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Tue, 20 Mar 2012 11:08:45 -0500 + +rgl (0.92.798-2) unstable; urgency=low + + * debian/control: Change Build-Depends: to libpng-dev (Closes: #662493) + + * debian/control: Set Build-Depends: to current R version + * debian/control: Change Depends to ${R:Depends} + * debian/control: Set Standards-Version: to current version + + -- Dirk Eddelbuettel Wed, 07 Mar 2012 14:51:28 -0600 + +rgl (0.92.798-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set (Build-)Depends: to current R version + + -- Dirk Eddelbuettel Mon, 03 Jan 2011 10:47:13 -0600 + +rgl (0.92.794-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Mon, 11 Oct 2010 07:40:30 -0500 + +rgl (0.92-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set (Build-)Depends: to current R version + * debian/control: Set Standards-Version: to current version + + -- Dirk Eddelbuettel Fri, 08 Oct 2010 09:03:31 -0500 + +rgl (0.91-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set (Build-)Depends: to current R version + + -- Dirk Eddelbuettel Mon, 05 Apr 2010 21:45:03 -0500 + +rgl (0.90-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set Standards-Version: to current version + + -- Dirk Eddelbuettel Fri, 12 Feb 2010 23:09:59 -0600 + +rgl (0.89-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set (Build-)Depends: to current R version + + -- Dirk Eddelbuettel Fri, 01 Jan 2010 14:14:27 -0600 + +rgl (0.87-2) unstable; urgency=low + + * Rebuilt for R 2.10.0 to work with new R-internal help file conversion + + * debian/control: Set (Build-)Depends: to current R version + * debian/control: Set Standards-Version: to current version + + -- Dirk Eddelbuettel Mon, 02 Nov 2009 20:30:03 -0600 + +rgl (0.87-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set (Build-)Depends: to current R version + * debian/control: Set Standards-Version: to current version + + -- Dirk Eddelbuettel Wed, 09 Sep 2009 14:26:18 -0500 + +rgl (0.84-1) unstable; urgency=low + + * New upstream release + + * debian/control: Changed Section: to new section 'gnu-r' + + -- Dirk Eddelbuettel Sun, 15 Mar 2009 19:03:05 -0500 + +rgl (0.83-3-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Tue, 24 Feb 2009 15:39:04 -0600 + +rgl (0.83-2-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Fri, 20 Feb 2009 17:37:27 -0600 + +rgl (0.83-1-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Thu, 19 Feb 2009 20:35:45 -0600 + +rgl (0.82-2) unstable; urgency=low + + * Rebuilt under corrected pbuilder setup. + + -- Dirk Eddelbuettel Mon, 02 Feb 2009 21:56:19 -0600 + +rgl (0.82-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set (Build-)Depends: to current R version 2.8.1 + + -- Dirk Eddelbuettel Fri, 30 Jan 2009 18:30:03 -0600 + +rgl (0.81-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Wed, 06 Aug 2008 16:19:06 -0500 + +rgl (0.80-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Mon, 21 Jul 2008 15:49:22 -0500 + +rgl (0.79-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Tue, 03 Jun 2008 19:54:13 -0500 + +rgl (0.78.671-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set (Build-)Depends: to current R version + + -- Dirk Eddelbuettel Tue, 13 May 2008 18:55:27 -0500 + +rgl (0.77-1) unstable; urgency=low + + * New upstream release + + * debian/control: Set (Build-)Depends: to current R version + * debian/control: Set Standards-Version: to current version 3.7.3 + + -- Dirk Eddelbuettel Wed, 12 Mar 2008 15:15:26 -0500 + +rgl (0.76-1) unstable; urgency=low + + * New upstream release + * Built with R 2.6.1, so setting (Build-)Depends: to + 'r-base-(core|dev) >= 2.6.1' to prevent move to testing before R 2.6.1 + + -- Dirk Eddelbuettel Sun, 02 Dec 2007 19:47:54 -0600 + +rgl (0.75-1) unstable; urgency=low + + * New upstream release + * Built with R 2.6.0, so setting (Build-)Depends: to + 'r-base-(core|dev) >> 2.5.1' to prevent move to testing before R 2.6.0 + + -- Dirk Eddelbuettel Tue, 16 Oct 2007 17:42:27 -0500 + +rgl (0.74-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Mon, 13 Aug 2007 20:06:46 -0500 + +rgl (0.73-1) unstable; urgency=low + + * New upstream release + * debian/control: (Build-)Depends: updated to r-base-(core|dev) (>= 2.5.1) + + -- Dirk Eddelbuettel Wed, 18 Jul 2007 20:30:29 -0500 + +rgl (0.72-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Mon, 04 Jun 2007 20:35:24 -0500 + +rgl (0.71-1) unstable; urgency=low + + * New upstream release + + * debian/control: Build-Depends: updated to r-base-dev (>= 2.5.0~20070422) + + -- Dirk Eddelbuettel Mon, 23 Apr 2007 15:53:48 -0500 + +rgl (0.70-2) unstable; urgency=low + + * src/rglview.cpp: Applied patch by Martin Michlmayr to enable + compilation under g++ 4.3 (Closes: #417516) + + -- Dirk Eddelbuettel Mon, 23 Apr 2007 09:17:23 -0500 + +rgl (0.70-1) unstable; urgency=low + + * New upstream release + + * src/build/autoconf/config.{sub.guess}: Updated outdated upstream + versions with copies from Debian's /usr/share/misc/ (automake-1.4) + + * debian/control: Updated (Build-)Depends: to r-base-dev (>= 2.4.1) + + -- Dirk Eddelbuettel Sun, 7 Jan 2007 21:35:36 -0600 + +rgl (0.69-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Sun, 10 Dec 2006 11:10:16 -0600 + +rgl (0.68-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Wed, 13 Sep 2006 17:45:56 -0500 + +rgl (0.67-2-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Wed, 12 Jul 2006 20:28:28 -0500 + +rgl (0.67-1) unstable; urgency=low + + * New upstream release + + * debian/control: Increased Standards-Version: to 3.7.2 + + -- Dirk Eddelbuettel Tue, 11 Jul 2006 21:59:51 -0500 + +rgl (0.66-4) unstable; urgency=low + + * debian/control: Not libg1-* but libgl-* in Build-Depends: (Closes: #365405) + * debian/rules: Turns out the debian/rules one-liner is fine with rgl 0.66 + + -- Dirk Eddelbuettel Fri, 28 Apr 2006 20:56:31 -0500 + +rgl (0.66-3) unstable; urgency=low + + * debian/control: Updated Build-Depends: from xlibmesa-glu-dev to + libglu-mesa-dev, and from xlibmesa-gl-dev to libgl-mesa-dev + * debian/control: Also updated Depends: to `libgl1-mesa-glx | libgl1, + libglu1-mesa | libglu1' + + * debian/rules: Simplified to cdbs-based one-liner sourcing r-cran.mk + (though this particular package needs an additional configure argument) + * debian/control: Hence Build-Depends: updated to r-base-dev (>= 2.3.0) + + -- Dirk Eddelbuettel Fri, 28 Apr 2006 20:15:43 -0500 + +rgl (0.66-2) unstable; urgency=low + + * debian/rules: Supply the explicit argument + --configure-args="--x-includes=/usr/X11R6/include" + to R CMD INSTALL so that X11 headers are found in pbuilder too. + Many thanks to Junichi for spotting this. (Closes: #298159) + + -- Dirk Eddelbuettel Mon, 27 Feb 2006 21:37:29 -0600 + +rgl (0.66-1) unstable; urgency=low + + * New upstream release + + * Bug #298159 ("rgl.snapshot() fails") is still not fixed; png snapshots + still fail with dynamic and static linking (now offered via configure) + + * debian/post{inst,rm}: No longer call R to update html help index + * debian/watch: Updated regular expression + + -- Dirk Eddelbuettel Fri, 24 Feb 2006 20:53:02 -0600 + +rgl (0.65-2) unstable; urgency=low + + * debian/control: Updated Build-Depends: from xlibs-dev to + libx11-dev, libxt-dev, x-dev + + -- Dirk Eddelbuettel Sun, 8 Jan 2006 20:22:55 -0600 + +rgl (0.65-1) unstable; urgency=low + + * New upstream release + + -- Dirk Eddelbuettel Sat, 20 Aug 2005 20:51:12 -0500 + +rgl (0.64.13-4) unstable; urgency=low + + * Rebuilt under new X.Org-based X11 libraries (Closes: #318142) + * debian/control: Updated Build-Depends with libglu1-xorg-dev as + alternative; i.e. changed from "xlibmesa-gl-dev | libgl-dev, + xlibmesa-glu-dev | libglu-dev" to "xlibmesa-gl | libgl1, libglu1-xorg | + libglu1" with thanks to Steve Langasek + * debian/control: Depends simplified from "xlibmesa-gl | libgl1 | mesag3 | + xlibmesa3-gl, xlibmesa-glu | libglu1 | libglu1-mesa | xlibmesa3-glu" to + "xlibmesa-gl | libgl1, libglu1-xorg | libglu1" with thanks to + Steve Langasek + * debian/control: Upgraded to 3.6.2.1 + * debian/post{inst,rm}: Call /usr/bin/R explicitly (thanks, Kurt Hornik) + * debian/control: Build-Depends corrected to libgl-dev and libglu-dev, + with thanks to Chris Lawrence for the clarification + + -- Dirk Eddelbuettel Sun, 17 Jul 2005 17:26:55 -0500 + +rgl (0.64.13-3) unstable; urgency=low + + * debian/control: + - Depends: changed from libgl to libgl1 (Closes: #281999), + - Depends: also changed from libglu to libglu1 + - Build-Depends: Similar updates to libgl1-dev and libglu1-dev + + -- Dirk Eddelbuettel Thu, 18 Nov 2004 20:45:11 -0600 + +rgl (0.64.13-2) unstable; urgency=low + + * Rebuilt under R 2.0.0 + * debian/control: Updated Build-Depends: and Depends: accordingly + * debian/post{inst,rm}: Only run build-help.pl if R is installed + * debian/watch: Added watch file + + -- Dirk Eddelbuettel Fri, 8 Oct 2004 18:05:54 -0500 + +rgl (0.64.13-1) unstable; urgency=low + + * New upstream release + * debian/post{inst,rm}: Call build-help.pl to update package.html list + + -- Dirk Eddelbuettel Fri, 18 Jun 2004 17:15:37 -0500 + +rgl (0.64.10-1) unstable; urgency=low + + * Initial Debian Release + + -- Dirk Eddelbuettel Thu, 4 Mar 2004 20:34:24 -0600 + + --- rgl-0.95.1441.orig/debian/control +++ rgl-0.95.1441/debian/control @@ -0,0 +1,14 @@ +Source: rgl +Section: gnu-r +Priority: optional +Maintainer: Dirk Eddelbuettel +Build-Depends: debhelper (>= 7.0.0), r-base-dev (>= 3.2.3), cdbs, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libpng-dev, libx11-dev, libxt-dev, x11proto-core-dev, autotools-dev +Standards-Version: 3.9.6 + +Package: r-cran-rgl +Architecture: any +Depends: ${shlibs:Depends}, ${R:Depends}, libgl1-mesa-glx | libgl1, libglu1-mesa | libglu1 +Description: GNU R package for three-dimensional visualisation using OpenGL + This package provides functions implementing a new graphics device suitable + for visualisation of GNU R objects in three dimensions using the OpenGL + libraries. --- rgl-0.95.1441.orig/debian/copyright +++ rgl-0.95.1441/debian/copyright @@ -0,0 +1,36 @@ +This is the Debian GNU/Linux r-cran-rgl package of rgl, a new graphics +device for GNU R providing OpenGL graphics functionality for +three-dimensional visualisation. Rgl was written by Daniel Adler and +Duncan Murdoch. + +This package was created by Dirk Eddelbuettel . +The sources were downloaded from + http://cran.us.r-project.org/src/contrib/ + +The package was renamed from its upstream name 'rgl' to 'r-cran-rgl' +to fit the pattern of CRAN (and non-CRAN) packages for R. + +Copyright (C) 2004-2008 Daniel Adler and Duncan Murdoch + +License: GPL-2 + +On a Debian GNU/Linux system, the GPL (v2) license is included in the file +/usr/share/common-licenses/GPL-2. + +For reference, the upstream DESCRIPTION [with lines broken to 80 cols] file +is included below: + + Package: rgl + Version: 0.64-10 + Date: 2004-03-03 + Title: 3D visualization device system (OpenGL) + Author: Daniel Adler + Maintainer: Daniel Adler + Depends: R (>= 1.41) + Description: 3D visualization device (OpenGL) + License: GPL + URL: http://wsopuppenkiste.wiso.uni-goettingen.de/~dadler/rgl + SystemRequirements: OpenGL, GLU Library + + + --- rgl-0.95.1441.orig/debian/missing-sources/CanvasMatrix.js +++ rgl-0.95.1441/debian/missing-sources/CanvasMatrix.js @@ -0,0 +1,723 @@ + +/* + * Copyright (C) 2009 Apple Inc. All Rights Reserved. + * + * 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. + * + * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``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 APPLE INC. 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. + */ +/* + CanvasMatrix4 class + + This class implements a 4x4 matrix. It has functions which + duplicate the functionality of the OpenGL matrix stack and + glut functions. + + IDL: + + [ + Constructor(in CanvasMatrix4 matrix), // copy passed matrix into new CanvasMatrix4 + Constructor(in sequence array) // create new CanvasMatrix4 with 16 floats (row major) + Constructor() // create new CanvasMatrix4 with identity matrix + ] + interface CanvasMatrix4 { + attribute float m11; + attribute float m12; + attribute float m13; + attribute float m14; + attribute float m21; + attribute float m22; + attribute float m23; + attribute float m24; + attribute float m31; + attribute float m32; + attribute float m33; + attribute float m34; + attribute float m41; + attribute float m42; + attribute float m43; + attribute float m44; + + void load(in CanvasMatrix4 matrix); // copy the values from the passed matrix + void load(in sequence array); // copy 16 floats into the matrix + sequence getAsArray(); // return the matrix as an array of 16 floats + WebGLFloatArray getAsCanvasFloatArray(); // return the matrix as a WebGLFloatArray with 16 values + void makeIdentity(); // replace the matrix with identity + void transpose(); // replace the matrix with its transpose + void invert(); // replace the matrix with its inverse + + void translate(in float x, in float y, in float z); // multiply the matrix by passed translation values on the right + void scale(in float x, in float y, in float z); // multiply the matrix by passed scale values on the right + void rotate(in float angle, // multiply the matrix by passed rotation values on the right + in float x, in float y, in float z); // (angle is in degrees) + void multRight(in CanvasMatrix matrix); // multiply the matrix by the passed matrix on the right + void multLeft(in CanvasMatrix matrix); // multiply the matrix by the passed matrix on the left + void ortho(in float left, in float right, // multiply the matrix by the passed ortho values on the right + in float bottom, in float top, + in float near, in float far); + void frustum(in float left, in float right, // multiply the matrix by the passed frustum values on the right + in float bottom, in float top, + in float near, in float far); + void perspective(in float fovy, in float aspect, // multiply the matrix by the passed perspective values on the right + in float zNear, in float zFar); + void lookat(in float eyex, in float eyey, in float eyez, // multiply the matrix by the passed lookat + in float ctrx, in float ctry, in float ctrz, // values on the right + in float upx, in float upy, in float upz); + } +*/ + +CanvasMatrix4 = function(m) +{ + if (typeof m == 'object') { + if ("length" in m && m.length >= 16) { + this.load(m[0], m[1], m[2], m[3], m[4], m[5], m[6], m[7], m[8], m[9], m[10], m[11], m[12], m[13], m[14], m[15]); + return; + } + else if (m instanceof CanvasMatrix4) { + this.load(m); + return; + } + } + this.makeIdentity(); +} + +CanvasMatrix4.prototype.load = function() +{ + if (arguments.length == 1 && typeof arguments[0] == 'object') { + var matrix = arguments[0]; + + if ("length" in matrix && matrix.length == 16) { + this.m11 = matrix[0]; + this.m12 = matrix[1]; + this.m13 = matrix[2]; + this.m14 = matrix[3]; + + this.m21 = matrix[4]; + this.m22 = matrix[5]; + this.m23 = matrix[6]; + this.m24 = matrix[7]; + + this.m31 = matrix[8]; + this.m32 = matrix[9]; + this.m33 = matrix[10]; + this.m34 = matrix[11]; + + this.m41 = matrix[12]; + this.m42 = matrix[13]; + this.m43 = matrix[14]; + this.m44 = matrix[15]; + return; + } + + if (arguments[0] instanceof CanvasMatrix4) { + + this.m11 = matrix.m11; + this.m12 = matrix.m12; + this.m13 = matrix.m13; + this.m14 = matrix.m14; + + this.m21 = matrix.m21; + this.m22 = matrix.m22; + this.m23 = matrix.m23; + this.m24 = matrix.m24; + + this.m31 = matrix.m31; + this.m32 = matrix.m32; + this.m33 = matrix.m33; + this.m34 = matrix.m34; + + this.m41 = matrix.m41; + this.m42 = matrix.m42; + this.m43 = matrix.m43; + this.m44 = matrix.m44; + return; + } + } + + this.makeIdentity(); +} + +CanvasMatrix4.prototype.getAsArray = function() +{ + return [ + this.m11, this.m12, this.m13, this.m14, + this.m21, this.m22, this.m23, this.m24, + this.m31, this.m32, this.m33, this.m34, + this.m41, this.m42, this.m43, this.m44 + ]; +} + +CanvasMatrix4.prototype.getAsWebGLFloatArray = function() +{ + return new WebGLFloatArray(this.getAsArray()); +} + +CanvasMatrix4.prototype.makeIdentity = function() +{ + this.m11 = 1; + this.m12 = 0; + this.m13 = 0; + this.m14 = 0; + + this.m21 = 0; + this.m22 = 1; + this.m23 = 0; + this.m24 = 0; + + this.m31 = 0; + this.m32 = 0; + this.m33 = 1; + this.m34 = 0; + + this.m41 = 0; + this.m42 = 0; + this.m43 = 0; + this.m44 = 1; +} + +CanvasMatrix4.prototype.transpose = function() +{ + var tmp = this.m12; + this.m12 = this.m21; + this.m21 = tmp; + + tmp = this.m13; + this.m13 = this.m31; + this.m31 = tmp; + + tmp = this.m14; + this.m14 = this.m41; + this.m41 = tmp; + + tmp = this.m23; + this.m23 = this.m32; + this.m32 = tmp; + + tmp = this.m24; + this.m24 = this.m42; + this.m42 = tmp; + + tmp = this.m34; + this.m34 = this.m43; + this.m43 = tmp; +} + +CanvasMatrix4.prototype.invert = function() +{ + // Calculate the 4x4 determinant + // If the determinant is zero, + // then the inverse matrix is not unique. + var det = this._determinant4x4(); + + if (Math.abs(det) < 1e-8) + return null; + + this._makeAdjoint(); + + // Scale the adjoint matrix to get the inverse + this.m11 /= det; + this.m12 /= det; + this.m13 /= det; + this.m14 /= det; + + this.m21 /= det; + this.m22 /= det; + this.m23 /= det; + this.m24 /= det; + + this.m31 /= det; + this.m32 /= det; + this.m33 /= det; + this.m34 /= det; + + this.m41 /= det; + this.m42 /= det; + this.m43 /= det; + this.m44 /= det; +} + +CanvasMatrix4.prototype.translate = function(x,y,z) +{ + if (x == undefined) + x = 0; + if (y == undefined) + y = 0; + if (z == undefined) + z = 0; + + var matrix = new CanvasMatrix4(); + matrix.m41 = x; + matrix.m42 = y; + matrix.m43 = z; + + this.multRight(matrix); +} + +CanvasMatrix4.prototype.scale = function(x,y,z) +{ + if (x == undefined) + x = 1; + if (z == undefined) { + if (y == undefined) { + y = x; + z = x; + } + else + z = 1; + } + else if (y == undefined) + y = x; + + var matrix = new CanvasMatrix4(); + matrix.m11 = x; + matrix.m22 = y; + matrix.m33 = z; + + this.multRight(matrix); +} + +CanvasMatrix4.prototype.rotate = function(angle,x,y,z) +{ + // angles are in degrees. Switch to radians + angle = angle / 180 * Math.PI; + + angle /= 2; + var sinA = Math.sin(angle); + var cosA = Math.cos(angle); + var sinA2 = sinA * sinA; + + // normalize + var length = Math.sqrt(x * x + y * y + z * z); + if (length == 0) { + // bad vector, just use something reasonable + x = 0; + y = 0; + z = 1; + } else if (length != 1) { + x /= length; + y /= length; + z /= length; + } + + var mat = new CanvasMatrix4(); + + // optimize case where axis is along major axis + if (x == 1 && y == 0 && z == 0) { + mat.m11 = 1; + mat.m12 = 0; + mat.m13 = 0; + mat.m21 = 0; + mat.m22 = 1 - 2 * sinA2; + mat.m23 = 2 * sinA * cosA; + mat.m31 = 0; + mat.m32 = -2 * sinA * cosA; + mat.m33 = 1 - 2 * sinA2; + mat.m14 = mat.m24 = mat.m34 = 0; + mat.m41 = mat.m42 = mat.m43 = 0; + mat.m44 = 1; + } else if (x == 0 && y == 1 && z == 0) { + mat.m11 = 1 - 2 * sinA2; + mat.m12 = 0; + mat.m13 = -2 * sinA * cosA; + mat.m21 = 0; + mat.m22 = 1; + mat.m23 = 0; + mat.m31 = 2 * sinA * cosA; + mat.m32 = 0; + mat.m33 = 1 - 2 * sinA2; + mat.m14 = mat.m24 = mat.m34 = 0; + mat.m41 = mat.m42 = mat.m43 = 0; + mat.m44 = 1; + } else if (x == 0 && y == 0 && z == 1) { + mat.m11 = 1 - 2 * sinA2; + mat.m12 = 2 * sinA * cosA; + mat.m13 = 0; + mat.m21 = -2 * sinA * cosA; + mat.m22 = 1 - 2 * sinA2; + mat.m23 = 0; + mat.m31 = 0; + mat.m32 = 0; + mat.m33 = 1; + mat.m14 = mat.m24 = mat.m34 = 0; + mat.m41 = mat.m42 = mat.m43 = 0; + mat.m44 = 1; + } else { + var x2 = x*x; + var y2 = y*y; + var z2 = z*z; + + mat.m11 = 1 - 2 * (y2 + z2) * sinA2; + mat.m12 = 2 * (x * y * sinA2 + z * sinA * cosA); + mat.m13 = 2 * (x * z * sinA2 - y * sinA * cosA); + mat.m21 = 2 * (y * x * sinA2 - z * sinA * cosA); + mat.m22 = 1 - 2 * (z2 + x2) * sinA2; + mat.m23 = 2 * (y * z * sinA2 + x * sinA * cosA); + mat.m31 = 2 * (z * x * sinA2 + y * sinA * cosA); + mat.m32 = 2 * (z * y * sinA2 - x * sinA * cosA); + mat.m33 = 1 - 2 * (x2 + y2) * sinA2; + mat.m14 = mat.m24 = mat.m34 = 0; + mat.m41 = mat.m42 = mat.m43 = 0; + mat.m44 = 1; + } + this.multRight(mat); +} + +CanvasMatrix4.prototype.multRight = function(mat) +{ + var m11 = (this.m11 * mat.m11 + this.m12 * mat.m21 + + this.m13 * mat.m31 + this.m14 * mat.m41); + var m12 = (this.m11 * mat.m12 + this.m12 * mat.m22 + + this.m13 * mat.m32 + this.m14 * mat.m42); + var m13 = (this.m11 * mat.m13 + this.m12 * mat.m23 + + this.m13 * mat.m33 + this.m14 * mat.m43); + var m14 = (this.m11 * mat.m14 + this.m12 * mat.m24 + + this.m13 * mat.m34 + this.m14 * mat.m44); + + var m21 = (this.m21 * mat.m11 + this.m22 * mat.m21 + + this.m23 * mat.m31 + this.m24 * mat.m41); + var m22 = (this.m21 * mat.m12 + this.m22 * mat.m22 + + this.m23 * mat.m32 + this.m24 * mat.m42); + var m23 = (this.m21 * mat.m13 + this.m22 * mat.m23 + + this.m23 * mat.m33 + this.m24 * mat.m43); + var m24 = (this.m21 * mat.m14 + this.m22 * mat.m24 + + this.m23 * mat.m34 + this.m24 * mat.m44); + + var m31 = (this.m31 * mat.m11 + this.m32 * mat.m21 + + this.m33 * mat.m31 + this.m34 * mat.m41); + var m32 = (this.m31 * mat.m12 + this.m32 * mat.m22 + + this.m33 * mat.m32 + this.m34 * mat.m42); + var m33 = (this.m31 * mat.m13 + this.m32 * mat.m23 + + this.m33 * mat.m33 + this.m34 * mat.m43); + var m34 = (this.m31 * mat.m14 + this.m32 * mat.m24 + + this.m33 * mat.m34 + this.m34 * mat.m44); + + var m41 = (this.m41 * mat.m11 + this.m42 * mat.m21 + + this.m43 * mat.m31 + this.m44 * mat.m41); + var m42 = (this.m41 * mat.m12 + this.m42 * mat.m22 + + this.m43 * mat.m32 + this.m44 * mat.m42); + var m43 = (this.m41 * mat.m13 + this.m42 * mat.m23 + + this.m43 * mat.m33 + this.m44 * mat.m43); + var m44 = (this.m41 * mat.m14 + this.m42 * mat.m24 + + this.m43 * mat.m34 + this.m44 * mat.m44); + + this.m11 = m11; + this.m12 = m12; + this.m13 = m13; + this.m14 = m14; + + this.m21 = m21; + this.m22 = m22; + this.m23 = m23; + this.m24 = m24; + + this.m31 = m31; + this.m32 = m32; + this.m33 = m33; + this.m34 = m34; + + this.m41 = m41; + this.m42 = m42; + this.m43 = m43; + this.m44 = m44; +} + +CanvasMatrix4.prototype.multLeft = function(mat) +{ + var m11 = (mat.m11 * this.m11 + mat.m12 * this.m21 + + mat.m13 * this.m31 + mat.m14 * this.m41); + var m12 = (mat.m11 * this.m12 + mat.m12 * this.m22 + + mat.m13 * this.m32 + mat.m14 * this.m42); + var m13 = (mat.m11 * this.m13 + mat.m12 * this.m23 + + mat.m13 * this.m33 + mat.m14 * this.m43); + var m14 = (mat.m11 * this.m14 + mat.m12 * this.m24 + + mat.m13 * this.m34 + mat.m14 * this.m44); + + var m21 = (mat.m21 * this.m11 + mat.m22 * this.m21 + + mat.m23 * this.m31 + mat.m24 * this.m41); + var m22 = (mat.m21 * this.m12 + mat.m22 * this.m22 + + mat.m23 * this.m32 + mat.m24 * this.m42); + var m23 = (mat.m21 * this.m13 + mat.m22 * this.m23 + + mat.m23 * this.m33 + mat.m24 * this.m43); + var m24 = (mat.m21 * this.m14 + mat.m22 * this.m24 + + mat.m23 * this.m34 + mat.m24 * this.m44); + + var m31 = (mat.m31 * this.m11 + mat.m32 * this.m21 + + mat.m33 * this.m31 + mat.m34 * this.m41); + var m32 = (mat.m31 * this.m12 + mat.m32 * this.m22 + + mat.m33 * this.m32 + mat.m34 * this.m42); + var m33 = (mat.m31 * this.m13 + mat.m32 * this.m23 + + mat.m33 * this.m33 + mat.m34 * this.m43); + var m34 = (mat.m31 * this.m14 + mat.m32 * this.m24 + + mat.m33 * this.m34 + mat.m34 * this.m44); + + var m41 = (mat.m41 * this.m11 + mat.m42 * this.m21 + + mat.m43 * this.m31 + mat.m44 * this.m41); + var m42 = (mat.m41 * this.m12 + mat.m42 * this.m22 + + mat.m43 * this.m32 + mat.m44 * this.m42); + var m43 = (mat.m41 * this.m13 + mat.m42 * this.m23 + + mat.m43 * this.m33 + mat.m44 * this.m43); + var m44 = (mat.m41 * this.m14 + mat.m42 * this.m24 + + mat.m43 * this.m34 + mat.m44 * this.m44); + + this.m11 = m11; + this.m12 = m12; + this.m13 = m13; + this.m14 = m14; + + this.m21 = m21; + this.m22 = m22; + this.m23 = m23; + this.m24 = m24; + + this.m31 = m31; + this.m32 = m32; + this.m33 = m33; + this.m34 = m34; + + this.m41 = m41; + this.m42 = m42; + this.m43 = m43; + this.m44 = m44; +} + +CanvasMatrix4.prototype.ortho = function(left, right, bottom, top, near, far) +{ + var tx = (left + right) / (left - right); + var ty = (top + bottom) / (top - bottom); + var tz = (far + near) / (far - near); + + var matrix = new CanvasMatrix4(); + matrix.m11 = 2 / (left - right); + matrix.m12 = 0; + matrix.m13 = 0; + matrix.m14 = 0; + matrix.m21 = 0; + matrix.m22 = 2 / (top - bottom); + matrix.m23 = 0; + matrix.m24 = 0; + matrix.m31 = 0; + matrix.m32 = 0; + matrix.m33 = -2 / (far - near); + matrix.m34 = 0; + matrix.m41 = tx; + matrix.m42 = ty; + matrix.m43 = tz; + matrix.m44 = 1; + + this.multRight(matrix); +} + +CanvasMatrix4.prototype.frustum = function(left, right, bottom, top, near, far) +{ + var matrix = new CanvasMatrix4(); + var A = (right + left) / (right - left); + var B = (top + bottom) / (top - bottom); + var C = -(far + near) / (far - near); + var D = -(2 * far * near) / (far - near); + + matrix.m11 = (2 * near) / (right - left); + matrix.m12 = 0; + matrix.m13 = 0; + matrix.m14 = 0; + + matrix.m21 = 0; + matrix.m22 = 2 * near / (top - bottom); + matrix.m23 = 0; + matrix.m24 = 0; + + matrix.m31 = A; + matrix.m32 = B; + matrix.m33 = C; + matrix.m34 = -1; + + matrix.m41 = 0; + matrix.m42 = 0; + matrix.m43 = D; + matrix.m44 = 0; + + this.multRight(matrix); +} + +CanvasMatrix4.prototype.perspective = function(fovy, aspect, zNear, zFar) +{ + var top = Math.tan(fovy * Math.PI / 360) * zNear; + var bottom = -top; + var left = aspect * bottom; + var right = aspect * top; + this.frustum(left, right, bottom, top, zNear, zFar); +} + +CanvasMatrix4.prototype.lookat = function(eyex, eyey, eyez, centerx, centery, centerz, upx, upy, upz) +{ + var matrix = new CanvasMatrix4(); + + // Make rotation matrix + + // Z vector + var zx = eyex - centerx; + var zy = eyey - centery; + var zz = eyez - centerz; + var mag = Math.sqrt(zx * zx + zy * zy + zz * zz); + if (mag) { + zx /= mag; + zy /= mag; + zz /= mag; + } + + // Y vector + var yx = upx; + var yy = upy; + var yz = upz; + + // X vector = Y cross Z + xx = yy * zz - yz * zy; + xy = -yx * zz + yz * zx; + xz = yx * zy - yy * zx; + + // Recompute Y = Z cross X + yx = zy * xz - zz * xy; + yy = -zx * xz + zz * xx; + yx = zx * xy - zy * xx; + + // cross product gives area of parallelogram, which is < 1.0 for + // non-perpendicular unit-length vectors; so normalize x, y here + + mag = Math.sqrt(xx * xx + xy * xy + xz * xz); + if (mag) { + xx /= mag; + xy /= mag; + xz /= mag; + } + + mag = Math.sqrt(yx * yx + yy * yy + yz * yz); + if (mag) { + yx /= mag; + yy /= mag; + yz /= mag; + } + + matrix.m11 = xx; + matrix.m12 = xy; + matrix.m13 = xz; + matrix.m14 = 0; + + matrix.m21 = yx; + matrix.m22 = yy; + matrix.m23 = yz; + matrix.m24 = 0; + + matrix.m31 = zx; + matrix.m32 = zy; + matrix.m33 = zz; + matrix.m34 = 0; + + matrix.m41 = 0; + matrix.m42 = 0; + matrix.m43 = 0; + matrix.m44 = 1; + matrix.translate(-eyex, -eyey, -eyez); + + this.multRight(matrix); +} + +// Support functions +CanvasMatrix4.prototype._determinant2x2 = function(a, b, c, d) +{ + return a * d - b * c; +} + +CanvasMatrix4.prototype._determinant3x3 = function(a1, a2, a3, b1, b2, b3, c1, c2, c3) +{ + return a1 * this._determinant2x2(b2, b3, c2, c3) + - b1 * this._determinant2x2(a2, a3, c2, c3) + + c1 * this._determinant2x2(a2, a3, b2, b3); +} + +CanvasMatrix4.prototype._determinant4x4 = function() +{ + var a1 = this.m11; + var b1 = this.m12; + var c1 = this.m13; + var d1 = this.m14; + + var a2 = this.m21; + var b2 = this.m22; + var c2 = this.m23; + var d2 = this.m24; + + var a3 = this.m31; + var b3 = this.m32; + var c3 = this.m33; + var d3 = this.m34; + + var a4 = this.m41; + var b4 = this.m42; + var c4 = this.m43; + var d4 = this.m44; + + return a1 * this._determinant3x3(b2, b3, b4, c2, c3, c4, d2, d3, d4) + - b1 * this._determinant3x3(a2, a3, a4, c2, c3, c4, d2, d3, d4) + + c1 * this._determinant3x3(a2, a3, a4, b2, b3, b4, d2, d3, d4) + - d1 * this._determinant3x3(a2, a3, a4, b2, b3, b4, c2, c3, c4); +} + +CanvasMatrix4.prototype._makeAdjoint = function() +{ + var a1 = this.m11; + var b1 = this.m12; + var c1 = this.m13; + var d1 = this.m14; + + var a2 = this.m21; + var b2 = this.m22; + var c2 = this.m23; + var d2 = this.m24; + + var a3 = this.m31; + var b3 = this.m32; + var c3 = this.m33; + var d3 = this.m34; + + var a4 = this.m41; + var b4 = this.m42; + var c4 = this.m43; + var d4 = this.m44; + + // Row column labeling reversed since we transpose rows & columns + this.m11 = this._determinant3x3(b2, b3, b4, c2, c3, c4, d2, d3, d4); + this.m21 = - this._determinant3x3(a2, a3, a4, c2, c3, c4, d2, d3, d4); + this.m31 = this._determinant3x3(a2, a3, a4, b2, b3, b4, d2, d3, d4); + this.m41 = - this._determinant3x3(a2, a3, a4, b2, b3, b4, c2, c3, c4); + + this.m12 = - this._determinant3x3(b1, b3, b4, c1, c3, c4, d1, d3, d4); + this.m22 = this._determinant3x3(a1, a3, a4, c1, c3, c4, d1, d3, d4); + this.m32 = - this._determinant3x3(a1, a3, a4, b1, b3, b4, d1, d3, d4); + this.m42 = this._determinant3x3(a1, a3, a4, b1, b3, b4, c1, c3, c4); + + this.m13 = this._determinant3x3(b1, b2, b4, c1, c2, c4, d1, d2, d4); + this.m23 = - this._determinant3x3(a1, a2, a4, c1, c2, c4, d1, d2, d4); + this.m33 = this._determinant3x3(a1, a2, a4, b1, b2, b4, d1, d2, d4); + this.m43 = - this._determinant3x3(a1, a2, a4, b1, b2, b4, c1, c2, c4); + + this.m14 = - this._determinant3x3(b1, b2, b3, c1, c2, c3, d1, d2, d3); + this.m24 = this._determinant3x3(a1, a2, a3, c1, c2, c3, d1, d2, d3); + this.m34 = - this._determinant3x3(a1, a2, a3, b1, b2, b3, d1, d2, d3); + this.m44 = this._determinant3x3(a1, a2, a3, b1, b2, b3, c1, c2, c3); +} --- rgl-0.95.1441.orig/debian/overrides +++ rgl-0.95.1441/debian/overrides @@ -0,0 +1,21 @@ +r-cran-rgl: image-file-in-usr-lib usr/lib/R/site-library/rgl/textures/refmap.png +r-cran-rgl: image-file-in-usr-lib usr/lib/R/site-library/rgl/textures/particle.png +r-cran-rgl: image-file-in-usr-lib usr/lib/R/site-library/rgl/textures/bump_dust.png +r-cran-rgl: image-file-in-usr-lib usr/lib/R/site-library/rgl/textures/sunsleep.png +r-cran-rgl: image-file-in-usr-lib usr/lib/R/site-library/rgl/textures/nightfire.png +r-cran-rgl: image-file-in-usr-lib usr/lib/R/site-library/rgl/textures/rgl2.png +r-cran-rgl: executable-not-elf-or-script ./usr/lib/R/site-library/rgl/ChangeLog +r-cran-rgl: executable-not-elf-or-script ./usr/lib/R/site-library/rgl/demodata/population.dat +r-cran-rgl: executable-not-elf-or-script ./usr/lib/R/site-library/rgl/textures/sunsleep.png +r-cran-rgl: executable-not-elf-or-script ./usr/lib/R/site-library/rgl/textures/refmap.png +r-cran-rgl: executable-not-elf-or-script ./usr/lib/R/site-library/rgl/textures/rgl2.png +r-cran-rgl: executable-not-elf-or-script ./usr/lib/R/site-library/rgl/textures/particle.png +r-cran-rgl: executable-not-elf-or-script ./usr/lib/R/site-library/rgl/textures/bump_dust.png +r-cran-rgl: executable-not-elf-or-script ./usr/lib/R/site-library/rgl/textures/nightfire.png +r-cran-rgl: executable-not-elf-or-script ./usr/lib/R/site-library/rgl/demodata/region.dat +r-cran-rgl: image-file-in-usr-lib usr/lib/R/site-library/rgl/textures/world.png +r-cran-rgl: image-file-in-usr-lib usr/lib/R/site-library/rgl/textures/worldsmall.png +r-cran-rgl: executable-not-elf-or-script ./usr/lib/R/site-library/rgl/fonts/FreeSerif.ttf +r-cran-rgl: executable-not-elf-or-script ./usr/lib/R/site-library/rgl/fonts/FreeSans.ttf +r-cran-rgl: executable-not-elf-or-script ./usr/lib/R/site-library/rgl/NEWS +r-cran-rgl: executable-not-elf-or-script ./usr/lib/R/site-library/rgl/fonts/FreeMono.ttf --- rgl-0.95.1441.orig/debian/r-cran-rgl.lintian-overrides +++ rgl-0.95.1441/debian/r-cran-rgl.lintian-overrides @@ -0,0 +1,31 @@ +r-cran-rgl: duplicate-font-file usr/lib/R/site-library/rgl/fonts/FreeMono.ttf also in ttf-freefont +r-cran-rgl: duplicate-font-file usr/lib/R/site-library/rgl/fonts/FreeSans.ttf also in ttf-freefont +r-cran-rgl: duplicate-font-file usr/lib/R/site-library/rgl/fonts/FreeSerif.ttf also in ttf-freefont +r-cran-rgl: image-file-in-usr-lib usr/lib/R/site-library/rgl/textures/bump_dust.png +r-cran-rgl: image-file-in-usr-lib usr/lib/R/site-library/rgl/textures/nightfire.png +r-cran-rgl: image-file-in-usr-lib usr/lib/R/site-library/rgl/textures/particle.png +r-cran-rgl: image-file-in-usr-lib usr/lib/R/site-library/rgl/textures/refmap.png +r-cran-rgl: image-file-in-usr-lib usr/lib/R/site-library/rgl/textures/rgl2.png +r-cran-rgl: image-file-in-usr-lib usr/lib/R/site-library/rgl/textures/sunsleep.png +r-cran-rgl: image-file-in-usr-lib usr/lib/R/site-library/rgl/textures/world.png +r-cran-rgl: image-file-in-usr-lib usr/lib/R/site-library/rgl/textures/worldsmall.png +r-cran-rgl: embedded-library usr/lib/R/site-library/rgl/libs/rgl.so: gl2ps +r-cran-rgl: executable-not-elf-or-script usr/lib/R/site-library/rgl/textures/refmap.png +r-cran-rgl: executable-not-elf-or-script usr/lib/R/site-library/rgl/fonts/FreeMono.ttf +r-cran-rgl: executable-not-elf-or-script usr/lib/R/site-library/rgl/textures/sunsleep.png +r-cran-rgl: executable-not-elf-or-script usr/lib/R/site-library/rgl/fonts/FreeSans.ttf +r-cran-rgl: executable-not-elf-or-script usr/lib/R/site-library/rgl/textures/rgl2.png +r-cran-rgl: executable-not-elf-or-script usr/lib/R/site-library/rgl/textures/worldsmall.png +r-cran-rgl: executable-not-elf-or-script usr/lib/R/site-library/rgl/demodata/region.dat +r-cran-rgl: executable-not-elf-or-script usr/lib/R/site-library/rgl/demodata/population.dat +r-cran-rgl: executable-not-elf-or-script usr/lib/R/site-library/rgl/fonts/FreeSerif.ttf +r-cran-rgl: executable-not-elf-or-script usr/lib/R/site-library/rgl/textures/nightfire.png +r-cran-rgl: executable-not-elf-or-script usr/lib/R/site-library/rgl/textures/world.png +r-cran-rgl: executable-not-elf-or-script usr/lib/R/site-library/rgl/textures/particle.png +r-cran-rgl: executable-not-elf-or-script usr/lib/R/site-library/rgl/textures/bump_dust.png +r-cran-rgl: executable-not-elf-or-script usr/lib/R/site-library/rgl/NEWS +r-cran-rgl: executable-not-elf-or-script usr/lib/R/site-library/rgl/WebGL/template.html +r-cran-rgl: executable-not-elf-or-script usr/lib/R/site-library/rgl/WebGL/CanvasMatrix.js +r-cran-rgl: duplicate-font-file usr/lib/R/site-library/rgl/fonts/FreeMono.ttf also in fonts-freefont-ttf +r-cran-rgl: duplicate-font-file usr/lib/R/site-library/rgl/fonts/FreeSans.ttf also in fonts-freefont-ttf +r-cran-rgl: duplicate-font-file usr/lib/R/site-library/rgl/fonts/FreeSerif.ttf also in fonts-freefont-ttf --- rgl-0.95.1441.orig/debian/rules +++ rgl-0.95.1441/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# debian/rules file for the Debian/GNU Linux r-cran-rgl package +# Copyright 2004-2006 by Dirk Eddelbuettel + +include /usr/share/R/debian/r-cran.mk --- rgl-0.95.1441.orig/debian/source.lintian-overrides.unused +++ rgl-0.95.1441/debian/source.lintian-overrides.unused @@ -0,0 +1 @@ +rgl source: source-is-missing inst/WebGL/CanvasMatrix.js --- rgl-0.95.1441.orig/debian/watch +++ rgl-0.95.1441/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://cran.r-project.org/src/contrib/rgl_([-0-9\.]*)\.tar\.gz +#opts="uversionmangle=s/-/\./" \