source: x/lib/gtksourceview4.xml@ 775d5f4

12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 775d5f4 was 9d0d597f, checked in by Bruce Dubbs <bdubbs@…>, 10 months ago

Tag most of Chapter 25.

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