SQ50 patches for libsigrok
Go to file
Uwe Hermann aba6926245 configure.ac: Improve pkg-config related checks.
Until now, we checked for certain (optional) libraries via pkg-config and
the configure script would abort if any of them was not found, even
though they were optional. It was up to the user to then figure out which
combination of --disable-<drivername> switches were required for his
specific OS (and set of installed libs) to get a working configure run.

Only if the user already specified enough --disable-<drivername>
switches beforehand, so that all drivers which require a missing library
were disabled, would the configure run not check for that specific lib
(and would thus not fail).

With this change, we now always unconditionally check for all libs
(required and optional) via pkg-config. However, whether an (optional) lib
is found or not, configure will not abort. Instead, it'll just disable
all drivers which need a lib that cannot be found.

The user will no longer have to supply --disable-<drivername> parameters
in order to get a working build.
2013-04-09 17:46:33 +02:00
contrib udev: Add UNI-T UT-D04 multimeter cable entry. 2013-01-20 18:47:35 +01:00
hardware Fix kernel driver attached check 2013-04-07 14:14:16 +02:00
input s/sr_config_make/sr_config_new/. 2013-03-23 14:16:00 +01:00
output output/vcd: use new API 2013-03-06 23:14:00 +01:00
tests Add a testsuite for libsigrok. 2013-03-09 11:55:43 +01:00
.gitignore autotools: Don't use "foreign" option. 2013-03-17 13:15:56 +01:00
AUTHORS autotools: Don't use "foreign" option. 2013-03-17 13:15:56 +01:00
COPYING sr/srd: Move some files to their resp. dirs. 2011-12-30 11:14:05 +01:00
Doxyfile Doxygen: Exclude std.c and tests/*. 2013-04-06 19:29:13 +02:00
HACKING Add a testsuite for libsigrok. 2013-03-09 11:55:43 +01:00
Makefile.am Add initial README.devices file. 2013-03-14 19:49:33 +01:00
NEWS sr: fx2lafw: Add basic support for USBee DX and clones 2012-08-01 00:12:00 +04:00
README README: Refer to INSTALL and new Building wiki page. 2013-03-17 13:16:03 +01:00
README.devices Don't make README.devices executable. 2013-03-17 13:16:04 +01:00
autogen.sh autotools: Don't use "foreign" option. 2013-03-17 13:15:56 +01:00
backend.c sr_init(): Sanity-check input/output modules. 2013-03-10 18:27:19 +01:00
configure.ac configure.ac: Improve pkg-config related checks. 2013-04-09 17:46:33 +02:00
device.c Doxygen: Fix a few warnings. 2013-04-06 19:25:23 +02:00
error.c Doxygen: Add @file items for the relevant files. 2012-10-22 11:56:18 +02:00
filter.c Doxygen: Fix a few warnings. 2013-04-06 19:25:23 +02:00
hwdriver.c Doxygen: Fix a few warnings. 2013-04-06 19:25:23 +02:00
libsigrok-internal.h s/sr_config_make/sr_config_new/. 2013-03-23 14:16:00 +01:00
libsigrok.h Doxygen: Fix a few warnings. 2013-04-06 19:25:23 +02:00
libsigrok.pc.in sr: SR_PACKAGE_VERSION_* for consistency. 2012-03-31 11:35:47 +02:00
log.c Doxygen: Add @file items for the relevant files. 2012-10-22 11:56:18 +02:00
proto.h Drop deprecated sr_session_halt(). 2013-03-03 18:02:24 +01:00
session.c Drop deprecated sr_session_halt(). 2013-03-03 18:02:24 +01:00
session_driver.c Add and use std_session_send_df_header(). 2013-02-07 10:46:28 +01:00
session_file.c Rename sr_dev_has_hwcap() to sr_dev_has_option(). 2013-01-25 16:20:40 +01:00
std.c Add/use std_hw_dev_acquisition_stop_serial(). 2013-02-08 23:32:45 +01:00
strutil.c properly deal with decimals 2013-02-10 17:06:56 +01:00
version.c Doxygen: Properly document and handle version.h. 2013-04-06 19:25:29 +02:00
version.h.in Doxygen: Properly document and handle version.h. 2013-04-06 19:25:29 +02:00

README

-------------------------------------------------------------------------------
README
-------------------------------------------------------------------------------

The sigrok project aims at creating a portable, cross-platform,
Free/Libre/Open-Source signal analysis software suite that supports various
device types (such as logic analyzers, oscilloscopes, multimeters, and more).

libsigrok is a shared library written in C which provides the basic API
for talking to hardware and reading/writing the acquired data into various
input/output file formats.


Status
------

libsigrok is in a usable state and has had official tarball releases.

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.

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 (>= 4.0)
 - make
 - autoconf >= 2.63
 - automake >= 1.11
 - libtool
 - pkg-config >= 0.22
 - libglib >= 2.28.0
 - libzip >= 0.8
 - libusb-1.0 >= 1.0.9 (optional, used by most drivers)
 - libftdi >= 0.16 (optional, used by some drivers)
 - libudev >= 151 (optional, used by some drivers)
 - libasound / alsa-lib >= 1.0 (optional, only used by the alsa driver)
 - check >= 0.9.4 (optional, only needed to run unit tests)


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

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

 $ git clone git://sigrok.org/libsigrok
 $ cd libsigrok
 $ ./autogen.sh
 $ ./configure
 $ make

For installing libsigrok:

 $ make install

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

 http://sigrok.org/wiki/Building


Device-specific issues
----------------------

Please check README.devices for some notes and hints about device- or
driver-specific issues to be aware of.


Firmware
--------

Some devices supported by libsigrok need a firmware to be uploaded before the
device can be used. See README.devices for details.


Mailing lists
-------------

There are two mailing lists for sigrok/libsigrok:

 https://lists.sourceforge.net/lists/listinfo/sigrok-devel
 https://lists.sourceforge.net/lists/listinfo/sigrok-commits


IRC
---

You can find the sigrok developers in the #sigrok IRC channel on Freenode.


Website
-------

 http://sigrok.org/wiki/Libsigrok