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