[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 |
|
---|
[c609f95] | 7 | <!ENTITY gedit-download-http "&gnome-download-http;/gedit/&gnome-42;/gedit-&gedit-version;.tar.xz">
|
---|
| 8 | <!ENTITY gedit-download-ftp "&gnome-download-ftp;/gedit/&gnome-42;/gedit-&gedit-version;.tar.xz">
|
---|
[f61d267] | 9 | <!ENTITY gedit-md5sum "7bf8e7b125bd88b21a882ac3eeee4fdc">
|
---|
[074eb7b] | 10 | <!ENTITY gedit-size "6.6 MB">
|
---|
[f63c6a7] | 11 | <!ENTITY gedit-buildsize "59 MB (with tests)">
|
---|
| 12 | <!ENTITY gedit-time "0.2 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 |
|
---|
[0755478b] | 36 | &lfs111_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="gtksourceview4"/>,
|
---|
[074eb7b] | 79 | <xref linkend="itstool"/>, and
|
---|
| 80 | <xref linkend="libpeas"/>
|
---|
[3bef2f0] | 81 | </para>
|
---|
| 82 |
|
---|
| 83 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 84 | <para role="recommended">
|
---|
[074eb7b] | 85 | <xref linkend="gspell"/>,
|
---|
[96e9478] | 86 | <xref role="runtime" linkend="gvfs"/> (runtime),
|
---|
[fbbe92f] | 87 | <xref linkend="iso-codes"/>, and
|
---|
[3bef2f0] | 88 | <xref linkend="pygobject3"/>
|
---|
[ba056d7] | 89 | (<application>Python</application> 3 module)
|
---|
[3bef2f0] | 90 | </para>
|
---|
| 91 |
|
---|
| 92 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 93 | <para role="optional">
|
---|
[7007944] | 94 | <xref linkend="gtk-doc"/>,
|
---|
[3c2936fe] | 95 | <xref linkend="vala"/>, and
|
---|
[c6b192c] | 96 | <ulink url="https://launchpad.net/zeitgeist">zeitgeist</ulink>
|
---|
[3bef2f0] | 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <para condition="html" role="usernotes">User Notes:
|
---|
| 100 | <ulink url="&blfs-wiki;/gedit"/>
|
---|
| 101 | </para>
|
---|
| 102 | </sect2>
|
---|
| 103 |
|
---|
| 104 | <sect2 role="installation">
|
---|
| 105 | <title>Installation of Gedit</title>
|
---|
| 106 |
|
---|
[074eb7b] | 107 | <!-- Fixed in gedit-41.0
|
---|
[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>
|
---|
[074eb7b] | 114 | -->
|
---|
[02cfd6d] | 115 |
|
---|
[3bef2f0] | 116 | <para>
|
---|
| 117 | Install <application>Gedit</application> by running the following
|
---|
| 118 | commands:
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
[3c2936fe] | 121 | <screen><userinput>mkdir build &&
|
---|
| 122 | cd build &&
|
---|
| 123 |
|
---|
[3918112a] | 124 | meson --prefix=/usr --buildtype=release .. &&
|
---|
[3c2936fe] | 125 | ninja</userinput></screen>
|
---|
[3bef2f0] | 126 |
|
---|
| 127 | <para>
|
---|
[3c2936fe] | 128 | To test the results, issue: <command>ninja test</command>.
|
---|
[3bef2f0] | 129 | </para>
|
---|
| 130 |
|
---|
| 131 | <para>
|
---|
| 132 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 133 | </para>
|
---|
| 134 |
|
---|
[825e41ec] | 135 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 136 |
|
---|
| 137 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 138 | href="../../xincludes/gsettings-destdir.xml"/>
|
---|
[3bef2f0] | 139 |
|
---|
| 140 | </sect2>
|
---|
| 141 |
|
---|
| 142 | <sect2 role="commands">
|
---|
| 143 | <title>Command Explanations</title>
|
---|
| 144 |
|
---|
[3918112a] | 145 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 146 | href="../../xincludes/meson-buildtype-release.xml"/>
|
---|
| 147 |
|
---|
[3bef2f0] | 148 | <para>
|
---|
[fbbe92f] | 149 | <parameter>-Duser_documentation=false</parameter>: This switch disables
|
---|
| 150 | generating the user documentation. Omit this switch if you have
|
---|
| 151 | <xref linkend="gtk-doc"/> installed and wish to generate the user
|
---|
| 152 | documentation.
|
---|
| 153 | </para>
|
---|
| 154 |
|
---|
| 155 | <para>
|
---|
| 156 | <option>-Dgtk_doc=true</option>: Use this option
|
---|
[825e41ec] | 157 | to build the reference manual (needs <xref linkend="gtk-doc"/>).
|
---|
[3bef2f0] | 158 | </para>
|
---|
| 159 |
|
---|
| 160 | </sect2>
|
---|
| 161 |
|
---|
| 162 | <sect2 role="content">
|
---|
| 163 | <title>Contents</title>
|
---|
| 164 |
|
---|
| 165 | <segmentedlist>
|
---|
| 166 | <segtitle>Installed Program</segtitle>
|
---|
[c3c56b2] | 167 | <segtitle>Installed Libraries</segtitle>
|
---|
[3bef2f0] | 168 | <segtitle>Installed Directories</segtitle>
|
---|
| 169 |
|
---|
| 170 | <seglistitem>
|
---|
| 171 | <seg>
|
---|
[8558044] | 172 | gedit
|
---|
[3bef2f0] | 173 | </seg>
|
---|
[c3c56b2] | 174 | <seg>
|
---|
[074eb7b] | 175 | libgedit-41.0.so
|
---|
[c3c56b2] | 176 | </seg>
|
---|
[3bef2f0] | 177 | <seg>
|
---|
[074eb7b] | 178 | /usr/include/gedit-41 and
|
---|
[fbbe92f] | 179 | /usr/{lib,share,share/gtk-doc/html,share/help/*}/gedit
|
---|
[3bef2f0] | 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="gedit-prog">
|
---|
| 190 | <term><command>gedit</command></term>
|
---|
| 191 | <listitem>
|
---|
| 192 | <para>
|
---|
| 193 | is a lightweight text editor integrated with the
|
---|
[4c24eb0a] | 194 | <application>GNOME</application> Desktop
|
---|
[3bef2f0] | 195 | </para>
|
---|
| 196 | <indexterm zone="gedit gedit-prog">
|
---|
| 197 | <primary sortas="b-gedit">gedit</primary>
|
---|
| 198 | </indexterm>
|
---|
| 199 | </listitem>
|
---|
| 200 | </varlistentry>
|
---|
| 201 |
|
---|
| 202 | </variablelist>
|
---|
| 203 |
|
---|
| 204 | </sect2>
|
---|
| 205 |
|
---|
| 206 | </sect1>
|
---|