← Back to team overview

hugin-devs team mailing list archive

[Bug 2007178] Re: Replace GLEW with epoxy

 

For Building on Windows, yes it does need Meson [1]. If Python 3 is
installed:

pip install meson

Apparently meson can generate Visual Studio project files with
`--backend vs` option [2] (also xcode).

[1] https://github.com/anholt/libepoxy/issues/65#issuecomment-277750480
[2] https://mesonbuild.com/Using-with-Visual-Studio.html


I've created a new patch with fewer changed files. It's added to the merge request as an additional commit (a consequence of using git-remote-hg) but is a stand-alone commit:
https://sourceforge.net/u/cjmayo/hugin/ci/f39a985d12d74b171f5794b783e5ea120d4442bf/

The original did reduce the number of lines of code, but fair enough to
change less.


Anyway, I created this because it was impossible for me to install GLEW compiled for EGL at this time. Just sharing in case it is of interest and of course any change makes work, especially when trying to support 3 platforms - and there is still more to do on this.


** Bug watch added: github.com/anholt/libepoxy/issues #65
   https://github.com/anholt/libepoxy/issues/65

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/2007178

Title:
  Replace GLEW with epoxy

Status in Hugin:
  New

Bug description:
  GLEW is installed for either GLX or EGL, making it impossible to switch to EGL if some applications need GLX.
  epoxy also does not need to be initialised, making startup faster.
  GTK, Firefox and Libreoffice are among those using epoxy.

  Patch (not sure the best way to work with Launchpad and/or Sourceforge...):
  https://sourceforge.net/p/hugin/hugin/merge-requests/2/

  A draft that has only been tested on Linux and at the moment uses
  PKG_SEARCH_MODULE to find epoxy. So, may work on macOS (libepoxy is
  available in Homebrew) but more work for Windows and other supporting
  scripts.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/2007178/+subscriptions



References