diff --git a/0001-fix-build-error-ddcutil2.0.patch b/0001-fix-build-error-ddcutil2.0.patch new file mode 100644 index 0000000000000000000000000000000000000000..c07a6d8f438193274c37de2a26fdf7a7f3e9ea75 --- /dev/null +++ b/0001-fix-build-error-ddcutil2.0.patch @@ -0,0 +1,28 @@ +From 0a74c621ff343c337c78a636b4eff3866292ef60 Mon Sep 17 00:00:00 2001 +From: liuzhilin +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 + diff --git a/dde-daemon.spec b/dde-daemon.spec index f7b6cabf0971988f511f5fe5c461b02588ac7d3e..1915310280abcc039ce02326425bd5b7d8296e39 100644 --- a/dde-daemon.spec +++ b/dde-daemon.spec @@ -12,17 +12,17 @@ Name: dde-daemon Version: 5.14.122 -Release: 1 +Release: 3 Summary: Daemon handling the DDE session settings License: GPLv3 -URL: http://shuttle.corp.deepin.com/cache/tasks/18802/unstable-amd64/ -Source0: %{name}-%{version}.tar.gz +URL: https://github.com/linuxdeepin/dde-daemon +Source0: https://github.com/linuxdeepin/dde-daemon/archive/refs/tags/%{name}-%{version}.tar.gz Source1: vendor.tar.gz Source2: %{sname}.sysusers Patch1: 0001-fix-fonts-gb-st-super.patch Patch2: 0002-donot-set-cpu-mode-while-initlizing.patch Patch3: 0003-dde-daemon-uos-fix-failed-to-start-accounts-service.patch - +Patch4: 0001-fix-build-error-ddcutil2.0.patch BuildRequires: python3 BuildRequires: golang @@ -214,6 +214,12 @@ fi %{_datadir}/dsg/configs/org.deepin.dde.daemon/ %changelog +* Thu Sep 26 2024 songmingliang - 5.14.122-3 +- solve I1T6U5, use accessible URL + +* Tue Apr 09 2024 liuzhilin - 5.14.122-2 +- fix build error for dccutils-2.0 + * Mon Jul 31 2023 leeffo - 5.14.122-1 - upgrade to version 5.14.122