summaryrefslogtreecommitdiff
path: root/README.Cairo.txt
diff options
context:
space:
mode:
Diffstat (limited to 'README.Cairo.txt')
-rw-r--r--README.Cairo.txt17
1 files changed, 15 insertions, 2 deletions
diff --git a/README.Cairo.txt b/README.Cairo.txt
index c25654cb9..3e94196ea 100644
--- a/README.Cairo.txt
+++ b/README.Cairo.txt
@@ -50,7 +50,7 @@ variable OPTION_CAIRO:BOOL=ON is set.
------------------------------
(1) Adding a new Fl_Cairo_Window class permitting transparent and easy
- integration of a Cairo draw callback without the need subclass Fl_Window.
+ integration of a Cairo draw callback without the need to subclass Fl_Window.
(2) Adding a Fl::cairo_make_current(Fl_Window*) function only providing
transparently a cairo context to your custom Fl_Window derived class.
@@ -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: