[edf68ad] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY qrencode-download-http "https://fukuchi.org/works/qrencode/qrencode-&qrencode-version;.tar.bz2">
|
---|
| 8 | <!ENTITY qrencode-download-ftp " ">
|
---|
| 9 | <!ENTITY qrencode-md5sum "de7185bcab635a34730e1b73d4efa705">
|
---|
| 10 | <!ENTITY qrencode-size "451 KB">
|
---|
| 11 | <!ENTITY qrencode-buildsize "5.0 MB (with documentation, add 5 MB for tests)">
|
---|
| 12 | <!ENTITY qrencode-time "less than 0.1 SBU, add 0.1 SBU for tests">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
[a0232fc3] | 15 | <sect1 id="qrencode" xreflabel="qrencode-&qrencode-version;">
|
---|
[edf68ad] | 16 | <?dbhtml filename="qrencode.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
[a0232fc3] | 19 | <title>qrencode-&qrencode-version;</title>
|
---|
[edf68ad] | 20 |
|
---|
| 21 | <indexterm zone="qrencode">
|
---|
| 22 | <primary sortas="a-libqrencode">libqrencode</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
[a0232fc3] | 26 | <title>Introduction to qrencode</title>
|
---|
[edf68ad] | 27 |
|
---|
| 28 | <para>
|
---|
[a0232fc3] | 29 | <application>Qrencode</application> is a fast and compact library
|
---|
[edf68ad] | 30 | for encoding data in a QR Code symbol, a 2D symbology that can be
|
---|
[206e0be] | 31 | scanned by handheld terminals such as a mobile phone with a CCD sensor.
|
---|
[edf68ad] | 32 | </para>
|
---|
| 33 |
|
---|
[aa0b625] | 34 | &lfs112_checked;
|
---|
[edf68ad] | 35 |
|
---|
| 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&qrencode-download-http;"/>
|
---|
| 41 | </para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&qrencode-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>
|
---|
| 50 | Download MD5 sum: &qrencode-md5sum;
|
---|
| 51 | </para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>
|
---|
| 55 | Download size: &qrencode-size;
|
---|
| 56 | </para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>
|
---|
| 60 | Estimated disk space required: &qrencode-buildsize;
|
---|
| 61 | </para>
|
---|
| 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Estimated build time: &qrencode-time;
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
[a0232fc3] | 70 | <bridgehead renderas="sect3">Qrencode Dependencies</bridgehead>
|
---|
[edf68ad] | 71 |
|
---|
| 72 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 73 | <para role="recommended">
|
---|
| 74 | <xref linkend="libpng"/>
|
---|
| 75 | </para>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 78 | <para role="optional">
|
---|
| 79 | <xref linkend="doxygen"/> for generating documentation, and
|
---|
| 80 | <xref linkend="sdl2"/> for tests
|
---|
| 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <para condition="html" role="usernotes">
|
---|
| 84 | User Notes: <ulink url="&blfs-wiki;/qrencode"/>
|
---|
| 85 | </para>
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2 role="installation">
|
---|
[a0232fc3] | 89 | <title>Installation of qrencode</title>
|
---|
[edf68ad] | 90 |
|
---|
| 91 | <para>
|
---|
| 92 | Install <application>libqrencode</application> by running the following
|
---|
| 93 | commands:
|
---|
| 94 | </para>
|
---|
| 95 |
|
---|
| 96 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 97 | make</userinput></screen>
|
---|
| 98 |
|
---|
| 99 | <para>
|
---|
| 100 | If you have installed <xref linkend="doxygen"/>, you can build
|
---|
| 101 | the documentation by issuing:
|
---|
| 102 | </para>
|
---|
| 103 |
|
---|
| 104 | <screen remap="doc"><userinput>doxygen</userinput></screen>
|
---|
| 105 |
|
---|
| 106 | <para>
|
---|
| 107 | The tests must be run after installing the package.
|
---|
| 108 | </para>
|
---|
| 109 |
|
---|
| 110 | <para>
|
---|
| 111 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 112 | </para>
|
---|
| 113 |
|
---|
| 114 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 115 |
|
---|
| 116 | <para>
|
---|
| 117 | If you have built the optional documentation, install it as the
|
---|
| 118 | <systemitem class="username">root</systemitem> user:
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
| 121 | <screen role="root"
|
---|
| 122 | remap="doc"><userinput>install -vdm 755 /usr/share/doc/qrencode-&qrencode-version; &&
|
---|
| 123 | mv html/* /usr/share/doc/qrencode-&qrencode-version;</userinput></screen>
|
---|
| 124 |
|
---|
| 125 | <para>
|
---|
| 126 | To test the results, if you have passed the <option>--with-tests</option>
|
---|
| 127 | option to <command>configure</command>, issue:
|
---|
| 128 | <command>make check</command>.
|
---|
| 129 | </para>
|
---|
| 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | <sect2 role="commands">
|
---|
| 133 | <title>Command Explanations</title>
|
---|
| 134 |
|
---|
| 135 | <para>
|
---|
| 136 | <option>--with-tests</option>: This option allows building the test
|
---|
| 137 | programs. It requires <xref linkend="sdl2"/>.
|
---|
| 138 | </para>
|
---|
| 139 |
|
---|
| 140 | <para>
|
---|
| 141 | <option>--without-tools</option>: This option prevents building the
|
---|
| 142 | <command>qrencode</command> executable, removing the need for
|
---|
| 143 | <xref linkend="libpng"/>.
|
---|
| 144 | </para>
|
---|
| 145 | </sect2>
|
---|
| 146 |
|
---|
| 147 | <sect2 role="content">
|
---|
| 148 | <title>Contents</title>
|
---|
| 149 |
|
---|
| 150 | <segmentedlist>
|
---|
| 151 | <segtitle>Installed Program</segtitle>
|
---|
| 152 | <segtitle>Installed Library</segtitle>
|
---|
| 153 | <segtitle>Installed Directory</segtitle>
|
---|
| 154 |
|
---|
| 155 | <seglistitem>
|
---|
| 156 | <seg>
|
---|
[206e0be] | 157 | qrencode
|
---|
[edf68ad] | 158 | </seg>
|
---|
| 159 | <seg>
|
---|
[206e0be] | 160 | libqrencode.so
|
---|
[edf68ad] | 161 | </seg>
|
---|
| 162 | <seg>
|
---|
[206e0be] | 163 | /usr/share/doc/qrencode-&qrencode-version; (optional)
|
---|
[edf68ad] | 164 | </seg>
|
---|
| 165 | </seglistitem>
|
---|
| 166 | </segmentedlist>
|
---|
| 167 |
|
---|
| 168 | <variablelist>
|
---|
| 169 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 170 | <?dbfo list-presentation="list"?>
|
---|
| 171 | <?dbhtml list-presentation="table"?>
|
---|
| 172 |
|
---|
| 173 | <varlistentry id="qrencode-prog">
|
---|
| 174 | <term><command>qrencode</command></term>
|
---|
| 175 | <listitem>
|
---|
| 176 | <para>
|
---|
[4c24eb0a] | 177 | encodes input data in a QR Code and saves it as a PNG or EPS image
|
---|
[edf68ad] | 178 | </para>
|
---|
| 179 | <indexterm zone="qrencode qrencode-prog">
|
---|
| 180 | <primary sortas="b-qrencode">qrencode</primary>
|
---|
| 181 | </indexterm>
|
---|
| 182 | </listitem>
|
---|
| 183 | </varlistentry>
|
---|
| 184 |
|
---|
| 185 | <varlistentry id="libqrencode">
|
---|
| 186 | <term><filename class="libraryfile">libqrencode.so</filename></term>
|
---|
| 187 | <listitem>
|
---|
| 188 | <para>
|
---|
[4c24eb0a] | 189 | contains functions for encoding data in a QR code symbol
|
---|
[edf68ad] | 190 | </para>
|
---|
| 191 | <indexterm zone="qrencode libqrencode">
|
---|
| 192 | <primary sortas="c-libqrencode">libqrencode.so</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 | </variablelist>
|
---|
| 197 | </sect2>
|
---|
[4c24eb0a] | 198 |
|
---|
[edf68ad] | 199 | </sect1>
|
---|