]> sigrok.org Git - libsigrokdecode.git/blame_incremental - README
Only load and use PDs of API version 2.
[libsigrokdecode.git] / README
... / ...
CommitLineData
1-------------------------------------------------------------------------------
2README
3-------------------------------------------------------------------------------
4
5The sigrok project aims at creating a portable, cross-platform,
6Free/Libre/Open-Source signal analysis software suite that supports various
7device types (such as logic analyzers, oscilloscopes, multimeters, and more).
8
9libsigrokdecode is a shared library written in C which provides the basic
10API for running sigrok protocol decoders. The protocol decoders themselves
11are written in Python.
12
13
14Status
15------
16
17libsigrokdecode is in a usable state and has had official tarball releases.
18
19While the API can change from release to release, this will always be
20properly documented and reflected in the package version number and
21in the shared library / libtool / .so-file version numbers.
22
23However, there are _NO_ guarantees at all for stable APIs in git snapshots!
24Distro packagers should only use released tarballs (no git snapshots).
25
26
27Requirements
28------------
29
30 - git
31 - gcc (>= 4.0)
32 - make
33 - autoconf >= 2.63
34 - automake >= 1.11
35 - libtool
36 - pkg-config >= 0.22
37 - libglib >= 2.24.0
38 - Python >= 3.2
39 - check >= 0.9.4 (optional, only needed to run unit tests)
40 - libsigrok >= 0.2.0 (optional, only needed for the developer PD tests)
41 - python3-coverage (optional, only needed for the developer PD tests)
42
43
44Building and installing
45-----------------------
46
47In order to get the libsigrokdecode source code and build it, run:
48
49 $ git clone git://sigrok.org/libsigrokdecode
50 $ cd libsigrokdecode
51 $ ./autogen.sh
52 $ ./configure
53 $ make
54
55For installing libsigrokdecode:
56
57 $ make install
58
59See INSTALL or the following wiki page for more (OS-specific) instructions:
60
61 http://sigrok.org/wiki/Building
62
63
64Copyright and license
65---------------------
66
67libsigrokdecode is licensed under the terms of the GNU General Public License
68(GPL), version 3 or later.
69
70The protocol decoders (PDs) included in libsigrokdecode are an integral part
71of the shared library (they are not merely external "plugins", they are not
72external programs that libsigrokdecode calls via fork/exec, they cannot
73function standalone without libsigrokdecode at all, the PDs and the rest of
74the libsigrokdecode codebase share data structures and make function calls
75to each other). Thus, since the PDs are part of the library, they are also
76licensed under the terms of the GPLv3+.
77
78While some individual source code files are licensed under the GPLv2+, and
79some files are licensed under the GPLv3+, this doesn't change the fact that
80the library as a whole is licensed under the terms of the GPLv3+.
81
82Please see the individual source files for the full list of copyright holders.
83
84
85Mailing lists
86-------------
87
88There are two mailing lists for sigrok/libsigrokdecode:
89
90 https://lists.sourceforge.net/lists/listinfo/sigrok-devel
91 https://lists.sourceforge.net/lists/listinfo/sigrok-commits
92
93
94IRC
95---
96
97You can find the sigrok developers in the #sigrok IRC channel on Freenode.
98
99
100Website
101-------
102
103 http://sigrok.org/wiki/Libsigrokdecode
104