[3bef2f0] | 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 |
|
---|
[eb305e7b] | 7 | <!ENTITY gedit-download-http "&gnome-download-http;/gedit/&gnome-40;/gedit-&gedit-version;.tar.xz">
|
---|
| 8 | <!ENTITY gedit-download-ftp "&gnome-download-ftp;/gedit/&gnome-40;/gedit-&gedit-version;.tar.xz">
|
---|
[ad1831a] | 9 | <!ENTITY gedit-md5sum "e5cacbf3918f74dd2964fa4e174c82f3">
|
---|
[279fc64] | 10 | <!ENTITY gedit-size "6.5 MB">
|
---|
[ad1831a] | 11 | <!ENTITY gedit-buildsize "55 MB (with tests)">
|
---|
[1bcedae] | 12 | <!ENTITY gedit-time "0.3 SBU (using parallelism=4; with tests)">
|
---|
[3bef2f0] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="gedit" xreflabel="Gedit-&gedit-version;">
|
---|
| 16 | <?dbhtml filename="gedit.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <date>$Date$</date>
|
---|
| 20 | </sect1info>
|
---|
| 21 |
|
---|
| 22 | <title>Gedit-&gedit-version;</title>
|
---|
| 23 |
|
---|
| 24 | <indexterm zone="gedit">
|
---|
| 25 | <primary sortas="a-Gedit">Gedit</primary>
|
---|
| 26 | </indexterm>
|
---|
| 27 |
|
---|
| 28 | <sect2 role="package">
|
---|
| 29 | <title>Introduction to Gedit</title>
|
---|
| 30 |
|
---|
| 31 | <para>
|
---|
| 32 | The <application>Gedit</application> package contains a lightweight
|
---|
| 33 | UTF-8 text editor for the <application>GNOME</application> Desktop.
|
---|
| 34 | </para>
|
---|
| 35 |
|
---|
[c96e794] | 36 | &lfs110a_checked;
|
---|
[3bef2f0] | 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&gedit-download-http;"/>
|
---|
| 43 | </para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&gedit-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download MD5 sum: &gedit-md5sum;
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download size: &gedit-size;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Estimated disk space required: &gedit-buildsize;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated build time: &gedit-time;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect3">Gedit Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 75 | <para role="required">
|
---|
[30dece5] | 76 | <xref linkend="git"/>,
|
---|
[3bef2f0] | 77 | <xref linkend="gsettings-desktop-schemas"/>,
|
---|
[3c2936fe] | 78 | <xref linkend="gspell"/>,
|
---|
| 79 | <xref linkend="gtksourceview4"/>,
|
---|
[fbbe92f] | 80 | <xref linkend="itstool"/>,
|
---|
| 81 | <xref linkend="libpeas"/>, and
|
---|
| 82 | <xref linkend="tepl"/>
|
---|
[3bef2f0] | 83 | </para>
|
---|
| 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 86 | <para role="recommended">
|
---|
[96e9478] | 87 | <xref role="runtime" linkend="gvfs"/> (runtime),
|
---|
[fbbe92f] | 88 | <xref linkend="iso-codes"/>, and
|
---|
[3bef2f0] | 89 | <xref linkend="pygobject3"/>
|
---|
[ba056d7] | 90 | (<application>Python</application> 3 module)
|
---|
[3bef2f0] | 91 | </para>
|
---|
| 92 |
|
---|
| 93 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 94 | <para role="optional">
|
---|
[7007944] | 95 | <xref linkend="gtk-doc"/>,
|
---|
[3c2936fe] | 96 | <xref linkend="vala"/>, and
|
---|
[c6b192c] | 97 | <ulink url="https://launchpad.net/zeitgeist">zeitgeist</ulink>
|
---|
[3bef2f0] | 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <para condition="html" role="usernotes">User Notes:
|
---|
| 101 | <ulink url="&blfs-wiki;/gedit"/>
|
---|
| 102 | </para>
|
---|
| 103 | </sect2>
|
---|
| 104 |
|
---|
| 105 | <sect2 role="installation">
|
---|
| 106 | <title>Installation of Gedit</title>
|
---|
| 107 |
|
---|
[02cfd6d] | 108 | <para>
|
---|
| 109 | First fix building with recent versions of
|
---|
| 110 | <application>meson</application>:
|
---|
| 111 | </para>
|
---|
| 112 |
|
---|
| 113 | <screen><userinput>sed -i '/merge_file/{n;d}' data/meson.build</userinput></screen>
|
---|
| 114 |
|
---|
[3bef2f0] | 115 | <para>
|
---|
| 116 | Install <application>Gedit</application> by running the following
|
---|
| 117 | commands:
|
---|
| 118 | </para>
|
---|
| 119 |
|
---|
[3c2936fe] | 120 | <screen><userinput>mkdir build &&
|
---|
| 121 | cd build &&
|
---|
| 122 |
|
---|
[3918112a] | 123 | meson --prefix=/usr --buildtype=release .. &&
|
---|
[3c2936fe] | 124 | ninja</userinput></screen>
|
---|
[3bef2f0] | 125 |
|
---|
| 126 | <para>
|
---|
[3c2936fe] | 127 | To test the results, issue: <command>ninja test</command>.
|
---|
[3bef2f0] | 128 | </para>
|
---|
| 129 |
|
---|
| 130 | <para>
|
---|
| 131 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 132 | </para>
|
---|
| 133 |
|
---|
[825e41ec] | 134 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 135 |
|
---|
| 136 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 137 | href="../../xincludes/gsettings-destdir.xml"/>
|
---|
[3bef2f0] | 138 |
|
---|
| 139 | </sect2>
|
---|
| 140 |
|
---|
| 141 | <sect2 role="commands">
|
---|
| 142 | <title>Command Explanations</title>
|
---|
| 143 |
|
---|
[3918112a] | 144 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 145 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 146 |
|
---|
[3bef2f0] | 147 | <para>
|
---|
[fbbe92f] | 148 | <parameter>-Duser_documentation=false</parameter>: This switch disables
|
---|
| 149 | generating the user documentation. Omit this switch if you have
|
---|
| 150 | <xref linkend="gtk-doc"/> installed and wish to generate the user
|
---|
| 151 | documentation.
|
---|
| 152 | </para>
|
---|
| 153 |
|
---|
| 154 | <para>
|
---|
| 155 | <option>-Dgtk_doc=true</option>: Use this option
|
---|
[825e41ec] | 156 | to build the reference manual (needs <xref linkend="gtk-doc"/>).
|
---|
[3bef2f0] | 157 | </para>
|
---|
| 158 |
|
---|
| 159 | </sect2>
|
---|
| 160 |
|
---|
| 161 | <sect2 role="content">
|
---|
| 162 | <title>Contents</title>
|
---|
| 163 |
|
---|
| 164 | <segmentedlist>
|
---|
| 165 | <segtitle>Installed Program</segtitle>
|
---|
[c3c56b2] | 166 | <segtitle>Installed Libraries</segtitle>
|
---|
[3bef2f0] | 167 | <segtitle>Installed Directories</segtitle>
|
---|
| 168 |
|
---|
| 169 | <seglistitem>
|
---|
| 170 | <seg>
|
---|
[8558044] | 171 | gedit
|
---|
[3bef2f0] | 172 | </seg>
|
---|
[c3c56b2] | 173 | <seg>
|
---|
[eb305e7b] | 174 | libgedit-40.0.so
|
---|
[c3c56b2] | 175 | </seg>
|
---|
[3bef2f0] | 176 | <seg>
|
---|
[eb305e7b] | 177 | /usr/include/gedit-40.0 and
|
---|
[fbbe92f] | 178 | /usr/{lib,share,share/gtk-doc/html,share/help/*}/gedit
|
---|
[3bef2f0] | 179 | </seg>
|
---|
| 180 | </seglistitem>
|
---|
| 181 | </segmentedlist>
|
---|
| 182 |
|
---|
| 183 | <variablelist>
|
---|
| 184 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 185 | <?dbfo list-presentation="list"?>
|
---|
| 186 | <?dbhtml list-presentation="table"?>
|
---|
| 187 |
|
---|
| 188 | <varlistentry id="gedit-prog">
|
---|
| 189 | <term><command>gedit</command></term>
|
---|
| 190 | <listitem>
|
---|
| 191 | <para>
|
---|
| 192 | is a lightweight text editor integrated with the
|
---|
[4c24eb0a] | 193 | <application>GNOME</application> Desktop
|
---|
[3bef2f0] | 194 | </para>
|
---|
| 195 | <indexterm zone="gedit gedit-prog">
|
---|
| 196 | <primary sortas="b-gedit">gedit</primary>
|
---|
| 197 | </indexterm>
|
---|
| 198 | </listitem>
|
---|
| 199 | </varlistentry>
|
---|
| 200 |
|
---|
| 201 | </variablelist>
|
---|
| 202 |
|
---|
| 203 | </sect2>
|
---|
| 204 |
|
---|
| 205 | </sect1>
|
---|