public inbox for buildroot@busybox.net
 help / color / mirror / Atom feed
From: Joseph Kogut <joseph.kogut@gmail.com>
To: buildroot@buildroot.org
Cc: Adrian Perez de Castro <aperez@igalia.com>,
	 Eric Le Bihan <eric.le.bihan.dev@free.fr>,
	 Romain Naour <romain.naour@gmail.com>,
	 Joseph Kogut <joseph.kogut@gmail.com>,
	Joseph Kogut <joseph@anodize.com>
Subject: [Buildroot] [PATCH v4 1/5] package/libepoxy: remove gl/egl dependency
Date: Tue, 17 Mar 2026 15:16:22 -0700	[thread overview]
Message-ID: <20260317-virglrenderer-v4-1-ed223e222bb6@gmail.com> (raw)
In-Reply-To: <20260317-virglrenderer-v4-0-ed223e222bb6@gmail.com>

From: Joseph Kogut <joseph@anodize.com>

Libepoxy is a library for handling OpenGL function pointer management.

It has backends for egl/glx, which may at one point have been mandatory
to enable, but the library now builds with none of the above enabled
features, as seen below.

  libepoxy 1.5.10

    User defined options
      Cross files            : /home/joseph/br-test-pkg/arm-aarch64/build/libepoxy-1.5.10//buildroot-build/cross-compilation.conf
      b_pie                  : false
      b_staticpic            : true
      buildtype              : release
      build.cmake_prefix_path: /home/joseph/br-test-pkg/arm-aarch64/host/lib/cmake
      default_library        : shared
      docs                   : false
      egl                    : no
      glx                    : no
      libdir                 : lib
      build.pkg_config_path  : /home/joseph/br-test-pkg/arm-aarch64/host/lib/pkgconfig
      prefix                 : /usr
      strip                  : false
      tests                  : false
      x11                    : false

Removing these dependencies allows for some applications that require it
as a build dependency, but otherwise can run headless or without GL, to
build and function.

Signed-off-by: Joseph Kogut <joseph.kogut@gmail.com>
---
 package/libepoxy/Config.in | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/package/libepoxy/Config.in b/package/libepoxy/Config.in
index 9da190b895..27d2b968d2 100644
--- a/package/libepoxy/Config.in
+++ b/package/libepoxy/Config.in
@@ -1,12 +1,8 @@
 config BR2_PACKAGE_LIBEPOXY
 	bool "libepoxy"
-	depends on BR2_PACKAGE_HAS_LIBEGL || BR2_PACKAGE_HAS_LIBGL
 	select BR2_PACKAGE_XUTIL_UTIL_MACROS
 	help
 	  Epoxy is a library for handling OpenGL function pointer
 	  management for you.
 
 	  https://github.com/anholt/libepoxy
-
-comment "libepoxy needs an OpenGL and/or OpenGL EGL backend"
-	depends on !BR2_PACKAGE_HAS_LIBEGL && !BR2_PACKAGE_HAS_LIBGL

-- 
2.53.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

  reply	other threads:[~2026-03-17 22:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-17 22:16 [Buildroot] [PATCH v4 0/5] Add virglrenderer support Joseph Kogut
2026-03-17 22:16 ` Joseph Kogut [this message]
2026-03-17 22:16 ` [Buildroot] [PATCH v4 2/5] package/virglrenderer: new package Joseph Kogut
2026-03-17 22:16 ` [Buildroot] [PATCH v4 3/5] package/virglrenderer: Fix build with glibc 2.43 Joseph Kogut
2026-03-18 19:07   ` Joseph Kogut
2026-03-17 22:16 ` [Buildroot] [PATCH v4 4/5] package/qemu: add OpenGL config Joseph Kogut
2026-03-17 22:16 ` [Buildroot] [PATCH v4 5/5] package/qemu: add virglrenderer support Joseph Kogut

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260317-virglrenderer-v4-1-ed223e222bb6@gmail.com \
    --to=joseph.kogut@gmail.com \
    --cc=aperez@igalia.com \
    --cc=buildroot@buildroot.org \
    --cc=eric.le.bihan.dev@free.fr \
    --cc=joseph@anodize.com \
    --cc=romain.naour@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox