[7baaf2a] | 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 |
|
---|
| 7 | <!ENTITY gtksourceview4-download-http
|
---|
[28df041] | 8 | "&gnome-download-http;/gtksourceview/4.8/gtksourceview->ksourceview4-version;.tar.xz">
|
---|
[7baaf2a] | 9 | <!ENTITY gtksourceview4-download-ftp
|
---|
[28df041] | 10 | "&gnome-download-ftp;/gtksourceview/4.8/gtksourceview->ksourceview4-version;.tar.xz">
|
---|
[7dabddd] | 11 | <!ENTITY gtksourceview4-md5sum "2bf056caaae27654ec3a5930dd5597d3">
|
---|
[12b10249] | 12 | <!ENTITY gtksourceview4-size "1.1 MB">
|
---|
[7dabddd] | 13 | <!ENTITY gtksourceview4-buildsize "71 MB (with tests)">
|
---|
[2c3969a] | 14 | <!ENTITY gtksourceview4-time "0.1 SBU (with tests; both using parallelism=4)">
|
---|
[7baaf2a] | 15 | ]>
|
---|
| 16 |
|
---|
| 17 | <sect1 id="gtksourceview4" xreflabel="gtksourceview4->ksourceview4-version;">
|
---|
| 18 | <?dbhtml filename="gtksourceview4.html"?>
|
---|
| 19 |
|
---|
| 20 |
|
---|
| 21 | <title>gtksourceview4->ksourceview4-version;</title>
|
---|
| 22 |
|
---|
| 23 | <indexterm zone="gtksourceview4">
|
---|
| 24 | <primary sortas="a-gtksourceview4">gtksourceview4</primary>
|
---|
| 25 | </indexterm>
|
---|
| 26 |
|
---|
| 27 | <sect2 role="package">
|
---|
| 28 | <title>Introduction to GtkSourceView</title>
|
---|
| 29 |
|
---|
| 30 | <para>
|
---|
| 31 | The <application>GtkSourceView</application> package contains
|
---|
| 32 | libraries used for extending the <application>GTK+</application>
|
---|
| 33 | text functions to include syntax highlighting.
|
---|
| 34 | </para>
|
---|
| 35 |
|
---|
[9d0d597f] | 36 | &lfs120_checked;
|
---|
[7baaf2a] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url=">ksourceview4-download-http;"/>
|
---|
| 43 | </para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url=">ksourceview4-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download MD5 sum: >ksourceview4-md5sum;
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download size: >ksourceview4-size;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Estimated disk space required: >ksourceview4-buildsize;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated build time: >ksourceview4-time;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
[09acc5d] | 72 | <!--
|
---|
[5d2965c] | 73 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 74 | <itemizedlist spacing="compact">
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>
|
---|
| 77 | Required patch:
|
---|
| 78 | <ulink url="&patch-root;/gtksourceview4->ksourceview4-version;-buildfix-1.patch"/>
|
---|
| 79 | </para>
|
---|
| 80 | </listitem>
|
---|
| 81 | </itemizedlist>
|
---|
[09acc5d] | 82 | -->
|
---|
[5d2965c] | 83 |
|
---|
[7baaf2a] | 84 | <bridgehead renderas="sect3">GtkSourceView Dependencies</bridgehead>
|
---|
| 85 |
|
---|
| 86 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 87 | <para role="required">
|
---|
| 88 | <xref linkend="gtk3"/>
|
---|
| 89 | </para>
|
---|
| 90 |
|
---|
| 91 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 92 | <para role="recommended">
|
---|
[cb5164ad] | 93 | <xref linkend="gobject-introspection"/> and
|
---|
| 94 | <xref linkend="libxml2"/>
|
---|
[7baaf2a] | 95 | </para>
|
---|
| 96 |
|
---|
| 97 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 98 | <para role="optional">
|
---|
| 99 | <xref linkend="vala"/>,
|
---|
| 100 | <xref linkend="valgrind"/>,
|
---|
| 101 | <xref linkend="gtk-doc"/>,
|
---|
| 102 | <xref linkend="itstool"/>,
|
---|
| 103 | <xref linkend="fop"/> (or
|
---|
[c6b192c] | 104 | <ulink url="https://sourceforge.net/projects/dblatex/">dblatex</ulink>),
|
---|
[7baaf2a] | 105 | and
|
---|
[87fc185] | 106 | <ulink url="https://glade.gnome.org/">Glade</ulink>
|
---|
[7baaf2a] | 107 | </para>
|
---|
| 108 |
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="installation">
|
---|
| 112 | <title>Installation of GtkSourceView</title>
|
---|
| 113 |
|
---|
[09acc5d] | 114 | <!--
|
---|
[5d2965c] | 115 | <para>
|
---|
| 116 | First, apply a patch to prevent a race condition:
|
---|
| 117 | </para>
|
---|
| 118 |
|
---|
| 119 | <screen><userinput remap="pre">patch -Np1 -i ../gtksourceview4->ksourceview4-version;-buildfix-1.patch</userinput></screen>
|
---|
[09acc5d] | 120 | -->
|
---|
[5d2965c] | 121 |
|
---|
[7baaf2a] | 122 | <para>
|
---|
| 123 | Install <application>GtkSourceView</application> by running the
|
---|
| 124 | following commands:
|
---|
| 125 | </para>
|
---|
| 126 |
|
---|
[12b10249] | 127 | <screen><userinput>mkdir build &&
|
---|
| 128 | cd build &&
|
---|
[7baaf2a] | 129 |
|
---|
[91318eb] | 130 | meson setup --prefix=/usr --buildtype=release .. &&
|
---|
[12b10249] | 131 | ninja</userinput></screen>
|
---|
[7baaf2a] | 132 |
|
---|
| 133 | <para>
|
---|
[12b10249] | 134 | To test the results, issue <command>ninja test</command>. The tests need
|
---|
[7baaf2a] | 135 | to be run in a graphical environment.
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
| 138 | <para>
|
---|
| 139 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 140 | </para>
|
---|
| 141 |
|
---|
[12b10249] | 142 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
[7baaf2a] | 143 |
|
---|
| 144 | </sect2>
|
---|
| 145 |
|
---|
| 146 | <sect2 role="commands">
|
---|
| 147 | <title>Command Explanations</title>
|
---|
| 148 |
|
---|
[baac59c] | 149 | <para>
|
---|
| 150 | <option>-Dgtk_doc=true</option>: This option is normally
|
---|
[8558044] | 151 | used if <application>GTK-Doc</application> is installed and you wish
|
---|
[baac59c] | 152 | to rebuild and install the API documentation.
|
---|
| 153 | </para>
|
---|
[7baaf2a] | 154 |
|
---|
| 155 | </sect2>
|
---|
| 156 |
|
---|
| 157 | <sect2 role="content">
|
---|
| 158 | <title>Contents</title>
|
---|
| 159 |
|
---|
| 160 | <segmentedlist>
|
---|
| 161 | <segtitle>Installed Programs</segtitle>
|
---|
| 162 | <segtitle>Installed Library</segtitle>
|
---|
| 163 | <segtitle>Installed Directories</segtitle>
|
---|
| 164 |
|
---|
| 165 | <seglistitem>
|
---|
| 166 | <seg>
|
---|
| 167 | None
|
---|
| 168 | </seg>
|
---|
| 169 | <seg>
|
---|
| 170 | libgtksourceview-4.so
|
---|
| 171 | </seg>
|
---|
| 172 | <seg>
|
---|
| 173 | /usr/{include,share,share/gtk-doc/html}/gtksourceview-4
|
---|
| 174 | </seg>
|
---|
| 175 | </seglistitem>
|
---|
| 176 | </segmentedlist>
|
---|
| 177 |
|
---|
| 178 | <variablelist>
|
---|
| 179 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 180 | <?dbfo list-presentation="list"?>
|
---|
| 181 | <?dbhtml list-presentation="table"?>
|
---|
| 182 |
|
---|
| 183 | <varlistentry id="libgtksourceview-4">
|
---|
| 184 | <term><filename class="libraryfile">libgtksourceview-4.so</filename></term>
|
---|
| 185 | <listitem>
|
---|
| 186 | <para>
|
---|
[4c24eb0a] | 187 | contains function extensions for the GtkTextView widget
|
---|
[7baaf2a] | 188 | </para>
|
---|
| 189 | <indexterm zone="gtksourceview4 libgtksourceview-4">
|
---|
| 190 | <primary sortas="c-libgtksourceview-4">libgtksourceview-4.so</primary>
|
---|
| 191 | </indexterm>
|
---|
| 192 | </listitem>
|
---|
| 193 | </varlistentry>
|
---|
| 194 |
|
---|
| 195 | </variablelist>
|
---|
| 196 |
|
---|
| 197 | </sect2>
|
---|
| 198 |
|
---|
| 199 | </sect1>
|
---|