summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2024-04-24 14:57:40 +0200
committer Willy Sudiarto Raharjo2024-04-27 04:28:39 +0200
commit1b92a99dcb4cc2a1b773ca255282703c3e8279d7 (patch)
tree5a9852d20c2525937f81d63a8a06538fa1b53654
parentb1d45924e6ad0ce650f64c63f81b628d07749900 (diff)
downloadslackbuilds-1b92a99dcb4cc2a1b773ca255282703c3e8279d7.tar.gz
system/lxterminal: Switch to gtk+3 by default.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/lxterminal/README7
-rw-r--r--system/lxterminal/lxterminal.SlackBuild12
-rw-r--r--system/lxterminal/lxterminal.info2
3 files changed, 11 insertions, 10 deletions
diff --git a/system/lxterminal/README b/system/lxterminal/README
index bf0c77122c..e6780940da 100644
--- a/system/lxterminal/README
+++ b/system/lxterminal/README
@@ -2,5 +2,8 @@ LXTerminal is a quick configurable terminal emulator, based on vte libs.
It uses a single process for each window/tab so it's very light on
resources.
-Pass the script the variable GTK3=yes if you want to link this against
-gtk+3 instead of the default gtk+2.
+If you want to build this for gtk+2, pass to the script the switch
+
+ GTK3=no
+
+you will need the additional dependency vte2 in this case
diff --git a/system/lxterminal/lxterminal.SlackBuild b/system/lxterminal/lxterminal.SlackBuild
index 8fc4a29be0..6f4515229e 100644
--- a/system/lxterminal/lxterminal.SlackBuild
+++ b/system/lxterminal/lxterminal.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/bash
# $Id: lxterminal.SlackBuild,v 1.6 2009/09/11 10:43:05 root Exp root $
# Copyright (c) 2008-2009 Eric Hameleers, Eindhoven, NL
-# Copyright (c) 2010-2021 Matteo Bernardini, Pisa, IT
+# Copyright (c) 2010-2024 Matteo Bernardini, Pisa, IT
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -69,6 +69,8 @@
# * Update.
# 0.4.0: 10/apr/2021 by Matteo Bernardini <ponce@slackbuilds.org>
# * Update.
+# 0.4.0-2: 24/apr/2024 by Matteo Bernardini <ponce@slackbuilds.org>
+# * Switch to gtk+3.
#
# Run 'sh lxterminal.SlackBuild' to build a Slackware package.
# The package is created in /tmp .
@@ -80,7 +82,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=lxterminal
VERSION=${VERSION:-0.4.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -92,9 +94,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -118,7 +117,7 @@ else
LIBDIRSUFFIX=""
fi
-gtk3="" ; [ "${GTK3:-no}" = "yes" ] && gtk3="--enable-gtk3"
+gtk3="--enable-gtk3" ; [ "${GTK3:-yes}" = "no" ] && gtk3=""
DOCS="AUTHORS COPYING ChangeLog NEWS"
@@ -158,7 +157,6 @@ make install-strip DESTDIR=$PKG
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
-# Add documentation:
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/system/lxterminal/lxterminal.info b/system/lxterminal/lxterminal.info
index 574b0e866d..d8fecdbf39 100644
--- a/system/lxterminal/lxterminal.info
+++ b/system/lxterminal/lxterminal.info
@@ -5,6 +5,6 @@ DOWNLOAD="http://downloads.sf.net/lxde/lxterminal-0.4.0.tar.xz"
MD5SUM="7938dbd50e3826c11f4735a742b278d3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="vte2"
+REQUIRES=""
MAINTAINER="Matteo Bernardini"
EMAIL="ponce@slackbuilds.org"