summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2024-04-24 15:00:03 +0200
committer Matteo Bernardini <ponce@slackbuilds.org>2024-04-24 15:00:03 +0200
commite5e82762012f4f967e142a2401774e65983ba7b2 (patch)
treee2a54311d30f9202b695b73b425c6f094b9e2e39
parent78b6f377fa37f586223cebd74eb7f4a0eb98ff22 (diff)
downloadslackbuilds-lxde-gtk3.tar.gz
slackbuilds-lxde-gtk3.tar.xz
system/pcmanfm: Switch to gtk+3 by default.lxde-gtk3
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--system/pcmanfm/README6
-rw-r--r--system/pcmanfm/pcmanfm.SlackBuild9
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 <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"