--- 3depict-0.0.4.orig/debian/copyright +++ 3depict-0.0.4/debian/copyright @@ -0,0 +1,42 @@ +This package was debianized by D Haley on +Sat, 24 Jul 2010 23:23:50 +0100. + +It was downloaded from + +Upstream Author(s): + + D Haley + +Copyright: + + Copyright (C) 2010 D. Haley + +License: + + 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 3 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 + Library General Public License for more details. + + 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 St, Fifth Floor, Boston, MA 02110-1301, + USA. + + On your Debian GNU/Linux system, a copy of the GNU GPLv3 can be found in + /usr/share/common-licenses/GPL-3 + +The Debian packaging is: + + Copyright (C) 2010 D Haley + +and is licensed under the GPL version 3 or any later version, +see `/usr/share/common-licenses/GPL-3'. + +Icons are covered by the GNU Free Documentation Licence, GFDL. For this +licence, please see '/usr/share/common-licencses/GFDL' --- 3depict-0.0.4.orig/debian/rules +++ 3depict-0.0.4/debian/rules @@ -0,0 +1,111 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) +CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else +CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + +include /usr/share/quilt/quilt.make + +config.status: configure + dh_testdir + # Add here commands to configure the package. +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + #Note the PNG_CFLAGS are required to shut pkg-config macro up + ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info LDFLAGS="-Wl,-z,defs" --with-libpng-link="-lpng" --with-libpng-flags="-I/lib" CFLAGS="-fopenmp" CXXFLAGS="-fopenmp" + + +build: build-stamp + +build-stamp: config.status $(QUILT_STAMPFN) + dh_testdir + + $(MAKE) + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + -test -r /usr/share/misc/config.sub && cp -f /usr/share/misc/config.sub config.sub + -test -r /usr/share/misc/config.guess && cp -f /usr/share/misc/config.guess config.guess + + # Add here commands to clean up after the build process. + [ ! -f Makefile ] || $(MAKE) distclean + rm -f config.sub config.guess + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/3depict. + $(MAKE) DESTDIR=$(CURDIR)/debian/3depict install + + #Install the textures + cp -rp src/textures $(CURDIR)/debian/3depict/usr/share/3depict/ + + #rename 3Depict (real program name) to debian-friendly 3depict + mv $(CURDIR)/debian/3depict/usr/bin/3Depict $(CURDIR)/debian/3depict/usr/bin/3depict + + mkdir -p $(CURDIR)/debian/3depict/usr/share/doc/3depict/ + echo "Copyright 2011 D Haley " > $(CURDIR)/debian/3depict/usr/share/doc/3depict/copyright + echo "See /usr/share/common-licenses/GPL-1 for copyright info" >> $(CURDIR)/debian/3depict/usr/share/doc/3depict/copyright + + #Install .desktop file (for XFCE) + install -Dp -m 644 $(CURDIR)/packaging/3Depict.desktop $(CURDIR)/debian/3depict/usr/share/applications/3depict.desktop + #install icon into pixmaps + install -Dp -m 644 $(CURDIR)/src/3Depict.xpm $(CURDIR)/debian/3depict/usr/share/pixmaps/3depict.xpm + + #delete some dirs that are generated. + rmdir $(CURDIR)/debian/3depict/usr/sbin + + +# Build architecture-independent files here. +binary-indep: install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs + dh_install + dh_installmenu + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- 3depict-0.0.4.orig/debian/README.source +++ 3depict-0.0.4/debian/README.source @@ -0,0 +1,2 @@ +Package uses quilt +/usr/share/doc/quilt/README.source --- 3depict-0.0.4.orig/debian/changelog +++ 3depict-0.0.4/debian/changelog @@ -0,0 +1,34 @@ +3depict (0.0.4-1) experimental; urgency=low + + * New upstream version + * Disable ASSERT blocking at terminal with patch + + -- D Haley Sun, 16 Jan 2011 17:16:31 +0000 + +3depict (0.0.3-1) unstable; urgency=low + + * New upstream version + * Add qhull dependency + * Delete patch incorporated into upstream (parallel-transform) + * Delete old unused patch (mathgl-1p9-compat) + + -- D Haley Thu, 25 Nov 2010 23:28:28 +0000 + +3depict (0.0.2-1) unstable; urgency=low + + * New upstream version + * Enable parallel build + + -- D Haley Wed, 22 Sep 2010 20:09:24 +0100 + +3depict (0.0.1-2) unstable; urgency=low + + * Remove patches for mathgl 1.9 compatibility due to new mathgl 1.10 + + -- D Haley Sat, 21 Aug 2010 08:55:13 +1000 + +3depict (0.0.1-1) unstable; urgency=low + + * Initial release (Closes: #592460) + + -- D Haley Mon, 09 Aug 2010 21:23:50 +0100 --- 3depict-0.0.4.orig/debian/3depict.1 +++ 3depict-0.0.4/debian/3depict.1 @@ -0,0 +1,27 @@ +.\" 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 3DEPICT "1" "July 24, 2010" +.\" Please adjust this date whenever revising the manpage. +.SH NAME +3Depict \- 3D scalar point cloud visualization and analysis +.SH SYNOPSIS +.B 3depict +.RI ... +.br +.SH DESCRIPTION +This manual page documents briefly the +.B 3Depict command +.PP +.\" TeX users may be more comfortable with the \fB\fP and +.\" \fI\fP escape sequences to invode bold face and italics, +.\" respectively. +\fB3depict\fP is a program that allows for visualisation and analysis of point datasets with associated spectral data. +.SH OPTIONS +This program has no command line options, other than a sequence of files to open, or an XML file containg the previous program state (this may be generated from within the program's graphical interface). Currently the program can read "POS" (position) formatted files, which are simply uncompressed sequences of 4-byte floats (IEEE 597) in (x,y,z,value) form. All other work is done through the graphical interface. +.SH AUTHOR +3Depict was written by D. Haley in 2010 +.PP +This manual page was written by D Haley , +for the Debian project (and may be used by others). --- 3depict-0.0.4.orig/debian/menu +++ 3depict-0.0.4/debian/menu @@ -0,0 +1,2 @@ +?package(3depict):needs="X11" section="Applications/Science/Data Analysis"\ + title="3depict" command="/usr/bin/3depict" --- 3depict-0.0.4.orig/debian/docs +++ 3depict-0.0.4/debian/docs @@ -0,0 +1,5 @@ +AUTHORS +NEWS +README +TODO +COPYING --- 3depict-0.0.4.orig/debian/compat +++ 3depict-0.0.4/debian/compat @@ -0,0 +1 @@ +7 --- 3depict-0.0.4.orig/debian/manpages +++ 3depict-0.0.4/debian/manpages @@ -0,0 +1 @@ +debian/3depict.1 --- 3depict-0.0.4.orig/debian/dirs +++ 3depict-0.0.4/debian/dirs @@ -0,0 +1,4 @@ +usr/bin +usr/sbin +usr/share/applications +usr/share/3depict --- 3depict-0.0.4.orig/debian/control +++ 3depict-0.0.4/debian/control @@ -0,0 +1,22 @@ +Source: 3depict +Section: science +Priority: optional +Maintainer: Debian Science Maintainers +Uploaders: D Haley +DM-Upload-Allowed: yes +Build-Depends: debhelper (>= 7), quilt, libgl1-mesa-dev | libgl-dev, libpng-dev, libqhull-dev, libwxgtk2.8-dev, libftgl-dev, autoconf, libxml2-dev, libmgl-dev, autotools-dev +Standards-Version: 3.9.1 +Homepage: http://threedepict.sourceforge.net/index.html +Vcs-Git: git://git.debian.org/debian-science/packages/3depict.git +Vcs-Browser: http://git.debian.org/?p=debian-science/packages/3depict.git + +Package: 3depict +Architecture: any +Section: science +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: Visualisation and analysis for single valued point data + This program provides a graphical interface for the scientific analysis + of real valued point data (x,y,z,value). This is primarily targeted + towards Atom probe tomography applications, but may prove useful to + other applications as well. + --- 3depict-0.0.4.orig/debian/source/format +++ 3depict-0.0.4/debian/source/format @@ -0,0 +1 @@ +1.0 --- 3depict-0.0.4.orig/debian/patches/series +++ 3depict-0.0.4/debian/patches/series @@ -0,0 +1,3 @@ +texture-path.patch +debian-naming-desktop.patch +disable-debug-cin-block.patch --- 3depict-0.0.4.orig/debian/patches/disable-debug-cin-block.patch +++ 3depict-0.0.4/debian/patches/disable-debug-cin-block.patch @@ -0,0 +1,21 @@ +Index: 3depict-0.0.4/src/basics.cpp +=================================================================== +--- 3depict-0.0.4.orig/src/basics.cpp 2011-01-22 23:42:29.000000000 +0000 ++++ 3depict-0.0.4/src/basics.cpp 2011-01-22 23:42:40.000000000 +0000 +@@ -93,7 +93,7 @@ + std::cerr << "ASSERTION ERROR!" << std::endl; + std::cerr << "Filename: " << filename << std::endl; + std::cerr << "Line number: " << lineNumber << std::endl; +- ++/* + std::cerr << "Do you wish to continue?(y/n)"; + char y = 'a'; + while (y != 'n' && y != 'y') +@@ -101,6 +101,7 @@ + + if (y != 'y') + exit(1); ++*/ + } + + void dh_warn(const char * const filename, const unsigned int lineNumber,const char *message) --- 3depict-0.0.4.orig/debian/patches/texture-path.patch +++ 3depict-0.0.4/debian/patches/texture-path.patch @@ -0,0 +1,13 @@ +Index: 3depict-0.0.3/src/basics.h +=================================================================== +--- 3depict-0.0.3.orig/src/basics.h 2010-11-29 22:31:12.000000000 +0000 ++++ 3depict-0.0.3/src/basics.h 2010-11-29 22:31:17.000000000 +0000 +@@ -107,7 +107,7 @@ + + //Mac + // - Look in cwd +- return std::string(name); ++ return std::string("/usr/share/3depict/") + std::string(name); + } + + template --- 3depict-0.0.4.orig/debian/patches/debian-naming-desktop.patch +++ 3depict-0.0.4/debian/patches/debian-naming-desktop.patch @@ -0,0 +1,17 @@ +Index: 3depict-0.0.1/packaging/3Depict.desktop +=================================================================== +--- 3depict-0.0.1.orig/packaging/3Depict.desktop 2010-08-09 23:48:57.000000000 +1000 ++++ 3depict-0.0.1/packaging/3Depict.desktop 2010-08-09 23:49:08.000000000 +1000 +@@ -2,8 +2,8 @@ + Version=1.0 + Type=Application + Comment=Valued point cloud visualisation and analysis +-TryExec=3Depict +-Exec=3Depict %F +-Icon=3Depict +-Name=3Depict ++TryExec=3depict ++Exec=3depict %F ++Icon=3depict ++Name=3depict +