[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 |
|
---|
[09acc5d] | 7 | <!ENTITY gtksourceview5-download-http "&gnome-download-http;/gtksourceview/5.2/gtksourceview->ksourceview5-version;.tar.xz">
|
---|
| 8 | <!ENTITY gtksourceview5-download-ftp "&gnome-download-ftp;/gtksourceview/5.2/gtksourceview->ksourceview5-version;.tar.xz">
|
---|
| 9 | <!ENTITY gtksourceview5-md5sum "0258374209704cc595b00000e93e3c4d">
|
---|
| 10 | <!ENTITY gtksourceview5-size "1.2 MB">
|
---|
| 11 | <!ENTITY gtksourceview5-buildsize "39 MB">
|
---|
[9d31900] | 12 | <!ENTITY gtksourceview5-time "0.2 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="gtksourceview5" xreflabel="gtksourceview5->ksourceview5-version;">
|
---|
| 16 | <?dbhtml filename="gtksourceview5.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>gtksourceview5->ksourceview5-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="gtksourceview5">
|
---|
| 25 | <primary sortas="a-gtksourceview5">gtksourceview5</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to GtkSourceView</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | The <application>GtkSourceView</application> package contains
|
---|
| 33 | a library used for extending the <application>GTK</application>
|
---|
| 34 | text functions to include syntax highlighting.
|
---|
| 35 | </para>
|
---|
| 36 |
|
---|
[6a4996f] | 37 | &lfs110a_checked;
|
---|
[9d31900] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url=">ksourceview5-download-http;"/>
|
---|
| 44 | </para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url=">ksourceview5-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>
|
---|
| 53 | Download MD5 sum: >ksourceview5-md5sum;
|
---|
| 54 | </para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>
|
---|
| 58 | Download size: >ksourceview5-size;
|
---|
| 59 | </para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>
|
---|
| 63 | Estimated disk space required: >ksourceview5-buildsize;
|
---|
| 64 | </para>
|
---|
| 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>
|
---|
| 68 | Estimated build time: >ksourceview5-time;
|
---|
| 69 | </para>
|
---|
| 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">GtkSourceView Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 76 | <para role="required">
|
---|
| 77 | <xref linkend="gtk4"/> and
|
---|
| 78 | <xref linkend="pcre2"/>
|
---|
| 79 | </para>
|
---|
| 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 82 | <para role="recommended">
|
---|
| 83 | <xref linkend="gobject-introspection"/> and
|
---|
| 84 | <xref linkend="libxml2"/>
|
---|
| 85 | </para>
|
---|
| 86 |
|
---|
| 87 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 88 | <para role="optional">
|
---|
| 89 | <xref linkend="gtk-doc"/>,
|
---|
| 90 | <xref linkend="sysprof"/>,
|
---|
| 91 | <xref linkend="vala"/>, and
|
---|
| 92 | <xref linkend="valgrind"/>
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <para condition="html" role="usernotes">
|
---|
| 96 | User Notes: <ulink url="&blfs-wiki;/gtksourceview5"/>
|
---|
| 97 | </para>
|
---|
| 98 | </sect2>
|
---|
| 99 |
|
---|
| 100 | <sect2 role="installation">
|
---|
| 101 | <title>Installation of GtkSourceView</title>
|
---|
| 102 |
|
---|
| 103 | <para>
|
---|
| 104 | Install <application>GtkSourceView</application> by running the following
|
---|
| 105 | commands:
|
---|
| 106 | </para>
|
---|
| 107 |
|
---|
| 108 | <screen><userinput>mkdir build &&
|
---|
| 109 | cd build &&
|
---|
| 110 |
|
---|
[6469488] | 111 | meson --prefix=/usr --buildtype=release .. &&
|
---|
[9d31900] | 112 | ninja</userinput></screen>
|
---|
| 113 |
|
---|
| 114 | <para>
|
---|
| 115 | To test the results, issue: <command>ninja test</command>.
|
---|
| 116 | </para>
|
---|
| 117 |
|
---|
| 118 | <para>
|
---|
| 119 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 120 | </para>
|
---|
| 121 |
|
---|
| 122 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
| 125 | <sect2 role="commands">
|
---|
| 126 | <title>Command Explanations</title>
|
---|
| 127 |
|
---|
| 128 | <para>
|
---|
| 129 | <option>-Dgtk_doc=true</option>: Use this switch if you have
|
---|
| 130 | <xref linkend="gtk-doc"/> installed and wish to generate the API
|
---|
| 131 | documentation.
|
---|
| 132 | </para>
|
---|
[8558044] | 133 |
|
---|
[9d31900] | 134 | <para>
|
---|
| 135 | <option>-Dsysprof=true</option>: Use this switch if you have
|
---|
| 136 | <xref linkend="sysprof"/> installed and wish to build with sysprof
|
---|
| 137 | profiler support.
|
---|
| 138 | </para>
|
---|
| 139 | </sect2>
|
---|
| 140 |
|
---|
| 141 | <sect2 role="content">
|
---|
| 142 | <title>Contents</title>
|
---|
| 143 |
|
---|
| 144 | <segmentedlist>
|
---|
| 145 | <segtitle>Installed Programs</segtitle>
|
---|
| 146 | <segtitle>Installed Libraries</segtitle>
|
---|
| 147 | <segtitle>Installed Directories</segtitle>
|
---|
| 148 |
|
---|
| 149 | <seglistitem>
|
---|
| 150 | <seg>
|
---|
| 151 | None
|
---|
| 152 | </seg>
|
---|
| 153 | <seg>
|
---|
| 154 | libgtksourceview-5.so
|
---|
| 155 | </seg>
|
---|
| 156 | <seg>
|
---|
| 157 | /usr/include/gtksourceview-5 and
|
---|
| 158 | /usr/share/gtksourceview-5
|
---|
| 159 | </seg>
|
---|
| 160 | </seglistitem>
|
---|
| 161 | </segmentedlist>
|
---|
| 162 |
|
---|
| 163 | <variablelist>
|
---|
| 164 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 165 | <?dbfo list-presentation="list"?>
|
---|
| 166 | <?dbhtml list-presentation="table"?>
|
---|
| 167 |
|
---|
| 168 | <varlistentry id="libgtksourceview-5">
|
---|
| 169 | <term><filename class="libraryfile">libgtksourceview-5.so</filename></term>
|
---|
| 170 | <listitem>
|
---|
| 171 | <para>
|
---|
| 172 | contains function extensions for the GtkTextView widget
|
---|
| 173 | </para>
|
---|
| 174 | <indexterm zone="gtksourceview5 libgtksourceview-5">
|
---|
| 175 | <primary sortas="c-libgtksourceview-5">libgtksourceview-5.so</primary>
|
---|
| 176 | </indexterm>
|
---|
| 177 | </listitem>
|
---|
| 178 | </varlistentry>
|
---|
| 179 | </variablelist>
|
---|
| 180 | </sect2>
|
---|
| 181 | </sect1>
|
---|