[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[3bef2f0] | 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 |
|
---|
[f920e62] | 7 | <!ENTITY gedit-download-http "&gnome-download-http;/gedit/47/gedit-&gedit-version;.tar.xz">
|
---|
[e1e58be] | 8 | <!ENTITY gedit-download-ftp " ">
|
---|
[bd32a678] | 9 | <!ENTITY gedit-md5sum "88aa416009439007815a3c01ce45e4fe">
|
---|
| 10 | <!ENTITY gedit-size "2.7 MB">
|
---|
[7bc0ecf] | 11 | <!ENTITY gedit-buildsize "66 MB (with tests)">
|
---|
[228e1fe] | 12 | <!ENTITY gedit-time "0.2 SBU (using parallelism=4; with tests)">
|
---|
[bd32a678] | 13 |
|
---|
| 14 | <!ENTITY libgedit-tepl-download-http "https://github.com/gedit-technology/libgedit-tepl/releases/download/&libgedit-tepl-version;/libgedit-tepl-&libgedit-tepl-version;.tar.xz">
|
---|
| 15 | <!ENTITY libgedit-tepl-download-ftp " ">
|
---|
| 16 | <!ENTITY libgedit-tepl-md5sum "0bc684817b93abbcba290094bc94abdb">
|
---|
| 17 | <!ENTITY libgedit-tepl-size "168 KB">
|
---|
| 18 | <!ENTITY libgedit-tepl-buildsize "10 MB (with tests)">
|
---|
| 19 | <!ENTITY libgedit-tepl-time "0.3 SBU (with tests)">
|
---|
| 20 |
|
---|
| 21 | <!ENTITY libgedit-gfls-download-http "https://github.com/gedit-technology/libgedit-gfls/releases/download/0.1.0/libgedit-gfls-0.1.0.tar.xz">
|
---|
| 22 | <!ENTITY libgedit-gfls-download-ftp " ">
|
---|
| 23 | <!ENTITY libgedit-gfls-md5sum "fa465c84be20de668b00deb2723334f3">
|
---|
| 24 | <!ENTITY libgedit-gfls-size "20 KB">
|
---|
| 25 | <!ENTITY libgedit-gfls-buildsize "1.0 MB (with tests)">
|
---|
| 26 | <!ENTITY libgedit-gfls-time "less than 0.1 SBU (with tests)">
|
---|
[3bef2f0] | 27 | ]>
|
---|
| 28 |
|
---|
| 29 | <sect1 id="gedit" xreflabel="Gedit-&gedit-version;">
|
---|
| 30 | <?dbhtml filename="gedit.html"?>
|
---|
| 31 |
|
---|
| 32 | <title>Gedit-&gedit-version;</title>
|
---|
| 33 |
|
---|
| 34 | <indexterm zone="gedit">
|
---|
| 35 | <primary sortas="a-Gedit">Gedit</primary>
|
---|
| 36 | </indexterm>
|
---|
| 37 |
|
---|
| 38 | <sect2 role="package">
|
---|
| 39 | <title>Introduction to Gedit</title>
|
---|
| 40 |
|
---|
| 41 | <para>
|
---|
| 42 | The <application>Gedit</application> package contains a lightweight
|
---|
| 43 | UTF-8 text editor for the <application>GNOME</application> Desktop.
|
---|
| 44 | </para>
|
---|
| 45 |
|
---|
[7bc0ecf] | 46 | &lfs121_checked;
|
---|
[3bef2f0] | 47 |
|
---|
| 48 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 49 | <itemizedlist spacing="compact">
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download (HTTP): <ulink url="&gedit-download-http;"/>
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download (FTP): <ulink url="&gedit-download-ftp;"/>
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Download MD5 sum: &gedit-md5sum;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Download size: &gedit-size;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
| 71 | <para>
|
---|
| 72 | Estimated disk space required: &gedit-buildsize;
|
---|
| 73 | </para>
|
---|
| 74 | </listitem>
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>
|
---|
| 77 | Estimated build time: &gedit-time;
|
---|
| 78 | </para>
|
---|
| 79 | </listitem>
|
---|
| 80 | </itemizedlist>
|
---|
| 81 |
|
---|
[bd32a678] | 82 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 83 | <itemizedlist spacing="compact">
|
---|
| 84 | <listitem>
|
---|
| 85 | <para>
|
---|
| 86 | Download (HTTP): <ulink url="&libgedit-tepl-download-http;"/>
|
---|
| 87 | </para>
|
---|
| 88 | </listitem>
|
---|
| 89 | <listitem>
|
---|
| 90 | <para>
|
---|
| 91 | Download (FTP): <ulink url="&libgedit-tepl-download-ftp;"/>
|
---|
| 92 | </para>
|
---|
| 93 | </listitem>
|
---|
| 94 | <listitem>
|
---|
| 95 | <para>
|
---|
| 96 | Download MD5 sum: &libgedit-tepl-md5sum;
|
---|
| 97 | </para>
|
---|
| 98 | </listitem>
|
---|
| 99 | <listitem>
|
---|
| 100 | <para>
|
---|
| 101 | Download size: &libgedit-tepl-size;
|
---|
| 102 | </para>
|
---|
| 103 | </listitem>
|
---|
| 104 | <listitem>
|
---|
| 105 | <para>
|
---|
| 106 | Estimated disk space required: &libgedit-tepl-buildsize;
|
---|
| 107 | </para>
|
---|
| 108 | </listitem>
|
---|
| 109 | <listitem>
|
---|
| 110 | <para>
|
---|
| 111 | Estimated build time: &libgedit-tepl-time;
|
---|
| 112 | </para>
|
---|
| 113 | </listitem>
|
---|
| 114 | </itemizedlist>
|
---|
| 115 |
|
---|
| 116 | <itemizedlist spacing="compact">
|
---|
| 117 | <listitem>
|
---|
| 118 | <para>
|
---|
| 119 | Download (HTTP): <ulink url="&libgedit-gfls-download-http;"/>
|
---|
| 120 | </para>
|
---|
| 121 | </listitem>
|
---|
| 122 | <listitem>
|
---|
| 123 | <para>
|
---|
| 124 | Download (FTP): <ulink url="&libgedit-gfls-download-ftp;"/>
|
---|
| 125 | </para>
|
---|
| 126 | </listitem>
|
---|
| 127 | <listitem>
|
---|
| 128 | <para>
|
---|
| 129 | Download MD5 sum: &libgedit-gfls-md5sum;
|
---|
| 130 | </para>
|
---|
| 131 | </listitem>
|
---|
| 132 | <listitem>
|
---|
| 133 | <para>
|
---|
| 134 | Download size: &libgedit-gfls-size;
|
---|
| 135 | </para>
|
---|
| 136 | </listitem>
|
---|
| 137 | <listitem>
|
---|
| 138 | <para>
|
---|
| 139 | Estimated disk space required: &libgedit-gfls-buildsize;
|
---|
| 140 | </para>
|
---|
| 141 | </listitem>
|
---|
| 142 | <listitem>
|
---|
| 143 | <para>
|
---|
| 144 | Estimated build time: &libgedit-gfls-time;
|
---|
| 145 | </para>
|
---|
| 146 | </listitem>
|
---|
| 147 | </itemizedlist>
|
---|
| 148 |
|
---|
[3bef2f0] | 149 | <bridgehead renderas="sect3">Gedit Dependencies</bridgehead>
|
---|
| 150 |
|
---|
| 151 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 152 | <para role="required">
|
---|
[cb6ea7a] | 153 | <!--<xref linkend="git"/>, unneeded -->
|
---|
[3bef2f0] | 154 | <xref linkend="gsettings-desktop-schemas"/>,
|
---|
[bd32a678] | 155 | <xref linkend="itstool"/>, and
|
---|
| 156 | <xref linkend="libpeas"/>
|
---|
[3bef2f0] | 157 | </para>
|
---|
| 158 |
|
---|
| 159 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 160 | <para role="recommended">
|
---|
[074eb7b] | 161 | <xref linkend="gspell"/>,
|
---|
[96e9478] | 162 | <xref role="runtime" linkend="gvfs"/> (runtime),
|
---|
[fbbe92f] | 163 | <xref linkend="iso-codes"/>, and
|
---|
[bd32a678] | 164 | <xref linkend="pygobject3"/> (<application>Python3</application> module)
|
---|
[3bef2f0] | 165 | </para>
|
---|
| 166 |
|
---|
| 167 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 168 | <para role="optional">
|
---|
[7007944] | 169 | <xref linkend="gtk-doc"/>,
|
---|
[3c2936fe] | 170 | <xref linkend="vala"/>, and
|
---|
[c6b192c] | 171 | <ulink url="https://launchpad.net/zeitgeist">zeitgeist</ulink>
|
---|
[3bef2f0] | 172 | </para>
|
---|
| 173 |
|
---|
| 174 | </sect2>
|
---|
| 175 |
|
---|
| 176 | <sect2 role="installation">
|
---|
| 177 | <title>Installation of Gedit</title>
|
---|
| 178 |
|
---|
[73780d5] | 179 | <para>
|
---|
[bd32a678] | 180 | First, build the gfls library:
|
---|
[73780d5] | 181 | </para>
|
---|
| 182 |
|
---|
[bd32a678] | 183 | <screen><userinput>tar -xf ../libgedit-gfls-&libgedit-gfls-version;.tar.xz &&
|
---|
| 184 | pushd libgedit-gfls-&libgedit-gfls-version; &&
|
---|
| 185 |
|
---|
| 186 | mkdir gfls-build &&
|
---|
| 187 | cd gfls-build &&
|
---|
| 188 |
|
---|
| 189 | meson setup --prefix=/usr \
|
---|
| 190 | --buildtype=release \
|
---|
| 191 | -D gtk_doc=false \
|
---|
| 192 | .. &&
|
---|
| 193 | ninja</userinput></screen>
|
---|
[73780d5] | 194 |
|
---|
[3bef2f0] | 195 | <para>
|
---|
[bd32a678] | 196 | To test the results, run: <command>ninja test</command>.
|
---|
| 197 | </para>
|
---|
| 198 |
|
---|
| 199 | <para>
|
---|
| 200 | Now, as the &root; user:
|
---|
| 201 | </para>
|
---|
| 202 |
|
---|
| 203 | <screen role="root"><userinput>ninja install &&
|
---|
| 204 | popd</userinput></screen>
|
---|
| 205 |
|
---|
| 206 | <para>
|
---|
| 207 | Second, build the tepl library:
|
---|
| 208 | </para>
|
---|
| 209 |
|
---|
| 210 | <screen><userinput>tar -xf ../libgedit-tepl-&libgedit-tepl-version;.tar.xz &&
|
---|
| 211 | pushd libgedit-tepl-&libgedit-tepl-version; &&
|
---|
| 212 |
|
---|
| 213 | mkdir tepl-build &&
|
---|
| 214 | cd tepl-build &&
|
---|
| 215 |
|
---|
| 216 | meson setup --prefix=/usr \
|
---|
| 217 | --buildtype=release \
|
---|
| 218 | -D gtk_doc=false \
|
---|
| 219 | .. &&
|
---|
| 220 | ninja</userinput></screen>
|
---|
| 221 |
|
---|
| 222 | <para>
|
---|
| 223 | To test the results, run: <command>ninja test</command>.
|
---|
| 224 | </para>
|
---|
| 225 |
|
---|
| 226 | <para>
|
---|
| 227 | Now, as the &root; user:
|
---|
| 228 | </para>
|
---|
| 229 |
|
---|
| 230 | <screen role="root"><userinput>ninja install &&
|
---|
| 231 | popd</userinput></screen>
|
---|
| 232 |
|
---|
| 233 | <para>
|
---|
| 234 | Finally, install <application>Gedit</application> by running the following
|
---|
[3bef2f0] | 235 | commands:
|
---|
| 236 | </para>
|
---|
| 237 |
|
---|
[c517fd0] | 238 | <screen><userinput>mkdir gedit-build &&
|
---|
| 239 | cd gedit-build &&
|
---|
[3c2936fe] | 240 |
|
---|
[73780d5] | 241 | meson setup --prefix=/usr \
|
---|
| 242 | --buildtype=release \
|
---|
[bd32a678] | 243 | -D gtk_doc=false \
|
---|
[3e22581] | 244 | .. &&
|
---|
[3c2936fe] | 245 | ninja</userinput></screen>
|
---|
[3bef2f0] | 246 |
|
---|
| 247 | <para>
|
---|
[3c2936fe] | 248 | To test the results, issue: <command>ninja test</command>.
|
---|
[3bef2f0] | 249 | </para>
|
---|
| 250 |
|
---|
| 251 | <para>
|
---|
[bd32a678] | 252 | Now, as the &root; user:
|
---|
[3bef2f0] | 253 | </para>
|
---|
| 254 |
|
---|
[825e41ec] | 255 | <screen role="root"><userinput>ninja install</userinput></screen>
|
---|
| 256 |
|
---|
| 257 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 258 | href="../../xincludes/gsettings-destdir.xml"/>
|
---|
[3bef2f0] | 259 |
|
---|
| 260 | </sect2>
|
---|
| 261 |
|
---|
| 262 | <sect2 role="commands">
|
---|
| 263 | <title>Command Explanations</title>
|
---|
[bd32a678] | 264 |
|
---|
[3bef2f0] | 265 | <para>
|
---|
[3e22581] | 266 | <parameter>-Dgtk_doc=false</parameter>: This switch disables
|
---|
| 267 | generating the API documentation. Omit this switch if you have
|
---|
| 268 | <xref linkend="gtk-doc"/> installed and wish to generate the API
|
---|
[fbbe92f] | 269 | documentation.
|
---|
| 270 | </para>
|
---|
| 271 |
|
---|
[3bef2f0] | 272 | </sect2>
|
---|
| 273 |
|
---|
| 274 | <sect2 role="content">
|
---|
| 275 | <title>Contents</title>
|
---|
| 276 |
|
---|
| 277 | <segmentedlist>
|
---|
| 278 | <segtitle>Installed Program</segtitle>
|
---|
[c3c56b2] | 279 | <segtitle>Installed Libraries</segtitle>
|
---|
[3bef2f0] | 280 | <segtitle>Installed Directories</segtitle>
|
---|
| 281 |
|
---|
| 282 | <seglistitem>
|
---|
| 283 | <seg>
|
---|
[8558044] | 284 | gedit
|
---|
[3bef2f0] | 285 | </seg>
|
---|
[c3c56b2] | 286 | <seg>
|
---|
[bd32a678] | 287 | libgedit-gfls-1.so.
|
---|
| 288 | libgedit-tepl-6.so. and
|
---|
[04d189b] | 289 | libgedit-46.so
|
---|
[c3c56b2] | 290 | </seg>
|
---|
[3bef2f0] | 291 | <seg>
|
---|
[bd32a678] | 292 | /usr/include/libgedit-gfls-1,
|
---|
| 293 | /usr/include/libgedit-tepl-6,
|
---|
| 294 | /usr/include/gedit-46, and
|
---|
[6e1f9cd] | 295 | /usr/{lib,share,share/help/*}/gedit
|
---|
[3bef2f0] | 296 | </seg>
|
---|
| 297 | </seglistitem>
|
---|
| 298 | </segmentedlist>
|
---|
| 299 |
|
---|
| 300 | <variablelist>
|
---|
| 301 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 302 | <?dbfo list-presentation="list"?>
|
---|
| 303 | <?dbhtml list-presentation="table"?>
|
---|
| 304 |
|
---|
| 305 | <varlistentry id="gedit-prog">
|
---|
| 306 | <term><command>gedit</command></term>
|
---|
| 307 | <listitem>
|
---|
| 308 | <para>
|
---|
| 309 | is a lightweight text editor integrated with the
|
---|
[4c24eb0a] | 310 | <application>GNOME</application> Desktop
|
---|
[3bef2f0] | 311 | </para>
|
---|
| 312 | <indexterm zone="gedit gedit-prog">
|
---|
| 313 | <primary sortas="b-gedit">gedit</primary>
|
---|
| 314 | </indexterm>
|
---|
| 315 | </listitem>
|
---|
| 316 | </varlistentry>
|
---|
| 317 |
|
---|
| 318 | </variablelist>
|
---|
| 319 |
|
---|
| 320 | </sect2>
|
---|
| 321 |
|
---|
| 322 | </sect1>
|
---|