File: INSTALL

package info (click to toggle)
pulseview 0.4.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,064 kB
  • sloc: cpp: 25,958; xml: 215; java: 42; makefile: 2
file content (80 lines) | stat: -rw-r--r-- 2,310 bytes parent folder | download | duplicates (3)
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
-------------------------------------------------------------------------------
INSTALL
-------------------------------------------------------------------------------

Requirements
------------

 - git (only needed when building from git)
 - A C++ compiler with C++11 support (-std=c++11 option), e.g.
   - g++ (>= 4.8.1)
   - clang++ (>= 3.3)
 - make
 - libtool (only needed when building from git)
 - pkg-config >= 0.22
 - cmake >= 2.8.12
 - libglib >= 2.28.0
 - glibmm-2.4 (>= 2.28.0)
 - Qt5 (>= 5.3), including the following components:
    - Qt5Core, Qt5Gui, Qt5Widgets, Qt5Svg, Qt5LinguistTools
    - Qt translation package (optional; needed at runtime, not build time)
 - libboost >= 1.55 (including the following libs):
    - libboost-system
    - libboost-filesystem
    - libboost-serialization
    - libboost-test (optional, only needed to run the unit tests)
    - libboost-stacktrace (optional, only needed for debugging)
 - libsigrokcxx >= 0.5.1 (libsigrok C++ bindings)
 - libsigrokdecode >= 0.5.2
 - libsigrokandroidutils >= 0.1.0 (optional, only needed on Android)
 - asciidoctor (optional, only needed to build the HTML manual)
 - asciidoctor-pdf (optional, only needed to build the PDF manual)


Building and installing
-----------------------

In order to get the PulseView source code and build it, run:

 $ git clone git://sigrok.org/pulseview
 $ cd pulseview
 $ cmake .
 $ make

For installing PulseView:

 $ make install

See the following wiki page for more (OS-specific) instructions:

 http://sigrok.org/wiki/Building


Creating a source distribution package
--------------------------------------

In order to build a source package begin with an unconfigured source tree.

 $ mkdir dist
 $ cd dist
 $ cmake ..
 $ make package_source


Generating the manual
---------------------

To generate the HTML manual, you only need Asciidoctor. If you also want
to generate the PDF manual, you need to install asciidoctor-pdf as well
and make it available for execution:

 $ gem install --pre asciidoctor-pdf
 $ export PATH=~/.gem/ruby/2.3.0/bin:$PATH

Then, to build the PulseView manual, run:

 $ make manual

Note: The stylesheet used is a lightly modified version of "Read The Docs"
from the Asciidoctor stylesheet factory:
https://asciidoctor.org/docs/user-manual/#stylesheet-factory