[76a07db] | 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 gtk3-download-http "&gnome-download-http;/gtk+/3.2/gtk+->k3-version;.tar.xz">
|
---|
| 8 | <!ENTITY gtk3-download-ftp "&gnome-download-ftp;/gtk+/3.2/gtk+->k3-version;.tar.xz">
|
---|
[e9996f70] | 9 | <!ENTITY gtk3-md5sum "b4edcc69e39159dd7be17828249afb46">
|
---|
[76a07db] | 10 | <!ENTITY gtk3-size "12 MB">
|
---|
[e9996f70] | 11 | <!ENTITY gtk3-buildsize "314 MB">
|
---|
| 12 | <!ENTITY gtk3-time "2.8 SBU">
|
---|
[76a07db] | 13 | ]>
|
---|
| 14 |
|
---|
[89488b4] | 15 | <sect1 id="gtk3" xreflabel="gtk+->k3-version;">
|
---|
[76a07db] | 16 | <?dbhtml filename="gtk3.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
[7e2c95d] | 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[76a07db] | 21 | </sect1info>
|
---|
| 22 |
|
---|
[89488b4] | 23 | <title>gtk+->k3-version;</title>
|
---|
[76a07db] | 24 |
|
---|
| 25 | <indexterm zone="gtk3">
|
---|
[89488b4] | 26 | <primary sortas="a-gtk3">gtk+-3</primary>
|
---|
[76a07db] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to gtk+-3</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>gtk+-3</application> package contains
|
---|
| 33 | <application>gtk+-3</application> libraries. These are used for creating
|
---|
| 34 | graphical user interfaces for applications.</para>
|
---|
| 35 |
|
---|
| 36 | &lfs70_checked;
|
---|
| 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url=">k3-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url=">k3-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: >k3-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: >k3-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: >k3-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: >k3-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
[89488b4] | 60 | <bridgehead renderas="sect3">gtk+-3 Dependencies</bridgehead>
|
---|
[76a07db] | 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 63 | <para role="required"><xref linkend="cairo"/> (compiled with support for
|
---|
| 64 | glib and libX11), <xref linkend="atk"/>, <xref linkend="pango"/>,
|
---|
| 65 | <xref linkend="gdk-pixbuf"/> and <xref linkend="x-window-system"/>
|
---|
| 66 | (specifically, libX11, libXext, libXi and libXrender are required,
|
---|
| 67 | libXinerama, libXcomposite, libXrandr and libXdamage are optional)</para>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 70 | <para role="optional"><xref linkend="cups"/>,
|
---|
| 71 | <xref linkend="docbook-utils"/>,
|
---|
[4686e08] | 72 | <xref linkend="colord"/>,
|
---|
[ae0367a] | 73 | <xref linkend="gobject-introspection"/> (required if you want to build
|
---|
| 74 | <xref linkend="gnome"/>. NB, you will need to install
|
---|
| 75 | <application>Gobject Introspection</application> before you install
|
---|
| 76 | <xref linkend="atk"/>, <xref linkend="pango"/> and
|
---|
| 77 | <xref linkend="gdk-pixbuf"/>.) and <xref linkend="gtk-doc"/> (only needed
|
---|
| 78 | if you want to rebuild the documentation).</para>
|
---|
[76a07db] | 79 |
|
---|
| 80 | <para condition="html" role="usernotes">User Notes:
|
---|
| 81 | <ulink url="&blfs-wiki;/gtk3"/></para>
|
---|
| 82 |
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
[89488b4] | 86 | <title>Installation of gtk+-3</title>
|
---|
[76a07db] | 87 |
|
---|
[89488b4] | 88 | <para>Install <application>gtk+-3</application> by running the following
|
---|
[76a07db] | 89 | commands:</para>
|
---|
| 90 |
|
---|
| 91 | <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
| 92 | make</userinput></screen>
|
---|
| 93 |
|
---|
| 94 | <para>To test the results:</para>
|
---|
| 95 |
|
---|
| 96 | <screen><userinput>rm tests/css/parser/selector.css &&
|
---|
| 97 | rm tests/a11y/pickers.ui &&
|
---|
| 98 | make check</userinput></screen>
|
---|
| 99 |
|
---|
| 100 |
|
---|
| 101 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 102 |
|
---|
| 103 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 104 |
|
---|
| 105 | </sect2>
|
---|
| 106 |
|
---|
| 107 | <sect2 role="commands">
|
---|
| 108 | <title>Command Explanations</title>
|
---|
| 109 |
|
---|
| 110 | <para><command>rm tests/css/parser/selector.css</command> and
|
---|
| 111 | <command>rm tests/a11y/pickers.ui</command>: This prevents two tests
|
---|
| 112 | being run as they are known to fail.</para>
|
---|
| 113 |
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="configuration">
|
---|
| 117 | <title>Configuring gtk+-3</title>
|
---|
| 118 |
|
---|
| 119 | <sect3 id="gtk3-config">
|
---|
| 120 | <title>Config Files</title>
|
---|
| 121 | <para><filename>~/.config/gtk-3.0/settings.ini</filename> and
|
---|
| 122 | <filename>/etc/gtk-3.0/settings.ini</filename></para>
|
---|
| 123 |
|
---|
| 124 | <indexterm zone="gtk3 gtk3-config">
|
---|
| 125 | <primary sortas="e-AA.home-settings.ini">~/.config/gtk-3.0/settings.ini</primary>
|
---|
| 126 | </indexterm>
|
---|
| 127 |
|
---|
| 128 | <indexterm zone="gtk3 gtk3-config">
|
---|
| 129 | <primary sortas="e-etc-path-settings.ini">/etc/gtk-3.0/settings.ini</primary>
|
---|
| 130 | </indexterm>
|
---|
| 131 | </sect3>
|
---|
| 132 |
|
---|
| 133 | <sect3><title>Configuration Information</title>
|
---|
| 134 |
|
---|
| 135 | <para>Gtk+-3 themes change the way a gtk application looks. An icon
|
---|
| 136 | theme can be used to change the icons that appear on the application's
|
---|
| 137 | toolbar. If you have installed a Gtk+-3 theme (eg
|
---|
[d130b96] | 138 | <xref linkend="gnome-themes-standard"/> or an icon theme (such as
|
---|
[76a07db] | 139 | <xref linkend="gnome-icon-theme"/>) you can set your prefences in
|
---|
| 140 | <filename>~/.config/gtk-3.0/settings.ini</filename>:</para>
|
---|
| 141 |
|
---|
| 142 | <screen><userinput>cat > ~/.config/gtk-3.0/settings.ini << "EOF"
|
---|
| 143 | [Settings]
|
---|
| 144 | gtk-theme-name = <replaceable>Adwaita</replaceable>
|
---|
| 145 | gtk-fallback-icon-theme = <replaceable>gnome</replaceable>
|
---|
| 146 | EOF</userinput></screen>
|
---|
| 147 |
|
---|
| 148 | <para>There are many more themes available at
|
---|
| 149 | <ulink url="http://gnome-look.org/">Gnome-Look.org</ulink> and other
|
---|
| 150 | places.</para>
|
---|
| 151 |
|
---|
| 152 | <para>Once you've settled on themes you like, you can (as the
|
---|
| 153 | <systemitem class="username">root</systemitem> user) make them the
|
---|
| 154 | default system wide:</para>
|
---|
| 155 |
|
---|
| 156 | <screen role="root"><userinput>cat > /etc/gtk-3.0/settings.ini << "EOF"[Settings]
|
---|
| 157 | gtk-theme-name = <replaceable>Clearwaita</replaceable>
|
---|
| 158 | gtk-fallback-icon-theme = <replaceable>elementary</replaceable>
|
---|
| 159 | EOF</userinput></screen>
|
---|
| 160 |
|
---|
| 161 | </sect3>
|
---|
| 162 |
|
---|
| 163 | </sect2>
|
---|
| 164 |
|
---|
| 165 | <sect2 role="content">
|
---|
| 166 | <title>Contents</title>
|
---|
| 167 |
|
---|
| 168 | <segmentedlist>
|
---|
| 169 | <segtitle>Installed Programs</segtitle>
|
---|
| 170 | <segtitle>Installed Libraries</segtitle>
|
---|
| 171 | <segtitle>Installed Directories</segtitle>
|
---|
| 172 |
|
---|
| 173 | <seglistitem>
|
---|
| 174 | <seg>gtk3-demo, gtk-query-immodules-3.0, and gtk-update-icon-cache</seg>
|
---|
| 175 | <seg>libgailutil.so, libgdk-3.so, and libgtk-3.so</seg>
|
---|
| 176 | <seg>/etc/gtk-3.0, /usr/include/gtk-3.0, /usr/include/gail-3.0,
|
---|
| 177 | /usr/lib/gtk-3.0 and /usr/share/gtk-3.0</seg>
|
---|
| 178 | </seglistitem>
|
---|
| 179 | </segmentedlist>
|
---|
| 180 |
|
---|
| 181 | <variablelist>
|
---|
| 182 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 183 | <?dbfo list-presentation="list"?>
|
---|
| 184 | <?dbhtml list-presentation="table"?>
|
---|
| 185 |
|
---|
| 186 | <varlistentry id="gtk3-demo">
|
---|
| 187 | <term><command>gtk3-demo</command></term>
|
---|
| 188 | <listitem>
|
---|
| 189 | <para>is a simple program that demonstrates some of the things that
|
---|
| 190 | can be done with gtk+-3</para>
|
---|
| 191 | <indexterm zone="gtk3 gtk3-demo">
|
---|
| 192 | <primary sortas="b-gtk3-demo">gtk3-demo</primary>
|
---|
| 193 | </indexterm>
|
---|
| 194 | </listitem>
|
---|
| 195 | </varlistentry>
|
---|
| 196 |
|
---|
| 197 | <varlistentry id="gtk-query-immodules-3.0">
|
---|
| 198 | <term><command>gtk-query-immodules-3.0</command></term>
|
---|
| 199 | <listitem>
|
---|
| 200 | <para>collects information about loadable input method modules for
|
---|
| 201 | <application>gtk+-3</application> and writes it to the default cache
|
---|
| 202 | file location, or to standard output.</para>
|
---|
| 203 | <indexterm zone="gtk3 gtk-query-immodules-3.0">
|
---|
| 204 | <primary sortas="b-gtk-query-immodules-3.0">gtk-query-immodules-3.0</primary>
|
---|
| 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
| 209 | <varlistentry id="gtk-update-icon-cache3">
|
---|
| 210 | <term><command>gtk-update-icon-cache</command></term>
|
---|
| 211 | <listitem>
|
---|
| 212 | <para>is an icon theme caching utility that creates mmap()able cache
|
---|
| 213 | files for icon themes.</para>
|
---|
| 214 | <indexterm zone="gtk3 gtk-update-icon-cache3">
|
---|
| 215 | <primary sortas="b-gtk-update-icon-cache3">gtk-update-icon-cache</primary>
|
---|
| 216 | </indexterm>
|
---|
| 217 | </listitem>
|
---|
| 218 | </varlistentry>
|
---|
| 219 |
|
---|
| 220 | <varlistentry id="libgailutil">
|
---|
| 221 | <term><filename class='libraryfile'>libgailutil.so</filename></term>
|
---|
| 222 | <listitem>
|
---|
| 223 | <para>contains functions that implements the accessibility interfaces
|
---|
| 224 | defined by the GNOME Accessibility Toolkit</para>
|
---|
| 225 | <indexterm zone="gtk3 libgailutil">
|
---|
| 226 | <primary sortas="c-libgailutil">libgailutil.so</primary>
|
---|
| 227 | </indexterm>
|
---|
| 228 | </listitem>
|
---|
| 229 | </varlistentry>
|
---|
| 230 |
|
---|
| 231 | <varlistentry id="libgdk-3">
|
---|
| 232 | <term><filename class='libraryfile'>libgdk-3.so</filename></term>
|
---|
| 233 | <listitem>
|
---|
| 234 | <para>contains functions that act as a wrapper around the low-level
|
---|
| 235 | drawing and windowing functions provided by the underlying graphics
|
---|
| 236 | system (libX11 for now, but maybe in the future wayland).</para>
|
---|
| 237 | <indexterm zone="gtk3 libgdk-3">
|
---|
| 238 | <primary sortas="c-libgdk-3">libgdk-3.so</primary>
|
---|
| 239 | </indexterm>
|
---|
| 240 | </listitem>
|
---|
| 241 | </varlistentry>
|
---|
| 242 |
|
---|
| 243 | <varlistentry id="libgtk-3">
|
---|
| 244 | <term><filename class='libraryfile'>libgtk-3.so</filename></term>
|
---|
| 245 | <listitem>
|
---|
| 246 | <para>contains functions that provide an API to implement graphical
|
---|
| 247 | user interfaces.</para>
|
---|
| 248 | <indexterm zone="gtk3 libgtk-3">
|
---|
| 249 | <primary sortas="c-libgtk-3">libgtk-3.so</primary>
|
---|
| 250 | </indexterm>
|
---|
| 251 | </listitem>
|
---|
| 252 | </varlistentry>
|
---|
| 253 |
|
---|
| 254 | </variablelist>
|
---|
| 255 |
|
---|
| 256 | </sect2>
|
---|
| 257 |
|
---|
| 258 | </sect1>
|
---|