source: x/lib/gtksourceview4.xml@ 6469488

11.0 11.1 11.2 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 upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 6469488 was 6469488, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Add --buildtype=release for Cap 24-28

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