Package Details: libgamma 0.7.4-2

Git Clone URL: https://aur.archlinux.org/libgamma.git (read-only, click to copy)
Package Base: libgamma
Description: Display server abstraction layer for gamma ramps
Upstream URL: https://codeberg.org/maandree/libgamma
Licenses: custom:ISC
Submitter: maandree
Maintainer: maandree
Last Packager: maandree
Votes: 16
Popularity: 0.000000
First Submitted: 2014-06-03 23:27 (UTC)
Last Updated: 2024-10-08 19:18 (UTC)

Latest Comments

frankspace commented on 2024-08-07 12:11 (UTC)

Compilation is failing for me in a clean chroot:

==> Starting build()...
printf '/* This file is auto-generated.mk */\n' > config.h~
printf '#include "%s"\n' method-x-randr.h      method-x-vidmode.h      method-linux-drm.h             method-dummy.h >> config.h~
c99 -c -o test.o test.c -std=c11 -O2 -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700 -D_GNU_SOURCE
printf '#define LIST_AVAILABLE_METHODS(_)' >> config.h~
c99 called with non ISO C99 option -std=c11
make: *** [Makefile:217: test.o] Error 1
make: *** Waiting for unfinished jobs....
printf '\\\n\t_(%s, %s, %s, %s)' LIBGAMMA_METHOD_X_RANDR x_randr 16 ramps16   LIBGAMMA_METHOD_X_VIDMODE x_vidmode 16 ramps16   LIBGAMMA_METHOD_LINUX_DRM linux_drm 16 ramps16       LIBGAMMA_METHOD_DUMMY dummy 0 ramps16 >> config.h~
printf '\n' >> config.h~
if ! test -f config.h || ! test "$(cat < config.h)" = "$(cat < config.h~)"; then mv -- config.h~ config.h; fi
==> ERROR: A failure occurred in build().

I can make it compile by adding the following to the PKGBUILD, although I can't be totally sure whether doing so causes any weird non-obvious breakage:

prepare() {
  cd "$srcdir/libgamma"
  sed -i "s|c11|c99|g" debug.mk
  sed -i "s|c11|c99|g" config.mk
}

wilds commented on 2014-10-27 21:35 (UTC)

Indeed it's working, thank you.

maandree commented on 2014-10-25 19:37 (UTC)

Should work now, otherwise please e-mail me the error output.

wilds commented on 2014-10-25 19:24 (UTC)

Doesn't build (i686).