From: Dimitrios Eftaxiopoulos Date: Tue, 4 Dec 2018 15:58:19 +0000 (+0000) Subject: mathgl (2.4.2.1-5) unstable; urgency=medium X-Git-Tag: archive/raspbian/2.4.4-3+rpi1~1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=06e424817f835c93d07699fbb7bda6bc347f281e;p=mathgl.git mathgl (2.4.2.1-5) unstable; urgency=medium * Try to fix FTBFS on mips and mipsel arches (Closes: #915506) [dgit import unpatched mathgl 2.4.2.1-5] --- 06e424817f835c93d07699fbb7bda6bc347f281e diff --cc debian/changelog index 0000000,0000000..a50a3c4 new file mode 100644 --- /dev/null +++ b/debian/changelog @@@ -1,0 -1,0 +1,561 @@@ ++mathgl (2.4.2.1-5) unstable; urgency=medium ++ ++ * Try to fix FTBFS on mips and mipsel arches (Closes: #915506) ++ ++ -- Dimitrios Eftaxiopoulos Tue, 04 Dec 2018 17:58:19 +0200 ++ ++mathgl (2.4.2.1-4) unstable; urgency=medium ++ ++ [ Jelmer Vernooij ] ++ * Trim trailing whitespace. Fixed-Lintian-Tags: ++ file-contains-trailing-whitespace ++ * Use secure copyright file specification URI. Fixed-Lintian-Tags: ++ insecure-copyright-format-uri ++ ++ [ Dimitrios Eftaxiopoulos ] ++ * Restrict qtwebengine5-dev B-D to the arches where it is available ++ (Closes: #914585) ++ ++ -- Dimitrios Eftaxiopoulos Sun, 25 Nov 2018 22:19:06 +0200 ++ ++mathgl (2.4.2.1-3) unstable; urgency=medium ++ ++ * Fix FTBFS with python3.7. Closes: #912590 ++ ++ -- Alastair McKinstry Thu, 01 Nov 2018 17:17:49 +0000 ++ ++mathgl (2.4.2.1-2) unstable; urgency=medium ++ ++ * Add qtwebengine5-dev to Build-Depends due to the output of cmake ++ * Update standards version to 4.1.4 ++ * Add Replaces/Conflicts for libmgl-*7.4.1 library packages ++ * Provide both python2 and python3 modules, using patch from Fedora project ++ * Mark libmgl-data as Multi-Arch: foreign (Closes: #897619) ++ ++ -- Dimitrios Eftaxiopoulos Sat, 23 Jun 2018 00:33:48 +0300 ++ ++mathgl (2.4.2.1-1) unstable; urgency=medium ++ ++ * New upstream version 2.4.2.1 ++ ++ -- Dimitrios Eftaxiopoulos Wed, 04 Apr 2018 01:00:32 +0300 ++ ++mathgl (2.4.2-1) unstable; urgency=medium ++ ++ * New upstream version 2.4.2 ++ * Remove M-A header from libmgl7.5.0 library (Closes: #872205) ++ * Refresh patch CMakeLists.patch ++ * Remove no more needed patches fix_hdf5.patch and pthread-fix.patch ++ * Update Standards-Version to current Policy version 4.1.3 ++ * Update Vcs fields so that they point to salsa.d.o in d/control ++ * Update debhelper version and compat level to 11 ++ ++ -- Dimitrios Eftaxiopoulos Tue, 03 Apr 2018 18:09:20 +0300 ++ ++mathgl (2.4.1-2) unstable; urgency=medium ++ ++ * Push to unstable. Closes: #868622 ++ ++ -- Alastair McKinstry Wed, 02 Aug 2017 10:43:55 +0100 ++ ++mathgl (2.4.1-1) experimental; urgency=medium ++ ++ * New upstream release ++ * Remove spurious build-dependency on libtwebkit-dev. Closes: #867297 ++ ++ -- Alastair McKinstry Tue, 01 Aug 2017 08:52:55 +0100 ++ ++mathgl (2.4-1) unstable; urgency=medium ++ ++ * New upstream release ++ * Library version numbers updated to soname 7.4.1->7.5.0 ++ * Standards-Version: 4.0.0 ++ * Set libmgl-data as M-A: foreign ++ * Added myself as uploader ++ ++ -- Alastair McKinstry Wed, 28 Jun 2017 09:27:37 +0100 ++ ++mathgl (2.3.4-1.1) unstable; urgency=medium ++ ++ * Non-maintainer upload. ++ * Fix from Bas Couwenberg for HDF5 build issue. Closes: #835680 ++ ++ -- Alastair McKinstry Mon, 12 Sep 2016 10:41:06 +0100 ++ ++mathgl (2.3.4-1) unstable; urgency=medium ++ ++ * Imported Upstream version 2.3.4 ++ * Disable C++11 features ++ ++ -- Dimitrios Eftaxiopoulos Sat, 20 Feb 2016 13:34:52 +0200 ++ ++mathgl (2.3.3+svn1216-1) unstable; urgency=medium ++ ++ * Imported Upstream version 2.3.3+svn1216 (Closes: #800460) ++ * Fix GSL-2 use bug - thanks to Bas Couwenberg (Closes: #805801) ++ * Fix Qt related bug -thanks to Peter Green (Closes: #803312) ++ * Enable Octave interface (Closes: #741156) ++ ++ -- Dimitrios Eftaxiopoulos Sat, 05 Dec 2015 16:20:20 +0200 ++ ++mathgl (2.3.3-3) unstable; urgency=medium ++ ++ * Disable need for C++11 support (Closes: #800460) ++ ++ -- Dimitrios Eftaxiopoulos Mon, 05 Oct 2015 21:53:19 +0300 ++ ++mathgl (2.3.3-2) unstable; urgency=medium ++ ++ * Fix FTBFS on several arches (patched by E. G. Evans) (#Closes: 797610) ++ * Set enable-qt ON in json sample enable line ++ ++ -- Dimitrios Eftaxiopoulos Sat, 05 Sep 2015 22:51:26 +0300 ++ ++mathgl (2.3.3-1) unstable; urgency=medium ++ ++ * Imported Upstream version 2.3.3 (Closes: #788776) ++ * Transition from Qt4 to Qt5 (Closes: #784495) ++ * Add libqt5opengl5-dev, libxcursor-dev and fluid to Build-Depends ++ * Set compat=9 ++ * Fix several dep5 related issues in d/copyright ++ ++ -- Dimitrios Eftaxiopoulos Sat, 29 Aug 2015 03:52:28 +0300 ++ ++mathgl (2.3.2-1) experimental; urgency=medium ++ ++ * Imported Upstream version 2.3.2 ++ * Fix d/copyright format as prompted by lintian warning ++ * Add file argument to udav exec in udav/udav.desktop ++ * Fix d/copyright as prompted by lintian info ++ * Replace swig3.0 build dep by swig ++ * Update Conflicts/Replaces entries in d/control ++ * Set versioned build dependency for libssl1.0.0 to avert FTBFS ++ * Update copyright holder names in d/copyright ++ ++ -- Dimitrios Eftaxiopoulos Thu, 12 Feb 2015 11:26:30 +0200 ++ ++mathgl (2.2.2.1-3) unstable; urgency=medium ++ ++ * Re-enable Architecture=any on all arch dependent binaries ++ * Edit several Conflicts and Replaces lines in d/control ++ ++ -- Dimitrios Eftaxiopoulos Sun, 20 Apr 2014 09:53:11 +0300 ++ ++mathgl (2.2.2.1-2) unstable; urgency=medium ++ ++ * Exclude kfreebsd-i386 from build arch due to FTBFS ++ ++ -- Dimitrios Eftaxiopoulos Mon, 24 Mar 2014 12:20:56 +0200 ++ ++mathgl (2.2.2.1-1) unstable; urgency=medium ++ ++ * Imported Upstream version 2.2.2.1 ++ ++ -- Dimitrios Eftaxiopoulos Mon, 24 Mar 2014 01:00:27 +0200 ++ ++mathgl (2.2.2+svn930-2) unstable; urgency=medium ++ ++ * Build against newer libwxgtk3.0 (Closes: #741710) ++ ++ -- Dimitrios Eftaxiopoulos Sun, 16 Mar 2014 09:02:42 +0200 ++ ++mathgl (2.2.2+svn930-1) unstable; urgency=medium ++ ++ * Imported Upstream version 2.2.2+svn930 (Closes: #741131) ++ ++ -- Dimitrios Eftaxiopoulos Sat, 15 Mar 2014 12:08:13 +0200 ++ ++mathgl (2.2.1+svn921-1) unstable; urgency=low ++ ++ * Imported Upstream version 2.2.1+svn921 (Closes: #737110, #737437) ++ * Fix DEP5 lintian error in d/copyright ++ * Disable openmpi support and keep pthread support (Closes: #738540) ++ * Disable octave interface due to FTBFS ++ ++ -- Dimitrios Eftaxiopoulos Sun, 23 Feb 2014 19:16:25 +0200 ++ ++mathgl (2.2-1) unstable; urgency=low ++ ++ * Imported Upstream version 2.2 ++ * Disable documentation building in order to avoid FTBFS on some arches ++ * Disable Lua interface ++ * Drop symbols files (Closes: #701320, #701651) ++ ++ -- Dimitrios Eftaxiopoulos Fri, 10 Jan 2014 12:29:27 +0200 ++ ++mathgl (2.1.3.1-4) unstable; urgency=low ++ ++ * More symbols changes for build on ia64 ++ ++ -- Dimitrios Eftaxiopoulos Sun, 18 Aug 2013 11:32:38 +0300 ++ ++mathgl (2.1.3.1-3) unstable; urgency=low ++ ++ * Further symbols tweaking for build on ia64 ++ ++ -- Dimitrios Eftaxiopoulos Sun, 18 Aug 2013 08:48:20 +0300 ++ ++mathgl (2.1.3.1-2) unstable; urgency=low ++ ++ * Amend symbols files to enable build on ia64 ++ ++ -- Dimitrios Eftaxiopoulos Sat, 17 Aug 2013 21:00:08 +0300 ++ ++mathgl (2.1.3.1-1) unstable; urgency=low ++ ++ * Imported Upstream version 2.1.3.1 (Closes: #708969) ++ * Add mpi-default-dev to build dependencies. ++ * Add patch for lang/setup.py.in to enable python to read directory tree ++ written in utf-8 (not ascii) encoding. ++ * Add UDAV.desktop and udav.png to the files to be installed within the ++ package udav. ++ * Add Replaces and Conflicts with mathgl-1* packages in the debian/control ++ file. ++ * Add udav manpage. ++ * Replace octave3.2-headers with liboctave-dev in build deps. ++ * Fix library package names to reflect soname. ++ * Rename mathgl-doc binary to mathgl-doc-en. ++ * Fix installation directory in doc-base file mathgl-doc-en. ++ * Fix installation directory of python module and files. ++ * Add udav binary package. ++ * Make build dependency on libhdf5-dev only. ++ * Add c++ compilation include path for pyconfig.h ++ * Fix typo in libmgl-glut6.0.0 package (by D. Haley) (Closes: #698570) ++ * Change soname in libraries from 6 to 7 ++ * Add libmgl-qt7.0.0 library package creation ++ * Add libmgl-fltk7.0.0 and libmgl-wx7.0.0 packages ++ * Remove DM-Upload-Allow field from debian/control ++ * Remove D. Haley from uploaders after his request ++ * Update Standards-Version to 3.9.4 ++ * Add title for CMakeLists-txt.patch ++ * Remove encoding specification line from udav.desktop ++ * Shorten debian/rules file by using dh $@ and overrides ++ * Remove .pyc file from python-mathgl package ++ * Remove old udav manpage file ++ * Modify vcs field ++ * Associate udav.1 manpage to package udav ++ * Built with g++-4.7 on both unstable and experimental ++ * Add version on libfltk1.3-dev build dependency ++ * Remove (optional) tags from symbols ++ * Built with gcc-4.8 on amd64 ++ * Add Conflicts/Replaces options in debian/control ++ * Remove multiarch related commands from debian/rules ++ * Add libqtwebkit-dev to build deps in debian/control ++ * Amend libmgl7.0.0 related symbols for amd64 ++ * Install executable mgl.cgi in /usr/bin ++ * Amend overlooked debian/copyright ++ * Add libmgl-mpi binary package ++ * Add header to the CMakeLists-txt.patch ++ * Correct short package description lines (Closes: #703834) ++ * Minor symbols tuning ++ * Remove version from libfltk1.3-dev build dependency ++ * Fix most, missing compilation and linker flag, lintian warnings ++ * Update header of CMakeLists-txt.patch ++ * Add --parallel option to dh $@ in debian/rules ++ * Include missing files and licenses in debian/copyright ++ * Fix build failure due to gsl 1.15 --> 1.16 upgrade ++ * Add full text of BSD license in debian/copyright ++ ++ -- Dimitrios Eftaxiopoulos Sun, 11 Aug 2013 22:24:05 +0300 ++ ++mathgl (2~rc1-3) experimental; urgency=low ++ ++ * Fix symbols FTBFS, related to libmgl-wnd6, on several arches. ++ * Make libmgl-dev dependent on libmgl-wnd6. ++ ++ -- Dimitrios Eftaxiopoulos Wed, 4 Jan 2012 20:16:00 +0200 ++ ++mathgl (2~rc1-2) experimental; urgency=low ++ ++ * Correct typo in mathgl description in debian/control (Closes: #644863). ++ * Try to fix symbols FTBFS on several arches. ++ ++ -- Dimitrios Eftaxiopoulos Wed, 4 Jan 2012 15:30:00 +0200 ++ ++mathgl (2~rc1-1) experimental; urgency=low ++ ++ * New experimental upstream release (Closes: #632468). ++ * No documentation debian packages provided. ++ ++ -- Dimitrios Eftaxiopoulos Wed, 28 Sep 2011 11:30:00 +0300 ++ ++mathgl (1.11.2-6) unstable; urgency=low ++ ++ * Fix FTBFS for sparc (Closes: #642654). ++ ++ -- Dimitrios Eftaxiopoulos Mon, 26 Sep 2011 16:23:12 +0300 ++ ++mathgl (1.11.2-5) unstable; urgency=low ++ ++ * Resolve differences for all non-optional symbols, in symbols files for ia64, ++ sparc and sh4 architectures (Closes: #642654). ++ ++ -- Dimitrios Eftaxiopoulos Mon, 26 Sep 2011 10:25:00 +0300 ++ ++mathgl (1.11.2-4) unstable; urgency=low ++ ++ * Add python-numpy to Depnds of python-mathgl in debian/control and add ++ dh_numpy in binary-arch in debian/rules (Closes: #641793). ++ * Ammend symbols files for ia64, sparc and sh4 architectures (Closes: #642654). ++ ++ -- Dimitrios Eftaxiopoulos Sat, 24 Sep 2011 23:16:00 +0300 ++ ++mathgl (1.11.2-3) unstable; urgency=low ++ ++ * Replace libfltk-dev with libfltk1.3-dev | libfltk-dev in debian/control ++ Build-Depends (Closes: #638834). ++ * Ammend symbols files for s390x architecture (Closes: #639492). ++ ++ -- Dimitrios Eftaxiopoulos Wed, 7 Sep 2011 06:04:00 +0300 ++ ++mathgl (1.11.2-2) unstable; urgency=low ++ ++ * Add debian/source/options file in order to avoid the generation of unneeded debian- ++ changes patch, due to the creation of extra file config.log during build. ++ * Ammend symbols files. ++ ++ -- Dimitrios Eftaxiopoulos Thu, 18 Aug 2011 20:48:00 +0300 ++ ++mathgl (1.11.2-1) unstable; urgency=low ++ ++ * Incorporate changes due to the last two NMU's. ++ * New upstream version. ++ ++ -- Dimitrios Eftaxiopoulos Tue, 28 Jun 2011 17:01:00 +0200 ++ ++mathgl (1.11.1.1-2.2) unstable; urgency=low ++ ++ * Non-maintainer upload (closes: #610777). ++ * debian/libmgl-qt5.symbols: _ZN10QByteArrayD1Ev is needed on sparc and ++ ia64, so add it as optional. ++ * debian/libmgl-wx5.symbols: three destructors known to be undefined on ++ armel/armhf are also not defined on ia64 or sparc, so mark these as ++ optional also. Destructors of foreign classes are not part of the ++ library ABI, so it's fine to ignore these. ++ ++ -- Steve Langasek Sun, 19 Jun 2011 07:57:43 +0000 ++ ++mathgl (1.11.1.1-2.1) unstable; urgency=low ++ ++ * Non-maintainer upload. ++ * Fix library symbols files (closes: #610777): ++ - debian/libmgl-qt5.symbols: drop _ZN10QByteArrayD2Ev, which is not ++ present on *any* architecture anymore. ++ - debian/libmgl-fltk5.symbols: _ZN9Fl_PixmapC2EPKPKc is not present on ++ ia64 or sparc and never has been. ++ - debian/libmgl5.symbols: ++ + _ZN7mglFuncD1Ev is present on all architectures, drop the ++ architecture list (fixing the 'kfeebsd' typo that caused a build ++ failure on kfreebsd-amd64). ++ + _ZNSt15basic_stringbufIcSt11char_traitsIcESaIcEED2Ev, ++ _ZN8u3dLightD2Ev: symbols not seen on *any* archs, drop. ++ + Drop 18 symbols whose exclusion list included all 15 architectures ++ that have been tested. ++ + Other symbols that are template instantiations are now marked as ++ optional symbols instead of tagged with an arch list, since they are ++ not part of the ABI and will come and go based on the compiler ++ version used, *not* just on the architecture. ++ + If there are 8 or more architectures in the arch qualifier, invert ++ it. In some cases this reveals that certain symbols are actually ++ 64-bit specific - so infer that not-yet-tested 32-bit archs follow ++ the pattern. ++ - debian/*.symbols: any symbols marked for armel should also be marked ++ for armhf. ++ * debian/rules: clean the dependency_libs out of .la files at build ++ time, per Policy 10.2. Closes: #620629. ++ ++ -- Steve Langasek Sat, 18 Jun 2011 07:33:55 +0000 ++ ++mathgl (1.11.1.1-3) unreleased; urgency=low ++ ++ * Further attempt to fix symbol breakages ++ ++ -- Dimitrios Eftaxiopoulos Sun, 29 May 2011 19:41:00 +0200 ++ ++mathgl (1.11.1.1-2) unstable; urgency=low ++ ++ * Try to fix libmgl5 related symbols breakage on all arches ++ ++ -- Dimitrios Eftaxiopoulos Sun, 22 May 2011 20:50:00 +0200 ++ ++mathgl (1.11.1.1-1) unstable; urgency=low ++ ++ * New upstream version ++ ++ -- Dimitrios Eftaxiopoulos Tue, 26 Apr 2011 01:15:00 +0200 ++ ++mathgl (1.11.0.1-9) unreleased; urgency=low ++ ++ * Again try to fix build failure due to broken symbols for several architectures ++ ++ -- Dimitrios Eftaxiopoulos Sat, 2 Apr 2011 02:05:00 +0200 ++ ++mathgl (1.11.0.1-8) unstable; urgency=low ++ ++ * Try to fix build failure due to broken symbols for several architectures ++ ++ -- Dimitrios Eftaxiopoulos Thu, 24 Mar 2011 23:56:00 +0200 ++ ++mathgl (1.11.0.1-7) unstable; urgency=low ++ ++ * Create patch for the removal of the texinfo/mgl_ru.info-* files ++ * Update symbols files (Closes: #618235) ++ ++ -- Dimitrios Eftaxiopoulos Mon, 14 Mar 2011 00:10:00 +0200 ++ ++mathgl (1.11.0.1-6) unstable; urgency=low ++ ++ * Try to fix build failure due to broken symbols for sparc64 ++ ++ -- Dimitrios Eftaxiopoulos Sat, 5 Mar 2011 21:27:00 +0200 ++ ++mathgl (1.11.0.1-5) unstable; urgency=low ++ ++ * Try to fix build failure due to broken symbols for armel and s390 ++ ++ -- Dimitrios Eftaxiopoulos Fri, 25 Feb 2011 21:30:00 +0200 ++ ++mathgl (1.11.0.1-4) unstable; urgency=low ++ ++ * Create mixed symbols files for amd64 and i386 with tagged symbols ++ (Closes: #610777) ++ ++ -- Dimitrios Eftaxiopoulos Sat, 19 Feb 2011 23:10:00 +0200 ++ ++mathgl (1.11.0.1-3) unstable; urgency=low ++ ++ * Upload in unstable ++ * Change symbols files for pbuilder --distribution unstable (Closes: #610777) ++ ++ -- Dimitrios Eftaxiopoulos Sat, 12 Feb 2011 22:14:00 +0200 ++ ++mathgl (1.11.0.1-2) experimental; urgency=low ++ ++ * Update symbols files for pbuilder --distribution experimental. ++ * Remove createpngdirectory.patch from series. ++ * Apply patch for FTBFS on i386 (Closes: #607539). ++ * Add Replaces tags for old mathgl-doc package in debian/control. ++ * Various improvements in the debian/rules file. ++ ++ -- Dimitrios Eftaxiopoulos Mon, 17 Jan 2011 21:43:00 +0200 ++ ++mathgl (1.11.0.1-1) experimental; urgency=low ++ ++ * Correct debian/copyright file. ++ * Create proper patches for the changes in the source tree. ++ * Add new package for Russian documentation. ++ * New upstream release (Closes: #603004). ++ * Correct several spelling mistakes in manpages and in lang/numpy.i ++ * Create symbols files for libraries. ++ * Register documentation to doc-base. ++ ++ -- Dimitrios Eftaxiopoulos Sun, 12 Dec 2010 19:13:00 +0200 ++ ++mathgl (1.10.2.1-2) unstable; urgency=low ++ ++ * Make .png pictures visible from the html documentation. ++ * Add python support (Closes: #541481). ++ ++ -- Dimitrios Eftaxiopoulos Sun, 11 Sep 2010 12:37:00 +0200 ++ ++mathgl (1.10.2.1-1) unstable; urgency=low ++ ++ [ D Eftaxiopoulos ] ++ * Update to Debian Policy 3.9.1 ++ * Put myself and D. Haley to the maintainers list. ++ * Comment out parallel-build-png.patch in the debian/patches/series file ++ since it seems to apply to a texinfo/Makefile.am file that is not ++ included in the source tree. ++ * Append package quilt to the build-depends list for the source in the ++ debian/control file, in order to fix a lintian error. ++ * Reinstate debian/source/format file with content '3.0 (quilt)'. ++ * Fix Lintian warnings related to manpages. ++ ++ [ D Haley ] ++ * New upstream release 1.10.2.1 (Closes: #562743). ++ ++ [ Salvatore Bonaccorso ] ++ * New Maintainer (Closes: #564422). Set Maintainer to Debian Science ++ Maintainers . ++ * Convert to '3.0 (quilt)' package source format. Drop quilt framework for ++ packaging. ++ * debian/control: ++ - Change Vcs-Browser and Vcs-Git to the debian-science git repository. ++ - Change Section for source package to 'science' as per debian-science ++ group policy. ++ - Set DM-Upload-Allowed field to yes. ++ * Add myself to Uploaders. ++ ++ [ Sylvestre Ledru ] ++ * Missing dependency against automake added. ++ ++ -- Sylvestre Ledru Sun, 15 Aug 2010 21:45:47 +0200 ++ ++mathgl (1.9-3) unstable; urgency=low ++ ++ * QA upload. ++ * Properly orphan the package (see #564422), set maintainer to QA. ++ * Bump Standards-Version to 3.8.4, no changes needed. ++ * Add debian/README.source, pointing to quilt doc. ++ * Bump build-deps on octave from 3.0 to 3.2 (Closes: #574025). ++ ++ -- Stefano Zacchiroli Fri, 26 Mar 2010 14:06:08 +0100 ++ ++mathgl (1.9-2) unstable; urgency=low ++ ++ * Fix FTBFS. Closes: #545882. ++ * Update Standards-Version to 3.8.3. ++ ++ -- Bradley Smith Wed, 09 Sep 2009 22:44:44 +0100 ++ ++mathgl (1.9-1) unstable; urgency=low ++ ++ * New upstream release. Closes: #535503. ++ * QT -> qt in package descriptions. Closes: #534425. ++ ++ -- Bradley Smith Sun, 19 Jul 2009 16:41:41 +0100 ++ ++mathgl (1.8.1-6) unstable; urgency=low ++ ++ * Redo descriptions. ++ ++ -- Bradley Smith Tue, 09 Jun 2009 20:26:42 +0100 ++ ++mathgl (1.8.1-5) unstable; urgency=low ++ ++ * Correct info-dir-section in texinfo/mathgl.texi. Closes: #528893. ++ ++ -- Bradley Smith Wed, 27 May 2009 17:52:50 +0100 ++ ++mathgl (1.8.1-4) unstable; urgency=low ++ ++ * Correct libltdl-dev Build-Depend. Closes: #526426. ++ * Further improve descriptions. ++ ++ -- Bradley Smith Fri, 01 May 2009 12:59:05 +0100 ++ ++mathgl (1.8.1-3) unstable; urgency=low ++ ++ * Tidy up descriptions. Closes: #521830, #521917. ++ * Update Standards-Version to 3.8.1. (No changes). ++ * Fix watch file. ++ ++ -- Bradley Smith Sat, 18 Apr 2009 17:42:59 +0100 ++ ++mathgl (1.8.1-2) unstable; urgency=low ++ ++ * Fix parallel builds. Closes: #519738. ++ ++ -- Bradley Smith Thu, 19 Mar 2009 19:08:37 +0000 ++ ++mathgl (1.8.1-1) unstable; urgency=low ++ ++ * New upstream release. Closes: #518769. ++ ++ -- Bradley Smith Sun, 08 Mar 2009 13:29:33 +0000 ++ ++mathgl (1.8-1) unstable; urgency=low ++ ++ * Initial release. Closes: #510378. ++ ++ -- Bradley Smith Thu, 01 Jan 2009 11:27:32 +0000 diff --cc debian/compat index 0000000,0000000..b4de394 new file mode 100644 --- /dev/null +++ b/debian/compat @@@ -1,0 -1,0 +1,1 @@@ ++11 diff --cc debian/control index 0000000,0000000..12b5a26 new file mode 100644 --- /dev/null +++ b/debian/control @@@ -1,0 -1,0 +1,257 @@@ ++Source: mathgl ++Section: science ++Priority: optional ++Maintainer: Debian Science Maintainers ++Uploaders: Dimitrios Eftaxiopoulos , ++ Alastair McKinstry ++Build-Depends: debhelper (>= 11), libltdl-dev, libgsl-dev, freeglut3-dev, ++ libgl1-mesa-dev | libgl-dev, libpng-dev, libhdf5-dev, libqt5opengl5-dev, ++ libjpeg-dev, libtiff-dev, libfltk1.3-dev, ++ qtwebengine5-dev [amd64 arm64 armhf i386 mipsel], libwxgtk3.0-dev, ++ texinfo, texlive, texlive-generic-recommended, liblua5.1-dev, libxcursor-dev, ++ libgif-dev, python3-dev, python3-numpy, libfontconfig1-dev, libqt5webkit5-dev, ++ libhdf4-dev, chrpath, libxinerama-dev, libxmu-dev, libxi-dev, libhpdf-dev, ++ mpi-default-dev, swig3.0, cmake, libxft-dev, liboctave-dev, fluid, python-dev, ++ python-numpy ++Standards-Version: 4.2.1.5 ++Homepage: http://mathgl.sourceforge.net/doc_en/Main.html ++Vcs-Git: https://salsa.debian.org/science-team/mathgl.git ++Vcs-Browser: https://salsa.debian.org/science-team/mathgl ++ ++Package: mathgl ++Architecture: any ++Section: libs ++Depends: ${shlibs:Depends}, ${misc:Depends}, libmgl7.5.0 (= ${binary:Version}) ++Description: library for scientific graphs (utilities and examples) ++ A free cross-platform library of fast C++ routines for plotting data in up ++ to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF ++ files. There are simple window interfaces based on GLUT, FLTK and/or Qt. ++ MathGL can also be used in the console. There are interfaces to a set of ++ languages, such as, C, Fortran, Pascal, Forth, Python, Octave. ++ . ++ This package contains MathGL utilities and examples. ++ ++Package: udav ++Architecture: any ++Section: libs ++Depends: ${shlibs:Depends}, ${misc:Depends}, libmgl7.5.0 (= ${binary:Version}) ++Description: library for scientific graphs (window interface) ++ A free cross-platform library of fast C++ routines for plotting data in up ++ to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF ++ files. There are simple window interfaces based on GLUT, FLTK and/or Qt. ++ MathGL can also be used in the console. There are interfaces to a set of ++ languages, such as, C, Fortran, Pascal, Forth, Python, Octave. ++ . ++ This package contains the udav window environment based on mathgl. ++ ++# Package: mathgl-doc-en ++# Architecture: all ++# Section: doc ++# Depends: dpkg (>= 1.15.4) | install-info, ${misc:Depends} ++# Replaces: mathgl-doc, mathgl-doc-ru ++# Conflicts: mathgl-doc, mathgl-doc-ru ++# Description: library for scientific graphs (English documentation) ++# A free cross-platform library of fast C++ routines for plotting data in up ++# to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF ++# files. There are simple window interfaces based on GLUT, FLTK and/or Qt. ++# MathGL can also be used in the console. There are interfaces to a set of ++# languages, such as, C, Fortran, Pascal, Forth, Python, Octave. ++# . ++# This package contains the MathGL documentation in English. ++ ++Package: libmgl7.5.0 ++Architecture: any ++Section: libs ++Depends: ${shlibs:Depends}, ${misc:Depends}, libmgl-data ++Replaces: libmgl5, libmgl6, libmgl6.0.0, libmgl7.1.0, libmgl7.2.0, ++ libmgl7.4.0, libmgl7.4.1 ++Conflicts: libmgl5, libmgl6, libmgl6.0.0, libmgl7.1.0, libmgl7.2.0, ++ libmgl7.4.0, libmgl7.4.1 ++Description: library for scientific graphs (main runtime library) ++ A free cross-platform library of fast C++ routines for plotting data in up ++ to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF ++ files. There are simple window interfaces based on GLUT, FLTK and/or Qt. ++ MathGL can also be used in the console. There are interfaces to a set of ++ languages, such as, C, Fortran, Pascal, Forth, Python, Octave. ++ . ++ This package contains the shared object files. ++ ++Package: libmgl-mpi7.5.0 ++Architecture: any ++Section: libs ++Depends: ${shlibs:Depends}, ${misc:Depends}, libmgl-data ++Replaces: libmgl-mpi7.0.0, libmgl-mpi7.1.0, libmgl-mpi7.2.0, ++ libmgl-mpi7.4.0, libmgl-mpi7.4.1 ++Conflicts: libmgl-mpi7.0.0, libmgl-mpi7.1.0, libmgl-mpi7.2.0, ++ libmgl-mpi7.4.0, libmgl-mpi7.4.1 ++Description: library for scientific graphs (mpi enhanced runtime library) ++ A free cross-platform library of fast C++ routines for plotting data in up ++ to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF ++ files. There are simple window interfaces based on GLUT, FLTK and/or Qt. ++ MathGL can also be used in the console. There are interfaces to a set of ++ languages, such as, C, Fortran, Pascal, Forth, Python, Octave. ++ . ++ This package contains the, parallel interface enhanced, shared object ++ files. ++ ++Package: libmgl-wnd7.5.0 ++Architecture: any ++Section: libs ++Depends: ${shlibs:Depends}, ${misc:Depends}, libmgl-data ++Replaces: libmgl-fltk5, libmgl-wnd6, libmgl-qt5, libmgl-wx5, libmgl-wnd6.0.0, ++ libmgl-wnd7.1.0, libmgl-wnd7.2.0, libmgl-wnd7.4.0, libmgl-wnd7.4.1 ++Conflicts: libmgl-fltk5, libmgl-wnd6, libmgl-qt5, libmgl-wx5, libmgl-wnd6.0.0, ++ libmgl-wnd7.1.0, libmgl-wnd7.2.0, libmgl-wnd7.4.0, libmgl-wnd7.4.1 ++Description: library for scientific graphs (windows runtime library) ++ A free cross-platform library of fast C++ routines for plotting data in up ++ to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF ++ files. There are simple window interfaces based on GLUT, FLTK and/or Qt. ++ MathGL can also be used in the console. There are interfaces to a set of ++ languages, such as, C, Fortran, Pascal, Forth, Python, Octave. ++ . ++ This package contains the window opening related shared object files based ++ on Fltk, Qt and Wx. ++ ++Package: libmgl-glut7.5.0 ++Architecture: any ++Section: libs ++Depends: ${shlibs:Depends}, ${misc:Depends}, libmgl-data ++Replaces: libmgl-glut5, libmgl-glut6.0.0, libmgl-glut7.1.0, libmgl-glut7.2.0, ++ libmgl-glut7.4.0, libmgl-glut7.4.1 ++Conflicts: libmgl-glut5, libmgl-glut6.0.0, libmgl-glut7.1.0, libmgl-glut7.2.0, ++ libmgl-glut7.4.0, libmgl-glut7.4.1 ++Description: library for scientific graphs (glut interface for windows) ++ A free cross-platform library of fast C++ routines for plotting data in up ++ to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF ++ files. There are simple window interfaces based on GLUT, FLTK and/or Qt. ++ MathGL can also be used in the console. There are interfaces to a set of ++ languages, such as, C, Fortran, Pascal, Forth, Python, Octave. ++ . ++ This package contains the glut interface shared object files for window ++ opening. ++ ++Package: libmgl-qt5-7.5.0 ++Architecture: any ++Section: libs ++Depends: ${shlibs:Depends}, ${misc:Depends}, libmgl-data ++Replaces: libmgl-qt5, libmgl-qt7.1.0, libmgl-qt7.2.0, libmgl-qt7.4.0, ++ libmgl-qt5-7.4.1 ++Conflicts: libmgl-qt5, libmgl-qt7.1.0, libmgl-qt7.2.0, libmgl-qt7.4.0, ++ libmgl-qt5-7.4.1 ++Description: library for scientific graphs (Qt interface for windows) ++ A free cross-platform library of fast C++ routines for plotting data in up ++ to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF ++ files. There are simple window interfaces based on GLUT, FLTK and/or Qt. ++ MathGL can also be used in the console. There are interfaces to a set of ++ languages, such as, C, Fortran, Pascal, Forth, Python, Octave. ++ . ++ This package contains the Qt interface shared object files for window ++ opening. ++ ++Package: libmgl-fltk7.5.0 ++Architecture: any ++Section: libs ++Depends: ${shlibs:Depends}, ${misc:Depends}, libmgl-data ++Replaces: libmgl-fltk5, libmgl-fltk7.1.0, libmgl-fltk7.2.0, libmgl-fltk7.4.0, ++ libmgl-fltk7.4.1 ++Conflicts: libmgl-fltk5, libmgl-fltk7.1.0, libmgl-fltk7.2.0, libmgl-fltk7.4.0, ++ libmgl-fltk7.4.1 ++Description: library for scientific graphs (fltk interface for windows) ++ A free cross-platform library of fast C++ routines for plotting data in up ++ to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF ++ files. There are simple window interfaces based on GLUT, FLTK and/or Qt. ++ MathGL can also be used in the console. There are interfaces to a set of ++ languages, such as, C, Fortran, Pascal, Forth, Python, Octave. ++ . ++ This package contains the fltk interface shared object files for window ++ opening. ++ ++Package: libmgl-wx7.5.0 ++Architecture: any ++Section: libs ++Depends: ${shlibs:Depends}, ${misc:Depends}, libmgl-data ++Replaces: libmgl-wx5, libmgl-wx7.1.0, libmgl-wx7.2.0, libmgl-wx7.4.0, ++ libmgl-wx7.4.1 ++Conflicts: libmgl-wx5, libmgl-wx7.1.0, libmgl-wx7.2.0, libmgl-wx7.4.0, ++ libmgl-wx7.4.1 ++Description: library for scientific graphs (wx interface for windows) ++ A free cross-platform library of fast C++ routines for plotting data in up ++ to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF ++ files. There are simple window interfaces based on GLUT, FLTK and/or Qt. ++ MathGL can also be used in the console. There are interfaces to a set of ++ languages, such as, C, Fortran, Pascal, Forth, Python, Octave. ++ . ++ This package contains the wx interface shared object files for window ++ opening. ++ ++# Package: mgl-lua ++# Architecture: any ++# Section: libs ++# Depends: ${shlibs:Depends}, ${misc:Depends}, libmgl-data ++# Description: library for scientific graphs (Lua interface) ++# A free cross-platform library of fast C++ routines for plotting data in up ++# to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF ++# files. There are simple window interfaces based on GLUT, FLTK and/or Qt. ++# MathGL can also be used in the console. There are interfaces to a set of ++# languages, such as, C, Fortran, Pascal, Forth, Python, Octave. ++# . ++# This package contains the Lua interface shared object files. ++ ++Package: libmgl-data ++Architecture: all ++Multi-Arch: foreign ++Section: misc ++Depends: ${misc:Depends} ++Description: library for scientific graphs (data files) ++ A free cross-platform library of fast C++ routines for plotting data in up ++ to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF ++ files. There are simple window interfaces based on GLUT, FLTK and/or Qt. ++ MathGL can also be used in the console. There are interfaces to a set of ++ languages, such as, C, Fortran, Pascal, Forth, Python, Octave. ++ . ++ This package contains the MathGL data files. ++ ++Package: libmgl-dev ++Architecture: any ++Section: libdevel ++Depends: libmgl7.5.0 (= ${binary:Version}), libmgl-wnd7.5.0 (= ${binary:Version}), ++ libmgl-wx7.5.0 (= ${binary:Version}), libmgl-fltk7.5.0 (= ${binary:Version}), ++ libmgl-qt5-7.5.0 (= ${binary:Version}), libmgl-glut7.5.0 (= ${binary:Version}), ++ libmgl-mpi7.5.0 (= ${binary:Version}), ${misc:Depends}, libgsl-dev, ++ libgl1-mesa-dev | libgl-dev, libpng-dev ++Description: library for scientific graphs (development files) ++ A free cross-platform library of fast C++ routines for plotting data in up ++ to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF ++ files. There are simple window interfaces based on GLUT, FLTK and/or Qt. ++ MathGL can also be used in the console. There are interfaces to a set of ++ languages, such as, C, Fortran, Pascal, Forth, Python, Octave. ++ . ++ This package contains the development files. ++ ++Package: python-mathgl ++Architecture: any ++Section: python ++Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python, ++ python-numpy ++Description: library for scientific graphs (Python v.2 module) ++ A free cross-platform library of fast C++ routines for plotting data in up ++ to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF ++ files. There are simple window interfaces based on GLUT, FLTK and/or Qt. ++ MathGL can also be used in the console. There are interfaces to a set of ++ languages, such as, C, Fortran, Pascal, Forth, Python, Octave. ++ . ++ This package provides the Python v.2 module for mathgl. ++ ++Package: python3-mathgl ++Architecture: any ++Section: python ++Depends: ${shlibs:Depends}, ${misc:Depends}, ${python3:Depends}, python3, ++ python3-numpy ++Description: library for scientific graphs (Python v.3 module) ++ A free cross-platform library of fast C++ routines for plotting data in up ++ to 3 dimensions. It can export plots to bitmaps and vector EPS, SVG, IDTF ++ files. There are simple window interfaces based on GLUT, FLTK and/or Qt. ++ MathGL can also be used in the console. There are interfaces to a set of ++ languages, such as, C, Fortran, Pascal, Forth, Python, Octave. ++ . ++ This package provides the Python v.3 module for mathgl. diff --cc debian/copyright index 0000000,0000000..00e0ac1 new file mode 100644 --- /dev/null +++ b/debian/copyright @@@ -1,0 -1,0 +1,160 @@@ ++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ ++Upstream-Name: MathGL ++Upstream-Contact: Alexey Balakin ++Source: http://mathgl.sourceforge.net/ ++ ++Files: * ++Copyright: (C) 2007-2014 Alexey Balakin ++ (C) 2007 Xavier Delacour ++ (C) 2007 Alexander Filov ++ (C) 2008 Dmitry Kulagin ++ (C) 2008 Michail Vidiassov ++ (C) 2007-2008 Sergey Plis ++ (C) 2008 Bradley Smith ++ (C) 2010 Dimitrios Eftaxiopoulos ++License: GPL-2+ ++ This program is free software; you can redistribute it and/or modify it ++ under the terms of the GNU General Public License as published by ++ the Free Software Foundation. ++ . ++ 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. ++ ++Files: include/mgl2/abstract.h include/mgl2/addon.h include/mgl2/base_cf.h ++ include/mgl2/base.h include/mgl2/canvas_cf.h include/mgl2/canvas_wnd.h ++ include/mgl2/cont.h include/mgl2/datac_cf.h include/mgl2/datac.h ++ include/mgl2/data.h include/mgl2/define.h include/mgl2/evalc.h ++ include/mgl2/eval.h include/mgl2/fit.h include/mgl2/fltk.h ++ include/mgl2/font.h include/mgl2/glut.h include/mgl2/mgl_cf.h ++ include/mgl2/mgl_pas.pas include/mgl2/opengl.h include/mgl2/other.h ++ include/mgl2/parser.h include/mgl2/pde.h include/mgl2/plot.h ++ include/mgl2/prim.h include/mgl2/qmathgl.h ++ include/mgl2/qt.h include/mgl2/surf.h include/mgl2/thread.h ++ include/mgl2/type.h include/mgl2/vect.h include/mgl2/volume.h ++ include/mgl2/window.h include/mgl2/wnd.h include/mgl2/wx.h ++ lang/data.i lang/type.i ++ src/addon.cpp src/axis.cpp src/base.cpp src/base_cf.cpp ++ src/canvas.cpp src/canvas_cf.cpp src/complex.cpp ++ src/complex_ex.cpp src/complex_io.cpp src/cont.cpp src/crust.cpp ++ src/data.cpp src/data_ex.cpp src/data_gr.cpp src/data_io.cpp ++ src/data_png.cpp src/eval.cpp src/evalc.cpp src/evalp.cpp ++ src/exec.cpp src/export.cpp src/export_2d.cpp ++ src/export_3d.cpp src/fft.cpp src/fit.cpp ++ src/font.cpp src/obj.cpp src/other.cpp ++ src/parser.cpp src/pde.cpp src/pixel.cpp ++ src/plot.cpp src/prc.cpp src/prim.cpp src/surf.cpp ++ src/tex_table.cc src/vect.cpp src/volume.cpp ++ src/window.cpp src/prc/oPRCFile.cc src/prc/PRCbitStream.cc ++ src/prc/PRCbitStream.h src/prc/writePRC.cc src/prc/writePRC.h ++ texinfo/mathgl.js widgets/*.cpp ++Copyright: (C) 2007-2014 Alexey Balakin ++ (C) 2008-2013 Mikhail Barg ++ (C) 2008 Orest Shardt ++License: LGPL-3+ ++ This program is free software; you can redistribute it and/or modify ++ it under the terms of the GNU Less General Public License as ++ published by the Free Software Foundation. ++ . ++ 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 Less General Public License for more details. ++ ++Files: json/sylvester.src.js ++Copyright: (C) 2007 James Coglan ++License: MIT ++ Permission is hereby granted, free of charge, to any person obtaining ++ a copy of this software and associated documentation files (the ++ "Software"), to deal in the Software without restriction, including ++ without limitation the rights to use, copy, modify, merge, publish, ++ distribute, sublicense, and/or sell copies of the Software, and to ++ permit persons to whom the Software is furnished to do so, subject to ++ the following conditions: ++ . ++ The above copyright notice and this permission notice shall be ++ included in all copies or substantial portions of the Software. ++ . ++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, ++ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF ++ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND ++ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE ++ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION ++ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION ++ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ++ ++Files: mgltex/mgltex.dtx mgltex/mgltex.ins ++Copyright: (C) 2014-2015 by Diego Sejas ++ (C) 2015 by Alexey Balakin ++License: GPL-3+ ++ 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 General Public License for more details. ++ . ++ You should have received a copy of the GNU General Public License ++ along with this program. If not, see . ++ ++Files: src/s_hull/* ++Copyright: (C) 2012 David Sinclair ++License: permissive ++ S-hull is free software and may be obtained from www.s-hull.org. ++ It may be freely copied, modified, and redistributed under the conditions ++ described in `src/s_hull/COPYING.txt' ++ . ++ This is permission to use s-hull-pro in mathgl as long as the routines ++ retain my copyright notice. I am happy for it to be included in an LGPL ++ product and I am happy for the source to be bundled with mathgl under ++ whatever license you use for that. ++ . ++ The complete text of the license can be found in ++ `src/s_hull/COPYING.txt'. ++ ++Files: texinfo/* ++Copyright: (C) 2008-2012 Alexey Balakin ++License: GFDL-NIV-1.2+ ++ Permission is granted to copy, distribute and/or modify this document ++ under the terms of the GNU Free Documentation License, Version 1.2 ++ or any later version published by the Free Software Foundation; ++ with no Invariant Sections, no Front-Cover Texts, and no Back-Cover ++ Texts. A copy of the license is included in the section entitled ``GNU ++ Free Documentation License.'' ++ . ++ On Debian GNU/Linux systems, the complete text of the GNU Free Documentation ++ License can be found in `/usr/share/common-licenses/GFDL-1.2'. ++ ++Files: udav/textedit.cpp udav/textedit.h ++Copyright: (C) 2010 Nokia Corporation and/or its subsidiary(-ies) ++License: BSD-3-clause ++ Copyright (c) The Regents of the University of California. ++ All rights reserved. ++ . ++ Redistribution and use in source and binary forms, with or without ++ modification, are permitted provided that the following conditions ++ are met: ++ 1. Redistributions of source code must retain the above copyright ++ notice, this list of conditions and the following disclaimer. ++ 2. Redistributions in binary form must reproduce the above copyright ++ notice, this list of conditions and the following disclaimer in the ++ documentation and/or other materials provided with the distribution. ++ 3. Neither the name of the University nor the names of its contributors ++ may be used to endorse or promote products derived from this software ++ without specific prior written permission. ++ . ++ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ++ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE ++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ++ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE ++ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL ++ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS ++ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) ++ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT ++ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY ++ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF ++ SUCH DAMAGE. diff --cc debian/docs index 0000000,0000000..eda67f7 new file mode 100644 --- /dev/null +++ b/debian/docs @@@ -1,0 -1,0 +1,3 @@@ ++README ++README_V2 ++AUTHORS diff --cc debian/folder/mathgl-doc-en index 0000000,0000000..4c1c15c new file mode 100644 --- /dev/null +++ b/debian/folder/mathgl-doc-en @@@ -1,0 -1,0 +1,18 @@@ ++Document: mathgl-doc-en ++Title: Debian mathgl Manual in English ++Author: Alexey Balakin ++Abstract: This manual describes the usage ++ of mathgl for the production of high ++ quality plots (English version). ++Section: Science/Data Analysis ++ ++Format: HTML ++Index: /usr/share/doc/mathgl/mathgl_en/mathgl_en.html ++Files: /usr/share/doc/mathgl/mathgl_en/*.html ++ ++Format: PDF ++Files: /usr/share/doc/mathgl/mathgl_en.pdf.gz ++ ++Format: Info ++Index: /usr/share/info/mathgl_en.info.gz ++Files: /usr/share/info/mathgl_en.info*.gz diff --cc debian/folder/mathgl-doc-ru index 0000000,0000000..d25de21 new file mode 100644 --- /dev/null +++ b/debian/folder/mathgl-doc-ru @@@ -1,0 -1,0 +1,15 @@@ ++Document: mathgl-doc-ru ++Title: Debian mathgl Manual in Russian ++Author: Alexey Balakin ++Abstract: This manual describes the usage ++ of mathgl for the production of high ++ quality plots (Russian version). ++Section: Science/Data Analysis ++ ++Format: HTML ++Index: /usr/share/doc/mathgl-doc-ru/mathgl_ru.html/mathgl_ru.html ++Files: /usr/share/doc/mathgl-doc-ru/mathgl_ru.html/*.html ++ ++Format: Info ++Index: /usr/share/info/mathgl_ru.info.gz ++Files: /usr/share/info/mathgl_ru.info*.gz diff --cc debian/libmgl-data.install index 0000000,0000000..b7a7ddc new file mode 100644 --- /dev/null +++ b/debian/libmgl-data.install @@@ -1,0 -1,0 +1,1 @@@ ++debian/tmp/usr/share/mathgl/fonts diff --cc debian/libmgl-dev.install index 0000000,0000000..465b31a new file mode 100644 --- /dev/null +++ b/debian/libmgl-dev.install @@@ -1,0 -1,0 +1,3 @@@ ++debian/tmp/usr/include/* ++debian/tmp/usr/lib/*.so ++debian/tmp/usr/lib/*.a diff --cc debian/libmgl-fltk7.5.0.install index 0000000,0000000..8ccf313 new file mode 100644 --- /dev/null +++ b/debian/libmgl-fltk7.5.0.install @@@ -1,0 -1,0 +1,1 @@@ ++debian/tmp/usr/lib/libmgl-fltk.so.* diff --cc debian/libmgl-glut7.5.0.install index 0000000,0000000..68de839 new file mode 100644 --- /dev/null +++ b/debian/libmgl-glut7.5.0.install @@@ -1,0 -1,0 +1,1 @@@ ++debian/tmp/usr/lib/libmgl-glut.so.* diff --cc debian/libmgl-mpi7.5.0.install index 0000000,0000000..b90da4d new file mode 100644 --- /dev/null +++ b/debian/libmgl-mpi7.5.0.install @@@ -1,0 -1,0 +1,1 @@@ ++debian/tmp/usr/lib/libmgl-mpi.so.* diff --cc debian/libmgl-qt5-7.5.0.install index 0000000,0000000..5a60566 new file mode 100644 --- /dev/null +++ b/debian/libmgl-qt5-7.5.0.install @@@ -1,0 -1,0 +1,2 @@@ ++debian/tmp/usr/lib/libmgl-qt.so.* ++debian/tmp/usr/lib/libmgl-qt5.so.* diff --cc debian/libmgl-wnd7.5.0.install index 0000000,0000000..f9595a3 new file mode 100644 --- /dev/null +++ b/debian/libmgl-wnd7.5.0.install @@@ -1,0 -1,0 +1,1 @@@ ++debian/tmp/usr/lib/libmgl-wnd.so.* diff --cc debian/libmgl-wx7.5.0.install index 0000000,0000000..d6b927f new file mode 100644 --- /dev/null +++ b/debian/libmgl-wx7.5.0.install @@@ -1,0 -1,0 +1,1 @@@ ++debian/tmp/usr/lib/libmgl-wx.so.* diff --cc debian/libmgl7.5.0.install index 0000000,0000000..ce4b0fd new file mode 100644 --- /dev/null +++ b/debian/libmgl7.5.0.install @@@ -1,0 -1,0 +1,1 @@@ ++debian/tmp/usr/lib/libmgl.so.* diff --cc debian/mathgl-doc-en.install index 0000000,0000000..537fc9a new file mode 100644 --- /dev/null +++ b/debian/mathgl-doc-en.install @@@ -1,0 -1,0 +1,7 @@@ ++#debian/tmp/usr/share/doc/mathgl/*.png ++#debian/tmp/usr/share/doc/mathgl/*.html ++debian/tmp/usr/share/doc/mathgl/*.pdf ++#debian/tmp/usr/share/doc/mathgl/png/* ++#debian/tmp/usr/share/doc/mathgl/udav/* ++debian/tmp/usr/share/info/mathgl_en.info* usr/share/info/ ++debian/folder/mathgl-doc-en /usr/share/doc-base/ diff --cc debian/mathgl-doc-ru.install index 0000000,0000000..4a66b1c new file mode 100644 --- /dev/null +++ b/debian/mathgl-doc-ru.install @@@ -1,0 -1,0 +1,4 @@@ ++usr/share/doc/mathgl/mathgl_ru.html/ usr/share/doc/mathgl-doc-ru/ ++usr/share/doc/mathgl/mgl_ru.html/ usr/share/doc/mathgl-doc-ru/ ++usr/share/doc/mathgl/png/ usr/share/doc/mathgl-doc-ru/ ++debian/folder/mathgl-doc-ru /usr/share/doc-base/ diff --cc debian/mathgl.install index 0000000,0000000..5260e80 new file mode 100644 --- /dev/null +++ b/debian/mathgl.install @@@ -1,0 -1,0 +1,3 @@@ ++debian/tmp/usr/bin/mgl* ++debian/tmp/usr/share/mathgl/mgl.cgi /usr/bin ++debian/tmp/usr/share/mime/packages/mgl.xml diff --cc debian/mathgl.manpages index 0000000,0000000..17e2c78 new file mode 100644 --- /dev/null +++ b/debian/mathgl.manpages @@@ -1,0 -1,0 +1,4 @@@ ++texinfo/mglview.1 ++texinfo/mglconv.1 ++texinfo/mgl.5 ++texinfo/mgl.cgi.1 diff --cc debian/mgl-lua.install index 0000000,0000000..29f4f3d new file mode 100644 --- /dev/null +++ b/debian/mgl-lua.install @@@ -1,0 -1,0 +1,1 @@@ ++debian/tmp/usr/lib/mgl-lua.so diff --cc debian/patches/CMakeLists.patch index 0000000,0000000..d8bcc63 new file mode 100644 --- /dev/null +++ b/debian/patches/CMakeLists.patch @@@ -1,0 -1,0 +1,84 @@@ ++Adjust enablement of several features ++--- a/CMakeLists.txt +++++ b/CMakeLists.txt ++@@ -160,7 +160,7 @@ ++ endif(WIN32) ++ ++ option(enable-double "Enable double precision in MathGL library" ON) ++-option(enable-mpi "Enable mpi") +++option(enable-mpi "Enable mpi" ON) ++ option(enable-opengl "Enable OpenGL support" ON) ++ option(enable-all-docs "Enable all documentation building") ++ #option(enable-doc "Enable documentation building") ++@@ -168,13 +168,13 @@ ++ option(enable-all-widgets "Enable all Widgets") ++ option(enable-all-swig "Enable all SWIG based interfaces") ++ option(enable-rvalue "Enable move constructor support (need C++11)" OFF) ++-option(enable-pthread "Enable POSIX threads support" OFF) +++option(enable-pthread "Enable POSIX threads support" ON) ++ if(MSVC) ++ option(enable-pthr-widget "Enable POSIX threads for widgets" OFF) ++ else(MSVC) ++ option(enable-pthr-widget "Enable POSIX threads for widgets" ON) ++ endif(MSVC) ++-option(enable-openmp "Enable OpenMP support" ON) +++option(enable-openmp "Enable OpenMP support" OFF) ++ ++ if(enable-pthread AND enable-openmp) ++ message(SEND_ERROR "You can't enable POSIX threads and OpenMP at the same time!") ++@@ -182,7 +182,7 @@ ++ ++ option(enable-lgpl "Enable only LGPL part of MathGL") ++ option(enable-mgl2 "Use names 'libmgl2-*' instead of 'libmgl-*'") ++-option(enable-ltdl "Enable loading modules support") +++option(enable-ltdl "Enable loading modules support" ON) ++ option(enable-doc-site "Enable HTML documentation for website") ++ #CMAKE_DEPENDENT_OPTION(enable-doc-site "Enable HTML documentation for website" OFF "NOT enable-all-docs" ON) ++ CMAKE_DEPENDENT_OPTION(enable-doc-html "Enable HTML documentation" OFF "NOT enable-all-docs" ON) ++@@ -196,19 +196,19 @@ ++ ++ CMAKE_DEPENDENT_OPTION(enable-zlib "Enable zlib support" ON "NOT enable-all" ON) ++ CMAKE_DEPENDENT_OPTION(enable-png "Enable png support" ON "NOT enable-all" ON) ++-CMAKE_DEPENDENT_OPTION(enable-jpeg "Enable jpeg support" OFF "NOT enable-all" ON) ++-MGL_DEPENDENT_OPTION(enable-gsl "Enable gsl support" OFF "NOT enable-lgpl" ON "NOT enable-all" ON) ++-MGL_DEPENDENT_OPTION(enable-hdf4 "Enable hdf4 support" OFF "NOT enable-lgpl" ON "NOT enable-all" ON) ++-MGL_DEPENDENT_OPTION(enable-hdf5 "Enable hdf5 support" OFF "NOT enable-lgpl" ON "NOT enable-all" ON) ++-CMAKE_DEPENDENT_OPTION(enable-pdf "Enable pdf support" OFF "NOT enable-all" ON) ++-CMAKE_DEPENDENT_OPTION(enable-gif "Enable gif support" OFF "NOT enable-all" ON) ++-CMAKE_DEPENDENT_OPTION(enable-glut "Enable glut support" OFF "NOT enable-all-widgets" ON) ++-CMAKE_DEPENDENT_OPTION(enable-fltk "Enable fltk widget" OFF "NOT enable-all-widgets" ON) ++-CMAKE_DEPENDENT_OPTION(enable-wx "Enable wxWidget widget" OFF "NOT enable-all-widgets" ON) +++CMAKE_DEPENDENT_OPTION(enable-jpeg "Enable jpeg support" ON "NOT enable-all" ON) +++MGL_DEPENDENT_OPTION(enable-gsl "Enable gsl support" ON "NOT enable-lgpl" ON "NOT enable-all" ON) +++MGL_DEPENDENT_OPTION(enable-hdf4 "Enable hdf4 support" ON "NOT enable-lgpl" ON "NOT enable-all" ON) +++MGL_DEPENDENT_OPTION(enable-hdf5 "Enable hdf5 support" ON "NOT enable-lgpl" ON "NOT enable-all" ON) +++CMAKE_DEPENDENT_OPTION(enable-pdf "Enable pdf support" ON "NOT enable-all" ON) +++CMAKE_DEPENDENT_OPTION(enable-gif "Enable gif support" ON "NOT enable-all" ON) +++CMAKE_DEPENDENT_OPTION(enable-glut "Enable glut support" ON "NOT enable-all-widgets" ON) +++CMAKE_DEPENDENT_OPTION(enable-fltk "Enable fltk widget" ON "NOT enable-all-widgets" ON) +++CMAKE_DEPENDENT_OPTION(enable-wx "Enable wxWidget widget" ON "NOT enable-all-widgets" ON) ++ CMAKE_DEPENDENT_OPTION(enable-qt4 "Enable Qt4 widget" OFF "NOT enable-all-widgets" ON) ++ CMAKE_DEPENDENT_OPTION(enable-qt4asqt "Set Qt4 as default libmgl-qt" OFF "enable-qt4" OFF) ++-CMAKE_DEPENDENT_OPTION(enable-qt5 "Enable Qt5 widget" OFF "NOT enable-all-widgets" ON) ++-CMAKE_DEPENDENT_OPTION(enable-qt5asqt "Set Qt5 as default libmgl-qt" OFF "enable-qt5" OFF) +++CMAKE_DEPENDENT_OPTION(enable-qt5 "Enable Qt5 widget" ON "NOT enable-all-widgets" ON) +++CMAKE_DEPENDENT_OPTION(enable-qt5asqt "Set Qt5 as default libmgl-qt" ON "enable-qt5" OFF) ++ ++ # msvc fwprintf print char* for the specifier of "%s" format ++ if(MSVC AND MSVC_VERSION GREATER 1899) ++@@ -245,11 +245,11 @@ ++ # endif(NOT enable-opengl) ++ endif(enable-qt4 OR enable-qt5) ++ ++-CMAKE_DEPENDENT_OPTION(enable-json-sample "Enable JSON sample (WebKit variant is the default)." ON "QT_ENABLED" OFF) ++-CMAKE_DEPENDENT_OPTION(enable-json-sample-we "Enable JSON sample (WebEngine variant)." OFF "enable-json-sample" OFF) ++-MGL_DEPENDENT_OPTION(enable-python "Enable python interface" OFF "NOT enable-lgpl" ON "NOT enable-all-swig" ON) +++CMAKE_DEPENDENT_OPTION(enable-json-sample "Enable JSON sample (WebKit variant is the default)." ON "QT_ENABLED" ON) +++CMAKE_DEPENDENT_OPTION(enable-json-sample-we "Enable JSON sample (WebEngine variant)." ON "enable-json-sample" ON) +++MGL_DEPENDENT_OPTION(enable-python "Enable python interface" ON "NOT enable-lgpl" ON "NOT enable-all-swig" ON) ++ MGL_DEPENDENT_OPTION(enable-lua "Enable Lua (v.5.1) interface" OFF "NOT enable-lgpl" ON "NOT enable-all-swig" ON) ++-MGL_DEPENDENT_OPTION(enable-octave "Enable octave interface" OFF "NOT enable-lgpl" ON "NOT enable-all-swig" ON) +++MGL_DEPENDENT_OPTION(enable-octave "Enable octave interface" ON "NOT enable-lgpl" ON "NOT enable-all-swig" ON) ++ MGL_DEPENDENT_OPTION(enable-octave-install "Octave interface will install for all users" ON "NOT enable-lgpl" ON "NOT enable-all-swig" ON) ++ ++ include_directories( ${MathGL2_SOURCE_DIR}/include ${MathGL2_BINARY_DIR}/include) diff --cc debian/patches/python2_and_python3.patch index 0000000,0000000..945ce0d new file mode 100644 --- /dev/null +++ b/debian/patches/python2_and_python3.patch @@@ -1,0 -1,0 +1,243 @@@ ++Provide support for both python2 and python3 interfaces ++Index: mathgl-2.4.2.1/lang/python2/CMakeLists.txt ++=================================================================== ++--- /dev/null +++++ mathgl-2.4.2.1/lang/python2/CMakeLists.txt ++@@ -0,0 +1,60 @@ +++set(src_imp_dep +++../../include/mgl2/type.h +++../../include/mgl2/data.h +++../../include/mgl2/mgl.h +++../mgl.i +++../data.i +++../type.i +++) +++ +++set(mgl_clean_files "") +++ +++SET_SOURCE_FILES_PROPERTIES(../mathgl.i ../numpy.i PROPERTIES CPLUSPLUS ON) +++ +++if(enable-python) +++ set(Python_ADDITIONAL_VERSIONS 2.7) +++ FIND_PACKAGE(PythonInterp) +++ if(NOT PYTHONINTERP_FOUND) +++ message(SEND_ERROR "Couldn't find python interpreter.") +++ endif(NOT PYTHONINTERP_FOUND) +++ FIND_PACKAGE(PythonLibs) +++ if(NOT PYTHONLIBS_FOUND) +++ message(SEND_ERROR "Couldn't find python development libraries.") +++ endif(NOT PYTHONLIBS_FOUND) +++ execute_process( +++ COMMAND ${PYTHON_EXECUTABLE} -c "import numpy; print numpy.get_include()" +++ OUTPUT_VARIABLE NUMPY_INCLUDE_PATH +++ RESULT_VARIABLE NUMPY_ERR +++ OUTPUT_STRIP_TRAILING_WHITESPACE +++ ) +++ if(NOT NUMPY_INCLUDE_PATH) +++ message(SEND_ERROR "Couldn't find numpy.") +++ endif(NOT NUMPY_INCLUDE_PATH) +++ +++ include_directories(${PYTHON_INCLUDE_DIR} ${NUMPY_INCLUDE_PATH}) +++ execute_process( +++ COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(prefix='${CMAKE_INSTALL_PREFIX}')" +++ OUTPUT_VARIABLE MGL_PYTHON_SITE_PACKAGES +++ OUTPUT_STRIP_TRAILING_WHITESPACE) +++ set(SWIG_MODULE_mathgl_EXTRA_DEPS ../numpy.i ${src_imp_dep}) +++ if(${CMAKE_VERSION} VERSION_LESS "3.8.0") +++ SWIG_ADD_MODULE(mathgl python ../mathgl.i) +++ else(${CMAKE_VERSION} VERSION_LESS "3.8.0") +++ SWIG_ADD_LIBRARY(mathgl LANGUAGE python SOURCES ../mathgl.i) +++ endif(${CMAKE_VERSION} VERSION_LESS "3.8.0") +++ SWIG_LINK_LIBRARIES(mathgl mgl ${PYTHON_LIBRARIES}) +++ set_target_properties(_mathgl PROPERTIES BUILD_WITH_INSTALL_RPATH ON) +++ add_custom_command(OUTPUT mathgl.pyc +++ COMMAND ${PYTHON_EXECUTABLE} +++ ARGS -c \"from py_compile import compile\; compile('mathgl.py') \" +++ WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/lang/python2 +++ DEPENDS _mathgl +++ ) +++ add_custom_target(mgl_python_module ALL DEPENDS _mathgl mathgl.pyc) +++ +++ install(FILES ${MathGL2_BINARY_DIR}/lang/python2/mathgl.py ${MathGL2_BINARY_DIR}/lang/python2/mathgl.pyc DESTINATION ${MGL_PYTHON_SITE_PACKAGES}) +++ install (TARGETS _mathgl LIBRARY DESTINATION ${MGL_PYTHON_SITE_PACKAGES}) +++ set(mgl_clean_files ${mgl_clean_files} mathgl.py) +++endif(enable-python) +++ +++set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${mgl_clean_files}") ++Index: mathgl-2.4.2.1/lang/python3/CMakeLists.txt ++=================================================================== ++--- /dev/null +++++ mathgl-2.4.2.1/lang/python3/CMakeLists.txt ++@@ -0,0 +1,70 @@ +++set(src_imp_dep +++../../include/mgl2/type.h +++../../include/mgl2/data.h +++../../include/mgl2/mgl.h +++../mgl.i +++../data.i +++../type.i +++) +++ +++set(mgl_clean_files "") +++ +++SET_SOURCE_FILES_PROPERTIES(../mathgl.i ../numpy.i PROPERTIES CPLUSPLUS ON) +++ +++if(enable-python) +++ set(Python_ADDITIONAL_VERSIONS ${PY3VERSION_DOTTED}) +++ unset(PYTHONINTERP_FOUND) +++ unset(PYTHON_EXECUTABLE CACHE) +++ FIND_PACKAGE(PythonInterp ${PY3VERSION_DOTTED} REQUIRED) +++ if(NOT PYTHONINTERP_FOUND) +++ message(SEND_ERROR "Couldn't find python interpreter.") +++ endif(NOT PYTHONINTERP_FOUND) +++ unset(PYTHONLIBS_FOUND) +++ unset(PYTHON_LIBRARIES CACHE) +++ unset(PYTHON_INCLUDE_PATH CACHE) +++ unset(PYTHON_INCLUDE_DIRS CACHE) +++ unset(PYTHON_DEBUG_LIBRARIES CACHE) +++ unset(PYTHONLIBS_VERSION_STRING CACHE) +++ unset(PYTHON_LIBRARY CACHE) +++ unset(PYTHON_INCLUDE_DIR CACHE) +++ FIND_PACKAGE(PythonLibs ${PY3VERSION_DOTTED} REQUIRED) +++ if(NOT PYTHONLIBS_FOUND) +++ message(SEND_ERROR "Couldn't find python development libraries.") +++ endif(NOT PYTHONLIBS_FOUND) +++ execute_process( +++ COMMAND ${PYTHON_EXECUTABLE} -c "import numpy; print (numpy.get_include())" +++ OUTPUT_VARIABLE NUMPY_INCLUDE_PATH +++ RESULT_VARIABLE NUMPY_ERR +++ OUTPUT_STRIP_TRAILING_WHITESPACE +++ ) +++ if(NOT NUMPY_INCLUDE_PATH) +++ message(SEND_ERROR "Couldn't find numpy.") +++ endif(NOT NUMPY_INCLUDE_PATH) +++ +++ include_directories(${PYTHON_INCLUDE_DIR} ${NUMPY_INCLUDE_PATH}) +++ execute_process( +++ COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print (get_python_lib(prefix='${CMAKE_INSTALL_PREFIX}'))" +++ OUTPUT_VARIABLE MGL_PYTHON_SITE_PACKAGES +++ OUTPUT_STRIP_TRAILING_WHITESPACE) +++ set(SWIG_MODULE_mathglp3_EXTRA_DEPS ../numpy.i ${src_imp_dep}) +++ if(${CMAKE_VERSION} VERSION_LESS "3.8.0") +++ SWIG_ADD_MODULE(mathglp3 python ../mathgl.i) +++ else(${CMAKE_VERSION} VERSION_LESS "3.8.0") +++ SWIG_ADD_LIBRARY(mathglp3 LANGUAGE python SOURCES ../mathgl.i) +++ endif(${CMAKE_VERSION} VERSION_LESS "3.8.0") +++ SWIG_LINK_LIBRARIES(mathglp3 mgl ${PYTHON_LIBRARIES}) +++ set_target_properties(_mathglp3 PROPERTIES BUILD_WITH_INSTALL_RPATH ON) +++ add_custom_command(OUTPUT mathgl.pyc +++ COMMAND ${PYTHON_EXECUTABLE} +++ ARGS -c \"from py_compile import compile\; compile('mathgl.py') \" +++ WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/lang/python3 +++ DEPENDS _mathglp3 +++ ) +++ add_custom_target(mglp3_python_module ALL DEPENDS _mathglp3 mathgl.pyc) +++ +++ install(FILES ${MathGL2_BINARY_DIR}/lang/python3/mathgl.py ${MathGL2_BINARY_DIR}/lang/python3/__pycache__/mathgl.cpython-${PY3VERSION_NODOT}.pyc DESTINATION ${MGL_PYTHON_SITE_PACKAGES}/__pycache__) +++ install (TARGETS _mathglp3 LIBRARY DESTINATION ${MGL_PYTHON_SITE_PACKAGES}) +++ set(mgl_clean_files ${mgl_clean_files} mathgl.py) +++endif(enable-python) +++ +++set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${mgl_clean_files}") ++Index: mathgl-2.4.2.1/lang/numpy.i ++=================================================================== ++--- mathgl-2.4.2.1.orig/lang/numpy.i +++++ mathgl-2.4.2.1/lang/numpy.i ++@@ -107,11 +107,12 @@ ++ if (PyDict_Check( py_obj)) return "dict" ; ++ if (PyList_Check( py_obj)) return "list" ; ++ if (PyTuple_Check( py_obj)) return "tuple" ; ++- if (PyFile_Check( py_obj)) return "file" ; ++ if (PyModule_Check( py_obj)) return "module" ; ++- if (PyInstance_Check(py_obj)) return "instance" ; ++- ++- return "unknow type"; +++ %# if PY_MAJOR_VERSION < 3 +++ if (PyFile_Check( py_obj)) return "file" ; +++ if (PyInstance_Check(py_obj)) return "instance" ; +++ %# endif +++ return "unknown type"; ++ } ++ ++ /* Given a NumPy typecode, return a string describing the type. ++Index: mathgl-2.4.2.1/lang/CMakeLists.txt ++=================================================================== ++--- mathgl-2.4.2.1.orig/lang/CMakeLists.txt +++++ mathgl-2.4.2.1/lang/CMakeLists.txt ++@@ -17,52 +17,6 @@ if(NOT SWIG_FOUND) ++ endif(NOT SWIG_FOUND) ++ INCLUDE(${SWIG_USE_FILE}) ++ ++-if(enable-python) ++- set(Python_ADDITIONAL_VERSIONS 2.7) ++- FIND_PACKAGE(PythonInterp) ++- if(NOT PYTHONINTERP_FOUND) ++- message(SEND_ERROR "Couldn't find python interpreter.") ++- endif(NOT PYTHONINTERP_FOUND) ++- FIND_PACKAGE(PythonLibs) ++- if(NOT PYTHONLIBS_FOUND) ++- message(SEND_ERROR "Couldn't find python development libraries.") ++- endif(NOT PYTHONLIBS_FOUND) ++- execute_process( ++- COMMAND ${PYTHON_EXECUTABLE} -c "import numpy; print numpy.get_include()" ++- OUTPUT_VARIABLE NUMPY_INCLUDE_PATH ++- RESULT_VARIABLE NUMPY_ERR ++- OUTPUT_STRIP_TRAILING_WHITESPACE ++- ) ++- if(NOT NUMPY_INCLUDE_PATH) ++- message(SEND_ERROR "Couldn't find numpy.") ++- endif(NOT NUMPY_INCLUDE_PATH) ++- ++- include_directories(${PYTHON_INCLUDE_DIR} ${NUMPY_INCLUDE_PATH}) ++- execute_process( ++- COMMAND ${PYTHON_EXECUTABLE} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(prefix='${CMAKE_INSTALL_PREFIX}')" ++- OUTPUT_VARIABLE MGL_PYTHON_SITE_PACKAGES ++- OUTPUT_STRIP_TRAILING_WHITESPACE) ++- set(SWIG_MODULE_mathgl_EXTRA_DEPS numpy.i ${src_imp_dep}) ++- if(${CMAKE_VERSION} VERSION_LESS "3.8.0") ++- SWIG_ADD_MODULE(mathgl python mathgl.i) ++- else(${CMAKE_VERSION} VERSION_LESS "3.8.0") ++- SWIG_ADD_LIBRARY(mathgl LANGUAGE python SOURCES mathgl.i) ++- endif(${CMAKE_VERSION} VERSION_LESS "3.8.0") ++- SWIG_LINK_LIBRARIES(mathgl mgl ${PYTHON_LIBRARIES}) ++- set_target_properties(_mathgl PROPERTIES BUILD_WITH_INSTALL_RPATH ON) ++- add_custom_command(OUTPUT mathgl.pyc ++- COMMAND ${PYTHON_EXECUTABLE} ++- ARGS -c \"from py_compile import compile\; compile('mathgl.py') \" ++- WORKING_DIRECTORY ${CMAKE_BINARY_DIR}/lang ++- DEPENDS _mathgl ++- ) ++- add_custom_target(mgl_python_module ALL DEPENDS _mathgl mathgl.pyc) ++- ++- install(FILES ${MathGL2_BINARY_DIR}/lang/mathgl.py ${MathGL2_BINARY_DIR}/lang/mathgl.pyc DESTINATION ${MGL_PYTHON_SITE_PACKAGES}) ++- install (TARGETS _mathgl LIBRARY DESTINATION ${MGL_PYTHON_SITE_PACKAGES}) ++- set(mgl_clean_files ${mgl_clean_files} mathgl.py) ++-endif(enable-python) ++- ++ if(enable-lua) ++ INCLUDE(FindLua51) ++ if(NOT LUA51_FOUND) ++@@ -145,4 +99,8 @@ message(STATUS "${oct_prog} ${oct_host} ++ endif(enable-octave-install) ++ set(mgl_clean_files ${mgl_clean_files} mathgl) ++ endif(enable-octave) +++ +++add_subdirectory( python2 ) +++add_subdirectory( python3 ) +++ ++ set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${mgl_clean_files}") ++Index: mathgl-2.4.2.1/CMakeLists.txt ++=================================================================== ++--- mathgl-2.4.2.1.orig/CMakeLists.txt +++++ mathgl-2.4.2.1/CMakeLists.txt ++@@ -9,6 +9,10 @@ set(mgl_clean_files ) ++ set(MGL_DEP_LIBS) ++ add_definitions(-DMGL_SRC) ++ +++# Set these on command-line +++# set(PY3VERSION_DOTTED 3.6) +++# set(PY3VERSION_NODOT 36) +++ ++ #add_definitions(-DZLIB_WINAPI) ++ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${MathGL2_SOURCE_DIR}/scripts) ++ diff --cc debian/patches/series index 0000000,0000000..7248928 new file mode 100644 --- /dev/null +++ b/debian/patches/series @@@ -1,0 -1,0 +1,2 @@@ ++CMakeLists.patch ++python2_and_python3.patch diff --cc debian/python-mathgl.install index 0000000,0000000..676c8f0 new file mode 100644 --- /dev/null +++ b/debian/python-mathgl.install @@@ -1,0 -1,0 +1,2 @@@ ++debian/tmp/usr/lib/python2*/dist-packages/*.so ++debian/tmp/usr/lib/python2*/dist-packages/*.py diff --cc debian/python3-mathgl.install index 0000000,0000000..6c3a62f new file mode 100644 --- /dev/null +++ b/debian/python3-mathgl.install @@@ -1,0 -1,0 +1,2 @@@ ++debian/tmp/usr/lib/python3*/dist-packages/*.so ++debian/tmp/usr/lib/python3*/dist-packages/__pycache__/*.py usr/lib/python3/dist-packages/ diff --cc debian/rules index 0000000,0000000..40599c9 new file mode 100755 --- /dev/null +++ b/debian/rules @@@ -1,0 -1,0 +1,34 @@@ ++#!/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 ++export DH_OPTIONS=-v ++ ++DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) ++ ++ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel)) ++ export DEB_CXXFLAGS_MAINT_APPEND = -g0 ++endif ++ ++DOTTED:=`py3versions -d | sed 's/python//' ` ++NODOT:=`py3versions -d | sed 's/\.//' | sed 's/python//' ` ++ ++%: ++ dh $@ --buildsystem=cmake --with python2,python3 ++ ++ ++override_dh_auto_configure: ++ dh_auto_configure -- \ ++ -DPY3VERSION_DOTTED=$(DOTTED) -DPY3VERSION_NODOT=$(NODOT) ++ ++override_dh_python2: ++ dh_numpy ++ ++override_dh_python3: ++ dh_numpy3 diff --cc debian/source/format index 0000000,0000000..46ebe02 new file mode 100644 --- /dev/null +++ b/debian/source/format @@@ -1,0 -1,0 +1,1 @@@ ++3.0 (quilt) diff --cc debian/source/options index 0000000,0000000..2976527 new file mode 100644 --- /dev/null +++ b/debian/source/options @@@ -1,0 -1,0 +1,2 @@@ ++ ++extend-diff-ignore = "(^|/)(mathgl_es\.po|mathgl_ru\.po)$" diff --cc debian/udav.install index 0000000,0000000..fc1b1d8 new file mode 100644 --- /dev/null +++ b/debian/udav.install @@@ -1,0 -1,0 +1,4 @@@ ++debian/tmp/usr/bin/udav ++debian/tmp/usr/share/pixmaps/udav.png ++udav/udav.desktop /usr/share/applications ++debian/tmp/usr/share/udav/udav_ru.qm diff --cc debian/udav.manpages index 0000000,0000000..9d080c8 new file mode 100644 --- /dev/null +++ b/debian/udav.manpages @@@ -1,0 -1,0 +1,1 @@@ ++texinfo/udav.1 diff --cc debian/watch index 0000000,0000000..489e02f new file mode 100644 --- /dev/null +++ b/debian/watch @@@ -1,0 -1,0 +1,2 @@@ ++version=3 ++http://sf.net/mathgl/mathgl-(.*)\.t(?:ar\.)?gz