FS#75063 - [mesa-demos] broken tile.rgp path
Attached to Project:
Arch Linux
Opened by Natrio (natrio) - Tuesday, 14 June 2022, 11:32 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 16 June 2022, 17:51 GMT
Opened by Natrio (natrio) - Tuesday, 14 June 2022, 11:32 GMT
Last edited by Andreas Radke (AndyRTR) - Thursday, 16 June 2022, 17:51 GMT
|
Details
After build system change in version 8.5.0
the path "/usr/share/mesa-demos" is not specified anymore: build() { - ./configure --prefix=/usr \ - --disable-gles1 \ - --with-system-data-files=/usr/share/mesa-demos + arch-meson mesa-demos-$pkgver build \ + -D gles1=disabled \ + -D with-system-data-files=true It's trying to open a broken path "share/mesa-demostile.rgb" instead of "/usr/share/mesa-demos/tile.rgb" $ /usr/bin/tunnel -h Tunnel V1.5 Written by David Bucciarelli (tech.hmw@plus.it) share/mesa-demostile.rgb: No such file or directory File not found Error reading a texture. |
This task depends upon
meson configure build
with-system-data-files true [true, false] with-system-data-files
I guess this needs to be added upstream. Please file an issue there:
https://gitlab.freedesktop.org/mesa/demos/-/issues
https://gitlab.freedesktop.org/mesa/demos/-/issues/26
Replacing the string
demos_data_dir = get_option('datadir') / 'mesa-demos'
to
demos_data_dir = get_option('prefix') / get_option('datadir') / 'mesa-demos' / ''
in "meson.build" file works for me and I was proposed it in that issue.
Texture files are loaded successfully:
$ pacman -Q mesa-demos
mesa-demos 8.5.0-2
$ pacman -Ql mesa-demos | grep textures
mesa-demos /usr/bin/textures
$ /usr/bin/textures
Loaded /usr/share/mesa-demos/arch.rgb
Loaded /usr/share/mesa-demos/reflect.rgb
Loaded /usr/share/mesa-demos/tree2.rgba
Loaded /usr/share/mesa-demos/tile.rgb
...