aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-10-25 15:56:10 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-10-25 15:56:10 +0200
commite7377134427af6683cee67fce2c2b5330107422d (patch)
treef47663e3fb2b563cba36c16aba9df3dd41ecc948
parentRemove CMakeLists (diff)
downloadsmolbote-e7377134427af6683cee67fce2c2b5330107422d.tar.xz
Remove breakpad gitmodule
-rw-r--r--.gitmodules3
m---------3rd-party/breakpad/breakpad.git0
-rw-r--r--doc/Building/Breakpad.asciidoc28
3 files changed, 26 insertions, 5 deletions
diff --git a/.gitmodules b/.gitmodules
index 2e84ecd..20e9639 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,6 +1,3 @@
-[submodule "3rd-party/breakpad/breakpad.git"]
- path = 3rd-party/breakpad/breakpad.git
- url = https://chromium.googlesource.com/breakpad/breakpad
[submodule "3rd-party/SingleApplication/SingleApplication.git"]
path = 3rd-party/SingleApplication/SingleApplication.git
url = https://github.com/itay-grudev/SingleApplication.git
diff --git a/3rd-party/breakpad/breakpad.git b/3rd-party/breakpad/breakpad.git
deleted file mode 160000
-Subproject 54fa71efbe50fb2b58096d871575b59e12edba6
diff --git a/doc/Building/Breakpad.asciidoc b/doc/Building/Breakpad.asciidoc
index 9cc561e..aa2642e 100644
--- a/doc/Building/Breakpad.asciidoc
+++ b/doc/Building/Breakpad.asciidoc
@@ -1,8 +1,32 @@
== Breakpad
=== Enabling breakpad
-Use `-DBreakpad=On` cmake option. This requires either Breakpad be installed as
-a package, or that it is already built. Check 3rd-party/breakpad/CMakeLists.txt.
+Use the `-DBreakpad=enabled` option. This requires Breakpad be installed as a package.
+
+=== Building breakpad on linux
+[source, sh]
+----
+# Get the missing linux syscall support header
+if [ ! -f breakpad.git/src/third_party/lss/linux_syscall_support.h ]; then
+ mkdir -p breakpad.git/src/third_party/lss
+ curl -L https://chromium.googlesource.com/linux-syscall-support/+/master/linux_syscall_support.h?format=TEXT | base64 --decode > breakpad.git/src/third_party/lss/linux_syscall_support.h
+fi
+
+buildpath=$(pwd)/build
+if [ ! -d $buildpath ]; then
+ mkdir $buildpath
+fi
+
+installpath=$(pwd)/install
+if [ ! -d $installpath ]; then
+ mkdir $installpath
+fi
+
+cd $buildpath
+../breakpad.git/configure --prefix=$installpath
+make
+make install
+----
=== Producing symbols
[source, sh]