source: x/lib/gtksourceview4.xml@ c6b192c

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 c6b192c was c6b192c, checked in by Xi Ruoyao <xry111@…>, 3 years ago

secure package download URLs

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24436 af4574ff-66df-0310-9fd7-8a98e5e911e0

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