source: server/databases/sqlite.xml@ 3ef383c

11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 3ef383c was 8e874375, checked in by Bruce Dubbs <bdubbs@…>, 19 months ago

Update to sqlite-autoconf-3400100.

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