diff --git a/print/splix/Makefile b/print/splix/Makefile new file mode 100644 index 00000000000..4b0b4e0c13d --- /dev/null +++ b/print/splix/Makefile @@ -0,0 +1,40 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2009/03/17 18:37:20 ajacoutot Exp $ + +COMMENT= CUPS drivers for SPL printers + +DISTNAME= splix-2.0.0 +CATEGORIES= print + +EXTRACT_SUFX= .tar.bz2 + +HOMEPAGE= http://splix.ap2c.org/ + +# GPLv2 +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=splix/} + +WANTLIB += c crypto m pthread ssl stdc++ z + +LIB_DEPENDS= cups.>=3,cupsimage::print/cups \ + jbig.>=2::graphics/jbigkit + +USE_GMAKE= Yes +NO_REGRESS= Yes + +MAKE_FLAGS= V=1 \ + MAKE=${MAKE_PROGRAM} \ + CXX=${CXX} \ + OPTIM_CXXFLAGS="${CXXFLAGS}" + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/splix + ${SUBST_CMD} -c ${FILESDIR}/README.OpenBSD \ + ${PREFIX}/share/doc/splix/README.OpenBSD + chown -R ${SHAREOWN}:${SHAREGRP} \ + ${PREFIX}/share/doc/splix/README.OpenBSD + +.include diff --git a/print/splix/distinfo b/print/splix/distinfo new file mode 100644 index 00000000000..3398b0d9ee2 --- /dev/null +++ b/print/splix/distinfo @@ -0,0 +1,5 @@ +MD5 (splix-2.0.0.tar.bz2) = 86pzXCKpJoGLPYsmyZZBhg== +RMD160 (splix-2.0.0.tar.bz2) = fxlN4j1GWjrL9cDuyXmxlPAWqLU= +SHA1 (splix-2.0.0.tar.bz2) = 1Aufz9A+/XqbaycA+7CvllafCVs= +SHA256 (splix-2.0.0.tar.bz2) = l/cD/HOilA5j2kMTBhXz7yoG1NH4X+bt/tDAzXnekS8= +SIZE (splix-2.0.0.tar.bz2) = 101197 diff --git a/print/splix/files/README.OpenBSD b/print/splix/files/README.OpenBSD new file mode 100644 index 00000000000..4d5c8023507 --- /dev/null +++ b/print/splix/files/README.OpenBSD @@ -0,0 +1,23 @@ +$OpenBSD: README.OpenBSD,v 1.1.1.1 2009/03/17 18:37:20 ajacoutot Exp $ + +Enhancing printing output +------------------------- + +Color printers needs color profile files to get better results. These +files are provided by your printer manufacturer and you have to install +them manually. To do that, download the linux official drivers and +copy the "cms" directory under: + ${TRUEPREFIX}/share/cups/model// +where is either samsung, xerox or dell. + +Samsung color profile files are available at + http://splix.ap2c.org/samsung_cms.tar.bz2 + + +Upgrade notice +-------------- + +If you are upgrading your current version, you MUST delete your printer +in the CUPS interface and install it again. This operation MUST be done +since CUPS makes a copy of the PPD file and this file is modified +between versions. diff --git a/print/splix/patches/patch-Makefile b/print/splix/patches/patch-Makefile new file mode 100644 index 00000000000..e4b8a9f5ed2 --- /dev/null +++ b/print/splix/patches/patch-Makefile @@ -0,0 +1,41 @@ +$OpenBSD: patch-Makefile,v 1.1.1.1 2009/03/17 18:37:20 ajacoutot Exp $ +--- Makefile.orig Fri Feb 6 12:49:10 2009 ++++ Makefile Tue Mar 17 18:22:12 2009 +@@ -55,8 +55,8 @@ + # +--------------------------------------------------------------------------+ + LANGUAGES := cpp c + +-CC := gcc +-CXX := g++ ++CC := ${CC} ++CXX := ${CXX} + RM := rm -f + AR := ar crs + LEX := flex +@@ -74,8 +74,8 @@ comma := , + + DEBUG_CFLAGS := -O0 -g + DEBUG_CXXFLAGS := -O0 -g +-OPTIM_CFLAGS := -O2 +-OPTIM_CXXFLAGS := -O2 ++OPTIM_CFLAGS := ${CFLAGS} ++OPTIM_CXXFLAGS := ${CXXFLAGS} + + ARCHI := $(shell uname -s) + +@@ -377,13 +377,13 @@ distclean: clean + $(DEFFILE): Makefile $(patsubst %, %/module.mk, $(SUBDIRS)) module.mk + @echo -n " GEN $(DEFFILE)" + @echo "" > $@ +- @make -s -C ./ _depsreload ++ @${MAKE} -s -C ./ _depsreload + + .PHONY: _depsreload + _depsreload: + @echo -n "." + @echo "DEFLOADED := 1" > $(DEFFILE) + @echo "_SUBDIRS := $(SUBDIRS)" >> $(DEFFILE) +- @if [ "$(SUBDIRS)" != "$(_SUBDIRS)" ]; then make -j 1 -s -C ./ _depsreload; \ ++ @if [ "$(SUBDIRS)" != "$(_SUBDIRS)" ]; then ${MAKE} -j 1 -s -C ./ _depsreload; \ + else echo "DEFDONE := 1" >> $(DEFFILE); echo ""; fi + diff --git a/print/splix/patches/patch-rules_mk b/print/splix/patches/patch-rules_mk new file mode 100644 index 00000000000..8b21068f92c --- /dev/null +++ b/print/splix/patches/patch-rules_mk @@ -0,0 +1,18 @@ +$OpenBSD: patch-rules_mk,v 1.1.1.1 2009/03/17 18:37:20 ajacoutot Exp $ +--- rules.mk.orig Tue Mar 17 18:07:38 2009 ++++ rules.mk Tue Mar 17 18:08:04 2009 +@@ -6,12 +6,12 @@ + + $(rastertoqpdl_TARGET): $(rastertoqpdl_OBJ) + $(call printCmd, $(cmd_link)) +- $(Q)g++ -o $@ $^ $(rastertoqpdl_CXXFLAGS) $(rastertoqpdl_LDFLAGS) \ ++ $(Q)${CXX} -o $@ $^ $(rastertoqpdl_CXXFLAGS) $(rastertoqpdl_LDFLAGS) \ + $(rastertoqpdl_LIBS) + + $(pstoqpdl_TARGET): $(pstoqpdl_OBJ) + $(call printCmd, $(cmd_link)) +- $(Q)g++ -o $@ $^ $(pstoqpdl_CXXFLAGS) $(pstoqpdl_LDFLAGS) \ ++ $(Q)${CXX} -o $@ $^ $(pstoqpdl_CXXFLAGS) $(pstoqpdl_LDFLAGS) \ + $(pstoqpdl_LIBS) + + .PHONY: install installcms diff --git a/print/splix/pkg/DESCR b/print/splix/pkg/DESCR new file mode 100644 index 00000000000..5ddbb3cdc3f --- /dev/null +++ b/print/splix/pkg/DESCR @@ -0,0 +1,4 @@ +SpliX is a set of CUPS printer drivers for SPL (Samsung Printer +Language) printers. This driver is usable by all printer devices which +understand the QPDL (Quick Page Description Language) language. It +covers several Samsung, Xerox, Dell and Ricoh printers. diff --git a/print/splix/pkg/MESSAGE b/print/splix/pkg/MESSAGE new file mode 100644 index 00000000000..ab9c43c4f89 --- /dev/null +++ b/print/splix/pkg/MESSAGE @@ -0,0 +1,2 @@ +Please see ${PREFIX}/share/doc/splix/README.OpenBSD for information +about running splix on OpenBSD. diff --git a/print/splix/pkg/PLIST b/print/splix/pkg/PLIST new file mode 100644 index 00000000000..c13b4b63d0a --- /dev/null +++ b/print/splix/pkg/PLIST @@ -0,0 +1,147 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2009/03/17 18:37:20 ajacoutot Exp $ +libexec/cups/ +libexec/cups/filter/ +@bin libexec/cups/filter/pstoqpdl +@bin libexec/cups/filter/rastertoqpdl +share/cups/ +share/cups/model/ +share/cups/model/dell/ +share/cups/model/dell/1100.ppd +share/cups/model/dell/1100fr.ppd +share/cups/model/dell/1100pt.ppd +share/cups/model/dell/1110.ppd +share/cups/model/dell/1110fr.ppd +share/cups/model/dell/1110pt.ppd +share/cups/model/samsung/ +share/cups/model/samsung/clp200.ppd +share/cups/model/samsung/clp200fr.ppd +share/cups/model/samsung/clp200pt.ppd +share/cups/model/samsung/clp300.ppd +share/cups/model/samsung/clp300fr.ppd +share/cups/model/samsung/clp300pt.ppd +share/cups/model/samsung/clp500.ppd +share/cups/model/samsung/clp500fr.ppd +share/cups/model/samsung/clp500pt.ppd +share/cups/model/samsung/clp510.ppd +share/cups/model/samsung/clp510fr.ppd +share/cups/model/samsung/clp510pt.ppd +share/cups/model/samsung/clp550.ppd +share/cups/model/samsung/clp550fr.ppd +share/cups/model/samsung/clp550pt.ppd +share/cups/model/samsung/clp600.ppd +share/cups/model/samsung/clp600fr.ppd +share/cups/model/samsung/clp600pt.ppd +share/cups/model/samsung/clp610.ppd +share/cups/model/samsung/clp610fr.ppd +share/cups/model/samsung/clp610pt.ppd +share/cups/model/samsung/clx216x.ppd +share/cups/model/samsung/clx216xfr.ppd +share/cups/model/samsung/clx216xpt.ppd +share/cups/model/samsung/clx2170.ppd +share/cups/model/samsung/clx2170fr.ppd +share/cups/model/samsung/clx2170pt.ppd +share/cups/model/samsung/clx3160.ppd +share/cups/model/samsung/clx3160fr.ppd +share/cups/model/samsung/clx3160pt.ppd +share/cups/model/samsung/ml1510.ppd +share/cups/model/samsung/ml1510fr.ppd +share/cups/model/samsung/ml1510pt.ppd +share/cups/model/samsung/ml1520.ppd +share/cups/model/samsung/ml1520fr.ppd +share/cups/model/samsung/ml1520pt.ppd +share/cups/model/samsung/ml1610.ppd +share/cups/model/samsung/ml1610fr.ppd +share/cups/model/samsung/ml1610pt.ppd +share/cups/model/samsung/ml1630.ppd +share/cups/model/samsung/ml1630fr.ppd +share/cups/model/samsung/ml1630pt.ppd +share/cups/model/samsung/ml1640.ppd +share/cups/model/samsung/ml1640fr.ppd +share/cups/model/samsung/ml1640pt.ppd +share/cups/model/samsung/ml1710.ppd +share/cups/model/samsung/ml1710fr.ppd +share/cups/model/samsung/ml1710pt.ppd +share/cups/model/samsung/ml1740.ppd +share/cups/model/samsung/ml1740fr.ppd +share/cups/model/samsung/ml1740pt.ppd +share/cups/model/samsung/ml1750.ppd +share/cups/model/samsung/ml1750fr.ppd +share/cups/model/samsung/ml1750pt.ppd +share/cups/model/samsung/ml2010.ppd +share/cups/model/samsung/ml2010fr.ppd +share/cups/model/samsung/ml2010pt.ppd +share/cups/model/samsung/ml2150.ppd +share/cups/model/samsung/ml2150fr.ppd +share/cups/model/samsung/ml2150pt.ppd +share/cups/model/samsung/ml2250.ppd +share/cups/model/samsung/ml2250fr.ppd +share/cups/model/samsung/ml2250pt.ppd +share/cups/model/samsung/ml2251.ppd +share/cups/model/samsung/ml2251fr.ppd +share/cups/model/samsung/ml2251pt.ppd +share/cups/model/samsung/ml2510.ppd +share/cups/model/samsung/ml2510fr.ppd +share/cups/model/samsung/ml2510pt.ppd +share/cups/model/samsung/ml2550.ppd +share/cups/model/samsung/ml2550fr.ppd +share/cups/model/samsung/ml2550pt.ppd +share/cups/model/samsung/ml3050.ppd +share/cups/model/samsung/ml3050fr.ppd +share/cups/model/samsung/ml3050pt.ppd +share/cups/model/samsung/ml3560.ppd +share/cups/model/samsung/ml3560fr.ppd +share/cups/model/samsung/ml3560pt.ppd +share/cups/model/samsung/scx4200.ppd +share/cups/model/samsung/scx4200fr.ppd +share/cups/model/samsung/scx4200pt.ppd +share/cups/model/samsung/scx4500.ppd +share/cups/model/samsung/scx4500fr.ppd +share/cups/model/samsung/scx4500pt.ppd +share/cups/model/xerox/ +share/cups/model/xerox/ph3115.ppd +share/cups/model/xerox/ph3115fr.ppd +share/cups/model/xerox/ph3115pt.ppd +share/cups/model/xerox/ph3116.ppd +share/cups/model/xerox/ph3116fr.ppd +share/cups/model/xerox/ph3116pt.ppd +share/cups/model/xerox/ph3117.ppd +share/cups/model/xerox/ph3117fr.ppd +share/cups/model/xerox/ph3117pt.ppd +share/cups/model/xerox/ph3120.ppd +share/cups/model/xerox/ph3120fr.ppd +share/cups/model/xerox/ph3120pt.ppd +share/cups/model/xerox/ph3121.ppd +share/cups/model/xerox/ph3121fr.ppd +share/cups/model/xerox/ph3121pt.ppd +share/cups/model/xerox/ph3122.ppd +share/cups/model/xerox/ph3122fr.ppd +share/cups/model/xerox/ph3122pt.ppd +share/cups/model/xerox/ph3130.ppd +share/cups/model/xerox/ph3130fr.ppd +share/cups/model/xerox/ph3130pt.ppd +share/cups/model/xerox/ph3150.ppd +share/cups/model/xerox/ph3150fr.ppd +share/cups/model/xerox/ph3150pt.ppd +share/cups/model/xerox/ph3160.ppd +share/cups/model/xerox/ph3160fr.ppd +share/cups/model/xerox/ph3160pt.ppd +share/cups/model/xerox/ph3420.ppd +share/cups/model/xerox/ph3420fr.ppd +share/cups/model/xerox/ph3420pt.ppd +share/cups/model/xerox/ph3425.ppd +share/cups/model/xerox/ph3425fr.ppd +share/cups/model/xerox/ph3425pt.ppd +share/cups/model/xerox/ph5500.ppd +share/cups/model/xerox/ph5500fr.ppd +share/cups/model/xerox/ph5500pt.ppd +share/cups/model/xerox/ph6100.ppd +share/cups/model/xerox/ph6100fr.ppd +share/cups/model/xerox/ph6100pt.ppd +share/cups/model/xerox/ph6110.ppd +share/cups/model/xerox/ph6110fr.ppd +share/cups/model/xerox/ph6110pt.ppd +share/cups/model/xerox/wc3119.ppd +share/cups/model/xerox/wc3119fr.ppd +share/cups/model/xerox/wc3119pt.ppd +share/doc/splix/ +share/doc/splix/README.OpenBSD