pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/cups-drivers-Magicolor5440DL Import print/cups-d...
details: https://anonhg.NetBSD.org/pkgsrc/rev/bffad8fa9f06
branches: trunk
changeset: 570560:bffad8fa9f06
user: jym <jym%pkgsrc.org@localhost>
date: Mon Feb 01 00:38:36 2010 +0000
description:
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.
diffstat:
print/cups-drivers-Magicolor5440DL/DESCR | 2 +
print/cups-drivers-Magicolor5440DL/MESSAGE | 19 ++++++++
print/cups-drivers-Magicolor5440DL/Makefile | 34 ++++++++++++++
print/cups-drivers-Magicolor5440DL/PLIST | 19 ++++++++
print/cups-drivers-Magicolor5440DL/distinfo | 6 ++
print/cups-drivers-Magicolor5440DL/patches/patch-aa | 49 +++++++++++++++++++++
6 files changed, 129 insertions(+), 0 deletions(-)
diffs (153 lines):
diff -r 0cb42a089529 -r bffad8fa9f06 print/cups-drivers-Magicolor5440DL/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-drivers-Magicolor5440DL/DESCR Mon Feb 01 00:38:36 2010 +0000
@@ -0,0 +1,2 @@
+This package contains the driver, rasterizer and PPD files needed
+to support Konica Minolta Magicolor 5440DL printer in CUPS.
diff -r 0cb42a089529 -r bffad8fa9f06 print/cups-drivers-Magicolor5440DL/MESSAGE
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-drivers-Magicolor5440DL/MESSAGE Mon Feb 01 00:38:36 2010 +0000
@@ -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 -r 0cb42a089529 -r bffad8fa9f06 print/cups-drivers-Magicolor5440DL/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-drivers-Magicolor5440DL/Makefile Mon Feb 01 00:38:36 2010 +0000
@@ -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@localhost
+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 -r 0cb42a089529 -r bffad8fa9f06 print/cups-drivers-Magicolor5440DL/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-drivers-Magicolor5440DL/PLIST Mon Feb 01 00:38:36 2010 +0000
@@ -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 -r 0cb42a089529 -r bffad8fa9f06 print/cups-drivers-Magicolor5440DL/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-drivers-Magicolor5440DL/distinfo Mon Feb 01 00:38:36 2010 +0000
@@ -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 -r 0cb42a089529 -r bffad8fa9f06 print/cups-drivers-Magicolor5440DL/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups-drivers-Magicolor5440DL/patches/patch-aa Mon Feb 01 00:38:36 2010 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index