debian/0000775000000000000000000000000012261264063007172 5ustar debian/source/0000775000000000000000000000000011743320542010471 5ustar debian/source/format0000664000000000000000000000001411743320542011677 0ustar 3.0 (quilt) debian/source/patch-header0000664000000000000000000000025711743320542012745 0ustar This patch contains all the Debian-specific changes mixed together. To review them separately, please inspect the GIT history at http://gitorious.org/openscad-debian/opencsg. debian/opencsgexample.10000664000000000000000000000166411743320542012274 0ustar .TH OPENCSGEXAMPLE 1 "2010-06-11" .\" Please adjust this date whenever revising the manpage. .SH NAME opencsgexample \- demo program for the OpenCSG library .SH SYNOPSIS .B opencsgexample .SH DESCRIPTION This manual page documents briefly the \fBopencsg\fP command. .PP \fBopencsgexample\fP is a program that displays built-in 3D demo objects using the constructive solid geometry methods of the OpenCSG library and can thus be used to check if basic OpenCSG functionality is working on a system. .SH OPTIONS The program takes no options. .PP Using the program window's context menu (right mouse button), the object shown, the algorithm used for rendering and display options can be changed at runtime. Whether the object spins or not can be toggled by pressing the space button. .SH AUTHOR opencsgdemo was written by Florian Kirsch. .PP This manual page was written by chrysn , for the Debian project (and may be used by others). debian/libopencsg1.dirs0000664000000000000000000000001011743320542012251 0ustar usr/lib debian/copyright0000664000000000000000000002017011743320542011124 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: opencsg Source: http://opencsg.org/ Comment: The glew directory shipped with opencsg is, in the relevant parts, identical with what is shipped as libglew1.7 in Debian. The copyright information is relevant only as far as shipping the orig tarball is concerned; for building the binary packages, the directory is ignored. . The content of the lower block of File sections is a copy of that package's debian/copyright file, stripped off the header and with the VIM expression s!Files: !Files: glew/! applied. Files: * Copyright: © 2002-2011, Florian Kirsch, Hasso-Plattner-Institute at the University of Potsdam, Germany License: GPL-2 with CGAL exception This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, Version 2, as published by the Free Software Foundation. As a special exception, you have permission to link this library with the CGAL library and distribute executables. . This library 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. . A copy of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2. Files: RenderTexture/* Copyright: © 2002-2004 Mark J. Harris License: ZLIB This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. . Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: . 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. . 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. . 3. This notice may not be removed or altered from any source distribution. Files: debian/* Copyright: © 2011 Christian M. Amsüss License: GPL-2+ Files: glew/include/* Copyright: Copyright 2002-2008 Milan Ikits Copyright 2002-2008 Marcelo E. Magallon Copyright 2002 Lev Povalahev License: BSD-2-clause Files: glew/src/* Copyright: Copyright 2002-2008 Milan Ikits Copyright 2002-2008 Marcelo E. Magallon Copyright 2002 Lev Povalahev License: BSD-2-clause Files: glew/auto/bin/* Copyright: Copyright 2002-2008 Milan Ikits Copyright 2002-2008 Marcelo E. Magallon License: GPL-2+ Files: glew/auto/src/mesa_licence.h Copyright: Copyright 1999-2007 Brian Paul Copyright 2007 Hans de Goede (modifications needed for glew) License: Expat Files: glew/auto/src/glew_license.h Copyright: Copyright 2002-2008 Milan Ikits Copyright 2002-2008 Marcelo E. Magallon Copyright 2002 Lev Povalahev License: BSD-2-clause Files: glew/auto/src/glew_utils.* Copyright: Copyright 2002-2008 Milan Ikits Copyright 2002-2008 Marcelo E. Magallon Copyright 2002 Lev Povalahev License: BSD-2-clause Files: glew/auto/src/* Copyright: Copyright 2002-2008 Milan Ikits Copyright 2002-2008 Marcelo E. Magallon Copyright 2002 Lev Povalahev License: Mesa License: BSD-2-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * 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. * The name of the author may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT OWNER 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. License: GPL-2+ This file 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. Comment: You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: Expat 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 of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . 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 THE AUTHORS OR COPYRIGHT HOLDERS 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. License: Mesa 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 of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . 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 BRIAN PAUL 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. debian/libopencsg-example.install0000664000000000000000000000004011743320542014331 0ustar example/opencsgexample /usr/bin debian/changelog0000664000000000000000000000614112261264063011046 0ustar opencsg (1.3.2-2build3) trusty; urgency=medium * No change rebuild against glew 1.10. -- Dimitri John Ledkov Thu, 02 Jan 2014 13:22:59 +0000 opencsg (1.3.2-2build2) quantal; urgency=low * Rebuild for libglew1.8. -- Colin Watson Mon, 03 Sep 2012 12:33:55 +0100 opencsg (1.3.2-2build1) quantal; urgency=low * No change rebuild with current glew -- Sebastien Bacher Mon, 06 Aug 2012 19:48:02 +0200 opencsg (1.3.2-2) unstable; urgency=low * Fixed wrong names for GLEW dependencies (Closes: #658551) * Acknowledge DM-Upload-Allowed * Added Multi-Arch support * Removed standalone -Wl flag to make it build with g++-4.7, link against the proper libraries (Closes: #667311) * Change Standards-Version to 3.9.3 (no changes) * Minor modification on debian/copyright to conform to the final specification -- Christian M. Amsüss Wed, 18 Apr 2012 11:20:37 +0200 opencsg (1.3.2-1) unstable; urgency=low * New upstream bugfix release. * Copyright adaptions to changed dates, new shipped GLEW version (not built but present in upstream source), and DEP-5 updates * Build-depend on GLEW more precisely -- Christian M. Amsüss Fri, 03 Feb 2012 18:59:47 +0100 opencsg (1.3.1-5) unstable; urgency=low * Minor man page modifications. * Update of build dependencies for GLEW 1.6 transition. * Change to Standards-Version 3.9.2 (no changes). -- Christian M. Amsüss Sun, 07 Aug 2011 14:29:41 +0200 opencsg (1.3.1-4) unstable; urgency=low * Build -dbg package * Change Standards-Version to 3.9.1 (no changes) * Reference the git repository in the debian patch -- Christian M. Amsüss Sun, 06 Mar 2011 13:58:23 +0100 opencsg (1.3.1-3) unstable; urgency=low * Fix -dev package's symlink .so that pointed to old version -- Christian M. Amsüss Fri, 11 Jun 2010 14:20:38 +0200 opencsg (1.3.1-2) unstable; urgency=low * Package example program as opencsg-example (with new man page) * Ship HTML documentation - all packages' documentation symlinked to libopencsg1 - register with doc-base -- Christian M. Amsüss Fri, 11 Jun 2010 12:43:25 +0200 opencsg (1.3.1-1) unstable; urgency=low * New upstream version - added GPL exception for linking against CGAL * Fixed copyright file - GPL-2 instead of GPL-2+ - included copyright data for glew -- Christian M. Amsüss Wed, 09 Jun 2010 23:06:07 +0200 opencsg (1.3.0-2) unstable; urgency=low * Added Vcs fields * Fix short package descriptions (were flipped for library and -dev package) * Use dh overrides in autoinstall for better control -- Christian M. Amsüss Sat, 29 May 2010 14:02:47 +0200 opencsg (1.3.0-1) unstable; urgency=low * Initial packaging * Modify main Makefile to ignore the shipped GLEW and the example app * Modify src/Makefile to not tamper with --rpath (cf. lintian's binary-or-shlib-defines-rpath) -- Christian M. Amsüss Mon, 22 Feb 2010 21:30:49 +0100 debian/control0000664000000000000000000000575612261264063010612 0ustar Source: opencsg Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Christian M. Amsüss Build-Depends: debhelper (>= 9), freeglut3-dev, libboost-dev, autotools-dev, libglew-dev (>= 1.5.4) | libglew1.6-dev | libglew1.5-dev (>= 1.5.4), libxmu-dev Standards-Version: 3.9.3 DM-Upload-Allowed: yes Section: libs Homepage: http://opencsg.org/ Vcs-Browser: http://gitorious.org/openscad-debian/opencsg/commits/master Vcs-git: git://gitorious.org/openscad-debian/opencsg.git/ Package: libopencsg-dev Section: libdevel Architecture: any Depends: ${misc:Depends}, libopencsg1 (= ${binary:Version}) Description: image-based CSG library using OpenGL (development files) OpenCSG is a library for CGS (Constructive Solid Geometry) that can combine geometric primitives to more complex objects, for example the difference between two primitives. Instead of explicitly calculating the shape of the resulting object, it uses OpenGL's z-buffer to render the image. . OpenCSG implements both the Goldfeather and the SCS algorithm. . This package contains files needed to compile opencsg applications. Package: libopencsg1 Section: libs Architecture: any Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: same Description: image-based CSG (Constructive Solid Geometry) library using OpenGL OpenCSG is a library for CGS (Constructive Solid Geometry) that can combine geometric primitives to more complex objects, for example the difference between two primitives. Instead of explicitly calculating the shape of the resulting object, it uses OpenGL's z-buffer to render the image. . OpenCSG implements both the Goldfeather and the SCS algorithm. . This package contains shared library files. Package: libopencsg-example Section: libs Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Multi-Arch: foreign Description: image-based CSG library using OpenGL (example program) OpenCSG is a library for CGS (Constructive Solid Geometry) that can combine geometric primitives to more complex objects, for example the difference between two primitives. Instead of explicitly calculating the shape of the resulting object, it uses OpenGL's z-buffer to render the image. . OpenCSG implements both the Goldfeather and the SCS algorithm. . This package contains a OpenCSG demo program. Package: libopencsg1-dbg Section: debug Priority: extra Architecture: any Depends: libopencsg1 (=${binary:Version}), ${shlibs:Depends}, ${misc:Depends} Multi-Arch: same Description: debugging symbols for libopencsg OpenCSG is a library for CGS (Constructive Solid Geometry) that can combine geometric primitives to more complex objects, for example the difference between two primitives. Instead of explicitly calculating the shape of the resulting object, it uses OpenGL's z-buffer to render the image. . OpenCSG implements both the Goldfeather and the SCS algorithm. . This package contains the debugging symbols for libopencsg. debian/libopencsg1.doc-base0000664000000000000000000000062711743320542013003 0ustar Document: opencsg Title: OpenCSG - The CSG rendering library Author: Florian Kirsch Abstract: This document explains what OpenCSG is, what it does and how it works, including sections about usage of the library, links to publications and an FAQ section. Section: Graphics Format: HTML Index: /usr/share/doc/libopencsg1/index.html Files: /usr/share/doc/libopencsg1/*.html /usr/share/doc/libopencsg1/img/* debian/rules0000775000000000000000000000115111743320542010247 0ustar #!/usr/bin/make -f # DH_VERBOSE=1 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) %: dh $@ override_dh_auto_install: # "Currently there is no automatic way for this." (build.txt) mkdir -p debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/ mkdir -p debian/tmp/usr/include/ cp -a lib/* debian/tmp/usr/lib/$(DEB_HOST_MULTIARCH)/ cp -a include/* debian/tmp/usr/include/ override_dh_auto_clean: dh_auto_clean # clean up everything! rm -rf lib/ rm -rf debian/tmp override_dh_installdocs: dh_installdocs --link-doc=libopencsg1 override_dh_strip: dh_strip --dbg-package=libopencsg1-dbg debian/watch0000664000000000000000000000007011743320542010217 0ustar version=3 http://www.opencsg.org/OpenCSG-(.*)\.tar\.gz debian/libopencsg1.docs0000664000000000000000000000005411743320542012250 0ustar index.html publications.html news.html img/ debian/libopencsg-dev.dirs0000664000000000000000000000002411743320542012751 0ustar usr/lib usr/include debian/libopencsg-dev.install0000664000000000000000000000004011743320542013454 0ustar usr/include/* usr/lib/*/lib*.so debian/libopencsg-example.manpages0000664000000000000000000000003011743320542014455 0ustar debian/opencsgexample.1 debian/patches/0000775000000000000000000000000011743505434010625 5ustar debian/patches/debian-changes0000664000000000000000000000274011743505434013403 0ustar This patch contains all the Debian-specific changes mixed together. To review them separately, please inspect the GIT history at http://gitorious.org/openscad-debian/opencsg. --- opencsg-1.3.2.orig/Makefile +++ opencsg-1.3.2/Makefile @@ -1,4 +1,4 @@ -SUBDIRS = glew src example +SUBDIRS = src example all: for X in $(SUBDIRS); do make -C $$X ; done --- opencsg-1.3.2.orig/example/Makefile +++ opencsg-1.3.2/example/Makefile @@ -19,7 +19,7 @@ YACCFLAGS= -d INCPATH = -I. -I../glew/include -I../include -I/usr/X11R6/include -I/usr/X11R6/include LINK = g++ LFLAGS = -LIBS = $(SUBLIBS) -L/usr/X11R6/lib -L/usr/X11R6/lib -L../lib -lopencsg -lglut -L../glew/lib -lGLEW -lGLU -lGL -lXmu -lXext -lX11 -lm +LIBS = $(SUBLIBS) -L/usr/X11R6/lib -L/usr/X11R6/lib -L../lib -lopencsg -lglut -L../glew/lib -lGLEW -lGLU -lGL -lm AR = ar cqs RANLIB = MOC = $(QTDIR)/bin/moc --- opencsg-1.3.2.orig/src/Makefile +++ opencsg-1.3.2/src/Makefile @@ -16,10 +16,10 @@ CFLAGS = -pipe -Wall -W -O2 -fPIC CXXFLAGS = -pipe -Wall -W -O2 -fPIC LEXFLAGS = YACCFLAGS= -d -INCPATH = -I. -I../include -I../glew/include -I.. -I/usr/X11R6/include +INCPATH = -I. -I../include -I.. -I/usr/X11R6/include LINK = g++ -LFLAGS = -shared -Wl,-soname,libopencsg.so.1 -Wl,-rpath,../lib -LIBS = $(SUBLIBS) -L/usr/X11R6/lib -lGLU -lGL -lXmu +LFLAGS = -shared -Wl,-soname,libopencsg.so.1 +LIBS = $(SUBLIBS) -L/usr/X11R6/lib -lGL -lGLEW AR = ar cqs RANLIB = QMAKE = qmake debian/patches/series0000664000000000000000000000001711743505434012040 0ustar debian-changes debian/compat0000664000000000000000000000000211743320542010367 0ustar 9 debian/libopencsg1.install0000664000000000000000000000002411743320542012763 0ustar usr/lib/*/lib*.so.*