Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37635031
en ru br
ALT Linux repos
S:1.18-alt2
5.0: 1.08-alt1
4.1: 1.08-alt1
4.0: 1.02-alt1
3.0: 1.01-alt1

Group :: System/Configuration/Hardware
RPM: lcdtest

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: lcdtest
Version: 1.18
Release: alt2

Summary: The LCD screen quality testing utility

License: GPL
Group: System/Configuration/Hardware
Url: http://www.brouhaha.com/~eric/software/lcdtest/

Packager: Vitaly Lipatov <lav at altlinux.ru>

Source: http://www.brouhaha.com/~eric/software/lcdtest/download/%name-%version.tar
Source1: %name.desktop
Patch: lcdtest-1.02-alt-man-double_content_fix.patch

# manually removed: esound bk cvs ghostscript-utils rcs tetex-latex

# Automatically added by buildreq on Thu Sep 20 2007
BuildRequires: flex gcc-c++ libSDL-devel libSDL_image-devel libSDL_ttf-devel  scons swig

BuildRequires: rpm-macros-fonts

BuildRequires: netpbm

# due bug in IMG_ReadXPMFromArray

Requires: libSDL_image > 1.2.5-alt1
BuildRequires: desktop-file-utils

Requires: fonts-ttf-liberation

%description
lcdtest is a utility to display LCD monitor test patterns. It may be
useful for adjusting the pixel clock frequency and phase on LCD monitors
when using analog inputs, and for finding pixels that are stuck on
or off. lctest uses the SDL library, and is known to work on Linux
and Windows.

%description -l ru_RU.UTF-8
lcdtest отображает различные паттерны, позволяющие судить о
качестве изображения на жидкокристаллическом мониторе и наличии таких
дефектов, как "битые пикселы". lcdtest использует библиотеку SDL, она
тестировалась в Linux и Windows.

%prep
%setup
%__subst "s|/usr/share/fonts/liberation/|%_ttffontsdir/liberation/|g" src/lcdtest.c
#patch -p1

%build
scons

%install
scons install --prefix=%buildroot%prefix
install -pD -m644 %SOURCE1 %buildroot%_desktopdir/%name.desktop
desktop-file-install --dir %buildroot%_desktopdir \
--remove-category=Utility \
--remove-category=Application \
--add-category=Settings \
--add-category=HardwareSettings \
--add-category=X-ALTLinux-VideoSettings \
%buildroot%_desktopdir/lcdtest.desktop

%files
%doc README
%_bindir/%name
%_man1dir/%name.1.*
%_iconsdir/hicolor/scalable/apps/lcdtest.svg
%_desktopdir/%name.desktop

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin