summaryrefslogtreecommitdiff
path: root/doc/stacktrace.asciidoc
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2015-02-03 20:30:51 +0100
committerFlorian Bruhin <git@the-compiler.org>2015-02-03 20:30:51 +0100
commita18b3fe2a85b5d734085fb9850e670294e124c33 (patch)
tree4ec911f6b75edfbc76bcf5c99494532ad6bdb64a /doc/stacktrace.asciidoc
parentfba2b2b5ae4756c0eafc93026df1cb4a0aac50e0 (diff)
downloadqutebrowser-a18b3fe2a85b5d734085fb9850e670294e124c33.tar.gz
qutebrowser-a18b3fe2a85b5d734085fb9850e670294e124c33.zip
Update Arch section in stacktrace.asciidoc.
Diffstat (limited to 'doc/stacktrace.asciidoc')
-rw-r--r--doc/stacktrace.asciidoc33
1 files changed, 23 insertions, 10 deletions
diff --git a/doc/stacktrace.asciidoc b/doc/stacktrace.asciidoc
index d3f7c5b08..9018f7245 100644
--- a/doc/stacktrace.asciidoc
+++ b/doc/stacktrace.asciidoc
@@ -30,7 +30,7 @@ is available in the repositories:
For Archlinux, no debug informations are provided. You can either compile Qt
yourself (which will take a few hours even on a modern machine) or use
-debugging symbols compiled by me (x86_64 only).
+debugging symbols compiled/packaged by me (x86_64 only).
To compile by yourself:
@@ -38,28 +38,41 @@ To compile by yourself:
$ git clone https://github.com/The-Compiler/qt-debug-pkgbuild.git
$ cd qt-debug-pkgbuild
$ git checkout symbols
+$ export DEBUG_CFLAGS='-ggdb3 -fvar-tracking-assignments -Og'
+$ export DEBUG_CXXFLAGS='-ggdb3 -fvar-tracking-assignments -Og'
$ cd qt5
-$ makepkg -si
+$ makepkg -si --pkg qt5-base,qt5-webkit
$ cd ../pyqt5
-$ makepkg -si
+$ makepkg -si --pkg pyqt5-common,python-pyqt5
----
To install my pre-built packages:
+First download and sign the key:
+
+----
+# pacman-key -r 0xD6A1C70FE80A0C82
+$ pacman-key -f 0xD6A1C70FE80A0C82
+ Key fingerprint = 14AF EC28 70C6 4863 C5C7 ACCB D6A1 C70F E80A 0C82
+# pacman-key --lsign-key 0xD6A1C70FE80A0C82
+----
+
+Then edit your `/etc/pacman.conf` to add the repository to the bottom:
+
----
-$ mkdir qt-debug
-$ cd qt-debug
-$ wget -r -l1 -A '*.tar.xz' -L -np -nd http://www.qutebrowser.org/qt-symbols-pkg/
-# pacman -U *.pkg.tar.xz
+[qt-debug]
+Server = http://qutebrowser.org/qt-debug/$arch
----
-After you are done debugging, make sure to install the system packages again so
-you get updates. This can be done with this command:
+Then install the packages:
----
-# pacman -S qt5
+# pacman -Sy pyqt5-common-debug python-pyqt5-debug qt5-base-debug qt5-webkit-debug
----
+The `-debug` packages conflict with the non-debug variants - it's safe to
+remove them.
+
Getting a core dump
-------------------