blob: 437294c40b09b8fb34539f1e2af50a99c862fc29 [file] [log] [blame]
Uwe Hermann13177ed2011-12-30 22:38:25 +01001-------------------------------------------------------------------------------
2README
3-------------------------------------------------------------------------------
Bert Vermeulenf1b296f2013-12-16 01:31:46 +01004libsigrok4DSLogic is a shared library which provides the basic API
5for DSLogic hardware.
6libsigrok4DSLogic is based on libsigrok, a shared library from the sigrok project.
Uwe Hermann13177ed2011-12-30 22:38:25 +01007
8The sigrok project aims at creating a portable, cross-platform,
Bert Vermeulena5b22932012-10-08 18:52:36 +02009Free/Libre/Open-Source signal analysis software suite that supports various
Uwe Hermann4a1c9272012-10-10 23:08:32 +020010device types (such as logic analyzers, oscilloscopes, multimeters, and more).
Uwe Hermann13177ed2011-12-30 22:38:25 +010011
12libsigrok is a shared library written in C which provides the basic API
Bert Vermeulena5b22932012-10-08 18:52:36 +020013for talking to hardware and reading/writing the acquired data into various
14input/output file formats.
Uwe Hermann13177ed2011-12-30 22:38:25 +010015
16
Uwe Hermann4a1c9272012-10-10 23:08:32 +020017Status
18------
19
20libsigrok is in a usable state and has had official tarball releases.
21
22While the API can change from release to release, this will always be
23properly documented and reflected in the package version number and
24in the shared library / libtool / .so-file version numbers.
25
26However, there are _NO_ guarantees at all for stable APIs in git snapshots!
27Distro packagers should only use released tarballs (no git snapshots).
28
29
Uwe Hermann13177ed2011-12-30 22:38:25 +010030Requirements
31------------
32
33 - git
Uwe Hermann1a081ca2012-02-01 23:40:35 +010034 - gcc (>= 4.0)
Uwe Hermannef7228b2012-01-28 21:26:56 +010035 - make
36 - autoconf >= 2.63
37 - automake >= 1.11
38 - libtool
39 - pkg-config >= 0.22
Uwe Hermann406569d2013-04-12 18:47:06 +020040 - libglib >= 2.32.0
Uwe Hermann13177ed2011-12-30 22:38:25 +010041 - libzip >= 0.8
Uwe Hermann294245e2013-01-19 19:13:52 +010042 - libusb-1.0 >= 1.0.9 (optional, used by most drivers)
43 - libftdi >= 0.16 (optional, used by some drivers)
Uwe Hermann294245e2013-01-19 19:13:52 +010044 - libasound / alsa-lib >= 1.0 (optional, only used by the alsa driver)
Uwe Hermann79bb0e92013-03-07 09:37:42 +010045 - check >= 0.9.4 (optional, only needed to run unit tests)
Uwe Hermann13177ed2011-12-30 22:38:25 +010046
47
48Building and installing
49-----------------------
Bert Vermeulenf1b296f2013-12-16 01:31:46 +010050Get the libsigrok4DSLogic source code from: www.dreamsourcelab.com/download.html
51In order to build it, run:
Uwe Hermann13177ed2011-12-30 22:38:25 +010052
Bert Vermeulena5b22932012-10-08 18:52:36 +020053 $ cd libsigrok
Uwe Hermann13177ed2011-12-30 22:38:25 +010054 $ ./autogen.sh
55 $ ./configure
56 $ make
57
Bert Vermeulenf1b296f2013-12-16 01:31:46 +010058For installing libsigrok4DSLogic:
Uwe Hermann13177ed2011-12-30 22:38:25 +010059
60 $ make install
61
Uwe Hermannba642e82013-03-17 12:53:08 +010062See INSTALL or the following wiki page for more (OS-specific) instructions:
Uwe Hermann13177ed2011-12-30 22:38:25 +010063
Uwe Hermannba642e82013-03-17 12:53:08 +010064 http://sigrok.org/wiki/Building
Uwe Hermann13177ed2011-12-30 22:38:25 +010065
66
Uwe Hermann6d036952013-04-26 13:35:19 +020067Copyright and license
68---------------------
69
Bert Vermeulenf1b296f2013-12-16 01:31:46 +010070libsigrok4DSLogic is licensed under the terms of the GNU General Public License
Uwe Hermann6d036952013-04-26 13:35:19 +020071(GPL), version 3 or later.
72
73While some individual source code files are licensed under the GPLv2+, and
74some files are licensed under the GPLv3+, this doesn't change the fact that
75the library as a whole is licensed under the terms of the GPLv3+.
76
77Please see the individual source files for the full list of copyright holders.
78
79
Uwe Hermann13177ed2011-12-30 22:38:25 +010080Mailing lists
81-------------
82
83There are two mailing lists for sigrok/libsigrok:
84
85 https://lists.sourceforge.net/lists/listinfo/sigrok-devel
86 https://lists.sourceforge.net/lists/listinfo/sigrok-commits
87
88
89IRC
90---
91
92You can find the sigrok developers in the #sigrok IRC channel on Freenode.
93
94
95Website
96-------
97
Uwe Hermann4a1c9272012-10-10 23:08:32 +020098 http://sigrok.org/wiki/Libsigrok
Bert Vermeulenf1b296f2013-12-16 01:31:46 +010099 http://dreamsourcelab.com
Uwe Hermann13177ed2011-12-30 22:38:25 +0100100