aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+github@gmail.com>2022-06-23 11:42:33 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-07-02 09:55:39 +0700
commitbce52521d6aeecd206ac4cebbebe81e3e9bc6426 (patch)
treefdcb983db8c35086659128edb29ac26d1776bd90 /multimedia
parent41bb74cabba446e1cd85e74c647900922c34ff50 (diff)
multimedia/kodi: New maintainer.
Take over maintainence. Larry has not responded to several email messages and it seems no others have been able to reach him as well. Remove shairplay from REQUIRES as it's optional. Add README on python issues. There have been issues with kodi addons causing kodi to crash. It has been determined that the problem is with python3 including the version that was released with 15.0 and continues through 3.9.12 (the latest patch). This has been fixed in 3.9.13, but that updated version hasn't made it to 15.0 yet. The README.python contains instructions on how users can upgrade their python3 package until Pat releases a patch. The instructions will also be saved in the program's /usr/doc directory. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/kodi/README3
-rw-r--r--multimedia/kodi/README.python26
-rw-r--r--multimedia/kodi/kodi.SlackBuild6
-rw-r--r--multimedia/kodi/kodi.info6
4 files changed, 35 insertions, 6 deletions
diff --git a/multimedia/kodi/README b/multimedia/kodi/README
index 3f040551f78bc..a78fb1fab7129 100644
--- a/multimedia/kodi/README
+++ b/multimedia/kodi/README
@@ -17,3 +17,6 @@ shairplay - Airplay Support
NOTE:
Kodi can be compiled with jdk11 instead of zulu-openjdk11.
+
+ADDITIONAL NOTE:
+If you are having issues with addons crashing, please see README.python
diff --git a/multimedia/kodi/README.python b/multimedia/kodi/README.python
new file mode 100644
index 0000000000000..5efb8161da81f
--- /dev/null
+++ b/multimedia/kodi/README.python
@@ -0,0 +1,26 @@
+# If you run into crashing when running addons, the problem is with the
+# python3 version that was released with 15.0 (3.9.12). This has been
+# fixed in a newer release, but it hasn't made it to 15.0 yet. You can
+# either deal with the crashes and wait until it's updated in 15.0 or
+# build your own updated package using the newer source tarball. The
+# instructions to do that are below.
+
+# NOTE: This README has been designed to allow you to run it as root
+# and have it build and upgrade the python3 package.
+# Run at your own risk.
+#
+# As root:
+# sh /usr/doc/kodi-19.4/README.python
+
+lftp -c "mirror -e -X *.tar.xz* -X *.tar.bz2 https://mirror.slackbuilds.org/slackware/slackware64-15.0/source/d/python3/"
+cd python3
+
+# Remove older versions then download newer ones
+wget https://www.python.org/ftp/python/3.9.13/Python-3.9.13.tar.xz
+wget https://docs.python.org/3.9/archives/python-3.9.13-docs-text.tar.bz2
+
+# Run the SlackBuild
+BUILD=1_bass sh python3.SlackBuild
+
+# Install the newer package
+upgradepkg --reinstall --install-new /tmp/python3-3.9.13-*-1_bass.txz
diff --git a/multimedia/kodi/kodi.SlackBuild b/multimedia/kodi/kodi.SlackBuild
index 0d89e50cb9624..4adeffbe6296a 100644
--- a/multimedia/kodi/kodi.SlackBuild
+++ b/multimedia/kodi/kodi.SlackBuild
@@ -3,6 +3,7 @@
# Slackware build script for kodi
# Copyright 2009-2018 Larry Hajali <larryhaja[at]gmail[dot]com>
+# Copyright 2022 Jeremy Hansen <jebrhansen+SBo@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -40,9 +41,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
@@ -100,6 +98,7 @@ cd $TMP/$PRGNAM-build
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_DOCDIR=/usr/doc/$PRGNAM-$VERSION \
-DAPP_RENDER_SYSTEM=gl \
-DCORE_PLATFORM_NAME="x11" \
-DENABLE_INTERNAL_FSTRCMP=ON \
@@ -150,6 +149,7 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat tools/EventClients/README.txt > $PKG/usr/doc/$PRGNAM-$VERSION/Event-Client-README.txt
fi
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+ cat $CWD/README.python > $PKG/usr/doc/$PRGNAM-$VERSION/README.python
)
mkdir -p $PKG/install
diff --git a/multimedia/kodi/kodi.info b/multimedia/kodi/kodi.info
index dff859eb76acd..088fdf01df187 100644
--- a/multimedia/kodi/kodi.info
+++ b/multimedia/kodi/kodi.info
@@ -17,6 +17,6 @@ MD5SUM="a668854505eff3ca5ed9f33e3ac91c80 \
cb71fa46a29183e01692e9fe738ec373"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="zulu-openjdk11 libass flatbuffers fmt rapidjson spdlog tinyxml shairplay gtest"
-MAINTAINER="Larry Hajali"
-EMAIL="larryhaja[at]gmail[dot]com"
+REQUIRES="zulu-openjdk11 libass flatbuffers fmt rapidjson spdlog tinyxml gtest"
+MAINTAINER="Jeremy Hansen"
+EMAIL="jebrhansen+SBo@gmail.com"