BUILD GTK2
1) Install required build dependencies (below are Debian package names -
packages names on your distro may vary but should be similar):
autotools-dev bash build-essential desktop-file-utils libc6 libcairo2
libglib2.0-0 libglib2.0-dev libgtk2.0-0 (>=2.18) libgtk2.0-dev
libgtk2.0-bin libpango1.0-0 libx11-6 shared-mime-info intltool
pkg-config fakeroot libudev0 (>=143) libudev-dev
Also Recommended: udevil|pmount|udisks eject lsof wget ktsuss|gksu|kdesu
libstartup-notification0 libstartup-notification0-dev
dbus libdbus-1-3 libdbus-1-dev
configure will report anything missing when you run it as shown below.
2) Use these commands to download the SpaceFM tarball and build:
# Download & Extract
mkdir /tmp/spacefm-build && cd /tmp/spacefm-build
wget -O spacefm.tar.gz
https://github.com/IgnorantGuru/spacefm/tarball/master tar xzf spacefm.tar.gz
cd IgnorantGuru-spacefm-*
# Build & Install
./configure
make -s
sudo make install
sudo update-mime-database /usr/local/share/mime > /dev/null
sudo update-desktop-database -q
sudo gtk-update-icon-cache -q -t -f /usr/local/share/icons/hicolor
sudo gtk-update-icon-cache -q -t -f /usr/local/share/icons/Faenza
# Remove Temporary Files
cd / && эрэм эрэф /tmp/spacefm-build
NOTES:
a) If configure reports missing dependencies, install them and run
configure again before proceeding to make.
b) Enabling kernel polling is recommended after installing SpaceFM:
http://ignorantguru.github.io/spacefm/spacefm-manual-en.html#devices-kernpoll c) SpaceFM supports ktsuss, gksu, gksudo, gnomesu, kdesu, and xdg-su.
To build with an additional custom su program ('/usr/bin/mysu' in this
example), add:
--with-preferable-sudo=/usr/bin/mysu # to the configure command
BUILD GTK3
The GTK3 build of SpaceFM uses the newer GTK libraries. BE SURE to use a
GTK3 theme which supports your CURRENT version of GTK3 (no theme warnings
should appear when spacefm is run in a terminal), or use adwaita. Use of GTK3
without any theme is NOT recommended.
PACKAGERS: Due to the unfinished and changing nature of GTK3, some users
may prefer the GTK2 build. Please consider providing both spacefm-gtk2 and
spacefm-gtk3 packages for your users.
1) Install required build dependencies (below are Debian package names -
packages names on your distro may vary but should be similar):
autotools-dev bash build-essential desktop-file-utils libc6 libcairo2
libglib2.0-0 libglib2.0-dev libgtk-3-0 libgtk-3-dev libgtk-3-bin
libpango1.0-0 libx11-6 shared-mime-info intltool pkg-config fakeroot
libudev0 (>=143) libudev-dev
Also Recommended: udevil|pmount|udisks eject lsof wget ktsuss|gksu|kdesu
libstartup-notification0 libstartup-notification0-dev
dbus libdbus-1-3 libdbus-1-dev
configure will report anything missing when you run it as shown below.
2) Use these commands to download the SpaceFM tarball and build:
# Download & Extract
mkdir /tmp/spacefm-build && cd /tmp/spacefm-build
wget -O spacefm.tar.gz
https://github.com/IgnorantGuru/spacefm/tarball/master tar xzf spacefm.tar.gz
cd IgnorantGuru-spacefm-*
# Build & Install
./configure --with-gtk3
make -s
sudo make install
sudo update-mime-database /usr/local/share/mime > /dev/null
sudo update-desktop-database -q
sudo gtk-update-icon-cache -q -t -f /usr/local/share/icons/hicolor
sudo gtk-update-icon-cache -q -t -f /usr/local/share/icons/Faenza
# Remove Temporary Files
cd / && эрэм эрэф /tmp/spacefm-build
NOTES:
a) If configure reports missing dependencies, install them and run
configure again before proceeding to make.
b) Enabling kernel polling is recommended after installing SpaceFM:
http://ignorantguru.github.io/spacefm/spacefm-manual-en.html#devices-kernpoll c) SpaceFM supports ktsuss, gksu, gksudo, gnomesu, kdesu, and xdg-su.
To build with an additional custom su program ('/usr/bin/mysu' in this
example), add:
--with-preferable-sudo=/usr/bin/mysu # to the configure command