Commit graph

290 commits

Author SHA1 Message Date
Behdad Esfahbod
813cdd7150 [configure.in] Support --disable-pthread
Also allows for --enable-pthread=yes which will make configure abort
if pthread is not found (as opposed to silently disabling it).
2007-04-19 16:53:24 -04:00
Kouhei Sutou
7ff95c7230 Support MinGW DLL compilation 2007-04-16 02:48:14 -04:00
Carl Worth
96ee8d5ebe Update version to 1.4.5 after the 1.4.4 release 2007-04-13 17:47:25 -07:00
Carl Worth
ebba4a6d14 Increment version to 1.4.4 (and library versioning to 13:2:11) 2007-04-13 17:37:14 -07:00
Carl Worth
50ef5bcf7b Revert cairo_public_warn addition to cairo.h
This new feature isn't appropriate for a minor cairo release,
(we're between 1.4.2 and 1.4.4 right now), but will make a
lot of sense during 1.5.

The code being reverted here was originally added with the
following commit:

	46eab95698

but this change reverts only the public-facing parts of it.
2007-04-12 13:46:03 -07:00
Chris Wilson
284edb8648 Do not raise an error if we fail to locate 'find' or 'xargs'
Whilst not being able to delete all of the test output is messy it is
however not fatal, so do not abort configuration simply because we
cannot find either program.
2007-04-12 03:01:31 +01:00
Chris Wilson
a8974223dc Check for find and xargs during configure
Replace hard-coded find, xargs and rm with the paths determined during
configure. This also gives us an opportunity to detect missing programs
and inform the developer.
2007-04-12 02:31:03 +01:00
Chris Wilson
3bc413343a Define cairo_public_warn in terms of cairo_public.
By defining cairo_public_warn as an extension of cairo_public, the
programmer need only to override cairo_public in order to export the
complete API for different architectures i.e. existing configurations
will continue to work with no alterations.
2007-04-11 14:39:56 -07:00
Chris Wilson
54134dd901 Only enable warn-unused-result for recent gcc
The attribute was introduced with gcc-3.4, but the ability to suppress
warnings from misapplied attributes (-Wno-attributes) was only introduced
later. Without the supression, gcc will emit tens of warnings for each
compilation completely drowning the real errors that the programmer
must see.
2007-04-11 14:39:50 -07:00
Chris Wilson
4456ecbf26 Fix detection of FcFini().
It is customary to check for a FontConfig function in the FontConfig
library rather than the FreeType library.
2007-04-09 16:49:58 -07:00
Chris Wilson
46eab95698 Add attribute(warn_unused_result)
This adds a compiler check that the function result is used by the caller
and enables it by default for all cairo_private functions and for public
API that returns a cairo_status_t.

It has been discussed that to extend the warnings to all functions, a
new function type could been introduced to cover static functions:
cairo_static. This has not been done at the present time in order to
minimise the churn and focus on the more common errors.

In order to reduce the warning spew generated by gcc for invalid use of
this attribute, -Wno-attributes is added to CFLAGS. This has the
unfortunate side-effect of masking future warnings for all attributes -
be warned!
2007-04-09 15:01:58 +01:00
Chris Wilson
5c24711ee6 Restore gcov functionality
Add -lgcov to the shared library else the test programs fail to link.
Add a couple of lcov convenience targets to generate the coverage reports.
2007-04-04 10:13:13 +01:00
Behdad Esfahbod
b121468f14 [configure.in] Bump version up to 1.4.3, oops!
Supposed to be done after 1.4.2 was out, but apparently didn't happen.
2007-04-03 16:27:50 -04:00
Behdad Esfahbod
0263f18f84 [configure.in] Define PIXMAN_CFLAGS, to pass -fno-strict-aliasing to pixman 2007-03-20 08:50:38 -04:00
Carl Worth
b91ff39214 Increment cairo version to 1.4.2 (and libtool versioning to 13:1:11) 2007-03-19 23:24:26 -07:00
Mathias Hasselmann
dd4601b0d0 [cairo-perf] Emit warning, if cairo-perf is not CPU bound
cairo-perf and the X server should be bound to CPUs (either the same
	or separate) on SMP systems. Not doing so causes random results when
	the X server is moved to or from cairo-perf's CPU during the
	benchmarks.
2007-03-16 20:43:29 +01:00
Carl Worth
332c38b6c3 Avoid pulling in -lz for the ps backend.
Quite some time ago we switched from using deflate-based compression to LZW
for the ps backend, (which allows it to target PostScript Level 2 instead of
PostScript Level 3). Now, we finally drop the fact that the ps backend was
still requiring zlib in order to build.
2007-03-15 23:25:06 -07:00
Behdad Esfahbod
b0d05f7421 [configure.in] Remove AM_MAINTAINER_MODE
Maintainer-mode is known broken behavior and discouraged.  It has
created headaches before when you run configure and all in a sudden
editing Makefile.am's does not trigger a Makefile update...
2007-03-06 14:26:51 -05:00
Carl Worth
8f0ff52cf7 Increment version to 1.4.1 after making the 1.4.0 release 2007-03-06 01:39:37 -08:00
Carl Worth
d7df4d4d4c Increment cairo version to 1.4.0 2007-03-06 01:20:45 -08:00
Brian Ewins
a724f816e1 [quartz,atsui] separate the quartz surface and atsui font backend
Make it possible to use the --enable-quartz and --enable-atsui
independently. Quartz on its own will use the ft font backend.
2007-03-05 23:19:24 +00:00
Brian Ewins
5f2b5f1f92 [configure.in] --enable-quartz should require atsui and no xlib
Recent changes have made quartz and atsui interdependent. It is also
no longer possible to build quartz with xlib enabled due to a redefinition
of the 'Picture' symbol. This change makes '--enable-atsui' unnecessary
and refuses to switch on quartz when it cannot be built because xlib
is enabled.
2007-03-04 03:01:22 +00:00
Behdad Esfahbod
9f0a1648b7 [configure.in] Increase version to 1.3.17 post-release 2007-03-03 00:22:53 -05:00
Behdad Esfahbod
b3e1fd8c1c [configure.in] Increase version to 1.3.16 in preparation for release 2007-03-03 00:07:34 -05:00
Behdad Esfahbod
7de96a1faa [xlib] Drop XrmFinalize() stuff. That didn't ever exist in any public X server 2007-03-01 18:00:23 -05:00
Vladimir Vukicevic
4c201723ce [quartz] Rename nquartz to quartz 2007-02-20 12:15:35 -08:00
Behdad Esfahbod
8133530ae5 [configure] Improve win32 detection
We now test for windows.h availability to automatically enable win32
backends.  This nicely enables compiling cairo against libwine by just
setting CC=winegcc LD=winegcc during configure.  This currently only
generates static libs though.
2007-02-20 01:01:34 -05:00
Carl Worth
b31179478b Bump cairo version to 1.3.15 after making the 1.3.14 snapshot 2007-02-14 00:48:42 -08:00
Carl Worth
90e453fc22 Increment cairo version to 1.3.14 (and libtool versioning to 12:4:10) 2007-02-14 00:34:18 -08:00
Behdad Esfahbod
1a9d3b5185 [configure.in] Use AC_MSG_RESULT in PKG_CHECK_MODULES's second branch
If PKG_CHECK_MODULES fails, it does not print out any check results and so, no
newlines.  This is kinda silly, at least in the case that no second branch is
provided, but I think that's the way it is, to let users decide what to print.

We now just do a AC_MSG_RESULT(no) and continue with what we used to do.
Inspired by Tor Lillqvist's similar change in Pango.
2007-01-21 15:17:59 -05:00
Carl Worth
53358ddc73 configure.in: Increment version to 1.3.13 after making the 1.3.12 snapshot 2007-01-20 03:20:18 -08:00
Carl Worth
c34a1a75fd configure.in: Increment cairo version to 1.3.12 2007-01-20 03:04:31 -08:00
Carl Worth
ee01bd9e17 Bump version to 1.3.11 after making 1.3.10 snapshot 2006-12-23 00:47:40 -08:00
Carl Worth
b35cfde7f0 Increment cairo version to 1.3.10 (and libtool versioning to 12:3:10) 2006-12-23 00:35:14 -08:00
Behdad Esfahbod
0d9b2d0415 [configure] Use AC_C_INLINE to correctly define inline
Previously we were defining a symbol INLINE and use that in one place, while
other places were using straight inline.  With the AC_C_INLINE macro we can
just leave it to autoconf to correctly choose what inline should be defined
to.
2006-12-17 14:09:15 -05:00
Carl Worth
2b946cba0e Bump cairo version to 1.3.9 after making 1.3.8 snapshot 2006-12-14 21:09:45 -08:00
Carl Worth
129b55f5fc Increment cairo version to 1.3.8 (and libtool versioning to 12:2:10) 2006-12-14 20:44:25 -08:00
Carl Worth
652f73f090 Bump version to 1.3.7 after making 1.3.6 snapshot 2006-12-06 13:40:52 -08:00
Carl Worth
648ef4487d Increment cairo version to 1.3.6 (and libtool versioning to 12:1:10) 2006-12-06 13:22:41 -08:00
Dan Amelang
94e086b7b9 [configure] Fix --disable-some-floating-point to force value to 'no' if none given
As suggested by Behdad here:

    http://lists.freedesktop.org/archives/cairo/2006-December/008700.html
2006-12-02 11:24:35 -08:00
Dan Amelang
cb9a3c2640 Add configure option --disable-some-floating-point
See discussion here: http://lists.freedesktop.org/archives/cairo/2006-November/008602.html
2006-12-01 12:41:55 -08:00
Carl Worth
c863315285 Hook up Makefiles for perceptualdiff. 2006-11-29 22:55:37 -08:00
Behdad Esfahbod
facffb7ea3 [configure] Remove the pkg-config minimum version requirement
It was added in commit 157663e1fd because there
was a serious bug in the pkg.m4 file from pkg-config 0.18.  However, it was
fixed two days later.  So, instead of requireing 0.18.1 or greater which is
not available on Nokia 770 SDK, we just ignore the broken pkg-config 0.18.
The problem only happens if one runs autogen.sh with against a broken
pkg-config.  Configuring tarballs is not affected.
2006-11-28 19:41:52 -05:00
Carl Worth
9c3b161c70 Bump version to 1.3.5 after making 1.3.4 snapshot 2006-11-22 19:31:56 -08:00
Carl Worth
143c56cb12 Increment cairo version to 1.3.4 2006-11-22 19:15:31 -08:00
Carl Worth
a91c1e3ea6 Require librsvg 2.15.0 (was 2.14.0) for testing of SVG backend.
Bryce Harrington saw off-by-one errors in output image size with
a 2.14.x version of librsvg.
2006-11-20 14:01:50 -08:00
Carl Worth
db603d6647 Increment cairo version to 1.3.3 after 1.3.2 snapshot 2006-11-15 15:33:52 -08:00
Carl Worth
804e20b55d Update cairo version and libtool version for 1.3.2 snapshot 2006-11-15 13:32:15 -08:00
Behdad Esfahbod
fc87d41481 [configure] Err if a suitable pkg-config is not found 2006-11-07 15:07:33 -05:00
Dan Amelang
5376e47425 Add autoconf macro AX_C_FLOAT_WORDS_BIGENDIAN
The symbol that this macro defines (FLOAT_WORDS_BIGENDIAN) can be used
to make double arithmetic tricks portable.
2006-11-06 09:35:10 -08:00