summaryrefslogtreecommitdiff
path: root/network/midori/midori.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/midori/midori.SlackBuild')
-rw-r--r--network/midori/midori.SlackBuild16
1 files changed, 13 insertions, 3 deletions
diff --git a/network/midori/midori.SlackBuild b/network/midori/midori.SlackBuild
index 9d0e08b6e5..cefe680817 100644
--- a/network/midori/midori.SlackBuild
+++ b/network/midori/midori.SlackBuild
@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=midori
-VERSION=0.2.6
+VERSION=0.2.9
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,6 +70,14 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
+# Patch katze-throbber.c to fix bug #993 (fixes compatibility issue
+# with Gtk+ v2.18.9 in Slackware 13.1). See:
+# http://www.twotoasts.de/bugs/index.php?do=details&task_id=993
+# Patch retrieved from upstream:
+# http://www.twotoasts.de/bugs/index.php?getfile=1002
+# Thanks to Andy Goth for the heads up.
+patch -p1 < $CWD/midori-katze-throbber-${VERSION}.patch
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -82,13 +90,15 @@ export CXXFLAGS="$SLKCFLAGS"
./waf configure \
--prefix=/usr \
- --libdir=/usr/lib$LIBDIRSUFFIX \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--sysconfdir=/etc \
--localstatedir=/var \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --datarootdir=/usr/share/ \
+ --mandir=/usr/man \
--enable-unique \
--enable-addons
+
./waf build
./waf install --destdir=$PKG