source: x/lib/gtksourceview.xml@ e89b2a0

gimp3 trunk
Last change on this file since e89b2a0 was 4872e66, checked in by Douglas R. Reno <renodr@…>, 6 weeks ago

gtksourceview: fix building with GCC 14.

  • Property mode set to 100644
File size: 5.0 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 gtksourceview-download-http
8 "&gnome-download-http;/gtksourceview/&gnome-minor-24;/gtksourceview-&gtksourceview-version;.tar.xz">
9 <!ENTITY gtksourceview-download-ftp " ">
10 <!ENTITY gtksourceview-md5sum "b748da426a7d64e1304f0c532b0f2a67">
11 <!ENTITY gtksourceview-size "1.4 MB">
12 <!ENTITY gtksourceview-buildsize "80 MB (with tests)">
13 <!ENTITY gtksourceview-time "0.2 SBU (using parallelism=4; with tests)">
14]>
15
16<sect1 id="gtksourceview" xreflabel="gtksourceview-&gtksourceview-version;">
17 <?dbhtml filename="gtksourceview.html"?>
18
19
20 <title>gtksourceview-&gtksourceview-version;</title>
21
22 <indexterm zone="gtksourceview">
23 <primary sortas="a-gtksourceview">gtksourceview</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="&gtksourceview-download-http;"/>
42 </para>
43 </listitem>
44 <listitem>
45 <para>
46 Download (FTP): <ulink url="&gtksourceview-download-ftp;"/>
47 </para>
48 </listitem>
49 <listitem>
50 <para>
51 Download MD5 sum: &gtksourceview-md5sum;
52 </para>
53 </listitem>
54 <listitem>
55 <para>
56 Download size: &gtksourceview-size;
57 </para>
58 </listitem>
59 <listitem>
60 <para>
61 Estimated disk space required: &gtksourceview-buildsize;
62 </para>
63 </listitem>
64 <listitem>
65 <para>
66 Estimated build time: &gtksourceview-time;
67 </para>
68 </listitem>
69 </itemizedlist>
70
71 <bridgehead renderas="sect3">GtkSourceView Dependencies</bridgehead>
72
73 <bridgehead renderas="sect4">Required</bridgehead>
74 <para role="required">
75 <xref linkend="gtk3"/>
76 </para>
77
78 <bridgehead renderas="sect4">Recommended</bridgehead>
79 <para role="recommended">
80 &gobject-introspection;
81 </para>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
85 <xref linkend="vala"/>,
86 <xref linkend="valgrind"/>,
87 <xref linkend="gtk-doc"/>,
88 <xref linkend="itstool"/>,
89 <xref linkend="fop"/> (or
90 <ulink url="https://sourceforge.net/projects/dblatex/">dblatex</ulink>),
91 and
92 <ulink url="https://glade.gnome.org/">Glade</ulink>
93 </para>
94
95 </sect2>
96
97 <sect2 role="installation">
98 <title>Installation of GtkSourceView</title>
99
100 <para>
101 First, fix building this package with gcc-14:
102 </para>
103
104 <screen><userinput remap="pre">sed -i 's/g_object_ref (buffer)/g_object_ref (GTK_SOURCE_BUFFER (buffer))/' gtksourceview/gtksourceview.c</userinput></screen>
105
106 <para>
107 Install <application>GtkSourceView</application> by running the
108 following commands:
109 </para>
110
111<screen><userinput>./configure --prefix=/usr &amp;&amp;
112make</userinput></screen>
113
114
115 <para>
116 To test the results, issue <command>make check</command>. The tests need
117 to be run in a graphical environment.
118 </para>
119
120 <para>
121 Now, as the <systemitem class="username">root</systemitem> user:
122 </para>
123
124<screen role="root"><userinput>make install</userinput></screen>
125
126 </sect2>
127
128 <sect2 role="commands">
129 <title>Command Explanations</title>
130
131 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
132 href="../../xincludes/gtk-doc-rebuild.xml"/>
133
134 </sect2>
135
136 <sect2 role="content">
137 <title>Contents</title>
138
139 <segmentedlist>
140 <segtitle>Installed Programs</segtitle>
141 <segtitle>Installed Library</segtitle>
142 <segtitle>Installed Directories</segtitle>
143
144 <seglistitem>
145 <seg>
146 None
147 </seg>
148 <seg>
149 libgtksourceview-3.0.so
150 </seg>
151 <seg>
152 /usr/{include,share,share/gtk-doc/html}/gtksourceview-3.0
153 </seg>
154 </seglistitem>
155 </segmentedlist>
156
157 <variablelist>
158 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
159 <?dbfo list-presentation="list"?>
160 <?dbhtml list-presentation="table"?>
161
162 <varlistentry id="libgtksourceview-3">
163 <term><filename class="libraryfile">libgtksourceview-3.0.so</filename></term>
164 <listitem>
165 <para>
166 contains function extensions for the GtkTextView widget
167 </para>
168 <indexterm zone="gtksourceview libgtksourceview-3">
169 <primary sortas="c-libgtksourceview-3">libgtksourceview-3.0.so</primary>
170 </indexterm>
171 </listitem>
172 </varlistentry>
173
174 </variablelist>
175
176 </sect2>
177
178</sect1>
Note: See TracBrowser for help on using the repository browser.