summaryrefslogtreecommitdiffstats
path: root/foo2zjs
diff options
context:
space:
mode:
Diffstat (limited to 'foo2zjs')
-rw-r--r--foo2zjs/.directory2
-rw-r--r--foo2zjs/PKGBUILD45
-rw-r--r--foo2zjs/foo2zjs-20091017-Makefile.patch180
-rw-r--r--foo2zjs/foo2zjs-20091017-udevfwld.patch236
-rw-r--r--foo2zjs/foo2zjs.install19
-rw-r--r--foo2zjs/makefile.patch45
6 files changed, 0 insertions, 527 deletions
diff --git a/foo2zjs/.directory b/foo2zjs/.directory
deleted file mode 100644
index 5342b22..0000000
--- a/foo2zjs/.directory
+++ /dev/null
@@ -1,2 +0,0 @@
-[Dolphin]
-Timestamp=2009,10,19,13,12,43
diff --git a/foo2zjs/PKGBUILD b/foo2zjs/PKGBUILD
deleted file mode 100644
index 1626733..0000000
--- a/foo2zjs/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# Contributor: Giovanni Scafora <giovanni@archlinux.org>
-
-pkgname=foo2zjs
-pkgver=20091017
-pkgrel=3
-pkgdesc="ZJStream Printer Drivers."
-url="http://foo2zjs.rkkda.com/"
-license=('GPL' 'custom')
-depends=('psutils' 'cups' 'foomatic-db-engine')
-makedepends=('unzip')
-conflicts=('foomatic-db')
-optdepends=('tix: required by hplj10xx_gui.tcl')
-arch=('i686' 'x86_64')
-options=('!emptydirs')
-install=foo2zjs.install
-source=(http://foo2zjs.rkkda.com/foo2zjs.tar.gz
- foo2zjs-20091017-Makefile.patch
- foo2zjs-20091017-udevfwld.patch)
-md5sums=('66413683916d4103d9bd1068b6fc2da6'
- 'b5584b05d86f5587fa9d635956dd40c6'
- 'd547a4f67d91f96a58ae2d565f54210e')
-
-build() {
- cd "${srcdir}/${pkgname}"
- patch -Np1 -i ${srcdir}/foo2zjs-20091017-Makefile.patch || return 1
- patch -Np1 -i ${srcdir}/foo2zjs-20091017-udevfwld.patch || return 1
-
- make || return 1
-
- ./getweb 315 || return 1
-
- install -d ${pkgdir}/usr/share/{applications,pixmaps,cups/model}
- install -d ${pkgdir}/usr/share/foomatic/db/source/{driver,opt,printer}
-
- make DESTDIR=${pkgdir} install install-udev
-
- install -m755 getweb ${pkgdir}/usr/bin
- install -D -m644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-md5sums=('303d7849dcbfbe89d12b1cf30351500d'
- 'b5584b05d86f5587fa9d635956dd40c6'
- 'd547a4f67d91f96a58ae2d565f54210e')
-sha1sums=('dd9256ae008e16e7b0f9eddce787ff13fe82c1f6'
- '2154a87f53fc0b9a899511fcf3ed88eb38757427'
- '12eb107069b61ff2d702dcfacb033d8e251da057')
diff --git a/foo2zjs/foo2zjs-20091017-Makefile.patch b/foo2zjs/foo2zjs-20091017-Makefile.patch
deleted file mode 100644
index f2e04de..0000000
--- a/foo2zjs/foo2zjs-20091017-Makefile.patch
+++ /dev/null
@@ -1,180 +0,0 @@
---- a/Makefile 2009-10-10 04:28:28.000000000 -0700
-+++ b/Makefile 2009-10-19 01:02:24.000000000 -0700
-@@ -17,7 +17,6 @@
-
- # Installation prefix...
- PREFIX=/usr/local
--PREFIX=/usr
- PREFIX=$(DESTDIR)/usr
-
- # Pathnames for this package...
-@@ -35,7 +34,7 @@
- INSTALL=install
-
- # Pathnames for referenced packages...
--FOODB=$(DESTDIR)/usr/share/foomatic/db/source
-+FOODB=$(PREFIX)/share/foomatic/db/source
-
- # User ID's
- LPuid=-oroot
-@@ -255,7 +254,7 @@
- endif
-
- # Compiler flags
--CFLAGS += -O2 -Wall
-+CFLAGS ?= -O2 -Wall
- #CFLAGS += -g
-
- #
-@@ -547,6 +546,8 @@
- UDEVBIN=$(DESTDIR)/bin/
-
- install-prog:
-+ [ -d $(BIN) ] || install -d -m 755 $(BIN)/
-+ [ -d $(DESTDIR)/bin/ ] || install -d -m 755 $(DESTDIR)/bin/
- #
- # Install driver, wrapper, and development tools
- #
-@@ -554,7 +555,7 @@
- $(INSTALL) -c $(PROGS) $(SHELLS) $(BIN)/
- if [ "$(BINPROGS)" != "" ]; then \
- $(INSTALL) -d $(UDEVBIN); \
-- $(INSTALL) -c $(BINPROGS) $(UDEVBIN); \
-+ install -c $(BINPROGS) $(DESTDIR)/bin/; \
- fi
- #
- # Install gamma correction files. These are just templates,
-@@ -588,6 +589,7 @@
- #
- @if [ -d $(FOODB) ]; then \
- for dir in driver printer opt; do \
-+ [ -d $(FOODB)/$$dir/ ] || install -d -m 755 $(FOODB)/$$dir/; \
- echo install -m 644 foomatic-db/$$dir/*.xml $(FOODB)/$$dir/; \
- $(INSTALL) -c -m 644 foomatic-db/$$dir/*.xml $(FOODB)/$$dir/; \
- done \
-@@ -605,10 +607,10 @@
- #
- # Clear foomatic cache and rebuild database if needed
- #
-- rm -rf /var/cache/foomatic/*/*
-- rm -f /var/cache/foomatic/printconf.pickle
-- if [ -d /var/cache/foomatic/compiled ]; then \
-- cd /var/cache/foomatic/compiled; \
-+ rm -rf $(DESTDIR)/var/cache/foomatic/*/*
-+ rm -f $(DESTDIR)/var/cache/foomatic/printconf.pickle
-+ if [ -d $(DESTDIR)/var/cache/foomatic/compiled ]; then \
-+ cd $(DESTDIR)/var/cache/foomatic/compiled; \
- foomatic-combo-xml -O >overview.xml; \
- fi
-
-@@ -722,9 +724,9 @@
- fi; \
- done
-
--MODEL=$(DESTDIR)/usr/share/cups/model
-+MODEL=$(PREFIX)/share/cups/model
- LOCALMODEL=$(DESTDIR)/usr/local/share/cups/model
--PPD=$(DESTDIR)/usr/share/ppd
-+PPD=$(PREFIX)/share/ppd
- VARPPD=/var/lp/ppd
- install-ppd:
- #
-@@ -740,13 +742,6 @@
- done; \
- ppdmgr -u; \
- elif [ -d $(PPD) ]; then \
-- find $(PPD) -name '*foo2zjs*' | xargs rm -rf; \
-- find $(PPD) -name '*foo2hp*' | xargs rm -rf; \
-- find $(PPD) -name '*foo2xqx*' | xargs rm -rf; \
-- find $(PPD) -name '*foo2lava*' | xargs rm -rf; \
-- find $(PPD) -name '*foo2qpdl*' | xargs rm -rf; \
-- find $(PPD) -name '*foo2slx*' | xargs rm -rf; \
-- find $(PPD) -name '*foo2hiperc*' | xargs rm -rf; \
- [ -d $(PPD)/foo2zjs ] || mkdir $(PPD)/foo2zjs; \
- cd PPD; \
- for ppd in *.ppd; do \
-@@ -767,9 +762,9 @@
- done; \
- fi
-
--APPL=$(DESTDIR)/usr/share/applications
--OLDAPPL=$(DESTDIR)/usr/share/gnome/apps/System
--PIXMAPS=$(DESTDIR)/usr/share/pixmaps
-+APPL=$(PREFIX)/share/applications
-+OLDAPPL=$(PREFIX)/share/gnome/apps/System
-+PIXMAPS=$(PREFIX)/share/pixmaps
-
- install-desktop:
- #
-@@ -793,10 +788,8 @@
- $(INSTALL) -c -m 755 hplj10xx_gui.tcl $(SHAREZJS)
-
-
--USBDIR=/etc/hotplug/usb
--UDEVDIR=/etc/udev/rules.d
--RULES=hplj10xx.rules
--install-hotplug: install-hotplug-test install-hotplug-prog
-+USBDIR=$(DESTDIR)/etc/hotplug/usb
-+install-hotplug: install-hotplug-test install-udev
-
- install-hotplug-test:
- #
-@@ -814,9 +807,6 @@
- #
-
- install-hotplug-prog:
-- if [ -d $(UDEVDIR) ]; then \
-- $(INSTALL) -c -m 644 $(RULES) $(UDEVDIR)/11-$(RULES); \
-- fi
- [ -d $(USBDIR) ] || $(INSTALL) -d -m 755 $(USBDIR)/
- $(INSTALL) -c -m 755 hplj1000 $(USBDIR)/
- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hplj1005
-@@ -827,17 +817,13 @@
- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hpljP1007
- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hpljP1008
- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hpljP1505
-- $(USBDIR)/hplj1000 install-usermap
-- $(USBDIR)/hplj1005 install-usermap
-- $(USBDIR)/hplj1018 install-usermap
-- $(USBDIR)/hplj1020 install-usermap
-- $(USBDIR)/hpljP1005 install-usermap
-- $(USBDIR)/hpljP1006 install-usermap
-- $(USBDIR)/hpljP1007 install-usermap
-- $(USBDIR)/hpljP1008 install-usermap
-- $(USBDIR)/hpljP1505 install-usermap
-- # modprobe usblp
-- $(USBDIR)/hplj1000 install-usblp
-+ install -c -m 644 hplj.usermap $(USBDIR)/
-+
-+UDEVDIR=$(DESTDIR)/lib/udev/rules.d
-+RULES=hplj10xx.rules
-+install-udev:
-+ [ -d $(UDEVDIR) ] || install -d -m 755 $(UDEVDIR)/
-+ install -c -m 644 $(RULES) $(UDEVDIR)/11-$(RULES)
-
- cups: FRC
- if [ -x /etc/init.d/cups ]; then \
-@@ -1234,7 +1220,6 @@
- $(INSTALL) -c -m 644 README $(DOCDIR)
- $(INSTALL) -c -m 644 ChangeLog $(DOCDIR)
-
--GROFF=/usr/local/test/bin/groff
- GROFF=groff
- manual.pdf: $(MANPAGES)
- -$(GROFF) -t -man $(MANPAGES) | ps2pdf - $@
---- a/icc2ps/Makefile 2007-11-27 12:13:53.000000000 -0900
-+++ b/icc2ps/Makefile 2008-02-25 20:49:33.000000000 -0900
-@@ -1,11 +1,11 @@
- UNAME := $(shell uname)
--PREFIX= /usr
-+PREFIX= $(DESTDIR)/usr
- BIN= $(PREFIX)/bin
- SRC= icc2ps.c xgetopt.c
- LIB= cmscam97.c cmscnvrt.c cmserr.c cmsgamma.c cmsgmt.c cmsintrp.c cmsio1.c \
- cmslut.c cmsmatsh.c cmsmtrx.c cmsnamed.c cmspack.c cmspcs.c cmsps2.c \
- cmssamp.c cmswtpnt.c cmsxform.c cmsio0.c cmsvirt.c
--CFLAGS= -O3
-+CFLAGS?= -O3
- INSTALL=install
- ifeq ($(UNAME),SunOS)
- INSTALL=/usr/ucb/install
diff --git a/foo2zjs/foo2zjs-20091017-udevfwld.patch b/foo2zjs/foo2zjs-20091017-udevfwld.patch
deleted file mode 100644
index 70dcccc..0000000
--- a/foo2zjs/foo2zjs-20091017-udevfwld.patch
+++ /dev/null
@@ -1,236 +0,0 @@
---- a/Makefile 2009-10-19 01:15:01.000000000 -0700
-+++ b/Makefile 2009-10-19 01:21:11.000000000 -0700
-@@ -19,6 +19,10 @@
- PREFIX=/usr/local
- PREFIX=$(DESTDIR)/usr
-
-+# USB_PRINTERID is also installed there because it is needed by the FWloader
-+FWLOADERDIR=$(DESTDIR)/sbin
-+FIRMWAREDIR=$(DESTDIR)/lib/firmware
-+
- # Pathnames for this package...
- BIN=$(PREFIX)/bin
- SHAREZJS=$(PREFIX)/share/foo2zjs
-@@ -664,21 +668,21 @@
- fi; \
- done
- # foo2zjs Firmware files (if any)
-- $(INSTALL) $(LPuid) $(LPgid) -m 775 -d $(SHAREZJS)/firmware/
-+ $(INSTALL) $(LPuid) $(LPgid) -m 755 -d $(FIRMWAREDIR)/
- for i in sihp1*.img; do \
- if [ -f $$i ]; then \
- base=`basename $$i .img`; \
- ./arm2hpdl $$i >$$base.dl; \
-- $(INSTALL) -c -m 644 $$base.dl $(SHAREZJS)/firmware/; \
-+ $(INSTALL) -c -m 644 $$base.dl $(FIRMWAREDIR)/; \
- fi; \
- done
- # foo2xqx Firmware files (if any)
-- $(INSTALL) $(LPuid) $(LPgid) -m 775 -d $(SHAREXQX)/firmware/
-+ $(INSTALL) $(LPuid) $(LPgid) -m 755 -d $(FIRMWAREDIR)/
- for i in sihpP*.img; do \
- if [ -f $$i ]; then \
- base=`basename $$i .img`; \
- ./arm2hpdl $$i >$$base.dl; \
-- $(INSTALL) -c -m 644 $$base.dl $(SHAREXQX)/firmware/; \
-+ $(INSTALL) -c -m 644 $$base.dl $(FIRMWAREDIR)/; \
- fi; \
- done
- # foo2oak ICM files (if any)
-@@ -822,6 +826,8 @@
- UDEVDIR=$(DESTDIR)/etc/udev/rules.d
- RULES=hplj10xx.rules
- install-udev:
-+ [ -d $(FWLOADERDIR) ] || install -d -m 755 $(FWLOADERDIR)/
-+ install -c -m 755 foo2zjs-loadfw $(FWLOADERDIR)/
- [ -d $(UDEVDIR) ] || install -d -m 755 $(UDEVDIR)/
- install -c -m 644 $(RULES) $(UDEVDIR)/11-$(RULES)
-
---- foo2zjs.orig/foo2zjs-loadfw 1969-12-31 14:00:00.000000000 -1000
-+++ foo2zjs/foo2zjs-loadfw 2008-02-25 20:09:13.000000000 -0900
-@@ -0,0 +1,127 @@
-+#!/bin/sh
-+
-+# foo2zjs-loadfw:
-+#
-+# Hotplug script for HP1000/1005/1020 USB laser printers. The model number
-+# that this script deals with is determined from the udev env.
-+#
-+# Used to download firmware automatically into the printer when it
-+# is powered up or plugged into the USB port.
-+#
-+# The inspiration fo this script is from:
-+# Oscar Santacreu. Alicante-Spain (2002)
-+# Mike Morgan (2004)
-+# Modified by Stefan Schweizer (2005) to work as a udev-RUN-script
-+
-+#
-+# Directory to find downloadable HP firmware files sihpMMMM.dl
-+#
-+FWDIR=/lib/firmware
-+
-+#
-+# Program used to determine USB id information
-+#
-+USBID=/bin/usb_printerid
-+
-+#
-+# Timeout to load firmware
-+#
-+TIMEOUT=6
-+
-+#
-+# Figure out how to log our messages
-+#
-+if [ -t 1 ]; then
-+ # Running from a tty...
-+ log() {
-+ echo "$0: $@"
-+ }
-+elif [ -x /usr/bin/logger ]; then
-+ # Have logger...
-+ log() {
-+ logger -t "$0" -- "$@"
-+ }
-+else
-+ # No logger...
-+ log() {
-+ echo "$0: $@" >> /var/log/messages
-+ }
-+fi
-+
-+#
-+# Figure out the model number from the name of this script
-+#
-+case "$1" in
-+1000)
-+ MODEL=1000
-+ MODELNAME="hp LaserJet $MODEL"
-+ ;;
-+1005)
-+ MODEL=1005
-+ MODELNAME="hp LaserJet $MODEL"
-+ ;;
-+1018)
-+ MODEL=1018
-+ MODELNAME="HP LaserJet $MODEL"
-+ ;;
-+1020)
-+ MODEL=1020
-+ MODELNAME="HP LaserJet $MODEL"
-+ ;;
-+*)
-+ log "Only HP LaserJet 1000, 1005, 1018 and 1020 are supported"
-+ log "You need to supply one of these on the cmdline: $0 10**"
-+ exit
-+ ;;
-+esac
-+
-+if [ -n "$2" ]; then
-+ DEVNAME=$2
-+elif [ -n "$DEVNAME" ]; then
-+ log 'using $DEVNAME'
-+else
-+ log "You need to either have $DEVNAME set in the environment or supply it on the cmdline, like:"
-+ log "$0 10** /dev/usb/lp0"
-+ exit 1
-+fi
-+
-+#
-+# Procedure to load a single device with firmware
-+#
-+load1() {
-+ fw="$FWDIR/sihp$MODEL.dl"
-+ if [ ! -f "$fw" ]; then
-+ log "Missing HP LaserJet $MODEL firmware file $fw"
-+ log "...read foo2zjs installation instructions and run ./getweb $MODEL"
-+ return 1
-+ fi
-+
-+ log "loading HP LaserJet $MODEL firmware $fw to $DEVNAME ..."
-+ if cat $fw > $DEVNAME; then
-+ sleep $TIMEOUT
-+ log "... download successful."
-+ else
-+ log "... download failed."
-+ fi
-+ return 0
-+}
-+
-+#
-+# OK, now download firmware to any printers that need it
-+#
-+if [ -x $USBID ]; then
-+ if $USBID $DEVNAME | grep "$MODELNAME" 2> /dev/null; then
-+ # This is a LaserJet 100x
-+ if $USBID $DEVNAME | grep 'FWVER' 2> /dev/null; then
-+ log "HP LaserJet $MODEL firmware already loaded into $DEVNAME"
-+ else
-+ # Firmware is not yet loaded
-+ load1 "$DEVNAME"
-+ fi
-+ else
-+ log "No supported printer found."
-+ fi
-+else
-+ log "HP LaserJet $MODEL firmware was not downloaded..."
-+ log "...couldn't find $USBID"
-+fi
---- a/hplj1000 2009-09-08 09:08:29.000000000 -0700
-+++ b/hplj1000 2009-10-19 01:35:11.000000000 -0700
-@@ -35,7 +35,7 @@
- #
- # Directory to find downloadable HP firmware files sihpMMMM.dl
- #
--FWDIR=/usr/share/foo2zjs/firmware
-+FWDIR=/lib/firmware
-
- #
- # Program used to determine USB printer id information
---- a/hplj10xx.rules 2008-06-05 02:50:38.000000000 -0700
-+++ b/hplj10xx.rules 2009-10-19 01:47:21.000000000 -0700
-@@ -1,36 +1,8 @@
--#Own udev rule for HP Laserjet 1000
--KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \
-- SYSFS{product}=="hp LaserJet 1000", NAME="usb/%k", \
-- SYMLINK+="hplj1000-%n", MODE="0666", RUN+="/etc/hotplug/usb/hplj1000"
--#Own udev rule for HP Laserjet 1005
--KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \
-- SYSFS{product}=="hp LaserJet 1005 series", NAME="usb/%k", \
-- SYMLINK+="hplj1005-%n", MODE="0666", RUN+="/etc/hotplug/usb/hplj1005"
--#Own udev rule for HP Laserjet 1018
--KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \
-- SYSFS{product}=="HP LaserJet 1018", NAME="usb/%k", \
-- SYMLINK+="hplj1018-%n", MODE="0666", RUN+="/etc/hotplug/usb/hplj1018"
--#Own udev rule for HP Laserjet 1020
--KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \
-- SYSFS{product}=="HP LaserJet 1020", NAME="usb/%k", \
-- SYMLINK+="hplj1020-%n", MODE="0666", RUN+="/etc/hotplug/usb/hplj1020"
--#Own udev rule for HP Laserjet P1005
--KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \
-- SYSFS{product}=="HP LaserJet P1005", NAME="usb/%k", \
-- SYMLINK+="hpljP1005-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1005"
--#Own udev rule for HP Laserjet P1006
--KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \
-- SYSFS{product}=="HP LaserJet P1006", NAME="usb/%k", \
-- SYMLINK+="hpljP1006-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1006"
--#Own udev rule for HP Laserjet P1007
--KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \
-- SYSFS{product}=="HP LaserJet P1007", NAME="usb/%k", \
-- SYMLINK+="hpljP1007-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1007"
--#Own udev rule for HP Laserjet P1008
--KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \
-- SYSFS{product}=="HP LaserJet P1008", NAME="usb/%k", \
-- SYMLINK+="hpljP1008-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1008"
--#Own udev rule for HP Laserjet P1505
--KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \
-- SYSFS{product}=="HP LaserJet P1505", NAME="usb/%k", \
-- SYMLINK+="hpljP1505-%n", MODE="0666", RUN+="/etc/hotplug/usb/hpljP1505"
-+ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0", \
-+ ATTRS{idProduct}=="0517", RUN+="/sbin/foo2zjs-loadfw 1000 $tempnode"
-+ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0", \
-+ ATTRS{idProduct}=="1317", RUN+="/sbin/foo2zjs-loadfw 1005 $tempnode"
-+ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0", \
-+ ATTRS{idProduct}=="4117", RUN+="/sbin/foo2zjs-loadfw 1018 $tempnode"
-+ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0", \
-+ ATTRS{idProduct}=="2b17", RUN+="/sbin/foo2zjs-loadfw 1020 $tempnode"
diff --git a/foo2zjs/foo2zjs.install b/foo2zjs/foo2zjs.install
deleted file mode 100644
index e7a45ec..0000000
--- a/foo2zjs/foo2zjs.install
+++ /dev/null
@@ -1,19 +0,0 @@
-post_install() {
- echo "-------------------------"
- echo "You need to restart cups."
- echo "-------------------------"
- echo
- echo "You need to add your user to the lp group."
-}
-
-post_upgrade() {
- echo "-------------------------"
- echo "You need to restart cups."
- echo "-------------------------"
-}
-
-post_remove() {
- echo "-------------------------"
- echo "You need to restart cups."
- echo "-------------------------"
-}
diff --git a/foo2zjs/makefile.patch b/foo2zjs/makefile.patch
deleted file mode 100644
index b2d99e6..0000000
--- a/foo2zjs/makefile.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-Binary files foo2zjsold/.Makefile.swp and foo2zjs/.Makefile.swp differ
-diff -ruN foo2zjsold/Makefile foo2zjs/Makefile
---- foo2zjsold/Makefile 2009-02-23 20:18:37.793066344 +0100
-+++ foo2zjs/Makefile 2009-02-23 20:21:59.653063789 +0100
-@@ -810,28 +810,18 @@
- #
-
- install-hotplug-prog:
-- if [ -d $(UDEVDIR) ]; then \
-- $(INSTALL) -c -m 644 $(RULES) $(UDEVDIR)/11-$(RULES); \
-- fi
-- [ -d $(USBDIR) ] || $(INSTALL) -d -m 755 $(USBDIR)/
-- $(INSTALL) -c -m 755 hplj1000 $(USBDIR)/
-- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hplj1005
-- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hplj1018
-- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hplj1020
-- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hpljP1005
-- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hpljP1006
-- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hpljP1007
-- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hpljP1008
-- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hpljP1505
-- $(USBDIR)/hplj1000 install-usermap
-- $(USBDIR)/hplj1005 install-usermap
-- $(USBDIR)/hplj1018 install-usermap
-- $(USBDIR)/hplj1020 install-usermap
-- $(USBDIR)/hpljP1005 install-usermap
-- $(USBDIR)/hpljP1006 install-usermap
-- $(USBDIR)/hpljP1007 install-usermap
-- $(USBDIR)/hpljP1008 install-usermap
-- $(USBDIR)/hpljP1505 install-usermap
-+ [ -d $(DESTDIR)/$(UDEVDIR) ] || $(INSTALL) -d -m 755 $(DESTDIR)/$(UDEVDIR)/11-$(RULES)
-+ $(INSTALL) -c -m 644 $(RULES) $(DESTDIR)/$(UDEVDIR)/11-$(RULES)
-+ [ -d $(DESTDIR)/$(USBDIR) ] || $(INSTALL) -d -m 755 $(DESTDIR)/$(USBDIR)/
-+ $(INSTALL) -c -m 755 hplj1000 $(DESTDIR)/$(USBDIR)/
-+ ln -sf $(USBDIR)/hplj1000 $(DESTDIR)/$(USBDIR)/hplj1005
-+ ln -sf $(USBDIR)/hplj1000 $(DESTDIR)/$(USBDIR)/hplj1018
-+ ln -sf $(USBDIR)/hplj1000 $(DESTDIR)/$(USBDIR)/hplj1020
-+ ln -sf $(USBDIR)/hplj1000 $(DESTDIR)/$(USBDIR)/hpljP1005
-+ ln -sf $(USBDIR)/hplj1000 $(DESTDIR)/$(USBDIR)/hpljP1006
-+ ln -sf $(USBDIR)/hplj1000 $(DESTDIR)/$(USBDIR)/hpljP1007
-+ ln -sf $(USBDIR)/hplj1000 $(DESTDIR)/$(USBDIR)/hpljP1008
-+ ln -sf $(USBDIR)/hplj1000 $(DESTDIR)/$(USBDIR)/hpljP1505
-
- cups: FRC
- if [ -x /etc/init.d/cups ]; then \