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 gtksourceview5-download-http "&gnome-download-http;/gtksourceview/5.14/gtksourceview->ksourceview5-version;.tar.xz">
|
---|
8 | <!ENTITY gtksourceview5-download-ftp " ">
|
---|
9 | <!ENTITY gtksourceview5-md5sum "1136514f8cda9022c513d378c6a217c1">
|
---|
10 | <!ENTITY gtksourceview5-size "1.2 MB">
|
---|
11 | <!ENTITY gtksourceview5-buildsize "39 MB">
|
---|
12 | <!ENTITY gtksourceview5-time "0.2 SBU (with tests; both using parallelism=4)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gtksourceview5" xreflabel="gtksourceview5->ksourceview5-version;">
|
---|
16 | <?dbhtml filename="gtksourceview5.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>gtksourceview5->ksourceview5-version;</title>
|
---|
20 |
|
---|
21 | <indexterm zone="gtksourceview5">
|
---|
22 | <primary sortas="a-gtksourceview5">gtksourceview5</primary>
|
---|
23 | </indexterm>
|
---|
24 |
|
---|
25 | <sect2 role="package">
|
---|
26 | <title>Introduction to GtkSourceView</title>
|
---|
27 |
|
---|
28 | <para>
|
---|
29 | The <application>GtkSourceView</application> package contains
|
---|
30 | a library used for extending the <application>GTK</application>
|
---|
31 | text functions to include syntax highlighting.
|
---|
32 | </para>
|
---|
33 |
|
---|
34 | &lfs122_checked;
|
---|
35 |
|
---|
36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
37 | <itemizedlist spacing="compact">
|
---|
38 | <listitem>
|
---|
39 | <para>
|
---|
40 | Download (HTTP): <ulink url=">ksourceview5-download-http;"/>
|
---|
41 | </para>
|
---|
42 | </listitem>
|
---|
43 | <listitem>
|
---|
44 | <para>
|
---|
45 | Download (FTP): <ulink url=">ksourceview5-download-ftp;"/>
|
---|
46 | </para>
|
---|
47 | </listitem>
|
---|
48 | <listitem>
|
---|
49 | <para>
|
---|
50 | Download MD5 sum: >ksourceview5-md5sum;
|
---|
51 | </para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download size: >ksourceview5-size;
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Estimated disk space required: >ksourceview5-buildsize;
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Estimated build time: >ksourceview5-time;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | </itemizedlist>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect3">GtkSourceView Dependencies</bridgehead>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
73 | <para role="required">
|
---|
74 | <xref linkend="gtk4"/> and
|
---|
75 | <xref linkend="pcre2"/>
|
---|
76 | </para>
|
---|
77 |
|
---|
78 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
79 | <para role="recommended">
|
---|
80 | &gobject-introspection; and
|
---|
81 | <xref linkend="libxml2"/>
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
85 | <para role="optional">
|
---|
86 | <xref linkend="gi-docgen"/>,
|
---|
87 | <!--<xref linkend="sysprof"/>,-->
|
---|
88 | <xref linkend="vala"/>,
|
---|
89 | <xref linkend="valgrind"/>,
|
---|
90 | <xref linkend="vulkan-loader"/>, and
|
---|
91 | <ulink url="&sysprof-url;">sysprof</ulink>
|
---|
92 | <!--<ulink url="https://www.vulkan.org/">Vulkan</ulink>-->
|
---|
93 | </para>
|
---|
94 |
|
---|
95 | </sect2>
|
---|
96 |
|
---|
97 | <sect2 role="installation">
|
---|
98 | <title>Installation of GtkSourceView</title>
|
---|
99 |
|
---|
100 | <para>
|
---|
101 | Install <application>GtkSourceView</application> by running the following
|
---|
102 | commands:
|
---|
103 | </para>
|
---|
104 |
|
---|
105 | <screen><userinput>mkdir build &&
|
---|
106 | cd build &&
|
---|
107 |
|
---|
108 | meson setup --prefix=/usr --buildtype=release .. &&
|
---|
109 | ninja</userinput></screen>
|
---|
110 |
|
---|
111 | <para>
|
---|
112 | To test the results, issue: <command>ninja test</command>.
|
---|
113 | </para>
|
---|
114 |
|
---|
115 | <para>
|
---|
116 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
117 | </para>
|
---|
118 |
|
---|
119 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
120 | </sect2>
|
---|
121 |
|
---|
122 | <sect2 role="commands">
|
---|
123 | <title>Command Explanations</title>
|
---|
124 |
|
---|
125 | <para>
|
---|
126 | <option>-D documentation=true</option>: Use this switch if you have
|
---|
127 | <xref linkend="gi-docgen"/> installed and wish to generate the API
|
---|
128 | documentation.
|
---|
129 | </para>
|
---|
130 |
|
---|
131 | <para>
|
---|
132 | <option>-D sysprof=true</option>: Use this switch if you have
|
---|
133 | <ulink url="&sysprof-url;">sysprof</ulink> installed and wish to build
|
---|
134 | with sysprof profiler support.
|
---|
135 | </para>
|
---|
136 | </sect2>
|
---|
137 |
|
---|
138 | <sect2 role="content">
|
---|
139 | <title>Contents</title>
|
---|
140 |
|
---|
141 | <segmentedlist>
|
---|
142 | <segtitle>Installed Programs</segtitle>
|
---|
143 | <segtitle>Installed Libraries</segtitle>
|
---|
144 | <segtitle>Installed Directories</segtitle>
|
---|
145 |
|
---|
146 | <seglistitem>
|
---|
147 | <seg>
|
---|
148 | None
|
---|
149 | </seg>
|
---|
150 | <seg>
|
---|
151 | libgtksourceview-5.so
|
---|
152 | </seg>
|
---|
153 | <seg>
|
---|
154 | /usr/include/gtksourceview-5 and
|
---|
155 | /usr/share/gtksourceview-5
|
---|
156 | </seg>
|
---|
157 | </seglistitem>
|
---|
158 | </segmentedlist>
|
---|
159 |
|
---|
160 | <variablelist>
|
---|
161 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
162 | <?dbfo list-presentation="list"?>
|
---|
163 | <?dbhtml list-presentation="table"?>
|
---|
164 |
|
---|
165 | <varlistentry id="libgtksourceview-5">
|
---|
166 | <term><filename class="libraryfile">libgtksourceview-5.so</filename></term>
|
---|
167 | <listitem>
|
---|
168 | <para>
|
---|
169 | contains function extensions for the GtkTextView widget
|
---|
170 | </para>
|
---|
171 | <indexterm zone="gtksourceview5 libgtksourceview-5">
|
---|
172 | <primary sortas="c-libgtksourceview-5">libgtksourceview-5.so</primary>
|
---|
173 | </indexterm>
|
---|
174 | </listitem>
|
---|
175 | </varlistentry>
|
---|
176 | </variablelist>
|
---|
177 | </sect2>
|
---|
178 | </sect1>
|
---|