--- regina-normal-4.95.orig/debian/changelog
+++ regina-normal-4.95/debian/changelog
@@ -0,0 +1,522 @@
+regina-normal (4.95-1b1) staging; urgency=low
+
+  * No-change rebuild against libopenmpi1.6.
+
+ -- Jon Severinsson <jon@severinsson.net>  Tue, 28 Jan 2014 00:00:00 +0100
+
+regina-normal (4.95-1) unstable; urgency=low
+
+  * New upstream release.
+  * The python module is now installed in a standard location beneath
+    /usr/lib/python2.7/dist-packages.
+  * Switched python packaging from python-support to dh_python2.
+
+ -- Ben Burton <bab@debian.org>  Sat,  2 Nov 2013 11:44:32 -0400
+
+regina-normal (4.94-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Ben Burton <bab@debian.org>  Tue, 17 Sep 2013 06:58:42 +1000
+
+regina-normal (4.93-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+
+  [ Peter Michael Green ]
+  * Force python library location to new multiarch path.
+    Closes: #713360
+  * Bump python-dev build-depends for multiarch.
+
+  [ gregor herrmann ]
+  * Build-depend on dpkg-dev >= 1.16.0 for multiarch support.
+
+ -- gregor herrmann <gregoa@debian.org>  Sat, 13 Jul 2013 17:07:24 +0200
+
+regina-normal (4.93-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Ben Burton <bab@debian.org>  Tue, 29 May 2012 08:46:45 +1000
+
+regina-normal (4.92-1) unstable; urgency=low
+
+  * New upstream release.
+  * The user interface is now Qt-only, and no longer depends on KDE.
+  * The GUI is now /usr/bin/regina-gui, not /usr/bin/regina-kde.
+  * Builds under gcc 4.7 (closes: #667354).
+  * Bumped standards-version to 3.9.3 (no changes required).
+
+ -- Ben Burton <bab@debian.org>  Fri, 30 Mar 2012 14:10:01 +1000
+
+regina-normal (4.90-2) unstable; urgency=low
+
+  * Added missing build-depends on shared-mime-info.
+
+ -- Ben Burton <bab@debian.org>  Sat, 10 Sep 2011 08:58:58 +1000
+
+regina-normal (4.90-1) unstable; urgency=low
+
+  * New upstream release!
+  * The user interface has been ported from KDE3 to KDE4 (closes: #556318).
+    Re-enabled the GUI as a result.
+  * The build system has been ported from autotools to cmake.
+  * The new upstream release builds fine on amd64 (closes: #624882).
+  * Moved the users' handbook into regina-normal-doc.
+  * Upgraded several suggests/recommends.  Upgraded regina-normal-mpi to
+    depend on mpi-default-bin, and regina-normal to depend on both graphviz
+    and regina-normal-doc (which the GUI expends to be present).  Upgraded
+    regina-normal to recommend gap.
+  * Bumped standards-version to 3.9.2.0 (no changes required).
+
+ -- Ben Burton <bab@debian.org>  Sat, 10 Sep 2011 07:17:25 +1000
+
+regina-normal (4.6-4) unstable; urgency=low
+
+  * Add #include <cstddef> to fix ptrdiff_t build failure.
+  * Lower precision of snappea volume tests to fix i386 build failure.
+
+ -- Ben Burton <bab@debian.org>  Sun, 01 May 2011 18:47:01 +1000
+
+regina-normal (4.6-3) unstable; urgency=low
+
+  * Removed MPICXX=/usr/bin/mpicxx, which fails under lam (the default MPI
+    implementation on some platforms).  Just use the default MPICXX instead.
+  * Removed all libtool .la files.
+  * Bumped standards-version to 3.9.1.0 (no other changes required).
+
+ -- Ben Burton <bab@debian.org>  Fri, 04 Mar 2011 10:34:51 +1000
+
+regina-normal (4.6-2) unstable; urgency=low
+
+  * Preparation for the removal of KDE3.  The GUI (regina-kde) has been
+    removed completely, and will be restored when the port to KDE4 is
+    complete (closes: #604322, #615578).
+  * Build MPI utilities against mpi-default-dev, not MPICH (closes: #571451).
+  * Ack the NMU below (4.6-1.1).  The libboost-python-dev build-depends
+    has been upgraded to >= 1.39.0 accordingly.
+  * Added dependency on ${misc:Depends} for each binary package.
+  * Thanks to Lisandro Damián Nicanor Pérez Meyer for assistance.
+
+ -- Ben Burton <bab@debian.org>  Thu, 03 Mar 2011 08:26:05 +1000
+
+regina-normal (4.6-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Disable calling debian/mtcheck from debian/rules, boost no longer
+    distinguishes between single-threaded and multi-threaded variants, so
+    this check only generates FTBFSes (Closes: #545621).
+
+ -- Cyril Brulebois <kibi@debian.org>  Sun, 06 Dec 2009 21:32:30 +0100
+
+regina-normal (4.6-1) unstable; urgency=low
+
+  * New upstream release.
+  * Removed the build-conflicts on regina-normal-dev, since the build system
+    has now been patched to avoid the associated relinking problems.
+  * Now explicitly calls mpicxx.mpich at build time (not just mpicxx).
+  * Restored the khelpcenter recommendation (though now as khelpcenter4),
+    under the assumption that kdelibs will be soon patched to talk with
+    KDE 4's help viewer (the patch is currently sitting in the BTS).
+  * Now builds under gcc 4.4 (closes: #526199).
+  * The test suite now avoids routines that are deprecated in python 2.6,
+    which were causing the test suite to fail (closes: #526192).
+
+ -- Ben Burton <bab@debian.org>  Sat, 16 May 2009 14:36:16 +1000
+
+regina-normal (4.5.1-2) unstable; urgency=low
+
+  * Debian has migrated from KDE 3 to KDE 4.  As a consequence:
+      - The regina-normal package no longer recommends kpdf (which is no
+        longer shipped in debian).  Instead it recommends xpdf or okular,
+        which will at least provide an external PDF viewer (though not an
+        embedded PDF viewer).
+      - Likewise, regina-normal no longer recommends khelpcenter, since the
+        KDE 4 version now shipped in debian does not talk with KDE 3 (and
+        hence regina-normal).  Unfortunately this means that users cannot
+        view documentation via the Help menu; instead they will need to
+        download the users' handbook in HTML format from the Regina website.
+  * Added support for nocheck in DEB_BUILD_OPTIONS (if you wish to avoid
+    running the test suite during the build).
+  * Remove the automake, autoconf, etc. calls from debian/rules, since
+    we are no longer patching the build scripts.
+  * Bumped standards-version to 3.8.1.0.
+
+ -- Ben Burton <bab@debian.org>  Sat, 25 Apr 2009 17:59:31 +1000
+
+regina-normal (4.5.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Now recommends kpdf, which provides an embedded viewer for Regina's
+    new PDF packets.
+  * Added a Homepage field to debian/control.
+  * Bumped standards-version to 3.8.0 (no changes required).
+
+ -- Ben Burton <bab@debian.org>  Tue, 28 Oct 2008 06:19:50 +1100
+
+regina-normal (4.5-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Ben Burton <bab@debian.org>  Sat, 17 May 2008 11:39:33 +1000
+
+regina-normal (4.4-4) unstable; urgency=low
+
+  * Switched to use the default python version, now that boost.python supports
+    multiple python versions.  Updated the versioned build-depends on
+    libboost-python-dev accordingly.
+  * Added a build-depends on python-dev for boost.python, and versioned this
+    to ensure that we catch the recent python2.5 transition.
+  * Now uses python-support for handling python policy requirements.  The old
+    X[BS]-Python-Version control fields have been removed.
+  * Properly quoted CFLAGS / CXXFLAGS in debian/rules (closes: #476029).
+  * Changed doc-base section from Apps/Math to Science/Mathematics.
+
+ -- Ben Burton <bab@debian.org>  Sat, 19 Apr 2008 11:39:33 +1000
+
+regina-normal (4.4-3) unstable; urgency=low
+
+  * Added an extra #include for gcc-4.3 compatibility (closes: #455296).
+
+ -- Ben Burton <bab@debian.org>  Mon,  3 Mar 2008 19:28:46 +1100
+
+regina-normal (4.4-2) unstable; urgency=low
+
+  * Build with -O0 on arm, since compiler optimisations on arm chipsets can
+    lead to a strange failure in the test suite.  The root cause of this
+    failure is still being hunted down.
+  * Added sanity checks in debian/rules immediately after configure, so we
+    don't need to wait an hour to discover that one of the optional pieces
+    (such as the python bindings or MPI utilities) is not going to be built.
+  * Bumped standards-version to 3.7.3 (no changes required).
+
+ -- Ben Burton <bab@debian.org>  Tue,  5 Feb 2008 20:23:37 +1100
+
+regina-normal (4.4-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Ben Burton <bab@debian.org>  Sun, 25 Nov 2007 10:28:59 +1100
+
+regina-normal (4.3.1-7) unstable; urgency=low
+
+  * Split the MPI utilities into a separate package regina-normal-mpi.  This
+    means that desktop users don't need to install mpich.
+  * Re-enabled MPI utilities on the ia64 architecture (these were disabled in
+    early 2006 due to linker failures).
+
+ -- Ben Burton <bab@debian.org>  Fri, 16 Nov 2007 06:26:03 +1100
+
+regina-normal (4.3.1-6) unstable; urgency=low
+
+  * Updated for new debian menu layout.  Menu entries have moved from
+    Apps/Math to Applications/Science/Mathematics.
+
+ -- Ben Burton <bab@debian.org>  Sat, 13 Oct 2007 07:46:20 +1000
+
+regina-normal (4.3.1-5) unstable; urgency=low
+
+  * Another step in the python dance.  Everything is back to python2.4,
+    since boost.python has switched back from python2.5 to python2.4 as of
+    boost 1.34.1-2 (closes: #439464).  Updated libboost-python-dev
+    build-depends version accordingly.
+  * And another step in the boost dance.  The libboost_*.so symlinks under
+    debian have recently changed from multi-threaded to single-threaded
+    versions of the relevant libraries.  Changed the configure script to
+    try the -mt suffix *before* the default library, not after.
+  * Added an automated check during the package build that makes sure the
+    multi-threaded boost.python is used (debian/mtcheck).
+  * Passes an explicit python version to ./configure, so that things stay
+    sane even when multiple python*-dev packages are installed on the build
+    machine.
+  * Lintian fixes: (i) change -$(MAKE) distclean so the clean can only fail
+    if the Makefile is missing; (ii) change ${Source-Version} to
+    ${binary:Version} in the regina-normal-dev dependencies.
+
+ -- Ben Burton <bab@debian.org>  Sun, 26 Aug 2007 19:09:29 +1000
+
+regina-normal (4.3.1-4) unstable; urgency=low
+
+  * Update autoconf boost check to account for the recent transition
+    from libboost_python.so to libboost_python-mt.so (closes: #425926).
+  * Update all dependencies to require python2.5, since this is now what
+    boost uses.  Build-depends on libboost-python-dev >= 1.34.0 accordingly.
+  * Incorporate patch from upstream SVN that removes virtual templates,
+    thus allowing regina-normal to build under gcc-4.2 (closes: #370183).
+  * The patch above removes the NVertexEnumerator class completely, and
+    makes all enumeration routines in NDoubleDescriptor static.  For this
+    reason, the libraries in /usr/lib/ have changed their release version
+    from 4.3.1 to 4.3.1a.  Any third-party code that links against these
+    libraries will need to be rebuilt.
+  * Switch from DH_COMPAT to debian/compat.
+  * Bump standards-version to 3.7.2.2 (no changes required).
+
+ -- Ben Burton <bab@debian.org>  Sat, 26 May 2007 09:20:55 +1000
+
+regina-normal (4.3.1-3) unstable; urgency=low
+
+  * Removed www-browser as an alternative to konqueror in regina-normal-doc
+    recommendations, since the GUI needs konqueror specifically to open the
+    API docs from the help menu.
+
+ -- Ben Burton <bab@debian.org>  Sun, 29 Oct 2006 22:25:06 +1100
+
+regina-normal (4.3.1-2) unstable; urgency=low
+
+  * Patched trisetcmp to give appropriate messages for subcomplex testing
+    (instead of using the same messages as for isomorphism testing).
+  * Added XS-Python-Version and XB-Python-Version fields to debian/control
+    as requested by new python policy (closes: #380931).
+  * Switched to debhelper compatibility level 5.
+  * Bumped standards-version to 3.7.2.1 (no changes required).
+
+ -- Ben Burton <bab@debian.org>  Sun,  8 Oct 2006 11:35:15 +1000
+
+regina-normal (4.3.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Moved khelpcenter from suggests to recommends, since it's really not
+    good if the help menu isn't working.
+  * Now suggests graphviz, which is used for drawing face pairing graphs.
+  * Added a regina.xpm icon in /usr/share/pixmaps for GNOME users who can't
+    see the KDE icons.
+
+ -- Ben Burton <bab@debian.org>  Fri,  5 May 2006 08:19:09 +1000
+
+regina-normal (4.3-1) unstable; urgency=low
+
+  * New upstream release.
+  * C++ syntax now adheres to the requirements of gcc 4.1 (closes: #358062).
+
+ -- Ben Burton <bab@debian.org>  Mon, 27 Mar 2006 08:48:41 +1100
+
+regina-normal (4.2.1-5) unstable; urgency=low
+
+  * Build-depends on kdelibs4-dev (>= 4:3.5.1-3), so that the cached HTML
+    reference manual has the correct legal notice (GPL).  The meinproc from
+    older versions of kdelibs incorrectly claimed that all documentation was
+    under the GFDL instead.
+
+ -- Ben Burton <bab@debian.org>  Wed, 15 Mar 2006 07:22:55 +1100
+
+regina-normal (4.2.1-4) unstable; urgency=low
+
+  * Temporarily ship ia64 packages without MPI utilities, since the MPI code
+    fails to link under ia64.  These utilities will be restored once the link
+    failure can be tracked down.
+  * All architectures other than ia64 are unaffected by this change.
+
+ -- Ben Burton <bab@debian.org>  Tue, 21 Feb 2006 07:53:24 +1100
+
+regina-normal (4.2.1-3) unstable; urgency=low
+
+  * Made the NSnapPeaTriangulation tests more robust to avoid crashes
+    caused by taking log10(0) when the answers are very, very accurate.
+
+ -- Ben Burton <bab@debian.org>  Sat,  7 Jan 2006 11:00:41 +1100
+
+regina-normal (4.2.1-2) unstable; urgency=low
+
+  * Updated to debian's patched libtool 1.5.22.  This should support
+    Debian GNU/k*BSD, and should also streamline package dependencies
+    (closes: #343965).
+  * Build-depends on automake1.9 since we now need to rerun autoconf,
+    automake and friends.
+  * Applied the debian/KDE disable_no_undefine patch to admin/kde.m4.ext,
+    which is needed because of the libtool update.
+  * Made the NSnapPeaTriangulation tests more flexible for degenerate
+    triangulations, to allow for different floating point behaviour under
+    different chipsets (closes: #326790).
+  * Bumped standards-version to 3.6.2.2 (no changes required).
+
+ -- Ben Burton <bab@debian.org>  Fri,  6 Jan 2006 08:10:22 +1100
+
+regina-normal (4.2.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Ben Burton <bab@debian.org>  Fri, 16 Sep 2005 08:58:30 +1000
+
+regina-normal (4.2-3) unstable; urgency=low
+
+  * Rebuilt against libfam-dev instead of libgamin-dev.
+  * Removed obsolete kderemove tag from the debian menu entry.
+
+ -- Ben Burton <bab@debian.org>  Sun,  4 Sep 2005 10:58:17 +1000
+
+regina-normal (4.2-2) unstable; urgency=low
+
+  * Uploaded for the g++-4 / KDE 3.4 transition.  Build-depends and shlibs
+    files adjusted accordingly.
+  * Fixed incorrect include directory in "regina-engine-config --cflags".
+  * Fixed incorrect path to API docs in doc-base file.
+  * Updated FSF address in the copyright file.
+  * Bumped standards-version to 3.6.2.1 (no changes required).
+
+ -- Ben Burton <bab@debian.org>  Mon, 29 Aug 2005 01:06:11 +1000
+
+regina-normal (4.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * Note that regina-normal now includes MPI support.  These packages are
+    built against the MPICH implementation of MPI.
+  * Updated the copyright file to reflect inclusion of the SnapPea kernel.
+  * Minor tidying up in the debian directory.
+
+ -- Ben Burton <bab@debian.org>  Sun,  3 Jul 2005 18:35:25 +1000
+
+regina-normal (4.1.3-2) unstable; urgency=low
+
+  * Rebuilt against boost 1.32.0 since 1.31 is no longer in the archives.
+  * Minor aesthetic changes to package descriptions.
+
+ -- Ben Burton <bab@debian.org>  Mon, 17 Jan 2005 01:26:01 +1100
+
+regina-normal (4.1.3-1) unstable; urgency=low
+
+  * New upstream release.
+  * Build-depends on libcppunit-dev (was formerly cppunit).
+
+ -- Ben Burton <bab@debian.org>  Sun, 25 Jul 2004 11:32:25 +1000
+
+regina-normal (4.1.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * Updated to use python2.3 to stay consistent with boost.python (and
+    versioned the libboost-python-dev dependency at >= 1.31.0-5 accordingly).
+  * Suggests gap, which can now be used to help simplify fundamental groups.
+  * Recommends (konqueror | www-browser) for regina-normal-doc instead of
+    just www-browser.
+
+ -- Ben Burton <bab@debian.org>  Mon, 14 Jun 2004 01:07:41 +1000
+
+regina-normal (4.1.1-1) unstable; urgency=low
+
+  * New upstream bugfix release.
+  * Built against Boost.Python 1.31.0.
+  * Fixed compile error with Python 2.3 (closes: #243303).
+
+ -- Ben Burton <bab@debian.org>  Fri, 24 Apr 2004 09:22:24 +1000
+
+regina-normal (4.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Built against KDE 3.2.
+
+ -- Ben Burton <bab@debian.org>  Sun,  7 Mar 2004 14:37:16 +1100
+
+regina-normal (4.0.1-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Ben Burton <bab@debian.org>  Mon, 26 Jan 2004 11:22:43 +1100
+
+regina-normal (4.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Suggests konqueror for viewing the Python reference.
+  * Season's greetings from Melbourne!
+
+ -- Ben Burton <bab@debian.org>  Sat, 20 Dec 2003 18:38:32 +1100
+
+regina-normal (3.97-1) unstable; urgency=low
+
+  * New upstream release (final prerelease for 4.0).
+  * Python scripting is once more incorporated into the graphical user
+    interface.
+  * Runs the test suite during the debian build.
+
+ -- Ben Burton <bab@debian.org>  Mon, 24 Nov 2003 19:26:47 +1100
+
+regina-normal (3.96-1) unstable; urgency=low
+
+  * New upstream release (second prerelease for 4.0).
+
+ -- Ben Burton <bab@debian.org>  Fri, 31 Oct 2003 19:04:48 +1100
+
+regina-normal (3.95-1) unstable; urgency=low
+
+  * New upstream release (prerelease for 4.0).
+  * User interface entirely rewritten in C++.
+  * Moved from contrib to main since it no longer requires Java.
+  * Bumped standards-version to 3.6.1.
+
+ -- Ben Burton <bab@debian.org>  Sun, 12 Oct 2003 10:01:39 +1000
+
+regina-normal (3.2-1) unstable; urgency=low
+
+  * New upstream release.
+  * Build-conflicts with regina-normal-dev packages that provide different
+    versions of libregina-engine.so so we can avoid libtool's relinking bug.
+  * Using AM_MAINTAINER_MODE.
+  * Bumped standards-version to 3.5.10.
+
+ -- Ben Burton <bab@debian.org>  Sun, 22 Jun 2003 10:01:39 +1000
+
+regina-normal (3.1-2) unstable; urgency=low
+
+  * Now builds under j2sdk1.4.
+  * Reflect the fact that gcc 3.2 is now the default compiler.
+  * New maintainer email address.
+  * Bumped standards-version to 3.5.8.
+
+ -- Ben Burton <bab@debian.org>  Tue,  4 Feb 2003 15:04:50 +1100
+
+regina-normal (3.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Completely new build structure.
+  * Removed mime entry.
+
+ -- Ben Burton <benb@acm.org>  Fri, 18 Oct 2002 08:44:27 +1000
+
+regina-normal (3.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Ben Burton <benb@acm.org>  Fri, 28 Jun 2002 17:24:14 +1000
+
+regina-normal (2.4-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added mime entry.
+
+ -- Ben Burton <benb@acm.org>  Thu,  4 Apr 2002 11:43:48 +1000
+
+regina-normal (2.3-2) unstable; urgency=low
+
+  * Support both old and new versions of j2se1.3.
+
+ -- Ben Burton <benb@acm.org>  Tue, 29 Jan 2002 01:24:34 +1100
+
+regina-normal (2.3-1.2) unstable; urgency=low
+
+  * And put regina-normal-dev back again now 2.3 is in the archives.
+
+ -- Ben Burton <benb@acm.org>  Mon, 31 Dec 2001 11:39:47 +1000
+
+regina-normal (2.3-1.1) unstable; urgency=low
+
+  * Don't build regina-normal-dev since the ftp admins have kept it on
+    hold for half a month and I really want regina-normal-2.3 available.
+
+ -- Ben Burton <benb@acm.org>  Sun, 30 Dec 2001 11:14:38 +1000
+
+regina-normal (2.3-1) unstable; urgency=low
+
+  * New upstream release.
+  * Added package regina-normal-dev.
+  * Depends and build-depends on newer versions of omniorb(-dev).
+  * Updated to conform to new java policy.
+
+ -- Ben Burton <benb@acm.org>  Wed, 12 Dec 2001 01:08:52 -0600
+
+regina-normal (2.2-1) unstable; urgency=low
+
+  * Initial Release (closes: Bug#114151).
+
+ -- Ben Burton <benb@acm.org>  Mon,  1 Oct 2001 20:44:04 -0500
+
+Local variables:
+mode: debian-changelog
+End:
--- regina-normal-4.95.orig/debian/compat
+++ regina-normal-4.95/debian/compat
@@ -0,0 +1 @@
+5
--- regina-normal-4.95.orig/debian/control
+++ regina-normal-4.95/debian/control
@@ -0,0 +1,93 @@
+Source: regina-normal
+Section: math
+Priority: extra
+Maintainer: Ben Burton <bab@debian.org>
+Homepage: http://regina.sourceforge.net/
+Build-Depends: debhelper (>= 7), cmake, doxygen, libboost-python-dev (>= 1.39.0), libboost-regex-dev, libcppunit-dev (>= 1.10.2-4), libgmp-dev (>= 4.1.4-10), libqt4-dev, libpopt-dev, libsource-highlight-dev, libxml2-dev, mpi-default-dev, python-dev (>= 2.7.3-10~), shared-mime-info, xsltproc, zlib1g-dev, dpkg-dev (>= 1.16.0)
+Standards-Version: 3.9.4.0
+
+Package: regina-normal
+Architecture: any
+Section: math
+Depends: ${shlibs:Depends}, ${perl:Depends}, ${python:Depends}, ${misc:Depends}, graphviz, regina-normal-doc (>= 4.95-0)
+Recommends: gap, evince | pdf-viewer
+Suggests: regina-normal-dev, regina-normal-mpi
+Description: software for 3-manifold topology and normal surfaces
+ Regina is a suite of mathematical software for 3-manifold topologists.
+ It focuses on the study of 3-manifold triangulations and normal surfaces.
+ .
+ Other highlights of Regina include angle structures, census enumeration,
+ combinatorial recognition of triangulations, and high-level tasks such
+ as 3-sphere recognition and connected sum decomposition.  Regina comes
+ with a full graphical user interface, and also offers Python bindings
+ and a low-level C++ programming interface.
+ .
+ This package includes the graphical user interface and the command-line
+ Python interface.  The users' handbook and the API documentation are in
+ the separate package regina-normal-doc, and the MPI-enabled utilities for
+ high-performance clusters are in the separate package regina-normal-mpi.
+
+Package: regina-normal-dev
+Architecture: any
+Section: libdevel
+Depends: regina-normal (= ${binary:Version}), libboost-dev, libgmp-dev, libxml2-dev, zlib1g-dev, ${misc:Depends}
+Suggests: regina-normal-doc
+Description: development files for Regina, the 3-manifold topology software
+ Regina is a suite of mathematical software for 3-manifold topologists.
+ This package provides development files for compiling Regina's mathematical
+ engine into other projects.
+ .
+ The calculation engine is provided as a C++ shared library.  For complete
+ API documentation, see the package regina-normal-doc.
+ .
+ Regina focuses on the study of 3-manifold triangulations and normal
+ surfaces.  Other highlights include angle structures, census enumeration,
+ combinatorial recognition of triangulations, and high-level tasks such as
+ 3-sphere recognition and connected sum decomposition.
+ .
+ For Regina's standard graphical user interface, install the package
+ regina-normal.
+
+Package: regina-normal-mpi
+Architecture: any
+Section: math
+Depends: mpi-default-bin, ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends}
+Replaces: regina-normal (<= 4.3.1-6)
+Description: MPI utilities for Regina, the 3-manifold topology software
+ Regina is a suite of mathematical software for 3-manifold topologists.
+ This package contains the components of Regina designed to run large
+ parallel computations on a high-performance cluster using MPI.
+ .
+ These components are built against the default implementation of MPI,
+ and must be run under the default MPI runtime environment (as found
+ in the package mpi-default-bin).
+ .
+ Regina focuses on the study of 3-manifold triangulations and normal
+ surfaces.  Other highlights include angle structures, census enumeration,
+ combinatorial recognition of triangulations, and high-level tasks such as
+ 3-sphere recognition and connected sum decomposition.
+ .
+ For Regina's standard graphical user interface, install the package
+ regina-normal.
+
+Package: regina-normal-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Recommends: iceweasel | www-browser
+Suggests: regina-normal, regina-normal-dev
+Breaks: regina-normal (<< 4.6-2)
+Replaces: regina-normal (<< 4.6-2)
+Description: documentation for Regina, the 3-manifold topology software
+ Regina is a suite of mathematical software for 3-manifold topologists.
+ This package provides a rich users' handbook, complete API documentation
+ for the C++ calculation engine and Python bindings, and the full
+ specification for Regina's XML data file format.
+ .
+ Regina focuses on the study of 3-manifold triangulations and normal
+ surfaces.  Other highlights include angle structures, census enumeration,
+ combinatorial recognition of triangulations, and high-level tasks such as
+ 3-sphere recognition and connected sum decomposition.
+ .
+ For Regina's standard graphical user interface, install the package
+ regina-normal.
--- regina-normal-4.95.orig/debian/copyright
+++ regina-normal-4.95/debian/copyright
@@ -0,0 +1,118 @@
+This package was debianised by Ben Burton <bab@debian.org> on
+Mon,  1 Oct 2001 20:44:04 -0500.
+
+It was downloaded from http://regina.sourceforge.net/.
+
+Upstream Authors:
+
+  The primary developers of Regina are:
+
+    Benjamin Burton <bab@debian.org>
+    Ryan Budney <rybu@uvic.ca>
+    William Pettersson <william.pettersson@gmail.com>
+
+  Many others have been of assistance with this project, be it through time,
+  knowledge, testing or code.  Please see the full list of acknowledgements
+  in the users' handbook.
+
+Copyright:
+
+  Regina - Software for 3-manifold topology and normal surface theory
+  Copyright (c) 1999-2013, The Regina development team
+
+
+  CITATION:
+
+  If you find Regina useful in your research, please consider citing it as
+  you would any other paper that you use.  A suggested form of reference is:
+
+    Benjamin A. Burton, Ryan Budney, William Pettersson, et al.,
+    "Regina: Software for 3-manifold topology and normal surface theory",
+    http://regina.sourceforge.net/, 1999-2013.
+
+
+  COPYING AND MODIFICATION:
+
+  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.
+
+  Some of this code comes with additional permissions; see the section
+  below regarding online distribution.
+
+  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.
+
+  A full copy of the GNU General Public License should be included below;
+  if not, write to the Free Software Foundation, Inc., 51 Franklin St,
+  Fifth Floor, Boston, MA 02110-1301, USA.
+
+
+  ONLINE DISTRIBUTION:
+
+  Regina's own source code comes with the following permissions in
+  addition to the GNU General Public License:
+
+  As an exception, when this program is distributed through (i) the
+  App Store by Apple Inc.; (ii) the Mac App Store by Apple Inc.; or
+  (iii) Google Play by Google Inc., then that store may impose any
+  digital rights management, device limits and/or redistribution
+  restrictions that are required by its terms of service.
+
+  Some third-party libraries included in Regina are not granted this
+  exception, and must be removed from any build that is distributed on
+  stores that cannot comply with the GNU General Public License (such as
+  Apple's App Store).  See the third-party licenses below for details.
+
+
+  SNAPPEA AND SNAPPY:
+
+  Regina includes portions of the SnapPea kernel and its successor SnapPy,
+  which it uses for some geometric calculations.  The SnapPea kernel was
+  written by Jeff Weeks, and SnapPy was written by Marc Culler, Nathan
+  Dunfield, and others.  SnapPy and the corresponding SnapPea kernel are
+  distributed under the terms of the GNU General Public License, version 2
+  or any later version, as published by the Free Software Foundation.
+
+
+  NORMALIZ LIBRARY:
+
+  Regina includes a copy of libnormaliz, which it uses to help with the
+  enumeration of fundamental normal surfaces.  Normaliz was written by Winfried
+  Bruns, Bogdan Ichim and Christof Soeger.  It is distributed 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.
+
+
+  ORB KERNEL:
+
+  Regina includes snippets of code from Orb, for use in importing and
+  exporting files in Orb / Casson format.  Orb is based on SnapPea
+  (see above) with additional code written by Damian Heard, who has also
+  given permission for his code to be distributed under the terms of the
+  GNU General Public License.
+
+
+  SYNTAX HIGHLIGHTING:
+
+  Regina includes code from Source-highlight-qt and language definitions
+  from GNU Source-highlight, which it uses to highlight Python scripts.
+  Both projects are by Lorenzo Bettini and others, and are distributed
+  under the terms of the GNU General Public License, version 3.
+
+
+  ICONS:
+
+  The Oxygen icons are dual-licensed under the Creative Common Attribution-
+  ShareAlike 3.0 License or the GNU Library General Public License.
+  The python icons are based on applications-python.svg as shipped with the
+  humanity-icon-theme package in Ubuntu 11.04, the contents of which
+  are licensed under the GNU General Public License version 2.
+
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+
--- regina-normal-4.95.orig/debian/regina-normal-dev.README.Debian
+++ regina-normal-4.95/debian/regina-normal-dev.README.Debian
@@ -0,0 +1,15 @@
+Regina Development Files for Debian
+-----------------------------------
+
+Regina's mathematical engine is provided in the C++ shared library
+/usr/lib/libregina-engine.so.
+
+The corresponding headers can be found in /usr/include/regina-normal/.
+
+Run "regina-engine-config --cflags" or "regina-engine-config --libs" for
+the suggested g++ compiler and linker flags.
+
+You can find thorough API documentation for this library in the package
+regina-normal-doc.
+
+ -- Ben Burton <bab@debian.org>, Fri,  9 Sep 2011 06:11:01 +1000
--- regina-normal-4.95.orig/debian/regina-normal-dev.docs
+++ regina-normal-4.95/debian/regina-normal-dev.docs
@@ -0,0 +1 @@
+HIGHLIGHTS.txt
--- regina-normal-4.95.orig/debian/regina-normal-dev.install
+++ regina-normal-4.95/debian/regina-normal-dev.install
@@ -0,0 +1,2 @@
+usr/include/regina-normal
+usr/lib/libregina-engine.so
--- regina-normal-4.95.orig/debian/regina-normal-doc.README.Debian
+++ regina-normal-4.95/debian/regina-normal-doc.README.Debian
@@ -0,0 +1,15 @@
+Regina Documentation
+--------------------
+
+This package provides a rich users' handbook for Regina, and also full
+API documentation for the C++ shared library and Python bindings.
+
+For the users' handbook, see:
+
+  /usr/share/doc/regina-normal-doc/docs/en/regina/index.html
+
+For the API documentation, see:
+
+  /usr/share/doc/regina-normal-doc/engine-docs/index.html
+
+ -- Ben Burton <bab@debian.org>, Fri, 30 Mar 2012 14:10:01 +1000
--- regina-normal-4.95.orig/debian/regina-normal-doc.doc-base.api
+++ regina-normal-4.95/debian/regina-normal-doc.doc-base.api
@@ -0,0 +1,14 @@
+Document: regina-api
+Title: Regina C++/Python API
+Author: Ben Burton <bab@debian.org>
+Abstract: Regina is a suite of mathematical software for 3-manifold
+ topologists.  This manual provides thorough API documentation for
+ Regina's mathematical engine, which can be accessed through Python
+ bindings or a C++ shared library.  This manual is useful if you are
+ using Python scripting with Regina, or building the C++ calculation
+ engine into your own project.
+Section: Science/Mathematics
+
+Format: HTML
+Index: /usr/share/doc/regina-normal-doc/engine-docs/index.html
+Files: /usr/share/doc/regina-normal-doc/engine-docs/*.html
--- regina-normal-4.95.orig/debian/regina-normal-doc.doc-base.handbook
+++ regina-normal-4.95/debian/regina-normal-doc.doc-base.handbook
@@ -0,0 +1,11 @@
+Document: regina-handbook
+Title: Regina Users' Handbook
+Author: Ben Burton <bab@debian.org>
+Abstract: Regina is a suite of mathematical software for 3-manifold
+ topologists.  This is the main users' handbook, which guides you through
+ Regina's graphical user interface.
+Section: Science/Mathematics
+
+Format: HTML
+Index: /usr/share/doc/regina-normal-doc/docs/en/regina/index.html
+Files: /usr/share/doc/regina-normal-doc/docs/en/regina/*.html
--- regina-normal-4.95.orig/debian/regina-normal-doc.doc-base.xmlref
+++ regina-normal-4.95/debian/regina-normal-doc.doc-base.xmlref
@@ -0,0 +1,11 @@
+Document: regina-xmlref
+Title: Regina XML File Format
+Author: Ben Burton <bab@debian.org>
+Abstract: Regina is a suite of mathematical software for 3-manifold
+ topologists.  This manual details the precise XML file format that
+ Regina uses for its data files.
+Section: Science/Mathematics
+
+Format: HTML
+Index: /usr/share/doc/regina-normal-doc/docs/en/regina-xml/index.html
+Files: /usr/share/doc/regina-normal-doc/docs/en/regina-xml/*.html
--- regina-normal-4.95.orig/debian/regina-normal-doc.docs
+++ regina-normal-4.95/debian/regina-normal-doc.docs
@@ -0,0 +1 @@
+HIGHLIGHTS.txt
--- regina-normal-4.95.orig/debian/regina-normal-doc.install
+++ regina-normal-4.95/debian/regina-normal-doc.install
@@ -0,0 +1,2 @@
+usr/share/regina-normal/docs usr/share/doc/regina-normal-doc
+usr/share/regina-normal/engine-docs usr/share/doc/regina-normal-doc
--- regina-normal-4.95.orig/debian/regina-normal-doc.links
+++ regina-normal-4.95/debian/regina-normal-doc.links
@@ -0,0 +1,2 @@
+usr/share/doc/regina-normal-doc/docs usr/share/regina-normal/docs
+usr/share/doc/regina-normal-doc/engine-docs usr/share/regina-normal/engine-docs
--- regina-normal-4.95.orig/debian/regina-normal-mpi.README.Debian
+++ regina-normal-4.95/debian/regina-normal-mpi.README.Debian
@@ -0,0 +1,17 @@
+MPI-Enabled Utilities in Regina
+-------------------------------
+
+This package provides the components of Regina that are designed to run
+large computations on high-performance clusters.  If you want Regina's
+graphical user interface or its standard command-line tools, see the main
+package regina-normal.
+
+The utilities in this package make use of MPI (the Message Passing Interface),
+and have been built against the default implementation of MPI in debian.
+This means that you must run them under the default MPI runtime environment,
+which can be found in the package mpi-default-bin.
+
+If you have no need for MPI, Regina includes "plain" non-MPI alternatives
+to these utilities in the package regina-normal.
+
+ -- Ben Burton <bab@debian.org>, Fri,  9 Sep 2011 06:33:29 +1000
--- regina-normal-4.95.orig/debian/regina-normal-mpi.docs
+++ regina-normal-4.95/debian/regina-normal-mpi.docs
@@ -0,0 +1 @@
+HIGHLIGHTS.txt
--- regina-normal-4.95.orig/debian/regina-normal-mpi.install
+++ regina-normal-4.95/debian/regina-normal-mpi.install
@@ -0,0 +1,3 @@
+usr/bin/tricensus-mpi
+usr/bin/tricensus-mpi-status
+usr/share/man/man1/tricensus-mpi*
--- regina-normal-4.95.orig/debian/regina-normal.README.Debian
+++ regina-normal-4.95/debian/regina-normal.README.Debian
@@ -0,0 +1,29 @@
+Regina for Debian
+-----------------
+
+Regina comes with two main binaries:
+
+- /usr/bin/regina-gui, which starts the graphical user interface;
+- /usr/bin/regina-python, which starts a command-line Python session.
+
+Regina also provides several other specialised command-line tools; see the
+users' handbook for details.
+
+To get started, take a look at the users' handbook.  You can find it in
+/usr/share/doc/regina-normal/docs/en/regina/index.html .
+
+Examples of topology data files and Python sessions can be found in
+the directory /usr/share/doc/regina-normal/examples/ .
+
+If you are using Python scripting or if you are building the C++
+calculation engine into your own projects, you can find full API
+documentation in /usr/share/doc/regina-normal/engine-docs/index.html .
+
+For C++ headers and other development files required to build Regina's
+calculation engine directly into your own projects, see the package
+regina-normal-dev.
+
+For MPI-enable components that can run on high-performance clusters,
+see the package regina-normal-mpi.
+
+ -- Ben Burton <bab@debian.org>, Fri, 30 Mar 2012 14:10:01 +1000
--- regina-normal-4.95.orig/debian/regina-normal.docs
+++ regina-normal-4.95/debian/regina-normal.docs
@@ -0,0 +1 @@
+HIGHLIGHTS.txt
--- regina-normal-4.95.orig/debian/regina-normal.install
+++ regina-normal-4.95/debian/regina-normal.install
@@ -0,0 +1,19 @@
+usr/bin/reg*
+usr/bin/sig*
+usr/bin/tricensus
+usr/bin/trisetcmp
+usr/lib/libregina-engine.so.4.95
+usr/lib/python2.7/dist-packages/regina/__init__.py
+usr/lib/python2.7/dist-packages/regina/engine.so
+usr/share/applications
+usr/share/icons
+usr/share/man/man1/reg*
+usr/share/man/man1/sig*
+usr/share/man/man1/tricensus.1
+usr/share/man/man1/trisetcmp.1
+usr/share/mime
+usr/share/regina-normal/data
+usr/share/regina-normal/examples usr/share/doc/regina-normal
+usr/share/regina-normal/icons
+usr/share/regina-normal/pylib
+usr/share/regina-normal/syntax
--- regina-normal-4.95.orig/debian/regina-normal.links
+++ regina-normal-4.95/debian/regina-normal.links
@@ -0,0 +1,3 @@
+usr/share/doc/regina-normal/examples usr/share/regina-normal/examples
+usr/share/doc/regina-normal-doc/docs usr/share/doc/regina-normal/docs
+usr/share/doc/regina-normal-doc/engine-docs usr/share/doc/regina-normal/engine-docs
--- regina-normal-4.95.orig/debian/regina-normal.menu
+++ regina-normal-4.95/debian/regina-normal.menu
@@ -0,0 +1,10 @@
+?package(regina-normal):needs="X11"\
+  section="Applications/Science/Mathematics"\
+  title="Regina"\
+  command="/usr/bin/regina-gui"\
+  icon="/usr/share/pixmaps/regina-normal.xpm"
+?package(regina-normal):needs="text"\
+  section="Applications/Science/Mathematics"\
+  title="Regina Python Session"\
+  command="/usr/bin/regina-python"\
+  icon="/usr/share/pixmaps/regina-normal.xpm"
--- regina-normal-4.95.orig/debian/regina-normal.override
+++ regina-normal-4.95/debian/regina-normal.override
@@ -0,0 +1,7 @@
+# These scripts are not meant to be run.
+regina-normal: unusual-interpreter usr/share/regina-normal/internal/scripts/runscript.py #!/bin/false
+regina-normal: unusual-interpreter usr/share/regina-normal/pylib/loadCensus.py #!/bin/false
+regina-normal: unusual-interpreter usr/share/regina-normal/pylib/packetType.py #!/bin/false
+
+# Regina does not provide a standalone library package.
+regina-normal: package-name-doesnt-match-sonames libregina-engine4.95
--- regina-normal-4.95.orig/debian/regina-normal.shlibs
+++ regina-normal-4.95/debian/regina-normal.shlibs
@@ -0,0 +1 @@
+libregina-engine 4.95 regina-normal (>= 4.95-1), regina-normal (<< 4.96-0)
--- regina-normal-4.95.orig/debian/rules
+++ regina-normal-4.95/debian/rules
@@ -0,0 +1,133 @@
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+tmp = debian/tmp
+
+DEB_HOST_MULTIARCH ?=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+INSTALL_DIR = install -p -d -o root -g root -m 755
+INSTALL_FILE = install -p -o root -g root -m 644
+
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+	INSTALL_PROGRAM += -s
+endif
+
+# Find the default python version so we can pass it to ./configure.  This 
+# keeps things sane when multiple python*-dev packages are installed.
+pyver = $(subst python,,$(shell /usr/bin/pyversions --default))
+
+build_dir = builds/debbuild
+
+${build_dir}:
+	dh_testdir
+
+	mkdir -p ${build_dir}
+	cd ${build_dir} && \
+		cmake $(CURDIR) \
+		-DPACKAGE_NAME=regina-normal -DPACKAGING_MODE=1 \
+		$(DEB_CMAKE_CUSTOM_FLAGS) \
+		-DPYTHON_EXECUTABLE=/usr/bin/python${pyver} \
+		-DPYTHON_LIBRARY=/usr/lib/$(DEB_HOST_MULTIARCH)/libpython${pyver}.so \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DDISABLE_RPATH=1 \
+		-DCMAKE_MODULE_PATH="/usr/share/apps/cmake/modules"
+
+configure: ${build_dir}
+
+build: build-arch build-indep
+build-arch: build-stamp
+build-indep: build-stamp
+
+build-stamp: ${build_dir}
+	dh_testdir
+
+	$(MAKE) -C ${build_dir} VERBOSE=1
+ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
+	$(MAKE) -C ${build_dir} test ARGS=-V
+endif
+
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	[ ! -d ${build_dir} ] || rm -rf ${build_dir}
+
+	dh_clean
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+
+	# Main install.
+	$(MAKE) -C ${build_dir} install DESTDIR=$(CURDIR)/$(tmp)
+
+	# Split into separate binary packages.
+	dh_install --sourcedir=$(tmp) --list-missing
+
+	# Install a pixmap for the menu system.
+	$(INSTALL_DIR) debian/regina-normal/usr/share/pixmaps
+	$(INSTALL_FILE) icons/regina.xpm debian/regina-normal/usr/share/pixmaps/regina-normal.xpm
+
+	# Install lintian overrides.
+	for pkg in `dh_listpackages`; do \
+	  if test -e debian/$$pkg.override; then \
+	    $(INSTALL_DIR) debian/$$pkg/usr/share/lintian/overrides; \
+	    $(INSTALL_FILE) debian/$$pkg.override \
+	      debian/$$pkg/usr/share/lintian/overrides/$$pkg; \
+	  fi; \
+	done
+
+# Build architecture-independent files here.
+binary-indep: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs -i
+	dh_installexamples -i
+	dh_installman -i
+	dh_installmenu -i
+	dh_installmime -i
+	dh_installchangelogs -i CHANGES.txt
+	dh_link -i
+	dh_strip -i
+	dh_compress -i -X.bz2 -X.css -X.docbook -X.rga
+	dh_fixperms -i
+	# dh_makeshlibs -i
+	dh_installdeb -i
+	dh_perl -i
+	dh_shlibdeps -i
+	dh_gencontrol -i
+	dh_md5sums -i
+	dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installdocs -a
+	dh_installexamples -a
+	dh_installman -a
+	dh_installmenu -a
+	dh_installmime -a
+	dh_installchangelogs -a CHANGES.txt
+	dh_link -a
+	dh_strip -a
+	dh_compress -a -X.bz2 -X.css -X.docbook -X.rga
+	dh_fixperms -a
+	dh_makeshlibs -a
+	dh_installdeb -a
+	dh_perl -a
+	dh_python2 -pregina-normal
+	dh_shlibdeps -a -ldebian/regina-normal/usr/lib
+	dh_gencontrol -a
+	dh_md5sums -a
+	dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
