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