aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/pcmanfm/README9
-rw-r--r--system/pcmanfm/pcmanfm.SlackBuild16
-rw-r--r--system/pcmanfm/pcmanfm.info6
3 files changed, 18 insertions, 13 deletions
diff --git a/system/pcmanfm/README b/system/pcmanfm/README
index 6ebb9299c5068..a8e5b2a0284f9 100644
--- a/system/pcmanfm/README
+++ b/system/pcmanfm/README
@@ -1,6 +1,11 @@
PCManFM is an extremely fast and lightweight GTK+ based file manager
which features tabbed browsing and a user-friendly interface.
-If you have problems viewing icons on pcmanfm, include this line to
-your $HOME/.gtkrc-2.0:
+By default the gtk+2 version is built: if you prefer to build the
+gtk+3 one pass the script the parameter GTK=3, like
+
+ GTK=3 ./pcmanfm.SlackBuild
+
+If you have problems viewing icons on pcmanfm and you're using the
+gtk+2 version, include this line to your $HOME/.gtkrc-2.0:
gtk-icon-theme-name="Tango"
diff --git a/system/pcmanfm/pcmanfm.SlackBuild b/system/pcmanfm/pcmanfm.SlackBuild
index bde3a2949530c..00c7662125fcc 100644
--- a/system/pcmanfm/pcmanfm.SlackBuild
+++ b/system/pcmanfm/pcmanfm.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for PCMan File Manager (PCManFM)
-# Copyright 2013 Matteo Bernardini <ponce@slackbuilds.org>
+# Copyright 2013,2014 Matteo Bernardini <ponce@slackbuilds.org>
# Copyright 2010 Chris Abela <chris.abela@maltats.com>
# Copyright 2006-2009 Chess Griffin <chess@chessgriffin.com>
# All rights reserved.
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pcmanfm
-VERSION=${VERSION:-20131116_8f55f05}
+VERSION=${VERSION:-1.2.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,6 +58,8 @@ else
LIBDIRSUFFIX=""
fi
+GTK=${GTK:-2}
+
set -e
rm -rf $PKG
@@ -85,17 +87,15 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--disable-debug \
+ --with-gtk=$GTK \
--build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
-# A minor polish
-sed -i 's/Name=File\ Manager/Name=PCMan\ File\ Manager/' \
- $PKG/usr/share/applications/pcmanfm.desktop || exit 1
-
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+# This is empty
+rmdir $PKG/usr/lib$LIBDIRSUFFIX/$PRGNAM
+rmdir $PKG/usr/lib$LIBDIRSUFFIX
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
diff --git a/system/pcmanfm/pcmanfm.info b/system/pcmanfm/pcmanfm.info
index 1b189dd3d19f6..d7505040550bf 100644
--- a/system/pcmanfm/pcmanfm.info
+++ b/system/pcmanfm/pcmanfm.info
@@ -1,8 +1,8 @@
PRGNAM="pcmanfm"
-VERSION="20131116_8f55f05"
+VERSION="1.2.1"
HOMEPAGE="http://pcmanfm.sourceforge.net"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/lxde/pcmanfm-20131116_8f55f05.tar.xz"
-MD5SUM="b565e34e0ec4a15076f47bcd22627a8c"
+DOWNLOAD="http://downloads.sf.net/pcmanfm/pcmanfm-1.2.1.tar.xz"
+MD5SUM="66e634aff37dbc6d7204570df041152f"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libfm"