the xcalib tool moved to github, so chase it and update to the most
recent version.
This still works for me.
OK?
Index: x11/xcalib/Makefile
===================================================================
RCS file: /cvs/openbsd/ports/x11/xcalib/Makefile,v
retrieving revision 1.7
diff -u -p -u -p -r1.7 Makefile
--- x11/xcalib/Makefile 11 Mar 2022 20:17:43 -0000 1.7
+++ x11/xcalib/Makefile 28 Apr 2023 14:59:21 -0000
@@ -1,27 +1,21 @@
COMMENT = tiny monitor calibration loader for XFree86 or X.org
-V = 0.8
-DISTNAME = xcalib-source-${V}
-PKGNAME = xcalib-${V}
-REVISION = 0
+GH_ACCOUNT = OpenICC
+GH_PROJECT = xcalib
+GH_TAGNAME = 0.10
CATEGORIES = x11
-HOMEPAGE = http://www.etg.e-technik.uni-erlangen.de/web/doe/xcalib/
-
# License: GPLv2 or later
PERMIT_PACKAGE = Yes
-MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=xcalib/}
-
-WANTLIB = X11 Xext Xxf86vm m c
-WRKDIST = ${WRKDIR}/xcalib-${V}
+WANTLIB += X11 Xext Xrandr Xxf86vm c m
NO_TEST = 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/
+ ${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/examples/xcalib/
.include <bsd.port.mk>
Index: x11/xcalib/distinfo
===================================================================
RCS file: /cvs/openbsd/ports/x11/xcalib/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- x11/xcalib/distinfo 18 Jan 2015 03:16:05 -0000 1.2
+++ x11/xcalib/distinfo 28 Apr 2023 14:49:13 -0000
@@ -1,2 +1,2 @@
-SHA256 (xcalib-source-0.8.tar.gz) = ihEu5xDlRG9sNuYjRbIGbxBjnVACWduMSL8XFsrqBuY=
-SIZE (xcalib-source-0.8.tar.gz) = 32782
+SHA256 (xcalib-0.10.tar.gz) = Z9vy3MSuZ/3ki0hjCYDB+m+J/aWBA0f2FuyFCUwnQFU=
+SIZE (xcalib-0.10.tar.gz) = 36769
Index: x11/xcalib/patches/patch-Makefile
===================================================================
RCS file: x11/xcalib/patches/patch-Makefile
diff -N x11/xcalib/patches/patch-Makefile
--- x11/xcalib/patches/patch-Makefile 11 Mar 2022 20:17:43 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,14 +0,0 @@
---- 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
Index: x11/xcalib/patches/patch-xcalib_c
===================================================================
RCS file: /cvs/openbsd/ports/x11/xcalib/patches/patch-xcalib_c,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-xcalib_c
--- x11/xcalib/patches/patch-xcalib_c 11 Mar 2022 20:17:43 -0000 1.2
+++ x11/xcalib/patches/patch-xcalib_c 28 Apr 2023 14:54:38 -0000
@@ -1,9 +1,10 @@
---- 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)
+Index: xcalib.c
+--- xcalib.c.orig
++++ xcalib.c
+@@ -153,12 +153,12 @@ usage (void)
"last parameter must be an ICC profile containing a vcgt-tag\n");
fprintf (stdout, "\n");
- #ifndef WIN32GDI
+ #ifndef _WIN32
- 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
Index: x11/xcalib/pkg/PLIST
===================================================================
RCS file: /cvs/openbsd/ports/x11/xcalib/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 PLIST
--- x11/xcalib/pkg/PLIST 11 Mar 2022 20:17:43 -0000 1.2
+++ x11/xcalib/pkg/PLIST 28 Apr 2023 14:59:32 -0000
@@ -1,6 +1,6 @@
@bin bin/xcalib
share/examples/xcalib/
-share/examples/xcalib/README
+share/examples/xcalib/README.md
share/examples/xcalib/bluish.icc
share/examples/xcalib/gamma_1_0.icc
share/examples/xcalib/gamma_2_2.icc
--
Nobody can be exactly like me. Sometimes even I have trouble doing it.
-- Tallulah Bankhead
No comments:
Post a Comment