summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Hajdan <phajdan.jr@gentoo.org>2011-06-08 14:08:23 +0000
committerPaweł Hajdan <phajdan.jr@gentoo.org>2011-06-08 14:08:23 +0000
commite05fa7e531c6b3c0594e183086862aabbc01fef1 (patch)
treef0ec50b03b8b3cb3d53e744ee6cf6cf58304446c /net-print
parentRemove "You should enable -g (or higher) for debugging" message from the deve... (diff)
downloadgentoo-2-e05fa7e531c6b3c0594e183086862aabbc01fef1.tar.gz
gentoo-2-e05fa7e531c6b3c0594e183086862aabbc01fef1.tar.bz2
gentoo-2-e05fa7e531c6b3c0594e183086862aabbc01fef1.zip
Remove non-live ebuilds, they are broken by design. Discussion: <http://archives.gentoo.org/gentoo-dev/msg_9ff2c9974486981d84816f74c7eea0d9.xml>
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'net-print')
-rw-r--r--net-print/foo2zjs/ChangeLog11
-rw-r--r--net-print/foo2zjs/files/foo2zjs-20081129-Makefile.patch145
-rw-r--r--net-print/foo2zjs/files/foo2zjs-20081129-udevfwld.patch241
-rw-r--r--net-print/foo2zjs/files/foo2zjs-Makefile-20080225.diff185
-rw-r--r--net-print/foo2zjs/files/foo2zjs-udevfwld-20080225.diff232
-rw-r--r--net-print/foo2zjs/foo2zjs-20080225.ebuild117
-rw-r--r--net-print/foo2zjs/foo2zjs-20081129.ebuild127
7 files changed, 10 insertions, 1048 deletions
diff --git a/net-print/foo2zjs/ChangeLog b/net-print/foo2zjs/ChangeLog
index 71b13c7b8f1f..1ca68c572469 100644
--- a/net-print/foo2zjs/ChangeLog
+++ b/net-print/foo2zjs/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-print/foo2zjs
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foo2zjs/ChangeLog,v 1.42 2011/06/02 15:15:55 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/foo2zjs/ChangeLog,v 1.43 2011/06/08 14:08:23 phajdan.jr Exp $
+
+ 08 Jun 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org>
+ -foo2zjs-20080225.ebuild, -files/foo2zjs-Makefile-20080225.diff,
+ -files/foo2zjs-udevfwld-20080225.diff, -foo2zjs-20081129.ebuild,
+ -files/foo2zjs-20081129-Makefile.patch,
+ -files/foo2zjs-20081129-udevfwld.patch:
+ Remove non-live ebuilds, they are broken by design. Discussion:
+ <http://archives.gentoo.org/gentoo-dev/msg_9ff2c9974486981d84816f74c7eea0d9.x
+ ml>
02 Jun 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> foo2zjs-99999999.ebuild:
Install missing ppd files, bug #356695 comment #5 by Mads <mads@ab3.no>. Bump
diff --git a/net-print/foo2zjs/files/foo2zjs-20081129-Makefile.patch b/net-print/foo2zjs/files/foo2zjs-20081129-Makefile.patch
deleted file mode 100644
index 8391dad872c3..000000000000
--- a/net-print/foo2zjs/files/foo2zjs-20081129-Makefile.patch
+++ /dev/null
@@ -1,145 +0,0 @@
-diff -urN foo2zjs.orig/icc2ps/Makefile foo2zjs/icc2ps/Makefile
---- foo2zjs.orig/icc2ps/Makefile 2007-11-27 22:13:53.000000000 +0100
-+++ foo2zjs/icc2ps/Makefile 2008-12-02 13:51:12.000000000 +0100
-@@ -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 -urN foo2zjs.orig/Makefile foo2zjs/Makefile
---- foo2zjs.orig/Makefile 2008-09-23 15:56:20.000000000 +0200
-+++ foo2zjs/Makefile 2008-12-02 14:00:42.000000000 +0100
-@@ -251,7 +251,7 @@
- endif
-
- # Compiler flags
--CFLAGS += -O2 -Wall
-+CFLAGS ?= -O2 -Wall
- #CFLAGS += -g
-
- #
-@@ -543,14 +543,15 @@
- 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
- #
- $(INSTALL) -d $(BIN)
- $(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,
-@@ -570,6 +571,7 @@
- #
- # Remove obsolete foomatic database files from previous versions
- #
-+ mkdir -p $(FOODB)/opt/
- rm -f $(FOODB)/opt/foo2zjs-Media.xml
- rm -f $(FOODB)/opt/foo2zjs-PaperSize.xml
- rm -f $(FOODB)/opt/foo2zjs-Source.xml
-@@ -583,6 +585,7 @@
- # Install current database files
- #
- @if [ -d $(FOODB) ]; then \
-+ [ -d $(FOODB)/$$dir/ ] || install -d -m 755 $(FOODB)/$$dir/; \
- for dir in driver printer opt; do \
- echo install -m 644 foomatic-db/$$dir/*.xml $(FOODB)/$$dir/; \
- $(INSTALL) -c -m 644 foomatic-db/$$dir/*.xml $(FOODB)/$$dir/; \
-@@ -601,10 +604,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
-
-@@ -736,13 +739,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 \
-@@ -789,10 +785,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:
- #
-@@ -810,9 +804,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
-@@ -823,15 +814,12 @@
- 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
-+ install -c -m 644 hplj.usermap $(USBDIR)/
-+UDEVDIR=$(DESTDIR)/etc/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 \
-@@ -1223,7 +1211,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 - $@
diff --git a/net-print/foo2zjs/files/foo2zjs-20081129-udevfwld.patch b/net-print/foo2zjs/files/foo2zjs-20081129-udevfwld.patch
deleted file mode 100644
index d0280364afea..000000000000
--- a/net-print/foo2zjs/files/foo2zjs-20081129-udevfwld.patch
+++ /dev/null
@@ -1,241 +0,0 @@
-diff -urN foo2zjs/foo2zjs-loadfw foo2zjs.new/foo2zjs-loadfw
---- foo2zjs/foo2zjs-loadfw 1970-01-01 01:00:00.000000000 +0100
-+++ foo2zjs.new/foo2zjs-loadfw 2008-11-29 19:25:48.000000000 +0100
-@@ -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
-diff -urN foo2zjs/hplj10xx.rules foo2zjs.new/hplj10xx.rules
---- foo2zjs/hplj10xx.rules 2008-06-05 11:50:38.000000000 +0200
-+++ foo2zjs.new/hplj10xx.rules 2008-11-29 19:24:04.000000000 +0100
-@@ -1,36 +1,9 @@
--#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 -urN foo2zjs/hplj1000 foo2zjs.new/hplj1000
---- foo2zjs/hplj1000 2008-06-05 12:02:14.000000000 +0200
-+++ foo2zjs.new/hplj1000 2008-11-29 19:22:31.000000000 +0100
-@@ -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
-diff -urN foo2zjs/Makefile foo2zjs.new/Makefile
---- foo2zjs/Makefile 2008-11-29 19:41:32.000000000 +0100
-+++ foo2zjs.new/Makefile 2008-11-29 19:21:11.000000000 +0100
-@@ -20,6 +20,10 @@
- PREFIX=/usr
- 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
-@@ -660,21 +664,21 @@
- fi; \
- done
- # foo2zjs Firmware files (if any)
-- $(INSTALL) $(LPuid) $(LPgid) -m 775 -d $(SHAREZJS)/firmware/
-+ $(INSTALL) $(LPuid) $(LPgid) -m 775 -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 775 -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)
-@@ -817,6 +821,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)
-
diff --git a/net-print/foo2zjs/files/foo2zjs-Makefile-20080225.diff b/net-print/foo2zjs/files/foo2zjs-Makefile-20080225.diff
deleted file mode 100644
index e528f0e0da46..000000000000
--- a/net-print/foo2zjs/files/foo2zjs-Makefile-20080225.diff
+++ /dev/null
@@ -1,185 +0,0 @@
-diff -Nur foo2zjs.orig/Makefile foo2zjs/Makefile
---- foo2zjs.orig/Makefile 2008-02-16 05:58:26.000000000 -0900
-+++ foo2zjs/Makefile 2008-02-25 20:50:15.000000000 -0900
-@@ -17,7 +17,7 @@
-
- # Installation prefix...
- PREFIX=/usr/local
--PREFIX=/usr
-+PREFIX=$(DESTDIR)/usr
-
- # Pathnames for this package...
- BIN=$(PREFIX)/bin
-@@ -34,7 +34,7 @@
- INSTALL=install
-
- # Pathnames for referenced packages...
--FOODB=/usr/share/foomatic/db/source
-+FOODB=$(PREFIX)/share/foomatic/db/source
-
- # User ID's
- LPuid=-olp
-@@ -245,7 +245,7 @@
- endif
-
- # Compiler flags
--CFLAGS += -O2 -Wall
-+CFLAGS ?= -O2 -Wall
- #CFLAGS += -g
-
- #
-@@ -537,12 +537,14 @@
- UDEVBIN=/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
- #
- $(INSTALL) -c $(PROGS) $(SHELLS) $(BIN)/
- if [ "$(BINPROGS)" != "" ]; then \
-- $(INSTALL) -c $(BINPROGS) $(UDEVBIN); \
-+ install -c $(BINPROGS) $(DESTDIR)/bin/; \
- fi
- #
- # Install gamma correction files. These are just templates,
-@@ -575,6 +577,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 \
-@@ -592,10 +595,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
-
-@@ -709,9 +712,9 @@
- fi; \
- done
-
--MODEL=/usr/share/cups/model
-+MODEL=$(PREFIX)/share/cups/model
- LOCALMODEL=/usr/local/share/cups/model
--PPD=/usr/share/ppd
-+PPD=$(PREFIX)/share/ppd
- VARPPD=/var/lp/ppd
- install-ppd:
- #
-@@ -727,13 +730,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 \
-@@ -752,9 +748,9 @@
- done; \
- fi
-
--APPL=/usr/share/applications
--OLDAPPL=/usr/share/gnome/apps/System
--PIXMAPS=/usr/share/pixmaps
-+APPL=$(PREFIX)/usr/share/applications
-+OLDAPPL=$(PREFIX)/usr/share/gnome/apps/System
-+PIXMAPS=$(PREFIX)/usr/share/pixmaps
- install-desktop:
- #
- # Install GNOME desktop
-@@ -777,10 +773,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:
- #
-@@ -798,9 +792,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
-@@ -809,13 +800,13 @@
- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hpljP1005
- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hpljP1006
- 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)/hpljP1505 install-usermap
-+ install -c -m 644 hplj.usermap $(USBDIR)/
-+
-+UDEVDIR=$(DESTDIR)/etc/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 \
-@@ -1169,7 +1160,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 - $@
-diff -Nur foo2zjs.orig/hplj.usermap foo2zjs/hplj.usermap
---- foo2zjs.orig/hplj.usermap 1969-12-31 14:00:00.000000000 -1000
-+++ foo2zjs/hplj.usermap 2008-02-25 20:49:33.000000000 -0900
-@@ -0,0 +1,4 @@
-+hplj1000 0x0003 0x03f0 0x0517 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
-+hplj1005 0x0003 0x03f0 0x1317 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
-+hplj1018 0x0003 0x03f0 0x4117 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
-+hplj1020 0x0003 0x03f0 0x2b17 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
-diff -Nur foo2zjs.orig/icc2ps/Makefile foo2zjs/icc2ps/Makefile
---- foo2zjs.orig/icc2ps/Makefile 2007-11-27 12:13:53.000000000 -0900
-+++ foo2zjs/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/net-print/foo2zjs/files/foo2zjs-udevfwld-20080225.diff b/net-print/foo2zjs/files/foo2zjs-udevfwld-20080225.diff
deleted file mode 100644
index d5c1e5ee87b1..000000000000
--- a/net-print/foo2zjs/files/foo2zjs-udevfwld-20080225.diff
+++ /dev/null
@@ -1,232 +0,0 @@
-diff -Nur foo2zjs.orig/Makefile foo2zjs/Makefile
---- foo2zjs.orig/Makefile 2008-02-25 20:10:06.000000000 -0900
-+++ foo2zjs/Makefile 2008-02-25 20:17:15.000000000 -0900
-@@ -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
-@@ -652,21 +656,21 @@
- fi; \
- done
- # foo2zjs Firmware files (if any)
-- $(INSTALL) $(LPuid) $(LPgid) -m 775 -d $(SHAREZJS)/firmware/
-+ $(INSTALL) $(LPuid) $(LPgid) -m 775 -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 775 -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)
-@@ -805,6 +809,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)
-
-diff -Nur foo2zjs.orig/foo2zjs-loadfw foo2zjs/foo2zjs-loadfw
---- 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
-diff -Nur foo2zjs.orig/hplj1000 foo2zjs/hplj1000
---- foo2zjs.orig/hplj1000 2007-11-25 02:55:09.000000000 -0900
-+++ foo2zjs/hplj1000 2008-02-25 20:09:13.000000000 -0900
-@@ -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
-diff -Nur foo2zjs.orig/hplj10xx.rules foo2zjs/hplj10xx.rules
---- foo2zjs.orig/hplj10xx.rules 2007-11-24 22:15:34.000000000 -0900
-+++ foo2zjs/hplj10xx.rules 2008-02-25 20:18:19.000000000 -0900
-@@ -1,28 +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 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/net-print/foo2zjs/foo2zjs-20080225.ebuild b/net-print/foo2zjs/foo2zjs-20080225.ebuild
deleted file mode 100644
index a7f436d71f8c..000000000000
--- a/net-print/foo2zjs/foo2zjs-20080225.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foo2zjs/foo2zjs-20080225.ebuild,v 1.5 2011/06/02 10:36:52 dilfridge Exp $
-
-inherit eutils
-
-DESCRIPTION="Support for printing to ZjStream-based printers"
-HOMEPAGE="http://foo2zjs.rkkda.com/"
-
-# extracted by http://gentooexperimental.org/~genstef/dist/foo2zjs-helper.sh
-DEVICES=( "hp2600n" "hp1600" "hp1500" "km2530" "km2490" "km2480" "xp6115"
-"km2430" "km2300" "km2200" "kmcpwl" "sa300" "sa2160" "sa3160" "xp6110" "lm500"
-"oki3200" "oki3300" "oki3400" "oki5100" "oki5200" "oki5500" "oki5600" "oki5800"
-"hp1020" "hp1018" "hp1005" "hp1000" "hpp1505" "hpp1006" "hpp1005" )
-URIS=(
-"http://foo2hp.rkkda.com/icm/hpclj2600n.tar.gz
-http://foo2zjs.rkkda.com/icm/km2430.tar.gz"
-"http://foo2hp.rkkda.com/icm/hpclj2600n.tar.gz
-http://foo2zjs.rkkda.com/icm/km2430.tar.gz"
-"http://foo2hp.rkkda.com/icm/hpclj2600n.tar.gz
-http://foo2zjs.rkkda.com/icm/km2430.tar.gz"
-"http://foo2lava.rkkda.com/icm/km2530.tar.gz"
-"http://foo2lava.rkkda.com/icm/km2530.tar.gz"
-"http://foo2lava.rkkda.com/icm/km2530.tar.gz"
-"http://foo2lava.rkkda.com/icm/km2530.tar.gz"
-"http://foo2zjs.rkkda.com/icm/km2430.tar.gz"
-"ftp://ftp.minolta-qms.com/pub/crc/out_going/other/m23dlicc.exe
-http://foo2zjs.rkkda.com/icm/km2430.tar.gz"
-"ftp://ftp.minolta-qms.com/pub/crc/out_going/win2000/m22dlicc.exe"
-"ftp://ftp.minolta-qms.com/pub/crc/out_going/windows/cpplxp.exe"
-"http://foo2qpdl.rkkda.com/icm/samclp300.tar.gz"
-"http://foo2qpdl.rkkda.com/icm/samclp300.tar.gz"
-"http://foo2qpdl.rkkda.com/icm/samclp300.tar.gz"
-"http://foo2qpdl.rkkda.com/icm/samclp300.tar.gz"
-"http://foo2slx.rkkda.com/icm/lexc500.tar.gz"
-"http://foo2hiperc.rkkda.com/icm/okic3200.tar.gz"
-"http://foo2hiperc.rkkda.com/icm/okic3400.tar.gz"
-"http://foo2hiperc.rkkda.com/icm/okic3400.tar.gz"
-"http://foo2hiperc.rkkda.com/icm/okic3200.tar.gz"
-"http://foo2hiperc.rkkda.com/icm/okic3200.tar.gz"
-"http://foo2hiperc.rkkda.com/icm/okic5600.tar.gz"
-"http://foo2hiperc.rkkda.com/icm/okic5600.tar.gz"
-"http://foo2hiperc.rkkda.com/icm/okic5600.tar.gz"
-"http://foo2zjs.rkkda.com/firmware/sihp1020.tar.gz"
-"http://foo2zjs.rkkda.com/firmware/sihp1018.tar.gz"
-"http://foo2zjs.rkkda.com/firmware/sihp1005.tar.gz"
-"http://foo2zjs.rkkda.com/firmware/sihp1000.tar.gz"
-"http://foo2zjs.rkkda.com/firmware/sihpP1505.tar.gz"
-"http://foo2zjs.rkkda.com/firmware/sihpP1006.tar.gz"
-"http://foo2zjs.rkkda.com/firmware/sihpP1005.tar.gz"
-)
-
-SRC_URI="http://gentooexperimental.org/~genstef/dist/${P}.tar.gz"
-IUSE="cups foomaticdb usb"
-for ((DEV=0; DEV < ${#DEVICES[*]}; DEV++)); do
- SRC_URI="${SRC_URI} foo2zjs_devices_${DEVICES[DEV]}? ( ${URIS[DEV]} )"
- IUSE="${IUSE} foo2zjs_devices_${DEVICES[DEV]}"
- ALL_BEGIN="${ALL_BEGIN} !foo2zjs_devices_${DEVICES[DEV]}? ("
- ALL_MIDDLE="${ALL_MIDDLE} ${URIS[DEV]}"
- ALL_END="${ALL_END} )"
-done
-SRC_URI="${SRC_URI}${ALL_BEGIN}${ALL_MIDDLE}${ALL_END}"
-RESTRICT="mirror"
-LICENSE="GPL-2"
-SLOT="0"
-DEPEND="app-arch/unzip
- app-text/ghostscript-gpl"
-RDEPEND="cups? ( net-print/cups )
- foomaticdb? ( net-print/foomatic-db-engine )
- net-print/foomatic-filters
- sys-fs/udev"
-KEYWORDS="~x86 ~amd64 ~ppc"
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- unpack ${P}.tar.gz
-
- # link getweb files in ${S} to get unpacked
- for i in ${A}
- do
- ln -s "${DISTDIR}"/${i} "${S}"
- done
-
- cd "${S}"
- epatch "${FILESDIR}"/foo2zjs-Makefile-20080225.diff
- epatch "${FILESDIR}"/foo2zjs-udevfwld-20080225.diff
-}
-
-src_compile() {
- emake getweb || die "Failed building getweb script"
-
- # remove wget as we got the firmware with portage
- sed -i -e "s/.*wget .*//" \
- -e 's/.*rm $.*//' \
- -e "s/error \"Couldn't dow.*//" getweb
-
- # unpack files
- GOT=0;
- for ((DEV=0; DEV < ${#DEVICES[*]}; DEV++)); do
- if use foo2zjs_devices_${DEVICES[DEV]}; then
- ./getweb ${DEVICES[DEV]:2}
- GOT=1
- fi
- done
- if [ ${GOT} == 0 ]; then ./getweb all; fi
-
- emake || die "emake failed"
-}
-
-src_install() {
- use foomaticdb && dodir /usr/share/foomatic/db/source
-
- use cups && dodir /usr/share/cups/model
-
- emake DESTDIR="${D}" install install-udev \
- || die "emake install failed"
-}
diff --git a/net-print/foo2zjs/foo2zjs-20081129.ebuild b/net-print/foo2zjs/foo2zjs-20081129.ebuild
deleted file mode 100644
index e5e48a702280..000000000000
--- a/net-print/foo2zjs/foo2zjs-20081129.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foo2zjs/foo2zjs-20081129.ebuild,v 1.3 2011/06/02 10:36:52 dilfridge Exp $
-
-inherit eutils
-
-DESCRIPTION="Support for printing to ZjStream-based printers"
-HOMEPAGE="http://foo2zjs.rkkda.com/"
-
-# extracted by http://gentooexperimental.org/~genstef/dist/foo2zjs-helper.sh
-DEVICES=( "hp2600n" "hp1600" "hp1500" "hp1215" "km2530" "km2490" "km2480"
-"xp6115" "km2430" "km2300" "km2200" "kmcpwl" "sa300" "sa315" "sa2160"
-"sa3160" "xp6110" "lm500" "oki3200" "oki3300" "oki3400" "oki3530" "oki5100"
-"oki5200" "oki5500" "oki5600" "oki5800" "hp1020" "hp1018" "hp1005" "hp1000"
-"hpp1505" "hpp1008" "hpp1007" "hpp1006" "hpp1005" )
-#"sa610" has no file to download
-URIS=(
-"http://foo2hp.rkkda.com/icm/hpclj2600n.tar.gz
-http://foo2zjs.rkkda.com/icm/km2430.tar.gz"
-"http://foo2hp.rkkda.com/icm/hpclj2600n.tar.gz
-http://foo2zjs.rkkda.com/icm/km2430.tar.gz"
-"http://foo2hp.rkkda.com/icm/hpclj2600n.tar.gz
-http://foo2zjs.rkkda.com/icm/km2430.tar.gz"
-"http://foo2hp.rkkda.com/icm/hpclj2600n.tar.gz
-http://foo2zjs.rkkda.com/icm/km2430.tar.gz"
-"http://foo2lava.rkkda.com/icm/km2530.tar.gz"
-"http://foo2lava.rkkda.com/icm/km2530.tar.gz"
-"http://foo2lava.rkkda.com/icm/km2530.tar.gz"
-"http://foo2lava.rkkda.com/icm/km2530.tar.gz"
-"http://foo2zjs.rkkda.com/icm/km2430.tar.gz"
-"ftp://ftp.minolta-qms.com/pub/crc/out_going/other/m23dlicc.exe
-http://foo2zjs.rkkda.com/icm/km2430.tar.gz"
-"ftp://ftp.minolta-qms.com/pub/crc/out_going/win2000/m22dlicc.exe"
-"ftp://ftp.minolta-qms.com/pub/crc/out_going/windows/cpplxp.exe"
-"http://foo2qpdl.rkkda.com/icm/samclp300.tar.gz"
-"http://foo2qpdl.rkkda.com/icm/samclp300.tar.gz"
-"http://foo2qpdl.rkkda.com/icm/samclp300.tar.gz"
-"http://foo2qpdl.rkkda.com/icm/samclp300.tar.gz"
-"http://foo2qpdl.rkkda.com/icm/samclp300.tar.gz"
-"http://foo2slx.rkkda.com/icm/lexc500.tar.gz"
-"http://foo2hiperc.rkkda.com/icm/okic3200.tar.gz"
-"http://foo2hiperc.rkkda.com/icm/okic3400.tar.gz"
-"http://foo2hiperc.rkkda.com/icm/okic3400.tar.gz"
-"http://foo2hiperc.rkkda.com/icm/okic3400.tar.gz"
-"http://foo2hiperc.rkkda.com/icm/okic3200.tar.gz"
-"http://foo2hiperc.rkkda.com/icm/okic3200.tar.gz"
-"http://foo2hiperc.rkkda.com/icm/okic5600.tar.gz"
-"http://foo2hiperc.rkkda.com/icm/okic5600.tar.gz"
-"http://foo2hiperc.rkkda.com/icm/okic5600.tar.gz"
-"http://foo2zjs.rkkda.com/firmware/sihp1020.tar.gz"
-"http://foo2zjs.rkkda.com/firmware/sihp1018.tar.gz"
-"http://foo2zjs.rkkda.com/firmware/sihp1005.tar.gz"
-"http://foo2zjs.rkkda.com/firmware/sihp1000.tar.gz"
-"http://foo2zjs.rkkda.com/firmware/sihpP1505.tar.gz"
-"http://foo2zjs.rkkda.com/firmware/sihpP1006.tar.gz"
-"http://foo2zjs.rkkda.com/firmware/sihpP1005.tar.gz"
-"http://foo2zjs.rkkda.com/firmware/sihpP1006.tar.gz"
-"http://foo2zjs.rkkda.com/firmware/sihpP1005.tar.gz"
-)
-
-SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.gz"
-IUSE="cups foomaticdb usb"
-for ((DEV=0; DEV < ${#DEVICES[*]}; DEV++)); do
- SRC_URI="${SRC_URI} foo2zjs_devices_${DEVICES[DEV]}? ( ${URIS[DEV]} )"
- IUSE="${IUSE} foo2zjs_devices_${DEVICES[DEV]}"
- ALL_BEGIN="${ALL_BEGIN} !foo2zjs_devices_${DEVICES[DEV]}? ("
- ALL_MIDDLE="${ALL_MIDDLE} ${URIS[DEV]}"
- ALL_END="${ALL_END} )"
-done
-SRC_URI="${SRC_URI}${ALL_BEGIN}${ALL_MIDDLE}${ALL_END}"
-
-LICENSE="GPL-2"
-# due to those firmwares/icms/etc...
-RESTRICT="mirror"
-SLOT="0"
-DEPEND="app-arch/unzip
- app-text/ghostscript-gpl"
-RDEPEND="cups? ( net-print/cups )
- foomaticdb? ( net-print/foomatic-db-engine )
- net-print/foomatic-filters
- sys-fs/udev"
-KEYWORDS="~x86 ~amd64 ~ppc"
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- unpack ${P}.tar.gz
-
- # link getweb files in ${S} to get unpacked
- for i in ${A}
- do
- ln -s "${DISTDIR}"/${i} "${S}"
- done
-
- cd "${S}"
- epatch "${FILESDIR}"/${P}-Makefile.patch
- epatch "${FILESDIR}"/${P}-udevfwld.patch
-}
-
-src_compile() {
- emake getweb || die "Failed building getweb script"
-
- # remove wget as we got the firmware with portage
- sed -i -e "s/.*wget .*//" \
- -e 's/.*rm $.*//' \
- -e "s/error \"Couldn't dow.*//" getweb
-
- # unpack files
- GOT=0;
- for ((DEV=0; DEV < ${#DEVICES[*]}; DEV++)); do
- if use foo2zjs_devices_${DEVICES[DEV]}; then
- ./getweb ${DEVICES[DEV]:2}
- GOT=1
- fi
- done
- if [ ${GOT} == 0 ]; then ./getweb all; fi
-
- emake || die "emake failed"
-}
-
-src_install() {
- use foomaticdb && dodir /usr/share/foomatic/db/source
-
- use cups && dodir /usr/share/cups/model
-
- emake DESTDIR="${D}" install install-udev \
- || die "emake install failed"
-}