summaryrefslogtreecommitdiff
path: root/README.Cairo.txt
diff options
context:
space:
mode:
authorfabien <fabien@onepost.net>2018-12-25 12:25:35 -0600
committerfabien <fabien@onepost.net>2018-12-25 12:25:35 -0600
commit5c7118f8d9a4a89742c33d411e5f207b9108b32e (patch)
tree6f18e36d08359ada1f91eb2c36021e54562d026e /README.Cairo.txt
parent550ba7e10580f6feb2679a706d380ace1a3be56d (diff)
Add documentation on how to build Cairo in Linux Debian and derivatives.
Diffstat (limited to 'README.Cairo.txt')
-rw-r--r--README.Cairo.txt15
1 files changed, 14 insertions, 1 deletions
diff --git a/README.Cairo.txt b/README.Cairo.txt
index 10ec3934c..3e94196ea 100644
--- a/README.Cairo.txt
+++ b/README.Cairo.txt
@@ -117,7 +117,20 @@ on the various supported operating systems.
3.1 Linux
---------
- From Greg (erco@seriss.com):
+ 3.1.1 Debian and derivatives (like Ubuntu)
+ -----------------------------------------------------
+
+ Run from a terminal command line:
+ sudo apt install libcairo2-dev
+
+ Then build fltk using the cairo additional option using:
+ cmake -G"Unix Makefiles" -DOPTION_CAIRO:BOOL=ON -S <fltk_dir> -B <your_build_dir>
+ cd <your_build_dir>
+ make
+
+ 3.1.2 CentOS from Greg (erco@seriss.com)
+ ---------------------------------------------------
+
To get FLTK 1.3.x (r9204) to build on Centos 5.5, I found that
I only needed to install the "cairo-devel" package, ie: