summaryrefslogtreecommitdiff
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2010-12-15gl: Remove GLEW from the build system and the source treeAlexandros Frantzis1-1/+0
2010-11-17Add note re gtk-doc.makeBehdad Esfahbod1-1/+10
2010-11-06configure: Correct reporting of tee backendAndrea Canciani1-1/+1
Since 9f33f8453b4949cfdc63169d3acd7238f89379c2 tee is not compiled in anymore by default. Reporting it as always enabled is misleading.
2010-11-06configure.ac.features: s/Meta/Recording/Adrian Johnson1-1/+1
2010-10-29configure: Remove noisy -Wlogical-opChris Wilson1-1/+3
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-08-10build: Fudge the build system some more so it handles extra libsBenjamin Otte1-0/+3
Add NONPKGCONFIG_EXTRA_LIBS that are only put into the generated pc file but not used when linking. This is now used to add -lcairo-gobject to the cairo-gobject.pc file.
2010-08-07Fix configuration if gobject is absentAndrea Canciani1-1/+1
Autodetect gobject and only use it if present. Its absence is not to be considered a failure since it's not required.
2010-08-07Add cairo-gobject libraryBenjamin Otte2-0/+4
This library is supposed to contain GType declarations for Cairo types. It is also meant to support gobject-introspection binding creation.
2010-07-30configure: Disable xml backend by defaultBenjamin Otte1-1/+1
We don't want to enable it by default when nobody uses it.
2010-07-30configure: Disable tee backend by defaultBenjamin Otte2-0/+3
We don't want to enable it by default when nobody uses it.
2010-07-21build: Typos in comments.M Joonas Pihlaja1-4/+4
Fix inline "dnl" strings left over from a string substitution "--" -> "dnl".
2010-07-21build: Fix pthread detection code when there isn't one.Hib Eris1-1/+1
The code was testing the output variable $use_pthread rather than the input variable $enable_pthread when checking that pthreads were actually found when requested.
2010-07-12build: Sync up autogenerated win32 build files.M Joonas Pihlaja2-0/+4
2010-07-11build: Fix typo in pthread test program.M Joonas Pihlaja1-1/+1
Missing a semicolon after pthread_cleanup_push. Incredibly only openbsd 4.5 minded.
2010-07-11build: Fix regression provoked by newer autoconf and dodgy configuring.M Joonas Pihlaja2-1/+14
We're not supposed to be redefining PACKAGE_VERSION, PACKAGE_... from the configure generated confdefs.h. This patch rudely adds paper over the problem. The compiler warnings are a problem for us since our checking of various compiler flags assumes that no news is good news, and that any warning messages are due to the flags under test. The regression appears when using an autoconf >= 2.64, at least, but not with 2.61. The same issue appears in the pthread test because our conftest unconditionally #defines _GNU_SOURCE, but autoconf ends up doing that in the confdefs.h.
2010-07-11build: Rework pthread detection.M Joonas Pihlaja2-283/+251
Use two levels of pthread support: a minimal level used to build cairo itself, and a full level to build threaded apps which want to use cairo. The minimal level tries to use pthread stubs from libc if possible, but falls back to the full level if that's not possible. We use CFLAGS=-D_REENTRANT LIBS=-lpthread to find a real pthread library since that seems to work on every unix-like test box we can get our hands on.
2010-07-11build: Purge CAIRO_CC_TRY_LINK_FLAG.M Joonas Pihlaja2-22/+1
Use CAIRO_CC_TRY_FLAG instead in the one place where we used CAIRO_CC_TRY_LINK_FLAG and make the build system one macro smaller.
2010-07-11build: Factor out a more pliable CAIRO_CC_TRY_LINK_WITH_ENV_SILENT.M Joonas Pihlaja1-6/+25
Introduce a new CAIRO_CC_TRY_LINK_WITH_ENV_SILENT macro for running generic link tests with arbitrary CFLAGS/LIBS/LDFLAGS and no muttering of autoconf messages. Rewrite the previous CAIRO_CC_TRY_FLAG in terms of it.
2010-07-09build: Commit new versions of autogenerate Windows build filesBenjamin Otte1-1/+0
The recent commits to the build system changed a bunch of stuff in there, so update the files.
2010-07-09build: Fix C++ issues with automakeBenjamin Otte1-1/+6
This is an attempt to fix the broken situation we've been in where automake links libcairo.la with c++ because it might potentially maybe include C++ files. Those potential files only exist in Chris' throwaway backends (skia, qt) and the BeOS backend, so for 99.99% of cases, these backends are not needed and linking with c++ is overkill. Also, no one wants to have libcairo.so link to libstdc++. This patch fixes that in mutliple steps: 1) Add build infrastructure to distinguish between C and C++ backends. This is done by allowing to specify backend_sources as well as backend_cxx_sources variables in Makefile.sources. 2) Optionally build a libcairo_cxx.la noinst library This intermediate library is built for C++ backends only and therefor linked using c++. It is then linked into the final libcairo.la. This does not require c++, so the linking of libcairo.la is done with cc. This also works around various weirdnesses that the current build system exposes, where it assumes cisms when in fact using c++ semantics, like not detecting c++ properly or: https://bugzilla.redhat.com/show_bug.cgi?id=606523
2010-07-09build: Get rid of $(foo_files) Makefile.am variablesBenjamin Otte1-1/+0
They're unused, and less variables make the build system easier to understand.
2010-07-05configure: remove doltBenjamin Otte1-178/+0
libtool should be fast by now
2010-07-05configure: remove shaveBenjamin Otte4-230/+0
2010-07-03boilerplate: Add a describe vfuncBenjamin Otte1-0/+1
This function is supposed to describe the backend in use. The describe function is optional - and therefore initialized as NULL everywhere. Note: It is well known that the xlib backend uses X. What is not known is what version the server supports or what graphics card it is running on. That is the information the describe vfunc is supposed to provide.
2010-06-26Regenerate default win32 headers.Chris Wilson1-1/+0
2010-06-17gl: Added wgl boilerplate and moved the glx and egl boilerplates into their ↵Zoxc1-0/+1
own files.
2010-06-14build: Add wgl to Makefile.sources and regenerate features.Chris Wilson2-0/+4
2010-06-14gl: Added WGL context and surface.Zoxc1-0/+1
2010-05-13build: Fix pthread detectionBenjamin Otte2-11/+283
Incorporate the pthread detection code from the autoconf archive. Should fix build on obscure archs that pretend to be UNIXy - like Mac OS X Tiger. http://www.gnu.org/software/autoconf-archive/ http://www.gnu.org/software/autoconf-archive/ax_pthread.html
2010-05-12gcc-4.5 warnings and optimisation flags.Chris Wilson1-2/+2
2010-05-12gallium: Refresh.Chris Wilson1-1/+0
Catch up with changes in APIs, still no substance and the integration with winsys handles needs review.
2010-05-12drm: code dump, sorry.Chris Wilson3-0/+6
Lots upon lots of tiny fixes mixed in with experimental code. :(
2010-04-29atomic: Add MacOSX atomic implementationAndrea Canciani1-0/+10
Enable atomic operation on MacOS X, using the functions provided by libkern/OSAtomic.h Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-27Update FSF addressAndrea Canciani1-1/+1
I updated the Free Software Foundation address using the following script. for i in $(git grep Temple | cut -d: -f1 ) do sed -e 's/59 Temple Place[, -]* Suite 330, Boston, MA *02111-1307[, ]* USA/51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA/' -i "$i" done Fixes http://bugs.freedesktop.org/show_bug.cgi?id=21356
2010-04-23build: Spelling correctionChris Wilson2-2/+1
2010-04-14Win32 features update.Chris Wilson1-0/+1
2010-04-01xlib: Rearrange xrender stubs to restore compilation without xrender.hChris Wilson1-1/+0
2010-03-11gl: Add EGL interfaceChris Wilson1-0/+1
Enable the EGL backend for GL.
2010-02-11gl: Remove eagle supportChris Wilson3-5/+0
Eagle is no more, Kristian has superseded it with true EGL support. He is so happy...
2010-02-10build: Add -Wdeclaration-after-statementBenjamin Otte1-1/+1
... and fix the compile errors from it I get on my build. It's Cairo style to put declarations before the code, so better warn about it. Besides, it eases porting to old compilers like MSVC.
2010-01-27build: Remove glitz surfaceBenjamin Otte3-5/+0
glitz is unmaintained and the GL surface is far superior anyway.
2010-01-25xcb: Make shm optionalChris Wilson3-0/+5
Trying to build xcb on a system without SHM wrapped by xcb. The right answer would be to build libxcb-shm. The quick answer is to compile out shm support.
2010-01-22xcb: Refresh.Chris Wilson3-0/+10
Still an experimental backend, it's now a little too late to stabilise for 1.10, but this should represent a major step forward in its feature set and an attempt to catch up with all the bug fixes that have been performed on xlib. Notably not tested yet (and expected to be broken) are mixed-endian connections and low bitdepth servers (the dithering support has not been copied over for instance). However, it seems robust enough for daily use... Of particular note in this update is that the xcb surface is now capable of subverting the xlib surface through the ./configure --enable-xlib-xcb option. This replaces the xlib surface with a proxy that forwards all operations to an equivalent xcb surface whilst preserving the cairo-xlib API that is required for compatibility with the existing applications, for instance GTK+ and Mozilla. Also you can experiment with enabling a DRM bypass, though you need to be extremely foolhardy to do so.
2009-11-02build: Add -pthread to real_pthread_CFLAGSChris Wilson1-0/+12
2009-10-22[meta] Rename cairo_meta_surface_t to cairo_recording_surface_t.M Joonas Pihlaja1-1/+1
The new name is more descriptive than the rather opaque meta surface. Discussed with vigour on the mailing list and #cairo: http://lists.cairographics.org/archives/cairo/2009-July/017571.html
2009-10-15[build] Check compiler flags using AC_TRY_LINK instead of AC_TRY_COMPILE.M Joonas Pihlaja1-11/+8
Turns out we were passing suncc warning suppression flags to gcc by mistake since -e<entry point> is actually a valid option for gcc. This caused the -erroff=E_ENUM_TYPE_MISMATCH_ARG and other -erroff options to be passed to the linker. In the normal case of a GNU ld linker this doesn't matter since it ignores bogus entry points, but the GNU gold linker replaces a bogus entry point with NULL. This patch makes the CAIRO_CC_TRY_FLAG() check stricter by testing that the flag doesn't interfere with linking executables.
2009-10-15[build] Link against pthread-stubsChris Wilson1-0/+1
Avoid pulling in the real pthread library if the application is single threaded and not using pthreads, by linking against pthread-stubs instead.
2009-10-15[atomic] Fallback to libatomic-ops-devChris Wilson1-0/+10
Use libatomic-ops-dev in preference to mutex-based atomics, if we do not have the builtin atomic intrinsics available.
2009-09-15Use __uint128_t and __int128_t if availableSebastian Dröge1-1/+1
GCC uses a peculiar name for a real 128-bit integer on x86-64. Speedups, xlib on a gm45 ======================== poppler 41246.56 -> 35102.82: 1.18x speedup swfdec-youtube 12623.01 -> 11936.79: 1.06x speedup Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2009-09-14[build] Add a default message for when GLEW isn't builtChris Wilson1-1/+0
And it appears I touched the build system again and autoregenerated the feature headers.