pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/cups Include a MESSAGE on how to use libusb Devi...
details: https://anonhg.NetBSD.org/pkgsrc/rev/fbf2340384ee
branches: trunk
changeset: 576382:fbf2340384ee
user: sbd <sbd%pkgsrc.org@localhost>
date: Wed Jun 09 08:58:05 2010 +0000
description:
Include a MESSAGE on how to use libusb DeviceURI's if the libusb option is on.
diffstat:
print/cups/MESSAGE.libusb | 11 +++++++++++
print/cups/options.mk | 6 ++++--
2 files changed, 15 insertions(+), 2 deletions(-)
diffs (49 lines):
diff -r 8481a3a9b2a1 -r fbf2340384ee print/cups/MESSAGE.libusb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/cups/MESSAGE.libusb Wed Jun 09 08:58:05 2010 +0000
@@ -0,0 +1,11 @@
+===========================================================================
+$NetBSD: MESSAGE.libusb,v 1.1 2010/06/09 08:58:05 sbd Exp $
+
+To get the libusb DeviceURI's of attached printers run:
+
+${PREFIX}/libexec/cups/backend/usb
+
+The DeviceURI is the string starting with "usb://".
+
+Note: ulpt(4)/usblp printer can be accessed with a "usb:/dev/" DeviceURI.
+===========================================================================
diff -r 8481a3a9b2a1 -r fbf2340384ee print/cups/options.mk
--- a/print/cups/options.mk Tue Jun 08 19:04:09 2010 +0000
+++ b/print/cups/options.mk Wed Jun 09 08:58:05 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.9 2010/05/26 09:18:48 sbd Exp $
+# $NetBSD: options.mk,v 1.10 2010/06/09 08:58:05 sbd Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cups
PKG_OPTIONS_REQUIRED_GROUPS= pdftops
@@ -9,6 +9,8 @@
.include "../../mk/bsd.options.mk"
+MESSAGE_SRC= ${PKGDIR}/MESSAGE
+
.if !empty(PKG_OPTIONS:Macl)
CONFIGURE_ARGS+= --enable-acl
.else
@@ -48,6 +50,7 @@
.if !empty(PKG_OPTIONS:Mlibusb)
.include "../../devel/libusb/buildlink3.mk"
CONFIGURE_ARGS+= --enable-libusb
+MESSAGE_SRC+= ${PKGDIR}/MESSAGE.libusb
.else
CONFIGURE_ARGS+= --disable-libusb
.endif
@@ -56,7 +59,6 @@
.if !empty(PKG_OPTIONS:Mpam)
. include "../../mk/pam.buildlink3.mk"
CONFIGURE_ARGS+= --enable-pam
-MESSAGE_SRC= ${PKGDIR}/MESSAGE
MESSAGE_SRC+= ${PKGDIR}/MESSAGE.pam
PLIST.pam= yes
.else
Home |
Main Index |
Thread Index |
Old Index