From 49a78bc482bc112248a05f0b1ea78bcf80403efa Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sun, 28 Feb 2021 14:56:19 +0100 Subject: Fix cairo build (autoconf + CMake) + README's - rewrite to use pkg-config with both autoconf + CMake - remove hardcoded library names - fix build dependencies and search directories - remove or replace old and unused variables - update README files To be done: - implement fallback for autoconf/configure if pkg-config is missing - fix pango build (uses cairo internally) --- cairo/Fl_Cairo.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cairo') diff --git a/cairo/Fl_Cairo.cxx b/cairo/Fl_Cairo.cxx index 28c0079f1..0ebd04b97 100644 --- a/cairo/Fl_Cairo.cxx +++ b/cairo/Fl_Cairo.cxx @@ -1,7 +1,7 @@ // // Main header file for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2018 by Bill Spitzak and others. +// Copyright 1998-2021 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -124,9 +124,9 @@ static cairo_surface_t * cairo_create_surface(void * gc, int W, int H) { cairo_t * Fl::cairo_make_current(void *gc) { int W=0,H=0; #if defined(USE_X11) - //FIXME X11 get W,H - // gc will be the window handle here -# warning FIXME get W,H for cairo_make_current(void*) + // FIXME X11 get W,H + // gc will be the window handle here + // # warning FIXME get W,H for cairo_make_current(void*) #elif defined(__APPLE_QUARTZ__) if (fl_window) { W = Fl_Window::current()->w(); -- cgit v1.2.3