-
Notifications
You must be signed in to change notification settings - Fork 10
/
octave-modules.yaml
448 lines (419 loc) · 16.5 KB
/
octave-modules.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
name: octave-modules
buildsystem: simple
build-commands: []
modules:
- name: rapidjson
buildsystem: cmake-ninja
sources:
- type: git
url: https://github.com/Tencent/rapidjson
commit: 6089180ecb704cb2b136777798fa1be303618975
- name: qscintilla
buildsystem: qmake
subdir: Qt4Qt5
make-install-args:
- DESTDIR=/app
- PREFIX=/app
config-opts:
- CONFIG+=release
sources:
- type: archive
url: https://www.riverbankcomputing.com/static/Downloads/QScintilla/2.11.6/QScintilla-2.11.6.tar.gz
sha256: e7346057db47d2fb384467fafccfcb13aa0741373c5d593bc72b55b2f0dd20a7
# Failed to check archive qscintilla/QScintilla-2.11.6.tar.gz with AnityaChecker: Wrong content type 'text/plain' received
# from 'https://www.riverbankcomputing.com/static/Downloads/QScintilla/2.14.1/QScintilla_src-2.14.1.tar.gz
# x-checker-data:
# type: anitya
# project-id: 10082
# url-template: https://www.riverbankcomputing.com/static/Downloads/QScintilla/$version/QScintilla_src-$version.tar.gz
- type: shell
commands:
- sed -e 's|\(target.path\) = .*|\1 = /app/lib|' -e 's|\(header.path\) =
.*|\1 = /app/include|' -e 's|\(trans.path\) = .*|\1 = /app/share/qt5/translations|'
-e 's|\(qsci.path\) = .*|\1 = /app/share/qt5|' -e 's|\(features.path\)
= .*|\1 = /app/lib/qt5/mkspecs/features|' -i Qt4Qt5/qscintilla.pro
- name: openblas # dependency of the suitesparse module
no-autogen: true
make-args:
- DYNAMIC_ARCH=1
- DYNAMIC_OLDER=1
- FC=gfortran
- NO_CBLAS=1
- NO_LAPACKE=1
- TARGET=GENERIC
- USE_OPENMP=0 # OpenMP off by default, this hack skips 'test_fork' which crashes on i386
make-install-args:
- PREFIX=/app
sources:
- type: archive
url: https://github.com/xianyi/OpenBLAS/archive/v0.3.28.tar.gz
sha256: f1003466ad074e9b0c8d421a204121100b0751c96fc6fcf3d1456bd12f8a00a1
x-checker-data:
type: anitya
project-id: 2540
url-template: https://github.com/xianyi/OpenBLAS/archive/v$version.tar.gz
- name: mpfr # dependency of the suitesparse module
sources:
- type: archive
url: https://www.mpfr.org/mpfr-current/mpfr-4.2.1.tar.xz
sha256: 277807353a6726978996945af13e52829e3abd7a9a5b7fb2793894e18f1fcbb2
x-checker-data:
type: anitya
project-id: 2019
url-template: https://www.mpfr.org/mpfr-current/mpfr-$version.tar.xz
- name: suitesparse
make-args:
- BLAS=-lopenblas
- LAPACK=
- library
# https://github.com/DrTimothyAldenDavis/SuiteSparse#about-the-blas-and-lapack-libraries
- CMAKE_OPTIONS="-DCMAKE_INSTALL_PREFIX=/app"
make-install-args:
- BLAS=-lopenblas
- LAPACK=
- INSTALL_INCLUDE=/app/include/suitesparse
- INSTALL_LIB=/app/lib
- library
- MPFR_ROOT=/app
# https://github.com/DrTimothyAldenDavis/SuiteSparse/blob/dev/SuiteSparse_config/CMakeLists.txt#L153
- SUITESPARSE_LIBDIR=/app/lib
- SUITESPARSE_BINDIR=/app/bin
- SUITESPARSE_LIBDIR=/app/include
no-autogen: true
sources:
- type: archive
url: https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v7.0.1.tar.gz
sha256: dc2f8d5c2657c120b30cce942f634ec08fc3a4b0b10e19d3eef7790b2bec8d1e
# Octave 8.2.0 is incompatible with SuiteSparse 7.1.0:
# https://github.com/gnu-octave/octave/commit/7ea31a1eefe6ce56b15c68011f50b444f9ba3adc
# x-checker-data:
# type: anitya
# project-id: 4908
# url-template: https://github.com/DrTimothyAldenDavis/SuiteSparse/archive/refs/tags/v$version.tar.gz
# Comment out the modules that we don't need.
- type: shell
commands:
- sed -i '/SLIP_LU/ s/^/# /' Makefile
- sed -i '/Mongoose/ s/^/# /' Makefile
- sed -i '/LDL/ s/^/# /' Makefile
- sed -i '/RBio/ s/^/# /' Makefile
- sed -i '/SPQR/ s/^/# /' Makefile
- sed -i '/GraphBLAS/ s/^/# /' Makefile
- name: rtmidi # dependency of the audio package
buildsystem: cmake-ninja
sources:
- type: archive
url: https://github.com/thestk/rtmidi/archive/refs/tags/6.0.0.tar.gz
sha256: ef7bcda27fee6936b651c29ebe9544c74959d0b1583b716ce80a1c6fea7617f0
x-checker-data:
type: anitya
project-id: 4220
url-template: https://github.com/thestk/rtmidi/archive/refs/tags/$version.tar.gz
- shared-modules/glu/glu-9.json
- name: fltk
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DOPTION_BUILD_SHARED_LIBS=ON
- -DFLTK_LIBDIR:PATH=lib
- -DOpenGL_GL_PREFERENCE=GLVND
build-options:
cflags: -fPIC
cxxflags: -fPIC
sources:
- type: archive
url: https://www.fltk.org/pub/fltk/1.3.9/fltk-1.3.9-source.tar.gz
sha256: d736b0445c50d607432c03d5ba5e82f3fba2660b10bc1618db8e077a42d9511b
x-checker-data:
type: anitya
project-id: 823
url-template: https://www.fltk.org/pub/fltk/$version/fltk-$version-source.tar.gz
- name: gnuplot
sources:
- type: archive
url: https://sourceforge.net/projects/gnuplot/files/gnuplot/6.0.1/gnuplot-6.0.1.tar.gz
sha256: e85a660c1a2a1808ff24f7e69981ffcbac66a45c9dcf711b65610b26ea71379a
x-checker-data:
type: anitya
project-id: 1216
url-template: https://sourceforge.net/projects/gnuplot/files/gnuplot/$version/gnuplot-$version.tar.gz
- name: ghostscript
config-opts:
- --disable-cups
build-options:
ldflags: -L/app/lib
arch:
aarch64:
cppflags: -DPNG_ARM_NEON_OPT=0
sources:
- type: archive
url: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10031/ghostscript-10.03.1.tar.xz
sha256: 157212edc96b8ccc409475dce2e49833fb4427f150c455258ded9632c106abee
x-checker-data:
type: json
url: https://api.github.com/repos/ArtifexSoftware/ghostpdl-downloads/releases/latest
version-query: .name | split(" ") | .[1]
url-query: .assets[] | select(.name|test("^ghostscript-(.*).tar.xz$")) |
.browser_download_url
- name: gl2ps
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DOpenGL_GL_PREFERENCE=GLVND
sources:
- type: archive
url: http://geuz.org/gl2ps/src/gl2ps-1.4.2.tgz
sha256: 8d1c00c1018f96b4b97655482e57dcb0ce42ae2f1d349cd6d4191e7848d9ffe9
x-checker-data:
type: anitya
project-id: 1173
url-template: http://geuz.org/gl2ps/src/gl2ps-$version.tgz
- name: qhull
buildsystem: cmake-ninja
builddir: true
sources:
- type: archive
url: https://github.com/qhull/qhull/archive/v8.0.2.tar.gz
sha256: 8774e9a12c70b0180b95d6b0b563c5aa4bea8d5960c15e18ae3b6d2521d64f8b
x-checker-data:
type: anitya
project-id: 21736
url-template: https://github.com/qhull/qhull/archive/v$version.tar.gz
- name: epstool
skip-arches:
- i386
- arm
- aarch64
no-autogen: true
no-parallel-make: true
make-install-args:
- EPSTOOL_BASE=/app
sources:
- type: archive
# upstream archive has broken permissions, cf. https://launchpad.net/ubuntu/+source/epstool/3.09-1
url: https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/epstool/3.09-1/epstool_3.09.orig.tar.xz
sha256: 1e85249d1a44f9418b1f95a3aebd8b0784dab8e49deb6417ac9b996ca08f6011
- name: hdf5
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -Wno-dev # suppress warning for project developers
sources:
- type: archive
url: https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5_1.14.4.3.tar.gz
sha256: 690c1db7ba0fed4ffac61709236675ffd99d95d191e8920ee79c58d7e7ea3361
x-checker-data:
type: anitya
project-id: 1303
url-template: https://github.com/HDFGroup/hdf5/archive/refs/tags/hdf5_$version.tar.gz
stable-only: true
- name: qrupdate
no-autogen: true
make-args:
- solib
- BLAS=-lopenblas
- LAPACK=
make-install-args:
- PREFIX=/app
sources:
- type: archive
url: https://sourceforge.net/projects/qrupdate/files/qrupdate/1.2/qrupdate-1.1.2.tar.gz
sha256: e2a1c711dc8ebc418e21195833814cb2f84b878b90a2774365f0166402308e08
x-checker-data:
type: anitya
project-id: 4132
url-template: https://sourceforge.net/projects/qrupdate/files/qrupdate/$minor.$patch/qrupdate-$version.tar.gz
- type: shell
commands:
- sed -e 's|FFLAGS=-fimplicit-none -O3 -funroll-loops|FFLAGS=-fimplicit-none
-O3 -funroll-loops -L/app/lib|' -i Makeconf
- name: glpk
sources:
- type: archive
url: https://ftpmirror.gnu.org/glpk/glpk-5.0.tar.gz
sha256: 4a1013eebb50f728fc601bdd833b0b2870333c3b3e5a816eeba921d95bec6f15
x-checker-data:
type: anitya
project-id: 1183
url-template: https://ftpmirror.gnu.org/glpk/glpk-$version.tar.gz
- name: portaudio
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -Wno-dev # suppress warning for project developers
sources:
- type: archive
url: http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz
sha256: f5a21d7dcd6ee84397446fa1fa1a0675bb2e8a4a6dceb4305a8404698d8d1513
x-checker-data:
type: anitya
project-id: 10597
url-template: http://www.portaudio.com/archives/pa_stable_v$version.tgz
- name: graphicsmagick
config-opts:
- --enable-shared
- --with-quantum-depth=16
sources:
- type: archive
url: https://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/1.3.44/GraphicsMagick-1.3.44.tar.xz
sha256: 6ac28470d2fbd3d5f60859dd43f3cee2585e955e32896f892b4dc61dda101ea0
x-checker-data:
type: anitya
project-id: 1248
url-template: https://sourceforge.net/projects/graphicsmagick/files/graphicsmagick/$version/GraphicsMagick-$version.tar.xz
- name: arpack-ng
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
build-options:
env:
FFLAGS: -fallow-argument-mismatch
FCFLAGS: -fallow-argument-mismatch
sources:
- type: archive
url: https://github.com/opencollab/arpack-ng/archive/3.9.1.tar.gz
sha256: f6641deb07fa69165b7815de9008af3ea47eb39b2bb97521fbf74c97aba6e844
x-checker-data:
type: anitya
project-id: 111
url-template: https://github.com/opencollab/arpack-ng/archive/$version.tar.gz
- name: fftw3
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -Wno-dev # suppress warning for project developers
- -DENABLE_THREADS=ON
sources:
- type: archive
url: http://www.fftw.org/fftw-3.3.10.tar.gz
sha256: 56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467
x-checker-data:
type: anitya
project-id: 14534
url-template: http://www.fftw.org/fftw-$version.tar.gz
- name: fftw3f
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -Wno-dev # suppress warning for project developers
- -DENABLE_THREADS=ON
- -DENABLE_FLOAT=ON
sources:
- type: archive
url: http://www.fftw.org/fftw-3.3.10.tar.gz
sha256: 56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467
x-checker-data:
type: anitya
project-id: 14534
url-template: http://www.fftw.org/fftw-$version.tar.gz
- name: sundials
buildsystem: cmake-ninja
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DENABLE_KLU=ON
- -DKLU_INCLUDE_DIR:PATH=/app/include/suitesparse
- -DKLU_LIBRARY_DIR:PATH=/app/lib
builddir: true
sources:
- type: archive
url: https://github.com/LLNL/sundials/releases/download/v7.1.1/sundials-7.1.1.tar.gz
sha256: ea7d6edfb52448ddfdc1ec48f89a721fe6c0a259c10f8ef56f60fcded87a94bb
x-checker-data:
type: anitya
project-id: 4910
url-template: https://github.com/LLNL/sundials/releases/download/v$version/sundials-$version.tar.gz
- name: openjdk
buildsystem: simple
build-commands:
- /usr/lib/sdk/openjdk/install.sh
# ./flatpak-pip-generator -r requirements.txt
- python3-requirements.json # dependencies of the symbolic package
- name: texinfo
config-opts:
- --disable-nls
sources:
- type: archive
url: https://ftpmirror.gnu.org/texinfo/texinfo-6.8.tar.xz
sha256: 8eb753ed28bca21f8f56c1a180362aed789229bd62fff58bf8368e9beb59fec4
- name: units # dependency of the miscellaneous package
config-opts:
- PYTHON=/usr/bin/python3
sources:
- type: archive
url: https://ftpmirror.gnu.org/units/units-2.23.tar.gz
sha256: d957b451245925c9e614c4513397449630eaf92bd62b8495ba09bbe351a17370
x-checker-data:
type: anitya
project-id: 5048
url-template: https://ftpmirror.gnu.org/units/units-$version.tar.gz
- type: patch
path: units-install-info.patch
post-install:
- mv -f /app/com/units/currency.units /app/share/units/currency.units
- name: libsodium # dependency of the zeromq module
sources:
- type: archive
url: https://github.com/jedisct1/libsodium/archive/1.0.19.tar.gz
sha256: 1422ed533a6d2b941b5e3b60ef54d8ca886995d7f3bcb0aef3b78e1375ca5614
x-checker-data:
type: anitya
project-id: 1728
url-template: https://github.com/jedisct1/libsodium/archive/$version.tar.gz
- name: zeromq # dependency of the zeromq package
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=RelWithDebInfo
- -DWITH_DOC=OFF
- -Wno-dev # disable warnings for project developers
sources:
- type: archive
url: https://github.com/zeromq/libzmq/archive/v4.3.5.tar.gz
sha256: 6c972d1e6a91a0ecd79c3236f04cf0126f2f4dfbbad407d72b4606a7ba93f9c6
x-checker-data:
type: anitya
project-id: 16245
url-template: https://github.com/zeromq/libzmq/archive/v$version.tar.gz
- name: octave
config-opts:
- --disable-silent-rules
- --with-blas=openblas
- --with-java-homedir=/app/jre
- --with-java-includedir=/usr/lib/sdk/openjdk11/jvm/openjdk-11/include
# workaround for https://savannah.gnu.org/bugs/?55547
# these are the build flags used in the Freedesktop SDK, without "target_flags_glibcxx_assertions":
# https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/blob/master/include/flags.yml
build-options:
cflags: -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
-grecord-gcc-switches
cflags-override: true
cxxflags: -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
-grecord-gcc-switches
cxxflags-override: true
build-commands:
# failure on aarch64
# profiler/profile.m .............................................free(): invalid pointer
- '[ "$(arch)" = "x86_64" ] && make check || true'
cleanup:
- /share/icons/hicolor/1024x1024 # workaround for https://savannah.gnu.org/bugs/?55836
sources:
- type: archive
url: https://ftp.gnu.org/gnu/octave/octave-9.2.0.tar.xz
sha256: 21417afb579105b035cac0bea09201522e384893ae90a781b8727efa32765807
x-checker-data:
type: anitya
project-id: 2528
url-template: https://ftp.gnu.org/gnu/octave/octave-$version.tar.xz
- type: shell
# Tests can be added to oct functions in the C++ sources just as easily, see find.cc for example.
# The syntax is exactly the same, but done within C comment blocks.
# https://wiki.octave.org/Tests#Writing_tests
# Removing comments from data.cc, since some tests are broken
# libinterp/corefcn/data.cc-tst .................................. pass 1234/1248 [ 3.514s / 10.574s]
# FAIL 8
# (reported bug) XFAIL 6
# See GitHub issues #114 and #264
commands:
- sed -i '/^%!/d' libinterp/corefcn/data.cc
- sed -i '/^%!/d' scripts/sparse/eigs.m