summaryrefslogtreecommitdiff
path: root/network/midori/midori.SlackBuild
diff options
context:
space:
mode:
authorPierre Cazenave <pwcazenaveatgmaildotcom>2011-01-01 12:03:38 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-01-02 00:27:35 -0600
commit84f4ead27546fa4f3815b377f32ab160ecb6a9ba (patch)
treea791ec70edbb77480d327813bf4d2f1ffb994e92 /network/midori/midori.SlackBuild
parent54ab180396756abc5cff2349b7d32664381b5aff (diff)
downloadslackbuilds-84f4ead27546fa4f3815b377f32ab160ecb6a9ba.tar.gz
network/midori: Updated for version 0.2.9.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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