!65 fix build error for dccutils-2.0
From: @lliuzhi Reviewed-by: @ut-layne-yang Signed-off-by: @ut-layne-yang
This commit is contained in:
commit
d5012c41e0
28
0001-fix-build-error-ddcutil2.0.patch
Normal file
28
0001-fix-build-error-ddcutil2.0.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
From 0a74c621ff343c337c78a636b4eff3866292ef60 Mon Sep 17 00:00:00 2001
|
||||||
|
From: liuzhilin <liuzhilin@uniontech.com>
|
||||||
|
Date: Tue, 2 Apr 2024 17:15:55 +0800
|
||||||
|
Subject: [PATCH] fix-build-error-ddcutil2.0
|
||||||
|
|
||||||
|
---
|
||||||
|
bin/backlight_helper/ddcci/ddcci.go | 5 -----
|
||||||
|
1 file changed, 5 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/bin/backlight_helper/ddcci/ddcci.go b/bin/backlight_helper/ddcci/ddcci.go
|
||||||
|
index 2165345..302fe73 100644
|
||||||
|
--- a/bin/backlight_helper/ddcci/ddcci.go
|
||||||
|
+++ b/bin/backlight_helper/ddcci/ddcci.go
|
||||||
|
@@ -103,11 +103,6 @@ func newDDCCI() (*ddcci, error) {
|
||||||
|
displayHandleMap: make(map[string]*displayHandle),
|
||||||
|
}
|
||||||
|
|
||||||
|
- status := C.ddca_set_max_tries(C.DDCA_MULTI_PART_TRIES, 5)
|
||||||
|
- if status < C.int(0) {
|
||||||
|
- return nil, fmt.Errorf("brightness: Error setting retries: %d", status)
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
err := ddc.RefreshDisplays()
|
||||||
|
if err != nil {
|
||||||
|
return nil, err
|
||||||
|
--
|
||||||
|
2.39.3
|
||||||
|
|
||||||
@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
Name: dde-daemon
|
Name: dde-daemon
|
||||||
Version: 5.14.122
|
Version: 5.14.122
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Daemon handling the DDE session settings
|
Summary: Daemon handling the DDE session settings
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
URL: http://shuttle.corp.deepin.com/cache/tasks/18802/unstable-amd64/
|
URL: http://shuttle.corp.deepin.com/cache/tasks/18802/unstable-amd64/
|
||||||
@ -22,7 +22,7 @@ Source2: %{sname}.sysusers
|
|||||||
Patch1: 0001-fix-fonts-gb-st-super.patch
|
Patch1: 0001-fix-fonts-gb-st-super.patch
|
||||||
Patch2: 0002-donot-set-cpu-mode-while-initlizing.patch
|
Patch2: 0002-donot-set-cpu-mode-while-initlizing.patch
|
||||||
Patch3: 0003-dde-daemon-uos-fix-failed-to-start-accounts-service.patch
|
Patch3: 0003-dde-daemon-uos-fix-failed-to-start-accounts-service.patch
|
||||||
|
Patch4: 0001-fix-build-error-ddcutil2.0.patch
|
||||||
|
|
||||||
BuildRequires: python3
|
BuildRequires: python3
|
||||||
BuildRequires: golang
|
BuildRequires: golang
|
||||||
@ -214,6 +214,9 @@ fi
|
|||||||
%{_datadir}/dsg/configs/org.deepin.dde.daemon/
|
%{_datadir}/dsg/configs/org.deepin.dde.daemon/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 09 2024 liuzhilin <liuzhilin@uniontech.com> - 5.14.122-2
|
||||||
|
- fix build error for dccutils-2.0
|
||||||
|
|
||||||
* Mon Jul 31 2023 leeffo <liweiganga@uniontech.com> - 5.14.122-1
|
* Mon Jul 31 2023 leeffo <liweiganga@uniontech.com> - 5.14.122-1
|
||||||
- upgrade to version 5.14.122
|
- upgrade to version 5.14.122
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user