diff options
| author | Simon Tournier <simon.tournier@u-paris.fr> | 2026-02-04 17:21:21 +0100 |
|---|---|---|
| committer | Ghislain Vaillant <ghislain.vaillant@inria.fr> | 2026-02-04 22:47:33 +0100 |
| commit | a0b6da01d948df25cea1b51bcad216eb49e89921 (patch) | |
| tree | f357da79da43cc8e49662ef5b20a2f0c3b96b9a3 /patches | |
| parent | c8a1a0286662ccf6d499c32208cf5104244755b5 (diff) | |
jasp: jasp: Move patch to patches folder.
* guix-science/packages/jasp.scm (jasp): Change patch location.
* jasp-0.14.0.0-noupdate.patch,
jasp-0.14.0.0-includes.patch: Move to patches/ folder.
Diffstat (limited to 'patches')
| -rw-r--r-- | patches/jasp-0.14.0.0-includes.patch | 53 | ||||
| -rw-r--r-- | patches/jasp-0.14.0.0-noupdate.patch | 25 |
2 files changed, 78 insertions, 0 deletions
diff --git a/patches/jasp-0.14.0.0-includes.patch b/patches/jasp-0.14.0.0-includes.patch new file mode 100644 index 0000000..fb1a079 --- /dev/null +++ b/patches/jasp-0.14.0.0-includes.patch | |||
| @@ -0,0 +1,53 @@ | |||
| 1 | Add missing includes for GCC 10. | ||
| 2 | |||
| 3 | --- a/JASP-Common/column.cpp 1970-01-01 01:00:01.000000000 +0100 | ||
| 4 | +++ b/JASP-Column/column.cpp 2021-12-21 10:30:32.455931317 +0100 | ||
| 5 | @@ -21,6 +21,7 @@ | ||
| 6 | |||
| 7 | #include <sstream> | ||
| 8 | #include <string> | ||
| 9 | +#include <cfloat> | ||
| 10 | |||
| 11 | #include <boost/lexical_cast.hpp> | ||
| 12 | #include <boost/algorithm/string/predicate.hpp> | ||
| 13 | --- a/JASP-Engine/rbridge.cpp 1970-01-01 01:00:01.000000000 +0100 | ||
| 14 | +++ b/JASP-Engine/rbridge.cpp 2021-12-21 10:36:47.825085783 +0100 | ||
| 15 | @@ -15,6 +15,8 @@ | ||
| 16 | // along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
| 17 | // | ||
| 18 | |||
| 19 | +#include <cmath> | ||
| 20 | + | ||
| 21 | #include "rbridge.h" | ||
| 22 | #include "columnencoder.h" | ||
| 23 | #include "jsonredirect.h" | ||
| 24 | --- a/JASP-Desktop/widgets/boundqmltextinput.cpp 1970-01-01 01:00:01.000000000 +0100 | ||
| 25 | +++ b/JASP-Desktop/widgets/boundqmltextinput.cpp 2021-12-21 10:40:18.119960946 +0100 | ||
| 26 | @@ -16,6 +16,8 @@ | ||
| 27 | // <http://www.gnu.org/licenses/>. | ||
| 28 | // | ||
| 29 | |||
| 30 | +#include <cmath> | ||
| 31 | + | ||
| 32 | #include "boundqmltextinput.h" | ||
| 33 | #include "../analysis/analysisform.h" | ||
| 34 | #include "../analysis/jaspcontrolbase.h" | ||
| 35 | --- a/JASP-Desktop/data/filtermodel.cpp 1970-01-01 01:00:01.000000000 +0100 | ||
| 36 | +++ b/JASP-Desktop/data/filtermodel.cpp 2021-12-21 10:43:56.571897913 +0100 | ||
| 37 | @@ -1,3 +1,5 @@ | ||
| 38 | +#include <cmath> | ||
| 39 | + | ||
| 40 | #include "filtermodel.h" | ||
| 41 | #include "utilities/jsonutilities.h" | ||
| 42 | #include "columnencoder.h" | ||
| 43 | --- a/JASP-Desktop/widgets/listmodeltableviewbase.cpp 1970-01-01 01:00:01.000000000 +0100 | ||
| 44 | +++ b/JASP-Desktop/widgets/listmodeltableviewbase.cpp 2021-12-21 10:47:06.104957449 +0100 | ||
| 45 | @@ -16,6 +16,8 @@ | ||
| 46 | // <http://www.gnu.org/licenses/>. | ||
| 47 | // | ||
| 48 | |||
| 49 | +#include <cmath> | ||
| 50 | + | ||
| 51 | #include "log.h" | ||
| 52 | #include <QSize> | ||
| 53 | #include <fstream> | ||
diff --git a/patches/jasp-0.14.0.0-noupdate.patch b/patches/jasp-0.14.0.0-noupdate.patch new file mode 100644 index 0000000..f3d01bf --- /dev/null +++ b/patches/jasp-0.14.0.0-noupdate.patch | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | Disable auto-update and known issues checker. | ||
| 2 | |||
| 3 | --- a/JASP-Desktop/gui/jaspversionchecker.cpp 2020-10-16 13:43:43.215811978 +0200 | ||
| 4 | +++ b/JASP-Desktop/gui/jaspversionchecker.cpp 2020-10-16 13:44:51.777626010 +0200 | ||
| 5 | @@ -31,16 +31,20 @@ | ||
| 6 | |||
| 7 | void JASPVersionChecker::checkForJaspUpdate() | ||
| 8 | { | ||
| 9 | +#if 0 | ||
| 10 | QNetworkRequest request(_urlVersion); | ||
| 11 | _networkReply = _networkManager.get(request); | ||
| 12 | connect(_networkReply, &QNetworkReply::finished, this, &JASPVersionChecker::downloadVersionFinished); | ||
| 13 | +#endif | ||
| 14 | } | ||
| 15 | |||
| 16 | void JASPVersionChecker::downloadKnownIssues() | ||
| 17 | { | ||
| 18 | +#if 0 | ||
| 19 | QNetworkRequest request(_urlKnownIssues); | ||
| 20 | _networkReply = _networkManager.get(request); | ||
| 21 | connect(_networkReply, &QNetworkReply::finished, this, &JASPVersionChecker::downloadIssuesFinished); | ||
| 22 | +#endif | ||
| 23 | } | ||
| 24 | |||
| 25 | void JASPVersionChecker::downloadVersionFinished() | ||
