system/pcmanfm: Switch to gtk+3 by default.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2024-04-24 15:00:03 +02:00 committed by Willy Sudiarto Raharjo
parent 1b92a99dcb
commit 1b2e32d1da
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 6 additions and 9 deletions

View file

@ -1,10 +1,10 @@
PCManFM is an extremely fast and lightweight GTK+ based file manager
which features tabbed browsing and a user-friendly interface.
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
By default the gtk+3 version is built: if you prefer to build the
gtk+2 one pass the script the parameter GTK3=no, like
GTK=3 ./pcmanfm.SlackBuild
GTK3=no ./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:

View file

@ -4,7 +4,7 @@
# Copyright 2006-2009 Chess Griffin <chess@chessgriffin.com>
# Copyright 2010 Chris Abela <chris.abela@maltats.com>
# Copyright 2011-2021 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# Copyright 2011-2024 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -32,7 +32,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=pcmanfm
VERSION=${VERSION:-1.3.2}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -67,10 +67,7 @@ else
LIBDIRSUFFIX=""
fi
case "$GTK" in
3) gtk="--with-gtk=3" ;;
*) gtk="--with-gtk=2" ;;
esac
gtk="--with-gtk=3" ; [ "${GTK3:-yes}" = "no" ] && gtk="--with-gtk=2"
DOCS="AUTHORS COPYING NEWS README TODO"