summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjym <jym>2010-02-01 00:38:36 +0000
committerjym <jym>2010-02-01 00:38:36 +0000
commit3de16e4a0810e63d4d601aeb8508ca172c8e7c20 (patch)
tree93e8af471c776b0d14edc87e124ea77a2d38ddbc
parent8395d8fdf88a35d2a2ac22d423c5bcdf78004826 (diff)
downloadpkgsrc-3de16e4a0810e63d4d601aeb8508ca172c8e7c20.tar.gz
Import print/cups-drivers-Magicolor5440DL.
This package contains the driver, rasterizer and PPD files needed to support Konica Minolta Magicolor 5440DL printer in CUPS. Proposed for review on pkgsrc-wip; no comment, no objection received in a week.
-rw-r--r--print/cups-drivers-Magicolor5440DL/DESCR2
-rw-r--r--print/cups-drivers-Magicolor5440DL/MESSAGE19
-rw-r--r--print/cups-drivers-Magicolor5440DL/Makefile34
-rw-r--r--print/cups-drivers-Magicolor5440DL/PLIST19
-rw-r--r--print/cups-drivers-Magicolor5440DL/distinfo6
-rw-r--r--print/cups-drivers-Magicolor5440DL/patches/patch-aa49
6 files changed, 129 insertions, 0 deletions
diff --git a/print/cups-drivers-Magicolor5440DL/DESCR b/print/cups-drivers-Magicolor5440DL/DESCR
new file mode 100644
index 00000000000..416de07c83b
--- /dev/null
+++ b/print/cups-drivers-Magicolor5440DL/DESCR
@@ -0,0 +1,2 @@
+This package contains the driver, rasterizer and PPD files needed
+to support Konica Minolta Magicolor 5440DL printer in CUPS.
diff --git a/print/cups-drivers-Magicolor5440DL/MESSAGE b/print/cups-drivers-Magicolor5440DL/MESSAGE
new file mode 100644
index 00000000000..3736df8cf6d
--- /dev/null
+++ b/print/cups-drivers-Magicolor5440DL/MESSAGE
@@ -0,0 +1,19 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1.1.1 2010/02/01 00:38:36 jym Exp $
+
+The CUPS driver for the Konica Minolta Magicolor 5440DL requires
+ghostscript to be compiled with cups support (which is off by default).
+
+This can be achieved by setting:
+
+ PKG_OPTIONS.ghostscript+=cups
+
+inside /etc/mk.conf, and then reinstall ghostscript package.
+
+Consider also uncommenting the following line in cups configuration file
+${PKG_SYSCONFDIR}/cups/mime.convs to add the correct MIME type support for
+the filter:
+
+#application/octet-stream application/vnd.cups-raw 0 -
+
+===========================================================================
diff --git a/print/cups-drivers-Magicolor5440DL/Makefile b/print/cups-drivers-Magicolor5440DL/Makefile
new file mode 100644
index 00000000000..ac9ca52381f
--- /dev/null
+++ b/print/cups-drivers-Magicolor5440DL/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/02/01 00:38:36 jym Exp $
+#
+
+DISTNAME= 5440DL_lin64bit_1_2_1
+PKGNAME= cups-drivers-Magicolor5440DL-1.2.1
+CATEGORIES= print
+MASTER_SITES= http://printer.konicaminolta.net/drivers/linux/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://printer.konicaminolta.com/support/current_printers/mc5440dl_sup.htm
+COMMENT= CUPS drivers for printer Konica Minolta Magicolor 5440DL
+
+BUILD_DEPENDS+= jbigkit>=1.6:../../graphics/jbigkit
+DEPENDS+= cups>=1.1.14:../../print/cups
+DEPENDS+= ghostscript>=8.0:../../print/ghostscript
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR}/5440DL_64_v1.2.1/magicolor5440DL-1.2.1/
+
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c
+USE_LIBTOOL= yes
+USE_TOOLS+= gmake
+
+post-extract:
+ cd ${WRKDIR}/5440DL_64_v1.2.1/; \
+ extract_file=src/magicolor5440DL-1.2.1.tar.gz; ${EXTRACT_CMD}
+
+.include "../../graphics/lcms/buildlink3.mk"
+.include "../../graphics/jbigkit/buildlink3.mk"
+.include "../../print/cups/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/cups-drivers-Magicolor5440DL/PLIST b/print/cups-drivers-Magicolor5440DL/PLIST
new file mode 100644
index 00000000000..ebfc9d37fc9
--- /dev/null
+++ b/print/cups-drivers-Magicolor5440DL/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/02/01 00:38:36 jym Exp $
+libexec/cups/filter/rastertokm5440dl
+share/KONICA_MINOLTA/mc5440DL/COPYING
+share/KONICA_MINOLTA/mc5440DL/Halftones/km_ht_00.bmp
+share/KONICA_MINOLTA/mc5440DL/Halftones/km_ht_01.bmp
+share/KONICA_MINOLTA/mc5440DL/Halftones/km_ht_02.bmp
+share/KONICA_MINOLTA/mc5440DL/Halftones/km_ht_03.bmp
+share/KONICA_MINOLTA/mc5440DL/Halftones/km_ht_10.bmp
+share/KONICA_MINOLTA/mc5440DL/Halftones/km_ht_11.bmp
+share/KONICA_MINOLTA/mc5440DL/Halftones/km_ht_12.bmp
+share/KONICA_MINOLTA/mc5440DL/Halftones/km_ht_13.bmp
+share/KONICA_MINOLTA/mc5440DL/Halftones/km_ht_20.bmp
+share/KONICA_MINOLTA/mc5440DL/Halftones/km_ht_21.bmp
+share/KONICA_MINOLTA/mc5440DL/Halftones/km_ht_22.bmp
+share/KONICA_MINOLTA/mc5440DL/Halftones/km_ht_23.bmp
+share/KONICA_MINOLTA/mc5440DL/Profiles/km_0.icm
+share/KONICA_MINOLTA/mc5440DL/Profiles/km_1.icm
+share/KONICA_MINOLTA/mc5440DL/Profiles/km_2.icm
+share/cups/model/KONICA_MINOLTA/km5440dl.ppd.gz
diff --git a/print/cups-drivers-Magicolor5440DL/distinfo b/print/cups-drivers-Magicolor5440DL/distinfo
new file mode 100644
index 00000000000..069a377e78d
--- /dev/null
+++ b/print/cups-drivers-Magicolor5440DL/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/02/01 00:38:36 jym Exp $
+
+SHA1 (5440DL_lin64bit_1_2_1.zip) = 130092a9345ec32a2681bacafaeadcc85563f1fa
+RMD160 (5440DL_lin64bit_1_2_1.zip) = a0a5a51eef1a7798d0f8b8d07873bd60ac2cba9b
+Size (5440DL_lin64bit_1_2_1.zip) = 767491 bytes
+SHA1 (patch-aa) = 2e31f1dc9120d28d03a3fe50f5365955b82de3c8
diff --git a/print/cups-drivers-Magicolor5440DL/patches/patch-aa b/print/cups-drivers-Magicolor5440DL/patches/patch-aa
new file mode 100644
index 00000000000..065f669be47
--- /dev/null
+++ b/print/cups-drivers-Magicolor5440DL/patches/patch-aa
@@ -0,0 +1,49 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/02/01 00:38:36 jym Exp $
+
+--- configure.orig 2007-02-28 23:33:11.000000000 +0100
++++ configure
+@@ -2957,7 +2957,7 @@ fi
+ echo "$as_me: libdir is $libdir" >&6;}
+ #filterdir=/usr/lib/cups/filter
+ #AC_SUBST(filterdir)
+-KM_PPDDIR=/usr/share/cups/model/KONICA_MINOLTA
++KM_PPDDIR=${datadir}/cups/model/KONICA_MINOLTA
+
+
+ UNAME=`(uname) 2>/dev/null || echo unknown`
+@@ -2971,7 +2971,7 @@ cat >>confdefs.h <<_ACEOF
+ #define CUPS_SERVERBIN "$exec_prefix/libexec/cups"
+ _ACEOF
+
+- LDFLAGS="$LDFALGS -L/usr/local/lib"
++ LDFLAGS="$LDFLAGS -L/usr/local/lib"
+ CPPFLAGS="$CPPFLAGS -I/usr/local/include -I/sw/include"
+ KM_DATADIR=/Library/Printers/KONICA_MINOLTA/mc5440DL
+
+@@ -2988,7 +2988,7 @@ cat >>confdefs.h <<_ACEOF
+ #define CUPS_SERVERBIN "$exec_prefix/libexec/cups"
+ _ACEOF
+
+- LDFLAGS="$LDFALGS -L/usr/local/lib"
++ LDFLAGS="$LDFLAGS -L/usr/local/lib"
+ CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+ KM_DATADIR="$datadir/KONICA_MINOLTA/mc5440DL"
+
+@@ -3239,7 +3239,7 @@ elif test -f "/usr/lib/libjbig.a"; then
+ elif test -f "/usr/local/lib64/libjbig.a"; then
+ LIBJBIG="/usr/local/lib64/libjbig.a"
+ else
+- LIBJBIG="/usr/local/lib/libjbig.a"
++ LIBJBIG="${libdir}/libjbig.a"
+ fi
+ else
+ { { echo "$as_me:$LINENO: error: Could not find libjbig.a" >&5
+@@ -3320,7 +3320,7 @@ elif test -f "/usr/lib/liblcms.a"; then
+ elif test -f "/usr/local/lib64/liblcms.a"; then
+ LIBLCMS="/usr/local/lib64/liblcms.a"
+ else
+- LIBLCMS="/usr/local/lib/liblcms.a"
++ LIBLCMS="${libdir}/liblcms.a"
+ fi
+ else
+ { { echo "$as_me:$LINENO: error: Could not find liblcms.a" >&5