[9d31900] | 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 |
|
---|
[8b4b69e] | 7 | <!ENTITY gtksourceview5-download-http "&gnome-download-http;/gtksourceview/5.8/gtksourceview->ksourceview5-version;.tar.xz">
|
---|
| 8 | <!ENTITY gtksourceview5-download-ftp "&gnome-download-ftp;/gtksourceview/5.8/gtksourceview->ksourceview5-version;.tar.xz">
|
---|
| 9 | <!ENTITY gtksourceview5-md5sum "7ea7348d059c210b8bf7428af4ddbcbc">
|
---|
[09acc5d] | 10 | <!ENTITY gtksourceview5-size "1.2 MB">
|
---|
[8b4b69e] | 11 | <!ENTITY gtksourceview5-buildsize "47 MB">
|
---|
[3470d743] | 12 | <!ENTITY gtksourceview5-time "0.2 SBU (with tests; both using parallelism=4)">
|
---|
[9d31900] | 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 |
|
---|
[dc1a45e] | 34 | &lfs113_checked;
|
---|
[9d31900] | 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 | <xref linkend="gobject-introspection"/> and
|
---|
| 81 | <xref linkend="libxml2"/>
|
---|
| 82 | </para>
|
---|
| 83 |
|
---|
| 84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 85 | <para role="optional">
|
---|
| 86 | <xref linkend="gtk-doc"/>,
|
---|
| 87 | <xref linkend="sysprof"/>,
|
---|
[8b4b69e] | 88 | <xref linkend="vala"/>,
|
---|
| 89 | <xref linkend="valgrind"/>, and
|
---|
| 90 | <ulink url="https://www.vulkan.org/">Vulkan</ulink>
|
---|
[9d31900] | 91 | </para>
|
---|
| 92 |
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="installation">
|
---|
| 96 | <title>Installation of GtkSourceView</title>
|
---|
| 97 |
|
---|
| 98 | <para>
|
---|
| 99 | Install <application>GtkSourceView</application> by running the following
|
---|
| 100 | commands:
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <screen><userinput>mkdir build &&
|
---|
| 104 | cd build &&
|
---|
| 105 |
|
---|
[91318eb] | 106 | meson setup --prefix=/usr --buildtype=release .. &&
|
---|
[9d31900] | 107 | ninja</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | <para>
|
---|
| 110 | To test the results, issue: <command>ninja test</command>.
|
---|
| 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <para>
|
---|
| 114 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 115 | </para>
|
---|
| 116 |
|
---|
| 117 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 118 | </sect2>
|
---|
| 119 |
|
---|
| 120 | <sect2 role="commands">
|
---|
| 121 | <title>Command Explanations</title>
|
---|
| 122 |
|
---|
| 123 | <para>
|
---|
| 124 | <option>-Dgtk_doc=true</option>: Use this switch if you have
|
---|
| 125 | <xref linkend="gtk-doc"/> installed and wish to generate the API
|
---|
| 126 | documentation.
|
---|
| 127 | </para>
|
---|
[8558044] | 128 |
|
---|
[9d31900] | 129 | <para>
|
---|
| 130 | <option>-Dsysprof=true</option>: Use this switch if you have
|
---|
| 131 | <xref linkend="sysprof"/> installed and wish to build with sysprof
|
---|
| 132 | profiler support.
|
---|
| 133 | </para>
|
---|
| 134 | </sect2>
|
---|
| 135 |
|
---|
| 136 | <sect2 role="content">
|
---|
| 137 | <title>Contents</title>
|
---|
| 138 |
|
---|
| 139 | <segmentedlist>
|
---|
| 140 | <segtitle>Installed Programs</segtitle>
|
---|
| 141 | <segtitle>Installed Libraries</segtitle>
|
---|
| 142 | <segtitle>Installed Directories</segtitle>
|
---|
| 143 |
|
---|
| 144 | <seglistitem>
|
---|
| 145 | <seg>
|
---|
| 146 | None
|
---|
| 147 | </seg>
|
---|
| 148 | <seg>
|
---|
| 149 | libgtksourceview-5.so
|
---|
| 150 | </seg>
|
---|
| 151 | <seg>
|
---|
| 152 | /usr/include/gtksourceview-5 and
|
---|
| 153 | /usr/share/gtksourceview-5
|
---|
| 154 | </seg>
|
---|
| 155 | </seglistitem>
|
---|
| 156 | </segmentedlist>
|
---|
| 157 |
|
---|
| 158 | <variablelist>
|
---|
| 159 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 160 | <?dbfo list-presentation="list"?>
|
---|
| 161 | <?dbhtml list-presentation="table"?>
|
---|
| 162 |
|
---|
| 163 | <varlistentry id="libgtksourceview-5">
|
---|
| 164 | <term><filename class="libraryfile">libgtksourceview-5.so</filename></term>
|
---|
| 165 | <listitem>
|
---|
| 166 | <para>
|
---|
| 167 | contains function extensions for the GtkTextView widget
|
---|
| 168 | </para>
|
---|
| 169 | <indexterm zone="gtksourceview5 libgtksourceview-5">
|
---|
| 170 | <primary sortas="c-libgtksourceview-5">libgtksourceview-5.so</primary>
|
---|
| 171 | </indexterm>
|
---|
| 172 | </listitem>
|
---|
| 173 | </varlistentry>
|
---|
| 174 | </variablelist>
|
---|
| 175 | </sect2>
|
---|
| 176 | </sect1>
|
---|