[Openicc] Profile installation and association for Linux/Unix/X11
Graeme Gill
graeme at argyllcms.com
Wed Apr 30 00:38:46 PDT 2008
Kai-Uwe Behrmann wrote:
> The Elektra tarball can be downloaded here:
> http://www.markus-raab.org/ftp/elektra-0.7.0rc3.tar.gz
I don't know how one is meant to find this, as it isn't on
the SourceForge download page!
I got a lot further with this, but the bit that I was particularly
interested in, still didn't build properly:
src/backends/ini:
make
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../src/include -I../../../src/include -DDEBUG -D_POSIX_SOURCE -D_BSD_SOURCE -DELEKTRA_STATIC -g -O2 -Wall -std=c99 -pedantic -MT libelektra_ini_a-ini.o -MD -MP -MF ".deps/libelektra_ini_a-ini.Tpo" -c -o libelektra_ini_a-ini.o `test -f 'ini.c' || echo
'./'`ini.c; \
then mv -f ".deps/libelektra_ini_a-ini.Tpo" ".deps/libelektra_ini_a-ini.Po"; else rm -f ".deps/libelektra_ini_a-ini.Tpo"; exit 1; fi
ini.c:208: error: conflicting types for ?kdbGetKeys?
../../../src/include/kdb.h:365: error: previous declaration of ?kdbGetKeys? was here
ini.c: In function ?kdbGetKeys?:
ini.c:221: error: ?KEY_SWITCH_END? undeclared (first use in this function)
ini.c:221: error: (Each undeclared identifier is reported only once
ini.c:221: error: for each function it appears in.)
ini.c: In function ?kdbGetKeyChildKeys_ini?:
ini.c:402: error: too many arguments to function ?keyDup?
ini.c: In function ?IniSetKeys?:
ini.c:455: error: ?KEY_SWITCH_END? undeclared (first use in this function)
ini.c:465: error: too many arguments to function ?keyDup?
ini.c:501: warning: implicit declaration of function ?ksInsert?
ini.c:519: error: ?KEY_SWITCH_NAME? undeclared (first use in this function)
ini.c: In function ?kdbSetKey_ini?:
ini.c:574: error: too few arguments to function ?ksNew?
ini.c: In function ?libelektra_ini_LTX_kdbBackendFactory?:
ini.c:709: error: ?KDB_BE_GETKEY? undeclared (first use in this function)
ini.c:710: error: ?KDB_BE_SETKEY? undeclared (first use in this function)
ini.c:711: error: ?KDB_BE_STATKEY? undeclared (first use in this function)
ini.c:712: error: ?KDB_BE_RENAME? undeclared (first use in this function)
ini.c:713: error: ?KDB_BE_REMOVEKEY? undeclared (first use in this function)
ini.c:714: error: ?KDB_BE_GETCHILD? undeclared (first use in this function)
ini.c:715: error: ?KDB_BE_MONITORKEY? undeclared (first use in this function)
ini.c:716: error: ?KDB_BE_MONITORKEYS? undeclared (first use in this function)
ini.c:717: error: ?KDB_BE_SETKEYS? undeclared (first use in this function)
make: *** [libelektra_ini_a-ini.o] Error 1
Perhaps it's not supported/maintained.
> Just to remember, for setting monitor profiles exists a command line tool:
> https://www.oyranos.org/wiki/index.php?title=Oyranos/Device_Profiles
Right, but Argyll's dispwin is cross platform, loads the display calibration,
and has a convenient way of identifying Xinerama displays by choosing from
an enumeration, rather than an x,y location. I was also contemplating
writing a small daemon that would be triggered by Xrandr events that would then
install the correct calibration and profile in the X11 server whenever a monitor
is plugged in.
cheers,
Graeme Gill.
More information about the openicc
mailing list