unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#59416] [PATCH staging 0/1] gnu: ppsspp: Drop OGLCompiler andOSDependent from glslang libs.
@ 2022-11-20 17:56 dan
  2022-11-20 18:00 ` [bug#59416] [PATCH 1/1] gnu: ppsspp: Drop OGLCompiler and OSDependent " dan
  2022-11-22 20:16 ` [bug#59416] [PATCH staging 0/1] gnu: ppsspp: Drop OGLCompiler andOSDependent " Liliana Marie Prikler
  0 siblings, 2 replies; 3+ messages in thread
From: dan @ 2022-11-20 17:56 UTC (permalink / raw)
  To: 59416

The recent update on vulkan-sdk packages breaks the build of ppsspp on the
staging branch[1].  This patch tries to drops unused glslang libs from the
CMakeLists.txt file of ppsspp, following the recent changes made on
glslang[2].

[1]: http://ci.guix.gnu.org/build/1751089/details
[2]: https://github.com/KhronosGroup/glslang/commit/7cd519511c32d7e86d901c7ed231cb84c652d18d

dan (1):
  gnu: ppsspp: Drop OGLCompiler and OSDependent from glslang libs.

 gnu/packages/emulators.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

-- 
2.38.1





^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#59416] [PATCH 1/1] gnu: ppsspp: Drop OGLCompiler and OSDependent from glslang libs.
  2022-11-20 17:56 [bug#59416] [PATCH staging 0/1] gnu: ppsspp: Drop OGLCompiler andOSDependent from glslang libs dan
@ 2022-11-20 18:00 ` dan
  2022-11-22 20:16 ` [bug#59416] [PATCH staging 0/1] gnu: ppsspp: Drop OGLCompiler andOSDependent " Liliana Marie Prikler
  1 sibling, 0 replies; 3+ messages in thread
From: dan @ 2022-11-20 18:00 UTC (permalink / raw)
  To: 59416

* gnu/packages/emulators.scm (ppsspp) [arguments]: Drop OGLCompiler and
OSDependent from lists of glslang libraries.
---
 gnu/packages/emulators.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm
index 28d3e0ca9a..2ed5420aca 100644
--- a/gnu/packages/emulators.scm
+++ b/gnu/packages/emulators.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2021 Felix Gruber <felgru@posteo.net>
 ;;; Copyright © 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
+;;; Copyright © 2021 dan <i@dan.games>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2317,7 +2318,14 @@ (define-public ppsspp
            ;; Since we are not including git as an input, PPSSPP is confused
            ;; about its version.  Let's fix that here.
            (substitute* "git-version.cmake"
-             (("unknown") ,version))))))
+             (("unknown") ,version))
+           ;; We've updated the glslang in guix to match the latest vulkan-sdk
+           ;; version, while the glslang ppsspp vendored is a 2-year old
+           ;; version.  We have to manually remove these from glslang libs
+           ;; list to successfully build the package.  For more info, see:
+           ;; https://github.com/KhronosGroup/glslang/commit/7cd519511c32d7e86d901c7ed231cb84c652d18d
+           (substitute* "CMakeLists.txt"
+             (("OGLCompiler OSDependent") ""))))))
     (build-system cmake-build-system)
     (native-inputs (list pkg-config python))
     (inputs (list bash
-- 
2.38.1





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#59416] [PATCH staging 0/1] gnu: ppsspp: Drop OGLCompiler andOSDependent from glslang libs.
  2022-11-20 17:56 [bug#59416] [PATCH staging 0/1] gnu: ppsspp: Drop OGLCompiler andOSDependent from glslang libs dan
  2022-11-20 18:00 ` [bug#59416] [PATCH 1/1] gnu: ppsspp: Drop OGLCompiler and OSDependent " dan
@ 2022-11-22 20:16 ` Liliana Marie Prikler
  1 sibling, 0 replies; 3+ messages in thread
From: Liliana Marie Prikler @ 2022-11-22 20:16 UTC (permalink / raw)
  To: dan, 59416

Am Montag, dem 21.11.2022 um 01:56 +0800 schrieb dan:
> The recent update on vulkan-sdk packages breaks the build of ppsspp
> on the staging branch[1].  This patch tries to drops unused glslang
> libs from the CMakeLists.txt file of ppsspp, following the recent
> changes made on glslang[2].
> 
> [1]: http://ci.guix.gnu.org/build/1751089/details
You probably want to update this link, but ppsspp on staging is
currently waiting on CI.

> [2]:
> https://github.com/KhronosGroup/glslang/commit/7cd519511c32d7e86d901c7ed231cb84c652d18d
> 
> dan (1):
>   gnu: ppsspp: Drop OGLCompiler and OSDependent from glslang libs.
Have you tested whether this actually works as intended, i.e. whether
OpenGL and Linux-specific features continue to work?

Cheers




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-11-22 20:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-20 17:56 [bug#59416] [PATCH staging 0/1] gnu: ppsspp: Drop OGLCompiler andOSDependent from glslang libs dan
2022-11-20 18:00 ` [bug#59416] [PATCH 1/1] gnu: ppsspp: Drop OGLCompiler and OSDependent " dan
2022-11-22 20:16 ` [bug#59416] [PATCH staging 0/1] gnu: ppsspp: Drop OGLCompiler andOSDependent " Liliana Marie Prikler

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).