source: networking/netlibs/nghttp2.xml@ 7b459c22

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 xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 7b459c22 was 7b459c22, checked in by Bruce Dubbs <bdubbs@…>, 20 months ago

Add Cython python module.

  • Property mode set to 100644
File size: 6.0 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 nghttp2-download-http "https://github.com/nghttp2/nghttp2/releases/download/v&nghttp2-version;/nghttp2-&nghttp2-version;.tar.xz">
8 <!ENTITY nghttp2-download-ftp " ">
9 <!ENTITY nghttp2-md5sum "4030ed6e6c01dcab9418e0008cef424d">
10 <!ENTITY nghttp2-size "3.9 MB">
11 <!ENTITY nghttp2-buildsize "24 MB">
12 <!ENTITY nghttp2-time "0.1 SBU">
13]>
14
15<sect1 id="nghttp2" xreflabel="nghttp2-&nghttp2-version;">
16 <?dbhtml filename="nghttp2.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>nghttp2-&nghttp2-version;</title>
23
24 <indexterm zone="nghttp2">
25 <primary sortas="a-nghttp2">nghttp2</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to nghttp2</title>
30
31 <para>
32 <application>nghttp2</application> is an implementation of HTTP/2 and
33 its header compression algorithm, HPACK.
34 </para>
35
36 &lfs112_checked;
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>
42 Download (HTTP): <ulink url="&nghttp2-download-http;"/>
43 </para>
44 </listitem>
45 <listitem>
46 <para>
47 Download (FTP): <ulink url="&nghttp2-download-ftp;"/>
48 </para>
49 </listitem>
50 <listitem>
51 <para>
52 Download MD5 sum: &nghttp2-md5sum;
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download size: &nghttp2-size;
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Estimated disk space required: &nghttp2-buildsize;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Estimated build time: &nghttp2-time;
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect3">nghttp2 Dependencies</bridgehead>
73
74 <bridgehead renderas="sect4">Recommended</bridgehead>
75 <para role="required">
76 <xref linkend="libxml2"/>
77 </para>
78
79 <bridgehead renderas="sect4">Optional</bridgehead>
80 <para role="optional">
81 <xref linkend="boost"/>, <!--required for the C++ asio library)-->
82 <xref linkend="c-ares"/>, <!-- required to build the HPACK tools -->
83 <xref linkend="cython"/>, <!-- required to python bindings -->
84 <xref linkend="jansson"/>, <!-- required to build the HPACK tools -->
85 <xref linkend="libevent"/>, <!--required to build the examples-->
86 <!--<xref linkend="python2"/>,--> <!--required for the python bindings)-->
87<!--- <phrase revision="systemd">
88 <xref linkend="setuptools"/>, <!- -(required for the python bindings- ->
89 </phrase> -->
90 <ulink url="http://cunit.sourceforge.net/">CUnit</ulink> (required for
91 the testsuite),
92<!-- <ulink url="http://www.digip.org/jansson/">Jansson</ulink>, <!- -required
93 to build the HPACK tools-->
94 <ulink url="https://jemalloc.net/">jemalloc</ulink>,
95 <!--required for the example HTTP server-->
96 <ulink url="http://software.schmorp.de/pkg/libev.html">libev</ulink>,
97 <!--required to build the applications-->
98 <ulink url="https://mruby.org/">mruby</ulink>, <!--provides ruby support
99 in the sample HTTP server-->
100<!-- <phrase revision="sysv">
101 <ulink url="https://pypi.python.org/pypi/setuptools/">Setuptools</ulink>,
102 </phrase> -->
103 <ulink url="https://tatsuhiro-t.github.io/spdylay/">Spdylay</ulink>, and
104 <!--provide SPDY functionality-->
105 <ulink url="https://www.sphinx-doc.org/">Sphinx</ulink>. <!--required to build
106 documentation-->
107 </para>
108
109 <para condition="html" role="usernotes">
110 User Notes: <ulink url="&blfs-wiki;/nghttp2"/>
111 </para>
112 </sect2>
113
114 <sect2 role="installation">
115 <title>Installation of nghttp2</title>
116
117 <para>
118 Install <application>nghttp2</application> by running the following
119 commands:
120 </para>
121
122<screen><userinput>./configure --prefix=/usr \
123 --disable-static \
124 --enable-lib-only \
125 --docdir=/usr/share/doc/nghttp2-&nghttp2-version; &amp;&amp;
126make</userinput></screen>
127
128 <para>
129 The test suite needs CUnit, which is beyond the scope of BLFS.
130 </para>
131
132 <para>
133 Now, as the <systemitem class="username">root</systemitem> user:
134 </para>
135
136<screen role="root"><userinput>make install</userinput></screen>
137
138 </sect2>
139
140 <sect2 role="commands">
141 <title>Command Explanations</title>
142
143 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
144 href="../../xincludes/static-libraries.xml"/>
145
146 <para>
147 <parameter>--enable-lib-only</parameter>: only build libnghttp2. Omit
148 this switch if you'd like to build the example applications, Python
149 bindings, or the C++ asio library.
150 </para>
151
152 </sect2>
153
154 <sect2 role="content">
155 <title>Contents</title>
156
157 <segmentedlist>
158 <segtitle>Installed Programs</segtitle>
159 <segtitle>Installed Libraries</segtitle>
160 <segtitle>Installed Directories</segtitle>
161
162 <seglistitem>
163 <seg>
164 None
165 </seg>
166 <seg>
167 libnghttp2.so
168 </seg>
169 <seg>
170 /usr/include/nghttp2,
171 /usr/share/nghttp2, and
172 /usr/share/doc/nghttp2-&nghttp2-version;
173 </seg>
174 </seglistitem>
175 </segmentedlist>
176
177 <variablelist>
178 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
179 <?dbfo list-presentation="list"?>
180 <?dbhtml list-presentation="table"?>
181
182 <varlistentry id="libnghttp2">
183 <term><filename class="libraryfile">libnghttp2.so</filename></term>
184 <listitem>
185 <para>
186 an implementation of the Hypertext Transfer Protocol version 2 in C
187 </para>
188 <indexterm zone="nghttp2 libnghttp2">
189 <primary sortas="c-libnghttp2">libnghttp2.so</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 </variablelist>
195
196 </sect2>
197
198</sect1>
Note: See TracBrowser for help on using the repository browser.