GNU bug report logs -
#72261
[PATCH] gnu: ddcci-driver-linux: Update to 0.4.5.
Previous Next
Reported by: ashish.is <at> lostca.se
Date: Tue, 23 Jul 2024 19:22:02 UTC
Severity: normal
Tags: patch
Done: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72261 in the body.
You can then email your comments to 72261 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
leo <at> famulari.name, w <at> wmeyer.eu, guix-patches <at> gnu.org
:
bug#72261
; Package
guix-patches
.
(Tue, 23 Jul 2024 19:22:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
ashish.is <at> lostca.se
:
New bug report received and forwarded. Copy sent to
leo <at> famulari.name, w <at> wmeyer.eu, guix-patches <at> gnu.org
.
(Tue, 23 Jul 2024 19:22:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
From: Ashish SHUKLA <ashish.is <at> lostca.se>
* gnu/packages/linux.scm (ddcci-driver-linux): Update to 0.4.5.
[source] remove already upstream patch.
* gnu/packages/patches/ddcci-driver-linux-6.8.patch: Remove it.
* gnu/local.mk: Unregister it.
Change-Id: I1d4920ec84ea2a67554560181e99e9e2d535af2a
---
gnu/local.mk | 2 +-
gnu/packages/linux.scm | 6 ++--
.../ddcci-driver-linux-linux-6.8.patch | 36 -------------------
3 files changed, 4 insertions(+), 40 deletions(-)
delete mode 100644 gnu/packages/patches/ddcci-driver-linux-linux-6.8.patch
diff --git a/gnu/local.mk b/gnu/local.mk
index ef1e82eb04..982e13ad50 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -65,6 +65,7 @@
# Copyright © 2023 Herman Rimm <herman <at> rimm.ee>
# Copyright © 2023 Troy Figiel <troy <at> troyfigiel.com>
# Copyright © 2024 David Elsing <david.elsing <at> posteo.net>
+# Copyright © 2024 Ashish SHUKLA <ashish.is <at> lostca.se>
#
# This file is part of GNU Guix.
#
@@ -1111,7 +1112,6 @@ dist_patch_DATA = \
%D%/packages/patches/dbus-c++-gcc-compat.patch \
%D%/packages/patches/dbus-c++-threading-mutex.patch \
%D%/packages/patches/dbxfs-remove-sentry-sdk.patch \
- %D%/packages/patches/ddcci-driver-linux-linux-6.8.patch \
%D%/packages/patches/debops-constants-for-external-program-names.patch \
%D%/packages/patches/debops-debops-defaults-fall-back-to-less.patch \
%D%/packages/patches/dee-vapi.patch \
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 4bd5f9c902..0eeac4b094 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -81,6 +81,7 @@
;;; Copyright © 2024 Gabriel Wicki <gabriel <at> erlikon.ch>
;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus <at> gmail.com>
;;; Copyright © 2024 Arun Isaac <arunisaac <at> systemreboot.net>
+;;; Copyright © 2024 Ashish SHUKLA <ashish.is <at> lostca.se>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -1747,7 +1748,7 @@ (define-public bbswitch-module
(define-public ddcci-driver-linux
(package
(name "ddcci-driver-linux")
- (version "0.4.4")
+ (version "0.4.5")
(source
(origin
(method git-fetch)
@@ -1757,8 +1758,7 @@ (define-public ddcci-driver-linux
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "19vi7dk4jv5wm18cznz4lj2fb1c7m7j3ig62x4a6qy9djxf9z472"))
- (patches (search-patches "ddcci-driver-linux-linux-6.8.patch"))))
+ (base32 "0j2bgzadrbcyf3k4zplv7p5yqb9pw2ca6wzkqjhhidaah2722vlf"))))
(build-system linux-module-build-system)
(arguments
(list #:tests? #f ; no tests
diff --git a/gnu/packages/patches/ddcci-driver-linux-linux-6.8.patch b/gnu/packages/patches/ddcci-driver-linux-linux-6.8.patch
deleted file mode 100644
index 89ded73c14..0000000000
--- a/gnu/packages/patches/ddcci-driver-linux-linux-6.8.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Retrieved from: https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/commit/3eb20df68a545d07b8501f13fa9d20e9c6f577ed.patch
-
-From 7f851f5fb8fbcd7b3a93aaedff90b27124e17a7e Mon Sep 17 00:00:00 2001
-From: Bruno Inec <contact <at> sweenu.xyz>
-Date: Wed, 20 Mar 2024 10:36:56 +0100
-Subject: [PATCH] Compatibility with Linux 6.8
-
----
- ddcci/ddcci.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/ddcci/ddcci.c b/ddcci/ddcci.c
-index 87b0818..6073c75 100644
---- a/ddcci/ddcci.c
-+++ b/ddcci/ddcci.c
-@@ -1666,7 +1666,7 @@ static int ddcci_detect(struct i2c_client *client, struct i2c_board_info *info)
- pr_debug("detected %d:%02x\n", client->adapter->nr, outer_addr);
-
- /* set device type */
-- strlcpy(info->type, (outer_addr == DDCCI_DEFAULT_DEVICE_ADDR) ? "ddcci" : "ddcci-dependent", I2C_NAME_SIZE);
-+ strscpy(info->type, (outer_addr == DDCCI_DEFAULT_DEVICE_ADDR) ? "ddcci" : "ddcci-dependent", I2C_NAME_SIZE);
-
- return 0;
- }
-@@ -1824,7 +1824,7 @@ static struct i2c_driver ddcci_driver = {
- #else
- .remove = ddcci_remove,
- #endif
-- .class = I2C_CLASS_DDC,
-+ .class = I2C_CLASS_SPD,
- .detect = ddcci_detect,
- .address_list = I2C_ADDRS(
- DDCCI_DEFAULT_DEVICE_ADDR>>1
---
-GitLab
-
base-commit: d007b64356764f49677c78d82643f1125b5353b7
--
2.45.2
Information forwarded
to
guix-patches <at> gnu.org
:
bug#72261
; Package
guix-patches
.
(Tue, 30 Jul 2024 06:49:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
"ashish.is--- via Guix-patches" via <guix-patches <at> gnu.org> writes:
> From: Ashish SHUKLA <ashish.is <at> lostca.se>
>
> * gnu/packages/linux.scm (ddcci-driver-linux): Update to 0.4.5.
> [source] remove already upstream patch.
No indentation required, capitalize the first letter.
>
> * gnu/packages/patches/ddcci-driver-linux-6.8.patch: Remove it.
> * gnu/local.mk: Unregister it.
>
> Change-Id: I1d4920ec84ea2a67554560181e99e9e2d535af2a
> ---
> gnu/local.mk | 2 +-
> gnu/packages/linux.scm | 6 ++--
> .../ddcci-driver-linux-linux-6.8.patch | 36 -------------------
> 3 files changed, 4 insertions(+), 40 deletions(-)
> delete mode 100644 gnu/packages/patches/ddcci-driver-linux-linux-6.8.patch
>
> diff --git a/gnu/local.mk b/gnu/local.mk
> index ef1e82eb04..982e13ad50 100644
> --- a/gnu/local.mk
> +++ b/gnu/local.mk
> @@ -65,6 +65,7 @@
> # Copyright © 2023 Herman Rimm <herman <at> rimm.ee>
> # Copyright © 2023 Troy Figiel <troy <at> troyfigiel.com>
> # Copyright © 2024 David Elsing <david.elsing <at> posteo.net>
> +# Copyright © 2024 Ashish SHUKLA <ashish.is <at> lostca.se>
> #
> # This file is part of GNU Guix.
> #
> @@ -1111,7 +1112,6 @@ dist_patch_DATA = \
> %D%/packages/patches/dbus-c++-gcc-compat.patch \
> %D%/packages/patches/dbus-c++-threading-mutex.patch \
> %D%/packages/patches/dbxfs-remove-sentry-sdk.patch \
> - %D%/packages/patches/ddcci-driver-linux-linux-6.8.patch \
> %D%/packages/patches/debops-constants-for-external-program-names.patch \
> %D%/packages/patches/debops-debops-defaults-fall-back-to-less.patch \
> %D%/packages/patches/dee-vapi.patch \
> diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
> index 4bd5f9c902..0eeac4b094 100644
> --- a/gnu/packages/linux.scm
> +++ b/gnu/packages/linux.scm
> @@ -81,6 +81,7 @@
> ;;; Copyright © 2024 Gabriel Wicki <gabriel <at> erlikon.ch>
> ;;; Copyright © 2024 Sharlatan Hellseher <sharlatanus <at> gmail.com>
> ;;; Copyright © 2024 Arun Isaac <arunisaac <at> systemreboot.net>
> +;;; Copyright © 2024 Ashish SHUKLA <ashish.is <at> lostca.se>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -1747,7 +1748,7 @@ (define-public bbswitch-module
> (define-public ddcci-driver-linux
> (package
> (name "ddcci-driver-linux")
> - (version "0.4.4")
> + (version "0.4.5")
> (source
> (origin
> (method git-fetch)
> @@ -1757,8 +1758,7 @@ (define-public ddcci-driver-linux
> (commit (string-append "v" version))))
> (file-name (git-file-name name version))
> (sha256
> - (base32 "19vi7dk4jv5wm18cznz4lj2fb1c7m7j3ig62x4a6qy9djxf9z472"))
> - (patches (search-patches "ddcci-driver-linux-linux-6.8.patch"))))
> + (base32 "0j2bgzadrbcyf3k4zplv7p5yqb9pw2ca6wzkqjhhidaah2722vlf"))))
> (build-system linux-module-build-system)
> (arguments
> (list #:tests? #f ; no tests
> diff --git a/gnu/packages/patches/ddcci-driver-linux-linux-6.8.patch b/gnu/packages/patches/ddcci-driver-linux-linux-6.8.patch
> deleted file mode 100644
> index 89ded73c14..0000000000
> --- a/gnu/packages/patches/ddcci-driver-linux-linux-6.8.patch
> +++ /dev/null
> @@ -1,36 +0,0 @@
> -Retrieved from: https://gitlab.com/ddcci-driver-linux/ddcci-driver-linux/-/commit/3eb20df68a545d07b8501f13fa9d20e9c6f577ed.patch
> -
> -From 7f851f5fb8fbcd7b3a93aaedff90b27124e17a7e Mon Sep 17 00:00:00 2001
> -From: Bruno Inec <contact <at> sweenu.xyz>
> -Date: Wed, 20 Mar 2024 10:36:56 +0100
> -Subject: [PATCH] Compatibility with Linux 6.8
> -
> ----
> - ddcci/ddcci.c | 4 ++--
> - 1 file changed, 2 insertions(+), 2 deletions(-)
> -
> -diff --git a/ddcci/ddcci.c b/ddcci/ddcci.c
> -index 87b0818..6073c75 100644
> ---- a/ddcci/ddcci.c
> -+++ b/ddcci/ddcci.c
> -@@ -1666,7 +1666,7 @@ static int ddcci_detect(struct i2c_client *client, struct i2c_board_info *info)
> - pr_debug("detected %d:%02x\n", client->adapter->nr, outer_addr);
> -
> - /* set device type */
> -- strlcpy(info->type, (outer_addr == DDCCI_DEFAULT_DEVICE_ADDR) ? "ddcci" : "ddcci-dependent", I2C_NAME_SIZE);
> -+ strscpy(info->type, (outer_addr == DDCCI_DEFAULT_DEVICE_ADDR) ? "ddcci" : "ddcci-dependent", I2C_NAME_SIZE);
> -
> - return 0;
> - }
> -@@ -1824,7 +1824,7 @@ static struct i2c_driver ddcci_driver = {
> - #else
> - .remove = ddcci_remove,
> - #endif
> -- .class = I2C_CLASS_DDC,
> -+ .class = I2C_CLASS_SPD,
> - .detect = ddcci_detect,
> - .address_list = I2C_ADDRS(
> - DDCCI_DEFAULT_DEVICE_ADDR>>1
> ---
> -GitLab
> -
>
> base-commit: d007b64356764f49677c78d82643f1125b5353b7
pushed, close.
[signature.asc (application/pgp-signature, inline)]
Reply sent
to
Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
:
You have taken responsibility.
(Tue, 30 Jul 2024 06:49:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
ashish.is <at> lostca.se
:
bug acknowledged by developer.
(Tue, 30 Jul 2024 06:49:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Tue, 27 Aug 2024 11:24:09 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.