<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://sigrok.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ksjoberg</id>
	<title>sigrok - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://sigrok.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Ksjoberg"/>
	<link rel="alternate" type="text/html" href="https://sigrok.org/wiki/Special:Contributions/Ksjoberg"/>
	<updated>2026-04-10T04:20:34Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.37.1</generator>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Sigrok-cli&amp;diff=1167</id>
		<title>Sigrok-cli</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Sigrok-cli&amp;diff=1167"/>
		<updated>2011-11-01T22:44:04Z</updated>

		<summary type="html">&lt;p&gt;Ksjoberg: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
NAME&lt;br /&gt;
       sigrok-cli - Command-line client for the sigrok logic analyzer software&lt;br /&gt;
&lt;br /&gt;
SYNOPSIS&lt;br /&gt;
       sigrok-cli [-VDdptoIfh] [-V|--version] [-D|--list-devices] [-d|--device&lt;br /&gt;
       devid[:option]]    [-p|--probes    probelist]    [-t|--triggers     triggerlist]&lt;br /&gt;
       [-o|--output-file  filename]  [-i|--input-file  filename]  [-f|--format&lt;br /&gt;
       formatname]   [--time   ms]   [--samples   numsamples]   [--continuous]&lt;br /&gt;
       [-h|--help]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION&lt;br /&gt;
       sigrok-cli  is  a  cross-platform  command  line utility for the sigrok&lt;br /&gt;
       logic analyzer software.&lt;br /&gt;
&lt;br /&gt;
       The command-line frontend for sigrok cannot display  graphical  output,&lt;br /&gt;
       but  is  still  sufficient to run through the whole process of hardware&lt;br /&gt;
       initialization, acquisition, protocol analysis and saving the session.&lt;br /&gt;
&lt;br /&gt;
       It is useful for running on remote or embedded systems, netbooks, PDAs,&lt;br /&gt;
       and  for  various  other  use-cases. It can display samples on standard&lt;br /&gt;
       output or save them in various file formats.&lt;br /&gt;
&lt;br /&gt;
OPTIONS&lt;br /&gt;
       -V, --version&lt;br /&gt;
              Show version, driver and module information.&lt;br /&gt;
&lt;br /&gt;
       -D, --list-devices&lt;br /&gt;
              List all logic analyzer devices found on the system.&lt;br /&gt;
&lt;br /&gt;
       -d, --device &amp;lt;devid[:option]&amp;gt;&lt;br /&gt;
              The device to use for acquisition, specified by ID  as  reported&lt;br /&gt;
              by --list-devices.&lt;br /&gt;
&lt;br /&gt;
              Device-specific option are specified as a colon separated list after the &lt;br /&gt;
              device ID. The argument  takes  the  form of option=value. A common &lt;br /&gt;
              option is samplerate, with the argument being the samplerate in Hz. &lt;br /&gt;
              You can also specify the sample rate in kHz, MHz or GHz. The following &lt;br /&gt;
              are all equivalent:&lt;br /&gt;
&lt;br /&gt;
               sigrok-cli --samples 100 -d demo:samplerate=1000000&lt;br /&gt;
               sigrok-cli --samples 100 -d demo:samplerate=1m&lt;br /&gt;
               sigrok-cli --samples 100 -d demo:&amp;quot;samplerate=1 MHz&amp;quot;&lt;br /&gt;
&lt;br /&gt;
              The  option argument  can  be  used  multiple times as&lt;br /&gt;
              needed.&lt;br /&gt;
&lt;br /&gt;
       -p, --probes &amp;lt;probelist&amp;gt;&lt;br /&gt;
              A comma-separated list of probes to be used in the session.&lt;br /&gt;
&lt;br /&gt;
              The  default is to use all the probes available on a device. You&lt;br /&gt;
              can name a probe like this: 1=CLK.  A range of probes  can  also&lt;br /&gt;
              be given, in the form 1-5.&lt;br /&gt;
&lt;br /&gt;
              Example:&lt;br /&gt;
&lt;br /&gt;
               $ sigrok-cli --samples 100 --probes 1=CLK,2-4,7&lt;br /&gt;
               CLK:11111111 11111111 11111111 11111111 [...]&lt;br /&gt;
                 2:11111111 11111111 11111111 11111111 [...]&lt;br /&gt;
                 3:11111111 11111111 11111111 11111111 [...]&lt;br /&gt;
                 4:11111111 11111111 11111111 11111111 [...]&lt;br /&gt;
                 7:11111111 11111111 11111111 11111111 [...]&lt;br /&gt;
&lt;br /&gt;
              The  comma-separated  list is processed from left to right, i.e.&lt;br /&gt;
              items farther to the right override previous items. For  example&lt;br /&gt;
              1=CS,1=MISO will set the name of probe 1 to MISO.&lt;br /&gt;
&lt;br /&gt;
              Also,  while  5=MOSI,6=MISO will only select probes 5 and 6, and&lt;br /&gt;
              set  their  names  to  MISO   and   MOSI,   the   command   line&lt;br /&gt;
              5=MOSI,6=MISO,1-8  will select probes 1-8 (including 5 and 6, of&lt;br /&gt;
              course), but the names specified for probes  5  and  6  will  be&lt;br /&gt;
              reset to the defaults by the 1-8 probe selection.&lt;br /&gt;
&lt;br /&gt;
       -t, --triggers &amp;lt;triggerlist&amp;gt;&lt;br /&gt;
              A   comma-separated  list  of  triggers  to  use,  of  the  form&lt;br /&gt;
              &amp;lt;probe&amp;gt;=&amp;lt;trigger&amp;gt;.  You can use the name or number of the probe,&lt;br /&gt;
              and the trigger itself is a series of characters:&lt;br /&gt;
&lt;br /&gt;
              0 or 1: A low or high value on the pin.&lt;br /&gt;
              r  or  f: A rising or falling value on the pin. An r effectively&lt;br /&gt;
              corresponds to 01.&lt;br /&gt;
              c: Any kind of change on a pin.&lt;br /&gt;
&lt;br /&gt;
              Not every device supports all of these trigger types. Use the -d&lt;br /&gt;
              &amp;lt;device-id&amp;gt;  argument  (with  no  other  arguments) to see which&lt;br /&gt;
              triggers your device supports.&lt;br /&gt;
&lt;br /&gt;
       -i, --input-file &amp;lt;filename&amp;gt;&lt;br /&gt;
              Load input from a file instead of a device.&lt;br /&gt;
&lt;br /&gt;
       -o, --output-file &amp;lt;filename&amp;gt;&lt;br /&gt;
              Write output to a file instead of stdout.&lt;br /&gt;
&lt;br /&gt;
       -f, --format &amp;lt;formatname&amp;gt;&lt;br /&gt;
              Set the output format to use.&lt;br /&gt;
&lt;br /&gt;
              Supported formats currently include bits,  hex,  ascii,  binary,&lt;br /&gt;
              vcd, ols, gnuplot, and analog.&lt;br /&gt;
&lt;br /&gt;
              The bits or hex formats, for an ASCII bit display or ASCII hexa‐&lt;br /&gt;
              decimal display, can be optionally followed by a length argument&lt;br /&gt;
              specifying  the  number  of samples (in bits). Thus hex128 would&lt;br /&gt;
              display 128 bits per line, in hexadecimal:&lt;br /&gt;
&lt;br /&gt;
               1:ffff ffff ffff ffff ffff ffff ffff ffff&lt;br /&gt;
               2:ff00 ff00 ff00 ff00 ff00 ff00 ff00 ff00&lt;br /&gt;
&lt;br /&gt;
              The lines always start  with  the  probe  number  (or  name,  if&lt;br /&gt;
              defined),  followed  by  a  colon. If no format is specified, it&lt;br /&gt;
              defaults to bits64, like this:&lt;br /&gt;
&lt;br /&gt;
               1:11111111 11111111 11111111 11111111 [...]&lt;br /&gt;
               2:11111111 00000000 11111111 00000000 [...]&lt;br /&gt;
&lt;br /&gt;
       --time &amp;lt;ms&amp;gt;&lt;br /&gt;
              Sample for &amp;lt;ms&amp;gt; milliseconds, then quit. You can optionally fol‐&lt;br /&gt;
              low  the  number  by  s to state the number of seconds to sample&lt;br /&gt;
              instead. For example, --time 2s will sample for two seconds.&lt;br /&gt;
&lt;br /&gt;
       --samples &amp;lt;numsamples&amp;gt;&lt;br /&gt;
              Acquire &amp;lt;numsamples&amp;gt; samples, then quit.&lt;br /&gt;
&lt;br /&gt;
       --continuous&lt;br /&gt;
              Sample continuously until stopped. Not all devices support this.&lt;br /&gt;
&lt;br /&gt;
       -h, --help&lt;br /&gt;
              Show a help text and exit.&lt;br /&gt;
&lt;br /&gt;
EXAMPLES&lt;br /&gt;
       In order to get exactly 100 samples from the (only) detected logic ana‐&lt;br /&gt;
       lyzer hardware, run the following command:&lt;br /&gt;
&lt;br /&gt;
         sigrok-cli --samples 100&lt;br /&gt;
&lt;br /&gt;
       If you want to sample data for 3 seconds, use:&lt;br /&gt;
&lt;br /&gt;
         sigrok-cli --time 3000&lt;br /&gt;
&lt;br /&gt;
       Alternatively, you can also use:&lt;br /&gt;
&lt;br /&gt;
         sigrok-cli --time 3s&lt;br /&gt;
&lt;br /&gt;
       To  capture  data from 4 probes lasting 100ms at 10 MHz starting at the&lt;br /&gt;
       trigger condition 1:high, 2:rising, 3:low, 4:high, use:&lt;br /&gt;
&lt;br /&gt;
         sigrok-cli -f bits -p 1-4 --time 100 -d demo:samplerate=10m \&lt;br /&gt;
                    --wait-trigger --triggers 1=1,2=r,3=0,4=1&lt;br /&gt;
&lt;br /&gt;
EXIT STATUS&lt;br /&gt;
       sigrok-cli exits with 0 on success, 1 on most failures.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO&lt;br /&gt;
       sigrok-gui(1)&lt;br /&gt;
&lt;br /&gt;
BUGS&lt;br /&gt;
       Please report any  bugs  on  the  sigrok-devel  mailing  list  (sigrok-&lt;br /&gt;
       devel@lists.souceforge.net).&lt;br /&gt;
&lt;br /&gt;
LICENSE&lt;br /&gt;
       sigrok-cli  is  covered  by  the GNU General Public License (GPL). Some&lt;br /&gt;
       portions are licensed under the &amp;quot;GPL v2 or later&amp;quot;, some under  &amp;quot;GPL  v3&lt;br /&gt;
       or later&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
AUTHORS&lt;br /&gt;
       Please see the individual source code files.&lt;br /&gt;
&lt;br /&gt;
       This  manual  page was written by Uwe Hermann &amp;lt;uwe@hermann-uwe.de&amp;gt;.  It&lt;br /&gt;
       is licensed under the terms of the GNU GPL (version 2 or later).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ksjoberg</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Sigrok-cli&amp;diff=1166</id>
		<title>Sigrok-cli</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Sigrok-cli&amp;diff=1166"/>
		<updated>2011-11-01T22:41:48Z</updated>

		<summary type="html">&lt;p&gt;Ksjoberg: Update command lines to the current option set in git.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;pre&amp;gt;&lt;br /&gt;
NAME&lt;br /&gt;
       sigrok-cli - Command-line client for the sigrok logic analyzer software&lt;br /&gt;
&lt;br /&gt;
SYNOPSIS&lt;br /&gt;
       sigrok-cli [-VDdptoIfh] [-V|--version] [-D|--list-devices] [-d|--device&lt;br /&gt;
       devid[:option]]    [-p|--probes    probelist]    [-t|--triggers     triggerlist]&lt;br /&gt;
       [-o|--output-file  filename]  [-i|--input-file  filename]  [-f|--format&lt;br /&gt;
       formatname]   [--time   ms]   [--samples   numsamples]   [--continuous]&lt;br /&gt;
       [-h|--help]&lt;br /&gt;
&lt;br /&gt;
DESCRIPTION&lt;br /&gt;
       sigrok-cli  is  a  cross-platform  command  line utility for the sigrok&lt;br /&gt;
       logic analyzer software.&lt;br /&gt;
&lt;br /&gt;
       The command-line frontend for sigrok cannot display  graphical  output,&lt;br /&gt;
       but  is  still  sufficient to run through the whole process of hardware&lt;br /&gt;
       initialization, acquisition, protocol analysis and saving the session.&lt;br /&gt;
&lt;br /&gt;
       It is useful for running on remote or embedded systems, netbooks, PDAs,&lt;br /&gt;
       and  for  various  other  use-cases. It can display samples on standard&lt;br /&gt;
       output or save them in various file formats.&lt;br /&gt;
&lt;br /&gt;
OPTIONS&lt;br /&gt;
       -V, --version&lt;br /&gt;
              Show version, driver and module information.&lt;br /&gt;
&lt;br /&gt;
       -D, --list-devices&lt;br /&gt;
              List all logic analyzer devices found on the system.&lt;br /&gt;
&lt;br /&gt;
       -d, --device &amp;lt;devid[:option]&amp;gt;&lt;br /&gt;
              The device to use for acquisition, specified by ID  as  reported&lt;br /&gt;
              by --list-devices.&lt;br /&gt;
&lt;br /&gt;
              Device-specific option are specified as a colon separated list after the &lt;br /&gt;
              device ID. The argument  takes  the  form of option=value. A common &lt;br /&gt;
              option is samplerate, with the argument being the samplerate in Hz. &lt;br /&gt;
              You can also specify the sample rate in kHz, MHz or GHz. The following &lt;br /&gt;
              are all equivalent:&lt;br /&gt;
&lt;br /&gt;
               sigrok-cli --samples 100 -d demo:samplerate=1000000&lt;br /&gt;
               sigrok-cli --samples 100 -d demo:samplerate=1m&lt;br /&gt;
               sigrok-cli --samples 100 -d demo:&amp;quot;samplerate=1 MHz&amp;quot;&lt;br /&gt;
&lt;br /&gt;
              The  option argument  can  be  used  multiple times as&lt;br /&gt;
              needed.&lt;br /&gt;
&lt;br /&gt;
       -p, --probes &amp;lt;probelist&amp;gt;&lt;br /&gt;
              A comma-separated list of probes to be used in the session.&lt;br /&gt;
&lt;br /&gt;
              The  default is to use all the probes available on a device. You&lt;br /&gt;
              can name a probe like this: 1=CLK.  A range of probes  can  also&lt;br /&gt;
              be given, in the form 1-5.&lt;br /&gt;
&lt;br /&gt;
              Example:&lt;br /&gt;
&lt;br /&gt;
               $ sigrok-cli --samples 100 --probes 1=CLK,2-4,7&lt;br /&gt;
               CLK:11111111 11111111 11111111 11111111 [...]&lt;br /&gt;
                 2:11111111 11111111 11111111 11111111 [...]&lt;br /&gt;
                 3:11111111 11111111 11111111 11111111 [...]&lt;br /&gt;
                 4:11111111 11111111 11111111 11111111 [...]&lt;br /&gt;
                 7:11111111 11111111 11111111 11111111 [...]&lt;br /&gt;
&lt;br /&gt;
              The  comma-separated  list is processed from left to right, i.e.&lt;br /&gt;
              items farther to the right override previous items. For  example&lt;br /&gt;
              1=CS,1=MISO will set the name of probe 1 to MISO.&lt;br /&gt;
&lt;br /&gt;
              Also,  while  5=MOSI,6=MISO will only select probes 5 and 6, and&lt;br /&gt;
              set  their  names  to  MISO   and   MOSI,   the   command   line&lt;br /&gt;
              5=MOSI,6=MISO,1-8  will select probes 1-8 (including 5 and 6, of&lt;br /&gt;
              course), but the names specified for probes  5  and  6  will  be&lt;br /&gt;
              reset to the defaults by the 1-8 probe selection.&lt;br /&gt;
&lt;br /&gt;
       -t, --triggers &amp;lt;triggerlist&amp;gt;&lt;br /&gt;
              A   comma-separated  list  of  triggers  to  use,  of  the  form&lt;br /&gt;
              &amp;lt;probe&amp;gt;=&amp;lt;trigger&amp;gt;.  You can use the name or number of the probe,&lt;br /&gt;
              and the trigger itself is a series of characters:&lt;br /&gt;
&lt;br /&gt;
              0 or 1: A low or high value on the pin.&lt;br /&gt;
              r  or  f: A rising or falling value on the pin. An r effectively&lt;br /&gt;
              corresponds to 01.&lt;br /&gt;
              c: Any kind of change on a pin.&lt;br /&gt;
&lt;br /&gt;
              Not every device supports all of these trigger types. Use the -d&lt;br /&gt;
              &amp;lt;device-id&amp;gt;  argument  (with  no  other  arguments) to see which&lt;br /&gt;
              triggers your device supports.&lt;br /&gt;
&lt;br /&gt;
       -i, --input-file &amp;lt;filename&amp;gt;&lt;br /&gt;
              Load input from a file instead of a device.&lt;br /&gt;
&lt;br /&gt;
       -o, --output-file &amp;lt;filename&amp;gt;&lt;br /&gt;
              Write output to a file instead of stdout.&lt;br /&gt;
&lt;br /&gt;
       -f, --format &amp;lt;formatname&amp;gt;&lt;br /&gt;
              Set the output format to use.&lt;br /&gt;
&lt;br /&gt;
              Supported formats currently include bits,  hex,  ascii,  binary,&lt;br /&gt;
              vcd, ols, gnuplot, and analog.&lt;br /&gt;
&lt;br /&gt;
              The bits or hex formats, for an ASCII bit display or ASCII hexa‐&lt;br /&gt;
              decimal display, can be optionally followed by a length argument&lt;br /&gt;
              specifying  the  number  of samples (in bits). Thus hex128 would&lt;br /&gt;
              display 128 bits per line, in hexadecimal:&lt;br /&gt;
&lt;br /&gt;
               1:ffff ffff ffff ffff ffff ffff ffff ffff&lt;br /&gt;
               2:ff00 ff00 ff00 ff00 ff00 ff00 ff00 ff00&lt;br /&gt;
&lt;br /&gt;
              The lines always start  with  the  probe  number  (or  name,  if&lt;br /&gt;
              defined),  followed  by  a  colon. If no format is specified, it&lt;br /&gt;
              defaults to bits64, like this:&lt;br /&gt;
&lt;br /&gt;
               1:11111111 11111111 11111111 11111111 [...]&lt;br /&gt;
               2:11111111 00000000 11111111 00000000 [...]&lt;br /&gt;
&lt;br /&gt;
       --time &amp;lt;ms&amp;gt;&lt;br /&gt;
              Sample for &amp;lt;ms&amp;gt; milliseconds, then quit. You can optionally fol‐&lt;br /&gt;
              low  the  number  by  s to state the number of seconds to sample&lt;br /&gt;
              instead. For example, --time 2s will sample for two seconds.&lt;br /&gt;
&lt;br /&gt;
       --samples &amp;lt;numsamples&amp;gt;&lt;br /&gt;
              Acquire &amp;lt;numsamples&amp;gt; samples, then quit.&lt;br /&gt;
&lt;br /&gt;
       --continuous&lt;br /&gt;
              Sample continuously until stopped. Not all devices support this.&lt;br /&gt;
&lt;br /&gt;
       -h, --help&lt;br /&gt;
              Show a help text and exit.&lt;br /&gt;
&lt;br /&gt;
EXAMPLES&lt;br /&gt;
       In order to get exactly 100 samples from the (only) detected logic ana‐&lt;br /&gt;
       lyzer hardware, run the following command:&lt;br /&gt;
&lt;br /&gt;
         sigrok-cli --samples 100&lt;br /&gt;
&lt;br /&gt;
       If you want to sample data for 3 seconds, use:&lt;br /&gt;
&lt;br /&gt;
         sigrok-cli --time 3000&lt;br /&gt;
&lt;br /&gt;
       Alternatively, you can also use:&lt;br /&gt;
&lt;br /&gt;
         sigrok-cli --time 3s&lt;br /&gt;
&lt;br /&gt;
       To  capture  data from 4 probes lasting 100ms at 10 MHz starting at the&lt;br /&gt;
       trigger condition 1:high, 2:rising, 3:low, 4:high, use:&lt;br /&gt;
&lt;br /&gt;
         sigrok-cli -f bits -p 1-4 --time 100 -o samplerate=10m \&lt;br /&gt;
                    --wait-trigger --triggers 1=1,2=r,3=0,4=1&lt;br /&gt;
&lt;br /&gt;
EXIT STATUS&lt;br /&gt;
       sigrok-cli exits with 0 on success, 1 on most failures.&lt;br /&gt;
&lt;br /&gt;
SEE ALSO&lt;br /&gt;
       sigrok-gui(1)&lt;br /&gt;
&lt;br /&gt;
BUGS&lt;br /&gt;
       Please report any  bugs  on  the  sigrok-devel  mailing  list  (sigrok-&lt;br /&gt;
       devel@lists.souceforge.net).&lt;br /&gt;
&lt;br /&gt;
LICENSE&lt;br /&gt;
       sigrok-cli  is  covered  by  the GNU General Public License (GPL). Some&lt;br /&gt;
       portions are licensed under the &amp;quot;GPL v2 or later&amp;quot;, some under  &amp;quot;GPL  v3&lt;br /&gt;
       or later&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
AUTHORS&lt;br /&gt;
       Please see the individual source code files.&lt;br /&gt;
&lt;br /&gt;
       This  manual  page was written by Uwe Hermann &amp;lt;uwe@hermann-uwe.de&amp;gt;.  It&lt;br /&gt;
       is licensed under the terms of the GNU GPL (version 2 or later).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Ksjoberg</name></author>
	</entry>
	<entry>
		<id>https://sigrok.org/w/index.php?title=Mac_OS_X&amp;diff=1164</id>
		<title>Mac OS X</title>
		<link rel="alternate" type="text/html" href="https://sigrok.org/w/index.php?title=Mac_OS_X&amp;diff=1164"/>
		<updated>2011-11-01T00:00:05Z</updated>

		<summary type="html">&lt;p&gt;Ksjoberg: /* How to build and run the Qt GUI */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[File:sigrok macosx.png|right|thumb|320px|sigrok-gui on Mac OS X]]&lt;br /&gt;
&lt;br /&gt;
This page describes how to build sigrok on Mac OS X.&lt;br /&gt;
&lt;br /&gt;
== How to build and run the Qt GUI ==&lt;br /&gt;
These instructions have been tested on a clean Mac OS X 10.6.8 install.&lt;br /&gt;
&lt;br /&gt;
Step 1. Install MacPorts, follow guide on http://www.macports.org/install.php. (This step will require Xcode on your machine, which is also a dependency to build sigrok)&lt;br /&gt;
&lt;br /&gt;
Step 2. Install qt, download qt-mac-opensource-4.7.4.dmg from http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x&lt;br /&gt;
&lt;br /&gt;
Step 3. Install git.&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install git-core&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
	This will also pull in a bunch of dependencies required by git-core (and some of them also by sigrok). &lt;br /&gt;
&lt;br /&gt;
Step 4. Install libusb, libzip and libftdi, Sigrok build dependencies.&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install libusb&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install libzip&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo port install libftdi&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Step 5. Enter some directory where you want to store the sigrok source, and check it out.&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd some-directory&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;git clone git://sigrok.git.sourceforge.net/gitroot/sigrok/sigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Step 6. Enter the sigrok source directory.&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd sigrok&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Step 7. Generate the platform specific configure script.&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./autogen.sh&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Step 8. Generate the Makefiles for the current environment.&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;./configure&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Step 9. Compile the Sigrok libraries and the sigrok-cli.&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Step 10. Install Sigrok libraries and the sigrok-cli to /usr/local/lib/ and /usr/local/bin/&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;sudo make install&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Step 11. Enter the gui directory.&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;cd gui&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Step 12. Prepare the Qt project to be built using make.&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;PKG_CONFIG_PATH=/usr/local/lib/pkgconfig qmake -spec macx-g++&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Step 13. Compile the sigrok-gui application.&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;make&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Step 14. Open the sigrok-gui application just built.&lt;br /&gt;
 $ &amp;#039;&amp;#039;&amp;#039;open -a sigrok-gui.app&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
To build on Snow Leopard (10.6) you need to use the [http://qt.nokia.com/downloads/qt-for-open-source-cpp-development-on-mac-os-x Cocoa (32bit and 64bit) Qt libraries]. Don&amp;#039;t use the default download link on that page but the one you can find further down the page.&lt;br /&gt;
&lt;br /&gt;
Currently we are using [http://www.macports.org/ macports] for the libusb dependency and are relying on the fact that macports are installed in /opt/local.&lt;br /&gt;
&lt;br /&gt;
== TODO ==&lt;br /&gt;
&lt;br /&gt;
* Find a sane way to bundle libusb with the sigrok.app.&lt;br /&gt;
* Include an icon with the app.&lt;br /&gt;
* [[Mac OS X/Dylib|Set the relative paths in the binary&amp;#039;s and DyLibs]]&lt;br /&gt;
* [[Mac OS X/Universal| Building universal DyLibs and binaries]]&lt;br /&gt;
&lt;br /&gt;
== Resources ==&lt;br /&gt;
&lt;br /&gt;
* [http://doc.trolltech.com/qq/qq09-mac-deployment.html Qt: Deploying Applications on Mac OS X]&lt;br /&gt;
* [http://developer.apple.com/mac/library/documentation/CoreFoundation/Conceptual/CFBundles/Introduction/Introduction.html#//apple_ref/doc/uid/10000123i-CH1-SW1 Documentation about bundles]&lt;/div&gt;</summary>
		<author><name>Ksjoberg</name></author>
	</entry>
</feed>