rockowitz/ddcui

Can't install ddcui on Fedora 40

Opened this issue · 4 comments

I've tried to install ddcui from COPR on Fedora 40, but it conflicts with the liddcutil package from the system repository. KDE Plasma depends on the system package, so it can't be removed. The error message is:

Error: Transaction test error:
  file /usr/lib64/libddcutil.so.5 from install of libddcutil5-2.1.3-1.fc40.x86_64 conflicts with file from package libddcutil-2.1.2-1.fc40.x86_64

I'm going to have to think about how best to address this problem. I've been following the Debian convention of using a suffix number on the package name to differentiate incompatible versions of a shared library, i.e. ones with different SONAMEs. This makes it straightforward to install both the current version of a shared library and the an older version for applications that require that older version.

In the meantime, building from branch 0.5.4 release and then doing make install should address the problem.

Has there been any update to this? I built 0.5.4 and installed with make install on fedora 40, but when launching it, it still thought that libddcutil 2.1.2 was installed.

Building and installing ddcui does not affect libddcutil. That is part of source package ddcutil, which on Fedora creates system packages ddcutil, libddcutil, libddcutil-devel etc. Note however that ddcui 0..5.4 requires libddcutil from source package 2.1.0 or greater. In fact, 2.1.2 is effectively the most recent release version. 2.1.3 and 2.1.4 differ only in some minor changes needed for Debian packaging.

D'oh, ddcutil providing libddcutil is obvious now in retrospect lol.