Commit graph

113 commits

Author SHA1 Message Date
Tim-Philipp Müller
38f0186560 meson: rely on automatic wrap promotion from subprojects
Don't ship wrap files for things that are only dependencies
of dependencies, such as gperf (for fontconfig), or
libffi + proxy-libintl (for glib).

Instead, let Meson use the wraps that these subprojects ship,
which Meson will pick up automatically since v56, so there's
no need for us to ship these wraps any more.

Bump the Meson requirement to 0.56 accordingly.

Fix expat package dep for fedora ci and bump the tag so it gets
picked up.

See https://mesonbuild.com/Release-notes-for-0-56-0.html#wraps-from-subprojects-are-automatically-promoted

Closes #445
2021-08-26 23:40:12 +01:00
Tim-Philipp Müller
e30259f623 cairo-trace: fix build with newer versions of bfd
And update configure/meson checks to check for the new function.

Drop libiberty.h check since it's only needed by backtrace-symbols.c
which we're about to remove.

Closes #391, #460
2021-02-23 12:29:58 +00:00
Tim-Philipp Müller
c47db9e36c autotools: dist meson subproject wraps
Fixes #447
2020-12-25 19:48:23 +00:00
Tim-Philipp Müller
c3e48e63a2 meson: extract meson version from cairo-version.h
Same as autotools does. Arguably it would be better to do
it the other way round and generate cairo-version.h from
the version in meson.build or configure.ac but for now
let's do this so it's at least in sync with the autotools
build and only one file has to be edited for releases.
2020-10-21 11:45:54 +00:00
Tim-Philipp Müller
4ea2991a40 Retire dummy cairo-version.h header to fix meson subproject build
It was originally added to make bisecting easier,
but has outlived its usefuleness now.

Going forward we'll have just a single cairo-version.h
header file, the one with the real version numbers.

This is needed to fix the case where cairo is being
built as a Meson subproject, but also simplifies
things in general.

Fixes #421
2020-09-29 15:50:53 +00:00
Tim-Philipp Müller
b4bbe9970c autotools: dist Meson build system files
So that people can build with Meson when using the tarballs.

Fixes #424
2020-09-24 12:16:39 +01:00
Javier Jardón
3616a5f992 configure.ac: Update autotools configuration
Do not use autoconf deprecated macros
Use new libtool syntax
honor aclocal flags
2012-04-14 15:02:10 +01:00
Andrea Canciani
ed803a1935 build: Add 'clean' target to Makefile.win32 build system
The Makefile.win32 in the subdirectories provide a working 'clean'
target (defined in Makefile.win32.common), the central Makefile.win32
'clean' target does not do anything.

Replace the noop 'clean' target with one that cleans all the subdirs.
2012-02-16 23:00:46 +01:00
Chris Wilson
888eeb187f Add a KNOWN_ISSUES file to track WONTFIX(?) bugs 2010-12-25 10:19:38 +00:00
Benjamin Otte
9de25a0297 configure: remove dolt
libtool should be fast by now
2010-07-05 18:38:33 +02:00
Behdad Esfahbod
59a14f6223 Comment win32 maintainer-clean files again 2009-01-10 13:09:06 -05:00
Søren Sandmann Pedersen
cc51191739 Uncomment win32 maintainer-clean files to make Makefile.am syntactically correct 2009-01-10 12:13:40 -05:00
Behdad Esfahbod
06deaa98b6 [build] Include all generated win32 build files in the repo
So a git clone can be built on win32.  The files only change after adding
new backends.
2009-01-09 15:55:24 -05:00
Chris Wilson
e90073f7dd [test] Build test suite into single binary.
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-31 12:30:11 +00:00
Carl Worth
81439b3bc8 Add missing files to CLEANFILES and DISTCLEANFILES.
Without these files in these lists, "make distcheck" is unhappy.
2008-10-29 16:19:30 -07:00
Behdad Esfahbod
ab682a6ff2 Add README.win32, courtesy of Damian Frank 2008-09-24 17:23:28 -04:00
Behdad Esfahbod
fba0211ed6 [Makefile.win32] Add makefile rules to generate cairo-features.h 2008-09-22 23:41:07 -04:00
Behdad Esfahbod
ebb5eb57b7 Generate build/Makefile.win32.features 2008-09-22 22:24:38 -04:00
Behdad Esfahbod
2ab77236f8 [Makefile.am] Add util to SUBDIRS
We do nothing by default there right now, but it's correct to include it
anyway.  And we will be installing utilities from there soon (cairo-trace for
example.)
2008-09-15 15:50:14 -04:00
Behdad Esfahbod
b4bbcda1c3 [Makefile.am] Add doc back to SUBDIRS
This reverts cac2ea0fcd
We need doc in SUBDIRS to install docs even if gtk-doc is not available.
The real fix for the build issue without gtk-doc should go under doc/
and is coming in a followup commit.
2008-09-15 15:47:53 -04:00
Chris Wilson
cac2ea0fcd [Makefile] Disable doc/ if we don't have gtk-doc.
make check dies in the documentation even if we have explicitly disabled
gtk-doc - so only enter doc/ with gtk-doc enabled.
2008-09-15 16:28:52 +01:00
Behdad Esfahbod
de5b8bce37 Makefile.am cleanup
Use a common build/Makefile.am.common file.
2008-09-11 15:49:09 -04:00
Behdad Esfahbod
b7a838261b Move m4 macros into build/aclocal.*.m4 files 2008-09-11 04:17:43 -04:00
Behdad Esfahbod
49f060252a Rename build/*.mk to build/Makefile.am.*
Namely:

	build/Analysis.mk  -> build/Makefile.am.analysis
	build/ChangeLog.mk -> build/Makefile.am.changelog
	build/Releasing.mk -> build/Makefile.am.releasing
2008-09-04 22:27:03 -04:00
Behdad Esfahbod
06ec8b7743 Move some top-level build files into build/ 2008-09-03 19:09:57 -04:00
Behdad Esfahbod
5ea2555c12 [Makefile.am] Move lcov rules to Analysis.mk 2008-09-03 12:16:36 -04:00
Behdad Esfahbod
c8f23c2fcc [Makefile.am] Move releasing rules to Releasing.mk 2008-09-03 12:06:51 -04:00
Behdad Esfahbod
5926257770 Revamp the build system.
Quick summary of changes:

  - Move list of cairo source files out of src/Makefile.am and into
    src/Sources.mk,

  - Generate files src/Config.mk and src/Config.mk.win32 that choose
    the right set of source files and headers based on configured
    backends and features.  This drastically simplifies building
    using other build systems.  The src/Makefile.win32 file needs
    to be updated to reflect these changes.

  - Add README files to various directories,

  - Add toplevel HACKING file.
2008-09-02 20:24:08 -04:00
Behdad Esfahbod
894940b81f Some nasty tracks to make changing version number not cause a total rebuild
Quite slick!  This comes handy when git-bisect'ing.  The canonical version
number is in toplevel cairo-version.h now.
2008-08-28 18:18:23 -04:00
Behdad Esfahbod
89900525fb Move version number to src/cairo-version.h 2008-08-28 17:28:08 -04:00
Behdad Esfahbod
df64e0e632 Cleanup libtool version handling
In preparation to remove the manual numbering completely
2008-08-27 18:41:22 -04:00
Behdad Esfahbod
98942f99f3 [configure.in] Move library version information to Version.mk 2008-08-27 17:53:30 -04:00
Behdad Esfahbod
78758b6acc [Makefile.am] Add autogen.sh to dist. Oops! 2008-08-23 14:22:58 -04:00
Chris Wilson
d266648276 [configure.in] Revert addition of MACRO_DIR()
Without it we get a three line warning under Ubuntu. However, it just
causes more problems than it is worth with older autoconf/automake.
2008-08-11 08:40:22 +01:00
Chris Wilson
afdf3917ee [configure.in] Slight massage for recent Ubuntu autotools.
Fix up a couple of minor complaints about possibly undefined macros,
cached conditional values and suggested improvements.
2008-08-07 14:03:16 +01:00
Carl Worth
fbd29a4025 Fix 'make doc-publish' for when run twice on the same day 2008-02-28 14:36:32 -08:00
Carl Worth
7800cfd7de Add several Makefile.win32 files to EXTRA_DIST
Otherwise, these files were being omitted from the tar files.
2008-02-06 17:01:22 -08:00
Behdad Esfahbod
9ee7a48b33 [Makefile.am] Minor wording change 2008-01-29 00:50:48 -05:00
Behdad Esfahbod
8e3250b856 [Makefile.am] Remove ROADMAP and TODO from dist files 2008-01-29 00:43:10 -05:00
Chris Wilson
3f202c081d [Makefile.am] Another path massage for lcov.
Beware the inline functions in the headers that are now being pulled
into the boilerplate code.
2008-01-16 23:42:24 +00:00
Chris Wilson
9ebfa8b5fb [Makefile.am] Couple check-ref-missing into release-check
Verify that all the reference images checked into git will be included
within the distribution tarball as early as possible in the release
process.
2008-01-16 23:30:15 +00:00
Chris Wilson
bb41fa22e3 [Makefile.am] Further massage lcov paths for srcdir != builddir.
The lcov scripts generate incorrect absolute paths to the builddir for
source files - so convert them to srcdir using sed.
2008-01-16 23:21:53 +00:00
Chris Wilson
407ed0a6e7 [Makefile.am] Add lcov-clean to distclean.
Clean the gcov temporary files when doing a full clean - spotted in a
patch by Patrick Hulin to adapt cairo's lcov targets to glib.
2007-12-03 18:58:21 +00:00
Chris Wilson
9c73259403 [Makefile.am] Wrap lcov make targets within an AM_CONDITIONAL.
Hide 'make lcov' and friends unless the user has actually enabled lcov
supported during configure.
2007-12-02 18:46:23 +00:00
Chris Wilson
0b65c301a7 [Makefile.am] Change lcov-clean to use more portable constructs.
Replace xargs and rm with the binaries found by configure and drop the
passing of NUL-terminated strings as that is a GNU extension.
2007-10-10 14:56:52 +01:00
Chris Wilson
dbbcb5c26f [Makefile] Correct parameters to lcov reset.
lcov uses -z to zero its counters, not --reset.
2007-10-04 21:18:47 +01:00
Chris Wilson
d837a458b9 [configure] Work-around bad interaction of libtool and lcov
libtool causes the .gcda files to be generated in the .libs/ directory,
separate from the .c source file. lcov expects them to be in the same
directory - so massage the lcov.info file to remove the reference to the
.libs/.

Also separate the target for generating the lcov output, so that it can
be run independently from triggering the tests. And improve convenience
of using the other lcov targets.
2007-09-27 17:46:15 +01:00
Søren Sandmann
12cc32b674 [pixman] Initial port to standalone pixman library. 2007-06-21 22:21:11 -07: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
d00aa44206 [Makefile.am] Add a "make snapshot" target
that creates a tarball named with version, date, and git hash of
the tree.  Like cairo-1.4.5-20070420-2a0389.tar.gz.
2007-04-20 01:28:56 -04:00