Commit graph

306 commits

Author SHA1 Message Date
Behdad Esfahbod
114b07881e [configure.in] Make PS backend require zlib too (#12210)
The PS backend uses zlib these days.  Make it depend on zlib being available
like PDF has been doing.
2007-08-29 12:19:05 -04:00
Behdad Esfahbod
7f726e5754 [configure.in] Document version scheme 2007-08-29 12:19:05 -04:00
Søren Sandmann Pedersen
4ca0ca153a Bump pixman dependency to 0.9.4
Also print the download location if the library wasn't found.
2007-08-06 19:24:31 -04:00
Behdad Esfahbod
ef93f1897c [configure.in] Cleanup after pixman removal and correctly check for pixman 2007-07-31 17:52:13 -04:00
Chris Wilson
7eaba5d5fb [configure] Only run PostScript tests if we have ghostscript.
During configure check for the ghostscript command line tool (gs) before
enabling the PostScript surface tests for make check.
2007-07-05 19:02:11 +01:00
Søren Sandmann Pedersen
ef967be630 Merge branch 'master' of git+ssh://sandmann@git.freedesktop.org/git/cairo
Conflicts:

	pixman/src/fbcompose.c
	pixman/src/icimage.c
	pixman/src/pixmanint.h
	pixman/src/pixregionint.h
	src/cairo-clip.c
2007-07-02 08:33:29 -07:00
Carl Worth
fc34073464 Increment version to 1.5.1 after the 1.4.10 release 2007-06-27 14:38:41 -07:00
Carl Worth
107a74885a Increment cairo version to 1.4.10 (and libtool versioning to 13:5:11) 2007-06-27 14:05:56 -07:00
Søren Sandmann
12cc32b674 [pixman] Initial port to standalone pixman library. 2007-06-21 22:21:11 -07:00
Behdad Esfahbod
1d86c7fa88 [perf] Link to librt if available
This is needed on Solaris, but also works on Linux.
2007-06-09 13:48:32 -04:00
Carl Worth
85d045f267 Update version to 1.4.9 after the 1.4.8 release. 2007-06-08 16:08:44 -07:00
Carl Worth
fea4f344c4 Update version to 1.4.8 (and libtool info to 13:4:11) 2007-06-08 15:49:12 -07:00
Carl Worth
f57a536fce Increment version to 1.4.7 after the 1.4.6 release 2007-05-01 13:45:58 -07:00
Carl Worth
0390ed4f18 Increment version to 1.4.6 (and library versioning to 13:3:11) 2007-05-01 13:24:43 -07:00
Behdad Esfahbod
8ea48710dc [perf] Check availability before including nonstandard headers 2007-04-30 19:20:56 -04:00
Behdad Esfahbod
515491334c Add util/ to distribution
We already reference an script in util/ in PORTING_GUIDE, but was
not shipping it!
2007-04-21 07:48:10 -04:00
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