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