debian/0000755000000000000000000000000012165063655007177 5ustar debian/source/0000755000000000000000000000000012165046174010474 5ustar debian/source/format0000644000000000000000000000001412165046174011702 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012165062561010621 5ustar debian/patches/series0000644000000000000000000000005612165062444012037 0ustar add-regression-test do_not_install_docs.patch debian/patches/do_not_install_docs.patch0000644000000000000000000000102212165062561015655 0ustar Descriptios: do not install docs and manpages Author: Anton Gladky Last-Update: 2013-07-03 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,3 @@ TARGET_LINK_LIBRARIES(admesh ${M_LIB}) INSTALL(TARGETS admesh DESTINATION ${CMAKE_INSTALL_BINDIR}) #=========================================================== -INSTALL(FILES ADMESH.DOC block.stl DESTINATION ${CMAKE_INSTALL_DOCDIR}) -INSTALL(FILES admesh.1 DESTINATION ${CMAKE_INSTALL_MANDIR}) -#=========================================================== debian/patches/add-regression-test0000644000000000000000000000450212165061641014426 0ustar Description: This patch adds regression tests to check the admesh functionality after building. It generates with newly created admesh-binary some files and compares it with previously genereted ones. If files are not identical, build-process terminates with an error. Author: Anton Gladky Last-Update: 2011-02-06 --- /dev/null +++ b/regression_test/regression_test_output_etalon @@ -0,0 +1,36 @@ +ADMesh version 0.96, Copyright (C) 1995, 1996 Anthony D. Martin +ADMesh comes with NO WARRANTY. This is free software, and you are welcome to +redistribute it under certain conditions. See the file COPYING for details. +Opening block.stl +Checking exact... +All facets connected. No nearby check necessary. +No unconnected need to be removed. +No holes need to be filled. +Checking normal directions... +Checking normal values... +Calculating volume... +Verifying neighbors... + +================= Results produced by ADMesh version 0.96 ================ +Input file : block.stl +File type : ASCII STL file +Header : SOLID Untitled1 +============== Size ============== +Min X = -1.968504, Max X = 1.968504 +Min Y = -1.968504, Max Y = 1.968504 +Min Z = -1.968504, Max Z = 1.968504 +========= Facet Status ========== Original ============ Final ==== +Number of facets : 12 12 +Facets with 1 disconnected edge : 0 0 +Facets with 2 disconnected edges : 0 0 +Facets with 3 disconnected edges : 0 0 +Total disconnected facets : 0 0 +=== Processing Statistics === ===== Other Statistics ===== +Number of parts : 1 Volume : 61.023746 +Degenerate facets : 0 +Edges fixed : 0 +Facets removed : 0 +Facets added : 0 +Facets reversed : 0 +Backwards edges : 0 +Normals fixed : 0 --- /dev/null +++ b/regression_test/regression_test @@ -0,0 +1,11 @@ +#!/bin/dash +./build/admesh block.stl > regression_test_output_current +DIFFRESULT=`diff regression_test_output_current regression_test/regression_test_output_etalon` +if [ "$DIFFRESULT" != "" ]; then + rm regression_test_output_current + echo 'Regression test is failed!' + exit 1 +else + rm regression_test_output_current + exit 0 +fi debian/watch0000644000000000000000000000015312165046174010224 0ustar version=3 http://launchpad.net/admesh/+download https://launchpad.net/admesh/.*/.*/.*/admesh-(.+)\.tar\.gz debian/changelog0000644000000000000000000000772312165063655011062 0ustar admesh (0.96-1) unstable; urgency=low * [93ad0d4] Recommend gmsh and paraview. * [bbe1916] Imported Upstream version 0.96 * [6937c79] Update patches, remove, applied by upstream. * [f3f4663] Changes in debian-files due to upstream migration to cmake. * [3a0021e] Update regression tests. * [a5f8197] Do not install docs at install-stage. * [dcbf772] Use canonical VCS. -- Anton Gladky Wed, 03 Jul 2013 20:03:08 +0200 admesh (0.95-14) unstable; urgency=low * [8ecea20] Remove obsolete DM-Upload flag. * [90ceb45] Add parallel option to dh. * [4bf48ae] Add admesh.manpages. * [a16f06a] Use autoreconf. * [4293f10] Clean debian/rules. -- Anton Gladky Sun, 05 May 2013 19:53:10 +0200 admesh (0.95-13~exp1) experimental; urgency=low * [350585a] Use dh 9. * [e99cce9] Update copyright file. * [aa49af9] Bump Standards-Version: 3.9.4. No changes. -- Anton Gladky Sat, 09 Feb 2013 17:00:10 +0100 admesh (0.95-12) unstable; urgency=low * [70d51d3] Update watch file. Thanks to Ólafur Jens Sigurðsson. * [b6b9592] Use Standards-Version: 3.9.3. No changes. * [03e49ba] Use compat-level 8. -- Anton Gladky Sun, 15 Apr 2012 21:14:54 +0200 admesh (0.95-11) unstable; urgency=low * [7ead55b] Change Section to "math", Priority to "optional" * [839f76f] Fixed watch file * [6b94966] Updated a homepage * [9ccf0df] Switch to Standards-Version: 3.9.2 (no changes) * [b80053f] Small typo in description * [f4cd934] Simplify debian/rules, dh 7 * [8e4f677] Fix regression test (due to debian/rules update) -- Anton Gladky Tue, 24 May 2011 18:53:38 +0200 admesh (0.95-10) unstable; urgency=low * Added forgotten line "Files: *" in debian/copyright * Regression test is added to check admesh functionality after building * debian/control is changed according to Debian Science Policy -- Anton Gladky Sat, 05 Feb 2011 15:32:16 +0100 admesh (0.95-9) unstable; urgency=low * Removed debian-changes-0.95-8 patch -- Anton Gladky Sat, 08 Jan 2011 17:16:48 +0100 admesh (0.95-8) unstable; urgency=low * Rewritten debian/rules hopefully closes: #436373 * Applied patch from Bilal Akhtar , added fclose at the end of stl_print_neighbors function (closes: #597159) * New maintainer (closes: #576168) * Switch to dpkg-source 3.0 (quilt) format * Updating and cleaning debian/rules, debian/copyright and debian/control -- Anton Gladky Tue, 04 Jan 2011 21:04:28 +0100 admesh (0.95-7) unstable; urgency=low * New maintainer (closes: #297345) -- Víctor Pérez Pereira Sun, 27 Feb 2006 12:22:09 -0400 admesh (0.95-6) unstable; urgency=low * Orphan as in bug #297345 -- Kevin M. Rosenberg Sat, 5 Mar 2005 02:48:28 -0700 admesh (0.95-5) unstable; urgency=low * New maintainer * Update standards version -- Kevin M. Rosenberg Tue, 18 Feb 2003 22:30:12 -0700 admesh (0.95-4) unstable; urgency=low * Orphaned this package. -- Adrian Bunk Fri, 25 Jan 2002 14:03:51 +0100 admesh (0.95-3) unstable; urgency=low * New maintainer. (closes: #68300) * Updated the upstream location in debian/copyright. * /usr/doc -> /usr/share/doc * /usr/man -> /usr/share/man * Added "-isp" to dpkg-gencontrol in debian/rules. * strip better when installing the binary. * Standards-Version: 3.1.1 (no changes needed) -- Adrian Bunk Thu, 1 Feb 2001 20:12:54 +0100 admesh (0.95-2) unstable; urgency=low * Maintainer set to Debian QA Group. * Removed README.debian. * Removed the emacs config directives from debian/changelog. -- Martin Michlmayr Fri, 22 Dec 2000 15:46:43 +0100 admesh (0.95-1) unstable; urgency=low * Initial Release. -- John Lapeyre Tue, 29 Sep 1998 19:10:01 -0700 debian/admesh.docs0000644000000000000000000000001412165062020011266 0ustar ADMESH.DOC debian/admesh.manpages0000644000000000000000000000001112165062020012126 0ustar admesh.1 debian/admesh.examples0000644000000000000000000000000612165062020012155 0ustar *.stl debian/rules0000755000000000000000000000025112165062414010245 0ustar #! /usr/bin/make -f %: dh $@ --parallel --builddirectory=build override_dh_auto_test: chmod +x ./regression_test/regression_test; ./regression_test/regression_test debian/compat0000644000000000000000000000000212165046174010372 0ustar 9 debian/control0000644000000000000000000000176112165063262010601 0ustar Source: admesh Section: math Priority: optional Maintainer: Debian Science Maintainers Uploaders: Anton Gladky Build-Depends: debhelper (>= 9), cmake Standards-Version: 3.9.4 Homepage: https://launchpad.net/admesh/ Vcs-Git: git://anonscm.debian.org/debian-science/packages/admesh.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/admesh.git Package: admesh Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: geomview, gmsh, paraview Description: Tool for processing triangulated solid meshes Currently, ADMesh only reads the STL file format that is used for rapid prototyping applications, although it can write STL, VRML, OFF, and DXF files. Some features of admesh are: Fill holes in the mesh by adding facets. Repair facets by connecting nearby facets. Repair normal directions (i.e. facets should be CCW) Remove degenerate facets (i.e. facets with 2 or more vertices equal) debian/copyright0000644000000000000000000000434012165046174011130 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Source: http://www.varlog.com/products/admesh/ Files: * Copyright: Copyright (C) 1995,1996 Anthony D. Martin 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. . 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 systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. Files: debian/* Copyright: 1998 John Lapeyre 2000 Martin Michlmayr 2001,2002 Adrian Bunk 2003-2005 Kevin M. Rosenberg 2006-2010 Víctor Pérez Pereira 2011-2013 Anton Gladky 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. . 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 systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'.