diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2024-04-24 15:00:03 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-04-27 09:28:40 +0700 |
commit | 1b2e32d1da54b1f079798edeee3358a6926f6402 (patch) | |
tree | 8874abddfd6b393b27e3b8ee8b56e94281790323 /system | |
parent | 1b92a99dcb4cc2a1b773ca255282703c3e8279d7 (diff) |
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>
Diffstat (limited to 'system')
-rw-r--r-- | system/pcmanfm/README | 6 | ||||
-rw-r--r-- | system/pcmanfm/pcmanfm.SlackBuild | 9 |
2 files changed, 6 insertions, 9 deletions
diff --git a/system/pcmanfm/README b/system/pcmanfm/README index a8e5b2a0284f9..f7b14ceb9fdcc 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 e919aa3934264..852d5f2cae12d 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" |