~ubuntu-branches/ubuntu/wily/octave-ltfat/wily-proposed

« back to all changes in this revision

Viewing changes to inst/INSTALL-Octave

  • Committer: Package Import Robot
  • Author(s): Sébastien Villemot, Rafael Laboissiere
  • Date: 2015-07-18 23:36:41 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20150718233641-jhuf3f551a3523qc
Tags: 2.1.0+dfsg-1
* Team upload.

[ Rafael Laboissiere ]
* Imported Upstream version 2.1.0+dfsg
* d/rules: Prevent unit testing on armhf and mips.
  This avoids FTBFS on theses architectures (see Bug#765545).
* Unit testing does not need X-window anymore
  + d/rules: Do not use xfvb-run to run the tests.
  + d/control: Drop xauth, xvfb, and gnuplot-nox from Build-Depends.
    Also, the versioned dependency on octave-pkg-dev is relaxed.
* Drop .jar file from upstream tarball, complying with the Debian Policy
  + d/copyright: Exclude file blockproc.jar
  + d/rules: Add get-orig-source target
  + d/watch: Mangle upstream version to cope with "+dfsg" tag
* Build blockproc.jar, which is deleted from the upstream tarball
  + d/rules: Add commands for building blockproc.jar
  + d/control: Build-depend on default-jdk
  + d/p/fix-path-of-included-makefile.patch: New patch
* Bump Standard-Versions to 3.9.6 (no changes needed)
* d/p/autoload-yes.patch: Remove patch (deprecated upstream)
* Bump Build-Depends on octave to >> 4.0.0~rc4-1 (for sndfile support)
* d/check.m: Avoid verbose output of unit tests
* d/watch: Add the repacksuffix option
* d/p/add-hardening-flags.patch: Drop patch (applied upstream)
* d/p/fix-path-of-included-makefile.patch: Drop patch (applied upstream)

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
pkg install -forge ltfat
12
12
 
13
13
on the Octave prompt, which downloads LTFAT directly from the 
14
 
Octave-forge and compiles all. This however was tested only on Linux.
15
 
Since you are reading this you have probably downloaded LTFAT from
 
14
Octave-forge and compiles everything. This was tested on Linux, on
 
15
Windows with MXE-Octave and Mac X unsing Octave from Homebrew.
 
16
Since you are reading this, you have probably downloaded LTFAT from
16
17
elsewhere and you want to compile sources by yourself. 
17
18
 
18
19
-------- What can be compiled -------------------------------
19
20
 
20
21
- Static backend libraries libltfat.a, libltfatf.a
21
22
 
22
 
- Fast Oct-interfaces linking to the backend libraries.
 
23
- Fast Oct-interfaces linking to the backend libraries and some
 
24
  additional MEX files.
23
25
 
24
 
Block processing framework (optional, experimental, only on Linux)
 
26
Block processing framework (optional, experimental)
25
27
 
26
28
- Mex-interface playrec
27
29
 
28
30
- Java classes for blockproc GUI
29
31
 
 
32
------------------------------------------------------------------------
30
33
-------- Compiling backend libs and the Octave interfaces  -------------
 
34
------------------------------------------------------------------------
31
35
 
32
36
LTFAT comes with C++ Octave interfaces to replace (shadow) all 
33
37
computationally intensitive functions in the toolbox.
50
54
 
51
55
--------- Compiling on Microsoft Windows ------------------------------
52
56
 
53
 
Presently, Octave binary distribution for Windows comes in 32bit version only.
54
 
We recommend using the package with the MinGW installer. It comes with the 32bit
55
 
MinGW compiler system. It is important to add the following two entries to the PATH 
56
 
variable:
57
 
 
58
 
[OCTAVE]\bin\;[OCTAVE]\mingw\bin\; 
59
 
 
60
 
where [OCTAVE] stands for the Octave installation directory.
61
 
 
62
 
Then typing "ltfatmex" should compile the Oct-interfaces. 
 
57
Currently, there is no direct way of compiling ltfat on MXE-Octave.
 
58
Please use the Octave-forge package.
63
59
 
64
60
--------- Compiling on Linux ----------------------------------------
65
61
 
75
71
Install the octave-forge packages to add extra toolboxes available for
76
72
Octave.
77
73
 
78
 
-------- Compiling parts for the block processing framework ———
 
74
---------------------------------------------------------------------------
 
75
-------- Compiling parts for the block processing framework ———------------
 
76
---------------------------------------------------------------------------
79
77
 
80
78
Everything should be already compiled if you have downloaded the binary release.
81
79
 
88
86
Playrec MEX depends on the PORTAUDIO library, which has to be installed on your
89
87
system prior running the commands. Compiling JAVA classes requires Java Development
90
88
Kit to be installed. From Octave 3.8.0 the JAVA package is part of core Octave, so it
91
 
doesn’t have to be installed separately when using Octave 3.8.0.
 
89
doesn’t have to be installed separately.
92
90
 
93
91
NOTE: Compiled Java classes (packed in blockproc.jar) are platform independent
94
92
so compiling it and installing JDK can be avoided by taking the archive from any
106
104
 
107
105
--------- Compiling on Microsoft Windows --------------------------
108
106
 
109
 
Unfortunately, portaudio on Windows is not distributed in a binary package.
110
 
One can follow instructions on http://www.portaudio.com/ to compile the library
111
 
from the source with support for different sound APIs like DirectSound, MME,
112
 
WASAPI, ASIO. Build a shared (dynamically linked) library (dll) and copy it to
113
 
the ltfat/thirdparty/Playrec directory.
 
107
Currently, there is no direct way of compiling ltfat on MXE-Octave.
 
108
Please use the Octave-forge package.
114
109
 
115
110
--------- Compiling on Linux ------------------------------------
116
111