source: general/graphlib/qrencode.xml@ 730fb6b8

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 730fb6b8 was edf68ad, checked in by Pierre Labastie <pieere@…>, 3 years ago

Add forgotten qrencode.xml

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24043 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.8 KB
Line 
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
15<sect1 id="qrencode" xreflabel="libqrencode-&qrencode-version;">
16 <?dbhtml filename="qrencode.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Libqrencode-&qrencode-version;</title>
24
25 <indexterm zone="qrencode">
26 <primary sortas="a-libqrencode">libqrencode</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Libqrencode</title>
31
32 <para>
33 <application>Libqrencode</application> is a fast and compact library
34 for encoding data in a QR Code symbol, a 2D symbology that can be
35 scanned by handheld terminals such as a mobile phone with CCD.
36 </para>
37
38 &lfs10_checked;
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
74 <bridgehead renderas="sect3">Libqrencode Dependencies</bridgehead>
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">
93 <title>Installation of Libqrencode</title>
94
95 <para>
96 Install <application>libqrencode</application> by running the following
97 commands:
98 </para>
99
100<screen><userinput>./configure --prefix=/usr &amp;&amp;
101make</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; &amp;&amp;
127mv 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>
161 qrencode.
162 </seg>
163 <seg>
164 libqrencode.so.
165 </seg>
166 <seg>
167 /usr/share/doc/qrencode-&qrencode-version; (optional).
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>
181 encodes input data in a QR Code and save as a PNG or EPS image.
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>
193 contains functions for encoding data in a QR code symbol.
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>
202</sect1>
Note: See TracBrowser for help on using the repository browser.