aboutsummaryrefslogtreecommitdiff
path: root/README.rst
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2021-02-06 00:05:27 +0100
committerjaseg <git@jaseg.de>2021-02-06 00:05:27 +0100
commit8c494f77361a6774a30ee86a86c40c4bdeeda83a (patch)
treeef709f17fa7a82ec9424078b4f7a269cd8778873 /README.rst
parentbf428103d3a05289f66a6215374515dc98e46a14 (diff)
downloadgerbolyze-8c494f77361a6774a30ee86a86c40c4bdeeda83a.tar.gz
gerbolyze-8c494f77361a6774a30ee86a86c40c4bdeeda83a.tar.bz2
gerbolyze-8c494f77361a6774a30ee86a86c40c4bdeeda83a.zip
Work on fedora/debian compatibility
Diffstat (limited to 'README.rst')
-rw-r--r--README.rst13
1 files changed, 12 insertions, 1 deletions
diff --git a/README.rst b/README.rst
index f03812c..befaf27 100644
--- a/README.rst
+++ b/README.rst
@@ -58,9 +58,18 @@ Debian
Step 1: Install dependencies
****************************
+.. note::
+ Right now, debian stable ships with a rust that is so stable it can't even build half of usvg's dependencies. That's
+ why we yolo-install our own rust here. Sorry about that. I guess it'll work with the packaged rust on sid.
+
.. code-block:: shell
- sudo apt install libopencv-dev libpugixml-dev libpangocairo-1.0-0 libpango1.0-dev libcairo2-dev clang make python3 rustc cargo git python3-wheel
+ git clone --recurse-submodules https://git.jaseg.de/gerbolyze.git
+ cd gerbolyze
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
+ source $HOME/.cargo/env
+ sudo apt install libopencv-dev libpugixml-dev libpangocairo-1.0-0 libpango1.0-dev libcairo2-dev clang make python3 git python3-wheel curl
+ python3 setup.py install
Fedora
~~~~~~
@@ -70,6 +79,8 @@ Step 1: Install dependencies
.. code-block:: shell
+ git clone --recurse-submodules https://git.jaseg.de/gerbolyze.git
+ cd gerbolyze
sudo dnf install python3 make clang opencv-devel pugixml-devel pango-devel cairo-devel rust cargo
Arch