[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[dabe4b0] | 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 |
|
---|
[7007944] | 7 | <!ENTITY gtksourceview-download-http
|
---|
[25a8fe8] | 8 | "&gnome-download-http;/gtksourceview/&gnome-minor-24;/gtksourceview->ksourceview-version;.tar.xz">
|
---|
[f4ac7141] | 9 | <!ENTITY gtksourceview-download-ftp " ">
|
---|
[0b46520] | 10 | <!ENTITY gtksourceview-md5sum "b748da426a7d64e1304f0c532b0f2a67">
|
---|
[43751fc6] | 11 | <!ENTITY gtksourceview-size "1.4 MB">
|
---|
[ce263b7] | 12 | <!ENTITY gtksourceview-buildsize "80 MB (with tests)">
|
---|
[0b46520] | 13 | <!ENTITY gtksourceview-time "0.2 SBU (using parallelism=4; with tests)">
|
---|
[dabe4b0] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="gtksourceview" xreflabel="gtksourceview->ksourceview-version;">
|
---|
| 17 | <?dbhtml filename="gtksourceview.html"?>
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | <title>gtksourceview->ksourceview-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 |
|
---|
[6360539] | 35 | &lfs122_checked;
|
---|
[dabe4b0] | 36 |
|
---|
| 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
| 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url=">ksourceview-download-http;"/>
|
---|
| 42 | </para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url=">ksourceview-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>
|
---|
| 51 | Download MD5 sum: >ksourceview-md5sum;
|
---|
| 52 | </para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>
|
---|
| 56 | Download size: >ksourceview-size;
|
---|
| 57 | </para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para>
|
---|
| 61 | Estimated disk space required: >ksourceview-buildsize;
|
---|
| 62 | </para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Estimated build time: >ksourceview-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">
|
---|
[0489fbe] | 75 | <xref linkend="gtk3"/>
|
---|
[dabe4b0] | 76 | </para>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 79 | <para role="recommended">
|
---|
[c0bc0a9] | 80 | &gobject-introspection;
|
---|
[dabe4b0] | 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 84 | <para role="optional">
|
---|
[cde1482] | 85 | <xref linkend="vala"/>,
|
---|
[74309b58] | 86 | <xref linkend="valgrind"/>,
|
---|
[cde1482] | 87 | <xref linkend="gtk-doc"/>,
|
---|
[36bbe491] | 88 | <xref linkend="itstool"/>,
|
---|
[cde1482] | 89 | <xref linkend="fop"/> (or
|
---|
[c6b192c] | 90 | <ulink url="https://sourceforge.net/projects/dblatex/">dblatex</ulink>),
|
---|
[cde1482] | 91 | and
|
---|
[87fc185] | 92 | <ulink url="https://glade.gnome.org/">Glade</ulink>
|
---|
[dabe4b0] | 93 | </para>
|
---|
| 94 |
|
---|
| 95 | </sect2>
|
---|
| 96 |
|
---|
| 97 | <sect2 role="installation">
|
---|
| 98 | <title>Installation of GtkSourceView</title>
|
---|
| 99 |
|
---|
[4872e66] | 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 |
|
---|
[dabe4b0] | 106 | <para>
|
---|
| 107 | Install <application>GtkSourceView</application> by running the
|
---|
| 108 | following commands:
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 112 | make</userinput></screen>
|
---|
| 113 |
|
---|
[2cc8083] | 114 |
|
---|
[dabe4b0] | 115 | <para>
|
---|
[2cc8083] | 116 | To test the results, issue <command>make check</command>. The tests need
|
---|
[f3429309] | 117 | to be run in a graphical environment.
|
---|
[dabe4b0] | 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>
|
---|
[27747668] | 152 | /usr/{include,share,share/gtk-doc/html}/gtksourceview-3.0
|
---|
[dabe4b0] | 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>
|
---|
[4c24eb0a] | 166 | contains function extensions for the GtkTextView widget
|
---|
[dabe4b0] | 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>
|
---|