summaryrefslogtreecommitdiff
path: root/configure.ac
AgeCommit message (Collapse)AuthorFilesLines
2009-08-06[configure] Also check for libiberty.hChris Wilson1-0/+1
cairo-trace also uses the libiberty.h without checking for its presence -- causing a build failure if bfd was installed but not that header.
2009-07-23[drm] Add an accelerated image surface.Chris Wilson1-0/+25
Use the DRM interface to h/w accelerate composition on image surfaces. The purpose of the backend is simply to explore what such a hardware interface might look like and what benefits we might expect. The use case that might justify writing such custom backends are embedded devices running a drm compositor like wayland - which would, for example, allow one to write applications that seamlessly integrated accelerated, dynamic, high quality 2D graphics using Cairo with advanced interaction (e.g. smooth animations in the UI) driven by a clutter framework... In this first step we introduce the fundamental wrapping of GEM for intel and radeon chipsets, and, for comparison, gallium. No acceleration, all we do is use buffer objects (that is use the kernel memory manager) to allocate images and simply use the fallback mechanism. This provides a suitable base to start writing chip specific drivers.
2009-07-21Merge commit 'anholt/gl'Chris Wilson1-0/+29
Conflicts: boilerplate/Makefile.sources boilerplate/cairo-boilerplate.c build/configure.ac.features src/cairo.h util/cairo-script/Makefile.am
2009-07-17Add OpenVG backend.Chris Wilson1-0/+43
Based on the work by Øyvind Kolås and Pierre Tardy -- many thanks to Pierre for pushing this backend for inclusion as well as testing and reviewing my initial patch. And many more thanks to pippin for writing the backend in the first place! Hacked and chopped by myself into a suitable basis for a backend. Quite a few issues remain open, but would seem to be ready for testing on suitable hardware.
2009-07-14[configure] Bump pixman dependencyCarlos Garcia Campos1-1/+1
Version 0.15.16 contains the new PDF blend mode operators.
2009-07-03Export meta-surfaceChris Wilson1-0/+4
The meta-surface is a vital tool to record a trace of drawing commands in-memory. As such it is used throughout cairo. The value of such a surface is immediately obvious and should be applicable for many applications. The first such case is by cairo-test-trace which wants to record the entire graph of drawing commands that affect a surface in the event of a failure.
2009-06-20[build] Look for libpng.pc as well when configuring.M Joonas Pihlaja1-1/+1
The OpenBSD png package installs only libpng.pc and not any of libpng{13,12,10}.pc.
2009-06-19[build] Require fontconfig >= 2.2.95 if we're using it at all.M Joonas Pihlaja1-1/+2
We require at least fontconfig 2.2.95 when we're using fontconfig because we depend on the FcResultOutOfMemory error code introduced in that version.
2009-06-16Import Qt backend by MozillaVladimir Vukicevic1-0/+11
Written by Vladimir Vukicevic to enable integration with Qt embedded devices, this backend allows cairo code to target QPainter, and use it as a source for other cairo backends. This imports the sources from mozilla-central: http://mxr.mozilla.org/mozilla-central/find?text=&kind=text&string=cairo-qpainter renames them from cairo-qpainter to cairo-qt, and integrates the patch by Oleg Romashin: https://bugs.freedesktop.org/attachment.cgi?id=18953 And then attempts to restore 'make check' to full functionality. However: - C++ does not play well with the PLT symbol hiding, and leaks into the global namespace. 'make check' fails at check-plt.sh - Qt embeds a GUI into QApplication which it requires to construct any QPainter drawable, i.e. used by the boilerplate to create a cairo-qt surface, and this leaks fonts (cairo-ft-fonts no less) causing assertion failures that all cairo objects are accounted for upon destruction. [Updated by Chris Wilson] Acked-by: Jeff Muizelaar <jeff@infidigm.net> Acked-by: Carl Worth <cworth@cworth.org>
2009-06-07[configure] Check for FcInit()Chris Wilson1-1/+1
2009-06-07[configure] Don't attempt to build GTK+ utilities on system without GTK+Chris Wilson1-1/+2
2009-06-05[configure] Bump pixman dependency.Chris Wilson1-1/+1
Reflect was only fixed in the 0.15 series, so require at least that version of pixman so we can that advantage of that and drop our workaround.
2009-06-02Merge commit 'origin/master' into glEric Anholt1-18/+22
Felt like pulling the latest stuff, since I branched back in February. Conflicts: build/configure.ac.features src/cairo.h util/cairo-script/csi-replay.c
2009-05-20[gl] Add EGL targetChris Wilson1-2/+28
Split the GLX context from the GL surface to enable use of an alternative EGL interface.
2009-05-05[build] Enable shave supportChris Wilson1-0/+4
shave transforms the messy output of autotools into a pretty (quiet!) Kbuild-like one. Lets see how controversial a simple change can be...
2009-03-28[gl] Use GLEW to detect required extension presence.Eric Anholt1-0/+9
2009-03-17Support compiling without fontconfigBehdad Esfahbod1-9/+17
Adds a new, fake, fontconfig font backend. Fontconfig can be disabled using --disable-fc, in which case the toy text API wont find fonts and the internal font will always be used. Also defines the feature macro CAIRO_HAS_FC_FONT. The two fontconfig-specific functions in cairo-ft.h depend on that macro now.
2009-03-03[configure] Detect mkdir variant with non-gcc compilers.Ginn Chen1-1/+1
It doesn't work for non GCC compiler right now, as "-Werror -Wall" is an error to non GCC compiler. I swapped the sequence of build/configure.ac.system and build/ configure.ac.warnings, then WARN_CFLAGS can be used.
2009-02-16[sdl] Remove new backend.M Joonas Pihlaja1-8/+0
The SDL backend makes invalid assumptions about SDL_Surface locking semantics and doesn't deal correctly with the unpremultiplied pixel format supported by SDL. Removed as per discussion on the mailing list. http://lists.cairographics.org/archives/cairo/2009-February/016595.html
2009-02-05[gl] Add basics for GL surface backend using test-fallback as base.Eric Anholt1-0/+7
2009-01-02[configure] Replace awk comparator with an aclocal versionChris Wilson1-12/+6
As reported in https://bugs.freedesktop.org/show_bug.cgi?id=19283, the fallback freetype version compare is broken inside the configure script as the $1-$3 arguments are interpreted as the script is constructed. To avoid making that awk comparison any more complicated, we import a version compare from the autoconf archives - such that we have a reusable macro for the furture.
2008-12-12[script] Add examplesChris Wilson1-0/+1
Add some simple examples to demonstrate CairoScript, courtesy of M Joonas Philaja.
2008-11-26[script] Only use zlib if available.Chris Wilson1-1/+4
Conditionally link against zlib - replaying a script will fail if the trace uses a compressed format.
2008-11-16[configure] Delete CAN_TEST_SCRIPTChris Wilson1-3/+0
A CairoScript interpreter is built under utils and so is always available.
2008-11-13Add CairoScript interpreterChris Wilson1-12/+8
Add a CairoScript interpreter library and use it to replay the test output for the CairoScript backend. The library is also used by the currently standalone Sphinx debugger [git://anongit.freedesktop.org/~ickle/sphinx]. The syntax/operator semantics are not yet finalized, but are expected to mature before the next stable release.
2008-11-13Add CairoScript backend.Chris Wilson1-0/+16
A new meta-surface backend for serialising drawing operations to a CairoScript file. The principal use (as currently envisaged) is to provide a round-trip testing mechanism for CairoScript - i.e. we can generate script files for every test in the suite and check that we can replay them with perfect fidelity. (Obviously this does not provide complete coverage of CairoScript's syntax, but should give reasonable coverage over the operators.)
2008-11-05[trace] Only build if we have zlib.Chris Wilson1-1/+3
Use the configure check for libz and do not attempt to build the trace unless we have zlib.
2008-11-05[test/pdf2png] Remove dependency on GdkPixbufChris Wilson1-1/+1
It's appears to be dropped from the current poppler trunk, so just use our own venerable cairo_surface_write_ton_png().
2008-11-03[configure] Make trace consistent.Chris Wilson1-3/+2
Remove the debianism from the comments for HAVE_BFD and comply with Behdad's guidelines on using $(...) within Makefile.am.
2008-11-03[trace] Autodetect -lbfd during configureChris Wilson1-0/+10
Stop being lazy and detect libbfd during configure.
2008-10-31[util] Add cairo-trace.Chris Wilson1-0/+17
This tool can be used to trace all the cairo function calls made by an applications. This is useful for either extracting a test case triggering a bug from an application, or simply to get a general idea of how an application is using cairo. After make install, cairo-trace program arguments, will print out all the cairo calls to the terminal and also capture theme in ./program.$pid.trace The format of the output is CairoScript, watch this space for more cairo-script tools!
2008-10-31[test] Build test suite into single binary.Chris Wilson1-0/+16
Avoid calling libtool to link every single test case, by building just one binary from all the sources. This binary is then given the task of choosing tests to run (based on user selection and individual test requirement), forking each test into its own process and accumulating the results.
2008-10-30[sdl] Add new backend.Chris Wilson1-0/+8
Add a new backend to allow easy interoperability with the Simple DirectMedia Layer.
2008-10-21[build] Use doltBehdad Esfahbod1-0/+1
Dolt is a hack to speed up libtool-based build systems: http://dolt.freedesktop.org/ It's completely transparent to the user. Brings make time of cairo from 70s down to 20s. Yay!
2008-10-19[perf] A crude tool to visualise performance changes across a series.Chris Wilson1-0/+3
Generate a cairo-perf-diff graph for a series of commits in order to be able to identify significant commits. Still very crude, but minimally functional.
2008-10-11[test/any2ppm] Do not attempt to compile PS without spectreChris Wilson1-1/+4
Since CAN_TEST_PS_SURFACE does not currently require spectre, we were attempting to compile in spectre support for any2ppm even on systems without libspectre installed. Fix that by adding a separate flag for CAIRO_HAS_SPECTRE.
2008-10-09[test] Add ps2png check program using libspectreCarlos Garcia Campos1-0/+1
Add a simple program to compliment pdf2png and svg2png.
2008-10-09[test/any2ppm] Enable PS conversion using libspectre.Carlos Garcia Campos1-4/+16
Complete the vector trilogy using libspectre to provide a similar interface (to poppler and librsvg) around GhostScript.
2008-09-30[configure.ac] Require autoconf >= 2.59 and automake >= 1.9.6Behdad Esfahbod1-2/+2
These are the versions available on RHEL5 (two years old now), and we know cairo works with them. There's evidence that our build system does not work with older automake, and we've been requiring autoconf 2.58 but no one ever tested 2.58 with the new build system. It's very likely that 2.58 doesn't work and needs some macro backporting. In any case, no one reported that they have 2.58 when I asked on the list.
2008-09-24[configure.ac] Bump poppler dependency to 0.9.2Chris Wilson1-1/+3
poppler-0.9.2 is required for replaying user-fonts correctly.
2008-09-17[configure.ac] Set pixman required version back to 0.12.0Behdad Esfahbod1-1/+1
I accidentally committed and pushed changing that version to 0.11.0.
2008-09-17[configure.ac] Err, don't pass argument to AC_PROG_LIBTOOLBehdad Esfahbod1-2/+2
2008-09-17Require pixman 0.12.0Søren Sandmann Pedersen1-1/+1
2008-09-16[configure.ac] Generate boilerplate/Makefile.am.configBehdad Esfahbod1-1/+1
Same scheme as in src/
2008-09-15Revert "[configure] Append -lz to LIBS"Behdad Esfahbod1-3/+1
This reverts commit 9c207b24542edb2e8e388329471ab9e7d7d61ff9. I pushed a proper fix in last commit.
2008-09-16[configure] Append -lz to LIBSChris Wilson1-1/+3
After going to the effort of detecting zlib for cairo-deflate-stream.c, it rather defects the purpose of the exercise (and the mingw32 build) if we forget to add the library to LIBS.
2008-09-15Check for poppler_page_render instead of poppler_page_render_to_pixbufJeff Muizelaar1-1/+1
We now use poppler_page_render for testing. Further, poppler can be built without poppler_page_render_to_pixbuf to avoid a dependency on gdk.
2008-09-11[doc] Don't rebuild after every configure runBehdad Esfahbod1-1/+0
The version.xml file was rebuilt all the time and forcing a full doc rebuild. Not anymore unless cairo-version.h was changed.
2008-09-11Update gtk-doc makefile fragmentBehdad Esfahbod1-0/+3
Also move it to build/. We still do not call gtkdocize from autogen.sh.
2008-09-11[configure.ac] Add CAIRO_BEGINEND_DECLSBehdad Esfahbod1-10/+0