annotate build_packages.m @ 4148:b4391d95a81c

of-splines: update to 1.3.0 * src/of-splines.mk: update version, checksum * build_packages.m: update splines version
author John Donoghue
date Mon, 23 May 2016 12:54:26 -0400
parents 05523ddd7961
children 84a6afd1c632
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2960
c0061a9c3288 build_packages.m: new file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 more ("off");
c0061a9c3288 build_packages.m: new file
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 echo ("on");
3459
bc0e6c5189cd build_packages.m: cd to src folder to install src packages
John Donoghue <john.donoghue@ieee.org>
parents: 3424
diff changeset
3 % cd to script directory as the packages files are in the same place
bc0e6c5189cd build_packages.m: cd to src folder to install src packages
John Donoghue <john.donoghue@ieee.org>
parents: 3424
diff changeset
4 [packagedir] = fileparts(mfilename("fullpathext"));
bc0e6c5189cd build_packages.m: cd to src folder to install src packages
John Donoghue <john.donoghue@ieee.org>
parents: 3424
diff changeset
5 if length(packagedir) > 0
bc0e6c5189cd build_packages.m: cd to src folder to install src packages
John Donoghue <john.donoghue@ieee.org>
parents: 3424
diff changeset
6 cd(packagedir);
bc0e6c5189cd build_packages.m: cd to src folder to install src packages
John Donoghue <john.donoghue@ieee.org>
parents: 3424
diff changeset
7 endif
3726
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
8
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
9 % helper function to try install a package, and recover
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
10 function try_install (pkgname)
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
11 currdir = pwd ();
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
12
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
13 try
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
14 pkg ('install', pkgname, '-noauto')
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
15 catch err
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
16 warning (err.identifier, err.message);
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
17 end_try_catch
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
18
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
19 cd (currdir);
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
20 endfunction
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
21
3459
bc0e6c5189cd build_packages.m: cd to src folder to install src packages
John Donoghue <john.donoghue@ieee.org>
parents: 3424
diff changeset
22 % install the packages
3953
30391f9f46e8 Update build_packages.m for latest signal, general
John Donoghue <john.donoghue@ieee.org>
parents: 3948
diff changeset
23 try_install general-2.0.0.tar.gz
3726
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
24 try_install miscellaneous-1.2.1.tar.gz
4130
691dd542a812 of-struct: update to 1.0.13
John Donoghue
parents: 4122
diff changeset
25 try_install struct-1.0.13.tar.gz
4131
e79854fa53be of-optim: update to 1.5.1
John Donoghue
parents: 4130
diff changeset
26 try_install optim-1.5.1.tar.gz
3726
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
27 try_install specfun-1.1.0.tar.gz
4060
e36b4f15b7a5 of-control: update to 3.0.0
John D
parents: 4058
diff changeset
28 try_install control-3.0.0.tar.gz
3953
30391f9f46e8 Update build_packages.m for latest signal, general
John Donoghue <john.donoghue@ieee.org>
parents: 3948
diff changeset
29 try_install signal-1.3.2.tar.gz
3873
58aa10af640e of-communications: update to v1.2.1
John Donoghue
parents: 3867
diff changeset
30 try_install communications-1.2.1.tar.gz
4010
2a2a6bb152ee of-image: update to v 2.4.1
Avinoam
parents: 4006
diff changeset
31 try_install image-2.4.1.tar.gz
4104
c427e60e9e5f build_packages: update installable of packages to packaged versions
John Donoghue
parents: 4100
diff changeset
32 try_install io-2.4.1.tar.gz
3842
732f437653ae of-statistics: update to 1.2.4
John Donoghue
parents: 3841
diff changeset
33 try_install statistics-1.2.4.tar.gz
4122
9eb5ed38a4d8 of-geometry: update to v2.1.1
John Donoghue <john.donoghue@ieee.org>
parents: 4115
diff changeset
34 try_install geometry-2.1.1.tar.gz
4097
62e60aa89275 of-windows: update to v1.2.3
John Donoghue
parents: 4096
diff changeset
35 try_install windows-1.2.3.tar.gz
3948
1fea617cdf13 of-odepkg: update to v0.8.5
John Donoghue
parents: 3943
diff changeset
36 try_install odepkg-0.8.5.tar.gz
3876
c615fc4adb7c of-linear-algebra: update to 2.2.2
John Donoghue
parents: 3875
diff changeset
37 try_install linear-algebra-2.2.2.tar.gz
3780
d638b6502197 of-sockets: update to 1.2.0
John Donoghue <john.donoghue@ieee.org>
parents: 3772
diff changeset
38 try_install sockets-1.2.0.tar.gz
3726
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
39 try_install zenity-0.5.7.tar.gz
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
40 try_install data-smoothing-1.3.0.tar.gz
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
41 try_install fuzzy-logic-toolkit-0.4.5.tar.gz
3867
5259bf0c2727 of-quaternion: update to 2.4.0
John Donoghue <john.donoghue@ieee.org>
parents: 3866
diff changeset
42 try_install quaternion-2.4.0.tar.gz
4096
414c464563c6 of-fits: update to v1.0.7
John Donoghue
parents: 4095
diff changeset
43 try_install fits-1.0.7.tar.gz
3726
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
44 try_install fl-core-1.0.0.tar.gz
4098
0727a16b2124 of-tsa: update to v4.4.1
John Donoghue
parents: 4097
diff changeset
45 try_install tsa-4.4.1.tar.gz
3726
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
46 try_install dicom-0.1.1.tar.gz
4147
05523ddd7961 of-netcdf: update to 1.0.11
John Donoghue
parents: 4131
diff changeset
47 try_install netcdf-1.0.11.tar.gz
4106
abe4edcb2f41 of-ltfat: update to 2.1.2
John Donoghue <john.donoghue@ieee.org>
parents: 4105
diff changeset
48 try_install ltfat-2.1.2.tar.gz
4115
9f68d5062bff build_packages.m: update database version to installed 2.4.1
John Donoghue
parents: 4107
diff changeset
49 try_install database-2.4.1.tar.gz
4087
c587088dbc4b of-instrument-control: update to 0.2.2
John Donoghue
parents: 4086
diff changeset
50 try_install instrument-control-0.2.2.tar.gz
4088
48ef551fa5e0 of-generate_html: update version 0.1.10
John Donoghue
parents: 4087
diff changeset
51 try_install generate_html-0.1.10.tar.gz
4085
c25eb2c88594 of-financial: update to 0.5.0
John Donoghue
parents: 4083
diff changeset
52 try_install financial-0.5.0.tar.gz
4056
54318919b60c of-stk: update to v2.3.4
John Donoghue
parents: 4053
diff changeset
53 try_install stk-2.3.4.tar.gz
4148
b4391d95a81c of-splines: update to 1.3.0
John Donoghue
parents: 4147
diff changeset
54 try_install splines-1.3.0.tar.gz
3912
52abc9be09fa of-dataframe: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents: 3911
diff changeset
55 try_install dataframe-1.1.0.tar.gz
3916
af43c4d3d12f of-lssa: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents: 3912
diff changeset
56 try_install lssa-0.1.2.tar.gz
3917
d18874830004 of-queueing: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents: 3916
diff changeset
57 try_install queueing-1.2.3.tar.gz
4023
e9bc89b98054 of-nurbs: update to 1.3.10
John D
parents: 4022
diff changeset
58 try_install nurbs-1.3.10.tar.gz
3962
76247f439f51 of-strings: update to v1.2.0
John Donoghue
parents: 3953
diff changeset
59 try_install strings-1.2.0.tar.gz
3919
282ca0892ed0 of-ga: add to mxe
John Donoghue <john.donoghue@ieee.org>
parents: 3918
diff changeset
60 try_install ga-0.10.0.tar.gz
4092
c97c56799e12 of-interval: update to 1.4.1
John Donoghue
parents: 4091
diff changeset
61 try_install interval-1.4.1.tar.gz
4099
6c7d570cd9ff of-nan: update to 3.0.1
John Donoghue
parents: 4098
diff changeset
62 try_install nan-3.0.1.tar.gz
4014
9eca3f114683 of-ocs: update to v0.1.5
John Donoghue
parents: 4010
diff changeset
63 try_install ocs-0.1.5.tar.gz
4089
98a8748f0438 of-mapping: update to 1.2.1
John Donoghue <john.donoghue@ieee.org>
parents: 4088
diff changeset
64 try_install mapping-1.2.1.tar.gz
4015
f3d167e40f01 of-tisean: add new package
John Donoghue
parents: 4014
diff changeset
65 try_install tisean-0.2.3.tar.gz
4058
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents: 4056
diff changeset
66 try_install sparsersb-1.0.0.tar.gz
4083
ab391f476b81 of-video: update to 1.2.2
John Donoghue
parents: 4064
diff changeset
67 try_install video-1.2.2.tar.gz
4100
513a335905f0 of-zermoq: added package
John Donoghue
parents: 4099
diff changeset
68 try_install zeromq-1.1.0.tar.gz
3726
1166dbbbe15c build_packages.m: add helper function to install packages
John Donoghue
parents: 3724
diff changeset
69