Compare commits

...

180 Commits
el6 ... master

Author SHA1 Message Date
Orion Poplawski c32f37ff6c Drop use of %buildarch in macros.octave (bugz#1733898) 2019-07-31 07:40:27 -06:00
Fedora Release Engineering ce1b1e3f1c - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 23:06:32 +00:00
Orion Poplawski ca67dd2418 Merge branch '5.1'
Conflicts:
	octave-eof.patch
	octave.spec
2019-06-16 20:39:15 -06:00
Orion Poplawski 6d9787ef24 Backport upstream patch for proper EOF handling (bugz#1705129)
Conflicts:
	octave.spec
2019-05-06 22:00:25 -06:00
Orion Poplawski be280a1c77 Backport upstream patch for proper EOF handling (bugz#1705129) 2019-05-06 21:47:37 -06:00
Orion Poplawski 4d71e9d666 Upload docs 2019-04-26 22:24:25 -06:00
Björn Esser ac98714773
rebuilt (sundials) 2019-04-23 14:46:57 +02:00
Orion Poplawski f46e7e224d Rebuild for hdf5 1.10.5 2019-03-16 08:56:10 -06:00
Orion Poplawski 40604e5e23 Update to 5.1.0 2019-03-10 13:01:37 -06:00
Tim Landscheidt 41506049ba Remove obsolete requirements for post/preun scriptlets 2019-03-07 04:29:59 +00:00
Igor Gnatenko a4a6e500dc Rebuild for readline 8.0 2019-02-17 09:30:52 +01:00
Björn Esser f2776ae5a4
rebuilt (qscintilla) 2019-02-16 11:53:27 +01:00
Björn Esser 898001d61a
rebuilt (qscintilla), fix pre-release tag 2019-02-12 20:29:15 +01:00
Fedora Release Engineering 3c8786cf4c - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 17:02:58 +00:00
Igor Gnatenko dde1598fa6 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:23 +01:00
Igor Gnatenko 34cca03626
Remove obsolete scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2019-01-27 19:39:37 +01:00
Orion Poplawski 281df3b846 Update to 4.4.1 2018-11-11 17:34:07 -07:00
Fedora Release Engineering 65d166658d - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 14:51:43 +00:00
Colin B. Macdonald e487e99ed8 macros: support other names for appdata .metainfo.xml files 2018-07-01 23:23:18 -07:00
Colin B. Macdonald eb697c174d macros: support dependencies in octave_pkg_check 2018-06-28 20:47:29 -07:00
Orion Poplawski 4ca05c4c51 Add patch to fix crash with Ctrl-D (bug #1589460) 2018-06-21 22:22:57 -06:00
Orion Poplawski c1e8f566e9 Add requires hicolor-icon-theme
Use make macros
2018-06-17 19:53:21 -06:00
Jerry James 215f4cd777 Add -qbuttongroup patch to fix FTBFS. 2018-06-02 14:51:14 -06:00
Jerry James f3e519677e Rebuild for glpk 4.65. Use ldconfig macros. 2018-06-02 11:11:05 -06:00
Orion Poplawski 8b252cc278 Update to 4.2.2
Fail build again if make check fails
2018-03-14 14:32:37 -06:00
Orion Poplawski 87988a9b98 Add BR gcc-c++ 2018-02-21 22:11:52 -07:00
Jitka Plesnikova ba7b24b360 Rebuild for hdf5 1.8.20 2018-02-08 08:35:55 +01:00
Jitka Plesnikova 6fd19dd7db Rebuild for new gfortran 2018-02-05 10:44:49 +01:00
Igor Gnatenko a8eabca1f1 Remove obsolete scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-01-06 00:16:10 +01:00
Susi Lehtola 4968a9bfca Fix typo in changelog date. 2017-10-31 16:42:09 +01:00
Orion Poplawski ece309dafa Make octave-devel require libappstream-glib 2017-08-13 19:26:04 -06:00
Orion Poplawski ba0a203672 Run appstream-util validate-relax on metainfo.xml files 2017-08-12 09:12:44 -06:00
Orion Poplawski 59b6110649 Use openblas on Fedora 27+ 2017-08-11 20:08:42 -06:00
Orion Poplawski 62c24c83f6 Fix date 2017-08-10 22:34:28 -06:00
Orion Poplawski 86c9c906ba Install metainfo.xml files in %octave_pkg_install 2017-08-10 22:33:13 -06:00
Fedora Release Engineering 10e6ae1fcf - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 04:22:18 +00:00
Fedora Release Engineering 5496bad895 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 01:34:04 +00:00
Orion Poplawski 30520dbd34 Use Qt5 on Fedora 26+ 2017-06-13 17:11:11 -06:00
Jerry James c0a84372b0 Rebuild for glpk 4.61 2017-04-05 15:56:22 -06:00
Orion Poplawski 435717d94e Update to 4.2.1 2017-02-24 20:59:28 -07:00
Rex Dieter 295daff22e rebuild (qscintilla) 2017-02-20 13:05:15 -06:00
Orion Poplawski ed607fc8fe Have %octave_pkg_check re-strip shared objects 2017-02-08 11:02:56 -07:00
Orion Poplawski 6e13652dc2 Rebuild with fixed pkgconf (bug #1419685) 2017-02-07 17:01:11 -07:00
Björn Esser 752dd439a7 Rebuilt for GCC-7 2017-01-28 10:03:53 +01:00
Igor Gnatenko e3f25b5d98 Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:35 +01:00
Kalev Lember d752630df2 Fix license in appdata file (bug #1293561) 2016-12-29 14:58:13 +01:00
Orion Poplawski 5c42e75d55 Handle noarch package tarball names 2016-12-09 14:40:15 -07:00
Orion Poplawski a9fb7eb79e Patch gzip from upstream bug report 2016-12-09 08:43:38 -07:00
Orion Poplawski efad2fcffe Try to get more info from gzip failure 2016-12-09 07:56:31 -07:00
Orion Poplawski 9924aa8c95 Disable more segfaulting tests 2016-12-08 17:02:36 -07:00
Orion Poplawski 29021ae262 Add patch to prevent gzip from deleting target file, instead emit warning
Drop debug code
Disable segfaulting osmesa_print and pltopt tests
2016-12-08 14:28:22 -07:00
Orion Poplawski 4db3872ff9 Fix version option 2016-12-08 07:06:04 -07:00
Orion Poplawski 8fd8b50df3 A desparate attempt to debug octave package building 2016-12-07 20:53:25 -07:00
Orion Poplawski 7a5c2dba41 Build in a build sub-directory 2016-12-07 14:36:17 -07:00
Orion Poplawski af0420f223 Use 'octave-config -p CANONICAL_HOST_TYPE' in macros 2016-12-07 11:01:23 -07:00
Orion Poplawski 22d0d4e8c1 Use %_host in macros 2016-12-07 07:37:25 -07:00
Orion Poplawski 171daaaa9d Rework pkg build/install macros 2016-12-06 22:44:18 -07:00
Orion Poplawski 6780ddd891 Drop old _licensedir hack 2016-12-06 14:43:16 -07:00
Orion Poplawski 77e3a20210 Fix typo in implicit patch 2016-12-06 14:39:50 -07:00
Orion Poplawski 4282ff55b7 Update to 4.2.0
- Drop texinfo5 patch
- Use autoreconf -i
- Add requires for latex packages
- Add implicit patch
2016-12-06 14:23:11 -07:00
Orion Poplawski 3e0830ac09 Rebuild for hdf5 1.8.18 2016-12-06 11:50:32 -07:00
Orion Poplawski 5d21b4dde3 Add upstream patch to fix build with texinfo 5 on <=EL7 2016-09-09 13:30:27 -06:00
Orion Poplawski 771edb2197 Update to 4.0.3 2016-07-03 18:48:43 -06:00
Orion Poplawski ae32e98ac3 Rebuild for hdf5 1.8.17 2016-06-29 12:19:49 -06:00
Ralf Corsépius ac0b0ffd76 Rebuild for qhull-2015.2-1. 2016-04-29 16:13:42 +02:00
Orion Poplawski e59f23e101 Update to 4.0.2 2016-04-21 21:51:38 -06:00
Orion Poplawski 6bcde251c2 Add upstream patch to fix setting TERM variable (bug #1325548) 2016-04-10 08:41:41 -06:00
Orion Poplawski e5f557f57e Arm tests appear to be running okay now (bug #1149953) 2016-04-04 14:27:26 -06:00
Orion Poplawski 8e983362f7 Swap quoting in octave macros to make set -x output a little cleaner
- Stop trying to turn octave warnings off in macros
2016-03-24 17:21:20 -06:00
Orion Poplawski e2ff30f6ae Update requirements for EL7 2016-03-23 22:20:57 -06:00
Orion Poplawski 99d8de70d2 Update signbit patch from gnulib upstream to work with older compilers
- Only munge headers for gnulib on Fedora 24+
2016-03-23 19:37:55 -06:00
Orion Poplawski fe93f47194 libappstream-glib is not in EL6 2016-03-22 16:55:12 -06:00
Orion Poplawski 759128ade8 Fix changelog date 2016-03-22 10:05:54 -06:00
Orion Poplawski a4990edc1a Update to 4.0.1
- Drop upstream texinfo patch
2016-03-22 10:04:28 -06:00
Orion Poplawski f8eb2026e1 Rebuild for glpk 4.59 2016-03-11 12:44:17 -07:00
Orion Poplawski f932eb0a76 Fix build with gcc 6 2016-02-21 09:57:14 -07:00
Orion Poplawski 64a641d9d1 Rebuild for glpk 4.58 2016-02-18 11:27:16 -07:00
Fedora Release Engineering eab9923c9a - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-04 11:13:24 +00:00
Orion Poplawski f49b342e6b Rebuild for poppler-0.40.0 2016-01-22 09:03:47 -07:00
Orion Poplawski b4951bcb7a Rebuild for hdf5 1.8.16 2016-01-21 12:16:31 -07:00
Orion Poplawski 39d78f96a8 Bump release 2015-12-30 16:23:51 -07:00
Orion Poplawski 7b50839be2 Validate and fix appdata file (bug #1293561) 2015-12-30 16:21:33 -07:00
Orion Poplawski eeba023183 Add BR libsndfile-devel and portaudio-devel for audio support (bug #1279924) 2015-11-11 09:50:38 -07:00
Orion Poplawski c284f8407b Remove unused fftpack code, note bundled libraries 2015-10-06 08:55:42 -06:00
Rex Dieter af1955fe66 rebuild (GraphicsMagick) 2015-10-04 20:01:28 -05:00
Orion Poplawski b605586312 Keep on_uninstall.m around so rpm does not complain on removal 2015-07-31 11:04:19 -06:00
Orion Poplawski 5ebd21d577 Add octave_pkg_check rpm macro, other macro cleanup 2015-07-31 08:17:24 -06:00
Orion Poplawski 9bf4ad0090 Handle rpm macros dir for EL6 2015-07-29 16:38:32 -06:00
Orion Poplawski c74f2dac08 Fix builds on older versions:
- texlive-collection-fontsrecommended doesn't exist on EL6
- Add BR zip for tests.
- Do not patch docs if we aren't building them
- Add %license conditional
2015-07-29 15:19:36 -06:00
Orion Poplawski 626ba12bb6 Add patch to fix build with texinfo 6.0 2015-07-14 13:26:11 -06:00
Dan Horák 21dae87daf - build without the dummy Xorg driver on s390(x) 2015-07-13 09:40:05 -04:00
Dan Horák 6f1ea798f7 add ppc64le into 64-bit arches 2015-07-13 07:20:23 -04:00
Orion Poplawski 867ed9249b Update to 4.0.0
- Rebase pkgbuilddir patch
- Drop suitesparse patch
- Run X server for tests
2015-07-06 14:37:14 -06:00
Dennis Gilmore 40d01e441e - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 23:39:22 +00:00
Nils Philippsen be9e4d6375 rebuild for suitesparse-4.4.4 2015-06-11 23:26:19 +02:00
Orion Poplawski 8c3c9ac2fc Fix doc install (bug #799662) 2015-05-28 14:54:32 -06:00
Orion Poplawski 2b25bd0b11 Rebuild for hdf5 1.8.15 2015-05-17 16:23:20 -06:00
Rex Dieter c725d03dbd rebuild (qscintilla) 2015-04-20 22:15:32 -05:00
Richard Hughes f37d8228d5 Add an AppData file for the software center 2015-03-26 16:39:40 +00:00
Orion Poplawski 65f15f3bff Build with --enable-float-truncate (https://savannah.gnu.org/bugs/?40560)
- Re-enable parallel builds
2015-03-10 21:59:10 -06:00
Rex Dieter de6c316c2c fix changelog style 2015-03-10 18:23:37 -05:00
Rex Dieter d7cf4c5489 rebuild (GraphicsMagick) 2015-03-09 07:59:37 -05:00
Orion Poplawski 647ec3eb2d Rebuild for rebuilt swig 2015-02-20 10:11:02 -07:00
Orion Poplawski fd473f28f1 Rebuild for fltk 1.3.3 2015-02-18 10:23:20 -07:00
Orion Poplawski ce2cac73ef Rebuild for gcc 5 C++11 ABI 2015-02-17 10:34:55 -07:00
Orion Poplawski 087e8477a8 Use a generic location for libjvm.so, require java-headless (bug #1190523) 2015-02-08 19:35:24 -07:00
Orion Poplawski dc21003374 Rebuild for hdf5 1.8.14 2015-01-07 14:09:09 -07:00
Orion Poplawski ccd7a1b418 Disable test failure on arm for now (bug #1149953) 2014-10-06 21:42:36 -06:00
Orion Poplawski d35fb0b3bb Fix suitesparse patch 2014-09-16 16:43:44 -06:00
Orion Poplawski 864212af38 Add patch for suitesparse 4.3.1 support 2014-09-15 17:43:40 -06:00
Orion Poplawski c6df50bec9 Rebuild for libcholmod soname bump 2014-09-12 14:06:26 -06:00
Orion Poplawski f154d8918d No info scripts when not building docs 2014-08-23 12:48:21 -06:00
Orion Poplawski acb81ba207 Install macros.texi by hand if not building docs 2014-08-22 15:38:16 -06:00
Peter Robinson f8bbaaf0ca - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-17 13:18:03 +00:00
Orion Poplawski d336bc6072 Disable doc building on EL7 for now 2014-08-15 16:25:41 -06:00
Orion Poplawski c2bac1837e Update to 3.8.2 final 2014-08-14 11:37:51 -06:00
Susi Lehtola d847d029ac Update to 3.8.2 rc2. 2014-07-03 19:21:04 +02:00
Susi Lehtola 4b94ef1f76 Update to 3.8.2-rc1, which seems to fix the FTBFS. 2014-06-10 08:04:06 +03:00
Dennis Gilmore ffa5cf4141 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 10:58:26 -05:00
Susi Lehtola 7d14c30d96 Update to 3.8.1. 2014-03-07 17:32:57 +02:00
Orion Poplawski 51fc18c4f3 Use new atlas for RHEL7 2014-02-12 07:16:18 -07:00
Peter Robinson 25b25042b7 Add PPC64 and aarch64 to the 64 bit architectures 2014-02-08 11:07:17 +00:00
Orion Poplawski 0636ce0a66 Fix rpm macro install location 2014-02-01 12:22:03 -07:00
Orion Poplawski 26a4442558 Also fix base-list.h include 2014-01-14 17:04:15 -07:00
Orion Poplawski a3e449d179 Really fix config.h include 2014-01-09 13:39:49 -07:00
Orion Poplawski a7fc062a47 Fix config.h include 2014-01-08 14:13:17 -07:00
Orion Poplawski ba5b114ec5 Update to 3.8.0 final 2013-12-28 23:02:10 -07:00
Orion Poplawski c1d8aeaac9 Drop old patches 2013-12-28 16:34:14 -07:00
Orion Poplawski c146c589df Add -nodeps to %octave_pkg_build macro 2013-12-28 16:33:27 -07:00
Orion Poplawski 1d2756f340 Rebase pkgbuilddir patch 2013-12-28 16:22:05 -07:00
Orion Poplawski 728dc359a5 Rebuild for hdf5 1.8.12 2013-12-27 15:58:35 -07:00
Susi Lehtola 3f64382f50 Update to 3.8.0-rc2. Disable JIT as it segfaults on ARM. 2013-12-24 01:22:16 +02:00
Orion Poplawski b3bb96f3e8 Add BR java-devel, llvm-devel 2013-12-07 10:20:08 -07:00
Orion Poplawski d3308c2639 Drop OctaveFaq 2013-12-07 08:40:24 -07:00
Orion Poplawski c882fe1a29 Add BR qscintilla-devel; drop tabs 2013-12-07 00:04:59 -07:00
Orion Poplawski 002415fbbc Bump octave_api; new location for version.h 2013-12-07 00:01:49 -07:00
Orion Poplawski 16790e8ae2 - Update to 3.8.0-rc1
- Drop patches
- Add BR gl2ps-devel
2013-12-06 23:56:57 -07:00
Nils Philippsen 2ec9c49158 rebuild (suitesparse) 2013-12-06 10:36:56 +01:00
Orion Poplawski af1c21dde0 Bump release 2013-10-03 16:44:02 -06:00
Orion Poplawski ce5a101def - Re-enable atlas on arm 2013-10-03 16:27:43 -06:00
Orion Poplawski 73d63f43e9 Add BR blas-devel, lapack-devel on arm 2013-09-25 22:00:26 -06:00
Orion Poplawski 93775a2aac Disable atlas on arm 2013-09-25 21:36:35 -06:00
Björn Esser 28ca6912c0 fix-up bogus dates 2013-09-23 13:01:34 +02:00
Orion Poplawski 75de6772a0 Handle new atlas library names - use threaded library 2013-09-21 22:25:09 -06:00
Orion Poplawski 12e522a899 Rebuild for atlas 3.10 2013-09-21 20:26:18 -06:00
Dan Horák e4a59759e5 - Rebuilt to resolve broken deps on s390(x) 2013-09-12 19:55:26 +02:00
Orion Poplawski 61a37b4192 Drop %defattr 2013-08-08 12:12:08 -06:00
Orion Poplawski 697f0921e3 Drop BR tetex, not needed 2013-08-08 12:11:09 -06:00
Orion Poplawski 1083a4ac1d Rebuild for glpk 4.52.1 2013-07-30 13:32:46 -06:00
Orion Poplawski 780d24ed1c Rebuild for hdf5 1.8.11 2013-05-16 12:33:15 -06:00
Jaromir Capik a897d03bd2 - aarch64 support (#926264) 2013-03-28 13:01:43 +01:00
Ralf Corsépius 4d988ce50d Remove %config from %{_sysconfdir}/rpm/macros.*
(https://fedorahosted.org/fpc/ticket/259).
2013-03-08 08:11:58 +01:00
Orion Poplawski 9b6b623cd9 Update to 3.6.4 final 2013-02-23 18:50:29 -07:00
Orion Poplawski 89d96cf4ca Fix name for desktop file 2013-02-12 11:20:44 -07:00
Orion Poplawski b52feb73ca Update to 3.6.4-rc2 2013-02-12 09:50:56 -07:00
Orion Poplawski 5a531d84fb Drop vendor from desktop file 2013-02-12 09:35:22 -07:00
Kevin Fenzi 57fe3b2a73 Rebuild for broken deps in rawhide 2013-02-03 13:02:00 -07:00
Orion Poplawski bd1ae277fe Update to 3.6.4-rc1
Drop gets patch
2013-01-05 07:59:21 -07:00
Orion Poplawski 77aff487ff Add patch to ignore deps when building packages for now (bug 733615) 2012-12-21 21:11:43 -07:00
Orion Poplawski 61b8aad6dc Restore gets patch
Rebuild for hdf5 1.8.10
2012-12-05 10:50:22 -07:00
Orion Poplawski 71fb6f0e2d Update to 3.6.4-rc0
Drop sparse patch applied upstream
2012-10-17 22:17:12 -06:00
Orion Poplawski a33f0eddc8 Add upstream patch to fix sparse matrix test crash 2012-09-06 11:46:59 -06:00
Orion Poplawski c7cdff71c3 Update to 3.6.3
- Drop gets patch fixed upstream
2012-09-05 16:53:55 -06:00
Dennis Gilmore e2087521e0 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild 2012-07-20 01:18:47 -05:00
Jussi Lehtola 7c56677293 Build against OpenGL libraries. 2012-07-05 05:45:31 +03:00
Orion Poplawski 4723bbe907 Update to 3.6.2 final 2012-06-04 14:36:23 -06:00
Orion Poplawski 07d25f45de Update to 3.6.2-rc2
Add patch to update gnulib to handle gets removal
2012-05-24 20:55:12 -06:00
Orion Poplawski 862a4ce761 Rebuild with hdf5 1.8.9 2012-05-15 15:56:23 -06:00
Orion Poplawski 5a4de1ebda Add Provides bundled(gnulib) (bug 821781) 2012-05-15 11:43:28 -06:00
Orion Poplawski 032ca8c25d Add macros for handling release candidates 2012-05-14 11:11:55 -06:00
Orion Poplawski 30ccb76841 Update to 3.6.2-rc0. 2012-05-12 20:43:13 -06:00
Dennis Gilmore 13e9b5a14d - Rebuilt for c++ ABI breakage 2012-02-28 13:24:47 -06:00
Orion Poplawski f4a1a1c2b6 Update to 3.6.1. 2012-02-22 20:16:26 -07:00
Orion Poplawski b03c7174c6 Rebuild with pcre 8.30 2012-02-09 16:36:40 -07:00
Jussi Lehtola 1ef7abfa87 Disable SMP build. 2012-01-16 10:27:45 +02:00
Jussi Lehtola caa77f94c5 Update to 3.6.0. 2012-01-16 10:12:46 +02:00
Jussi Lehtola 342625de91 Update to 3.6.0. 2012-01-16 10:09:26 +02:00
Dennis Gilmore 74d838797a - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild 2012-01-13 05:27:21 -06:00
Jussi Lehtola 834892e5b5 Get rid of spurious } in octave_api macro. 2011-12-16 01:42:54 +02:00
Orion Poplawski 1e0f3d98c0 Rebuild for hdf5 1.8.8 2011-11-18 14:44:20 -07:00
9 changed files with 1493 additions and 168 deletions

29
.gitignore vendored
View File

@ -3,3 +3,32 @@ octave-3.2.4.tar.bz2
/octave-3.4.0.tar.bz2
/octave-3.4.2.tar.bz2
/octave-3.4.3.tar.bz2
/octave-3.6.0.tar.bz2
/octave-3.6.1.tar.bz2
/octave-3.6.2-rc0.tar.bz2
/octave-3.6.2-rc2.tar.bz2
/octave-3.6.2.tar.bz2
/octave-3.6.3.tar.bz2
/octave-3.6.4-rc0.tar.bz2
/octave-3.6.4-rc1.tar.gz
/octave-3.6.4-rc2.tar.gz
/octave-3.6.4.tar.bz2
/octave-3.8.0-rc1.tar.gz
/octave-3.8.0-rc2.tar.gz
/octave-3.8.0.tar.bz2
/octave-3.8.1.tar.bz2
/octave-3.8.2-rc1.tar.gz
/octave-3.8.2-rc2.tar.gz
/octave-3.8.2.tar.bz2
/octave-4.0.0.tar.xz
/octave-4.0.1.tar.xz
/octave-4.0.2.tar.xz
/octave-4.0.3.tar.xz
/octave-4.2.0-rc1.tar.xz
/octave-4.2.0.tar.lz
/octave-4.2.1.tar.lz
/octave-4.2.2.tar.lz
/octave-4.4.1.tar.lz
/octave-4.4.1-docs.tar.gz
/octave-5.1.0.tar.lz
/octave-5.1.0-docs.tar.lz

View File

@ -1,7 +1,7 @@
# Octave packaging macros
# Octave binary API provided
%octave_api %(octave-config -p API_VERSION || echo 0)}
%octave_api %(octave-config -p API_VERSION || echo 0)
# Octave Package Directories
%octshareprefix %{_datadir}/octave
@ -11,18 +11,39 @@
%octpkglibdir %{octarchprefix}/%{octpkg}-%{version}
# Run an octave command - quietly with no startup files
%octave_cmd() octave -H -q --no-site-file --eval "%*";
%octave_cmd() octave -H -q --no-window-system --no-site-file --eval '%*';
# Build Source0 into a package tar file in a temporary location
%octave_pkg_build %octave_cmd pkg build '-verbose' %{_tmppath}/%{name}-%{version}-%{release}.%{_arch} %{_builddir}/%{buildsubdir}
# For compiled tarfile name
%octave_host %(octave-config -p CANONICAL_HOST_TYPE || echo 0)
# Build unpacked source directory into a package tar file in a temporary location
# Pass -T to use source tarball
%octave_pkg_build(T) %{lua:
if (rpm.expand("%{-T}") == "-T") then
octpkg_tarfile = rpm.expand("%{SOURCE0}")
else
octpkg_tarfile = rpm .expand("%{_tmppath}/%{octpkg}-%{version}.tar.gz")
print("tar czf "..octpkg_tarfile.." -C "..rpm.expand("%{_builddir} %{buildsubdir}").."\\n")
end
-- Avoid a warning from pkg build about making the build directory
-- and use a clean directory as octave pkg build will delete contents
print(rpm.expand("mkdir -p %{_builddir}/%{buildsubdir}/build\\n"))
-- This fails to keep the arguments to %octave_cmd for some reason
-- print(rpm.expand("%octave_cmd pkg build -verbose -nodeps %{_builddir}/%{buildsubdir} "..octpkg_tarfile).."\\n")
print(rpm.expand("octave -H -q --no-window-system --no-site-file --eval 'pkg build -verbose -nodeps %{_builddir}/%{buildsubdir}/build "..octpkg_tarfile).."'\\n")
-- Extract the source tarball for debuginfo generation
print(rpm.expand("tar xf "..octpkg_tarfile.." -C %{_builddir}/%{buildsubdir}/build\\n"))
}
# Install a package. We use the octave pkg install command to install the
# built package into the buildroot. We also put a note to prevent the root
# user from removing the package with the octave pkg uninstall command
# We call unlink to remove the 'octave_packages' file which contains the
# buildroot string and needs to be generated at package install time.
%octave_pkg_install \
mkdir -p %{buildroot}/%{octprefix} \
mkdir -p %{buildroot}/%{octarchprefix} \
%octave_cmd warning('off','all');pkg('prefix','%{buildroot}/%{octprefix}','%{buildroot}/%{octarchprefix}');pkg('global_list',fullfile('%{buildroot}/%{octshareprefix}','octave_packages'));pkg('local_list',fullfile('%{buildroot}/%{octshareprefix}','octave_packages'));pkg('install','-nodeps','-verbose','%{_tmppath}/%{name}-%{version}-%{release}.%{_arch}/%{octpkg}-%{version}.tar.gz');unlink(pkg('local_list'));unlink(pkg('global_list')); \
mkdir -p %{buildroot}%{octprefix} \
mkdir -p %{buildroot}%{octarchprefix} \
%octave_cmd pkg("prefix","%{buildroot}%{octprefix}","%{buildroot}%{octarchprefix}");pkg("global_list",fullfile("%{buildroot}%{octshareprefix}","octave_packages"));pkg("local_list",fullfile("%{buildroot}%{octshareprefix}","octave_packages"));pkg("install","-nodeps","-verbose",glob("%{_builddir}/%{buildsubdir}/build/%{octpkg}-%{version}-*.tar.gz"){1,1});unlink(pkg("local_list"));unlink(pkg("global_list")); \
if [ -e %{buildroot}%{octpkgdir}/packinfo/on_uninstall.m ] \
then \
mv %{buildroot}%{octpkgdir}/packinfo/on_uninstall.m %{buildroot}%{octpkgdir}/packinfo/on_uninstall.m.orig \
@ -30,15 +51,33 @@ fi \
echo "function on_uninstall (desc)" > %{buildroot}%{octpkgdir}/packinfo/on_uninstall.m \
echo " error ('Can not uninstall %s installed by the redhat package manager', desc.name);" >> %{buildroot}%{octpkgdir}/packinfo/on_uninstall.m \
echo "endfunction" >> %{buildroot}%{octpkgdir}/packinfo/on_uninstall.m \
if [ -e %{_builddir}/%{buildsubdir}/build/%{octpkg}-%{version}/*.metainfo.xml ] \
then \
echo "Found .metainfo.xml appdata file" \
mkdir -p %{buildroot}/%{_metainfodir} \
cp -p %{_builddir}/%{buildsubdir}/build/%{octpkg}-%{version}/*.metainfo.xml %{buildroot}/%{_metainfodir}/ \
appstream-util validate-relax --nonet %{buildroot}/%{_metainfodir}/*.metainfo.xml \
else \
echo "Did not find a .metainfo.xml appdata file" \
fi \
%{nil}
# Run pkg tests - We need to reinstall to recreate 'octave_packages' so that
# octave can find the package, then remove 'octave_packages' again, and re-strip
# any shared objects.
%octave_pkg_check \
%octave_cmd pkg("prefix","%{buildroot}%{octprefix}","%{buildroot}%{octarchprefix}");pkg("local_list",fullfile("%{buildroot}%{octshareprefix}","octave_packages"));pkg("list");pkg("install","-verbose",glob("%{_builddir}/%{buildsubdir}/build/%{octpkg}-%{version}-*.tar.gz"){1,1});pkg("load","%{octpkg}");pkg("list");runtests("%{buildroot}%{octpkgdir}");unlink(pkg("local_list")); \
/usr/lib/rpm/brp-strip-shared %{__strip} \
%{nil}
# preun script - we need to remove our uninstall protection and perhaps
# run the package's own uninstall script.
%octave_pkg_preun \
rm %{octpkgdir}/packinfo/on_uninstall.m \
if [ -e %{octpkgdir}/packinfo/on_uninstall.m.orig ]; then \
mv %{octpkgdir}/packinfo/on_uninstall.m.orig %{octpkgdir}/packinfo/on_uninstall.m \
cd %{octpkgdir}/packinfo \
%octave_cmd l=pkg('list');on_uninstall(l{cellfun(@(x)strcmp(x.name,'%{octpkg}'),l)}); \
%octave_cmd l=pkg("list");on_uninstall(l{cellfun(@(x)strcmp(x.name,"%{octpkg}"),l)}); \
else \
echo > %{octpkgdir}/packinfo/on_uninstall.m \
fi \
%{nil}

View File

@ -1,41 +0,0 @@
--- octave-3.4.0/scripts/pkg/pkg.m.pkgbuilddir 2011-02-08 03:00:51.000000000 -0700
+++ octave-3.4.0/scripts/pkg/pkg.m 2011-03-18 09:31:24.670165643 -0600
@@ -644,7 +644,14 @@
for i = 1:length (files)
tgz = files{i};
- if (exist (tgz, "file"))
+ ## The filename pointed to an uncompressed package to begin with.
+ if (exist (tgz, "dir"))
+ if (tgz(1) == '/')
+ packdir = tgz;
+ else
+ packdir = fullfile (pwd(), tgz);
+ endif
+ elseif (exist (tgz, "file"))
## Create a temporary directory.
tmpdir = tmpnam ();
tmpdirs{end+1} = tmpdir;
@@ -671,20 +678,12 @@
if (length (dirlist) > 3)
error ("bundles of packages are not allowed");
endif
- endif
- ## The filename pointed to an uncompressed package to begin with.
- if (exist (tgz, "dir"))
- dirlist = {".", "..", tgz};
+ ## The two first entries of dirlist are "." and "..".
+ packdir = fullfile (tmpdir, dirlist{3});
endif
if (exist (tgz, "file") || exist (tgz, "dir"))
- ## The two first entries of dirlist are "." and "..".
- if (exist (tgz, "file"))
- packdir = fullfile (tmpdir, dirlist{3});
- else
- packdir = fullfile (pwd(), dirlist{3});
- endif
packdirs{end+1} = packdir;
## Make sure the package contains necessary files.

12
octave-crash.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up octave-4.4.1/libinterp/corefcn/input.cc.crash octave-4.4.1/libinterp/corefcn/input.cc
--- octave-4.4.1/libinterp/corefcn/input.cc.crash 2018-11-11 17:27:39.588037444 -0700
+++ octave-4.4.1/libinterp/corefcn/input.cc 2018-11-11 17:30:42.344208272 -0700
@@ -255,7 +255,7 @@ namespace octave
octave_diary << retval;
- if (retval.back () != '\n')
+ if (!retval.empty () && retval.back () != '\n')
octave_diary << "\n";
}
else

28
octave-eof.patch Normal file
View File

@ -0,0 +1,28 @@
# HG changeset patch
# User Mike Miller <mtmiller@octave.org>
# Date 1554238576 25200
# Node ID c3716220d5b93c49e1c7cc8ebe0b76dd961f4ec7
# Parent fc73dafece570f201c18a4eb4a8729a654cfcfbb
fix pause and kbhit with glibc 2.28 end-of-file state behavior (bug #55029)
* sysdep.cc (octave::kbhit): Call "clearerr (stdin)" on end-of-file condition
in addition to "std::cin.clear ()". In glibc 2.28, end-of-file is persistent
and must be cleared by the application.
diff --git a/libinterp/corefcn/sysdep.cc b/libinterp/corefcn/sysdep.cc
--- a/libinterp/corefcn/sysdep.cc
+++ b/libinterp/corefcn/sysdep.cc
@@ -566,7 +566,10 @@
int c = std::cin.get ();
if (std::cin.fail () || std::cin.eof ())
- std::cin.clear ();
+ {
+ std::cin.clear ();
+ clearerr (stdin);
+ }
// Restore it, enabling system call restarts (if possible).
octave::set_interrupt_handler (saved_interrupt_handler, true);

504
octave-sundials3.patch Normal file
View File

@ -0,0 +1,504 @@
diff -up octave-5.0.91/configure.ac.sundials3 octave-5.0.91/configure.ac
--- octave-5.0.91/configure.ac.sundials3 2019-02-04 10:50:20.000000000 -0700
+++ octave-5.0.91/configure.ac 2019-02-05 22:05:44.096260529 -0700
@@ -2220,15 +2220,15 @@ OCTAVE_CHECK_LIB(sundials_ida, [SUNDIALS
[], [don't use SUNDIALS IDA library, solvers ode15i and ode15s will be disabled],
[warn_sundials_ida=
OCTAVE_CHECK_SUNDIALS_SIZEOF_REALTYPE
- OCTAVE_CHECK_SUNDIALS_IDA_DENSE
- OCTAVE_CHECK_SUNDIALS_IDAKLU])
+ OCTAVE_CHECK_SUNDIALS_SUNLINSOL_DENSE
+ OCTAVE_CHECK_SUNDIALS_SUNLINSOL_KLU])
LIBS="$save_LIBS"
dnl Define this way instead of with an #if in oct-conf-post.h so that
dnl the build features script will get the correct value.
if test -n "$SUNDIALS_IDA_LIBS" \
&& test -n "$SUNDIALS_NVECSERIAL_LIBS" \
- && test $octave_cv_sundials_ida_dense = yes \
+ && test $octave_cv_sundials_sunlinsol_dense = yes \
&& test $octave_cv_sundials_realtype_is_double = yes; then
AC_DEFINE(HAVE_SUNDIALS, 1, [Define to 1 if SUNDIALS is available.])
fi
diff -up octave-5.0.91/libinterp/dldfcn/__ode15__.cc.sundials3 octave-5.0.91/libinterp/dldfcn/__ode15__.cc
--- octave-5.0.91/libinterp/dldfcn/__ode15__.cc.sundials3 2019-02-04 10:50:20.000000000 -0700
+++ octave-5.0.91/libinterp/dldfcn/__ode15__.cc 2019-02-05 22:06:48.074012827 -0700
@@ -1,6 +1,7 @@
/*
Copyright (C) 2016-2019 Francesco Faccio <francesco.faccio@mail.polimi.it>
+Copyright (C) 2018 William Greene <w.h.greene@gmail.com>
This file is part of Octave.
@@ -44,15 +45,34 @@ along with Octave; see the file COPYING.
# include <ida/ida.h>
# endif
-# if defined (HAVE_IDA_IDA_DENSE_H)
-# include <ida/ida_dense.h>
+# if defined (HAVE_SUNDIALS_SUNDIALS_MATRIX_H)
+# include <sundials/sundials_matrix.h>
# endif
-# if defined (HAVE_IDA_IDA_KLU_H)
-# include <ida/ida_klu.h>
+# if defined (HAVE_SUNDIALS_SUNDIALS_LINEARSOLVER_H)
+# include <sundials/sundials_linearsolver.h>
+# endif
+
+# if defined (HAVE_SUNLINSOL_SUNLINSOL_DENSE_H)
+# include <sunlinsol/sunlinsol_dense.h>
+# endif
+
+# if defined (HAVE_IDA_IDA_DIRECT_H)
+# include <ida/ida_direct.h>
+# endif
+
+# if defined (HAVE_SUNDIALS_SUNDIALS_SPARSE_H)
# include <sundials/sundials_sparse.h>
# endif
+# if defined (HAVE_SUNLINSOL_SUNLINSOL_KLU_H)
+# include <sunlinsol/sunlinsol_klu.h>
+# endif
+
+# if defined (HAVE_SUNMATRIX_SUNMATRIX_SPARSE_H)
+# include <sunmatrix/sunmatrix_sparse.h>
+# endif
+
# if defined (HAVE_NVECTOR_NVECTOR_SERIAL_H)
# include <nvector/nvector_serial.h>
# endif
@@ -112,7 +132,8 @@ namespace octave
havejacsparse (false), mem (nullptr), num (), ida_fun (nullptr),
ida_jac (nullptr), dfdy (nullptr), dfdyp (nullptr), spdfdy (nullptr),
spdfdyp (nullptr), fun (nullptr), jacfun (nullptr), jacspfun (nullptr),
- jacdcell (nullptr), jacspcell (nullptr)
+ jacdcell (nullptr), jacspcell (nullptr),
+ sunJacMatrix (nullptr), sunLinearSolver (nullptr)
{ }
@@ -122,11 +143,17 @@ namespace octave
havejacsparse (false), mem (nullptr), num (), ida_fun (ida_fcn),
ida_jac (nullptr), dfdy (nullptr), dfdyp (nullptr), spdfdy (nullptr),
spdfdyp (nullptr), fun (daefun), jacfun (nullptr), jacspfun (nullptr),
- jacdcell (nullptr), jacspcell (nullptr)
+ jacdcell (nullptr), jacspcell (nullptr),
+ sunJacMatrix (nullptr), sunLinearSolver (nullptr)
{ }
- ~IDA (void) { IDAFree (&mem); }
+ ~IDA (void)
+ {
+ IDAFree (&mem);
+ SUNLinSolFree(sunLinearSolver);
+ SUNMatDestroy(sunJacMatrix);
+ }
IDA&
set_jacobian (octave_function *jac, DAEJacFuncDense j)
@@ -184,7 +211,7 @@ namespace octave
static N_Vector ColToNVec (const ColumnVector& data, long int n);
void
- set_up (void);
+ set_up (const ColumnVector& y);
void
set_tolerance (ColumnVector& abstol, realtype reltol);
@@ -199,25 +226,24 @@ namespace octave
void
resfun_impl (realtype t, N_Vector& yy,
N_Vector& yyp, N_Vector& rr);
-
static int
- jacdense (long int Neq, realtype t, realtype cj, N_Vector yy,
- N_Vector yyp, N_Vector, DlsMat JJ, void *user_data,
+ jacdense (realtype t, realtype cj, N_Vector yy,
+ N_Vector yyp, N_Vector, SUNMatrix JJ, void *user_data,
N_Vector, N_Vector, N_Vector)
{
IDA *self = static_cast <IDA *> (user_data);
- self->jacdense_impl (Neq, t, cj, yy, yyp, JJ);
+ self->jacdense_impl (t, cj, yy, yyp, JJ);
return 0;
}
void
- jacdense_impl (long int Neq, realtype t, realtype cj,
- N_Vector& yy, N_Vector& yyp, DlsMat& JJ);
+ jacdense_impl (realtype t, realtype cj,
+ N_Vector& yy, N_Vector& yyp, SUNMatrix& JJ);
-# if defined (HAVE_SUNDIALS_IDAKLU)
+# if defined (HAVE_SUNDIALS_SUNLINSOL_KLU)
static int
jacsparse (realtype t, realtype cj, N_Vector yy, N_Vector yyp,
- N_Vector, SlsMat Jac, void *user_data, N_Vector,
+ N_Vector, SUNMatrix Jac, void *user_data, N_Vector,
N_Vector, N_Vector)
{
IDA *self = static_cast <IDA *> (user_data);
@@ -227,7 +253,7 @@ namespace octave
void
jacsparse_impl (realtype t, realtype cj, N_Vector& yy,
- N_Vector& yyp, SlsMat& Jac);
+ N_Vector& yyp, SUNMatrix& Jac);
#endif
void set_maxstep (realtype maxstep);
@@ -291,6 +317,8 @@ namespace octave
DAEJacFuncSparse jacspfun;
DAEJacCellDense jacdcell;
DAEJacCellSparse jacspcell;
+ SUNMatrix sunJacMatrix;
+ SUNLinearSolver sunLinearSolver;
};
int
@@ -323,36 +351,61 @@ namespace octave
}
void
- IDA::set_up (void)
+ IDA::set_up (const ColumnVector& y)
{
+ N_Vector yy = ColToNVec(y, num);
+
if (havejacsparse)
{
-# if defined (HAVE_SUNDIALS_IDAKLU)
- if (IDAKLU (mem, num, num*num, CSC_MAT) != 0)
- error ("IDAKLU solver not initialized");
+#if defined (HAVE_SUNDIALS_SUNLINSOL_KLU)
+
+ sunJacMatrix = SUNSparseMatrix (num, num, num*num, CSC_MAT);
+ if (! sunJacMatrix)
+ error ("Unable to create sparse Jacobian for Sundials");
+
+ sunLinearSolver = SUNKLU (yy, sunJacMatrix);
+ if (! sunLinearSolver)
+ error ("Unable to create KLU sparse solver");
+
+ if (IDADlsSetLinearSolver (mem, sunLinearSolver, sunJacMatrix))
+ error ("Unable to set sparse linear solver");
+
+ IDADlsSetJacFn(mem, IDA::jacsparse);
- IDASlsSetSparseJacFn (mem, IDA::jacsparse);
# else
- error ("IDAKLU is not available in this version of Octave");
+ error ("SUNDIALS SUNLINSOL KLU is not available in this version of Octave");
# endif
+
}
else
{
- if (IDADense (mem, num) != 0)
- error ("IDADense solver not initialized");
- if (havejac && IDADlsSetDenseJacFn (mem, IDA::jacdense) != 0)
- error ("Dense Jacobian not set");
+ sunJacMatrix = SUNDenseMatrix (num, num);
+ if (! sunJacMatrix)
+ error ("Unable to create dense Jacobian for Sundials");
+
+ sunLinearSolver = SUNDenseLinearSolver(yy, sunJacMatrix);
+ if (! sunLinearSolver)
+ error ("Unable to create dense linear solver");
+
+ if (IDADlsSetLinearSolver (mem, sunLinearSolver, sunJacMatrix))
+ error ("Unable to set dense linear solver");
+
+ if (havejac && IDADlsSetJacFn (mem, IDA::jacdense) != 0)
+ error("Unable to set dense Jacobian function");
+
}
}
void
- IDA::jacdense_impl (long int Neq, realtype t, realtype cj,
- N_Vector& yy, N_Vector& yyp, DlsMat& JJ)
+ IDA::jacdense_impl (realtype t, realtype cj,
+ N_Vector& yy, N_Vector& yyp, SUNMatrix& JJ)
{
BEGIN_INTERRUPT_WITH_EXCEPTIONS;
+ long int Neq = NV_LENGTH_S(yy);
+
ColumnVector y = NVecToCol (yy, Neq);
ColumnVector yp = NVecToCol (yyp, Neq);
@@ -366,15 +419,15 @@ namespace octave
std::copy (jac.fortran_vec (),
jac.fortran_vec () + jac.numel (),
- JJ->data);
+ SUNDenseMatrix_Data(JJ));
END_INTERRUPT_WITH_EXCEPTIONS;
}
-# if defined (HAVE_SUNDIALS_IDAKLU)
+# if defined (HAVE_SUNDIALS_SUNLINSOL_KLU)
void
IDA::jacsparse_impl (realtype t, realtype cj, N_Vector& yy, N_Vector& yyp,
- SlsMat& Jac)
+ SUNMatrix& Jac)
{
BEGIN_INTERRUPT_WITH_EXCEPTIONS;
@@ -390,17 +443,18 @@ namespace octave
else
jac = (*jacspcell) (spdfdy, spdfdyp, cj);
- SparseSetMatToZero (Jac);
- int *colptrs = *(Jac->colptrs);
- int *rowvals = *(Jac->rowvals);
+ SUNMatZero_Sparse (Jac);
+ sunindextype *colptrs = SUNSparseMatrix_IndexPointers (Jac);
+ sunindextype *rowvals = SUNSparseMatrix_IndexValues (Jac);
for (int i = 0; i < num + 1; i++)
colptrs[i] = jac.cidx(i);
+ double *d = SUNSparseMatrix_Data (Jac);
for (int i = 0; i < jac.nnz (); i++)
{
rowvals[i] = jac.ridx(i);
- Jac->data[i] = jac.data(i);
+ d[i] = jac.data(i);
}
END_INTERRUPT_WITH_EXCEPTIONS;
@@ -567,7 +621,7 @@ namespace octave
//main loop
while (((posdirection == 1 && tsol < tend)
- || (posdirection == 0 && tsol > tend))
+ || (posdirection == 0 && tsol > tend))
&& status == 0)
{
if (IDASolve (mem, tend, &tsol, yy, yyp, IDA_ONE_STEP) != 0)
@@ -692,7 +746,7 @@ namespace octave
// Linear interpolation
ie(0) = index(0);
te(0) = tsol - val (index(0)) * (tsol - told)
- / (val (index(0)) - oldval (index(0)));
+ / (val (index(0)) - oldval (index(0)));
ColumnVector ytemp
= y - ((tsol - te(0)) * (y - yold) / (tsol - told));
@@ -717,7 +771,7 @@ namespace octave
// Linear interpolation
ie(temp+i) = index(i);
te(temp+i) = tsol - val(index(i)) * (tsol - told)
- / (val(index(i)) - oldval(index(i)));
+ / (val(index(i)) - oldval(index(i)));
ColumnVector ytemp
= y - (tsol - te (temp + i)) * (y - yold) / (tsol - told);
@@ -1096,7 +1150,7 @@ namespace octave
event_fcn = options.getfield("Events").function_value ();
// Set up linear solver
- dae.set_up ();
+ dae.set_up (y0);
// Integrate
retval = dae.integrate (numt, tspan, y0, yp0, refine,
diff -up octave-5.0.91/m4/acinclude.m4.sundials3 octave-5.0.91/m4/acinclude.m4
--- octave-5.0.91/m4/acinclude.m4.sundials3 2019-02-04 10:50:20.000000000 -0700
+++ octave-5.0.91/m4/acinclude.m4 2019-02-05 22:05:44.100260576 -0700
@@ -2210,14 +2210,11 @@ dnl Check whether SUNDIALS IDA library i
dnl precision realtype.
dnl
AC_DEFUN([OCTAVE_CHECK_SUNDIALS_SIZEOF_REALTYPE], [
- AC_CHECK_HEADERS([ida/ida.h ida.h])
AC_CACHE_CHECK([whether SUNDIALS IDA is configured with double precision realtype],
[octave_cv_sundials_realtype_is_double],
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#if defined (HAVE_IDA_IDA_H)
#include <ida/ida.h>
- #else
- #include <ida.h>
#endif
#include <assert.h>
]], [[
@@ -2233,61 +2230,72 @@ AC_DEFUN([OCTAVE_CHECK_SUNDIALS_SIZEOF_R
fi
])
dnl
-dnl Check whether SUNDIALS IDA library is configured with IDAKLU
+dnl Check whether SUNDIALS IDA library is configured with SUNLINSOL_KLU
dnl enabled.
dnl
-AC_DEFUN([OCTAVE_CHECK_SUNDIALS_IDAKLU], [
- AC_CHECK_HEADERS([ida/ida_klu.h ida_klu.h])
- AC_CACHE_CHECK([whether SUNDIALS IDA is configured with IDAKLU enabled],
- [octave_cv_sundials_idaklu],
+AC_DEFUN([OCTAVE_CHECK_SUNDIALS_SUNLINSOL_KLU], [
+ AC_CHECK_HEADERS([sundials/sundials_sparse.h sunlinsol/sunlinsol_klu.h sunmatrix/sunmatrix_sparse.h])
+ AC_CACHE_CHECK([whether SUNDIALS IDA is configured with SUNLINSOL_KLU enabled],
+ [octave_cv_sundials_sunlinsol_klu],
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
- #if defined (HAVE_IDA_IDA_KLU_H)
- #include <ida/ida_klu.h>
- #else
- #include <ida_klu.h>
+ #if defined (HAVE_IDA_IDA_H)
+ #include <ida/ida.h>
+ #endif
+ #if defined (HAVE_SUNDIALS_SUNDIALS_SPARSE_H)
+ #include <sundials/sundials_sparse.h>
+ #endif
+ #if defined (HAVE_SUNLINSOL_SUNLINSOL_KLU_H)
+ #include <sunlinsol/sunlinsol_klu.h>
#endif
]], [[
- IDAKLU (0, 0, 0, 0);
+ SUNKLU (0, 0);
]])],
- octave_cv_sundials_idaklu=yes,
- octave_cv_sundials_idaklu=no)
+ octave_cv_sundials_sunlinsol_klu=yes,
+ octave_cv_sundials_sunlinsol_klu=no)
])
- if test $octave_cv_sundials_idaklu = yes; then
- AC_DEFINE(HAVE_SUNDIALS_IDAKLU, 1,
- [Define to 1 if SUNDIALS IDA is configured with IDAKLU enabled.])
+ if test $octave_cv_sundials_sunlinsol_klu = yes; then
+ AC_DEFINE(HAVE_SUNDIALS_SUNLINSOL_KLU, 1,
+ [Define to 1 if SUNDIALS IDA is configured with SUNLINSOL_KLU enabled.])
else
- warn_sundials_idaklu="SUNDIALS IDA library not configured with IDAKLU, ode15i and ode15s will not support the sparse Jacobian feature"
- OCTAVE_CONFIGURE_WARNING([warn_sundials_idaklu])
+ warn_sundials_idaklu="SUNDIALS IDA library not configured with SUNLINSOL_KLU, ode15i and ode15s will not support the sparse Jacobian feature"
+ OCTAVE_CONFIGURE_WARNING([warn_sundials_sunlinsol_klu])
fi
])
dnl
-dnl Check whether SUNDIALS IDA library has the IDADENSE linear solver.
+dnl Check whether SUNDIALS IDA library has the SUNLINSOL_DENSE linear solver.
dnl The IDADENSE API was removed in SUNDIALS version 3.0.0.
dnl
-AC_DEFUN([OCTAVE_CHECK_SUNDIALS_IDA_DENSE], [
- AC_CHECK_HEADERS([ida/ida_dense.h ida_dense.h])
- AC_CACHE_CHECK([whether SUNDIALS IDA includes the IDADENSE linear solver],
- [octave_cv_sundials_ida_dense],
+AC_DEFUN([OCTAVE_CHECK_SUNDIALS_SUNLINSOL_DENSE], [
+ AC_CHECK_HEADERS([sunlinsol/sunlinsol_dense.h sundials/sundials_matrix.h sundials/sundials_linearsolver.h ida/ida_direct.h])
+ AC_CACHE_CHECK([whether SUNDIALS IDA includes the SUNLINSOL_DENSE linear solver],
+ [octave_cv_sundials_sunlinsol_dense],
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
- #if defined (HAVE_IDA_IDA_DENSE_H)
- #include <ida/ida_dense.h>
- #else
- #include <ida_dense.h>
+ #if defined (HAVE_IDA_IDA_H)
+ #include <ida/ida.h>
+ #endif
+ #if defined (HAVE_SUNDIALS_SUNDIALS_MATRIX_H)
+ #include <sundials/sundials_matrix.h>
+ #endif
+ #if defined (HAVE_SUNDIALS_SUNDIALS_LINEARSOLVER_H)
+ #include <sundials/sundials_linearsolver.h>
#endif
+ #if defined (HAVE_IDA_IDA_DIRECT_H)
+ #include <ida/ida_direct.h>
+ #endif
]], [[
void *mem = 0;
long int num = 0;
IDADense (mem, num);
]])],
- octave_cv_sundials_ida_dense=yes,
- octave_cv_sundials_ida_dense=no)
+ octave_cv_sundials_sunlinsol_dense=yes,
+ octave_cv_sundials_sunlinsol_dense=no)
])
- if test $octave_cv_sundials_ida_dense = yes; then
- AC_DEFINE(HAVE_SUNDIALS_IDADENSE, 1,
- [Define to 1 if SUNDIALS IDA includes the IDADENSE linear solver.])
+ if test $octave_cv_sundials_sunlinsol_dense = yes; then
+ AC_DEFINE(HAVE_SUNDIALS_SUNLINSOL_DENSE, 1,
+ [Define to 1 if SUNDIALS IDA includes the SUNLINSOL_DENSE linear solver.])
else
- warn_sundials_ida_dense="SUNDIALS IDA library does not include the IDADENSE linear solver, ode15i and ode15s will be disabled"
- OCTAVE_CONFIGURE_WARNING([warn_sundials_ida_dense])
+ warn_sundials_ida_dense="SUNDIALS IDA library does not include the SUNLINSOL_DENSE linear solver, ode15i and ode15s will be disabled"
+ OCTAVE_CONFIGURE_WARNING([warn_sundials_sunlinsol_dense])
fi
])
dnl
diff -up octave-5.0.91/scripts/ode/ode15i.m.sundials3 octave-5.0.91/scripts/ode/ode15i.m
--- octave-5.0.91/scripts/ode/ode15i.m.sundials3 2019-02-04 10:50:20.000000000 -0700
+++ octave-5.0.91/scripts/ode/ode15i.m 2019-02-05 22:05:44.101260588 -0700
@@ -452,7 +452,7 @@ endfunction
%! assert ([t(end), y(end,:)], fref, 1e-3);
## Jacobian fun sparse
-%!testif HAVE_SUNDIALS_IDAKLU
+%!testif HAVE_SUNDIALS_SUNLINSOL_KLU
%! opt = odeset ("Jacobian", @jacfunsparse, "AbsTol", 1e-7, "RelTol", 1e-7);
%! [t, y] = ode15i (@rob, [0, 100], [1; 0; 0], [-1e-4; 1e-4; 0], opt);
%! assert ([t(end), y(end,:)], fref, 1e-3);
@@ -545,7 +545,7 @@ endfunction
%! "invalid value assigned to field 'Jacobian'");
## Jacobian cell sparse wrong dimension
-%!testif HAVE_SUNDIALS_IDAKLU
+%!testif HAVE_SUNDIALS_SUNLINSOL_KLU
%! DFDY = sparse ([-0.04, 1;
%! 0.04, 1]);
%! DFDYP = sparse ([-1, 0, 0;
diff -up octave-5.0.91/scripts/ode/ode15s.m.sundials3 octave-5.0.91/scripts/ode/ode15s.m
--- octave-5.0.91/scripts/ode/ode15s.m.sundials3 2019-02-04 10:50:20.000000000 -0700
+++ octave-5.0.91/scripts/ode/ode15s.m 2019-02-05 22:05:44.102260599 -0700
@@ -545,21 +545,21 @@ endfunction
%! [t, y] = ode15s (@rob, [0, 100], [1; 0; 0], opt);
%! assert ([t(end), y(end,:)], frefrob, 1e-3);
-%!testif HAVE_SUNDIALS_IDAKLU
+%!testif HAVE_SUNDIALS_SUNLINSOL_KLU
%! opt = odeset ("MStateDependence", "none",
%! "Mass", [1, 0, 0; 0, 1, 0; 0, 0, 0],
%! "Jacobian", @jacfunsparse);
%! [t, y] = ode15s (@rob, [0, 100], [1; 0; 0], opt);
%! assert ([t(end), y(end,:)], frefrob, 1e-3);
-%!testif HAVE_SUNDIALS_IDAKLU
+%!testif HAVE_SUNDIALS_SUNLINSOL_KLU
%! opt = odeset ("MStateDependence", "none",
%! "Mass", sparse ([1, 0, 0; 0, 1, 0; 0, 0, 0]),
%! "Jacobian", @jacfunsparse);
%! [t, y] = ode15s (@rob, [0, 100], [1; 0; 0], opt);
%! assert ([t(end), y(end,:)], frefrob, 1e-3);
-%!testif HAVE_SUNDIALS_IDAKLU
+%!testif HAVE_SUNDIALS_SUNLINSOL_KLU
%! warning ("off", "ode15s:mass_state_dependent_provided", "local");
%! opt = odeset ("MStateDependence", "none",
%! "Mass", @massdensefunstate,
@@ -575,14 +575,14 @@ endfunction
%! [t, y] = ode15s (@rob, [0, 100], [1; 0; 0], opt);
%! assert ([t(end), y(end,:)], frefrob, 1e-3);
-%!testif HAVE_SUNDIALS_IDAKLU
+%!testif HAVE_SUNDIALS_SUNLINSOL_KLU
%! opt = odeset ("MStateDependence", "none",
%! "Mass", @massdensefuntime,
%! "Jacobian", @jacfunsparse);
%! [t, y] = ode15s (@rob, [0, 100], [1; 0; 0], opt);
%! assert ([t(end), y(end,:)], frefrob, 1e-3);
-%!testif HAVE_SUNDIALS_IDAKLU
+%!testif HAVE_SUNDIALS_SUNLINSOL_KLU
%! opt = odeset ("MStateDependence", "none",
%! "Mass", @masssparsefuntime,
%! "Jacobian", @jacfunsparse);

View File

@ -1,34 +1,165 @@
# From src/version.h:#define OCTAVE_API_VERSION
%global octave_api api-v45+
%global octave_api api-v53
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
%global builddocs 1
# Use Qt5 on F26+
%if 0%{?fedora}
%bcond_without qt5
%else
%bcond_with qt5
%endif
# For rc versions, change release manually
#global rcver 2
%if 0%{?rcver:1}
%global rctag -rc%{?rcver}
%global relsuf .rc%{?rcver}
%endif
Name: octave
Version: 3.4.3
Release: 1%{?dist}
Summary: A high-level language for numerical computations
Epoch: 6
Group: Applications/Engineering
Version: 5.1.0
Release: 2%{?rcver:.rc%{rcver}}%{?dist}
Summary: A high-level language for numerical computations
License: GPLv3+
Source0: ftp://ftp.gnu.org/gnu/octave/octave-%{version}.tar.bz2
Source1: macros.octave
# https://savannah.gnu.org/bugs/index.php?32839
# Fix building packages from directories
Patch2: octave-3.4.0-pkgbuilddir.patch
URL: http://www.octave.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: https://ftp.gnu.org/gnu/octave/octave-%{version}.tar.lz
#Source0: https://alpha.gnu.org/gnu/octave/octave-%{version}%{?rctag}.tar.lz
# RPM macros for helping to build Octave packages
Source1: macros.octave
Source2: xorg.conf
# Prebuilt docs from Fedora for EPEL
Source3: octave-5.1.0-docs.tar.lz
# SUNDIALS 3 support
# https://savannah.gnu.org/bugs/?52475
Patch1: octave-sundials3.patch
# Proper EOF handling
# https://bugzilla.redhat.com/show_bug.cgi?id=1705129
# https://hg.savannah.gnu.org/hgweb/octave/rev/c3716220d5b9
Patch2: octave-eof.patch
Provides: octave(api) = %{octave_api}
Provides: bundled(gnulib)
Provides: bundled(qterminal)
# From liboctave/cruft
Provides: bundled(amos)
Provides: bundled(blas-xtra)
Provides: bundled(daspk)
Provides: bundled(dasrt)
Provides: bundled(dassl)
Provides: bundled(faddeeva)
Provides: bundled(lapack-xtra)
Provides: bundled(odepack)
Provides: bundled(ordered-qz)
Provides: bundled(quadpack)
Provides: bundled(ranlib)
Provides: bundled(slatec-err)
Provides: bundled(slatec-fn)
BuildRequires: bison flex less tetex gcc-gfortran atlas-devel
BuildRequires: ncurses-devel zlib-devel hdf5-devel texinfo qhull-devel
BuildRequires: readline-devel glibc-devel fftw-devel gperf ghostscript
BuildRequires: curl-devel pcre-devel texinfo-tex arpack-devel libX11-devel
BuildRequires: suitesparse-devel glpk-devel gnuplot desktop-file-utils
BuildRequires: GraphicsMagick-c++-devel fltk-devel ftgl-devel qrupdate-devel
# For Source0
BuildRequires: lzip
# For autoreconf
BuildRequires: automake
BuildRequires: libtool
# For validating desktop and appdata files
BuildRequires: desktop-file-utils
%if 0%{?fedora} || 0%{?rhel} >= 7
BuildRequires: libappstream-glib
%endif
BuildRequires: arpack-devel
BuildRequires: openblas-devel
BuildRequires: bison
BuildRequires: bzip2-devel
BuildRequires: curl-devel
BuildRequires: fftw-devel
BuildRequires: flex
BuildRequires: fltk-devel
BuildRequires: ftgl-devel
BuildRequires: gcc-c++
BuildRequires: gcc-gfortran
BuildRequires: ghostscript
BuildRequires: gl2ps-devel
BuildRequires: glpk-devel
BuildRequires: gnuplot
BuildRequires: gperf
BuildRequires: GraphicsMagick-c++-devel
BuildRequires: hdf5-devel
BuildRequires: java-devel
%if 0%{?fedora}
BuildRequires: javapackages-local
%endif
BuildRequires: less
BuildRequires: libsndfile-devel
BuildRequires: libX11-devel
BuildRequires: llvm-devel
BuildRequires: mesa-libGL-devel
BuildRequires: mesa-libGLU-devel
BuildRequires: mesa-libOSMesa-devel
BuildRequires: ncurses-devel
BuildRequires: pcre-devel
BuildRequires: portaudio-devel
BuildRequires: qhull-devel
BuildRequires: qrupdate-devel
%if %{with qt5}
BuildRequires: qscintilla-qt5-devel
BuildRequires: qt5-linguist
BuildRequires: qt5-qttools-devel
%else
BuildRequires: qscintilla-devel
%endif
BuildRequires: readline-devel
BuildRequires: suitesparse-devel
BuildRequires: sundials-devel
BuildRequires: tex(dvips)
BuildRequires: texinfo
BuildRequires: texinfo-tex
%if 0%{?fedora} || 0%{?rhel} >= 7
BuildRequires: texlive-collection-fontsrecommended
%endif
%if 0%{?rhel} >= 7
BuildRequires: texlive-ec
BuildRequires: texlive-metapost
%endif
BuildRequires: zlib-devel
# For check
BuildRequires: mesa-dri-drivers
BuildRequires: xorg-x11-apps
%ifnarch s390 s390x
BuildRequires: xorg-x11-drv-dummy
%endif
BuildRequires: zip
Requires: gnuplot gnuplot-common less info texinfo
Requires(post): info
Requires(preun): info
Requires: epstool
Requires: gnuplot
Requires: gnuplot-common
Requires: hdf5 = %{_hdf5_version}
Requires: hicolor-icon-theme
Requires: java-headless
Requires: less
Requires: info
Requires: texinfo
# Rrom scripts/general/private/__publish_latex_output__.m
Requires: tex(amssymb.sty)
Requires: tex(fontenc.sty)
Requires: tex(graphicx.sty)
Requires: tex(hyperref.sty)
Requires: tex(inputenc.sty)
Requires: tex(listings.sty)
Requires: tex(lmodern.sty)
Requires: tex(mathtools.sty)
Requires: tex(titlesec.sty)
Requires: tex(xcolor.sty)
# Rrom scripts/plot/util/print.m:
Requires: tex(color.sty)
Requires: tex(epsfig.sty)
Requires: tex(geometry.sty)
Requires: tex(graphicx.sty)
%description
@ -48,10 +179,15 @@ C++, C, Fortran, or other languages.
%package devel
Summary: Development headers and files for Octave
Group: Development/Libraries
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: readline-devel fftw-devel hdf5-devel zlib-devel
Requires: atlas-devel gcc-c++ gcc-gfortran
Requires: gcc-c++
Requires: gcc-gfortran
Requires: fftw-devel%{?_isa}
Requires: hdf5-devel%{?_isa}
Requires: openblas-devel%{?_isa}
Requires: readline-devel%{?_isa}
Requires: zlib-devel
Requires: libappstream-glib
%description devel
The octave-devel package contains files needed for developing
@ -60,52 +196,79 @@ applications which use GNU Octave.
%package doc
Summary: Documentation for Octave
Group: Documentation
%if 0%{?fedora} > 10 || 0%{?rhel} > 5
BuildArch: noarch
%endif
%description doc
This package contains documentation for Octave.
%prep
%setup -q
%patch2 -p1 -b .pkgbuilddir
%setup -q -n %{name}-%{version}%{?rctag}
%patch2 -p1 -b .eof
# EPEL7's autoconf/automake is too old so don't do
# unneeded patches there
%if 0%{?fedora}
%patch1 -p1 -b .sundials3
autoreconf -i
%endif
# Check permissions
find -name *.cc -exec chmod 644 {} \;
%build
%global enable64 no
export F77=gfortran
# TODO: arpack (and others?) appear to be bundled in libcruft..
# --with-arpack is not an option anymore
# TODO: some items appear to be bundled in libcruft..
# gl2ps.c is bundled. Anything else?
%if !%{builddocs}
%global disabledocs --disable-docs
%endif
# Find libjvm.so for this architecture in generic location
libjvm=$(find /usr/lib/jvm/jre/lib -name libjvm.so -printf %h)
export JAVA_HOME=%{java_home}
# JIT support is still experimental, and causes a segfault on ARM.
# --enable-float-truncate - https://savannah.gnu.org/bugs/?40560
# sundials headers need to know where to find suitesparse headers
export CPPFLAGS=-I%{_includedir}/suitesparse
# Disable _GLIBCXX_ASSERTIONS for now
# https://savannah.gnu.org/bugs/?55547
export CXXFLAGS="$(echo %optflags | sed s/-Wp,-D_GLIBCXX_ASSERTIONS//)"
%configure --enable-shared --disable-static --enable-64=%enable64 \
--with-blas="-L%{_libdir}/atlas -lf77blas -latlas" --with-qrupdate \
--with-lapack="-L%{_libdir}/atlas -llapack" \
--enable-float-truncate \
%{?disabledocs} \
--disable-silent-rules \
--with-java-includedir=/usr/lib/jvm/java/include \
--with-java-libdir=$libjvm \
--with-qrupdate \
--with-amd --with-umfpack --with-colamd --with-ccolamd --with-cholmod \
--with-cxsparse
--with-cxsparse \
--disable-jit
# Check that octave_api is set correctly (autogenerated file)
make -C src version.h
if ! grep -q '^#define OCTAVE_API_VERSION "%{octave_api}"' src/version.h
make liboctave/version.h
if ! grep -q '^#define OCTAVE_API_VERSION "%{octave_api}"' liboctave/version.h
then
echo "octave_api variable in spec does not match src/version.h"
echo "octave_api variable in spec does not match liboctave/version.h"
exit 1
fi
# smp builds failing as of 3.4.2
make OCTAVE_RELEASE="Fedora %{version}-%{release}"
%make_build OCTAVE_RELEASE="Fedora %{version}%{?rctag}-%{release}"
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%make_install
# Docs - In case we didn't build them and to explicitly install pre-built docs
make install-data install-html install-info install-pdf DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_pkgdocdir}
cp -ar AUTHORS BUGS ChangeLog examples NEWS README %{buildroot}%{_pkgdocdir}/
cp -a doc/refcard/*.pdf %{buildroot}%{_pkgdocdir}/
# No info directory
rm -f %{buildroot}%{_infodir}/dir
# EL7's makeinfo doesn't support @sortas, so use prebuilt docs
%{?el7:tar xvf %SOURCE3 -C %{buildroot}}
# Make library links
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
echo "%{_libdir}/octave/%{version}" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/octave-%{_arch}.conf
echo "%{_libdir}/octave/%{version}%{?rctag}" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/octave-%{_arch}.conf
# Remove RPM_BUILD_ROOT from ls-R files
perl -pi -e "s,%{buildroot},," %{buildroot}%{_libdir}/%{name}/ls-R
@ -113,11 +276,12 @@ perl -pi -e "s,%{buildroot},," %{buildroot}%{_datadir}/%{name}/ls-R
# Make sure ls-R exists
touch %{buildroot}%{_datadir}/%{name}/ls-R
# Create desktop file
rm %{buildroot}%{_datadir}/applications/www.octave.org-octave.desktop
desktop-file-install --vendor fedora --remove-category Development --add-category "Education" \
--add-category "DataVisualization" --add-category "NumericalAnalysis" --add-category "Engineering" --add-category "Physics" \
--dir %{buildroot}%{_datadir}/applications doc/icons/octave.desktop
desktop-file-validate %{buildroot}%{_datadir}/applications/org.octave.Octave.desktop
# RHEL7 still doesn't like the GNU project_group
%{?el7:sed -i -e /project_group/d %{buildroot}/%{_datadir}/metainfo/org.octave.Octave.appdata.xml}
%if 0%{?fedora} || 0%{?rhel} >= 7
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/org.octave.Octave.appdata.xml
%endif
# Create directories for add-on packages
HOST_TYPE=`%{buildroot}%{_bindir}/octave-config -p CANONICAL_HOST_TYPE`
@ -127,16 +291,12 @@ mkdir -p %{buildroot}%{_datadir}/%{name}/packages
mkdir -p %{buildroot}%{_libdir}/%{name}/packages
touch %{buildroot}%{_datadir}/%{name}/octave_packages
# work-around broken pre-linking (bug 524493)
#install -d %{buildroot}%{_sysconfdir}/prelink.conf.d
#echo "-b %{_bindir}/octave-%{version}" > %{buildroot}%{_sysconfdir}/prelink.conf.d/octave.conf
# Fix multilib installs
for include in config defaults oct-conf
for include in octave-config defaults
do
mv %{buildroot}%{_includedir}/%{name}-%{version}/%{name}/${include}.h \
%{buildroot}%{_includedir}/%{name}-%{version}/%{name}/${include}-%{__isa_bits}.h
cat > %{buildroot}%{_includedir}/%{name}-%{version}/%{name}/${include}.h <<EOF
mv %{buildroot}%{_includedir}/%{name}-%{version}%{?rctag}/%{name}/${include}.h \
%{buildroot}%{_includedir}/%{name}-%{version}%{?rctag}/%{name}/${include}-%{__isa_bits}.h
cat > %{buildroot}%{_includedir}/%{name}-%{version}%{?rctag}/%{name}/${include}.h <<EOF
#include <bits/wordsize.h>
#if __WORDSIZE == 32
@ -148,15 +308,15 @@ do
#endif
EOF
done
for script in octave-config-%{version} mkoctfile-%{version}
for script in octave-config-%{version}%{?rctag} mkoctfile-%{version}%{?rctag}
do
mv %{buildroot}%{_bindir}/${script} %{buildroot}%{_libdir}/%{name}/%{version}/${script}
mv %{buildroot}%{_bindir}/${script} %{buildroot}%{_libdir}/%{name}/%{version}%{?rctag}/${script}
cat > %{buildroot}%{_bindir}/${script} <<EOF
#!/bin/bash
ARCH=\$(uname -m)
case \$ARCH in
x86_64 | ia64 | s390x) LIB_DIR=/usr/lib64
x86_64 | ia64 | s390x | aarch64 | ppc64 | ppc64le) LIB_DIR=/usr/lib64
SECONDARY_LIB_DIR=/usr/lib
;;
* )
@ -165,48 +325,53 @@ x86_64 | ia64 | s390x) LIB_DIR=/usr/lib64
;;
esac
if [ ! -x \$LIB_DIR/%{name}/%{version}/${script} ] ; then
if [ ! -x \$SECONDARY_LIB_DIR/%{name}/%{version}/${script} ] ; then
echo "Error: \$LIB_DIR/%{name}/%{version}/${script} not found"
if [ ! -x \$LIB_DIR/%{name}/%{version}%{?rctag}/${script} ] ; then
if [ ! -x \$SECONDARY_LIB_DIR/%{name}/%{version}%{?rctag}/${script} ] ; then
echo "Error: \$LIB_DIR/%{name}/%{version}%{?rctag}/${script} not found"
if [ -d \$SECONDARY_LIB_DIR ] ; then
echo " and \$SECONDARY_LIB_DIR/%{name}/%{version}/${script} not found"
echo " and \$SECONDARY_LIB_DIR/%{name}/%{version}%{?rctag}/${script} not found"
fi
exit 1
fi
LIB_DIR=\$SECONDARY_LIB_DIR
fi
exec \$LIB_DIR/%{name}/%{version}/${script} "\$@"
exec \$LIB_DIR/%{name}/%{version}%{?rctag}/${script} "\$@"
EOF
chmod +x %{buildroot}%{_bindir}/${script}
done
%if %{builddocs}
# remove timestamp from doc-cache
sed -i -e '/^# Created by Octave/d' %{buildroot}%{_datadir}/%{name}/%{version}/etc/doc-cache
sed -i -e '/^# Created by Octave/d' %{buildroot}%{_datadir}/%{name}/%{version}%{?rctag}/etc/doc-cache
%else
cp -p doc/interpreter/macros.texi %{buildroot}%{_datadir}/%{name}/%{version}/etc/macros.texi
%endif
# rpm macros
mkdir -p %{buildroot}%{_sysconfdir}/rpm
cp -p %SOURCE1 %{buildroot}%{_sysconfdir}/rpm/
mkdir -p %{buildroot}%{macrosdir}
cp -p %SOURCE1 %{buildroot}%{macrosdir}
%check
make check
%clean
rm -rf %{buildroot}
%post
/sbin/ldconfig
/sbin/install-info --info-dir=%{_infodir} --section="Programming" \
%{_infodir}/octave.info || :
%preun
if [ "$1" = "0" ]; then
/sbin/install-info --delete --info-dir=%{_infodir} %{_infodir}/octave.info || :
cp %SOURCE2 .
if [ -x /usr/libexec/Xorg ]; then
Xorg=/usr/libexec/Xorg
else
Xorg=/usr/libexec/Xorg.bin
fi
$Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile ./xorg.log -config ./xorg.conf :99 &
sleep 2
export DISPLAY=:99
make check %{?el7:|| :}
%postun -p /sbin/ldconfig
%ldconfig_scriptlets
%files
%defattr(-,root,root,-)
%doc AUTHORS BUGS ChangeLog COPYING NEWS README
%license COPYING
%{_pkgdocdir}/AUTHORS
%{_pkgdocdir}/BUGS
%{_pkgdocdir}/ChangeLog
%{_pkgdocdir}/NEWS
%{_pkgdocdir}/README
# FIXME: Create an -emacs package that has the emacs addon
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/octave-*.conf
%{_bindir}/octave*
@ -215,33 +380,484 @@ fi
%{_mandir}/man1/octave*.1.*
%{_infodir}/liboctave.info*
%{_infodir}/octave.info*
%{_infodir}/OctaveFAQ.info*
%{_datadir}/applications/fedora-octave.desktop
%{_datadir}/applications/org.octave.Octave.desktop
%{_datadir}/icons/hicolor/*/apps/octave.png
%{_datadir}/icons/hicolor/scalable/apps/octave.svg
%{_datadir}/metainfo/org.octave.Octave.appdata.xml
# octave_packages is %ghost, so need to list everything else separately
%dir %{_datadir}/octave
%{_datadir}/octave/%{version}/
%{_datadir}/octave/%{version}%{?rctag}/
%{_datadir}/octave/ls-R
%ghost %{_datadir}/octave/octave_packages
%{_datadir}/octave/packages/
%{_datadir}/octave/site/
#%{_sysconfdir}/prelink.conf.d/octave.conf
%files devel
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/rpm/macros.octave
%{macrosdir}/macros.octave
%{_bindir}/mkoctfile
%{_bindir}/mkoctfile-%{version}
%{_includedir}/octave-%{version}/
%{_bindir}/mkoctfile-%{version}%{?rctag}
%{_includedir}/octave-%{version}%{?rctag}/
%{_libdir}/pkgconfig/octave.pc
%{_libdir}/pkgconfig/octinterp.pc
%{_mandir}/man1/mkoctfile.1.*
%files doc
%defattr(-,root,root,-)
%doc doc/liboctave/liboctave.html doc/liboctave/liboctave.pdf
%doc doc/faq/OctaveFAQ.pdf doc/refcard/*.pdf
%doc examples/
%{_pkgdocdir}/examples/
%{_pkgdocdir}/liboctave.html/
%{_pkgdocdir}/liboctave.pdf
%{_pkgdocdir}/octave.html
%{_pkgdocdir}/octave.pdf
%{_pkgdocdir}/refcard*.pdf
%changelog
* Wed Jul 31 2019 Orion Poplawski <orion@nwra.com> - 6:5.1.0-2
- Drop use of %%buildarch in macros.octave (bugz#1733898)
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6:5.1.0-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Jun 16 2019 Orion Poplawski <orion@nwra.com> - 6:5.1.0-1
- Update to 5.1.0
* Mon May 6 2019 Orion Poplawski <orion@nwra.com> - 6:4.4.1-8
- Backport upstream patch for proper EOF handling (bugz#1705129)
* Tue Apr 23 2019 Björn Esser <besser82@fedoraproject.org> - 6:4.4.1-7
- rebuilt (sundials)
* Sat Mar 16 2019 Orion Poplawski <orion@nwra.com> - 6:4.4.1-6
- Rebuild for hdf5 1.10.5
* Thu Mar 7 2019 Tim Landscheidt <tim@tim-landscheidt.de> - 6:4.4.1-5
- Remove obsolete requirements for post/preun scriptlets
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6:4.4.1-4
- Rebuild for readline 8.0
* Sat Feb 16 2019 Björn Esser <besser82@fedoraproject.org> - 6:4.4.1-3
- rebuilt (qscintilla)
* Tue Feb 12 2019 Björn Esser <besser82@fedoraproject.org> - 6:4.4.1-2
- rebuilt (qscintilla)
- Fix pre-release tag
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6:4.4.1-1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Sun Nov 11 2018 Orion Poplawski <orion@nwra.com> - 6:4.4.1-1
- Update to 4.4.1
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6:4.2.2-6.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Jul 02 2018 Colin B. Macdonald <cbm@m.fsf.org> - 6:4.2.2-6
- macros: support other names for appdata .metainfo.xml files
* Thu Jun 28 2018 Colin B. Macdonald <cbm@m.fsf.org> - 6:4.2.2-5
- macros: support dependencies in octave_pkg_check
* Thu Jun 21 2018 Orion Poplawski <orion@nwra.com> - 6:4.2.2-4
- Add patch to fix crash with Ctrl-D (bug #1589460)
* Sun Jun 17 2018 Orion Poplawski <orion@nwra.com> - 6:4.2.2-3
- Add requires hicolor-icon-theme
- Use make macros
* Sat Jun 2 2018 Jerry James <loganjerry@gmail.com> - 6:4.2.2-2
- Rebuild for glpk 4.65
- Use ldconfig macros
- Add -qbuttongroup patch to fix FTBFS
* Wed Mar 14 2018 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.2-1
- Update to 4.2.2
- Fail build again if make check fails
* Wed Feb 21 2018 Orion Poplawski <orion@nwra.com> - 6:4.2.1-5
- Add BR gcc-c++
* Thu Feb 08 2018 Jitka Plesnikova <jplesnik@redhat.com> - 6:4.2.1-4.5
- Rebuild for hdf5 1.8.20
* Mon Feb 05 2018 Jitka Plesnikova <jplesnik@redhat.com> - 6:4.2.1-4.4
- Rebuild for new gfortran
* Fri Jan 05 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6:4.2.1-4.3
- Remove obsolete scriptlets
* Sun Aug 13 2017 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.1-4.2
- Make octave-devel require libappstream-glib
* Sat Aug 12 2017 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.1-4.1
- Run appstream-util validate-relax on metainfo.xml files
* Fri Aug 11 2017 Orion Poplawski <orion@nwra.com> - 6:4.2.1-4
- Use openblas on Fedora 27+
* Thu Aug 10 2017 Orion Poplawski <orion@nwra.com> - 6:4.2.1-4
- Install metainfo.xml files in %%octave_pkg_install
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6:4.2.1-3.2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6:4.2.1-3.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Tue Jun 13 2017 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.1-3
- Use Qt5 on Fedora 26+
* Wed Apr 5 2017 Jerry James <loganjerry@gmail.com> - 6:4.2.1-2
- Rebuild for glpk 4.61
* Fri Feb 24 2017 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.1-1
- Update to 4.2.1
* Mon Feb 20 2017 Rex Dieter <rdieter@fedoraproject.org> - 6:4.2.0-16
- rebuild (qscintilla)
* Wed Feb 08 2017 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.0-15
- Have %%octave_pkg_check re-strip shared objects
* Tue Feb 07 2017 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.0-14
- Rebuild with fixed pkgconf (bug #1419685)
* Sat Jan 28 2017 Björn Esser <besser82@fedoraproject.org> - 6:4.2.0-13
- Rebuilt for GCC-7
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 6:4.2.0-12.1
- Rebuild for readline 7.x
* Thu Dec 29 2016 Kalev Lember <klember@redhat.com> - 6:4.2.0-12
- Fix license in appdata file (bug #1293561)
* Fri Dec 09 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.0-11
- Handle noarch package tarball names
* Fri Dec 09 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.0-10
- Patch gzip from upstream bug report
* Thu Dec 08 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.0-9
- Disable more segfaulting tests
* Thu Dec 08 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.0-8
- Add patch to prevent gzip from deleting target file, instead emit warning
- Drop debug code
- Disable segfaulting osmesa_print and pltopt tests
* Thu Dec 08 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.0-7
- Fix version option
* Wed Dec 07 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.0-6
- A desparate attempt to debug octave package building
* Wed Dec 07 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.0-5
- Build in a build sub-directory
* Wed Dec 07 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.0-4
- Use 'octave-config -p CANONICAL_HOST_TYPE' in macros
* Wed Dec 07 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.0-3
- Use %%_host in macros
* Tue Dec 06 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.0-2
- Rework pkg build/install macros
* Tue Dec 06 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.2.0-1
- Update to 4.2.0
- Drop texinfo5 patch
- Use autoreconf -i
- Add requires for latex packages
- Add implicit patch
* Tue Dec 06 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.3-3
- Rebuild for hdf5 1.8.18
* Fri Sep 9 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.3-2
- Add upstream patch to fix build with texinfo 5 on <=EL7
* Sun Jul 3 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.3-1
- Update to 4.0.3
* Wed Jun 29 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.2-3
- Rebuild for hdf5 1.8.17
* Fri Apr 29 2016 Ralf Corsépius <corsepiu@fedoraproject.org> - 6:4.0.2-2
- Rebuild for qhull-2015.2-1.
* Thu Apr 21 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.2-1
- Update to 4.0.2
* Sun Apr 10 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.1-6
- Add upstream patch to fix setting TERM variable (bug #1325548)
* Mon Apr 4 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.1-5
- Arm tests appear to be running okay now (bug #1149953)
* Thu Mar 24 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.1-4
- Swap quoting in octave macros to make set -x output a little cleaner
- Stop trying to turn octave warnings off in macros
* Wed Mar 23 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.1-3
- Update signbit patch from gnulib upstream to work with older compilers
- Only munge headers for gnulib on Fedora 24+
* Tue Mar 22 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.1-2
- libappstream-glib is not in EL6
* Tue Mar 22 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.1-1
- Update to 4.0.1
- Drop upstream texinfo patch
* Fri Mar 11 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.0-14
- Rebuild for glpk 4.59
* Sun Feb 21 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.0-13
- Fix build with gcc 6
* Thu Feb 18 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.0-12
- Rebuild for glpk 4.58
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6:4.0.0-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Jan 22 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.0-10
- Rebuild for poppler-0.40.0
* Thu Jan 21 2016 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.0-9
- Rebuild for hdf5 1.8.16
* Tue Dec 29 2015 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.0-8
- Validate and fix appdata file (bug #1293561)
* Wed Nov 11 2015 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.0-7
- Add BR libsndfile-devel and portaudio-devel for audio support (bug #1279924)
* Tue Oct 6 2015 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.0-6
- Remove unused fftpack code, note bundled libraries
* Sun Oct 04 2015 Rex Dieter <rdieter@fedoraproject.org> - 6:4.0.0-5
- rebuild (GraphicsMagick)
* Fri Jul 31 2015 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.0-4
- Add octave_pkg_check rpm macro, other macro cleanup
* Tue Jul 14 2015 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.0-3
- Add patch to fix build with texinfo 6.0
* Mon Jul 13 2015 Dan Horák <dan[at]danny.cz> - 6:4.0.0-2
- build without the dummy Xorg driver on s390(x)
* Mon Jul 6 2015 Orion Poplawski <orion@cora.nwra.com> - 6:4.0.0-1
- Update to 4.0.0
- Rebase pkgbuilddir patch
- Drop suitesparse patch
- Run X server for tests
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6:3.8.2-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Thu Jun 11 2015 Nils Philippsen <nils@redhat.com> - 6:3.8.2-19
- rebuild for suitesparse-4.4.4
* Thu May 28 2015 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.2-18
- Fix doc install (bug #799662)
* Sun May 17 2015 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.2-17
- Rebuild for hdf5 1.8.15
* Mon Apr 20 2015 Rex Dieter <rdieter@fedoraproject.org> - 6:3.8.2-16
- rebuild (qscintilla)
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 6:3.8.2-15
- Add an AppData file for the software center
* Tue Mar 10 2015 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.2-14
- Build with --enable-float-truncate (https://savannah.gnu.org/bugs/?40560)
- Re-enable parallel builds
* Mon Mar 09 2015 Rex Dieter <rdieter@fedoraproject.org> - 6:3.8.2-13
- rebuild (GraphicsMagick)
* Fri Feb 20 2015 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.2-12
- Rebuild for rebuilt swig
* Wed Feb 18 2015 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.2-11
- Rebuild for fltk 1.3.3
* Tue Feb 17 2015 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.2-10
- Rebuild for gcc 5 C++11 ABI
* Sun Feb 08 2015 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.2-9
- Use a generic location for libjvm.so, require java-headless (bug #1190523)
* Wed Jan 07 2015 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.2-8
- Rebuild for hdf5 1.8.14
* Mon Oct 6 2014 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.2-7
- Disable test failure on arm for now (bug #1149953)
* Mon Sep 15 2014 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.2-6
- Add patch for suitesparse 4.3.1 support
* Fri Sep 12 2014 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.2-5
- Rebuild for libcholmod soname bump
* Sat Aug 23 2014 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.2-4
- No info scripts when not building docs
* Fri Aug 22 2014 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.2-3
- Install macros.texi by hand if not building docs
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6:3.8.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Thu Aug 14 2014 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.2-1
- Update to 3.8.2 final
* Thu Jul 03 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 6:3.8.2-0.2.rc2
- Modernize rest of specfile.
- Update to 3.8.2-rc2.
* Tue Jun 10 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 6:3.8.2-0.1.rc1
- Update to 3.8.2-rc1.
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6:3.8.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Fri Mar 7 2014 Susi Lehtola <jussilehtola@fedoraproject.org> - 6:3.8.1-1
- Update to 3.8.1.
* Sat Feb 8 2014 Peter Robinson <pbrobinson@fedoraproject.org> 6:3.8.0-6
- Add PPC64 and aarch64 to the 64 bit architectures
* Sat Feb 1 2014 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.0-5
- Fix rpm macro install location
* Tue Jan 14 2014 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.0-4
- Also fix base-list.h include
* Thu Jan 9 2014 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.0-3
- Really fix config.h include
* Wed Jan 8 2014 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.0-2
- Fix config.h include
* Sat Dec 28 2013 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.0-1
- Update to 3.8.0 final
* Sat Dec 28 2013 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.0-0.4.rc2
- Rebase pkgbuilddir patch
* Fri Dec 27 2013 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.0-0.3.rc2
- Rebuild for hdf5 1.8.12
* Sat Dec 21 2013 Susi Lehtola <jussilehtola@fedoraproject.org> - 6:3.8.0-0.2.rc2
- Update to 3.8.0-rc2.
* Fri Dec 6 2013 Orion Poplawski <orion@cora.nwra.com> - 6:3.8.0-0.1.rc1
- Update to 3.8.0-rc1
- Drop patches
- Add BR gl2ps-devel, qscintilla-devel, java-devel, llvm-devel
* Fri Dec 06 2013 Nils Philippsen <nils@redhat.com> - 6:3.6.4-9
- rebuild (suitesparse)
* Thu Oct 3 2013 Orion Poplawski - 6:3.6.4-8
- Re-enable atlas on arm
* Sun Sep 22 2013 Orion Poplawski - 6:3.6.4-7
- Rebuild for atlas 3.10
- Disable atlas on arm
* Thu Sep 12 2013 Dan Horák <dan[at]danny.cz> - 6:3.6.4-6
- Rebuilt to resolve broken deps on s390(x)
* Tue Jul 30 2013 Orion Poplawski <orion@cora.nwra.com> - 6:3.6.4-5
- Rebuild for glpk 4.52.1
* Thu May 16 2013 Orion Poplawski <orion@cora.nwra.com> - 6:3.6.4-4
- Rebuild for hdf5 1.8.11
* Thu Mar 28 2013 Jaromir Capik <jcapik@redhat.com> - 6:3.6.4-3
- aarch64 support (#926264)
* Fri Mar 08 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 6:3.6.4-2
- Remove %%config from %%{_sysconfdir}/rpm/macros.*
(https://fedorahosted.org/fpc/ticket/259).
* Sat Feb 23 2013 Orion Poplawski <orion[AT]cora.nwra com> - 6:3.6.4-1
- Update to 3.6.4 final
* Tue Feb 12 2013 Orion Poplawski <orion[AT]cora.nwra com> - 6:3.6.4-0.7.rc2
- Update to 3.6.4-rc2
* Tue Feb 12 2013 Orion Poplawski <orion[AT]cora.nwra com> - 6:3.6.4-0.6.rc1
- Drop vendor from desktop file
* Sun Feb 03 2013 Kevin Fenzi <kevin@scrye.com> - 6:3.6.4-0.5.rc1
- Rebuild for broken deps in rawhide
* Fri Jan 4 2013 Orion Poplawski <orion[AT]cora.nwra com> - 6:3.6.4-0.4.rc1
- Update to 3.6.4-rc1
- Drop gets patch
* Fri Dec 21 2012 Orion Poplawski <orion@cora.nwra.com> - 6:3.6.4-0.3.rc0
- Add patch to ignore deps when building packages for now (bug 733615)
* Wed Dec 05 2012 Orion Poplawski <orion@cora.nwra.com> - 6:3.6.4-0.2.rc0
- Restore gets patch
- Rebuild for hdf5 1.8.10
* Wed Oct 17 2012 Orion Poplawski <orion[AT]cora.nwra com> - 6:3.6.4-0.1.rc0
- Update to 3.6.4-rc0
- Drop sparse patch applied upstream
* Thu Sep 6 2012 Orion Poplawski <orion[AT]cora.nwra com> - 6:3.6.3-2
- Add upstream patch to fix sparse matrix test crash
* Wed Sep 5 2012 Orion Poplawski <orion[AT]cora.nwra com> - 6:3.6.3-1
- Update to 3.6.3
- Drop gets patch fixed upstream
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6:3.6.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Thu Jul 5 2012 Jussi Lehtola <jussilehtola@fedoraproject.org> - 6:3.6.2-2
- Build against OpenGL libraries.
* Mon Jun 4 2012 Orion Poplawski <orion[AT]cora.nwra com> - 6:3.6.2-1
- Update to 3.6.2 final
* Thu May 24 2012 Orion Poplawski <orion[AT]cora.nwra com> - 6:3.6.2-0.4.rc2
- Update to 3.6.2-rc2
- Add patch to update gnulib to handle gets removal
* Tue May 15 2012 Orion Poplawski <orion[AT]cora.nwra com> - 6:3.6.2-0.3.rc0
- Rebuild with hdf5 1.8.9
* Tue May 15 2012 Orion Poplawski <orion[AT]cora.nwra com> - 6:3.6.2-0.2.rc0
- Add Provides bundled(gnulib) (bug 821781)
* Sat May 12 2012 Orion Poplawski <orion[AT]cora.nwra com> - 6:3.6.2-0.1.rc0
- Update to 3.6.2-rc0.
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6:3.6.1-2
- Rebuilt for c++ ABI breakage
* Wed Feb 22 2012 Orion Poplawski <orion[AT]cora.nwra com> - 6:3.6.1-1
- Update to 3.6.1.
* Thu Feb 9 2012 Orion Poplawski <orion[AT]cora.nwra com> - 6:3.6.0-2
- Rebuild with pcre 8.30
* Sun Jan 15 2012 Jussi Lehtola <jussilehtola@fedoraproject.org> - 6:3.6.0-1
- Update to 3.6.0.
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6:3.4.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Fri Nov 18 2011 Orion Poplawski <orion[AT]cora.nwra com> - 6:3.4.3-2
- Rebuild for hdf5 1.8.8
* Mon Oct 24 2011 Orion Poplawski <orion[AT]cora.nwra com> - 6:3.4.3-1
- Update to 3.4.3
- Drop upstreamed patches
@ -437,7 +1053,7 @@ fi
- Add dependency on octave API so that breakages will be detected. (Bug 224050).
- Remove libtermcap-devel as build dependency (Bug 226768).
* Mon Oct 3 2006 Quentin Spencer <qspencer@users.sourceforge.net> 2.9.9-1
* Tue Oct 03 2006 Quentin Spencer <qspencer@users.sourceforge.net> 2.9.9-1
- New release. Remove old patch.
* Fri Sep 15 2006 Quentin Spencer <qspencer@users.sourceforge.net> 2.9.8-2
@ -466,7 +1082,7 @@ fi
- Move octave-bug and octave-config from devel to main package.
- Fix categorization of info files (bug 196760).
* Wed Apr 27 2006 Quentin Spencer <qspencer@users.sourceforge.net> 2.9.5-6
* Thu Apr 27 2006 Quentin Spencer <qspencer@users.sourceforge.net> 2.9.5-6
- Add patch for bug #190481
- Manual stripping of .oct files is no longer necessary.
@ -583,7 +1199,7 @@ fi
(some options are obsolete, others appear unneeded if rpm configure
macro is used).
* Mon May 3 2005 Quentin Spencer <qspencer@users.sourceforge.net> 2.1.70-1
* Tue May 03 2005 Quentin Spencer <qspencer@users.sourceforge.net> 2.1.70-1
- Imported 2.1.70 from upstream, removed old patches (resolved in new version)
- Changed g77 dependency to gfortran.
- Added fftw3 to BuildRequires.
@ -626,7 +1242,7 @@ fi
* Thu Jun 24 2004 Lon Hohberger <lhh@redhat.com> 2.1.57-2
- Fix for #113852 - signbit broken
* Wed Jun 15 2004 Lon Hohberger <lhh@redhat.com> 2.1.57-1
* Tue Jun 15 2004 Lon Hohberger <lhh@redhat.com> 2.1.57-1
- Import 2.1.57 from upstream; this fixes #126074
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
@ -800,18 +1416,18 @@ does not exist.
* Mon Jul 3 2000 Matt Wilson <msw@redhat.com>
- added missing %% before {_infodir} in the %%post
* Sat Jun 09 2000 Trond Eivind Glomsrød <teg@redhat.com>
* Fri Jun 09 2000 Trond Eivind Glomsrød <teg@redhat.com>
- 2.1.30 - the old version contains invalid C++ code
accepted by older compilers.
* Sat Jun 09 2000 Trond Eivind Glomsrød <teg@redhat.com>
* Fri Jun 09 2000 Trond Eivind Glomsrød <teg@redhat.com>
- disable optimization for C++ code
* Fri Jun 08 2000 Trond Eivind Glomsrød <teg@redhat.com>
* Thu Jun 08 2000 Trond Eivind Glomsrød <teg@redhat.com>
- add "Excludearch: " for Alpha - it triggers compiler bugs
* Fri Jun 08 2000 Trond Eivind Glomsrød <teg@redhat.com>
- use %%configure, %%makeinstall, %{_infodir}. %{_mandir}
* Thu Jun 08 2000 Trond Eivind Glomsrød <teg@redhat.com>
- use %%configure, %%makeinstall, %%{_infodir}. %%{_mandir}
- remove prefix
* Tue May 09 2000 Trond Eivind Glomsrød <teg@redhat.com>

View File

@ -1 +1,2 @@
185b08f4e4a7b646d76e4d33b77fa87e octave-3.4.3.tar.bz2
SHA512 (octave-5.1.0.tar.lz) = 34facc20ffceaead05e62e16cc70bd603919c7e52c7489faa17b5c969a160c655f50c4aeb41ecee2e2d0a6245cc3364cf9009ddd3cecb17b9e06bbdacaa0a516
SHA512 (octave-5.1.0-docs.tar.lz) = 6bf24ed95d5d2957271abb8902a156edc588962b95218b05936858fafe8205f4295f072388f7331ad5700946fbae701bd0c3f2a59c258f390ea92c85eb87fdd2

137
xorg.conf Normal file
View File

@ -0,0 +1,137 @@
# This xorg configuration file is meant to be used by xpra
# to start a dummy X11 server.
# For details, please see:
# https://xpra.org/Xdummy.html
Section "ServerFlags"
Option "DontVTSwitch" "true"
Option "AllowMouseOpenFail" "true"
Option "PciForceNone" "true"
Option "AutoEnableDevices" "false"
Option "AutoAddDevices" "false"
EndSection
Section "InputDevice"
Identifier "dummy_mouse"
Option "CorePointer" "true"
Driver "void"
EndSection
Section "InputDevice"
Identifier "dummy_keyboard"
Option "CoreKeyboard" "true"
Driver "void"
EndSection
Section "Device"
Identifier "dummy_videocard"
Driver "dummy"
Option "ConstantDPI" "true"
#VideoRam 4096000
#VideoRam 256000
VideoRam 192000
EndSection
Section "Monitor"
Identifier "dummy_monitor"
HorizSync 5.0 - 1000.0
VertRefresh 5.0 - 200.0
#This can be used to get a specific DPI, but only for the default resolution:
#DisplaySize 508 317
#NOTE: the highest modes will not work without increasing the VideoRam
# for the dummy video card.
Modeline "32768x32768" 15226.50 32768 35800 39488 46208 32768 32771 32781 32953
Modeline "32768x16384" 7516.25 32768 35544 39192 45616 16384 16387 16397 16478
Modeline "16384x8192" 2101.93 16384 16416 24400 24432 8192 8390 8403 8602
Modeline "8192x4096" 424.46 8192 8224 9832 9864 4096 4195 4202 4301
Modeline "5496x1200" 199.13 5496 5528 6280 6312 1200 1228 1233 1261
Modeline "5280x1080" 169.96 5280 5312 5952 5984 1080 1105 1110 1135
Modeline "5280x1200" 191.40 5280 5312 6032 6064 1200 1228 1233 1261
Modeline "5120x3200" 199.75 5120 5152 5904 5936 3200 3277 3283 3361
Modeline "4800x1200" 64.42 4800 4832 5072 5104 1200 1229 1231 1261
Modeline "3840x2880" 133.43 3840 3872 4376 4408 2880 2950 2955 3025
Modeline "3840x2560" 116.93 3840 3872 4312 4344 2560 2622 2627 2689
Modeline "3840x2048" 91.45 3840 3872 4216 4248 2048 2097 2101 2151
Modeline "3840x1080" 100.38 3840 3848 4216 4592 1080 1081 1084 1093
Modeline "3600x1200" 106.06 3600 3632 3984 4368 1200 1201 1204 1214
Modeline "3288x1080" 39.76 3288 3320 3464 3496 1080 1106 1108 1135
Modeline "2048x2048" 49.47 2048 2080 2264 2296 2048 2097 2101 2151
Modeline "2048x1536" 80.06 2048 2104 2312 2576 1536 1537 1540 1554
Modeline "2560x1600" 47.12 2560 2592 2768 2800 1600 1639 1642 1681
Modeline "2560x1440" 42.12 2560 2592 2752 2784 1440 1475 1478 1513
Modeline "1920x1440" 69.47 1920 1960 2152 2384 1440 1441 1444 1457
Modeline "1920x1200" 26.28 1920 1952 2048 2080 1200 1229 1231 1261
Modeline "1920x1080" 23.53 1920 1952 2040 2072 1080 1106 1108 1135
Modeline "1680x1050" 20.08 1680 1712 1784 1816 1050 1075 1077 1103
Modeline "1600x1200" 22.04 1600 1632 1712 1744 1200 1229 1231 1261
Modeline "1600x900" 33.92 1600 1632 1760 1792 900 921 924 946
Modeline "1440x900" 30.66 1440 1472 1584 1616 900 921 924 946
ModeLine "1366x768" 72.00 1366 1414 1446 1494 768 771 777 803
Modeline "1280x1024" 31.50 1280 1312 1424 1456 1024 1048 1052 1076
Modeline "1280x800" 24.15 1280 1312 1400 1432 800 819 822 841
Modeline "1280x768" 23.11 1280 1312 1392 1424 768 786 789 807
Modeline "1360x768" 24.49 1360 1392 1480 1512 768 786 789 807
Modeline "1024x768" 18.71 1024 1056 1120 1152 768 786 789 807
Modeline "768x1024" 19.50 768 800 872 904 1024 1048 1052 1076
#common resolutions for android devices (both orientations):
Modeline "800x1280" 25.89 800 832 928 960 1280 1310 1315 1345
Modeline "1280x800" 24.15 1280 1312 1400 1432 800 819 822 841
Modeline "720x1280" 30.22 720 752 864 896 1280 1309 1315 1345
Modeline "1280x720" 27.41 1280 1312 1416 1448 720 737 740 757
Modeline "768x1024" 24.93 768 800 888 920 1024 1047 1052 1076
Modeline "1024x768" 23.77 1024 1056 1144 1176 768 785 789 807
Modeline "600x1024" 19.90 600 632 704 736 1024 1047 1052 1076
Modeline "1024x600" 18.26 1024 1056 1120 1152 600 614 617 631
Modeline "536x960" 16.74 536 568 624 656 960 982 986 1009
Modeline "960x536" 15.23 960 992 1048 1080 536 548 551 563
Modeline "600x800" 15.17 600 632 688 720 800 818 822 841
Modeline "800x600" 14.50 800 832 880 912 600 614 617 631
Modeline "480x854" 13.34 480 512 560 592 854 873 877 897
Modeline "848x480" 12.09 848 880 920 952 480 491 493 505
Modeline "480x800" 12.43 480 512 552 584 800 818 822 841
Modeline "800x480" 11.46 800 832 872 904 480 491 493 505
#resolutions for android devices (both orientations)
#minus the status bar
#38px status bar (and width rounded up)
Modeline "800x1242" 25.03 800 832 920 952 1242 1271 1275 1305
Modeline "1280x762" 22.93 1280 1312 1392 1424 762 780 783 801
Modeline "720x1242" 29.20 720 752 856 888 1242 1271 1276 1305
Modeline "1280x682" 25.85 1280 1312 1408 1440 682 698 701 717
Modeline "768x986" 23.90 768 800 888 920 986 1009 1013 1036
Modeline "1024x730" 22.50 1024 1056 1136 1168 730 747 750 767
Modeline "600x986" 19.07 600 632 704 736 986 1009 1013 1036
Modeline "1024x562" 17.03 1024 1056 1120 1152 562 575 578 591
Modeline "536x922" 16.01 536 568 624 656 922 943 947 969
Modeline "960x498" 14.09 960 992 1040 1072 498 509 511 523
Modeline "600x762" 14.39 600 632 680 712 762 779 783 801
Modeline "800x562" 13.52 800 832 880 912 562 575 578 591
Modeline "480x810" 12.59 480 512 552 584 810 828 832 851
Modeline "848x442" 11.09 848 880 920 952 442 452 454 465
Modeline "480x762" 11.79 480 512 552 584 762 779 783 801
EndSection
Section "Screen"
Identifier "dummy_screen"
Device "dummy_videocard"
Monitor "dummy_monitor"
DefaultDepth 24
SubSectionSub "Display"
Viewport 0 0
Depth 24
#Modes "32768x32768" "32768x16384" "16384x8192" "8192x4096" "5120x3200" "3840x2880" "3840x2560" "3840x2048" "2048x2048" "2560x1600" "1920x1440" "1920x1200" "1920x1080" "1600x1200" "1680x1050" "1600x900" "1400x1050" "1440x900" "1280x1024" "1366x768" "1280x800" "1024x768" "1024x600" "800x600" "320x200"
Modes "5120x3200" "3840x2880" "3840x2560" "3840x2048" "2048x2048" "2560x1600" "1920x1440" "1920x1200" "1920x1080" "1600x1200" "1680x1050" "1600x900" "1400x1050" "1440x900" "1280x1024" "1366x768" "1280x800" "1024x768" "1024x600" "800x600" "320x200"
#Virtual 32000 32000
#Virtual 16384 8192
Virtual 8192 4096
#Virtual 5120 3200
EndSubSection
EndSection
Section "ServerLayout"
Identifier "dummy_layout"
Screen "dummy_screen"
InputDevice "dummy_mouse"
InputDevice "dummy_keyboard"
EndSection