debian/0000755000000000000000000000000012233755134007173 5ustar debian/copyright0000644000000000000000000000205212232066334011121 0ustar This package was debianized by A. Maitland Bottoms on Fri, 11 Jan 2002 14:27:21 -0500. It was downloaded from ftp://ftp.sim.no/pub/snapshots/ Upstream Author: Peder Blekken Copyright: 1998-2001 by Systems In Motion 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; version 2 dated June, 1991. . 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 package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. . On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2. debian/libdime-doc.doc-base0000644000000000000000000000055312232067243012741 0ustar Document: libdime-doc Title: Debian libdime Manual Author: Peder Blekken Abstract: This information on Dime was generated using doxygen, and will likely be useful to developers using the libdime-dev package as well. Section: Graphics Format: HTML Index: /usr/share/doc/libdime-doc/html/index.html Files: /usr/share/doc/libdime-doc/html/*.html debian/dime.manpages0000644000000000000000000000004512232061413011612 0ustar debian/dxf2vrml.1 debian/dxfsphere.1 debian/patches/0000755000000000000000000000000012232106550010611 5ustar debian/patches/link-cxxld.patch0000644000000000000000000000072012232106550013706 0ustar --- a/src/Makefile.in +++ b/src/Makefile.in @@ -226,8 +226,7 @@ LTCOMPILE = $(LIBTOOL) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) \ $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) CCLD = $(CC) -LINK = $(LIBTOOL) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ - $(AM_LDFLAGS) $(LDFLAGS) -o $@ +LINK = $(CXXLINK) DIST_SOURCES = $(dime@DIME_MAJOR_VERSION@@SUFFIX@_lib_SOURCES) \ $(libdime@SUFFIX@_la_SOURCES) HEADERS = $(libdimeinc_HEADERS) debian/patches/quiet-model.patch0000644000000000000000000000052612232077345014073 0ustar --- a/src/Model.cpp +++ b/src/Model.cpp @@ -243,9 +243,6 @@ dimeEntitiesSection *es = (dimeEntitiesSection*)this->findSection("ENTITIES"); if (bs) bs->fixReferences(this); if (es) es->fixReferences(this); -#ifndef NDEBUG - fprintf(stderr,"dimeModel::largestHandle: %d\n", this->largestHandle); -#endif } return ok; } debian/patches/class-declarations.patch0000644000000000000000000000353312232063145015413 0ustar Description: Add C++ class declarations (Closes: #319437) Necessary for newer C++ standards. Author: A. Maitland Bottoms Bug-Debian: http://bugs.debian.org/319437 --- dime-0.20030921.orig/include/dime/Output.h +++ dime-0.20030921/include/dime/Output.h @@ -33,6 +33,8 @@ #include #include +class dimeModel; + class DIME_DLL_API dimeOutput { public: --- dime-0.20030921.orig/include/dime/classes/Class.h +++ dime-0.20030921/include/dime/classes/Class.h @@ -38,6 +38,7 @@ class dimeInput; class dimeMemHandler; +class dimeModel; class dimeOutput; class DIME_DLL_API dimeClass : public dimeRecordHolder --- dime-0.20030921.orig/include/dime/objects/Object.h +++ dime-0.20030921/include/dime/objects/Object.h @@ -36,6 +36,8 @@ #include #include +class dimeModel; + class DIME_DLL_API dimeObject : public dimeRecordHolder { friend class dimeObjectesSection; --- dime-0.20030921.orig/include/dime/entities/Insert.h +++ dime-0.20030921/include/dime/entities/Insert.h @@ -34,6 +34,8 @@ #include #include +class dimeBlock; + class DIME_DLL_API dimeInsert : public dimeEntity { friend class dimeEntitiesSection; --- dime-0.20030921.orig/include/dime/entities/Entity.h +++ dime-0.20030921/include/dime/entities/Entity.h @@ -52,6 +52,7 @@ #define FLAG_FIRST_FREE 0x0800 // use this if you want to define your own flags class dimeLayer; +class dimeModel; class DIME_DLL_API dimeEntity : public dimeRecordHolder { --- dime-0.20030921.orig/include/dime/entities/Vertex.h +++ dime-0.20030921/include/dime/entities/Vertex.h @@ -34,6 +34,8 @@ #include #include +class dimePolyline; + class DIME_DLL_API dimeVertex : public dimeEntity { friend class dimePolyline; debian/patches/series0000644000000000000000000000007412232106432012026 0ustar class-declarations.patch quiet-model.patch link-cxxld.patch debian/libdime-doc.docs0000644000000000000000000000004712232076401012206 0ustar AUTHORS FAQ NEWS README TODO docs/html debian/control0000644000000000000000000000303412232076003010564 0ustar Source: dime Section: graphics Priority: optional Maintainer: A. Maitland Bottoms Uploaders: Steve M. Robbins Build-Depends: debhelper (>= 9), autotools-dev, autoconf, libtool, automake Build-Depends-Indep: doxygen Standards-Version: 3.9.4 Package: dime Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: libdime-doc Description: DXF Import, Manipulation, and Export programs Dime is a C++ class library for reading, constructing, manipulating, and writing DXF file data. . This package comes with the programs dxf2vrml, which converts dxf to VRML files and dxfsphere, which makes triangle mesh approximations of spheres. Package: libdime1 Architecture: any Section: libs Pre-Depends: multiarch-support Depends: ${shlibs:Depends}, ${misc:Depends} Description: DXF Import, Manipulation, and Export library Dime is a C++ class library for reading, constructing, manipulating, and writing DXF file data. Package: libdime-dev Section: libdevel Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: DXF Import, Manipulation, and Export library - devel Dime is a C++ class library for reading, constructing, manipulating, and writing DXF file data. Package: libdime-doc Section: doc Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends} Description: DXF Import, Manipulation, and Export library - devel Dime is a C++ class library for reading, constructing, manipulating, and writing DXF file data. . This dev package also contains doxygen generated documentation debian/changelog0000644000000000000000000000261512233754772011060 0ustar dime (0.20030921-4) unstable; urgency=low * Use override_dh_auto_build-indep for doxygen docs (Closes: #728212) -- A. Maitland Bottoms Tue, 29 Oct 2013 11:52:41 -0400 dime (0.20030921-3) unstable; urgency=low * Update packaging, use autotools-dev (Closes: #727358, #528414) * Suggest documentation (Closes: #422893) * Quiet annoying debug message (Closes: #701846) * Don't ship cvs script (Closes: #547752) * Correct Depends avoids broken symlink (Closes: #715076) -- A. Maitland Bottoms Wed, 23 Oct 2013 20:01:01 -0400 dime (0.20030921-2) unstable; urgency=low * Add C++ class declarations (Closes: #319437) * Keep man pages and binaries together (Closes: #282163) * Clarify dxfsphere man page (Closes: #249548) * Update URL in man page (Closes: #249918) -- A. Maitland Bottoms Sun, 11 Sep 2005 15:34:48 +0000 dime (0.20030921-1) unstable; urgency=low * New upstream * Update Standards-Version, make package sarge-worthy * Added dxfsphere example application, put it and dxf2vrml applications in new dime binary package * Recompile with gcc-3.3 (Closes: #211543) -- A. Maitland Bottoms Sun, 21 Sep 2003 18:11:19 -0400 dime (0.20020111-1) unstable; urgency=low * Initial Release. (Closes: #129611) -- A. Maitland Bottoms Fri, 11 Jan 2002 14:27:21 -0500 debian/dxf2vrml.10000644000000000000000000000431412232076031011012 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH DIME "1" "January 11, 2002" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME dxf2vrml \- program to convert .dxf formatted 3-D datasets to .VRML format. .SH SYNOPSIS .B dxf2vrml .RI [infile] [-o outfile] [-e maxerr] [-f] [-l] .SH DESCRIPTION This manual page documents briefly the .B dxf2vrml command. (default infile is stdin, default outfile is stdout) This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, it has documentation in the GNU Info format; see below. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBdxf2vrml\fP is a program that... .SH OPTIONS These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. For a complete description, see the Info files. .TP .B infile default infile is stdin .TP .B \-o outfile, default outfile is stdout .TP .B \-e, Maximum error when tessellating curves .TP .B \-f, Respect the $FILLMODE header variable .TP .B \-vrml2, Write as vrml2. Default is vrml1 .TP .B \-l, Use layer color, ignore the color index .TP .B \-s, Set sub parameter .TP .B \-h, Show usage. .SH SEE ALSO files in: .BR /usr/share/doc/libdime/, .BR /usr/share/doc/libdime-dev/. .br The programs are documented fully by .IR http://www.coin3d.org/lib/dime/ , available via the Internet. .SH AUTHOR This manual page was written by A. Maitland Bottoms , for the Debian GNU/Linux system (but may be used by others). debian/libdime1.install0000644000000000000000000000010712232064420012235 0ustar usr/lib/*/libdime.la usr/lib/*/libdime.so.1.0.0 usr/lib/*/libdime.so.1 debian/dime.install0000644000000000000000000000010412232066776011502 0ustar build/dxf2vrml/dxf2vrml usr/bin/ build/dxfsphere/dxfsphere usr/bin/ debian/dxfsphere.10000644000000000000000000000462312232061413011237 0ustar .\" Hey, EMACS: -*- nroff -*- .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) .TH DIME "1" "September 21, 2003" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: .\" .nh disable hyphenation .\" .hy enable hyphenation .\" .ad l left justify .\" .ad b justify to both left and right margins .\" .nf disable filling .\" .fi enable filling .\" .br insert line break .\" .sp insert n+1 empty lines .\" for manpage-specific macros, see man(7) .SH NAME dxfsphere \- generate a triangle mesh approximating a sphere by recursive subdivision in .dxf format using libdime .SH SYNOPSIS .B dxfsphere [-c] [-t] [-i] [-o outfile] level .SH DESCRIPTION This manual page documents briefly the .B dxfsphere command. This manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. Instead, it has documentation in the GNU Info format; see below. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBdxfsphere\fP is a program that generate a triangle mesh approximating a sphere by recursive subdivision. First approximation is an platonic solid; each level of refinement increases the number of triangles by a factor of 4. .P Level 3 (128 triangles for an octahedron) is a good tradeoff if gouraud shading is used to render the database. .SH OPTIONS .TP .B level level is an integer >= 1 setting the recursion level (default 1). .TP .B \-c, causes triangles to be generated with vertices in counterclockwise order as viewed from the outside in a RHS coordinate system. The default is clockwise order. .TP .B \-t, starts with a tetrahedron instead of an octahedron .TP .B \-i, starts with a icosahedron instead of an octahedron .TP .B \-o, outfile (default is stdout) .TP .B \-h, Show useage. .SH SEE ALSO files in: .BR /usr/share/doc/libdime/, .BR /usr/share/doc/libdime-dev/. .br The programs are documented fully by .IR http://www.coin3d.org/lib/dime/ , available via the Internet. .SH AUTHOR This manual page was written by A. Maitland Bottoms , for the Debian GNU/Linux system (but may be used by others). debian/source/0000755000000000000000000000000012232062312010457 5ustar debian/source/format0000644000000000000000000000001411671413411011673 0ustar 3.0 (quilt) debian/compat0000644000000000000000000000000212232062020010351 0ustar 9 debian/libdime-dev.install0000644000000000000000000000004612232064330012732 0ustar usr/lib/*/libdime.so usr/include/dime debian/rules0000755000000000000000000000037112233754576010265 0ustar #!/usr/bin/make -f %: dh $@ --parallel --builddirectory=build --with autotools_dev override_dh_clean: rm -rf docs/html dh_clean override_dh_auto_build-indep: cd docs && doxygen dime.dox # No tests needed for docs override_dh_auto_test-indep: