File displayprofiler.spec of Package displayprofiler
#
# spec file for package displayprofiler
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: displayprofiler
Version: 0~git1751558700.a7c7956
Release: 0
Summary: A very simple application to profile displays
License: TODO
URL: https://invent.kde.org/zamundaaa/displayprofiler.git
Source0: %{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: kf6-extra-cmake-modules
BuildRequires: pkgconfig
BuildRequires: cmake(KF6CoreAddons)
BuildRequires: cmake(KF6I18n)
BuildRequires: cmake(KF6IconThemes)
BuildRequires: cmake(KF6Kirigami)
BuildRequires: cmake(KF6QQC2DesktopStyle)
BuildRequires: cmake(KF6Screen)
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6Gui)
BuildRequires: cmake(Qt6Quick)
BuildRequires: cmake(Qt6QuickControls2)
BuildRequires: cmake(Qt6Test)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: cmake(glm)
BuildRequires: pkgconfig(colordevice)
BuildRequires: pkgconfig(lcms2)
%description
Currently, only very basic measurements are supported - shaper+matrix profiles
only - but more advanced functionality will be added over time.
# Future plans (in no particular order)
- hide the cursor when it hovers over the color patch, to ensure it
doesn't interfere with measurements
- support more complex profiling strategies
- add some resolution vs. speed option?
- automatically figure out a good sampling speed. Right now it's
hardcoded at 2 samples per second, which is probably slower than
necessary
- support some profiling extension for niceties, like keeping the
surface always on top, inhibiting the previous ICC profile and
inhibiting night light
- integrate with KDE display settings, to automatically set the
profile for the output
- integrate with KWin's brightness control settings, to integrate
backlight information into the profile
- support some sort of profiling with HDR (possibly using
Microsoft's MHC2 tag for that)
- (maybe?) allow the user to "calibrate" the white point with the
VCGT tag. This should ideally be provided by the compositor, but
may be useful for those that don't support it
- add some measurement / calibration mode, where we just do
continuous measurements and show the result
- add a verification mode
%prep
%autosetup -p1
%build
%cmake
%cmake_build
%install
%cmake_install
%files
%{_bindir}/displayprofiler
%{_datadir}/applications/org.kde.displayprofiler.desktop
%doc README.md
%changelog