1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Separate+ is a CMYK Separation plugin for The GIMP.

One thing preventing The GIMP from being useful
in a pre-press environment is the lack of support
for the CMYK colour-space. This plug-in goes some
small way towards rectifying the situation, using
a trick with layers to fake CMYK support.

WWW: http://cue.yellowmagic.info/softwares/separate.html

PR:		ports/120166
Submitted by:	Pietro Cerutti <gahr at gahr.ch>
This commit is contained in:
Martin Wilke 2008-02-16 22:39:17 +00:00
parent ca24d52577
commit 9afb91ced9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207410
6 changed files with 114 additions and 0 deletions

View File

@ -678,6 +678,7 @@
SUBDIR += sdl_image
SUBDIR += sdl_ttf
SUBDIR += seejpeg
SUBDIR += separate
SUBDIR += sharpconstruct
SUBDIR += shim
SUBDIR += show

View File

@ -0,0 +1,54 @@
# New ports collection makefile for: separate
# Date created: 30 January 2008
# Whom: Pietro Cerutti <gahr@gahr.ch>
#
# $FreeBSD$
#
PORTNAME= separate
PORTVERSION= 20070727
CATEGORIES= graphics
MASTER_SITES= http://www.gahr.ch/FreeBSD/distfiles/
MAINTAINER= gahr@gahr.ch
COMMENT= A CMYK plugin for The GIMP
BUILD_DEPENDS= gccmakedep:${PORTSDIR}/devel/gccmakedep \
gimp-2.4:${PORTSDIR}/graphics/gimp
LIB_DEPENDS= lcms.1:${PORTSDIR}/graphics/lcms
WRKSRC= ${WRKDIR}/${PORTNAME}+
USE_ZIP= yes
GIMP_PLUGINS_DIR= libexec/gimp/2.2/plug-ins/
TARGETS= separate separate_import icc_colorspace
.for PLUGIN in ${TARGETS}
PLIST_FILES+= ${GIMP_PLUGINS_DIR}/${PLUGIN}
.endfor
PORTDOCS= README*
PORTEXAMPLES= quickproof.scm quicksave.scm
MAKE_ENV+= TARGETS="${TARGETS}"
do-install:
.for PLUGIN in ${TARGETS}
${INSTALL_PROGRAM} ${WRKSRC}/${PLUGIN} ${PREFIX}/${GIMP_PLUGINS_DIR}/
.endfor
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README_ICC_COLORSPACE ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample-scripts/for_GIMP2.3+/quickproof.scm ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/sample-scripts/for_GIMP2.3+/quicksave.scm ${EXAMPLESDIR}
.endif
@${CAT} pkg-message
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (separate-20070727.zip) = 35edd674a08f66e40df5eaa0dd4dc3a4
SHA256 (separate-20070727.zip) = a308f35986743481e185f83fb298fc69e86eab166b135f72e5f74b54d969988a
SIZE (separate-20070727.zip) = 325392

View File

@ -0,0 +1,45 @@
--- Makefile.orig 2008-01-30 18:58:11.000000000 +0100
+++ Makefile 2008-01-30 19:02:42.000000000 +0100
@@ -1,7 +1,4 @@
-PREFIX=/usr/devel
-
-GIMP_VER = 2.3
GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
GTK_LIB = `pkg-config gtk+-2.0 --libs`
GIMP_INCLUDE = `pkg-config gimp-2.0 --cflags` `pkg-config gimpui-2.0 --cflags`
@@ -10,10 +7,7 @@
LCMS_LIB = `pkg-config lcms --libs`
TIFF_LIB = -ltiff
-VERSION = 0.3
-CC = gcc -g
DEPEND = gccmakedep
-RM = rm -f
# If you will use with the GIMP 2.2.x, remove "-DENABLE_COLOR_MANAGEMENT".
# If you don't want to merge "normal" and "to Colour" dialog,
@@ -41,8 +35,6 @@
ICC_COLORSPACE_OBJECTS = $(ICC_COLORSPACE_SOURCES:.c=.o) $(EXTRA_SOURCES:.c=.o)
-TARGETS = separate separate_import icc_colorspace
-
all: $(TARGETS)
depend:
@@ -60,14 +52,6 @@
icc_colorspace: $(ICC_COLORSPACE_OBJECTS)
$(CC) $(ICC_COLORSPACE_OBJECTS) -o $@ $(LDFLAGS)
-install: $(TARGETS)
- install -c $^ $(HOME)/.gimp-$(GIMP_VER)/plug-ins/
-
-uninstall:
- rm -f $(HOME)/.gimp-$(GIMP_VER)/plug-ins/separate
- rm -f $(HOME)/.gimp-$(GIMP_VER)/plug-ins/separate_import
- rm -f $(HOME)/.gimp-$(GIMP_VER)/plug-ins/icc_colorspace
-
# Inference rules
.c.o:

View File

@ -0,0 +1,9 @@
Separate+ is a CMYK Separation plugin for The GIMP.
One thing preventing The GIMP from being useful
in a pre-press environment is the lack of support
for the CMYK colour-space. This plug-in goes some
small way towards rectifying the situation, using
a trick with layers to fake CMYK support.
WWW: http://cue.yellowmagic.info/softwares/separate.html

View File

@ -0,0 +1,2 @@
You can download and install Adobe's ICC profiles from:
http://www.adobe.com/support/downloads/product.jsp?product=62&platform=Windows