Skip to contentSkip to conversation

package/x11r7/libepoxy: bump to version 1.3.1

PATCH New Bernd Kuhls 2 participants 5 messages Aug 8, 2015 – Dec 19, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/x11r7/libepoxy: bump to version 1.3.1

Removed call to pkgconf because epoxy configure now uses pkgconf itself to find egl headers:
https://github.com/anholt/libepoxy/commit/d56f21c494b315306215c4730835a9b291360e9b

---
v2: Removed pkgconf to find rpi headers

 package/x11r7/libepoxy/libepoxy.mk | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
package/x11r7/libepoxy/libepoxy.mk +2 -6
index 58b094a..12ddd03 100644
@@ -4,17 +4,13 @@
 #
 ################################################################################
 
-LIBEPOXY_VERSION = v1.2
+LIBEPOXY_VERSION = v1.3.1
 LIBEPOXY_SITE = $(call github,anholt,libepoxy,$(LIBEPOXY_VERSION))
 LIBEPOXY_INSTALL_STAGING = YES
 LIBEPOXY_AUTORECONF = YES
 LIBEPOXY_DEPENDENCIES = xlib_libX11 xutil_util-macros libegl \
-	$(if $(BR2_PACKAGE_HAS_LIBGL),libgl)
+	$(if $(BR2_PACKAGE_HAS_LIBGL),libgl) host-pkgconf
 LIBEPOXY_LICENSE = MIT
 LIBEPOXY_LICENSE_FILES = COPYING
 
-# needed for rpi-userland
-LIBEPOXY_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags egl`
-LIBEPOXY_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) $(LIBEPOXY_CFLAGS)"
-
 $(eval $(autotools-package))
Signature · 1 line
2.1.4
#1 lore raw

PATCH v5 1/1 package/x11r7/libepoxy: fix OpenGL / EGL dependencies

libepoxy depends on egl, opengl is an optional dependency

Fixes
http://autobuild.buildroot.net/results/f7e/f7e6a42f53cb4ca523d2eeefde85c44770f6011e
http://autobuild.buildroot.net/results/025/025a3d3b4d3dd4f496dcbf09f2dd279116250207

---
v5: Fix CFLAGS and SoB (Thomas)
v4: split opengl/egl fix from version bump (Thomas)
v3: bumped to v1.3.1, switched to pkgconf for rpi support
v2: Add missing select lines to Config.in (Thomas)

 package/x11r7/libepoxy/Config.in   | 10 ++++++++--
 package/x11r7/libepoxy/libepoxy.mk |  7 ++++++-
 2 files changed, 14 insertions(+), 3 deletions(-)
package/x11r7/libepoxy/Config.in +8 -2
index c4f5794..5628bf7 100644
@@ -1,7 +1,13 @@
 config BR2_PACKAGE_LIBEPOXY
 	bool "epoxy"
-	depends on BR2_PACKAGE_MESA3D
+	select BR2_PACKAGE_XLIB_LIBX11
+	select BR2_PACKAGE_XUTIL_UTIL_MACROS
+	depends on BR2_PACKAGE_HAS_LIBEGL
 	help
-	  Epoxy is a library for handling OpenGL function pointer management for you.
+	  Epoxy is a library for handling OpenGL function pointer
+	  management for you.
 
 	  https://github.com/anholt/libepoxy
+
+comment "epoxy needs an OpenGL EGL backend"
+	depends on !BR2_PACKAGE_HAS_LIBEGL
package/x11r7/libepoxy/libepoxy.mk +6 -1
index d908893..58b094a 100644
@@ -8,8 +8,13 @@ LIBEPOXY_VERSION = v1.2
 LIBEPOXY_SITE = $(call github,anholt,libepoxy,$(LIBEPOXY_VERSION))
 LIBEPOXY_INSTALL_STAGING = YES
 LIBEPOXY_AUTORECONF = YES
-LIBEPOXY_DEPENDENCIES = mesa3d
+LIBEPOXY_DEPENDENCIES = xlib_libX11 xutil_util-macros libegl \
+	$(if $(BR2_PACKAGE_HAS_LIBGL),libgl)
 LIBEPOXY_LICENSE = MIT
 LIBEPOXY_LICENSE_FILES = COPYING
 
+# needed for rpi-userland
+LIBEPOXY_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags egl`
+LIBEPOXY_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) $(LIBEPOXY_CFLAGS)"
+
 $(eval $(autotools-package))
Signature · 1 line
2.1.4
#2 lore raw

PATCH v5 1/1 package/x11r7/libepoxy: fix OpenGL / EGL dependencies

Dear Bernd Kuhls,

Quoted 6 lines · Bernd Kuhls

libepoxy depends on egl, opengl is an optional dependency

Fixes
http://autobuild.buildroot.net/results/f7e/f7e6a42f53cb4ca523d2eeefde85c44770f6011e
http://autobuild.buildroot.net/results/025/025a3d3b4d3dd4f496dcbf09f2dd279116250207

Quoted 6 lines

---
v5: Fix CFLAGS and SoB (Thomas)
v4: split opengl/egl fix from version bump (Thomas)
v3: bumped to v1.3.1, switched to pkgconf for rpi support
v2: Add missing select lines to Config.in (Thomas)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#3 lore raw

PATCH 1/1 package/x11r7/libepoxy: bump to version 1.3.1

In reply to Bernd Kuhls

Dear Bernd Kuhls,

Quoted 25 lines · Bernd Kuhls

Removed call to pkgconf because epoxy configure now uses pkgconf itself to find egl headers:
https://github.com/anholt/libepoxy/commit/d56f21c494b315306215c4730835a9b291360e9b

---
v2: Removed pkgconf to find rpi headers

 package/x11r7/libepoxy/libepoxy.mk | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
package/x11r7/libepoxy/libepoxy.mk +1 -1
index 58b094a..12ddd03 100644
@@ -4,17 +4,13 @@
 #
 ################################################################################
 
-LIBEPOXY_VERSION = v1.2
+LIBEPOXY_VERSION = v1.3.1
 LIBEPOXY_SITE = $(call github,anholt,libepoxy,$(LIBEPOXY_VERSION))
 LIBEPOXY_INSTALL_STAGING = YES
 LIBEPOXY_AUTORECONF = YES
 LIBEPOXY_DEPENDENCIES = xlib_libX11 xutil_util-macros libegl \

package/x11r7/libepoxy/libepoxy.mk line 16

Quoted 10 lines
package/x11r7/libepoxy/libepoxy.mk +1 -5
-	$(if $(BR2_PACKAGE_HAS_LIBGL),libgl)
+	$(if $(BR2_PACKAGE_HAS_LIBGL),libgl) host-pkgconf
 LIBEPOXY_LICENSE = MIT
 LIBEPOXY_LICENSE_FILES = COPYING
 
-# needed for rpi-userland
-LIBEPOXY_CFLAGS += `$(PKG_CONFIG_HOST_BINARY) --cflags egl`
-LIBEPOXY_CONF_ENV += CFLAGS="$(TARGET_CFLAGS) $(LIBEPOXY_CFLAGS)"
-
 $(eval $(autotools-package))

This patch currently doesn't apply on next, because next has been branched before your other libepoxy fixes have been merged. So I will wait for next to be merged back in master before applying this patch. This should happen soon, since we're approaching the end of August.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#4 lore raw

PATCH 1/1 package/x11r7/libepoxy: bump to version 1.3.1

In reply to Bernd Kuhls

Dear Bernd Kuhls,

Quoted 7 lines · Bernd Kuhls

Removed call to pkgconf because epoxy configure now uses pkgconf itself to find egl headers:
https://github.com/anholt/libepoxy/commit/d56f21c494b315306215c4730835a9b291360e9b

---
v2: Removed pkgconf to find rpi headers

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com