https://bugs.kde.org/show_bug.cgi?id=398473

            Bug ID: 398473
           Summary: powerdevil does not compile with >=ddcutil-0.8.6
           Product: Powerdevil
           Version: 5.13.5
          Platform: Gentoo Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: nilat...@gmx.net
  Target Milestone: ---

The current ddcutilbrightness.cpp implementation has been broken since the
following ddcutil commit:
https://github.com/rockowitz/ddcutil/commit/3276de053ec2b3771213f14f7dddba569b82e16f

After fixing a minor issue in a CMakeLists file of powerdevil-5.11.2, I was
able to successfully enable the brightness control using ddcutil-0.8.4. I was
eagerly waiting for the CMakeLists patch to make it into powerdevil-5.13
(https://phabricator.kde.org/D8626?id=33105), but obviously it didn't.

However after fixing the CMakeLists of powerdevil-5.13 locally again, I'm no
longer able to compile:
powerdevil-5.13.5 + >=ddcutil-0.8.6 + gcc-8.2.0 => FAIL due to ddcutil API
changes
powerdevil-5.13.5 + <ddcutil-0.8.6 + gcc-8.2.0 => FAIL ddcutil needs <gcc-7

I've updated ddcutilbrightness.cpp for ddcutil-0.9.1 and now everything works
again!

Here's the diff:
https://github.com/nilathak/powerdevil/commit/74b679d773639cac34d5730cd007e9d59130d6f7

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to