source: x/lib/gtksourceview4.xml

trunk
Last change on this file was c0bc0a9, checked in by Xi Ruoyao <xry111@…>, 7 weeks ago

Update to glib-2.80.0 and gobject-introspection-1.80.0

Merge gobject-introspection into glib page to better handle a circular
dependency between these two packages.

  • Property mode set to 100644
File size: 5.5 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 gtksourceview4-download-http
8 "&gnome-download-http;/gtksourceview/4.8/gtksourceview-&gtksourceview4-version;.tar.xz">
9 <!ENTITY gtksourceview4-download-ftp " ">
10 <!ENTITY gtksourceview4-md5sum "2bf056caaae27654ec3a5930dd5597d3">
11 <!ENTITY gtksourceview4-size "1.1 MB">
12 <!ENTITY gtksourceview4-buildsize "71 MB (with tests)">
13 <!ENTITY gtksourceview4-time "0.1 SBU (with tests; both using parallelism=4)">
14]>
15
16<sect1 id="gtksourceview4" xreflabel="gtksourceview4-&gtksourceview4-version;">
17 <?dbhtml filename="gtksourceview4.html"?>
18
19
20 <title>gtksourceview4-&gtksourceview4-version;</title>
21
22 <indexterm zone="gtksourceview4">
23 <primary sortas="a-gtksourceview4">gtksourceview4</primary>
24 </indexterm>
25
26 <sect2 role="package">
27 <title>Introduction to GtkSourceView</title>
28
29 <para>
30 The <application>GtkSourceView</application> package contains
31 libraries used for extending the <application>GTK+</application>
32 text functions to include syntax highlighting.
33 </para>
34
35 &lfs121_checked;
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>
41 Download (HTTP): <ulink url="&gtksourceview4-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&gtksourceview4-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &gtksourceview4-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &gtksourceview4-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &gtksourceview4-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &gtksourceview4-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71<!--
72 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
73 <itemizedlist spacing="compact">
74 <listitem>
75 <para>
76 Required patch:
77 <ulink url="&patch-root;/gtksourceview4-&gtksourceview4-version;-buildfix-1.patch"/>
78 </para>
79 </listitem>
80 </itemizedlist>
81-->
82
83 <bridgehead renderas="sect3">GtkSourceView Dependencies</bridgehead>
84
85 <bridgehead renderas="sect4">Required</bridgehead>
86 <para role="required">
87 <xref linkend="gtk3"/>
88 </para>
89
90 <bridgehead renderas="sect4">Recommended</bridgehead>
91 <para role="recommended">
92 &gobject-introspection; and
93 <xref linkend="libxml2"/>
94 </para>
95
96 <bridgehead renderas="sect4">Optional</bridgehead>
97 <para role="optional">
98 <xref linkend="vala"/>,
99 <xref linkend="valgrind"/>,
100 <xref linkend="gtk-doc"/>,
101 <xref linkend="itstool"/>,
102 <xref linkend="fop"/> (or
103 <ulink url="https://sourceforge.net/projects/dblatex/">dblatex</ulink>),
104 and
105 <ulink url="https://glade.gnome.org/">Glade</ulink>
106 </para>
107
108 </sect2>
109
110 <sect2 role="installation">
111 <title>Installation of GtkSourceView</title>
112
113<!--
114 <para>
115 First, apply a patch to prevent a race condition:
116 </para>
117
118<screen><userinput remap="pre">patch -Np1 -i ../gtksourceview4-&gtksourceview4-version;-buildfix-1.patch</userinput></screen>
119-->
120
121 <para>
122 Install <application>GtkSourceView</application> by running the
123 following commands:
124 </para>
125
126<screen><userinput>mkdir build &amp;&amp;
127cd build &amp;&amp;
128
129meson setup --prefix=/usr --buildtype=release .. &amp;&amp;
130ninja</userinput></screen>
131
132 <para>
133 To test the results, issue <command>ninja test</command>. The tests need
134 to be run in a graphical environment.
135 </para>
136
137 <para>
138 Now, as the <systemitem class="username">root</systemitem> user:
139 </para>
140
141<screen role="root"><userinput>ninja install</userinput></screen>
142
143 </sect2>
144
145 <sect2 role="commands">
146 <title>Command Explanations</title>
147
148 <para>
149 <option>-Dgtk_doc=true</option>: This option is normally
150 used if <application>GTK-Doc</application> is installed and you wish
151 to rebuild and install the API documentation.
152 </para>
153
154 </sect2>
155
156 <sect2 role="content">
157 <title>Contents</title>
158
159 <segmentedlist>
160 <segtitle>Installed Programs</segtitle>
161 <segtitle>Installed Library</segtitle>
162 <segtitle>Installed Directories</segtitle>
163
164 <seglistitem>
165 <seg>
166 None
167 </seg>
168 <seg>
169 libgtksourceview-4.so
170 </seg>
171 <seg>
172 /usr/{include,share,share/gtk-doc/html}/gtksourceview-4
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="libgtksourceview-4">
183 <term><filename class="libraryfile">libgtksourceview-4.so</filename></term>
184 <listitem>
185 <para>
186 contains function extensions for the GtkTextView widget
187 </para>
188 <indexterm zone="gtksourceview4 libgtksourceview-4">
189 <primary sortas="c-libgtksourceview-4">libgtksourceview-4.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.