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