ports/120166: [new port] separate - a CMYK plugin for The Gimp

Pietro Cerutti gahr at gahr.ch
Wed Jan 30 19:00:08 UTC 2008


>Number:         120166
>Category:       ports
>Synopsis:       [new port] separate - a CMYK plugin for The Gimp
>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:   Wed Jan 30 19:00:07 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Pietro Cerutti
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:


System: FreeBSD 8.0-CURRENT #1: Wed Jan 30 11:45:50 CET 2008
    root at gahrtop.localhost:/usr/obj/usr/src/sys/MSI1034



>Description:


The original software name is "separate+". I called the port just "separate" not to interfer with the port names guidelines.

Separate+ is a CMYK Separation plugin for The GIMP.


>How-To-Repeat:





>Fix:


--- separate.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:
#
#	separate
#	separate/Makefile
#	separate/distinfo
#	separate/files
#	separate/files/patch-Makefile
#	separate/pkg-descr
#	separate/pkg-message
#
echo c - separate
mkdir -p separate > /dev/null 2>&1
echo x - separate/Makefile
sed 's/^X//' >separate/Makefile << 'END-of-separate/Makefile'
X# New ports collection makefile for:	separate
X# Date created:        30 January 2008
X# Whom:                Pietro Cerutti <gahr at gahr.ch>
X#
X
XPORTNAME=	separate
XPORTVERSION=	20070727
XCATEGORIES=	graphics
XMASTER_SITES=	http://www.gahr.ch/FreeBSD/distfiles/
X
XMAINTAINER=	gahr at gahr.ch
XCOMMENT=	A CMYK plugin for The GIMP
X
XBUILD_DEPENDS=	gccmakedep:${PORTSDIR}/devel/gccmakedep \
X					gimp-2.4:${PORTSDIR}/graphics/gimp
XLIB_DEPENDS=	lcms.1:${PORTSDIR}/graphics/lcms
X
XWRKSRC=	${WRKDIR}/${PORTNAME}+
X
XUSE_ZIP=	yes
X
XGIMP_PLUGINS_DIR=	libexec/gimp/2.2/plug-ins/
XTARGETS=	separate separate_import icc_colorspace
X
X.for PLUGIN in ${TARGETS}
XPLIST_FILES+=	${GIMP_PLUGINS_DIR}/${PLUGIN}
X.endfor
X
XPORTDOCS=	README*
XPORTEXAMPLES=	quickproof.scm quicksave.scm
X
XMAKE_ENV+=	TARGETS="${TARGETS}"
X
Xdo-install:
X.for PLUGIN in ${TARGETS}
X	${INSTALL_PROGRAM} ${WRKSRC}/${PLUGIN} ${PREFIX}/${GIMP_PLUGINS_DIR}/
X.endfor
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/README_ICC_COLORSPACE ${DOCSDIR}
X.endif
X.if !defined(NOPORTEXAMPLES)
X	${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/sample-scripts/for_GIMP2.3+/quickproof.scm ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/sample-scripts/for_GIMP2.3+/quicksave.scm ${EXAMPLESDIR}
X.endif
X	@${CAT} pkg-message
X
X.include <bsd.port.mk>
END-of-separate/Makefile
echo x - separate/distinfo
sed 's/^X//' >separate/distinfo << 'END-of-separate/distinfo'
XMD5 (separate-20070727.zip) = 35edd674a08f66e40df5eaa0dd4dc3a4
XSHA256 (separate-20070727.zip) = a308f35986743481e185f83fb298fc69e86eab166b135f72e5f74b54d969988a
XSIZE (separate-20070727.zip) = 325392
END-of-separate/distinfo
echo c - separate/files
mkdir -p separate/files > /dev/null 2>&1
echo x - separate/files/patch-Makefile
sed 's/^X//' >separate/files/patch-Makefile << 'END-of-separate/files/patch-Makefile'
X--- Makefile.orig	2008-01-30 18:58:11.000000000 +0100
X+++ Makefile	2008-01-30 19:02:42.000000000 +0100
X@@ -1,7 +1,4 @@
X 
X-PREFIX=/usr/devel
X-
X-GIMP_VER = 2.3
X GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
X GTK_LIB = `pkg-config gtk+-2.0 --libs`
X GIMP_INCLUDE = `pkg-config gimp-2.0 --cflags` `pkg-config gimpui-2.0 --cflags`
X@@ -10,10 +7,7 @@
X LCMS_LIB = `pkg-config lcms --libs`
X TIFF_LIB = -ltiff
X 
X-VERSION = 0.3
X-CC = gcc -g
X DEPEND = gccmakedep
X-RM = rm -f
X 
X # If you will use with the GIMP 2.2.x, remove "-DENABLE_COLOR_MANAGEMENT".
X # If you don't want to merge "normal" and "to Colour" dialog,
X@@ -41,8 +35,6 @@
X 
X ICC_COLORSPACE_OBJECTS = $(ICC_COLORSPACE_SOURCES:.c=.o) $(EXTRA_SOURCES:.c=.o)
X 
X-TARGETS = separate separate_import icc_colorspace
X-
X all:	 $(TARGETS)
X 
X depend:
X@@ -60,14 +52,6 @@
X icc_colorspace: $(ICC_COLORSPACE_OBJECTS)
X 	$(CC) $(ICC_COLORSPACE_OBJECTS) -o $@ $(LDFLAGS)
X 
X-install: $(TARGETS)
X-	install -c $^ $(HOME)/.gimp-$(GIMP_VER)/plug-ins/
X-
X-uninstall:
X-	rm -f $(HOME)/.gimp-$(GIMP_VER)/plug-ins/separate
X-	rm -f $(HOME)/.gimp-$(GIMP_VER)/plug-ins/separate_import
X-	rm -f $(HOME)/.gimp-$(GIMP_VER)/plug-ins/icc_colorspace
X-
X # Inference rules
X 
X .c.o:
END-of-separate/files/patch-Makefile
echo x - separate/pkg-descr
sed 's/^X//' >separate/pkg-descr << 'END-of-separate/pkg-descr'
XSeparate+ is a CMYK Separation plugin for The GIMP.
X
XOne thing preventing The GIMP from being useful in a pre-press environment
Xis the lack of support for the CMYK colour-space.
XThis plug-in goes some small way towards rectifying the situation, using a
Xtrick with layers to fake CMYK support.
X
XWWW: http://cue.yellowmagic.info/softwares/separate.html
END-of-separate/pkg-descr
echo x - separate/pkg-message
sed 's/^X//' >separate/pkg-message << 'END-of-separate/pkg-message'
XYou can download and install Adobe's ICC profiles from:
Xhttp://www.adobe.com/support/downloads/product.jsp?product=62&platform=Windows
END-of-separate/pkg-message
exit

--- separate.shar ends here ---



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



More information about the freebsd-ports-bugs mailing list