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