Package Details: lcdtest 1.18-3

Git Clone URL: https://aur.archlinux.org/lcdtest.git (read-only, click to copy)
Package Base: lcdtest
Description: A utility to display LCD monitor test patterns.
Upstream URL: http://www.brouhaha.com/~eric/software/lcdtest/
Licenses: GPL2
Submitter: None
Maintainer: Energ0block
Last Packager: mikesd
Votes: 24
Popularity: 0.000004
First Submitted: 2009-05-02 07:43 (UTC)
Last Updated: 2020-03-29 01:38 (UTC)

Latest Comments

Energ0block commented on 2025-10-19 18:06 (UTC) (edited on 2025-10-19 18:08 (UTC) by Energ0block)

I downloaded the source codes using web.archive.org and uploaded everything to github: https://github.com/Energoblock/lcdtest

The source code archive is located here: https://github.com/Energoblock/lcdtest/releases/download/1.18/lcdtest-1.18.tar.gz

I also changed PKGBUILD:

# Maintainer: Mike Sampson <mike@sambodata.com>
# Contributor: Andrej Gelenberg <andrej.gelenberg@udo.edu>
pkgname="lcdtest"
pkgver=1.18
pkgrel=3
pkgdesc="A utility to display LCD monitor test patterns."
arch=('i686' 'x86_64')
url="http://www.brouhaha.com/~eric/software/lcdtest/"
license=('GPL3')
depends=('sdl_image' 'sdl_ttf' 'ttf-liberation')
makedepends=('scons')
source=("https://github.com/Energoblock/lcdtest/releases/download/1.18/${pkgname}-${pkgver}.tar.gz")

sha512sums=('74b0739c5dcc5ff9307ca526b4a6bbd92d6e58a83ceeed5a37a4064e3e4ed0cbdfe7a2a70cd56ba1a7305c3fd72510e10a02098aab11828062a3999cac944ab7')

build() {
    cd ${srcdir}/${pkgname}-${pkgver}/
    scons
}

package() {
    cd ${srcdir}/${pkgname}-${pkgver}/
    install -d -m0755 ${pkgdir}/usr/bin
    install -m0755 ${srcdir}/${pkgname}-${pkgver}/src/${pkgname} ${pkgdir}/usr/bin
    install -d -m0755 ${pkgdir}/usr/share/man/man1
    install -m0644 ${srcdir}/${pkgname}-${pkgver}/man/${pkgname}.1 ${pkgdir}/usr/share/man/man1
}

# vim:ts=4:sw=4:noet:

I checked everything, it compiles and works perfectly. The hash match the original file.

dreieck commented on 2025-05-25 19:41 (UTC)

Source download fails:

==> Retrieving sources...
  -> Downloading lcdtest-1.18.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0curl: (6) Could not resolve host: www.brouhaha.com
Warning: Problem : timeout. Will retry in 3 seconds. 3 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: www.brouhaha.com
Warning: Problem : timeout. Will retry in 3 seconds. 2 retries left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: www.brouhaha.com
Warning: Problem : timeout. Will retry in 3 seconds. 1 retry left.
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (6) Could not resolve host: www.brouhaha.com
==> ERROR: Failure while downloading http://www.brouhaha.com/~eric/software/lcdtest/download/lcdtest-1.18.tar.gz
    Aborting...

Maybe use web.archive.org?

Regards and thanks for maintaining!

mikesd commented on 2020-03-29 01:39 (UTC)

Fixed.

pitlochry commented on 2020-03-27 19:41 (UTC) (edited on 2020-03-27 19:42 (UTC) by pitlochry)

I got an error since 1.18-2 with yay:

==> Entering fakeroot environment...

==> Starting package()...

install: cannot stat '/home/user/.cache/yay/lcdtest/src/lcdtest-1.18/build/lcdtest': No such file or directory

==> ERROR: A failure occurred in package(). Aborting...

Can someone help?

swiftgeek commented on 2019-10-09 12:11 (UTC) (edited on 2019-10-09 12:13 (UTC) by swiftgeek)

The patch is not needed anymore and is causing following issue:

$ lcdtest
fatal error: can't open font
openat(AT_FDCWD, "/usr/share/fonts/TTF/LiberationMono-Regular.ttf", O_RDONLY) = -1 ENOENT (No such file or directory)

vith commented on 2016-04-22 04:57 (UTC)

Made it work when using ttf-liberation-ib from infinality-bundle-fonts: https://gist.github.com/vith/36b9e1290a2a694b861352a1d8e2e774

grayich commented on 2014-11-02 23:42 (UTC)

must be replaced build() package() { cd ${srcdir}/${pkgname}-${pkgver}/ patch -p1 <$srcdir/patch scons install -d -m0755 ${pkgdir}/usr/bin install -m0755 ${srcdir}/${pkgname}-${pkgver}/build/${pkgname} ${pkgdir}/usr/bin install -d -m0755 ${pkgdir}/usr/share/man/man1 install -m0644 ${srcdir}/${pkgname}-${pkgver}/man/${pkgname}.1 ${pkgdir}/usr/share/man/man1 }

ZeroBit commented on 2013-04-15 13:28 (UTC)

To make it work in line 745 of the lcdtest.c should be following (right path to font): const char font_path [] = "/usr/share/fonts/TTF/LiberationMono-Regular.ttf";