diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2014-07-06 08:07:43 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-08-03 16:34:17 +0700 |
commit | 2174f3f57e6e6b77866c43c9ca4124953d8cf0eb (patch) | |
tree | 658f8b299e41371d09ab1092bef586c9ab301935 | |
parent | 860519209bf7c1025daa3c85f01c3d1763ad0498 (diff) |
system/pcmanfm: Updated for version 1.2.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r-- | system/pcmanfm/README | 9 | ||||
-rw-r--r-- | system/pcmanfm/pcmanfm.SlackBuild | 16 | ||||
-rw-r--r-- | system/pcmanfm/pcmanfm.info | 6 |
3 files changed, 18 insertions, 13 deletions
diff --git a/system/pcmanfm/README b/system/pcmanfm/README index 6ebb9299c506..a8e5b2a0284f 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 bde3a2949530..00c7662125fc 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 1b189dd3d19f..d7505040550b 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" |