source: server/databases/sqlite.xml@ f45ae67

11.0 ken/refactor-virt lazarus qt5new trunk
Last change on this file since f45ae67 was f45ae67, checked in by Thomas Trepl (Moody) <thomas@…>, 6 months ago

Upgrade sqlite-3.35.5

  • Property mode set to 100644
File size: 7.4 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 sqlite-dl-version "3350500">
8 <!ENTITY sqlite-doc-version "3350500">
9
10<!-- When updating, do not forget the above entities -->
11
12 <!ENTITY sqlite-download-http "https://sqlite.org/2021/sqlite-autoconf-&sqlite-dl-version;.tar.gz">
13 <!ENTITY sqlite-download-ftp " ">
14 <!ENTITY sqlite-md5sum "d1d1aba394c8e0443077dc9f1a681bb8">
15 <!ENTITY sqlite-size "2.8 MB">
16 <!ENTITY sqlite-buildsize "139 MB">
17 <!ENTITY sqlite-time "0.3 SBU (Using parallelism=4)">
18
19 <!ENTITY sqlite-docs-download "https://sqlite.org/2021/sqlite-doc-&sqlite-doc-version;.zip">
20 <!ENTITY sqlite-docs-md5sum "443a02b504e1f91d08f2bac04ac90181">
21 <!ENTITY sqlite-docs-size "9.8 MB">
22]>
23
24<sect1 id="sqlite" xreflabel="SQLite-&sqlite-version;">
25 <?dbhtml filename="sqlite.html"?>
26
27 <sect1info>
28 <date>$Date$</date>
29 </sect1info>
30
31 <title>SQLite-&sqlite-version;</title>
32
33 <indexterm zone="sqlite">
34 <primary sortas="a-SQLite">SQLite</primary>
35 </indexterm>
36
37 <sect2 role="package">
38 <title>Introduction to SQLite</title>
39
40 <para>
41 The <application>SQLite</application> package is a software library that
42 implements a self-contained, serverless, zero-configuration, transactional
43 SQL database engine.
44 </para>
45
46 &lfs101_checked;
47
48 <bridgehead renderas="sect3">Package Information</bridgehead>
49 <itemizedlist spacing="compact">
50 <listitem>
51 <para>
52 Download (HTTP): <ulink url="&sqlite-download-http;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download (FTP): <ulink url="&sqlite-download-ftp;"/>
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download MD5 sum: &sqlite-md5sum;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Download size: &sqlite-size;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated disk space required: &sqlite-buildsize;
73 </para>
74 </listitem>
75 <listitem>
76 <para>
77 Estimated build time: &sqlite-time;
78 </para>
79 </listitem>
80 </itemizedlist>
81
82 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
83 <itemizedlist spacing="compact">
84 <title>Optional Documentation</title>
85 <listitem>
86 <para>
87 Download (HTTP): <ulink url="&sqlite-docs-download;"/>
88 </para>
89 </listitem>
90 <listitem>
91 <para>
92 Download MD5 sum: &sqlite-docs-md5sum;
93 </para>
94 </listitem>
95 <listitem>
96 <para>
97 Download size: &sqlite-docs-size;
98 </para>
99 </listitem>
100 </itemizedlist>
101
102 <bridgehead renderas="sect3">SQLite Dependencies</bridgehead>
103
104 <bridgehead renderas="sect4">Optional</bridgehead>
105 <para role="optional">
106 <ulink url="http://www.thrysoee.dk/editline/">libedit</ulink> and
107 <xref linkend="unzip"/> (required to unzip the documentation)
108 </para>
109
110 <para condition="html" role="usernotes">
111 User Notes: <ulink url="&blfs-wiki;/sqlite"/>
112 </para>
113 </sect2>
114
115 <sect2 role="installation">
116 <title>Installation of SQLite</title>
117
118 <para>
119 If you downloaded the optional documentation, issue the following command
120 to install the documentation into the source tree:
121 </para>
122
123<screen><userinput>unzip -q ../sqlite-doc-&sqlite-doc-version;.zip</userinput></screen>
124
125 <para>
126 Install <application>SQLite</application> by running the following
127 commands:
128 </para>
129
130<screen><userinput>./configure --prefix=/usr \
131 --disable-static \
132 --enable-fts5 \
133 CPPFLAGS="-DSQLITE_ENABLE_FTS3=1 \
134 -DSQLITE_ENABLE_FTS4=1 \
135 -DSQLITE_ENABLE_COLUMN_METADATA=1 \
136 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
137 -DSQLITE_ENABLE_DBSTAT_VTAB=1 \
138 -DSQLITE_SECURE_DELETE=1 \
139 -DSQLITE_ENABLE_FTS3_TOKENIZER=1" &amp;&amp;
140make</userinput></screen>
141
142 <para>
143 This package does not come with a test suite.
144 </para>
145
146 <para>
147 Now, as the <systemitem class="username">root</systemitem> user:
148 </para>
149
150<screen role="root"><userinput>make install</userinput></screen>
151
152 <para>
153 If you downloaded the optional documentation, issue the following commands
154 as the <systemitem class="username">root</systemitem> user to install it:
155 </para>
156
157<screen role="root"><userinput>install -v -m755 -d /usr/share/doc/sqlite-&sqlite-version; &amp;&amp;
158cp -v -R sqlite-doc-&sqlite-doc-version;/* /usr/share/doc/sqlite-&sqlite-version;</userinput></screen>
159
160 </sect2>
161
162 <sect2 role="commands">
163 <title>Command Explanations</title>
164
165 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
166 href="../../xincludes/static-libraries.xml"/>
167
168 <para>
169 <parameter>--enable-fts5</parameter>: This switch enables support for
170 version 5 of the full text search extension.
171 </para>
172
173 <para>
174 <parameter>CPPFLAGS="-DSQLITE_ENABLE_FTS3=1
175 -DSQLITE_ENABLE_FTS3_TOKENIZER=1
176 -DSQLITE_ENABLE_FTS4=1
177 -DSQLITE_ENABLE_COLUMN_METADATA=1
178 -DSQLITE_SECURE_DELETE
179 -DSQLITE_ENABLE_UNLOCK_NOTIFY=1
180 -DSQLITE_ENABLE_DBSTAT_VTAB=1"</parameter>: Applications such as
181 <application>SeaMonkey</application> require these options
182 to be turned on.
183 The only way to do this is to include them in
184 the <envar>CFLAGS</envar> or <envar>CPPFLAGS</envar>.
185 We use the latter so the default value (or any value set by the user)
186 of <envar>CFLAGS</envar> won't be affected.
187 For further information on what can be specified see <ulink
188 url="http://www.sqlite.org/compile.html"/>.
189 </para>
190
191 </sect2>
192
193 <sect2 role="content">
194 <title>Contents</title>
195
196 <segmentedlist>
197 <segtitle>Installed Program</segtitle>
198 <segtitle>Installed Library</segtitle>
199 <segtitle>Installed Directory</segtitle>
200
201 <seglistitem>
202 <seg>
203 sqlite3
204 </seg>
205 <seg>
206 libsqlite3.so
207 </seg>
208 <seg>
209 /usr/share/doc/sqlite-&sqlite-version;
210 </seg>
211 </seglistitem>
212 </segmentedlist>
213
214 <variablelist>
215 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
216 <?dbfo list-presentation="list"?>
217 <?dbhtml list-presentation="table"?>
218
219 <varlistentry id="sqlite3">
220 <term><command>sqlite3</command></term>
221 <listitem>
222 <para>
223 is a terminal-based front-end to the <application>SQLite</application>
224 library that can evaluate queries interactively and display the
225 results
226 </para>
227 <indexterm zone="sqlite sqlite3">
228 <primary sortas="b-sqlite3">sqlite3</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="libsqlite3">
234 <term><filename class="libraryfile">libsqlite3.so</filename></term>
235 <listitem>
236 <para>
237 contains the <application>SQLite</application> API functions
238 </para>
239 <indexterm zone="sqlite libsqlite3">
240 <primary sortas="c-libsqlite3">libsqlite3.so</primary>
241 </indexterm>
242 </listitem>
243 </varlistentry>
244
245 </variablelist>
246
247 </sect2>
248
249</sect1>
Note: See TracBrowser for help on using the repository browser.