unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#59191] [PATCH] gnu: bbswitch-module: Update to 20211129.
@ 2022-11-11  9:26 Pierre Neidhardt
  2022-11-12 15:01 ` Dominic Martinez via Guix-patches via
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Neidhardt @ 2022-11-11  9:26 UTC (permalink / raw)
  To: 59191


[-- Attachment #1.1: Type: text/plain, Size: 105 bytes --]

This is a bit special as it seems to be the only module that does not
build on linux-libre-6.

Still OK?

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-bbswitch-module-Update-to-20211129.patch --]
[-- Type: text/x-patch, Size: 2080 bytes --]

From 352928bc8cfd409adbb630f0948c7cce319269ef Mon Sep 17 00:00:00 2001
From: Pierre Neidhardt <mail@ambrevar.xyz>
Date: Fri, 11 Nov 2022 10:20:26 +0100
Subject: [PATCH] gnu: bbswitch-module: Update to 20211129.

* gnu/packages/linux.scm (bbswitch-module): Update to 20211129.
[arguments]: Build using linux-5.15 as it fails to build with Linux >= 5.19.
---
 gnu/packages/linux.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 2c06269504..1996495b1c 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -1442,10 +1442,10 @@ (define-public vhba-module
 (define-public bbswitch-module
   ;; Use "develop" branch since stable release does not build on Linux >= 5.6.
   ;; See https://github.com/Bumblebee-Project/bbswitch/issues/205.
-  (let ((commit "ddbd243638c7bc2baecf43a78aff46cdc12e9b2e"))
+  (let ((commit "23891174a80ea79c7720bcc7048a5c2bfcde5cd9"))
     (package
       (name "bbswitch-module")
-      (version (git-version "0.8" "1" commit))
+      (version (git-version "0.8" "2" commit))
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
@@ -1454,10 +1454,13 @@ (define-public bbswitch-module
                 (file-name (git-file-name name version))
                 (sha256
                  (base32
-                  "1pgldnza7mzd0flrxg4q69dwbq1fhl58m5c62ary5drb0xyf3lqb"))))
+                  "0da7arxarq8id5i8qychrliz3wkc05l2mknisn44drm62wkzajz7"))))
       (build-system linux-module-build-system)
       (arguments
-       (list #:tests? #f))              ; no test suite
+       (list
+        #:tests? #f                     ; no test suite
+        ;; Does not work on Linux >= 5.19.
+        #:linux linux-libre-5.15))
       (home-page "https://github.com/Bumblebee-Project/bbswitch")
       (synopsis "Kernel module that disables discrete Nvidia graphics cards")
       (description "The bbswitch module provides a way to toggle the Nvidia

base-commit: c37b6fba1af0d823bd18c753484459b40fc8c041
-- 
2.38.0


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

* [bug#59191] [PATCH] gnu: bbswitch-module: Update to 20211129.
  2022-11-11  9:26 [bug#59191] [PATCH] gnu: bbswitch-module: Update to 20211129 Pierre Neidhardt
@ 2022-11-12 15:01 ` Dominic Martinez via Guix-patches via
  2022-11-14 10:31   ` Pierre Neidhardt
  0 siblings, 1 reply; 4+ messages in thread
From: Dominic Martinez via Guix-patches via @ 2022-11-12 15:01 UTC (permalink / raw)
  To: Pierre Neidhardt; +Cc: 59191

[-- Attachment #1: Type: text/plain, Size: 431 bytes --]


Pierre Neidhardt <mail@ambrevar.xyz> writes:

> This is a bit special as it seems to be the only module that 
> does not
> build on linux-libre-6.
>
> Still OK?

There's an open PR to fix the bbswitch build, but no response yet: 
https://github.com/Bumblebee-Project/bbswitch/pull/219.

Maybe it's worth considering using the updated fork until the 
official bbswitch is updated? 
https://github.com/madchic/bbswitch/tree/develop

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]

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

* [bug#59191] [PATCH] gnu: bbswitch-module: Update to 20211129.
  2022-11-12 15:01 ` Dominic Martinez via Guix-patches via
@ 2022-11-14 10:31   ` Pierre Neidhardt
  2022-11-19 13:40     ` bug#59191: " Christopher Baines
  0 siblings, 1 reply; 4+ messages in thread
From: Pierre Neidhardt @ 2022-11-14 10:31 UTC (permalink / raw)
  To: Dominic Martinez; +Cc: 59191

[-- Attachment #1: Type: text/plain, Size: 114 bytes --]

Good find!

I've merged the fix with 4cc746820a4043c029e26926f85c5e3c1d1b9eb3.
We can close this issue I believe.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 511 bytes --]

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

* bug#59191: [PATCH] gnu: bbswitch-module: Update to 20211129.
  2022-11-14 10:31   ` Pierre Neidhardt
@ 2022-11-19 13:40     ` Christopher Baines
  0 siblings, 0 replies; 4+ messages in thread
From: Christopher Baines @ 2022-11-19 13:40 UTC (permalink / raw)
  To: 59191-close; +Cc: guix-patches

[-- Attachment #1: Type: text/plain, Size: 197 bytes --]


Pierre Neidhardt <mail@ambrevar.xyz> writes:

> Good find!
>
> I've merged the fix with 4cc746820a4043c029e26926f85c5e3c1d1b9eb3.
> We can close this issue I believe.

Closing as suggested above.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

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

end of thread, other threads:[~2022-11-19 13:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-11  9:26 [bug#59191] [PATCH] gnu: bbswitch-module: Update to 20211129 Pierre Neidhardt
2022-11-12 15:01 ` Dominic Martinez via Guix-patches via
2022-11-14 10:31   ` Pierre Neidhardt
2022-11-19 13:40     ` bug#59191: " Christopher Baines

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).