summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLogan Rathbone <poprocks@gmail.com>2022-02-06 20:49:32 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-07 09:36:20 +0700
commite0444e9fcb7616af2eb6d7ddc290a766ff00c58b (patch)
tree777c4013bf29040a867db0530c5383ae058d25fe
parentbc9acb693c32ac233b5c72dc1a28c0be79829c89 (diff)
downloadslackbuilds-e0444e9fcb7616af2eb6d7ddc290a766ff00c58b.tar.gz
system/guake: Updated for version 3.8.5.
- Remove deps; none needed for Slackware 15.0. - Update fix-paths patch to make 3.8.5 run on Slackware 15.0. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/guake/guake-3.7.0-fix-paths.patch22
-rw-r--r--system/guake/guake-3.8.5-fix-paths.patch47
-rw-r--r--system/guake/guake.SlackBuild6
-rw-r--r--system/guake/guake.info8
4 files changed, 54 insertions, 29 deletions
diff --git a/system/guake/guake-3.7.0-fix-paths.patch b/system/guake/guake-3.7.0-fix-paths.patch
deleted file mode 100644
index 0cd91ef062..0000000000
--- a/system/guake/guake-3.7.0-fix-paths.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- guake/paths.py.orig 2020-02-10 16:10:10.000000000 -0500
-+++ guake/paths.py 2020-06-08 20:32:03.423403158 -0400
-@@ -55,8 +55,8 @@
-
-
- def get_default_locale_dir():
-- d = os.path.join(get_data_files_dir(), "po")
-- log.debug("Using guake image directory: %s", d)
-+ d = '/usr/share/locale'
-+ log.debug("Using guake locale directory: %s", d)
- return d
-
-
-@@ -73,7 +73,7 @@
-
-
- def get_default_schema_dir():
-- d = get_default_data_dir()
-+ d = '/usr/share/glib-2.0/schemas'
- log.debug("Using guake scheme directory: %s", d)
- return d
-
diff --git a/system/guake/guake-3.8.5-fix-paths.patch b/system/guake/guake-3.8.5-fix-paths.patch
new file mode 100644
index 0000000000..02284ad683
--- /dev/null
+++ b/system/guake/guake-3.8.5-fix-paths.patch
@@ -0,0 +1,47 @@
+--- guake/paths.py.orig 2022-02-06 15:09:08.000000000 -0500
++++ guake/paths.py 2022-02-06 20:42:24.476974008 -0500
+@@ -47,37 +47,37 @@
+
+
+ def get_default_data_dir():
+- d = os.path.join(get_data_files_dir(), "data")
++ d = '/usr/share/guake/data'
+ log.debug("Using guake data directory: %s", d)
+ return d
+
+
+ def get_default_locale_dir():
+- d = os.path.join(get_data_files_dir(), "po")
+- log.debug("Using guake image directory: %s", d)
++ d = '/usr/share/locale'
++ log.debug("Using guake locale directory: %s", d)
+ return d
+
+
+ def get_default_image_dir():
+- d = os.path.join(get_default_data_dir(), 'pixmaps')
++ d = '/usr/share/guake/pixmaps'
+ log.debug("Using guake image directory: %s", d)
+ return d
+
+
+ def get_default_glade_dir():
+- d = get_default_data_dir()
++ d = '/usr/share/guake'
+ log.debug("Using guake glade directory: %s", d)
+ return d
+
+
+ def get_default_schema_dir():
+- d = get_default_data_dir()
++ d = '/usr/share/glib-2.0/schemas'
+ log.debug("Using guake scheme directory: %s", d)
+ return d
+
+
+ def get_default_theme_dir():
+- d = os.path.join(get_default_data_dir(), 'theme')
++ d = '/usr/share/guake/theme'
+ log.debug("Using guake theme directory: %s", d)
+ return d
+
diff --git a/system/guake/guake.SlackBuild b/system/guake/guake.SlackBuild
index 155ae078d1..9af60b92a7 100644
--- a/system/guake/guake.SlackBuild
+++ b/system/guake/guake.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for guake
# Copyright 2017-2018 Donald Cooley South Haven, IN USA
-# Copyright (C) 2020 Logan Rathbone <poprocks@gmail.com> Province of Ontario, Canada
+# Copyright (C) 2020-22 Logan Rathbone <poprocks@gmail.com> Province of Ontario, Canada
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=guake
-VERSION=${VERSION:-3.7.0}
+VERSION=${VERSION:-3.8.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -67,7 +67,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# fix some of the broken paths
-patch -p0 < $CWD/guake-3.7.0-fix-paths.patch
+patch -p0 < $CWD/guake-3.8.5-fix-paths.patch
make generate-desktop generate-mo compile-glib-schemas-dev
make DESTDIR="$PKG" PREFIX='/usr' install-schemas install-locale
diff --git a/system/guake/guake.info b/system/guake/guake.info
index 58563d25be..3fed7d2671 100644
--- a/system/guake/guake.info
+++ b/system/guake/guake.info
@@ -1,10 +1,10 @@
PRGNAM="guake"
-VERSION="3.7.0"
+VERSION="3.8.5"
HOMEPAGE="http://guake.org"
-DOWNLOAD="https://files.pythonhosted.org/packages/f1/20/32c2c8fe2ec4d5c38dbdd2b2ee60a382a529d0409c7a9960b2453e50d0d7/guake-3.7.0.tar.gz"
-MD5SUM="7934c9c214e25cbc706cd9a8e806becd"
+DOWNLOAD="https://files.pythonhosted.org/packages/96/11/19cc3a8cf487f12d1ea7ddc3d0841b8566131ce0da19e317dfc3f55b33ad/guake-3.8.5.tar.gz"
+MD5SUM="7e9892613a579e199dbbe3996f6fb56c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="python2-pbr"
+REQUIRES=""
MAINTAINER="Logan Rathbone"
EMAIL="poprocks@gmail.com"