Import splix-2.0.0

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.
This commit is contained in:
ajacoutot 2009-03-17 18:37:20 +00:00
parent 713bda8685
commit 4486f0920e
8 changed files with 280 additions and 0 deletions

40
print/splix/Makefile Normal file
View File

@ -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 <bsd.port.mk>

5
print/splix/distinfo Normal file
View File

@ -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

View File

@ -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/<manufacturer>/
where <manufacturer> 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.

View File

@ -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

View File

@ -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

4
print/splix/pkg/DESCR Normal file
View File

@ -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.

2
print/splix/pkg/MESSAGE Normal file
View File

@ -0,0 +1,2 @@
Please see ${PREFIX}/share/doc/splix/README.OpenBSD for information
about running splix on OpenBSD.

147
print/splix/pkg/PLIST Normal file
View File

@ -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