From 1b2e32d1da54b1f079798edeee3358a6926f6402 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Wed, 24 Apr 2024 15:00:03 +0200 Subject: system/pcmanfm: Switch to gtk+3 by default. Signed-off-by: Matteo Bernardini Signed-off-by: Willy Sudiarto Raharjo --- system/pcmanfm/README | 6 +++--- system/pcmanfm/pcmanfm.SlackBuild | 9 +++------ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/system/pcmanfm/README b/system/pcmanfm/README index a8e5b2a028..f7b14ceb9f 100644 --- a/system/pcmanfm/README +++ b/system/pcmanfm/README @@ -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: diff --git a/system/pcmanfm/pcmanfm.SlackBuild b/system/pcmanfm/pcmanfm.SlackBuild index e919aa3934..852d5f2cae 100644 --- a/system/pcmanfm/pcmanfm.SlackBuild +++ b/system/pcmanfm/pcmanfm.SlackBuild @@ -4,7 +4,7 @@ # Copyright 2006-2009 Chess Griffin # Copyright 2010 Chris Abela -# Copyright 2011-2021 Matteo Bernardini , Pisa, Italy +# Copyright 2011-2024 Matteo Bernardini , 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" -- cgit v1.2.3