network/rekonq: Updated for version 0.5.0.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
Branko Grubic 2010-08-22 11:48:14 -04:00 committed by Erik Hanson
parent f25c8bcb4a
commit c296eed454
4 changed files with 28 additions and 9 deletions

View File

@ -0,0 +1,16 @@
diff --git a/src/webpage.cpp b/src/webpage.cpp
index a63940b..ea2add6 100644
--- a/src/webpage.cpp
+++ b/src/webpage.cpp
@@ -577,8 +577,8 @@ QString WebPage::errorPage(QNetworkReply *reply)
return QString("Couldn't open the rekonqinfo.html file");
}
- QString title = i18n("Error loading: %1", reply->url().toString());
- QString urlString = reply->url().toString(QUrl::RemoveUserInfo | QUrl::RemoveQuery);
+ QString title = i18n("There was a problem while loading the page");
+ QString urlString = reply->url().toString(QUrl::RemoveUserInfo | QUrl::RemoveQuery | QUrl::RemovePath);
QString iconPath = QString("file://") + KIconLoader::global()->iconPath("dialog-warning" , KIconLoader::Small);
iconPath.replace(QL1S("16"), QL1S("128"));

View File

@ -4,10 +4,10 @@
# Written by Branko Grubic <branko.grubic@gmail.com>
PRGNAM=rekonq
VERSION=${VERSION:-0.5.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PRGNAM=rekonq
VERSION=${VERSION:-0.5.0}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@ -18,9 +18,9 @@ if [ -z "$ARCH" ]; then
fi
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
@ -36,7 +36,7 @@ else
LIBDIRSUFFIX=""
fi
set -e
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@ -51,6 +51,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
## patch to fix Multiple cross-site scripting (XSS) vulnerabilities (CVE-2010-2536)
patch -p1 <$CWD/rekonq-CVE-2010-2536-fix.patch
mkdir -p build
cd build
cmake .. \

View File

@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Branko Grubic"
EMAIL="branko.grubic@gmail.com"
APPROVED="rworkman"
APPROVED="dsomero"

View File

@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
|-----handy-ruler------------------------------------------------------|
rekonq: rekonq (KDE browser based on Webkit)
rekonq:
rekonq: rekonq is a KDE browser based on Webkit. Its code is based on