Commit graph

403 commits

Author SHA1 Message Date
Arnaud Lechevallier
e9a9f40ded
gnu: glfw: Fix a missing path to a dlopen call.
Recent release of glfw introduced a new dlopen call to `libwayland-client.so.0´.
This small fix adds this library to the list of libraries to be patched. It
does not affect earlier versions.

* gnu/packages/gl.scm (glfw): Add `libwayland-client.so.0' to the list of
libraries to be patched.

Change-Id: I9436c63f49a9b2fed18e06d593e67a593e3c6cad
2024-09-24 22:57:15 +08:00
Guillaume Le Vaillant
baf8c5cf80
gnu: glfw-3.4: Fix build.
* gnu/packages/glfw.scm (glfw-3.4)[arguments]: Don't build out of source.

Change-Id: I42437c60f7adbc0b087f7149b17181fbc8eab4ce
2024-09-04 13:18:59 +02:00
Efraim Flashner
d10ab3d397
gnu: mesa: Fix building on aarch64-linux.
* gnu/packages/gl.scm (mesa)[inputs]: When building for aarch64-linux
use clang-18 and llvm-18 instead of llvm-for-mesa.
[native-inputs]: When building for aarch64-linux add libclc.
[arguments]: Adjust the 'disable-failing-test phase when building for
aarch64-linux to skip a test.
(mesa-opencl)[native-inputs]: When building for aarch64-linux don't add
clang-15.
* gnu/packages/check.scm (python-lit),
* gnu/packages/llvm.scm (libclc),
* gnu/packages/vulkan.scm (spirv-llvm-translator): Add a note about it
being a dependency for mesa.

Change-Id: I0bf5ab019ffd0626ad2d0c38bafceec401e3c886
2024-08-31 10:45:42 +02:00
Roman Scherer
944d99af26
Agnu: mesa: Build asahi driver on aarch64.
* gnu/packages/gl.scm (mesa): Build asahi driver on aarch64.

Change-Id: I597e70732b9ebd18960131f1b664b2dc83683b8e
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2024-08-31 10:44:38 +02:00
Artyom V. Poptsov
f3a2cf6643
gnu: glfw-3.4: New variable.
* gnu/packages/gl.scm (glfw-3.4): New variable.

Change-Id: I77f2214c78f35455436897a3fbff083331295314
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-08-12 22:51:56 +01:00
Artyom V. Poptsov
fe7c622ab0
gnu: glfw: Update to 3.3.10.
* gnu/packages/gl.scm (glfw): Update to 3.3.10.

Change-Id: I9d789fb74af4ed649102195891adc5e437883d30
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
2024-08-12 22:51:55 +01:00
Christopher Baines
953253eff3
Merge remote-tracking branch 'savannah/master' into mesa-updates
Change-Id: I00980ec5dbd9d23ab076995bc79331d136424796
2024-04-15 10:57:31 +01:00
Wilko Meyer
191a4bfe1a
gnu: glmark2: Update to 2023.01.
* gnu/packages/gl.scm (glmark2): Update to 2023.01.

Change-Id: Ia3a468d5da28801fc9c13de6995ca6599bbbb87c
Signed-off-by: Christopher Baines <mail@cbaines.net>
2024-04-09 17:03:06 +01:00
Efraim Flashner
b1b22cab72
gnu: mesa: Enable svga driver on all architectures.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust configure-flags so that
the svga gallium-driver is enabled on all architectures.

Change-Id: I0a604f1f8e4dac511c273149b95bf9b270e8e1fe
2024-04-07 14:24:37 +03:00
Efraim Flashner
1fed3f9877
gnu: mesa: Enable all the video codecs.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust the configure-flags to
enable all the video codecs.

Change-Id: Id540e4d8af8b756f1d0e4978b18e22dd19dd8985
2024-04-07 09:48:33 +03:00
Efraim Flashner
1b86dfa34d
gnu: mesa: Adjust skipped tests on powerpc-linux.
* gnu/packages/gl.scm (mesa)[arguments]: In the 'disable-failing-test
phase enable another test when building for powerpc-linux.

Change-Id: Ib043b2ea77dc145b3b067496ed45662ad635dc72
2024-04-07 09:22:23 +03:00
Efraim Flashner
764e5afbea
gnu: mesa: Enable more gallium drivers.
* gnu/packages/gl.scm (mesa)[arguments]: Adjust the configure-flag to
also build the svga gallium driver on aarch64 and the freedreno and svga
drivers on armhf.

Change-Id: I129a66184e2728e61a99bae442db908c5c0f84b0
2024-04-04 16:33:13 +03:00
Efraim Flashner
31411b4f32
gnu: mesa: Don't skip extra tests on aarch64-linux.
* gnu/packages/gl.scm (mesa)[arguments]: In the 'disable-failing-test
phase remove the test skipped only on aarch64-linux.

Change-Id: I2f6d978775887270b6374faaa48318565e393767
2024-04-04 16:28:57 +03:00
John Kehayias
23928e2d42
gnu: mesa: Update to 24.0.4.
* gnu/packages/gl.scm (mesa): Update to 24.0.4.

Change-Id: Id0c14c0ad6a45d6cdb4533053e7a116285a87e5f
2024-04-01 01:29:46 -04:00
John Kehayias
b43d36a556
gnu: mesa: Update to 24.0.3.
* gnu/packages/gl.scm (mesa): Update to 24.0.3.

Co-authored-by: aurtzy <aurtzy@gmail.com>
Change-Id: Id674e81154631daf9e8c33940c299dc1d26c62c5
2024-03-31 20:47:17 -04:00
Josselin Poiret
304d3d9644
gnu: mesa: Hardcode libvulkan.so's dependency for zink.
* gnu/packages/gl.scm (mesa): Add vulkan-loader as an input.  Refer to its
libvulkan.so.1 by full path in the zink gallium driver.

(cherry picked from commit e2875b7bb894f3575b6e61daa9c1f5d5f4c14b84)

Change-Id: I83ff787e6148a45b9403e578dd744f7eb85a221b
2024-03-31 20:47:16 -04:00
Liliana Marie Prikler
8deec94654
gnu: Add piglit.
* gnu/packages/gl.scm (piglit): New variable.
2024-02-03 10:55:06 +01:00
Liliana Marie Prikler
6ce2bd76c0
gnu: Add waffle.
* gnu/packages/gl.scm (waffle): New variable.
2024-02-03 10:55:06 +01:00
Zheng Junjie
a126e8120d
gnu: mesa: Fix cross-compilation.
* gnu/packages/gl.scm(mesa)[arguments]<#:phases>: When cross-compiling, force
the use of the cmake method to find llvm.

Change-Id: I27f6f4d9d71028c15588eeade48d3a918c042b9c
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-10 15:29:11 +01:00
Zheng Junjie
53d9190efd
gnu: glew: Fix cross-compiling.
* gnu/packages/gl.scm (mesa)[native-inputs]: When cross-compiling, add
cmake-minimal-cross.
[arguments]: Adjust 'fix-cross-compiling to find llvm.
* gnu/packages/llvm.scm (llvm-for-mesa)
[arguments]<#:configure-flags>: When cross-compiling, set
-DBUILD_SHARED_LIBS:BOOL=TRUE and -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE,
remove -DLLVM_LINK_LLVM_DYLIB.*.
<#:phases>: When cross-compiling, remove the 'delete-static-libraries phase.

Change-Id: If10dec7695e62604e080230e10f2b8d7167f660b
Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2024-01-09 10:19:42 +01:00
John Kehayias
ef4e4c9a2c
Merge branch 'master' into mesa-updates
Change-Id: I46ca25bea98d25150877421c6d5161752afabb25
2024-01-04 00:03:40 -05:00
Zheng Junjie
e2ad70c951
gnu: glew: Fix cross-compiling.
gnu/packages/gl.scm(glew):
[arguments]<#:make-flags>: when cross-compiling, use {cc,strip}-for-target.

Change-Id: I365f6635120a85359083beb88cb138f09a99fe33
2024-01-03 15:32:01 +01:00
Kaelyn Takata
976fe648df
gnu: glfw: Update to 3.3.9.
* gnu/packages/gl.scm (glfw): Update to 3.3.9.

Change-Id: Ide5ec168e97d431dba007bd6095635dab83b87c4
Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-12-31 11:05:38 +08:00
John Kehayias
42c448ee6e
gnu: mesa: Update to 23.3.2.
* gnu/packages/gl.scm (mesa): Update to 23.3.2.

Change-Id: Ic348c48f4045e8766646a5fe62209619a0247059
2023-12-28 23:49:15 -05:00
John Kehayias
92227248a6
Merge branch 'master' into mesa-updates
Change-Id: I16539f64df739453a83f8dfd962e04910a7d7ff5
2023-12-28 21:13:26 -05:00
John Kehayias
ebd3b3e902
gnu: mesa: Enable zink support.
* gnu/packages/gl.scm (mesa)[arguments]: Add zink to gallium-drivers in
configure-flags.

Change-Id: I1fc7e38a8307b589a7c48bc0b923fccd9ffcd8b8
2023-12-18 18:49:40 -05:00
John Kehayias
1b0e216ad6
gnu: mesa: Update to 23.3.1.
* gnu/packages/gl.scm (mesa): Update to 23.3.1.

Change-Id: Idf4393b4fa5b7df7a78bd88d7591385023460b5b
2023-12-17 01:27:03 -05:00
Zheng Junjie
1784ece7cb
gnu: Add glad, version 2.0.4.
* gnu/packages/gl.scm (glad): New variable.

Change-Id: I516d44dfc9272702c3ac31773df0b6c2d68ed99c
Modified-by: Hilton Chain <hako@ultrarare.space>
Signed-off-by: Hilton Chain <hako@ultrarare.space>
2023-12-22 21:57:51 +08:00
Hilton Chain
4d49401031
gnu: glad-0.1: Use gexps.
* gnu/packages/gl.scm (glad-0.1)[arguments]: Use gexps.

Change-Id: I871ec0ff9c7731222f1dd0e8c95057efa1231992
2023-12-22 21:38:20 +08:00
Hilton Chain
b005a6f1d9
gnu: glad: Rename to glad-0.1.
* gnu/packages/gl.scm (glad): Rename variable to...
(glad-0.1): ...this.
* gnu/packages/electronics.scm (openboardview)[native-inputs]:
Adjust accordingly.

Change-Id: I5a9068186a899b8ff76feb51fd44f59e71cdb030
2023-12-22 21:38:06 +08:00
宋文武
37fc2c99e0
gnu: libepoxy: Hardcode paths to GLES libraries.
Fixes <https://issues.guix.gnu.org/64981>.

* gnu/packages/gl.scm (libepoxy)[arguments]<#:phases>: Hardcode paths to
libGLESv1_CM.so.1 and libGLESv2.so.2.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
Change-Id: I9d68a2b8f9c4ffee13ea63ea973970bf1d4c8a6d
2023-11-05 22:09:51 -05:00
John Kehayias
ed2c3143f3
gnu: mesa: Update to 23.2.1.
* gnu/packages/gl.scm (mesa): Update to 23.2.1.

Change-Id: I9014c29696317eeda2c86170ef64d57dd02fe8f4
2023-11-05 22:09:50 -05:00
Efraim Flashner
2aab62fe24
gnu: mesa: Fix cross-compiling.
* gnu/packages/gl.scm (mesa)[native-inputs]: When cross-compiling add
pkg-config-for-build, wayland, wayland-protocols.
[arguments]: Adjust configure-flags to use cond to also match the
architecture when cross-compiling. Add phase when cross-compilng to set
the location of llvm-config.
2023-10-15 13:00:24 +03:00
Hilton Chain
697406fef7
gnu: libglvnd: Update to 1.7.0.
* gnu/packages/gl.scm (libglvnd): Update to 1.7.0.

Signed-off-by: Christopher Baines <mail@cbaines.net>
2023-09-30 10:31:09 +01:00
Maxim Cournoyer
e5f27fdfb3
gnu: glfw: Patch dlopen calls.
* gnu/packages/gl.scm (glfw) [arguments]: Add #:modules and #:phases argument.
[inputs]: New field.
2023-09-26 11:30:51 -04:00
Efraim Flashner
5aceacac65
gnu: mesa: Update skipped tests on powerpc-linux.
* gnu/packages/gl.scm (mesa)[arguments]: When building for powerpc-linux
adjust the 'disable-failing-test phase for changes in failed tests.
2023-08-02 09:20:40 +03:00
John Kehayias
4f0ce65b74
gnu: mesa: Update to 23.1.4.
* gnu/packages/gl.scm (mesa): Update to 23.1.4.
2023-07-29 21:18:19 -04:00
Sigve Sudland
090c254fe7
gnu: mesa: Enable zstd compression for shader cache.
* gnu/packages/gl.scm (mesa)[inputs]: Add zstd:lib.
[arguments]: Add '-Dzstd=enabled' to configure-flags.

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
2023-07-29 21:18:14 -04:00
John Kehayias
9d4cd681da
gnu: mesa: Ungraft.
* gnu/packages/gl.scm (mesa)[configure-flags]: Add intel_hasvk and swrast to
vulkan-drivers.
[replacement]: Remove.
(mesa-vulkan-hasvk): Remove variable.
2023-07-29 21:18:12 -04:00
Guillaume Le Vaillant
c7cf2efb7a
gnu: mesa: Fix VDPAU drivers path.
The VDPAU_DRIVER_PATH environment variable must contain only one directory.

* gnu/packages/gl.scm (mesa)[native-search-paths]: Fix specification for
  VDPAU_DRIVER_PATH.

Signed-off-by: John Kehayias <john.kehayias@protonmail.com>
2023-07-29 21:18:09 -04:00
Lilah Tascheter
45491ea8da
gnu: mesa: Fix Vulkan on older Intel GPUs.
Mesa split the Vulkan intel driver into two: intel and intel_hasvk.
Enables intel_hasvk so vulkan functions on older intel GPUs again, and
swrast for lavapipe as a fallback.

* gnu/packages/gl.scm (mesa-vulkan-hasvk): New variable.
(mesa): Graft with mesa-vulkan-hasvk.

Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-07-16 09:18:09 +02:00
Andy Tai
930e6e3e7a
gnu: mesa-opencl: Remove reference to patch.
Fixes <https://bugs.gnu.org/63456>.

* gnu/packages/patches/mesa-opencl-all-targets.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.
* gnu/packages/gl.scm (mesa-opencl)[source]: Remove patch application.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
2023-05-14 10:19:39 +02:00
David Thompson
6af7a94446
gnu: guile-opengl: Update to 0.2.0.
* gnu/packages/gl.scm (guile-opengl): Update to 0.2.0. Remove obsolete build
system hack.
(guile3.0-opengl): Remove obsolete build system hack.
2023-05-13 07:42:21 -04:00
Kaelyn Takata
0be7838105
gnu: mesa: Update to 23.0.3.
* gnu/packages/gl.scm (mesa): Update to 23.0.3.
[source]: Remove obsolete patch and update HTTPS url.
[arguments]: Enable the crocus gallium driver.
* gnu/packages/patches/mesa-fix-sporadic-test-failures.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Remove it.
2023-05-07 13:04:24 -04:00
Kaelyn Takata
cf79468720
gnu: mesa: Use gexps instead of quasiquote.
* gnu/packages/gl.scm (mesa)[arguments]: Use gexps instead of quasiquote.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-05-07 13:04:24 -04:00
Kaelyn Takata
02995444db
gnu: mesa: Fix hardware video decoding.
* gnu/packages/gl.scm (mesa): Fix hardware video decoding.
[arguments]: Add -Dvideo-codecs to the #:configure-flags
[native-search-paths]: Add VDPAU_DRIVER_PATH so libvdpau can find the drivers.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-05-07 13:04:24 -04:00
Kaelyn Takata
61a3264424
gnu: mesa: Fix library paths in Vulkan layer manifests.
* gnu/packages/gl.scm (mesa): Fix library paths in Vulkan layer manifests.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2023-05-07 13:04:23 -04:00
Maxim Cournoyer
3bacd3c76a
Merge branch 'master' into core-updates.
Conflicts:
	gnu/local.mk
	gnu/packages/build-tools.scm
	gnu/packages/certs.scm
	gnu/packages/check.scm
	gnu/packages/compression.scm
	gnu/packages/cups.scm
	gnu/packages/fontutils.scm
	gnu/packages/gnuzilla.scm
	gnu/packages/guile.scm
	gnu/packages/ibus.scm
	gnu/packages/image-processing.scm
	gnu/packages/linux.scm
	gnu/packages/music.scm
	gnu/packages/nss.scm
	gnu/packages/pdf.scm
	gnu/packages/python-xyz.scm
	gnu/packages/qt.scm
	gnu/packages/ruby.scm
	gnu/packages/shells.scm
	gnu/packages/tex.scm
	gnu/packages/video.scm
	gnu/packages/vulkan.scm
	gnu/packages/web.scm
	gnu/packages/webkit.scm
	gnu/packages/wm.scm
2023-04-14 17:15:08 -04:00
Maxim Cournoyer
839bb4616f
Merge remote-tracking branch 'origin/master' into staging.
With resolved conflicts in:
	gnu/packages/ibus.scm
	gnu/packages/image.scm
	gnu/packages/lisp.scm
	gnu/packages/virtualization.scm
2023-03-23 21:45:21 -04:00
Simon South
a56eafd28b
gnu: mesa: Fix sporadic test failures.
* gnu/packages/patches/mesa-fix-sporadic-test-failures.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/gl.scm (mesa)[source]: Apply it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2023-03-04 17:30:31 +01:00