summaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2019-07-25 09:53:13 +1200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-07-27 08:06:18 +0700
commit8d16392688b95c003d15787df456798e563ccbce (patch)
treea73b1c315a9d3537f9ac5b64f6eb71d119f1103d /development
parent3cd8f0149c124606efc4fa8d1f5b8ef2882d055b (diff)
downloadslackbuilds-8d16392688b95c003d15787df456798e563ccbce.tar.gz
development/eclim: Fix building against Sphinx-2.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Diffstat (limited to 'development')
-rw-r--r--development/eclim/eclim.SlackBuild16
-rw-r--r--development/eclim/eclim.info6
-rw-r--r--development/eclim/sphinx2.patch.gzbin0 -> 584 bytes
3 files changed, 18 insertions, 4 deletions
diff --git a/development/eclim/eclim.SlackBuild b/development/eclim/eclim.SlackBuild
index d375864bd6..61b8b66d33 100644
--- a/development/eclim/eclim.SlackBuild
+++ b/development/eclim/eclim.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for eclim
-# Copyright 2016-2018 Andrew Clemons, Wellington New Zealand
+# Copyright 2016-2019 Andrew Clemons, Wellington New Zealand
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,8 @@
PRGNAM=eclim
VERSION=${VERSION:-2.8.0}
-BUILD=${BUILD:-2}
+SPHINX_BOOTSTRAP_VERSION=${SPHINX_BOOTSTRAP_VERSION:-0.7.1}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -58,7 +59,18 @@ cd $TMP
rm -rf "$PRGNAM"_"$VERSION"
tar xvf $CWD/"$PRGNAM"_"$VERSION".tar.gz
cd $"$PRGNAM"_"$VERSION"
+
zcat $CWD/630fbcd5e6caa810f721b0f0de9478aaf78f7958.patch.gz | patch -p1
+zcat $CWD/sphinx2.patch.gz | patch -p1
+
+rm -rf doc/theme
+
+(
+ cd doc
+ tar -xf "$CWD/sphinx-bootstrap-theme-$SPHINX_BOOTSTRAP_VERSION.tar.gz"
+ mv "sphinx-bootstrap-theme-$SPHINX_BOOTSTRAP_VERSION" theme
+)
+
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
diff --git a/development/eclim/eclim.info b/development/eclim/eclim.info
index 5955bde7e7..070fda41e8 100644
--- a/development/eclim/eclim.info
+++ b/development/eclim/eclim.info
@@ -1,8 +1,10 @@
PRGNAM="eclim"
VERSION="2.8.0"
HOMEPAGE="http://eclim.org"
-DOWNLOAD="https://github.com/ervandew/eclim/releases/download/2.8.0/eclim_2.8.0.tar.gz"
-MD5SUM="aae873ee270d6c7b21a6ff3bec3f08ad"
+DOWNLOAD="https://github.com/ervandew/eclim/releases/download/2.8.0/eclim_2.8.0.tar.gz \
+ https://github.com/ryan-roemer/sphinx-bootstrap-theme/archive/v0.7.1/sphinx-bootstrap-theme-0.7.1.tar.gz"
+MD5SUM="aae873ee270d6c7b21a6ff3bec3f08ad \
+ f2cd079095fd6b41b0762b98133b7752"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="apache-ant eclipse-java Sphinx"
diff --git a/development/eclim/sphinx2.patch.gz b/development/eclim/sphinx2.patch.gz
new file mode 100644
index 0000000000..bf446a3bf4
--- /dev/null
+++ b/development/eclim/sphinx2.patch.gz
Binary files differ