Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 1 | ------------------------------------------------------------------------------- |
| 2 | README |
| 3 | ------------------------------------------------------------------------------- |
Bert Vermeulen | f1b296f | 2013-12-16 01:31:46 +0100 | [diff] [blame] | 4 | libsigrok4DSLogic is a shared library which provides the basic API |
| 5 | for DSLogic hardware. |
| 6 | libsigrok4DSLogic is based on libsigrok, a shared library from the sigrok project. |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 7 | |
| 8 | The sigrok project aims at creating a portable, cross-platform, |
Bert Vermeulen | a5b2293 | 2012-10-08 18:52:36 +0200 | [diff] [blame] | 9 | Free/Libre/Open-Source signal analysis software suite that supports various |
Uwe Hermann | 4a1c927 | 2012-10-10 23:08:32 +0200 | [diff] [blame] | 10 | device types (such as logic analyzers, oscilloscopes, multimeters, and more). |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 11 | |
| 12 | libsigrok is a shared library written in C which provides the basic API |
Bert Vermeulen | a5b2293 | 2012-10-08 18:52:36 +0200 | [diff] [blame] | 13 | for talking to hardware and reading/writing the acquired data into various |
| 14 | input/output file formats. |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 15 | |
| 16 | |
Uwe Hermann | 4a1c927 | 2012-10-10 23:08:32 +0200 | [diff] [blame] | 17 | Status |
| 18 | ------ |
| 19 | |
| 20 | libsigrok is in a usable state and has had official tarball releases. |
| 21 | |
| 22 | While the API can change from release to release, this will always be |
| 23 | properly documented and reflected in the package version number and |
| 24 | in the shared library / libtool / .so-file version numbers. |
| 25 | |
| 26 | However, there are _NO_ guarantees at all for stable APIs in git snapshots! |
| 27 | Distro packagers should only use released tarballs (no git snapshots). |
| 28 | |
| 29 | |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 30 | Requirements |
| 31 | ------------ |
| 32 | |
| 33 | - git |
Uwe Hermann | 1a081ca | 2012-02-01 23:40:35 +0100 | [diff] [blame] | 34 | - gcc (>= 4.0) |
Uwe Hermann | ef7228b | 2012-01-28 21:26:56 +0100 | [diff] [blame] | 35 | - make |
| 36 | - autoconf >= 2.63 |
| 37 | - automake >= 1.11 |
| 38 | - libtool |
| 39 | - pkg-config >= 0.22 |
Uwe Hermann | 406569d | 2013-04-12 18:47:06 +0200 | [diff] [blame] | 40 | - libglib >= 2.32.0 |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 41 | - libzip >= 0.8 |
Uwe Hermann | 294245e | 2013-01-19 19:13:52 +0100 | [diff] [blame] | 42 | - libusb-1.0 >= 1.0.9 (optional, used by most drivers) |
| 43 | - libftdi >= 0.16 (optional, used by some drivers) |
Uwe Hermann | 294245e | 2013-01-19 19:13:52 +0100 | [diff] [blame] | 44 | - libasound / alsa-lib >= 1.0 (optional, only used by the alsa driver) |
Uwe Hermann | 79bb0e9 | 2013-03-07 09:37:42 +0100 | [diff] [blame] | 45 | - check >= 0.9.4 (optional, only needed to run unit tests) |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 46 | |
| 47 | |
| 48 | Building and installing |
| 49 | ----------------------- |
Bert Vermeulen | f1b296f | 2013-12-16 01:31:46 +0100 | [diff] [blame] | 50 | Get the libsigrok4DSLogic source code from: www.dreamsourcelab.com/download.html |
| 51 | In order to build it, run: |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 52 | |
Bert Vermeulen | a5b2293 | 2012-10-08 18:52:36 +0200 | [diff] [blame] | 53 | $ cd libsigrok |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 54 | $ ./autogen.sh |
| 55 | $ ./configure |
| 56 | $ make |
| 57 | |
Bert Vermeulen | f1b296f | 2013-12-16 01:31:46 +0100 | [diff] [blame] | 58 | For installing libsigrok4DSLogic: |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 59 | |
| 60 | $ make install |
| 61 | |
Uwe Hermann | ba642e8 | 2013-03-17 12:53:08 +0100 | [diff] [blame] | 62 | See INSTALL or the following wiki page for more (OS-specific) instructions: |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 63 | |
Uwe Hermann | ba642e8 | 2013-03-17 12:53:08 +0100 | [diff] [blame] | 64 | http://sigrok.org/wiki/Building |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 65 | |
| 66 | |
Uwe Hermann | 6d03695 | 2013-04-26 13:35:19 +0200 | [diff] [blame] | 67 | Copyright and license |
| 68 | --------------------- |
| 69 | |
Bert Vermeulen | f1b296f | 2013-12-16 01:31:46 +0100 | [diff] [blame] | 70 | libsigrok4DSLogic is licensed under the terms of the GNU General Public License |
Uwe Hermann | 6d03695 | 2013-04-26 13:35:19 +0200 | [diff] [blame] | 71 | (GPL), version 3 or later. |
| 72 | |
| 73 | While some individual source code files are licensed under the GPLv2+, and |
| 74 | some files are licensed under the GPLv3+, this doesn't change the fact that |
| 75 | the library as a whole is licensed under the terms of the GPLv3+. |
| 76 | |
| 77 | Please see the individual source files for the full list of copyright holders. |
| 78 | |
| 79 | |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 80 | Mailing lists |
| 81 | ------------- |
| 82 | |
| 83 | There 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 | |
| 89 | IRC |
| 90 | --- |
| 91 | |
| 92 | You can find the sigrok developers in the #sigrok IRC channel on Freenode. |
| 93 | |
| 94 | |
| 95 | Website |
| 96 | ------- |
| 97 | |
Uwe Hermann | 4a1c927 | 2012-10-10 23:08:32 +0200 | [diff] [blame] | 98 | http://sigrok.org/wiki/Libsigrok |
Bert Vermeulen | f1b296f | 2013-12-16 01:31:46 +0100 | [diff] [blame] | 99 | http://dreamsourcelab.com |
Uwe Hermann | 13177ed | 2011-12-30 22:38:25 +0100 | [diff] [blame] | 100 | |