source: general/sysutils/raptor.xml

trunk
Last change on this file was 567056a, checked in by Ken Moffat <ken@…>, 2 months ago

some tags.

  • Property mode set to 100644
File size: 5.3 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 raptor-download-http "https://download.librdf.org/source/raptor2-&raptor-version;.tar.gz">
8 <!ENTITY raptor-download-ftp " ">
9 <!ENTITY raptor-md5sum "0a71f13b6eaa0a04bf411083d89d7bc2">
10 <!ENTITY raptor-size "1.7 MB">
11 <!ENTITY raptor-buildsize "25 MB (additional 2 MB for the tests)">
12 <!ENTITY raptor-time "0.1 SBU (additional 0.3 SBU for the tests)">
13]>
14
15<sect1 id="raptor" xreflabel="Raptor-&raptor-version;">
16 <?dbhtml filename="raptor.html"?>
17
18
19 <title>Raptor-&raptor-version;</title>
20
21 <indexterm zone="raptor">
22 <primary sortas="a-Raptor">Raptor</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to Raptor</title>
27
28 <para>
29 <application>Raptor</application> is a C library that provides a set of
30 parsers and serializers that generate Resource Description Framework
31 (RDF) triples.
32 </para>
33
34 &lfs121_checked;
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>
40 Download (HTTP): <ulink url="&raptor-download-http;"/>
41 </para>
42 </listitem>
43 <listitem>
44 <para>
45 Download (FTP): <ulink url="&raptor-download-ftp;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download MD5 sum: &raptor-md5sum;
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download size: &raptor-size;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Estimated disk space required: &raptor-buildsize;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated build time: &raptor-time;
66 </para>
67 </listitem>
68 </itemizedlist>
69<!--
70 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
71 <itemizedlist spacing="compact">
72 <listitem>
73 <para>
74 Required patch:
75 <ulink url="&patch-root;/raptor-&raptor-version;-security_fixes-1.patch"/>
76 </para>
77 </listitem>
78 </itemizedlist>
79-->
80 <bridgehead renderas="sect3">Raptor Dependencies</bridgehead>
81
82 <bridgehead renderas="sect4">Required</bridgehead>
83 <para role="required">
84 <xref linkend="curl"/> and
85 <xref linkend="libxslt"/>
86 </para>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <xref linkend="gtk-doc"/>,
91 <xref linkend="icu"/> and
92 <ulink url="https://lloyd.github.io/yajl/">libyajl</ulink>
93 </para>
94
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of Raptor</title>
99
100 <para>
101 First, fix an incompatibility with libxml2-2.11.x:
102 </para>
103
104<screen><userinput remap="pre">sed -i 's/20627/20627 \&amp;\&amp; LIBXML_VERSION &lt; 21100/' src/raptor_libxml.c</userinput></screen>
105
106 <para>
107 Install <application>Raptor</application> by running the following
108 commands:
109 </para>
110
111<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
112make</userinput></screen>
113
114 <para>
115 To test the results, issue: <command>make check</command>.
116 Several of the XML tests may fail.
117 </para>
118
119 <para>
120 Now, as the <systemitem class="username">root</systemitem> user:
121 </para>
122
123<screen role="root"><userinput>make install</userinput></screen>
124
125 </sect2>
126
127 <sect2 role="commands">
128 <title>Command Explanations</title>
129
130 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
131 href="../../xincludes/static-libraries.xml"/>
132
133 <para>
134 <option>--with-icu-config=/usr/bin/icu-config</option>: Use
135 this switch if you have installed <xref linkend="icu"/> and wish
136 to build <application>Raptor</application> with its support.
137 </para>
138
139 </sect2>
140
141 <sect2 role="content">
142 <title>Contents</title>
143
144 <segmentedlist>
145 <segtitle>Installed Programs</segtitle>
146 <segtitle>Installed Libraries</segtitle>
147 <segtitle>Installed Directories</segtitle>
148
149 <seglistitem>
150 <seg>
151 rapper
152 </seg>
153 <seg>
154 libraptor2.so
155 </seg>
156 <seg>
157 /usr/include/raptor2 and
158 /usr/share/gtk-doc/html/raptor2
159 </seg>
160 </seglistitem>
161 </segmentedlist>
162
163 <variablelist>
164 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
165 <?dbfo list-presentation="list"?>
166 <?dbhtml list-presentation="table"?>
167
168 <varlistentry id="rapper">
169 <term><command>rapper</command></term>
170 <listitem>
171 <para>
172 is a RDF parsing and serializing utility
173 </para>
174 <indexterm zone="raptor rapper">
175 <primary sortas="b-rapper">rapper</primary>
176 </indexterm>
177 </listitem>
178 </varlistentry>
179
180 <varlistentry id="libraptor2">
181 <term><filename class="libraryfile">libraptor2.so</filename></term>
182 <listitem>
183 <para>
184 contains the <application>Raptor</application> API functions
185 </para>
186 <indexterm zone="raptor libraptor2">
187 <primary sortas="c-libraptor2">libraptor2.so</primary>
188 </indexterm>
189 </listitem>
190 </varlistentry>
191
192 </variablelist>
193
194 </sect2>
195
196</sect1>
Note: See TracBrowser for help on using the repository browser.