Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  3 Jun 2008 19:37:59 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/124240: [NEW PORT] graphics/lprof-devel: Open source color profiler
Message-ID:  <20080603153759.280611702D@hades.panopticon>
Resent-Message-ID: <200806031540.m53Fe4lM069665@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124240
>Category:       ports
>Synopsis:       [NEW PORT] graphics/lprof-devel: Open source color profiler
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 03 15:40:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 7.0-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Fri Apr 25 11:18:45 MSD 2008 root@hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
LPROF is the only open source ICC profiler with a graphical user
interface. It can be used to create ICC version 2 compliant profiles
for cameras, scanners and monitors. As such it fills a necessary
niche in the emerging open source color management effort.

WWW: http://lprof.sourceforge.net
>How-To-Repeat:
>Fix:

--- lprof-devel-20080514.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	lprof-devel
#	lprof-devel/files
#	lprof-devel/files/patch-src-argyll-spectro-unixio.c
#	lprof-devel/files/patch-src-CMakeLists.txt
#	lprof-devel/files/patch-src-libqtlcmswidgets-lprofgauge.h
#	lprof-devel/pkg-descr
#	lprof-devel/Makefile
#	lprof-devel/distinfo
#	lprof-devel/pkg-plist
#
echo c - lprof-devel
mkdir -p lprof-devel > /dev/null 2>&1
echo c - lprof-devel/files
mkdir -p lprof-devel/files > /dev/null 2>&1
echo x - lprof-devel/files/patch-src-argyll-spectro-unixio.c
sed 's/^X//' >lprof-devel/files/patch-src-argyll-spectro-unixio.c << 'END-of-lprof-devel/files/patch-src-argyll-spectro-unixio.c'
X--- src/argyll/spectro/unixio.c.orig	2008-02-20 00:02:24.000000000 +0300
X+++ src/argyll/spectro/unixio.c	2008-05-14 06:16:33.000000000 +0400
X@@ -585,9 +585,8 @@
X 				break;
X 
X 			if (!(
X-			    (   strncmp(de->d_name, "ttyS", 4) == 0
X-			     && de->d_name[4] >= '0' && de->d_name[4] <= '9')
X-			 || (   strncmp(de->d_name, "ttyUSB", 5) == 0)
X+			    (   strncmp(de->d_name, "ttyd", 4) == 0 || strncmp(de->d_name, "ttyU", 4) == 0)
X+			     && de->d_name[4] >= '0' && de->d_name[4] <= '9' && de->d_name[5] == '\0'
X 			))
X 				continue;
X 
X@@ -598,12 +597,6 @@
X 			strcpy(dpath, dirn);
X 			strcat(dpath, de->d_name);
X 
X-			if ((fd = open(dpath, O_RDWR | O_NOCTTY )) < 0) {
X-				free(dpath);
X-				continue;
X-			}
X-			close(fd);
X-
X 			/* Add the path to the list */
X 			if (p->paths == NULL) {
X 				if ((p->paths = (icompath **)calloc(sizeof(icompath *), 1 + 1)) == NULL) {
END-of-lprof-devel/files/patch-src-argyll-spectro-unixio.c
echo x - lprof-devel/files/patch-src-CMakeLists.txt
sed 's/^X//' >lprof-devel/files/patch-src-CMakeLists.txt << 'END-of-lprof-devel/files/patch-src-CMakeLists.txt'
X--- src/CMakeLists.txt.orig	2008-02-20 00:01:32.000000000 +0300
X+++ src/CMakeLists.txt	2008-05-24 05:13:22.000000000 +0400
X@@ -129,7 +129,7 @@
X 
X # Normally these are set for us. Since we're overriding the normal include path we've got to add them ourselves, but it's
X # probably a good idea to be explicit about what we use anyway.
X-SET(lprof_qt_incs "${QT_INCLUDE_DIR};${QT_QT_INCLUDE_DIR};${QT_QTCORE_INCLUDE_DIR};${QT_QTGUI_INCLUDE_DIR};${QT_QTSVG_INCLUDE_DIR};${QT_QT3SUPPORT_INCLUDE_DIR};${QT_QTASSISTANT_INCLUDE_DIR}")
X+SET(lprof_qt_incs "${QT_QT_INCLUDE_DIR};${QT_QTCORE_INCLUDE_DIR};${QT_QTGUI_INCLUDE_DIR};${QT_QT3SUPPORT_INCLUDE_DIR};${QT_QTASSISTANT_INCLUDE_DIR};${QT_INCLUDE_DIR}")
X 
X 
X IF(NOT LIBVIGRAIMPEX_FOUND)
END-of-lprof-devel/files/patch-src-CMakeLists.txt
echo x - lprof-devel/files/patch-src-libqtlcmswidgets-lprofgauge.h
sed 's/^X//' >lprof-devel/files/patch-src-libqtlcmswidgets-lprofgauge.h << 'END-of-lprof-devel/files/patch-src-libqtlcmswidgets-lprofgauge.h'
X--- src/libqtlcmswidgets/lprofgauge.h.orig	2008-02-20 00:02:39.000000000 +0300
X+++ src/libqtlcmswidgets/lprofgauge.h	2008-05-24 05:07:17.000000000 +0400
X@@ -58,7 +58,6 @@
X 
X #include <Qt>
X #include <QWidget>
X-#include <QtDesigner/QDesignerExportWidget>
X 
X 
X class QColor;
END-of-lprof-devel/files/patch-src-libqtlcmswidgets-lprofgauge.h
echo x - lprof-devel/pkg-descr
sed 's/^X//' >lprof-devel/pkg-descr << 'END-of-lprof-devel/pkg-descr'
XLPROF is the only open source ICC profiler with a graphical user
Xinterface. It can be used to create ICC version 2 compliant profiles
Xfor cameras, scanners and monitors. As such it fills a necessary
Xniche in the emerging open source color management effort.
X
XWWW: http://lprof.sourceforge.net
END-of-lprof-devel/pkg-descr
echo x - lprof-devel/Makefile
sed 's/^X//' >lprof-devel/Makefile << 'END-of-lprof-devel/Makefile'
X# New ports collection makefile for:	lprof
X# Date created:		09 Jan 2008
X# Whom:			Dmitry Marakasov <amdmi3@amdmi3.ru>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	lprof
XPORTVERSION=	20080514
XCATEGORIES=	graphics
XMASTER_SITES=	http://www.amdmi3.ru/distfiles/
XPKGNAMESUFFIX=	-devel
X
XMAINTAINER=	amdmi3@amdmi3.ru
XCOMMENT=	Open source color profiler
X
XLIB_DEPENDS=	lcms.1:${PORTSDIR}/graphics/lcms \
X		jpeg.9:${PORTSDIR}/graphics/jpeg \
X		tiff.4:${PORTSDIR}/graphics/tiff \
X		vigraimpex.2:${PORTSDIR}/graphics/vigra \
X		usb-0.1.8:${PORTSDIR}/devel/libusb
X
XUSE_BZIP2=	yes
XUSE_XORG=	x11 xext sm ice xxf86vm
XUSE_QT_VER=	4
XQT_COMPONENTS=	corelib gui qt3support assistantclient moc uic rcc qmake linguist
XUSE_CMAKE=	yes
X
XCMAKE_ARGS=	-DQTTRANS_LRELEASE_EXECUTABLE="${LOCALBASE}/bin/lrelease-qt4"
XCMAKE_USE_PTHREAD=	yes
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
X
Xpost-patch:
X	@${REINPLACE_CMD} -e '/asm\/types.h/ d' ${WRKSRC}/src/argyll/spectro/hidio.c
X	@${REINPLACE_CMD} -e '/DESTINATION/ s|data/|share/${PORTNAME}/data/|' \
X		${WRKSRC}/data/CMakeLists.txt ${WRKSRC}/src/CMakeLists.txt
X
Xpost-install:
X	${INSTALL_DATA} ${WRKSRC}/data/icons/lprof.png ${PREFIX}/share/pixmaps
X
X.include <bsd.port.mk>
END-of-lprof-devel/Makefile
echo x - lprof-devel/distinfo
sed 's/^X//' >lprof-devel/distinfo << 'END-of-lprof-devel/distinfo'
XMD5 (lprof-20080514.tar.bz2) = c35d152dd6cd5719a3945201e5251a4a
XSHA256 (lprof-20080514.tar.bz2) = 60095c30204dd1c5bc250829b1f676a7fee7ef794249f62bc0f1c32bb49bd3f2
XSIZE (lprof-20080514.tar.bz2) = 3730245
END-of-lprof-devel/distinfo
echo x - lprof-devel/pkg-plist
sed 's/^X//' >lprof-devel/pkg-plist << 'END-of-lprof-devel/pkg-plist'
Xbin/icc2it8
Xbin/lprof
Xshare/applications/lprof.desktop
X%%DATADIR%%/data/help/en/about.txt
X%%DATADIR%%/data/help/en/calreports.html
X%%DATADIR%%/data/help/en/checker.html
X%%DATADIR%%/data/help/en/gamma.html
X%%DATADIR%%/data/help/en/images/corner.jpg
X%%DATADIR%%/data/help/en/images/corner2.jpg
X%%DATADIR%%/data/help/en/images/handbook.png
X%%DATADIR%%/data/help/en/images/logo.png
X%%DATADIR%%/data/help/en/images/lprof.png
X%%DATADIR%%/data/help/en/images/ufraw-1.jpg
X%%DATADIR%%/data/help/en/images/ufraw-2.jpg
X%%DATADIR%%/data/help/en/images/ufraw-3.jpg
X%%DATADIR%%/data/help/en/inst-ref.html
X%%DATADIR%%/data/help/en/linux.html
X%%DATADIR%%/data/help/en/lprof-help.html
X%%DATADIR%%/data/help/en/mac.html
X%%DATADIR%%/data/help/en/mon-val.html
X%%DATADIR%%/data/help/en/moncalcontrol.html
X%%DATADIR%%/data/help/en/monitor.html
X%%DATADIR%%/data/help/en/monmeasurement.html
X%%DATADIR%%/data/help/en/preferences.html
X%%DATADIR%%/data/help/en/profile-id.html
X%%DATADIR%%/data/help/en/profile-parms-mon.html
X%%DATADIR%%/data/help/en/profile-parms.html
X%%DATADIR%%/data/help/en/spyder2.html
X%%DATADIR%%/data/help/en/ufraw.html
X%%DATADIR%%/data/help/en/windows.html
X%%DATADIR%%/data/help/ru/about.txt
X%%DATADIR%%/data/help/ru/calreports.html
X%%DATADIR%%/data/help/ru/checker.html
X%%DATADIR%%/data/help/ru/gamma.html
X%%DATADIR%%/data/help/ru/images/corner.jpg
X%%DATADIR%%/data/help/ru/images/corner2.jpg
X%%DATADIR%%/data/help/ru/images/handbook.png
X%%DATADIR%%/data/help/ru/images/logo.png
X%%DATADIR%%/data/help/ru/images/lprof.png
X%%DATADIR%%/data/help/ru/images/ufraw-tutorial-1.png
X%%DATADIR%%/data/help/ru/images/ufraw-tutorial-2.png
X%%DATADIR%%/data/help/ru/images/ufraw-tutorial-3.png
X%%DATADIR%%/data/help/ru/images/ufraw-tutorial-4.png
X%%DATADIR%%/data/help/ru/inst-ref.html
X%%DATADIR%%/data/help/ru/linux.html
X%%DATADIR%%/data/help/ru/lprof-help.html
X%%DATADIR%%/data/help/ru/mac.html
X%%DATADIR%%/data/help/ru/mon-val.html
X%%DATADIR%%/data/help/ru/moncalcontrol.html
X%%DATADIR%%/data/help/ru/monitor.html
X%%DATADIR%%/data/help/ru/monmeasurement.html
X%%DATADIR%%/data/help/ru/preferences.html
X%%DATADIR%%/data/help/ru/profile-id.html
X%%DATADIR%%/data/help/ru/profile-parms-mon.html
X%%DATADIR%%/data/help/ru/profile-parms.html
X%%DATADIR%%/data/help/ru/spyder2.html
X%%DATADIR%%/data/help/ru/ufraw.html
X%%DATADIR%%/data/help/ru/windows.html
X%%DATADIR%%/data/icons/lprof.png/lprof.png
X%%DATADIR%%/data/pics/ColorChecker-24patch.txt
X%%DATADIR%%/data/pics/MonitorTemplate.it8
X%%DATADIR%%/data/pics/e3199608.TXT
X%%DATADIR%%/data/pics/grayscale.tif
X%%DATADIR%%/data/pics/monitor patches.tif
X%%DATADIR%%/data/pics/party_4s.png
X%%DATADIR%%/data/pics/scandmo.it8
X%%DATADIR%%/data/pics/scandmo.png
X%%DATADIR%%/data/pics/srgb.it8
X%%DATADIR%%/data/profiles/CIEE.icm
X%%DATADIR%%/data/profiles/sRGB Color Space Profile.icm
X%%DATADIR%%/data/profiles/scandmo.icm
X%%DATADIR%%/data/template/AVOID.ITX
X%%DATADIR%%/data/template/IT8_19.ITX
X%%DATADIR%%/data/template/IT8_22.ITX
X%%DATADIR%%/data/template/KODAK.ITX
X%%DATADIR%%/data/template/colorchecker-24p.ITX
X%%DATADIR%%/data/template/colorchecker-dc.ITX
X%%DATADIR%%/data/template/colorchecker-sg.ITX
X%%DATADIR%%/data/template/eyeone-template.ITX
X%%DATADIR%%/data/template/hutchtone.ITX
X%%DATADIR%%/data/translations/lprof_de.qm
X%%DATADIR%%/data/translations/lprof_fr.qm
X%%DATADIR%%/data/translations/lprof_no.qm
X%%DATADIR%%/data/translations/lprof_ru.qm
X%%DOCSDIR%%/COPYING
X%%DOCSDIR%%/KNOWN_BUGS
X%%DOCSDIR%%/README
X%%DOCSDIR%%/README.NetBSD
X%%DOCSDIR%%/sRGB_profile_License
Xshare/pixmaps/lprof.png
X@dirrm %%DOCSDIR%%
X@dirrm %%DATADIR%%/data/translations
X@dirrm %%DATADIR%%/data/template
X@dirrm %%DATADIR%%/data/profiles
X@dirrm %%DATADIR%%/data/pics
X@dirrm %%DATADIR%%/data/icons/lprof.png
X@dirrm %%DATADIR%%/data/icons
X@dirrm %%DATADIR%%/data/help/ru/images
X@dirrm %%DATADIR%%/data/help/ru
X@dirrm %%DATADIR%%/data/help/en/images
X@dirrm %%DATADIR%%/data/help/en
X@dirrm %%DATADIR%%/data/help
X@dirrm %%DATADIR%%/data
X@dirrm %%DATADIR%%
X@dirrmtry share/applications
END-of-lprof-devel/pkg-plist
exit
--- lprof-devel-20080514.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080603153759.280611702D>