summaryrefslogtreecommitdiffstats
path: root/network/dillo
diff options
context:
space:
mode:
author John B <irgunii ampersand gmail . com>2015-01-27 07:17:13 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-01-27 07:17:50 +0700
commit0b98a322cb11a9dc5e358c6159faeb4b547f0088 (patch)
tree7e21f28dc5f7b7690ea4a1f43d21d0c3b543b64b /network/dillo
parente4ff3b40973e4044cc9d4b06915d4d12267e7f5a (diff)
downloadslackbuilds-0b98a322cb11a9dc5e358c6159faeb4b547f0088.tar.gz
slackbuilds-0b98a322cb11a9dc5e358c6159faeb4b547f0088.tar.xz
network/dillo: Updated for version 3.0.4.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/dillo')
-rw-r--r--network/dillo/ProgramIcon48.pngbin0 -> 6135 bytes
-rw-r--r--network/dillo/dillo-fltk.patch69
-rw-r--r--network/dillo/dillo.SlackBuild16
-rw-r--r--network/dillo/dillo.info8
4 files changed, 10 insertions, 83 deletions
diff --git a/network/dillo/ProgramIcon48.png b/network/dillo/ProgramIcon48.png
new file mode 100644
index 0000000000..8d572038b8
--- /dev/null
+++ b/network/dillo/ProgramIcon48.png
Binary files differ
diff --git a/network/dillo/dillo-fltk.patch b/network/dillo/dillo-fltk.patch
deleted file mode 100644
index 1c895709c2..0000000000
--- a/network/dillo/dillo-fltk.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-
-# HG changeset patch
-# User corvid
-# Date 1416116116 0
-# Node ID a012eab2c0573e2cdcba775bd9a579c3d282003a
-# Parent 8111dadacb406727e791864e89026aaa928965a3
-can't use fl_oldfocus anymore -- this will make focus behaviour somewhat screwy
-
-http://lists.dillo.org/pipermail/dillo-dev/2014-November/010273.html
-
-A couple of months ago, Lauri Kasanen made some changes to fltk's linker
-stuff, and I guess we're seeing the effect here.
-
-As for focus behaviour being screwy, if you click on a page to give it
-focus, then move the cursor away and then back onto the page, it won't
-get focus again -- focus will go to an input or the location bar or
-something.
-
-diff -r 8111dadacb40 -r a012eab2c057 dw/fltkviewbase.cc
---- a/dw/fltkviewbase.cc Sat Nov 15 01:39:27 2014 +0100
-+++ b/dw/fltkviewbase.cc Sun Nov 16 05:35:16 2014 +0000
-@@ -27,8 +27,6 @@
- #include <stdio.h>
- #include "../lout/msg.h"
-
--extern Fl_Widget* fl_oldfocus;
--
- using namespace lout::object;
- using namespace lout::container::typed;
-
-@@ -71,7 +69,7 @@
- canvasHeight = 1;
- bgColor = FL_WHITE;
- mouse_x = mouse_y = 0;
-- focused_child = NULL;
-+ // focused_child = NULL;
- exposeArea = NULL;
- if (backBuffer == NULL) {
- backBuffer = new BackBuffer ();
-@@ -357,6 +355,8 @@
- case FL_LEAVE:
- theLayout->leaveNotify (this, getDwButtonState ());
- break;
-+#if 0
-+ // BUG: starting with fltk-1.3.3, we can't use fl_oldfocus.
- case FL_FOCUS:
- if (focused_child && find(focused_child) < children()) {
- /* strangely, find() == children() if the child is not found */
-@@ -366,6 +366,7 @@
- case FL_UNFOCUS:
- focused_child = fl_oldfocus;
- return 0;
-+#endif
- case FL_KEYBOARD:
- if (Fl::event_key() == FL_Tab)
- return manageTabToFocus();
-diff -r 8111dadacb40 -r a012eab2c057 dw/fltkviewbase.hh
---- a/dw/fltkviewbase.hh Sat Nov 15 01:39:27 2014 +0100
-+++ b/dw/fltkviewbase.hh Sun Nov 16 05:35:16 2014 +0000
-@@ -56,7 +56,7 @@
- core::Layout *theLayout;
- int canvasWidth, canvasHeight;
- int mouse_x, mouse_y;
-- Fl_Widget *focused_child;
-+ // Fl_Widget *focused_child;
-
- virtual int translateViewXToCanvasX (int x) = 0;
- virtual int translateViewYToCanvasY (int y) = 0;
-
diff --git a/network/dillo/dillo.SlackBuild b/network/dillo/dillo.SlackBuild
index b49e63324b..15b2182b2e 100644
--- a/network/dillo/dillo.SlackBuild
+++ b/network/dillo/dillo.SlackBuild
@@ -1,9 +1,9 @@
#!/bin/sh
-# Slackware build script for dillo
+# Slackware build script for dillo. It has NOT been tested on x86_64.
# Copyright 2012 John B TN, USA
-# This was only successful with the help of Erik Hanson and
+# This was only successful with the help of ErikHanson@slackbuilds.org and
# B Watson who e-mailed me his patch/idea for the fltk and fltk-13 problem
# All rights reserved.
#
@@ -25,8 +25,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=dillo
-VERSION=${VERSION:-3.0.4}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.0.4.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -71,15 +71,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-sed -i 's/fltk-config/fltk13-config/g' configure
-
-# Patch to build against newer fltk
-# http://hg.dillo.org/dillo/raw-rev/a012eab2c057
-patch -p1 < $CWD/dillo-fltk.patch
-
#https and ssl are in the alpha stage, but if you don't want to try and use it
#just delete or comment out --enable-ssl
+sed -i 's/fltk-config/fltk13-config/g' configure
+
LDFLAGS="-L/usr/lib$LIBDIRSUFFIX/fltk13 -Wl,-rpath,/usr/lib$LIBDIRSUFFIX/fltk13" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
diff --git a/network/dillo/dillo.info b/network/dillo/dillo.info
index b7371ef875..d909db93cc 100644
--- a/network/dillo/dillo.info
+++ b/network/dillo/dillo.info
@@ -1,10 +1,10 @@
PRGNAM="dillo"
-VERSION="3.0.4"
+VERSION="3.0.4.1"
HOMEPAGE="http://www.dillo.org/"
-DOWNLOAD="http://www.dillo.org/download/dillo-3.0.4.tar.bz2"
-MD5SUM="c85aab6b840527e1dd71b220a1dcfbab"
+DOWNLOAD="http://www.dillo.org/download/dillo-3.0.4.1.tar.bz2"
+MD5SUM="7537134ea24b5dadadeae0cf45961bef"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="fltk fltk13"
+REQUIRES="fltk fltk13"
MAINTAINER="John B"
EMAIL="irgunii ampersand gmail . com"