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