[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 |
|
---|
[cb097ec1] | 37 | &lfs90_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 |
|
---|
[0c463dc] | 131 | <para><option>--with-gtk=3</option>: This option selects the
|
---|
| 132 | version of gtk+ to use. The default is gtk+-2.</para>
|
---|
| 133 |
|
---|
[93d15f4] | 134 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 135 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 136 |
|
---|
| 137 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 138 | href="../../xincludes/gtk-doc-rebuild.xml"/>
|
---|
| 139 |
|
---|
| 140 | </sect2>
|
---|
| 141 |
|
---|
| 142 | <sect2 role="content">
|
---|
| 143 | <title>Contents</title>
|
---|
| 144 |
|
---|
| 145 | <segmentedlist>
|
---|
| 146 | <segtitle>Installed Program</segtitle>
|
---|
| 147 | <segtitle>Installed Libraries</segtitle>
|
---|
| 148 | <segtitle>Installed Directories</segtitle>
|
---|
| 149 |
|
---|
| 150 | <seglistitem>
|
---|
| 151 | <seg>
|
---|
[67e58a5] | 152 | libfm-pref-apps and lxshortcut
|
---|
[93d15f4] | 153 | </seg>
|
---|
| 154 | <seg>
|
---|
[67e58a5] | 155 | libfm.so, libfm-extra.so and libfm-gtk.so
|
---|
[93d15f4] | 156 | </seg>
|
---|
| 157 | <seg>
|
---|
| 158 | /etc/xdg/libfm,
|
---|
[b1d5029] | 159 | /usr/lib/libfm,
|
---|
[93d15f4] | 160 | /usr/share/gtk-doc/html/libfm and
|
---|
| 161 | /usr/share/libfm
|
---|
| 162 | </seg>
|
---|
| 163 | </seglistitem>
|
---|
| 164 | </segmentedlist>
|
---|
| 165 |
|
---|
| 166 | <variablelist>
|
---|
| 167 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 168 | <?dbfo list-presentation="list"?>
|
---|
| 169 | <?dbhtml list-presentation="table"?>
|
---|
| 170 |
|
---|
| 171 | <varlistentry id="libfm-pref-apps">
|
---|
| 172 | <term><command>libfm-pref-apps</command></term>
|
---|
| 173 | <listitem>
|
---|
| 174 | <para>
|
---|
| 175 | sets preferred applications for programs based
|
---|
| 176 | on <application>libfm</application>.
|
---|
| 177 | </para>
|
---|
| 178 | <indexterm zone="libfm libfm-pref-apps">
|
---|
| 179 | <primary sortas="b-libfm-pref-apps">libfm-pref-apps</primary>
|
---|
| 180 | </indexterm>
|
---|
| 181 | </listitem>
|
---|
| 182 | </varlistentry>
|
---|
| 183 |
|
---|
[28370fe] | 184 | <varlistentry id="lxshortcut">
|
---|
[67e58a5] | 185 | <term><command>lxshortcut</command></term>
|
---|
| 186 | <listitem>
|
---|
| 187 | <para>
|
---|
| 188 | is a small program used to edit application shortcuts.
|
---|
| 189 | </para>
|
---|
[28370fe] | 190 | <indexterm zone="libfm lxshortcut">
|
---|
[67e58a5] | 191 | <primary sortas="a-lxshortcut">lxshortcut</primary>
|
---|
| 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
| 195 |
|
---|
[93d15f4] | 196 | <varlistentry id="libfm-lib">
|
---|
| 197 | <term><filename class="libraryfile">libfm.so</filename></term>
|
---|
| 198 | <listitem>
|
---|
| 199 | <para>
|
---|
| 200 | contains the <application>libfm</application> API functions.
|
---|
| 201 | </para>
|
---|
| 202 | <indexterm zone="libfm libfm-lib">
|
---|
| 203 | <primary sortas="c-libfm">libfm.so</primary>
|
---|
| 204 | </indexterm>
|
---|
| 205 | </listitem>
|
---|
| 206 | </varlistentry>
|
---|
| 207 |
|
---|
| 208 | </variablelist>
|
---|
| 209 |
|
---|
| 210 | </sect2>
|
---|
| 211 |
|
---|
| 212 | </sect1>
|
---|