Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 747619 - x11-apps/mesa-progs-9999 new dependency Glad instead of GLEW
Summary: x11-apps/mesa-progs-9999 new dependency Glad instead of GLEW
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-10 14:49 UTC by jospezial
Modified: 2020-10-15 07:38 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2020-10-10 14:49:08 UTC
https://gitlab.freedesktop.org/mesa/demos/-/commit/5435fc7fbd332e171da9a71e33a9b190e9462cf0
"Use Glad instead of GLEW"

Multi-Language Vulkan/GL/GLES/EGL/GLX/WGL Loader-Generator based on the official specs.
glad.dav1d.de/ 
https://github.com/Dav1dde/glad

I can't find an ebuild for glad.


>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-apps/mesa-progs-9999/work/mesa-progs-9999 ...
make -j2 -C src/xdemos glxgears glxinfo 
make: Entering directory '/var/tmp/portage/x11-apps/mesa-progs-9999/work/mesa-progs-9999/src/xdemos'
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"mesa-demos\" -DPACKAGE_TARNAME=\"mesa-demos\" -DPACKAGE_VERSION=\"8.4.0\" -DPACKAGE_STRING=\"mesa-demos\ 8.4.0\" -DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\&component=Demos\" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa-demos\" -DVERSION=\"8.4.0\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBGLUT=1 -DHAVE_FREEGLUT=1 -DDEMOS_DATA_DIR=\"../data/\" -DDEMOS_DATA_DIR=\"../data/\" -I.    -D_GNU_SOURCE -DPTHREADS -Wall -Wpointer-arith -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast  -I../../src/glad/include -I../../src/util -march=native -mtune=native -O2 -pipe -c -o glxgears.o glxgears.c
make: *** No rule to make target '../glad/libglad.la', needed by 'glxgears'.  Stop.
make: *** Waiting for unfinished jobs....
make: Leaving directory '/var/tmp/portage/x11-apps/mesa-progs-9999/work/mesa-progs-9999/src/xdemos'
 * ERROR: x11-apps/mesa-progs-9999::gentoo failed (compile phase):
 *   emake failed
Comment 1 Larry the Git Cow gentoo-dev 2020-10-14 21:56:13 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=093398a1b3122d6ee725e1860242252afe1d6270

commit 093398a1b3122d6ee725e1860242252afe1d6270
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2020-10-14 21:55:35 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2020-10-14 21:56:05 +0000

    x11-apps/mesa-progs: Update for GLEW -> Glad transition
    
    Closes: https://bugs.gentoo.org/747619
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 x11-apps/mesa-progs/mesa-progs-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 2 Matt Turner gentoo-dev 2020-10-14 21:57:38 UTC
Thanks for the heads up!

Looks like upstream we stopped using GLEW and switched to Glad, which is imported into the tree. Since we're building only a couple of things and not using the whole build system, we just needed to make sure we built the in-tree Glad first.
Comment 3 jospezial 2020-10-15 07:38:00 UTC
(In reply to Matt Turner from comment #2)
> Thanks for the heads up!
> 
> Looks like upstream we stopped using GLEW and switched to Glad, which is
> imported into the tree. Since we're building only a couple of things and not
> using the whole build system, we just needed to make sure we built the
> in-tree Glad first.

With these lines you want to say:
We compile the bundled glad sources in mesa-progs and don't install a glad.ebuild from the Gentoo tree because the is none.

Works. Thank you so far.