--- regina-normal-5.1.orig/debian/changelog +++ regina-normal-5.1/debian/changelog @@ -0,0 +1,586 @@ +regina-normal (5.1-1) unstable; urgency=low + + * New upstream release. + * Added build-depends on libjansson-dev, which is required as of Regina 5.1. + * Removed build-depends on libsource-highlight-dev, which is no longer used. + + -- Ben Burton Sat, 17 Dec 2016 09:27:49 +1100 + +regina-normal (5.0-3) unstable; urgency=low + + * Updated the debian watch file. + + -- Ben Burton Thu, 6 Oct 2016 14:17:53 +1000 + +regina-normal (5.0-2) unstable; urgency=low + + * Build with -O2 instead of -O3 on arm64, to avoid assembly errors. + + -- Ben Burton Thu, 6 Oct 2016 14:17:53 +1000 + +regina-normal (5.0-1) unstable; urgency=low + + * New upstream release. + * New build-depends: switched from Qt4 to Qt5, and also added + libboost-iostreams-dev and libgraphviz-dev. + * Added debian/watch (thanks to bartm). + * Removed regina-gui from the debian menu system, following the recent + policy update. Kept the menu entry for regina-python, since this + command-line application does not provide a .desktop file. + * Bumped standards-version to 3.9.8. + + -- Ben Burton Tue, 20 Sep 2016 10:03:24 +1000 + +regina-normal (4.96-4) unstable; urgency=low + + * Fix FTBFS on some architectures, which was due to an assumption in the + snappea kernel that char was signed (closes: #836678). + + -- Ben Burton Mon, 05 Sep 2016 12:18:35 +1000 + +regina-normal (4.96-3) unstable; urgency=low + + * Fix FTBFS with gcc-6 due to ambiguity in resolving std::make_tuple vs + boost::python::make_tuple (closes: #811680). + * Altered previous NMU patch to be consistent with how this was fixed + upstream (thanks Anton for the NMU). + + -- Ben Burton Sat, 02 Jul 2016 09:38:33 +1000 + +regina-normal (4.96-2.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS due to ambiguous call of overloaded method. (Closes: #808456) + + -- Anton Gladky Sat, 02 Jan 2016 00:00:47 +0100 + +regina-normal (4.96-2) unstable; urgency=low + + * Now installs the utility /usr/bin/censuslookup, which was inadvertently + omitted from 4.96-1 (closes: #769700). Also installs the corresponding + manpage. + + -- Ben Burton Sat, 15 Nov 2014 22:01:46 +0530 + +regina-normal (4.96-1) unstable; urgency=low + + * New upstream release. + + -- Ben Burton Fri, 29 Aug 2014 17:37:46 +1000 + +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 Sat, 2 Nov 2013 11:44:32 -0400 + +regina-normal (4.94-1) unstable; urgency=low + + * New upstream release. + + -- Ben Burton 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 Sat, 13 Jul 2013 17:07:24 +0200 + +regina-normal (4.93-1) unstable; urgency=low + + * New upstream release. + + -- Ben Burton 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 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 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 Sat, 10 Sep 2011 07:17:25 +1000 + +regina-normal (4.6-4) unstable; urgency=low + + * Add #include to fix ptrdiff_t build failure. + * Lower precision of snappea volume tests to fix i386 build failure. + + -- Ben Burton 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 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 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 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 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 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 Tue, 28 Oct 2008 06:19:50 +1100 + +regina-normal (4.5-1) unstable; urgency=low + + * New upstream release. + + -- Ben Burton 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 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 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 Tue, 5 Feb 2008 20:23:37 +1100 + +regina-normal (4.4-1) unstable; urgency=low + + * New upstream release. + + -- Ben Burton 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 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 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 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 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 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 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 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 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 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 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 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 Fri, 6 Jan 2006 08:10:22 +1100 + +regina-normal (4.2.1-1) unstable; urgency=low + + * New upstream release. + + -- Ben Burton 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 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 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 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 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 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 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 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 Sun, 7 Mar 2004 14:37:16 +1100 + +regina-normal (4.0.1-1) unstable; urgency=low + + * New upstream release. + + -- Ben Burton 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 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 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 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 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 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 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 Fri, 18 Oct 2002 08:44:27 +1000 + +regina-normal (3.0-1) unstable; urgency=low + + * New upstream release. + + -- Ben Burton Fri, 28 Jun 2002 17:24:14 +1000 + +regina-normal (2.4-1) unstable; urgency=low + + * New upstream release. + * Added mime entry. + + -- Ben Burton 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 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 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 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 Wed, 12 Dec 2001 01:08:52 -0600 + +regina-normal (2.2-1) unstable; urgency=low + + * Initial Release (closes: Bug#114151). + + -- Ben Burton Mon, 1 Oct 2001 20:44:04 -0500 + +Local variables: +mode: debian-changelog +End: --- regina-normal-5.1.orig/debian/compat +++ regina-normal-5.1/debian/compat @@ -0,0 +1 @@ +5 --- regina-normal-5.1.orig/debian/control +++ regina-normal-5.1/debian/control @@ -0,0 +1,124 @@ +Source: regina-normal +Section: math +Priority: extra +Maintainer: Ben Burton +Homepage: http://regina-normal.github.io/ +Build-Depends: + debhelper (>= 7), + dh-python, + cmake (>= 2.8.7), + doxygen, + libboost-iostreams-dev, + libboost-python-dev (>= 1.39.0), + libcppunit-dev (>= 1.10.2-4), + libgmp-dev (>= 4.1.4-10), + libgraphviz-dev, + libjansson-dev, + libpopt-dev, + libqt5svg5-dev, + libtokyocabinet-dev, + libxml2-dev, + mpi-default-dev, + pkg-config, + python-dev (>= 2.7.3-10~), + qtbase5-dev, + shared-mime-info, + xsltproc, + zlib1g-dev, + dpkg-dev (>= 1.16.0) +Standards-Version: 3.9.8.0 + +Package: regina-normal +Architecture: any +Section: math +Depends: + ${shlibs:Depends}, + ${perl:Depends}, + ${python:Depends}, + ${misc:Depends}, + regina-normal-doc (>= 5.1-0) +Recommends: gap, evince | pdf-viewer +Suggests: regina-normal-dev, regina-normal-mpi +Description: mathematical software for low-dimensional topology + Regina is a software package for 3-manifold and 4-manifold topologists, + with a focus on triangulations, normal surfaces and angle structures. + . + For 3-manifolds, it includes high-level tasks such as 3-sphere recognition, + connected sum decomposition and Hakenness testing, comes with a rich + database of census manifolds, and incorporates the SnapPea kernel for + working with hyperbolic manifolds. For 4-manifolds, it offers a range of + combinatorial and algebraic tools, plus support for normal hypersurfaces. + . + Regina comes with a full graphical user interface, as well as 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 topology software + Regina is a software package for low-dimensional 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 and 4-manifold triangulations, + normal surfaces, and angle structures. For Regina's standard graphical + user interface, and for more information about what Regina can do, see + 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 topology software + Regina is a software package for low-dimensional 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 and 4-manifold triangulations, + normal surfaces, and angle structures. For Regina's standard graphical + user interface, and for more information about what Regina can do, see + 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 topology software + Regina is a software package for low-dimensional 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 and 4-manifold triangulations, + normal surfaces, and angle structures. For Regina's standard graphical + user interface, and for more information about what Regina can do, see + the package regina-normal. --- regina-normal-5.1.orig/debian/copyright +++ regina-normal-5.1/debian/copyright @@ -0,0 +1,119 @@ +This package was debianised by Ben Burton on +Mon, 1 Oct 2001 20:44:04 -0500. + +It was downloaded from http://regina-normal.github.io/. + +Upstream Authors: + + The primary developers of Regina are: + + Benjamin Burton + Ryan Budney + William Pettersson + + 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 low-dimensional topology + Copyright (c) 1999-2016, 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 low-dimensional topology", + http://regina-normal.github.io/, 1999-2016. + + + 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 + originally written by Jeff Weeks. SnapPy, where this kernel is now + maintained, is primarily developed by Marc Culler and Nathan Dunfield, + with contributions from many people. 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's graphical user interface includes the PythonSyntaxHighlighter class + by Frankie Simon and others, which it uses for highlighting Python scripts. + This class is distributed under the X11 license. + + + 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. + The die icon is based on an image from openclipart.org, which has been + released into the public domain. + + +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-5.1.orig/debian/regina-normal-dev.README.Debian +++ regina-normal-5.1/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 , Fri, 9 Sep 2011 06:11:01 +1000 --- regina-normal-5.1.orig/debian/regina-normal-dev.docs +++ regina-normal-5.1/debian/regina-normal-dev.docs @@ -0,0 +1 @@ +HIGHLIGHTS.txt --- regina-normal-5.1.orig/debian/regina-normal-dev.install +++ regina-normal-5.1/debian/regina-normal-dev.install @@ -0,0 +1,2 @@ +usr/include/regina-normal +usr/lib/libregina-engine.so --- regina-normal-5.1.orig/debian/regina-normal-doc.README.Debian +++ regina-normal-5.1/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 , Fri, 30 Mar 2012 14:10:01 +1000 --- regina-normal-5.1.orig/debian/regina-normal-doc.doc-base.api +++ regina-normal-5.1/debian/regina-normal-doc.doc-base.api @@ -0,0 +1,13 @@ +Document: regina-api +Title: Regina C++/Python API +Author: Ben Burton +Abstract: Regina is a software package for low-dimensional 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-5.1.orig/debian/regina-normal-doc.doc-base.handbook +++ regina-normal-5.1/debian/regina-normal-doc.doc-base.handbook @@ -0,0 +1,11 @@ +Document: regina-handbook +Title: Regina Users' Handbook +Author: Ben Burton +Abstract: Regina is a software package for low-dimensional 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-5.1.orig/debian/regina-normal-doc.doc-base.xmlref +++ regina-normal-5.1/debian/regina-normal-doc.doc-base.xmlref @@ -0,0 +1,11 @@ +Document: regina-xmlref +Title: Regina XML File Format +Author: Ben Burton +Abstract: Regina is a software package for low-dimensional 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-5.1.orig/debian/regina-normal-doc.docs +++ regina-normal-5.1/debian/regina-normal-doc.docs @@ -0,0 +1 @@ +HIGHLIGHTS.txt --- regina-normal-5.1.orig/debian/regina-normal-doc.install +++ regina-normal-5.1/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-5.1.orig/debian/regina-normal-doc.links +++ regina-normal-5.1/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-5.1.orig/debian/regina-normal-mpi.README.Debian +++ regina-normal-5.1/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 , Fri, 9 Sep 2011 06:33:29 +1000 --- regina-normal-5.1.orig/debian/regina-normal-mpi.docs +++ regina-normal-5.1/debian/regina-normal-mpi.docs @@ -0,0 +1 @@ +HIGHLIGHTS.txt --- regina-normal-5.1.orig/debian/regina-normal-mpi.install +++ regina-normal-5.1/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-5.1.orig/debian/regina-normal.README.Debian +++ regina-normal-5.1/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 , Fri, 30 Mar 2012 14:10:01 +1000 --- regina-normal-5.1.orig/debian/regina-normal.docs +++ regina-normal-5.1/debian/regina-normal.docs @@ -0,0 +1 @@ +HIGHLIGHTS.txt --- regina-normal-5.1.orig/debian/regina-normal.install +++ regina-normal-5.1/debian/regina-normal.install @@ -0,0 +1,20 @@ +usr/bin/censuslookup +usr/bin/reg* +usr/bin/sig* +usr/bin/tricensus +usr/bin/trisetcmp +usr/lib/libregina-engine.so.5.1 +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/censuslookup.1 +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/syntax --- regina-normal-5.1.orig/debian/regina-normal.links +++ regina-normal-5.1/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-5.1.orig/debian/regina-normal.menu +++ regina-normal-5.1/debian/regina-normal.menu @@ -0,0 +1,5 @@ +?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-5.1.orig/debian/regina-normal.override +++ regina-normal-5.1/debian/regina-normal.override @@ -0,0 +1,8 @@ +# These scripts are not meant to be run. +regina-normal: unusual-interpreter usr/share/regina-normal/internal/scripts/runscript.py #!/bin/false + +# Regina does not provide a standalone library package. +regina-normal: package-name-doesnt-match-sonames libregina-engine5.1 + +# The graphviz plugins are in a non-standard directory, so rpath is required. +regina-normal: binary-or-shlib-defines-rpath usr/bin/regina-gui /usr/lib/graphviz --- regina-normal-5.1.orig/debian/regina-normal.shlibs +++ regina-normal-5.1/debian/regina-normal.shlibs @@ -0,0 +1 @@ +libregina-engine 5.1 regina-normal (>= 5.1-1), regina-normal (<< 5.1.1-0) --- regina-normal-5.1.orig/debian/regina.xpm +++ regina-normal-5.1/debian/regina.xpm @@ -0,0 +1,143 @@ +/* XPM */ +static char *regina[] = { +/* columns rows colors chars-per-pixel */ +"32 32 105 2 ", +" c #023F2D", +". c #1E3E2A", +"X c #5D3D27", +"o c #00553B", +"O c #03583D", +"+ c #10583E", +"@ c #3B412D", +"# c #224F39", +"$ c #334E37", +"% c #20523A", +"& c #285239", +"* c #4C4831", +"= c #585237", +"- c #585338", +"; c #64422C", +": c #69462E", +"> c #654633", +", c #6E4A30", +"< c #734C32", +"1 c #775035", +"2 c #7B5337", +"3 c #715138", +"4 c #7C5539", +"5 c #775A3C", +"6 c #78583E", +"7 c #135B40", +"8 c #006042", +"9 c #006748", +"0 c #026B4D", +"q c #166F50", +"w c #047252", +"e c #0D7452", +"r c #007D5A", +"t c #0C7E5A", +"y c #1A7654", +"u c #1D7B59", +"i c #396749", +"p c #287F5C", +"a c #317250", +"s c #3F7D5A", +"d c #7E5C42", +"f c #4B6746", +"g c #416C4A", +"h c #48704D", +"j c #656445", +"k c #646D4C", +"l c #7E6241", +"z c #737151", +"x c #825739", +"c c #855A3D", +"v c #8C5D3D", +"b c #865C40", +"n c #8A5E41", +"m c #8C6244", +"M c #816749", +"N c #8E664A", +"B c #806B4C", +"V c #8D684A", +"C c #916445", +"Z c #936748", +"A c #956A4D", +"S c #996E4D", +"D c #976E52", +"F c #986F52", +"G c #867355", +"H c #937255", +"J c #9A7255", +"K c #9E765A", +"L c #9F785D", +"P c #A0775B", +"I c #A17A5D", +"U c #A37C62", +"Y c #03835F", +"T c #0F835F", +"R c #0D8661", +"E c #118762", +"W c #178963", +"Q c #1B8B64", +"! c #238D65", +"~ c #298F67", +"^ c #378A64", +"/ c #3C8D66", +"( c #2D9068", +") c #34926A", +"_ c #3A946B", +"` c #4E825D", +"' c #40966C", +"] c #47986D", +"[ c #4B986E", +"{ c #589A6F", +"} c #529B70", +"| c #A78165", +" . c #AA8466", +".. c #A68168", +"X. c #AA856B", +"o. c #AD896D", +"O. c #AD8B73", +"+. c #B28F73", +"@. c #B49277", +"#. c #B2927A", +"$. c #B7987E", +"%. c #B9997A", +"&. c #BEA088", +"*. c #C0A48A", +"=. c None", +/* pixels */ +"=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.O.=.=.=.=.=.=.=.=.=.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.%.*.H =.=.=.=.=.=.=.=.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.| +.*. .=.=.=.=.=.=.=.=.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.=.=.=.=.=.=.L +. .&. .L =.=.=.=.=.=.=.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.=.=.=.=.=.=. .@.| %.o. .6 =.=.=.=.=.=.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.=.=.=.=.=.P o.X.m @.o. .P =.=.=.=.=.=.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.=.=.=.=.H .o.6 =.o.+.P .m =.=.=.=.=.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.=.=.=.=.| o.J =.=.| O.S o.L < =.=.=.=.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.=.=.=.J X.P =.=.=.L #.m J | A =.=.=.=.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.=.=.A U | 3 =.=.=.A #.A 2 U L 2 =.=.=.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.=.=.P X.N =.=.=.=.m O.L =.m | J =.=.=.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.=.A | G @ =.=.=.=.x .| =.=.K P m =.=.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.m P U ` u w 0 =.=.6 | | > =.2 U J < =.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.L X.m { } ] / p q 7 L o.2 =.=.A U A =.=.=.=.=.=.", +"=.=.=.=.=.=.=.A | J =.s ] _ _ ) ( ~ H O.b =.=.=.K K x =.=.=.=.=.", +"=.=.=.=.=.=.m L K : =.=.^ ) ) ~ Q Q B O.V =.=.=.x U A : =.=.=.=.", +"=.=.=.=.=.=.J U n =.=.=.=.~ ~ ~ W E k X.J # =.=.=.D K n =.=.=.=.", +"=.=.=.=.=.A U A =.=.=.=.=.q W T R Y h .L % - x x n U F < =.=.=.", +"=.=.=.=.m K J : =.=.=.=.=.=.T Y R r a U U i # A A C A P 2 =.=.=.", +"=.=.=.=.J U C 1 x n C A H F z t r r q K .f 7 - v v K C : =.=.=.", +"=.=.=.D U A A A A C C v v v v M i e w J O.j 9 =.m K v =.=.=.=.", +"=.=.=.F K K D n v x 2 , > X =.=.=.=.=.m O.B 9 O . J A : =.=.=.=.", +"=.=.=.=.x A K P F 2 =.=.=.=.=.=.=.=.=.n X.J O 8 $ P v =.=.=.=.=.", +"=.=.=.=.=.: x A J U J 2 =.=.=.=.=.=.=.2 .K =.* J A : =.=.=.=.=.", +"=.=.=.=.=.=.=.: x C J U J 2 =.=.=.=.=.=.U U ; n U v =.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.=.: x C J U D 2 =.=.=.=.J X.x K A , =.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.=.=.=.: x C F U F 2 =.=.F O.C U v =.=.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.=.=.=.=.=.: x C K U F d n O.A A < =.=.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.: x n F U A U F n =.=.=.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.: x m A .K 1 =.=.=.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.: x P U =.=.=.=.=.=.=.=.=.", +"=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.=.> =.=.=.=.=.=.=.=.=.=." +}; --- regina-normal-5.1.orig/debian/rules +++ regina-normal-5.1/debian/rules @@ -0,0 +1,143 @@ +#!/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 + +ifeq ($(shell dpkg-architecture -qDEB_BUILD_ARCH),arm64) + # The arm64 build fails under -O3. + # The error is not dissimilar to that seen in #839249. + # As a stop-gap for now, just use -O2 instead. + arch_flags = "-DCMAKE_C_FLAGS_RELEASE='-O2 -DNDEBUG'" + arch_flags += "-DCMAKE_CXX_FLAGS_RELEASE='-O2 -DNDEBUG'" +else + arch_flags = +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) $(arch_flags) \ + -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) debian/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 --- regina-normal-5.1.orig/debian/watch +++ regina-normal-5.1/debian/watch @@ -0,0 +1,2 @@ +version=4 +http://sf.net/regina/ regina-(\d\S*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)