xcalib is a tiny monitor calibration loader for XFree86 (or X.org) and

MS-Windows. It allows you to load the 'vcgt'-tag of ICC profiles to
X-server (like MS-Windows or MacOS do) to calibrate your display.

from Mitja Muzenic (MAINTAINER)
some cleanup and ok merdely@
This commit is contained in:
phessler 2008-07-11 01:54:15 +00:00
parent 1f8afdb9cf
commit 70e63fb06f
6 changed files with 83 additions and 0 deletions

33
x11/xcalib/Makefile Normal file
View File

@ -0,0 +1,33 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/07/11 01:54:15 phessler Exp $
COMMENT = tiny monitor calibration loader for XFree86 or X.org
V = 0.8
DISTNAME = xcalib-source-${V}
PKGNAME = xcalib-${V}
CATEGORIES = x11
HOMEPAGE = http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/
MAINTAINER = Mitja Muzenic <mitja@kerberos.si>
# License: GPLv2 or later
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=xcalib/}
WANTLIB = X11 Xext Xxf86vm m c
WRKDIST = ${WRKDIR}/${PKGNAME}
USE_X11 = Yes
NO_REGRESS = Yes
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xcalib ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/xcalib
${INSTALL_DATA} ${WRKSRC}/*.icc ${PREFIX}/share/examples/xcalib/
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/examples/xcalib/
.include <bsd.port.mk>

5
x11/xcalib/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (xcalib-source-0.8.tar.gz) = H7yuRK2NdUUS/dHl8bOn5w==
RMD160 (xcalib-source-0.8.tar.gz) = XPBnTBxWh9kwoWU9w5+bJBAAv9o=
SHA1 (xcalib-source-0.8.tar.gz) = k1Zf899s94/Y0cvu/QlK6mugcP0=
SHA256 (xcalib-source-0.8.tar.gz) = ihEu5xDlRG9sNuYjRbIGbxBjnVACWduMSL8XFsrqBuY=
SIZE (xcalib-source-0.8.tar.gz) = 32782

View File

@ -0,0 +1,15 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2008/07/11 01:54:15 phessler Exp $
--- Makefile.orig Sun Aug 26 23:30:34 2007
+++ Makefile Sun Jan 27 00:17:51 2008
@@ -36,9 +36,8 @@
# to change the following variables
XCALIB_VERSION = 0.8
-CFLAGS = -O2
-XINCLUDEDIR = /usr/X11R6/include
-XLIBDIR = /usr/X11R6/lib
+XINCLUDEDIR = "${X11BASE}/include"
+XLIBDIR = "${X11BASE}/lib"
# for ATI's proprietary driver (must contain the header file fglrx_gamma.h)
FGLRXINCLUDEDIR = ./fglrx
FGLRXLIBDIR = ./fglrx

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-xcalib_c,v 1.1.1.1 2008/07/11 01:54:15 phessler Exp $
--- xcalib.c.orig Thu Jul 10 16:57:09 2008
+++ xcalib.c Thu Jul 10 16:57:31 2008
@@ -150,12 +150,12 @@ usage (void)
"last parameter must be an ICC profile containing a vcgt-tag\n");
fprintf (stdout, "\n");
#ifndef WIN32GDI
- fprintf (stdout, "Example: ./xcalib -d :0 -s 0 -v bluish.icc\n");
+ fprintf (stdout, "Example: xcalib -d :0 -s 0 -v bluish.icc\n");
#else
fprintf (stdout, "Example: ./xcalib -v bluish.icc\n");
#endif
#ifndef FGLRX
- fprintf (stdout, "Example: ./xcalib -red 1.1 10.0 100.0\n");
+ fprintf (stdout, "Example: xcalib -red 1.1 10.0 100.0\n");
#endif
fprintf (stdout, "\n");
exit (0);

3
x11/xcalib/pkg/DESCR Normal file
View File

@ -0,0 +1,3 @@
xcalib is a tiny monitor calibration loader for XFree86 (or X.org) and
MS-Windows. It allows you to load the 'vcgt'-tag of ICC profiles to
X-server (like MS-Windows or MacOS do) to calibrate your display.

9
x11/xcalib/pkg/PLIST Normal file
View File

@ -0,0 +1,9 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/07/11 01:54:15 phessler Exp $
@bin bin/xcalib
share/examples/xcalib/
share/examples/xcalib/README
share/examples/xcalib/bluish.icc
share/examples/xcalib/gamma_1_0.icc
share/examples/xcalib/gamma_2_2.icc
share/examples/xcalib/gamma_2_2_bright.icc
share/examples/xcalib/gamma_2_2_lowContrast.icc