Commit graph

36 commits

Author SHA1 Message Date
jperkin
7ecca851b6 libepoxy: Remove bogus -D_XOPEN_SOURCE on SunOS. 2020-04-06 17:14:44 +00:00
adam
7de42d8f9c libepoxy: updated to 1.5.4
1.5.4:
Don't build GLX tests if X11 support is disabled
Add unit tests for epoxy_gl_version()
Reduce the size of the binary by reusing static strings
Fix build on Solaris
Update the GL registries
2020-01-01 21:16:12 +00:00
nia
d8eb48c61a libepoxy: add mesa to buildlink3 2019-09-04 16:38:06 +00:00
dholland
c2e8b5db09 Explicitly disable EGL if MESALIB_SUPPORTS_EGL isn't yes.
Otherwise, the build fails.
2019-09-01 20:38:34 +00:00
nia
ac197f3d91 libepoxy: Update to 1.5.3
Changes since 1.5.2:

    Disable EGL on macOS
    Fix build on macOS [#176, Emmanuele Bassi]
    Add macOS tests
    Fix build with uClibc [#181, Emmanuele Bassi]
    Fix GLES3 symbol lookup [Adam Jackson]
    Fix conditional compilation [#184, Zhao Zhili]
    Require Meson 0.47
    Fix Autotools build with EGL-X11 support [#188, Emmanuele Bassi]

Changes since 1.5.1:

    Fix the detection of the -z,relro linker flag
    Query the EGL context version when bootstrapping on GLES [Adam Jackson]
    Avoid inadvertedly loading libraries when probing for them [Adam Jackson]
    Issue #169: Fix build on FreeBSD [Ting-Wei Lan]
    Consistently use abort() instead of exit() for internal state checks
    Issue #171: Fix a performance regression in the global function pointer
    trampolines introduced by using -Bsymbolic-functions
    Improve performance when using GL function pointers like glAlphaFunc [Adam Jackson]

Changes since 1.5.0:

    Do no add pkg-config dependencies on gl on systems that do not use
    pkg-config, like macOS and Windows [Tom Schoonjans, #156]
    Generalise checks for dlvsym [Ross Burton, #158]
    Add an option for disabling building the test suite [Ross Burton]
    Typo fixes in the comments and documentation [luz.paz, #159]
    Simplify the Meson configuration logic for EGL and GLX [Eric
    Engestrom, #162]
    Use assert when no context is found [Adam Jackson, #166]
    Remove a test superceded by GLVND [#165]
    Avoid Meson warnings when testing for linker arguments


Changes from Epoxy 1.4.3

    Bump the Meson dependency to 0.44.1
    Include Xlib.h in the tests that use X11 API
    Update the GL registry to OpenGL 4.6
    Add gl and egl private dependencies in the pkg-config file
    Allow building Epoxy without X11 support
    Rename the Meson configuration options to be more idiomatic
    New API:
        epoxy_set_resolver_failure_handler()
        epoxy_glsl_version()
        epoxy_extension_in_string()

Issues fixed

    #128 - Fix macOS linker flags [Tom Schoonjans]
    #129 - Use GLVND if available [Adam Jackson]
    #134 - Add fallback definition for EGL_CAST [Daniel Stone]
    #133 - Try even harder to not load GLX [Adam Jackson]
    #138 - Fix the libOpenGL soname [Adam Jackson]
    #137 - Update differences with GLEW [Nigel Stewart]
    #131 - Add epoxy_set_resolver_failure_handler() [Adam Jackson]
    #140 - Fix pointer mismatch on Windows 10 [danem]
    #141 - Define visibility flags for static builds [Dylan Baker]
    #136 - Expose epoxy_extension_in_string() [Lyude Paul]
    #151 - Use correct guard for Android builds [Robert Bragg]
    #154 - Fix dlwrap for glvnd [Adam Jackson]
    #155 - Respect DLOPEN_LIBS [Michał Górny]
    #143 - Fix printf family usage [Ikey Doherty]
    #152 - Do not use OPENGL_LIB on Android
    #145 - Add epoxy_glsl_version()
2019-08-31 13:50:09 +00:00
rjs
598fcc8e46 Add libepoxy and libvdpau. 2019-07-10 22:36:49 +00:00
nia
68d4f22e29 libepoxy: Don't hardcode the libEGL version number.
Bump PKGREVISION.
2019-05-27 17:04:04 +00:00
maya
f34a8c24a3 PKGREVISION bump for anything using python without a PYPKGPREFIX.
This is a semi-manual PKGREVISION bump.
2019-04-25 07:32:34 +00:00
adam
bde8e5aef6 Fix for missing EGL_CAST 2017-06-08 12:37:33 +00:00
adam
020b2fe02d Changes 1.4.3:
Require Meson 0.39.1; the previous release already had an implicit requirement on this version
Allow disabling EGL support when building Epoxy
Add support for building on Haiku
Update EGL registry from Khronos
2017-06-08 04:31:34 +00:00
maya
a47f3ae252 libepoxy: set PLIST.egl=yes in the Darwin case in case it's supported.
simplify logic. only functional change should be fixing Darwin builds.
2017-06-03 07:54:07 +00:00
adam
c07e85e4d7 Changes 1.4.2:
Add C++ guards around generated headers
Add z,relro and z,now to the GCC linker flags
Add explicit version flags for macOS builds
Add missing visibility compiler flags
Prefer using pkg-config files to find GLES
Fix build on MSVC 2013 when using the inline keyword
Fix dlwrap on aarch64
Require Meson ≥ 0.38.1
Allow building Epoxy as a Meson sub-project
Avoid crashes when running Epoxy on X servers without GLX
2017-05-26 17:40:44 +00:00
dsainty
73fad09280 The generic EGL/GLX/WGL defaults are suitable for Darwin as BUILD_EGL will be
correct, and possibly not zero.

No revision bump required - this change fixes the build if the EGL = 0 guess
was incorrect, and no change if it was correct.
2017-04-19 07:34:12 +00:00
adam
96aad7fb4b Changes 1.4.1:
Find the appropriate version of the Python interpreter when building
Ensure that the dispatch generation script works with Python 2.x and 3.x
Ensure that Epoxy builds correctly under Windows
Fix location of the m4 macros in the autotools build
2017-03-18 20:18:39 +00:00
tron
e8514f242f Fix build under Mac OS X when XQuartz is used instead of modular X11. 2017-03-16 18:38:33 +00:00
joerg
fb0d0d71fc When not hard-coding EGL, use the correct macro that available EGL is
actually used.
2017-02-18 14:00:05 +00:00
ryoon
4a5effbacc Fix hardcoded EGL detection to build this on NetBSD/amd64 current with
native X.org.
2017-02-18 02:37:11 +00:00
wiz
63adcedf48 Updated libepoxy to 1.4.
This is a new stable release.

Major changes for 1.4 are:

    Epoxy can now build with MSVC versions prior to 2013; we still recommend using a recent, C99-compatible compiler, like MSVC 2015 [Chun-wei Fan]
    When used under X11, Epoxy now attempts to handle the cases where the GLX extension is not built or not available [Yaron Cohen-Tal]
    GLX can now be enabled and disabled at configuration time; this allows building Epoxy with GLX on macOS, and allows building Epoxy without GLX on embedded platforms
    Epoxy now exposes API that lets dependent projects safely check if platform API like GLX and EGL is available at run time
    EGL support has been improved on Windows, and made more resilient on other platforms [Yaron Cohen-Tal, Adam Jackson]
    Epoxy supports building with the Meson build system, which has Ninja, Visual Studio, and XCode backends
    Epoxy can generate its API reference using Doxygen (currently only available on Meson builds)
    The GL registry has been updated with the latest version of the API references provided by Khronos; Epoxy now supports the API introduced by OpenGL 4.5
2017-02-17 15:17:08 +00:00
dbj
dde82c09aa update PKG_{FAIL,SKIP}_REASON with += 2016-04-11 04:22:33 +00:00
tnn
dc6185fd4c Try to fix breakage, optionalize x11 on Darwin. Bump. 2015-11-30 14:36:35 +00:00
jperkin
27f735495e Fix install with modular Xorg on Darwin, egl is explicitly not built. 2015-11-27 10:33:21 +00:00
adam
857792fcb0 Allow building on OS X without X11 2015-11-19 11:46:33 +00:00
agc
7f810a359f Add SHA512 digests for distfiles for graphics category
Problems found with existing digests:
	Package fotoxx distfile fotoxx-14.03.1.tar.gz
	ac2033f87de2c23941261f7c50160cddf872c110 [recorded]
	118e98a8cc0414676b3c4d37b8df407c28a1407c [calculated]
	Package ploticus-examples distfile ploticus-2.00/plnode200.tar.gz
	34274a03d0c41fae5690633663e3d4114b9d7a6d [recorded]
	da39a3ee5e6b4b0d3255bfef95601890afd80709 [calculated]

Problems found locating distfiles:
	Package AfterShotPro: missing distfile AfterShotPro-1.1.0.30/AfterShotPro_i386.deb
	Package pgraf: missing distfile pgraf-20010131.tar.gz
	Package qvplay: missing distfile qvplay-0.95.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 21:33:50 +00:00
tnn
3bf02ac501 Deal with hardcoded libGL.1.dylib location. Fixes gtk3 apps on OSX. 2015-10-01 13:50:05 +00:00
tnn
3586ed1ef0 fix build on Darwin when X11_TYPE=modular 2015-10-01 09:36:57 +00:00
tnn
c2d0b60cb0 PR pkg/50256: pretend to return NULL in epoxy_get_proc_address after errx() 2015-09-24 22:51:29 +00:00
tnn
02c5285498 PR pkg/50243: PLIST fix when X11_TYPE=modular and PKG_OPTIONS.MesaLib=-dri
ok gdt@
2015-09-16 12:28:53 +00:00
tron
5c32075c9a Fix typo and thereby really bump the revision. 2015-09-14 18:20:12 +00:00
gdt
c5de524026 Re-enable glx on OS X.
Upstream disabled glx on OS X (in an apparent attempt to make it build
on systems without X11).  However, libepoxy without glx is defective,
and gtk3 fails with it.  So it seems like the right thing is to ensure
X11 presence for libepoxy.

This patch reverts upstream's disabling of glx (setting configure
variables/defines), making it be like libepoxy 1.2.  The resulting
libepoxy has glx, and gtk3+ builds fine against it on OS X 10.9.

(It remains TBD to sort out how we feel about X vs quartz, but that's
a separable issue.)

Reviewed by ttn@ and tron@.
2015-09-14 14:40:37 +00:00
tron
5e72c609d6 Correct package list for Mac OS X. 2015-09-13 11:38:32 +00:00
tnn
36f4fba198 Update to libepoxy-1.3.1 (2015-07-16)
Changes:
GL API registry update
fixes for a nonconformant GL implementation
some library size reductions
support reproducible builds
2015-09-13 04:44:48 +00:00
prlw1
a0637ce3ad libepoxy looks for libGL.so.1. This matches the pkgsrc version, but
native X has libGL.so.2. Split the difference and look for libGL.so.
2015-06-14 21:50:07 +00:00
tnn
ca4a1afc36 Fix build with native / old X11 (build tested on netbsd-6)
Apparently this will be required by GTK3 soon.
2015-06-13 19:13:10 +00:00
tnn
9ee4b877fb Recursive revbump following MesaLib update, categories g through n. 2015-04-25 14:22:51 +00:00
tnn
b42c8975a2 add build dependency on py-expat 2015-04-13 13:54:17 +00:00
tnn
908a1839a7 Import libepoxy-1.2 as graphics/libepoxy.
Epoxy is a library for handling OpenGL function pointer management for you.
It hides the complexity of dlopen(), dlsym(), glXGetProcAddress(),
eglGetProcAddress(), etc. from the app developer, with very little knowledge
needed on their part.
2015-04-03 08:48:57 +00:00