source: general/genlib/protobuf-c.xml@ d0c049f

lazarus trunk
Last change on this file since d0c049f was 0f8c44b7, checked in by Douglas R. Reno <renodr@…>, 3 months ago

Add protobuf-c to the book.

This is in support of libshumate, but can also be used by Unbound.

  • Property mode set to 100644
File size: 4.7 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 protobuf-c-download-http "https://github.com/protobuf-c/protobuf-c/releases/download/v&protobuf-c-version;/protobuf-c-&protobuf-c-version;.tar.gz">
8 <!ENTITY protobuf-c-md5sum "03030a3994b9f89ef166336048992484">
9 <!ENTITY protobuf-c-size "496 KB">
10 <!ENTITY protobuf-c-buildsize "60 MB">
11 <!ENTITY protobuf-c-time "0.6 SBU">
12]>
13
14<sect1 id="protobuf-c" xreflabel="Protobuf-c-&protobuf-c-version;">
15 <?dbhtml filename="protobuf-c.html"?>
16
17 <title>Protobuf-c-&protobuf-c-version;</title>
18
19 <indexterm zone="protobuf-c">
20 <primary sortas="a-protobuf-c">Protobuf-c</primary>
21 </indexterm>
22
23 <sect2 role="package">
24 <title>Introduction to Protobuf-c</title>
25
26 <para>
27 The <application>Protobuf-c</application> package contains an
28 implementation of the Google Protocol Buffers data serialization format
29 in C.
30 </para>
31
32 &lfs121_checked;
33
34 <bridgehead renderas="sect3">Package Information</bridgehead>
35 <itemizedlist spacing="compact">
36 <listitem>
37 <para>
38 Download (HTTP): <ulink url="&protobuf-c-download-http;"/>
39 </para>
40 </listitem>
41 <listitem>
42 <para>
43 Download MD5 sum: &protobuf-c-md5sum;
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download size: &protobuf-c-size;
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Estimated disk space required: &protobuf-c-buildsize;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Estimated build time: &protobuf-c-time;
59 </para>
60 </listitem>
61 </itemizedlist>
62
63 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
64 <itemizedlist spacing="compact">
65 <listitem>
66 <para>
67 Required patch:
68 <ulink url="&patch-root;/protobuf-c-&protobuf-c-version;-consolidated_fixes-1.patch"/>
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Protobuf-c Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="protobuf"/>
78 </para>
79
80 <bridgehead renderas="sect4">Optional</bridgehead>
81 <para role="optional">
82 <xref linkend="doxygen"/>
83 </para>
84
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of Protobuf-c</title>
89
90 <para>
91 Install <application>Protobuf-c</application> by running the following
92 commands:
93 </para>
94
95<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
96make</userinput></screen>
97
98 <para>
99 To test the results, issue: <command>make check</command>.
100 </para>
101
102 <para>
103 Now, as the &root; user:
104 </para>
105
106<screen role="root"><userinput>make install</userinput></screen>
107
108 </sect2>
109
110 <sect2 role="commands">
111 <title>Command Explanations</title>
112
113 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
114 href="../../xincludes/static-libraries.xml"/>
115
116 </sect2>
117
118 <sect2 role="content">
119 <title>Contents</title>
120
121 <segmentedlist>
122 <segtitle>Installed Programs</segtitle>
123 <segtitle>Installed Libraries</segtitle>
124 <segtitle>Installed Directories</segtitle>
125
126 <seglistitem>
127 <seg>
128 protoc-gen-c and protoc-c (symlinked to protoc-gen-c)
129 </seg>
130 <seg>
131 libprotobuf-c.so
132 </seg>
133 <seg>
134 /usr/include/google and
135 /usr/include/protobuf-c
136 </seg>
137 </seglistitem>
138 </segmentedlist>
139
140 <variablelist>
141 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
142 <?dbfo list-presentation="list"?>
143 <?dbhtml list-presentation="table"?>
144
145 <varlistentry id="protoc-c">
146 <term><command>protoc-c</command></term>
147 <listitem>
148 <para>
149 generates C descriptor code from a .proto file
150 </para>
151 <indexterm zone="protobuf-c protoc-c">
152 <primary sortas="b-protoc-c">protoc-c</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 <varlistentry id="libprotobuf-c">
158 <term><filename class="libraryfile">libprotobuf-c.so</filename></term>
159 <listitem>
160 <para>
161 contains a C implementation of the Google Protocol Buffers data
162 serialization format
163 </para>
164 <indexterm zone="protobuf-c libprotobuf-c">
165 <primary sortas="c-libprotobuf-c">libprotobuf-c.so</primary>
166 </indexterm>
167 </listitem>
168 </varlistentry>
169 </variablelist>
170 </sect2>
171</sect1>
Note: See TracBrowser for help on using the repository browser.