]> danny-edel.de - dspdfviewer.git/commitdiff
docs: move compile-time dependencies to own file
authorDanny Edel <mail@danny-edel.de>
Thu, 20 Oct 2022 07:56:39 +0000 (09:56 +0200)
committerDanny Edel <mail@danny-edel.de>
Thu, 20 Oct 2022 07:56:39 +0000 (09:56 +0200)
docs/installation/source/dependencies.md [new file with mode: 0644]
docs/installation/source/stable.md

diff --git a/docs/installation/source/dependencies.md b/docs/installation/source/dependencies.md
new file mode 100644 (file)
index 0000000..a66d156
--- /dev/null
@@ -0,0 +1,32 @@
+---
+title: Compile-time Dependencies
+---
+
+You will need a c++11 compiler, cmake, and the
+"development" editions of the libraries used (boost, poppler, qt5).
+
+The exact names of those packages will vary based on your operating system
+and/or distribution, but development versions often end in `-dev`,
+`-headers` or similar.
+
+If your distribution does not yet have a package for `dspdfviewer`,
+you might want to consider packaging it,
+so that in the future, you (and other users of your distribution)
+can simply install the package.
+
+## Debian and Ubuntu based systems
+
+The following package list works on current debian-based systems:
+
+{% highlight bash %}
+sudo apt install libboost-program-options-dev libboost-test-dev \
+     libpoppler-qt5-dev qtbase5-dev qttools5-dev qttools5-dev-tools
+{% endhighlight %}
+
+## Fedora
+
+Fedora dependencies, thanks to [LorhanSohaky](https://github.com/LorhanSohaky):
+
+{% highlight bash %}
+sudo dnf install cmake boost-devel poppler-qt5-devel qt5-qtbase-devel qt5-linguist
+{% endhighlight %}
index e4cc973dc1b60a80c26e0135ac1e2d02e1f0b0c2..b4391491731a700efbf2dd58764b933e2aec97ab 100644 (file)
@@ -11,12 +11,17 @@ You can also jump directly to the [latest version][latest].
 [rel]: https://github.com/dannyedel/dspdfviewer/releases
 [latest]: https://github.com/dannyedel/dspdfviewer/releases/latest
 
+Dependencies:  You will need to install the [build dependencies][bdep]
+before you can compile this software.
+
+
 Info:  When compiling software yourself, you have the opportunity to
 change certain aspects.
 Please read the [compile-time options list][opts] if you want to
 fine-tune certain things.
 
 [opts]: /installation/source/options.html
+[bdep]: /installation/source/dependencies.html
 
 {% highlight bash %}
 VERSION=1.33.7 # Change this!