X-Git-Url: https://sigrok.org/gitweb/?p=libsigrokdecode.git;a=blobdiff_plain;f=README;h=fa30ef066a30573f9b0636ff16a2eaf0fad7a909;hp=4a2441c1d57d0350d6aece8d622b545afc47a279;hb=3a1501e9e07a93a9b157fcce53aa070c5a0bf3d8;hpb=066ecdabd251d503649850f09ff2bf161fc3364b diff --git a/README b/README index 4a2441c..fa30ef0 100644 --- a/README +++ b/README @@ -3,38 +3,42 @@ README ------------------------------------------------------------------------------- The sigrok project aims at creating a portable, cross-platform, -Free/Libre/Open-Source logic analyzer software that supports various -logic analyzer hardware products. +Free/Libre/Open-Source signal analysis software suite that supports various +device types (such as logic analyzers, oscilloscopes, multimeters, and more). libsigrokdecode is a shared library written in C which provides the basic API for running sigrok protocol decoders. The protocol decoders themselves are written in Python. -Status and API --------------- +Status +------ -The libsigrokdecode project is currently work in progress. +libsigrokdecode is in a usable state and has had official tarball releases. -IMPORTANT: The API of libsigrokdecode is NOT yet considered stable! Please do - not rely on it, yet! Changes to function names, macro names etc. - can happen at any time without prior notice! +While the API can change from release to release, this will always be +properly documented and reflected in the package version number and +in the shared library / libtool / .so-file version numbers. - The same applies for the API of the Python protocol decoders! +However, there are _NO_ guarantees at all for stable APIs in git snapshots! +Distro packagers should only use released tarballs (no git snapshots). Requirements ------------ - git - - gcc + - gcc (>= 4.0) - make - autoconf >= 2.63 - automake >= 1.11 - libtool - pkg-config >= 0.22 - - libglib >= 2.22.0 - - Python >= 3.x (for protocol decoders) + - libglib >= 2.24.0 + - Python >= 3.2 + - check >= 0.9.4 (optional, only needed to run unit tests) + - libsigrok >= 0.3.0 (optional, only needed for the developer PD tests) + - python3-coverage (optional, only needed for the developer PD tests) Building and installing @@ -42,8 +46,8 @@ Building and installing In order to get the libsigrokdecode source code and build it, run: - $ git clone git://sigrok.git.sourceforge.net/gitroot/sigrok/sigrok - $ cd sigrok/libsigrokdecode + $ git clone git://sigrok.org/libsigrokdecode + $ cd libsigrokdecode $ ./autogen.sh $ ./configure $ make @@ -52,12 +56,30 @@ For installing libsigrokdecode: $ make install -Please see the following wiki pages for more detailed instructions: +See INSTALL or the following wiki page for more (OS-specific) instructions: - http://sigrok.org/wiki/Linux - http://sigrok.org/wiki/Mac_OS_X - http://sigrok.org/wiki/Windows - http://sigrok.org/wiki/FreeBSD + http://sigrok.org/wiki/Building + + +Copyright and license +--------------------- + +libsigrokdecode is licensed under the terms of the GNU General Public License +(GPL), version 3 or later. + +The protocol decoders (PDs) included in libsigrokdecode are an integral part +of the shared library (they are not merely external "plugins", they are not +external programs that libsigrokdecode calls via fork/exec, they cannot +function standalone without libsigrokdecode at all, the PDs and the rest of +the libsigrokdecode codebase share data structures and make function calls +to each other). Thus, since the PDs are part of the library, they are also +licensed under the terms of the GPLv3+. + +While some individual source code files are licensed under the GPLv2+, and +some files are licensed under the GPLv3+, this doesn't change the fact that +the library as a whole is licensed under the terms of the GPLv3+. + +Please see the individual source files for the full list of copyright holders. Mailing lists @@ -78,5 +100,5 @@ You can find the sigrok developers in the #sigrok IRC channel on Freenode. Website ------- -http://sigrok.org + http://sigrok.org/wiki/Libsigrokdecode