git: 8221d0061dac - main - graphics/xiccd: X color profile daemon

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Tue, 18 Feb 2025 14:26:29 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8221d0061dac13f8877527902050d019c27e8c20

commit 8221d0061dac13f8877527902050d019c27e8c20
Author:     Zoltán Király <ports@zoltankiraly.com>
AuthorDate: 2025-01-03 16:16:58 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-02-18 14:16:16 +0000

    graphics/xiccd: X color profile daemon
    
    The primary goal of xiccd is providing color profile support for desktop
    environments other than Gnome and KDE (Xfce, LXDE, and probably others)
    that don't support native color management yet.
    
    It does basically the same as the "gnome-settings-daemon" color plugin or
    "colord-kde" but doesn't depend on any particular desktop. It doesn't even
    depend on GTK so it doesn't create a unnecessary GTK3 dependency if the
    desktop environment is GTK2-based or vice versa.
    
    WWW: https://github.com/agalakhov/xiccd
    
    PR:             283826
---
 graphics/Makefile        |  1 +
 graphics/xiccd/Makefile  | 36 ++++++++++++++++++++++++++++++++++++
 graphics/xiccd/distinfo  |  3 +++
 graphics/xiccd/pkg-descr |  8 ++++++++
 4 files changed, 48 insertions(+)

diff --git a/graphics/Makefile b/graphics/Makefile
index 04653904b4b3..6486ae7e4a8d 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -1265,6 +1265,7 @@
     SUBDIR += xglurbules
     SUBDIR += xgrasp
     SUBDIR += ximaging
+    SUBDIR += xiccd
     SUBDIR += xli
     SUBDIR += xmedcon
     SUBDIR += xmlgraphics-commons
diff --git a/graphics/xiccd/Makefile b/graphics/xiccd/Makefile
new file mode 100644
index 000000000000..69aa6c2a5029
--- /dev/null
+++ b/graphics/xiccd/Makefile
@@ -0,0 +1,36 @@
+PORTNAME=	xiccd
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.3.0
+CATEGORIES=	graphics x11
+
+MAINTAINER=	ports@zoltankiraly.com
+COMMENT=	X color profile daemon
+
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+LIB_DEPENDS=	libcolord.so:graphics/colord \
+		libglib-2.0.so:devel/glib20 \
+		libintl.so:devel/gettext-runtime
+
+USES=		autoreconf pkgconfig xorg
+USE_XORG=	x11 xrandr
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	agalakhov
+
+GNU_CONFIGURE=	yes
+
+PLIST_FILES=	bin/xiccd \
+		share/man/man8/xiccd.8.gz \
+		etc/xdg/autostart/xiccd.desktop
+
+PORTDOCS=	README
+
+OPTIONS_DEFINE=	DOCS
+
+do-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/graphics/xiccd/distinfo b/graphics/xiccd/distinfo
new file mode 100644
index 000000000000..d5457b026629
--- /dev/null
+++ b/graphics/xiccd/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1739454604
+SHA256 (agalakhov-xiccd-v0.3.0_GH0.tar.gz) = 94dbe352ad3043079fa5edd8150318ec88f1dc87b75f69b1fced8ce2981c36a9
+SIZE (agalakhov-xiccd-v0.3.0_GH0.tar.gz) = 31676
diff --git a/graphics/xiccd/pkg-descr b/graphics/xiccd/pkg-descr
new file mode 100644
index 000000000000..c98e72af6508
--- /dev/null
+++ b/graphics/xiccd/pkg-descr
@@ -0,0 +1,8 @@
+The primary goal of xiccd is providing color profile support for desktop
+environments other than Gnome and KDE (Xfce, LXDE, and probably others)
+that don't support native color management yet.
+
+It does basically the same as the "gnome-settings-daemon" color plugin or
+"colord-kde" but doesn't depend on any particular desktop. It doesn't even
+depend on GTK so it doesn't create a unnecessary GTK3 dependency if the
+desktop environment is GTK2-based or vice versa.