Change some obvious sudo usage to '#' in READMEs.

This commit is contained in:
ajacoutot 2015-07-07 14:33:34 +00:00
parent cfd93f20c8
commit c703e5ebf9
9 changed files with 26 additions and 20 deletions

View File

@ -1,11 +1,11 @@
# $OpenBSD: Makefile,v 1.68 2015/06/10 22:04:04 sthen Exp $
# $OpenBSD: Makefile,v 1.69 2015/07/07 14:33:34 ajacoutot Exp $
BROKEN-alpha = ICE hp5590.c:1141: error: unrecognizable insn
COMMENT= API for accessing scanners, backends
DISTNAME= sane-backends-1.0.24
REVISION= 5
REVISION= 6
SHARED_LIBS += sane 2.0 # unknown

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.13 2014/07/11 16:59:35 ajacoutot Exp $
$OpenBSD: README,v 1.14 2015/07/07 14:33:34 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -10,8 +10,9 @@ USB
===
Since USB scanning will be handled by libusb, you need to allow the
_saned user access to the corresponding USB endpoint. To do so, find
where your scanner is attached to using `sudo usbdevs -vd` then change
the ownerships accordingly.
where your scanner is attached to using:
# usbdevs -vd
then change the ownerships accordingly.
e.g.
Controller /dev/usb3:
@ -21,7 +22,7 @@ addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086)
port 2 addr 2: full speed, self powered, config 1, USB MFP(0x082f), EPSON(0x04b8), rev 1.00, iSerialNumber L83010704250947490
ugen0
$ sudo chgrp _saned /dev/ugen0.* /dev/usb3
# chgrp _saned /dev/ugen0.* /dev/usb3
The reason we are changing the group and not the user is that it will
allow for multi-function devices to work for both printing and scanning

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.23 2015/05/22 11:31:16 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.24 2015/07/07 14:33:34 ajacoutot Exp $
COMMENT= OCR Engine developed at HP Labs
@ -6,7 +6,7 @@ V= 3.02.02
DISTNAME= tesseract-ocr-${V}
PKGNAME= tesseract-${V}
WRKDIST= ${WRKDIR}/tesseract-ocr
REVISION= 1
REVISION= 2
SHARED_LIBS += tesseract 3.1 # 3.2

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.1 2014/01/18 13:42:29 ajacoutot Exp $
$OpenBSD: README,v 1.2 2015/07/07 14:33:34 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -6,7 +6,8 @@ $OpenBSD: README,v 1.1 2014/01/18 13:42:29 ajacoutot Exp $
Before running Tesseract, if using another language than English, the
corresponding language pack should be installed.
e.g. sudo pkg_add tesseract-fra
e.g.
# pkg_add tesseract-fra
Here's a quick HOWTO about optical character recognition using:
scanimage(1) -- from the sane-backends package

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.197 2015/06/09 08:01:13 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.198 2015/07/07 14:33:34 ajacoutot Exp $
COMMENT-main= Common Unix Printing System
COMMENT-libs= CUPS libraries and headers
@ -10,7 +10,7 @@ EXTRACT_SUFX= .tar.bz2
PKGNAME-main= cups-${VERSION}
PKGNAME-libs= cups-libs-${VERSION}
REVISION-main= 0
REVISION-main= 1
REVISION-libs= 0
CATEGORIES= print sysutils

View File

@ -1,4 +1,4 @@
$OpenBSD: README-main,v 1.15 2015/04/04 08:24:37 ajacoutot Exp $
$OpenBSD: README-main,v 1.16 2015/07/07 14:33:34 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -28,8 +28,9 @@ USB
===
Since USB printing will be handled by libusb, you need to allow the
_cups user access to the corresponding USB endpoint. To do so, find
where your printer is attached to using `sudo usbdevs -vd` then change
the ownerships accordingly.
where your printer is attached to using:
# usbdevs -vd
then change the ownerships accordingly.
e.g.
Controller /dev/usb3:
@ -39,7 +40,7 @@ addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), Intel(0x8086)
port 2 addr 2: full speed, self powered, config 1, USB MFP(0x082f), EPSON(0x04b8), rev 1.00, iSerialNumber L83010704250947490
ugen0
$ sudo chown _cups /dev/ugen0.* /dev/usb3
# chown _cups /dev/ugen0.* /dev/usb3
The reason we are changing the user and not the group is that it will
allow for multi-function devices to work for both printing and scanning

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.61 2014/07/10 09:47:21 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.62 2015/07/07 14:33:34 ajacoutot Exp $
COMMENT= driver for ZjStream wire protocol compatible printers
VERSION= 20140627
DISTNAME= foo2zjs-${VERSION}
REVISION= 0
CATEGORIES= print

View File

@ -1,4 +1,4 @@
$OpenBSD: README,v 1.4 2013/12/12 14:50:30 ajacoutot Exp $
$OpenBSD: README,v 1.5 2015/07/07 14:33:34 ajacoutot Exp $
+-----------------------------------------------------------------------
| Running ${FULLPKGNAME} on OpenBSD
@ -16,7 +16,8 @@ run the following command as root each time the device is powered up:
cat ${TRUEPREFIX}/share/foo2zjs/firmware/XXX.dl > /dev/ugenN.EE
-> XXX is your printer firmware name
-> /dev/ugenN.EE is the ugen(4) device (N) and endpoint (EE) of your
printer (which can be found using `sudo usbdevs -vd`)
printer; which can be found using
# sudo usbdevs -vd
Alternatively, hotplugd(8) attach/detach scripts can automate this.
Firmwares for some printers are available in the sysutils/firmware/ulpt

View File

@ -1,2 +1,3 @@
Install mozilla dictionaries for extra hunspell languages.
e.g. sudo pkg_add mozilla-dicts-ca
e.g.
# pkg_add mozilla-dicts-ca