debian/0000755000000000000000000000000012142237166007172 5ustar debian/changelog0000644000000000000000000002023512142236722011043 0ustar freeglut (2.8.1-1) unstable; urgency=low * [023bfc0] Imported Upstream version 2.8.1 * [e03d270] Bump Standards-Version: 3.9.4, no changes. * [995b0db] Remove obsolete DM-Upload flag. * [9ace4fe] Use dh-autoreconf. * [31238c7] Remove BD on quilt. -- Anton Gladky Wed, 01 May 2013 21:18:44 +0200 freeglut (2.8.0-1~exp1) experimental; urgency=low [ Chow Loong Jin ] * [cd908f0] Build-depend on libxxf86vm-dev for amd64 and i386. [ Anton Gladky ] * [3fbf337] Imported Upstream version 2.8.0. (Closes: #660518) * [adf33b7] Update/remove patches. -- Anton Gladky Mon, 19 Nov 2012 19:14:36 +0100 freeglut (2.6.0-4) unstable; urgency=low [ Anton Gladky ] * [8100d04] [861ed2a] Install dbg-file into correct place. (Closes: #681513) [ Sebastian Ramacher ] * [4083802] Fix buffer overflow. (Closes: #430160) -- Anton Gladky Fri, 13 Jul 2012 23:52:39 +0200 freeglut (2.6.0-3) unstable; urgency=low [ Anton Gladky ] * [14a5bb4] Use compat-level 9. * [9adaee5] Implement multiarch. (Closes: #677735) * [3b4bc1a] Fix path to dbg-libraries. (Closes: #331244) * [a515c32] Set DM-Upload-Allowed to yes. * [3439f5b] Disable *fghJoystickWalkUSBdev on kfreeBSD* systems. Prevents FTBFS on those platforms. (Closes: #678571) [ Michael Gilbert ] * [68e563b] Automatically handle build flags via debhelper 9. -- Anton Gladky Sat, 30 Jun 2012 16:45:48 -0400 freeglut (2.6.0-2) unstable; urgency=low * [58daa57] Simplify debian/rules, use dh 8. * [994c8be] Add myself as maintainer. (Closes: #674870) * [8d9ff8a] Move git-repository to collab-maint. * [1949549] Fix hardcoded list of kFreeBSD architectures. (Closes: #634674) -- Anton Gladky Tue, 19 Jun 2012 20:42:58 +0200 freeglut (2.6.0-1.1) unstable; urgency=low * Non-maintainer upload. * FTBFS with binutils-gold (Closes: #554405) - debian/patches/04_ld_no_add_needed.diff - debian/patches/05_gold.diff thanks to Matthias Klose . -- HIGUCHI Daisuke (VDR dai) Mon, 09 Jan 2012 17:23:54 +0900 freeglut (2.6.0-1) unstable; urgency=low * New upstream release. * Refresh patches. * Update Standards-Version to 3.8.4. * Move to 3.0 (quilt) source format. * Add missing ${misc:Depends}. -- Bradley Smith Sat, 27 Mar 2010 12:02:20 +0000 freeglut (2.4.0-9) unstable; urgency=low * Adjust 01_fix_kfreebsd.diff for GNU/kfreebsd 8.x. Thanks to Petr Salinger . Closes: #561078. * Fix hurd FTBFS. Thanks to Pino Toscano . Closes: #553409. -- Bradley Smith Mon, 14 Dec 2009 22:22:41 +0000 freeglut (2.4.0-8) unstable; urgency=low * Move autoreconf to build time. Closes: #345224. -- Bradley Smith Tue, 01 Sep 2009 19:07:14 +0100 freeglut (2.4.0-7) unstable; urgency=low * New maintainer. Closes: #543435. * Acknowledge previous NMU. * debian/control - Update Standards-Version to 3.8.3. - Replace Source-Version substvar. - Add Vcs-* and Homepage fields. - Update debhelper version to 7. - Adjust descriptions. - Fix debug package section and priority. - Remove outdated conflicts, provides and depends. * Move top srcdir changes to quilt patch system. * Tidy up debian/rules. * Use config.{guess,sub} from autotools-dev. * Convert copyright to machine readable format. -- Bradley Smith Mon, 31 Aug 2009 15:04:47 +0100 freeglut (2.4.0-6.1) unstable; urgency=low * NMU. * autogen.sh, debian/control: Use automake 1.9 instead of automake 1.8. (Closes: #473305) -- Eric Dorland Sat, 03 May 2008 00:50:47 -0400 freeglut (2.4.0-6) unstable; urgency=low * Acknowledge NMUs. Thanks Daniel and Aurelien! (Closes: #362210, #442388, #345224) * Updated watch file regex. * Updated standards version to 3.7.2 * re-Lintian-clean the package. -- Jamie Wilkinson Sat, 17 Nov 2007 02:27:06 +1100 freeglut (2.4.0-5.2) unstable; urgency=low * Non-maintainer upload. * Fix compilation with gcc-4.2. Closes: #362210. -- Daniel Schepler Sat, 15 Sep 2007 13:25:04 -0400 freeglut (2.4.0-5.1) unstable; urgency=low * Non-maintainer upload. * Build-depend on libusbhid on GNU/kFreeBSD. * Fix FreeBSD kernel detection. -- Aurelien Jarno Sun, 11 Mar 2007 18:22:09 +0100 freeglut (2.4.0-5) unstable; urgency=low * Bumped standards version to 3.6.2 (no other changed required). * Dump config.log if configure blows up. * Provide and conflict freeglut-dev and libglut-dev as per LPG. * Update depends on dev package to match build depends, as per LPG. * Updated watch file to match sourceforge syntax in uscan manual. -- Jamie Wilkinson Wed, 5 Apr 2006 15:51:26 +1000 freeglut (2.4.0-4) unstable; urgency=low * Added watch file. -- Jamie Wilkinson Thu, 17 Nov 2005 15:06:16 +1100 freeglut (2.4.0-3) unstable; urgency=low * Fix GLUT_CURSOR_INHERIT bug, with patch from Vilhelm Sjöberg , via Enrique Vaamonde . (Closes: #334446) -- Jamie Wilkinson Thu, 17 Nov 2005 14:43:12 +1100 freeglut (2.4.0-2) unstable; urgency=low * Really fix the build dependencies for libGL. -- Jamie Wilkinson Thu, 13 Oct 2005 19:20:21 +1000 freeglut (2.4.0-1) unstable; urgency=low * New upstream release. (Closes: #319365, #331552) - Fixes key repeat bug. (Closes: #248201, #293687) - Remove patch for GLUT_XLIB_IMPLEMENTATION as now fixed upstream. - GLUT_ACTION_CONTINUE_EXECUTION fixed in new upstream. (Closes: #306369, 325067) - Acknowledge NMU 2.2.0-8.1: 64bit fixes incorporated upstream. (Closes: #296242) * Update build dependencys on libGL and libGLU from Xorg. (Closes: #323177) * Remove dependency on transition packages that no longer exist. (Closes: #265373) * Add build dependency on autogoats. -- Jamie Wilkinson Thu, 13 Oct 2005 09:45:46 +1000 freeglut (2.2.0-8.1) unstable; urgency=low * Non-maintainer upload. * Apply patch from Paul Brook to fix build failure with GCC 4.0 (Closes: #296242). -- Roger Leigh Tue, 19 Jul 2005 23:15:25 +0100 freeglut (2.2.0-8) unstable; urgency=low * Added stripped debugging symbols to the freeglut3-dbg package. -- Jamie Wilkinson Sat, 22 May 2004 12:55:56 +1000 freeglut (2.2.0-7) unstable; urgency=low * Fix broken Depends fields, thanks to Matt Kraai. (Closes: #248560, #248091) -- Jamie Wilkinson Sun, 16 May 2004 11:00:36 +1000 freeglut (2.2.0-6.1) unstable; urgency=medium * NMU. * Rebuild (closes: #248091). -- Matthias Klose Sun, 9 May 2004 08:57:42 +0200 freeglut (2.2.0-6) unstable; urgency=low * Fix typo in Depends: line for freeglut3-dev. * Add dependencies on libgl-dev and libglu-dev to freeglut3-dev. (Closes: #247409) * Remove suggestion that manpages are included in freeglut3-dev. (Closes: #247320) -- Jamie Wilkinson Wed, 5 May 2004 15:48:32 +1000 freeglut (2.2.0-5) unstable; urgency=low * Make freeglut3-dev depend on libglut3-dev >= 3.7-25, instead of libglut3, thus restoring balance to the force -- Jamie Wilkinson Tue, 27 Apr 2004 23:24:03 +1000 freeglut (2.2.0-4) unstable; urgency=low * Have freeglut3 depend on libglut3 over 3.7-25 so that the packages can upgrade cleanly. -- Jamie Wilkinson Tue, 27 Apr 2004 21:53:20 +1000 freeglut (2.2.0-3) unstable; urgency=low * Initial upload into Debian main. (Closes: #237378) -- Jamie Wilkinson Sat, 17 Apr 2004 14:04:23 +1000 freeglut (2.2.0-2) experimental; urgency=low * Added missing #define for GLUT_XLIB_IMPLEMENTATION. -- Jamie Wilkinson Tue, 13 Apr 2004 10:46:17 +1000 freeglut (2.2.0-1) experimental; urgency=low * Initial Release. - Provides, Conflicts, and Replaces all the old glut packages. -- Jamie Wilkinson Thu, 11 Mar 2004 09:14:38 +1100 debian/copyright0000644000000000000000000000406312052410103011110 0ustar Download: http://freeglut.sourceforge.net/ Authors: Pawel W. Olszta Steve Baker Files: * Copyright: (C) 1999-2000 Pawel W. Olszta. All Rights Reserved. License: MIT/X11 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies or substantial portions of the Software. . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL PAWEL W. OLSZTA BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. . Except as contained in this notice, the name of Pawel W. Olszta shall not be used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from Pawel W. Olszta. Files: debian/* Copyright: (C) 2009 Bradley Smith License: GPL-2+ This program 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 program 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. On Debian systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/rules0000755000000000000000000000123512140264413010244 0ustar #!/usr/bin/make -f %: dh $@ --parallel --with autoreconf DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) export DEB_BUILD_MAINT_OPTIONS := hardening=+all extra_flags = \ --host="$(DEB_HOST_GNU_TYPE)" \ --build="$(DEB_BUILD_GNU_TYPE)" \ --prefix="/usr" \ --mandir="/usr/share/man" \ --infodir="/usr/share/info" \ override_dh_auto_configure: dh_auto_configure -- $(extra_flags) override_dh_auto_install-arch: dh_auto_install -a -- DESTDIR=$(CURDIR)/debian/tmp find . -name '*.la' -print0 | xargs -0 rm -f override_dh_strip: dh_strip --dbg-package=freeglut3-dbg debian/freeglut3.install0000644000000000000000000000006212052410103012440 0ustar usr/lib/*/libglut.so.3.9.0 usr/lib/*/libglut.so.3 debian/watch0000644000000000000000000000007412052410103010204 0ustar version=3 http://sf.net/freeglut/freeglut-([\d.]+)\.tar\.gz debian/compat0000644000000000000000000000000212052410103010350 0ustar 9 debian/freeglut3-dev.install0000644000000000000000000000022512052410103013215 0ustar usr/include/GL/glut.h usr/include/GL/freeglut.h usr/include/GL/freeglut_std.h usr/include/GL/freeglut_ext.h usr/lib/*/libglut.a usr/lib/*/libglut.so debian/patches/0000755000000000000000000000000012142236776010627 5ustar debian/patches/06_fix_FTBFS_kFreeBSD.patch0000644000000000000000000000174312140262633015326 0ustar Description: disable *fghJoystickWalkUSBdev on kfreeBSD* systems. Prevents FTBFS Author: Anton Gladky Applied-Upstream: https://svn.redports.org/gahr/graphics/freeglut/freeglut-2.8.0.diff Last-Update: 2012-11-19 --- a/src/freeglut_joystick.c +++ b/src/freeglut_joystick.c @@ -152,7 +152,11 @@ # include # endif # endif -# include +# if !(defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) +# include +# else +# include +# endif # include /* Compatibility with older usb.h revisions */ @@ -199,6 +203,7 @@ */ static char *fghJoystickWalkUSBdev(int f, char *dev, char *out, int outlen) { +# if !(defined(__FreeBSD__) || defined(__FreeBSD_kernel__)) struct usb_device_info di; int i, a; char *cp; @@ -220,6 +225,7 @@ return out; } } +# endif return NULL; } debian/patches/series0000644000000000000000000000011012140262633012021 0ustar 03_fix_hurd.diff 06_fix_FTBFS_kFreeBSD.patch 07_HOME-fixed-buffer.patch debian/patches/07_HOME-fixed-buffer.patch0000644000000000000000000000213512140262633015240 0ustar Description: Fixes buffer overflow with the handling of $HOME Author: Sebastian Ramacher Reviewed-by: Anton Gladky Bug-Debian: http://bugs.debian.org/430160 Last-Update: 2012-11-19 --- a/src/freeglut_joystick.c +++ b/src/freeglut_joystick.c @@ -1339,7 +1339,8 @@ if( joy->os->is_analog ) { FILE *joyfile; - char joyfname[ 1024 ]; + char* joyfname = NULL; + const char* home = NULL; int noargs, in_no_axes; float axes [ _JS_MAX_AXES ]; @@ -1353,9 +1354,17 @@ if( joy->error ) return; - snprintf( joyfname, sizeof(joyfname), "%s/.joy%drc", getenv( "HOME" ), joy->id ); + home = getenv( "HOME" ); + joy->error =( home == NULL ); + if( joy->error ) + return; + + joy->error =( asprintf( &joyfname, "%s/.joy%drc", home, joy->id ) == -1 ); + if( joy->error ) + return joyfile = fopen( joyfname, "r" ); + free( joyfname ); joy->error =( joyfile == NULL ); if( joy->error ) return; debian/patches/03_fix_hurd.diff0000644000000000000000000000043312142236776013573 0ustar Description: fix compilation on hurd --- a/src/freeglut_joystick.c +++ b/src/freeglut_joystick.c @@ -1095,6 +1095,8 @@ joy->num_axes = joy->num_buttons = 0; joy->name[ 0 ] = '\0'; + i = 0; + #if TARGET_HOST_MACINTOSH /* XXX FIXME: get joystick name in Mac */ debian/control0000644000000000000000000000537512142142602010575 0ustar Source: freeglut Section: graphics Priority: optional Maintainer: Anton Gladky Build-Depends: debhelper (>= 9), libx11-dev, libxt-dev, libxext-dev, libxi-dev, libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libusbhid-dev [kfreebsd-any], autotools-dev, autoconf, automake, libtool, libxxf86vm-dev [amd64 i386], dh-autoreconf Standards-Version: 3.9.4 Homepage: http://freeglut.sourceforge.net/ Vcs-Git: git://git.debian.org/collab-maint/freeglut.git Vcs-Browser: http://git.debian.org/?p=collab-maint/freeglut.git Package: freeglut3 Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Description: OpenGL Utility Toolkit GLUT is a window system independent toolkit for writing OpenGL programs, implementing a simple windowing API, which makes learning about and exploring OpenGL programming very easy. . GLUT is designed for constructing small to medium sized OpenGL programs, however it is not a full-featured toolkit, so large applications requiring sophisticated user interfaces are better off using native window system toolkits like GTK+ or Motif. Package: freeglut3-dev Section: libdevel Architecture: any Depends: freeglut3 (= ${binary:Version}), libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libxt-dev, libxext-dev, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Description: OpenGL Utility Toolkit development files GLUT is a window system independent toolkit for writing OpenGL programs. It implements a simple windowing API, which makes learning about and exploring OpenGL programming very easy. . GLUT is designed for constructing small to medium sized OpenGL programs, however it is not a full-featured toolkit, so large applications requiring sophisticated user interfaces are better off using native window system toolkits like GTK+ or Motif. . This package contains libraries, and headers suitable for software development with GLUT. Package: freeglut3-dbg Section: debug Priority: extra Architecture: any Depends: freeglut3 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Pre-Depends: ${misc:Pre-Depends} Multi-Arch: same Description: OpenGL Utility Toolkit debugging information GLUT is a window system independent toolkit for writing OpenGL programs. It implements a simple windowing API, which makes learning about and exploring OpenGL programming very easy. . GLUT is designed for constructing small to medium sized OpenGL programs, however it is not a full-featured toolkit, so large applications requiring sophisticated user interfaces are better off using native window system toolkits like GTK+ or Motif. . This package contains debugging symbols useful for tracing bugs in the freeglut3 package. debian/source/0000755000000000000000000000000012052410103010452 5ustar debian/source/format0000644000000000000000000000001412052410103011660 0ustar 3.0 (quilt) debian/freeglut3-dev.docs0000644000000000000000000000002512052410103012475 0ustar doc/*.html doc/*.png