diff -Nru libepoxy-1.2/configure.ac libepoxy-1.2-1+git20140830.b2ae054b/configure.ac --- libepoxy-1.2/configure.ac 2014-05-14 00:22:08.000000000 +0000 +++ libepoxy-1.2-1+git20140830.b2ae054b/configure.ac 2014-08-30 09:58:53.000000000 +0000 @@ -98,6 +98,7 @@ AM_CONDITIONAL(BUILD_EGL, test x$build_egl = xyes) if test x$build_egl = xyes; then + PKG_CHECK_MODULES(EGL, [egl]) AC_DEFINE([BUILD_EGL], [1], [build EGL tests]) fi diff -Nru libepoxy-1.2/debian/changelog libepoxy-1.2-1+git20140830.b2ae054b/debian/changelog --- libepoxy-1.2/debian/changelog 2014-05-14 00:57:55.000000000 +0000 +++ libepoxy-1.2-1+git20140830.b2ae054b/debian/changelog 2014-08-30 09:58:54.000000000 +0000 @@ -1,8 +1,34 @@ -libepoxy (1.2-1) unstable; urgency=low +libepoxy (1.2-1+git20140830.b2ae054b-1ubuntu0~sunab~utopic1) utopic; urgency=low - * Upgrade to upstream v1.2 release. + * new git snapshot - -- Eric Anholt Tue, 13 May 2014 17:47:29 -0700 + -- Olivier Banus Sat, 30 Aug 2014 11:58:54 +0200 + +libepoxy (1.2-1+git20140825.b2ae054b-1ubuntu0~sunab~trusty1) trusty; urgency=low + + * new git snapshot + + -- Olivier Banus Mon, 25 Aug 2014 17:58:47 +0200 + +libepoxy (1.1-1+git20140412.6eb075c7-1ubuntu0~sunab~trusty1) trusty; urgency=low + + * new git snapshot + + -- Olivier Banus Sat, 12 Apr 2014 10:15:27 +0200 + +libepoxy (1.1+git20140406.756dcaf6-1ubuntu0~sunab~trusty1) trusty; urgency=low + + * new git snapshot + + * add dbg package + + -- Olivier Banus Sun, 06 Apr 2014 23:07:39 +0200 + +libepoxy (1.1-1-ppa~sunab1) saucy; urgency=low + + * backport to saucy + + -- Olivier Banus Sat, 29 Jan 2014 19:05:09 +2000 libepoxy (1.1-1) unstable; urgency=low diff -Nru libepoxy-1.2/debian/compat libepoxy-1.2-1+git20140830.b2ae054b/debian/compat --- libepoxy-1.2/debian/compat 2014-05-14 00:57:55.000000000 +0000 +++ libepoxy-1.2-1+git20140830.b2ae054b/debian/compat 2014-08-30 09:58:54.000000000 +0000 @@ -1 +1 @@ -9 +7 diff -Nru libepoxy-1.2/debian/control libepoxy-1.2-1+git20140830.b2ae054b/debian/control --- libepoxy-1.2/debian/control 2014-05-14 00:57:55.000000000 +0000 +++ libepoxy-1.2-1+git20140830.b2ae054b/debian/control 2014-08-30 09:58:54.000000000 +0000 @@ -36,3 +36,15 @@ eglGetProcAddress(), etc. from the app developer, with very little knowledge needed on their part. They get to read GL specs and write code using undecorated function names like glCompileShader(). + +Package: libepoxy0-dbg +Architecture: any +Section: debug +Priority: extra +Depends: libepoxy0 (= ${binary:Version}), ${misc:Depends} +Description: debugging symbols for libepoxy0 + OpenGL function pointer management library + It hides the complexity of dlopen(), dlsym(), glXGetProcAddress(), + eglGetProcAddress(), etc. from the app developer, with very little + knowledge needed on their part. They get to read GL specs and write + code using undecorated function names like glCompileShader(). diff -Nru libepoxy-1.2/debian/gbp.conf libepoxy-1.2-1+git20140830.b2ae054b/debian/gbp.conf --- libepoxy-1.2/debian/gbp.conf 2014-05-14 00:57:55.000000000 +0000 +++ libepoxy-1.2-1+git20140830.b2ae054b/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ -[DEFAULT] -pristine-tar = True -debian-branch = debian -upstream-branch = debian-tarball-imports -upstream-vcs-tag = v1.2 diff -Nru libepoxy-1.2/debian/libepoxy0.install libepoxy-1.2-1+git20140830.b2ae054b/debian/libepoxy0.install --- libepoxy-1.2/debian/libepoxy0.install 2014-05-14 00:57:55.000000000 +0000 +++ libepoxy-1.2-1+git20140830.b2ae054b/debian/libepoxy0.install 2014-08-30 09:58:54.000000000 +0000 @@ -1 +1 @@ -usr/lib/*/lib*.so.* +usr/lib/lib*.so.* diff -Nru libepoxy-1.2/debian/libepoxy0.symbols libepoxy-1.2-1+git20140830.b2ae054b/debian/libepoxy0.symbols --- libepoxy-1.2/debian/libepoxy0.symbols 2014-05-14 00:57:55.000000000 +0000 +++ libepoxy-1.2-1+git20140830.b2ae054b/debian/libepoxy0.symbols 2014-08-30 09:58:54.000000000 +0000 @@ -4,7 +4,7 @@ epoxy_eglBindAPI@Base 1.0 epoxy_eglBindTexImage@Base 1.0 epoxy_eglChooseConfig@Base 1.0 - epoxy_eglClientWaitSync@Base 1.2 + epoxy_eglClientWaitSync@Base 1.1 epoxy_eglClientWaitSyncKHR@Base 1.0 epoxy_eglClientWaitSyncNV@Base 1.0 epoxy_eglCopyBuffers@Base 1.0 @@ -16,23 +16,23 @@ epoxy_eglCreatePbufferSurface@Base 1.0 epoxy_eglCreatePixmapSurface@Base 1.0 epoxy_eglCreatePixmapSurfaceHI@Base 1.0 - epoxy_eglCreatePlatformPixmapSurface@Base 1.2 + epoxy_eglCreatePlatformPixmapSurface@Base 1.1 epoxy_eglCreatePlatformPixmapSurfaceEXT@Base 1.0 - epoxy_eglCreatePlatformWindowSurface@Base 1.2 + epoxy_eglCreatePlatformWindowSurface@Base 1.1 epoxy_eglCreatePlatformWindowSurfaceEXT@Base 1.0 epoxy_eglCreateStreamFromFileDescriptorKHR@Base 1.0 epoxy_eglCreateStreamKHR@Base 1.0 epoxy_eglCreateStreamProducerSurfaceKHR@Base 1.0 epoxy_eglCreateStreamSyncNV@Base 1.0 epoxy_eglCreateSync64KHR@Base 1.0 - epoxy_eglCreateSync@Base 1.2 + epoxy_eglCreateSync@Base 1.1 epoxy_eglCreateSyncKHR@Base 1.0 epoxy_eglCreateWindowSurface@Base 1.0 epoxy_eglDestroyContext@Base 1.0 epoxy_eglDestroyImageKHR@Base 1.0 epoxy_eglDestroyStreamKHR@Base 1.0 epoxy_eglDestroySurface@Base 1.0 - epoxy_eglDestroySync@Base 1.2 + epoxy_eglDestroySync@Base 1.1 epoxy_eglDestroySyncKHR@Base 1.0 epoxy_eglDestroySyncNV@Base 1.0 epoxy_eglDupNativeFenceFDANDROID@Base 1.0 @@ -45,11 +45,11 @@ epoxy_eglGetCurrentSurface@Base 1.0 epoxy_eglGetDisplay@Base 1.0 epoxy_eglGetError@Base 1.0 - epoxy_eglGetPlatformDisplay@Base 1.2 + epoxy_eglGetPlatformDisplay@Base 1.1 epoxy_eglGetPlatformDisplayEXT@Base 1.0 epoxy_eglGetProcAddress@Base 1.0 epoxy_eglGetStreamFileDescriptorKHR@Base 1.0 - epoxy_eglGetSyncAttrib@Base 1.2 + epoxy_eglGetSyncAttrib@Base 1.1 epoxy_eglGetSyncAttribKHR@Base 1.0 epoxy_eglGetSyncAttribNV@Base 1.0 epoxy_eglGetSystemTimeFrequencyNV@Base 1.0 @@ -81,8 +81,8 @@ epoxy_eglStreamConsumerReleaseKHR@Base 1.0 epoxy_eglSurfaceAttrib@Base 1.0 epoxy_eglSwapBuffers@Base 1.0 - epoxy_eglSwapBuffersRegion2NOK@Base 1.2 - epoxy_eglSwapBuffersRegionNOK@Base 1.2 + epoxy_eglSwapBuffersRegion2NOK@Base 1.1 + epoxy_eglSwapBuffersRegionNOK@Base 1.1 epoxy_eglSwapBuffersWithDamageEXT@Base 1.0 epoxy_eglSwapInterval@Base 1.0 epoxy_eglTerminate@Base 1.0 @@ -90,7 +90,7 @@ epoxy_eglWaitClient@Base 1.0 epoxy_eglWaitGL@Base 1.0 epoxy_eglWaitNative@Base 1.0 - epoxy_eglWaitSync@Base 1.2 + epoxy_eglWaitSync@Base 1.1 epoxy_eglWaitSyncKHR@Base 1.0 epoxy_egl_version@Base 1.0 epoxy_glAccum@Base 1.0 @@ -201,7 +201,7 @@ epoxy_glBinormalPointerEXT@Base 1.0 epoxy_glBitmap@Base 1.0 epoxy_glBitmapxOES@Base 1.0 - epoxy_glBlendBarrierKHR@Base 1.2 + epoxy_glBlendBarrierKHR@Base 1.1 epoxy_glBlendBarrierNV@Base 1.0 epoxy_glBlendColor@Base 1.0 epoxy_glBlendColorEXT@Base 1.0 @@ -1447,11 +1447,11 @@ epoxy_glMatrixTranslatedEXT@Base 1.0 epoxy_glMatrixTranslatefEXT@Base 1.0 epoxy_glMemoryBarrier@Base 1.0 + epoxy_glMemoryBarrierByRegion@Base 1.1 epoxy_glMemoryBarrierEXT@Base 1.0 - epoxy_glMemoryBarrierByRegion@Base 1.2 epoxy_glMinSampleShading@Base 1.0 epoxy_glMinSampleShadingARB@Base 1.0 - epoxy_glMinSampleShadingOES@Base 1.2 + epoxy_glMinSampleShadingOES@Base 1.1 epoxy_glMinmax@Base 1.0 epoxy_glMinmaxEXT@Base 1.0 epoxy_glMultMatrixd@Base 1.0 @@ -2314,7 +2314,7 @@ epoxy_glTexStorage3D@Base 1.0 epoxy_glTexStorage3DEXT@Base 1.0 epoxy_glTexStorage3DMultisample@Base 1.0 - epoxy_glTexStorage3DMultisampleOES@Base 1.2 + epoxy_glTexStorage3DMultisampleOES@Base 1.1 epoxy_glTexStorageSparseAMD@Base 1.0 epoxy_glTexSubImage1D@Base 1.0 epoxy_glTexSubImage1DEXT@Base 1.0 @@ -3013,8 +3013,8 @@ epoxy_glXQueryChannelRectSGIX@Base 1.0 epoxy_glXQueryContext@Base 1.0 epoxy_glXQueryContextInfoEXT@Base 1.0 - epoxy_glXQueryCurrentRendererIntegerMESA@Base 1.2 - epoxy_glXQueryCurrentRendererStringMESA@Base 1.2 + epoxy_glXQueryCurrentRendererIntegerMESA@Base 1.1 + epoxy_glXQueryCurrentRendererStringMESA@Base 1.1 epoxy_glXQueryDrawable@Base 1.0 epoxy_glXQueryExtension@Base 1.0 epoxy_glXQueryExtensionsString@Base 1.0 @@ -3026,8 +3026,8 @@ epoxy_glXQueryHyperpipeNetworkSGIX@Base 1.0 epoxy_glXQueryMaxSwapBarriersSGIX@Base 1.0 epoxy_glXQueryMaxSwapGroupsNV@Base 1.0 - epoxy_glXQueryRendererIntegerMESA@Base 1.2 - epoxy_glXQueryRendererStringMESA@Base 1.2 + epoxy_glXQueryRendererIntegerMESA@Base 1.1 + epoxy_glXQueryRendererStringMESA@Base 1.1 epoxy_glXQueryServerString@Base 1.0 epoxy_glXQuerySwapGroupNV@Base 1.0 epoxy_glXQueryVersion@Base 1.0 diff -Nru libepoxy-1.2/debian/libepoxy-dev.install libepoxy-1.2-1+git20140830.b2ae054b/debian/libepoxy-dev.install --- libepoxy-1.2/debian/libepoxy-dev.install 2014-05-14 00:57:55.000000000 +0000 +++ libepoxy-1.2-1+git20140830.b2ae054b/debian/libepoxy-dev.install 2014-08-30 09:58:54.000000000 +0000 @@ -1,3 +1,3 @@ usr/include/* -usr/lib/*/lib*.so -usr/lib/*/pkgconfig/* +usr/lib/lib*.so +usr/lib/pkgconfig/* diff -Nru libepoxy-1.2/debian/rules libepoxy-1.2-1+git20140830.b2ae054b/debian/rules --- libepoxy-1.2/debian/rules 2014-05-14 00:57:55.000000000 +0000 +++ libepoxy-1.2-1+git20140830.b2ae054b/debian/rules 2014-08-30 09:58:54.000000000 +0000 @@ -8,3 +8,8 @@ # Running make check is unsuitable because the tests require a working # X environment currently, so we disable dh_auto_test. override_dh_auto_test: + +.PHONY: override_dh_strip + +override_dh_strip: + dh_strip --dbg-package=libepoxy0-dbg diff -Nru libepoxy-1.2/debian/source/format libepoxy-1.2-1+git20140830.b2ae054b/debian/source/format --- libepoxy-1.2/debian/source/format 2014-05-14 00:57:55.000000000 +0000 +++ libepoxy-1.2-1+git20140830.b2ae054b/debian/source/format 2014-08-30 09:58:54.000000000 +0000 @@ -1 +1 @@ -3.0 (quilt) +1.0 diff -Nru libepoxy-1.2/.gitignore libepoxy-1.2-1+git20140830.b2ae054b/.gitignore --- libepoxy-1.2/.gitignore 2014-05-14 00:22:08.000000000 +0000 +++ libepoxy-1.2-1+git20140830.b2ae054b/.gitignore 1970-01-01 00:00:00.000000000 +0000 @@ -1,95 +0,0 @@ -# -# X.Org module default exclusion patterns -# The next section if for module specific patterns -# -# Do not edit the following section -# GNU Build System (Autotools) -aclocal.m4 -autom4te.cache/ -autoscan.log -ChangeLog -compile -config.guess -config.h -config.h.in -config.log -config-ml.in -config.py -config.status -config.status.lineno -config.sub -configure -configure.scan -depcomp -.deps/ -INSTALL -install-sh -.libs/ -libtool -libtool.m4 -ltmain.sh -lt~obsolete.m4 -ltoptions.m4 -ltsugar.m4 -ltversion.m4 -Makefile -Makefile.in -mdate-sh -missing -mkinstalldirs -*.pc -py-compile -stamp-h? -symlink-tree -texinfo.tex -ylwrap -src/sna/git_version.h -src/sna/brw/brw_test - -# Do not edit the following section -# Edit Compile Debug Document Distribute -*~ -*.[0-9] -*.[0-9]x -*.bak -*.bin -core -*.dll -*.exe -*-ISO*.bdf -*-JIS*.bdf -*-KOI8*.bdf -*.kld -*.ko -*.ko.cmd -*.lai -*.l[oa] -*.[oa] -*.obj -*.patch -*.so -*.pcf.gz -*.pdb -*.tar.bz2 -*.tar.gz -# -# Add & Override patterns for gldispatch -# -# Edit the following section as needed -# For example, !report.pc overrides *.pc. See 'man gitignore' -# -configure.lineno -.dirstamp -test-driver - -gl_generated_dispatch.c -gl_generated.h - -glx_generated_dispatch.c -glx_generated.h - -egl_generated_dispatch.c -egl_generated.h - -wgl_generated_dispatch.c -wgl_generated.h diff -Nru libepoxy-1.2/src/dispatch_common.c libepoxy-1.2-1+git20140830.b2ae054b/src/dispatch_common.c --- libepoxy-1.2/src/dispatch_common.c 2014-05-14 00:22:08.000000000 +0000 +++ libepoxy-1.2-1+git20140830.b2ae054b/src/dispatch_common.c 2014-08-30 09:58:54.000000000 +0000 @@ -104,10 +104,22 @@ #ifdef __APPLE__ #define GLX_LIB "/opt/X11/lib/libGL.1.dylib" +#elif defined(ANDROID) +#define GLX_LIB "libGLESv2.so" #else #define GLX_LIB "libGL.so.1" #endif +#ifdef ANDROID +#define EGL_LIB "libEGL.so" +#define GLES1_LIB "libGLESv1_CM.so" +#define GLES2_LIB "libGLESv2.so" +#else +#define EGL_LIB "libEGL.so.1" +#define GLES1_LIB "libGLESv1_CM.so.1" +#define GLES2_LIB "libGLESv2.so.2" +#endif + struct api { #ifndef _WIN32 /** @@ -319,12 +331,13 @@ return epoxy_extension_in_string(exts, ext); } else { int num_extensions; + int i; glGetIntegerv(GL_NUM_EXTENSIONS, &num_extensions); if (num_extensions == 0) return invalid_op_mode; - for (int i = 0; i < num_extensions; i++) { + for (i = 0; i < num_extensions; i++) { const char *gl_ext = (const char *)glGetStringi(GL_EXTENSIONS, i); if (strcmp(ext, gl_ext) == 0) return true; @@ -365,7 +378,7 @@ sym = dlsym(NULL, "eglGetCurrentContext"); if (sym) { if (epoxy_egl_get_current_gl_context_api() != EGL_NONE) - return true; + return false; } else { (void)dlerror(); } @@ -380,7 +393,7 @@ return true; #if PLATFORM_HAS_EGL - sym = do_dlsym(&api.egl_handle, "libEGL.so.1", "eglGetCurrentContext", + sym = do_dlsym(&api.egl_handle, EGL_LIB, "eglGetCurrentContext", false); if (sym && epoxy_egl_get_current_gl_context_api() != EGL_NONE) return false; @@ -416,7 +429,7 @@ void * epoxy_egl_dlsym(const char *name) { - return do_dlsym(&api.egl_handle, "libEGL.so.1", name, true); + return do_dlsym(&api.egl_handle, EGL_LIB, name, true); } void * @@ -446,7 +459,7 @@ if (epoxy_current_context_is_glx()) { return epoxy_get_proc_address(name); } else { - return do_dlsym(&api.gles1_handle, "libGLESv1_CM.so.1", name, true); + return do_dlsym(&api.gles1_handle, GLES1_LIB, name, true); } } @@ -456,7 +469,7 @@ if (epoxy_current_context_is_glx()) { return epoxy_get_proc_address(name); } else { - return do_dlsym(&api.gles2_handle, "libGLESv2.so.2", name, true); + return do_dlsym(&api.gles2_handle, GLES2_LIB, name, true); } } @@ -476,7 +489,7 @@ if (epoxy_current_context_is_glx()) { return epoxy_get_proc_address(name); } else { - void *func = do_dlsym(&api.gles2_handle, "libGLESv2.so.2", name, false); + void *func = do_dlsym(&api.gles2_handle, GLES2_LIB, name, false); if (func) return func; @@ -494,6 +507,12 @@ { #ifdef _WIN32 int core_symbol_support = 10; +#elif defined(ANDROID) + /** + * All symbols must be resolved through eglGetProcAddress + * on Android + */ + int core_symbol_support = 0; #else int core_symbol_support = 12; #endif @@ -564,7 +583,7 @@ * non-X11 ES2 context from loading a bunch of X11 junk). */ #if PLATFORM_HAS_EGL - get_dlopen_handle(&api.egl_handle, "libEGL.so.1", false); + get_dlopen_handle(&api.egl_handle, EGL_LIB, false); if (api.egl_handle) { switch (epoxy_egl_get_current_gl_context_api()) { case EGL_OPENGL_API: @@ -575,7 +594,7 @@ * us. Try the GLES2 implementation first, and fall back * to GLES1 otherwise. */ - get_dlopen_handle(&api.gles2_handle, "libGLESv2.so.2", false); + get_dlopen_handle(&api.gles2_handle, GLES2_LIB, false); if (api.gles2_handle) return epoxy_gles2_dlsym(name); else diff -Nru libepoxy-1.2/src/dispatch_common.h libepoxy-1.2-1+git20140830.b2ae054b/src/dispatch_common.h --- libepoxy-1.2/src/dispatch_common.h 2014-05-14 00:22:08.000000000 +0000 +++ libepoxy-1.2-1+git20140830.b2ae054b/src/dispatch_common.h 2014-08-30 09:58:54.000000000 +0000 @@ -33,6 +33,11 @@ #define PLATFORM_HAS_GLX 1 #define PLATFORM_HAS_WGL 0 #define EPOXY_IMPORTEXPORT +#elif defined(ANDROID) +#define PLATFORM_HAS_EGL 1 +#define PLATFORM_HAS_GLX 0 +#define PLATFORM_HAS_WGL 0 +#define EPOXY_IMPORTEXPORT #else #define PLATFORM_HAS_EGL 1 #define PLATFORM_HAS_GLX 1 diff -Nru libepoxy-1.2/src/Makefile.am libepoxy-1.2-1+git20140830.b2ae054b/src/Makefile.am --- libepoxy-1.2/src/Makefile.am 2014-05-14 00:22:08.000000000 +0000 +++ libepoxy-1.2-1+git20140830.b2ae054b/src/Makefile.am 2014-08-30 09:58:54.000000000 +0000 @@ -28,6 +28,7 @@ $(CWARNFLAGS) \ $(VISIBILITY_CFLAGS) \ $(X11_CFLAGS) \ + $(EGL_CFLAGS) \ $() epoxyincludedir = $(includedir)/epoxy diff -Nru libepoxy-1.2/test/Makefile.am libepoxy-1.2-1+git20140830.b2ae054b/test/Makefile.am --- libepoxy-1.2/test/Makefile.am 2014-05-14 00:22:08.000000000 +0000 +++ libepoxy-1.2-1+git20140830.b2ae054b/test/Makefile.am 2014-08-30 09:58:53.000000000 +0000 @@ -22,9 +22,9 @@ EPOXY = $(builddir)/../src/libepoxy.la check_LTLIBRARIES = \ - $(EGL_LIBS) \ - $(GLX_LIBS) \ - $(WGL_LIBS) \ + $(EGL_UTIL_LIB) \ + $(GLX_UTIL_LIB) \ + $(WGL_UTIL_LIB) \ $() libegl_common_la_SOURCES = \ @@ -46,7 +46,9 @@ AM_CPPFLAGS = \ -I$(top_srcdir)/include \ -I$(top_builddir)/include \ - $(X11_CFLAGS) + $(X11_CFLAGS) \ + $(EGL_CFLAGS) \ + $() AM_CFLAGS = $(CWARNFLAGS) @@ -76,7 +78,7 @@ egl_gles2_without_glx \ $() -EGL_LIBS = libegl_common.la +EGL_UTIL_LIB = libegl_common.la endif if BUILD_GLX @@ -114,7 +116,7 @@ $(GLX_NON_APPLE_TESTS) \ $() -GLX_LIBS = libglx_common.la +GLX_UTIL_LIB = libglx_common.la endif if BUILD_WGL @@ -125,7 +127,7 @@ wgl_usefontbitmaps_unicode$(EXEEXT) \ $() -WGL_LIBS = libwgl_common.la +WGL_UTIL_LIB = libwgl_common.la endif egl_has_extension_nocontext_LDADD = $(EPOXY) libegl_common.la $(X11_LIBS) @@ -179,7 +181,7 @@ glx_shared_znow_SOURCES = glx_static.c glx_shared_znow_LDADD = $(DLOPEN_LIBS) $(EPOXY) libglx_common.la $(X11_LIBS) -glx_shared_znow_LDFLAGS = -z now +glx_shared_znow_LDFLAGS = -Wl,-z,now khronos_typedefs_SOURCES = \ khronos_typedefs.c \ diff -Nru libepoxy-1.2/.travis.yml libepoxy-1.2-1+git20140830.b2ae054b/.travis.yml --- libepoxy-1.2/.travis.yml 1970-01-01 00:00:00.000000000 +0000 +++ libepoxy-1.2-1+git20140830.b2ae054b/.travis.yml 2014-08-30 09:58:54.000000000 +0000 @@ -0,0 +1,13 @@ +language: c +compiler: + - gcc + - clang + +before_install: + - "export DISPLAY=:99.0" + - "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_99.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :99 -ac -screen 0 1280x1024x24" +install: + - sudo apt-get update + - sudo apt-get install xutils-dev libgl1-mesa-dev libegl1-mesa-dev libgl1-mesa-dri libgles1-mesa-dev libgles2-mesa-dev +script: + - ./autogen.sh && make && make check