summaryrefslogtreecommitdiff
path: root/packages/konqueror
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-03-03 09:57:26 +0000
committerMichael Lauer <mickey@vanille-media.de>2005-03-03 09:57:26 +0000
commit9415b4803106a4d5345fab63f6d7df49f355d22a (patch)
tree26f4b38dbf6bcd4b5c5daa42412a79d6a476b316 /packages/konqueror
parentde7f27a466ce47473664945d89d8f9631dfdc860 (diff)
Move KonqE cache to /tmp/konq and add ability to open a file specified on command line. Patch courtesy Vitaliy Pronkin
BKrev: 4226df86YJfW9p-bJT6woCL7rsgHIA
Diffstat (limited to 'packages/konqueror')
-rw-r--r--packages/konqueror/konqueror-embedded-20030705/cachepath.patch13
-rw-r--r--packages/konqueror/konqueror-embedded-20030705/vit.patch0
-rw-r--r--packages/konqueror/konqueror-embedded_20030705.bb3
3 files changed, 15 insertions, 1 deletions
diff --git a/packages/konqueror/konqueror-embedded-20030705/cachepath.patch b/packages/konqueror/konqueror-embedded-20030705/cachepath.patch
index e69de29bb2..7d515207ce 100644
--- a/packages/konqueror/konqueror-embedded-20030705/cachepath.patch
+++ b/packages/konqueror/konqueror-embedded-20030705/cachepath.patch
@@ -0,0 +1,13 @@
+diff -uNr konq.orig/konq-embed/kdesrc/kio/http/http.cc konqueror-embedded-snapshot-20030705/konq-embed/kdesrc/kio/http/http.cc
+--- konq.orig/konq-embed/kdesrc/kio/http/http.cc 2005-01-26 15:23:13.357226175 +0100
++++ konqueror-embedded-snapshot-20030705/konq-embed/kdesrc/kio/http/http.cc 2005-01-26 15:24:15.887127980 +0100
+@@ -203,5 +203,8 @@
+ m_bUseCookiejar = config()->readBoolEntry("Cookies", true);
+ m_bUseCache = config()->readBoolEntry("UseCache", true);
+- m_strCacheDir = config()->readEntry("CacheDir", "/tmp/");
++ m_strCacheDir = config()->readEntry("CacheDir", "/tmp/konq/");
++ if(m_strCacheDir.isEmpty() || m_strCacheDir == "/")
++ m_strCacheDir = "/tmp/konq/";
++ mkdir(m_strCacheDir.latin1(), 0777);
+ m_maxCacheAge = config()->readNumEntry("MaxCacheAge");
+ m_request.window = config()->readEntry("window-id");
diff --git a/packages/konqueror/konqueror-embedded-20030705/vit.patch b/packages/konqueror/konqueror-embedded-20030705/vit.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/konqueror/konqueror-embedded-20030705/vit.patch
diff --git a/packages/konqueror/konqueror-embedded_20030705.bb b/packages/konqueror/konqueror-embedded_20030705.bb
index 8cfca82302..b64588cadd 100644
--- a/packages/konqueror/konqueror-embedded_20030705.bb
+++ b/packages/konqueror/konqueror-embedded_20030705.bb
@@ -13,7 +13,8 @@ SRC_URI = "http://devel-home.kde.org/~hausmann/snapshots/konqueror-embedded-snap
file://kcookiejar-merge.patch;patch=1 \
file://malformed.patch;patch=1 \
file://cachepath.patch;patch=1 \
- file://konq-embedrc "
+ file://konq-embedrc \
+ file://vit.patch;patch=1"
S = "${WORKDIR}/konqueror-embedded-snapshot-${PV}"
inherit autotools