[93d15f4] | 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 |
|
---|
[8dfc5c3] | 7 | <!ENTITY libfm-download-http "&sourceforge-dl;/pcmanfm/libfm-&libfm-version;.tar.xz">
|
---|
[93d15f4] | 8 | <!ENTITY libfm-download-ftp " ">
|
---|
[0a7ee10] | 9 | <!ENTITY libfm-md5sum "c87a0ff41ae77825079b2f785ec0741e">
|
---|
| 10 | <!ENTITY libfm-size "924 KB">
|
---|
| 11 | <!ENTITY libfm-buildsize "36 MB">
|
---|
| 12 | <!ENTITY libfm-time "0.3 SBU">
|
---|
[93d15f4] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libfm" xreflabel="libfm-&libfm-version;">
|
---|
| 16 | <?dbhtml filename="libfm.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>libfm-&libfm-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="libfm">
|
---|
| 22 | <primary sortas="a-libfm">libfm</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to libfm</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | The <application>libfm</application> package contains a library used
|
---|
| 30 | to develop file managers providing some file management utilities.
|
---|
| 31 | </para>
|
---|
| 32 |
|
---|
[e3c11400] | 33 | &lfs112_checked;
|
---|
[93d15f4] | 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>
|
---|
| 39 | Download (HTTP): <ulink url="&libfm-download-http;"/>
|
---|
| 40 | </para>
|
---|
| 41 | </listitem>
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>
|
---|
| 44 | Download (FTP): <ulink url="&libfm-download-ftp;"/>
|
---|
| 45 | </para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>
|
---|
| 49 | Download MD5 sum: &libfm-md5sum;
|
---|
| 50 | </para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>
|
---|
| 54 | Download size: &libfm-size;
|
---|
| 55 | </para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>
|
---|
| 59 | Estimated disk space required: &libfm-buildsize;
|
---|
| 60 | </para>
|
---|
| 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Estimated build time: &libfm-time;
|
---|
| 65 | </para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
| 69 | <bridgehead renderas="sect3">libfm Dependencies</bridgehead>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 72 | <para role="required">
|
---|
[5b5b1d2] | 73 | <xref linkend="gtk2"/> or <xref role="nodep" linkend="gtk3"/>
|
---|
| 74 | (GTK+-2 recommended since LXDE GTK+-3 support is still experimental), and
|
---|
[93d15f4] | 75 | <xref linkend="menu-cache"/>
|
---|
| 76 | </para>
|
---|
| 77 |
|
---|
| 78 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 79 | <para role="recommended">
|
---|
[a421c1e] | 80 | <xref linkend="libexif"/>,
|
---|
| 81 | <xref linkend="vala"/>, and
|
---|
| 82 | <xref linkend="lxmenu-data"/>
|
---|
[93d15f4] | 83 | </para>
|
---|
| 84 |
|
---|
| 85 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 86 | <para role="optional">
|
---|
[07499ecc] | 87 | <xref linkend="gtk-doc"/>,
|
---|
[93d15f4] | 88 | <xref linkend="dbus-glib"/> and
|
---|
[8558044] | 89 | <xref linkend="gvfs"/> or
|
---|
[07499ecc] | 90 | <ulink url="https://hal.freedesktop.org/releases/">udisks</ulink>
|
---|
| 91 | (for volume management - experimental)
|
---|
[93d15f4] | 92 | </para>
|
---|
| 93 |
|
---|
| 94 | <para condition="html" role="usernotes">
|
---|
| 95 | User Notes: <ulink url="&blfs-wiki;/libfm"/>
|
---|
| 96 | </para>
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="installation">
|
---|
| 100 | <title>Installation of libfm</title>
|
---|
| 101 |
|
---|
| 102 | <para>
|
---|
| 103 | Install <application>libfm</application> by running the following
|
---|
| 104 | commands:
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
[0c463dc] | 107 | <screen><userinput>./configure --prefix=/usr \
|
---|
[93d15f4] | 108 | --sysconfdir=/etc \
|
---|
[fa668ec] | 109 | --disable-static &&
|
---|
[93d15f4] | 110 | make</userinput></screen>
|
---|
| 111 |
|
---|
| 112 | <para>
|
---|
| 113 | To test the results, issue: <command>make check</command>.
|
---|
| 114 | </para>
|
---|
| 115 |
|
---|
| 116 | <para>
|
---|
| 117 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 118 | </para>
|
---|
| 119 |
|
---|
| 120 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 121 |
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2 role="commands">
|
---|
| 125 | <title>Command Explanations</title>
|
---|
| 126 |
|
---|
[2aff70f] | 127 | <para>
|
---|
| 128 | <option>--with-gtk=3</option>: This option selects the
|
---|
| 129 | version of gtk+ to use. The default is gtk+-2.
|
---|
| 130 | </para>
|
---|
[0c463dc] | 131 |
|
---|
[93d15f4] | 132 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 133 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 134 |
|
---|
| 135 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 136 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 137 |
|
---|
| 138 | </sect2>
|
---|
| 139 |
|
---|
| 140 | <sect2 role="content">
|
---|
| 141 | <title>Contents</title>
|
---|
| 142 |
|
---|
| 143 | <segmentedlist>
|
---|
| 144 | <segtitle>Installed Program</segtitle>
|
---|
| 145 | <segtitle>Installed Libraries</segtitle>
|
---|
| 146 | <segtitle>Installed Directories</segtitle>
|
---|
| 147 |
|
---|
| 148 | <seglistitem>
|
---|
| 149 | <seg>
|
---|
[67e58a5] | 150 | libfm-pref-apps and lxshortcut
|
---|
[93d15f4] | 151 | </seg>
|
---|
| 152 | <seg>
|
---|
[67e58a5] | 153 | libfm.so, libfm-extra.so and libfm-gtk.so
|
---|
[93d15f4] | 154 | </seg>
|
---|
| 155 | <seg>
|
---|
| 156 | /etc/xdg/libfm,
|
---|
[b1d5029] | 157 | /usr/lib/libfm,
|
---|
[93d15f4] | 158 | /usr/share/gtk-doc/html/libfm and
|
---|
| 159 | /usr/share/libfm
|
---|
| 160 | </seg>
|
---|
| 161 | </seglistitem>
|
---|
| 162 | </segmentedlist>
|
---|
| 163 |
|
---|
| 164 | <variablelist>
|
---|
| 165 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 166 | <?dbfo list-presentation="list"?>
|
---|
| 167 | <?dbhtml list-presentation="table"?>
|
---|
| 168 |
|
---|
| 169 | <varlistentry id="libfm-pref-apps">
|
---|
| 170 | <term><command>libfm-pref-apps</command></term>
|
---|
| 171 | <listitem>
|
---|
| 172 | <para>
|
---|
| 173 | sets preferred applications for programs based
|
---|
[4c24eb0a] | 174 | on <application>libfm</application>
|
---|
[93d15f4] | 175 | </para>
|
---|
| 176 | <indexterm zone="libfm libfm-pref-apps">
|
---|
| 177 | <primary sortas="b-libfm-pref-apps">libfm-pref-apps</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
[28370fe] | 182 | <varlistentry id="lxshortcut">
|
---|
[67e58a5] | 183 | <term><command>lxshortcut</command></term>
|
---|
| 184 | <listitem>
|
---|
| 185 | <para>
|
---|
[4c24eb0a] | 186 | is a small program used to edit application shortcuts
|
---|
[67e58a5] | 187 | </para>
|
---|
[28370fe] | 188 | <indexterm zone="libfm lxshortcut">
|
---|
[67e58a5] | 189 | <primary sortas="a-lxshortcut">lxshortcut</primary>
|
---|
| 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
[93d15f4] | 194 | <varlistentry id="libfm-lib">
|
---|
| 195 | <term><filename class="libraryfile">libfm.so</filename></term>
|
---|
| 196 | <listitem>
|
---|
| 197 | <para>
|
---|
[4c24eb0a] | 198 | contains the <application>libfm</application> API functions
|
---|
[93d15f4] | 199 | </para>
|
---|
| 200 | <indexterm zone="libfm libfm-lib">
|
---|
| 201 | <primary sortas="c-libfm">libfm.so</primary>
|
---|
| 202 | </indexterm>
|
---|
| 203 | </listitem>
|
---|
| 204 | </varlistentry>
|
---|
| 205 |
|
---|
| 206 | </variablelist>
|
---|
| 207 |
|
---|
| 208 | </sect2>
|
---|
| 209 |
|
---|
| 210 | </sect1>
|
---|