diff options
author | Florian Bruhin <git@the-compiler.org> | 2015-02-03 20:30:51 +0100 |
---|---|---|
committer | Florian Bruhin <git@the-compiler.org> | 2015-02-11 23:12:32 +0100 |
commit | cacc42417b8430e54c9c59f4383fc6689e05281a (patch) | |
tree | e8ee4b26262954ed61ce2d7f580d006aab6e3dda | |
parent | 2403e5b79205a06fb0e81c52cb260a846231f8f5 (diff) | |
download | qutebrowser-cacc42417b8430e54c9c59f4383fc6689e05281a.tar.gz qutebrowser-cacc42417b8430e54c9c59f4383fc6689e05281a.zip |
Update Arch section in stacktrace.asciidoc.
-rw-r--r-- | doc/stacktrace.asciidoc | 33 |
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 ------------------- |