summaryrefslogtreecommitdiffstats
path: root/development/gambas3
diff options
context:
space:
mode:
Diffstat (limited to 'development/gambas3')
-rw-r--r--development/gambas3/README3
-rw-r--r--development/gambas3/gambas3.SlackBuild12
-rw-r--r--development/gambas3/gambas3.info10
3 files changed, 14 insertions, 11 deletions
diff --git a/development/gambas3/README b/development/gambas3/README
index 025ef8c977..d3f5e44742 100644
--- a/development/gambas3/README
+++ b/development/gambas3/README
@@ -5,8 +5,7 @@ ODBC and SQLite3 databases, pilot applications with D-Bus, translate
your program into any language, create network applications easily,
make 3D OpenGL applications, make CGI web applications, and so on.
-alure, gtkglext, imlib2, unixODBC, postgresql, and
-translate-shell are optional dependencies.
+unixODBC, postgresql, and translate-shell are optional dependencies.
Note: You should uninstall any present version of gambas before
creating this package.
diff --git a/development/gambas3/gambas3.SlackBuild b/development/gambas3/gambas3.SlackBuild
index ea9124b3d1..7140720149 100644
--- a/development/gambas3/gambas3.SlackBuild
+++ b/development/gambas3/gambas3.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for Gambas 3
-# updates since version 3.11.2 Copyright 2018-2022 Tim Dickson dickson.tim@googlemail.com
+# Copyright 2018-2024 Tim Dickson dickson.tim@googlemail.com
# Copyright 2012-2015 Fridrich von Stauffenberg <cancellor2@gmail.com>
# All rights reserved.
#
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gambas3
SRCNAM=gambas
-VERSION=${VERSION:-3.17.2}
+VERSION=${VERSION:-3.19.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,7 +67,8 @@ else
fi
set -e
-if [ "x`ls /var/log/packages|grep ^$PRGNAM|wc -l`" = "x1" ]; then
+#check updated for slackware 15 for new package location
+if [ "x$( ls -H /var/lib/pkgtools/packages|grep ^$PRGNAM|wc -l )" = "x1" ]; then
#current installs of gambas should be uninstalled before
#attempting to create this gambas3 package
echo "you must uninstall $PRGNAM before creating package $PRGNAM ver $VERSION"
@@ -80,6 +81,9 @@ rm -rf $SRCNAM-$VERSION
tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
cd $SRCNAM-$VERSION
chown -R root:root .
+#patch for unixodbc path change. shouldn't be needed for >3.19.3
+#sed -i -e 's/COMPONENT/COMPONENT_SEARCH/g' -e '/\[src\],/a \ \ odbc,' gb.db.odbc/configure.ac
+#sed -i -e 's/COMPONENT/COMPONENT_SEARCH/g' -e '/\[src\],/a \ \ odbc,' gb.db2.odbc/configure.ac
./reconf-all
@@ -100,8 +104,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mv $PKG/usr/share/man $PKG/usr
find $PKG/usr/man -type f -exec gzip -9 {} \;
-
mkdir -p $PKG/usr/share/icons/hicolor/{scalable/apps,48x48/apps,64x64/mimetypes}
+chmod 644 app/desktop/$PRGNAM.svg
cp -a app/desktop/$PRGNAM.svg $PKG/usr/share/icons/hicolor/scalable/apps
convert -resize 48x48 app/desktop/$PRGNAM.png $PKG/usr/share/icons/hicolor/48x48/apps/$PRGNAM.png
convert -resize 64x64 app/mime/application-x-${SRCNAM}script.png $PKG/usr/share/icons/hicolor/64x64/mimetypes/script.png
diff --git a/development/gambas3/gambas3.info b/development/gambas3/gambas3.info
index 952d254848..e59c1215ab 100644
--- a/development/gambas3/gambas3.info
+++ b/development/gambas3/gambas3.info
@@ -1,10 +1,10 @@
PRGNAM="gambas3"
-VERSION="3.17.2"
-HOMEPAGE="http://gambas.sourceforge.net"
-DOWNLOAD="https://gitlab.com/gambas/gambas/-/archive/3.17.2/gambas-3.17.2.tar.bz2"
-MD5SUM="07e08ea0384fb77d5961fb34752386ed"
+VERSION="3.19.4"
+HOMEPAGE="https://gambas.sourceforge.net"
+DOWNLOAD="https://gitlab.com/gambas/gambas/-/archive/3.19.4/gambas-3.19.4.tar.bz2"
+MD5SUM="3d76c075f15f81f3f34dec6e9299f8ee"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="%README%"
+REQUIRES="alure gtkglext webkit2gtk4.1 imlib %README%"
MAINTAINER="Tim Dickson"
EMAIL="dickson.tim@googlemail.com"