summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-print/foo2zjs')
-rw-r--r--net-print/foo2zjs/ChangeLog8
-rw-r--r--net-print/foo2zjs/Manifest28
-rw-r--r--net-print/foo2zjs/files/digest-foo2zjs-2007101236
-rw-r--r--net-print/foo2zjs/foo2zjs-20071012.ebuild103
4 files changed, 160 insertions, 15 deletions
diff --git a/net-print/foo2zjs/ChangeLog b/net-print/foo2zjs/ChangeLog
index b89c2b466bcc..cbc36c4f802b 100644
--- a/net-print/foo2zjs/ChangeLog
+++ b/net-print/foo2zjs/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-print/foo2zjs
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-print/foo2zjs/ChangeLog,v 1.26 2007/07/02 15:14:53 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/foo2zjs/ChangeLog,v 1.27 2007/10/13 11:17:17 genstef Exp $
+
+*foo2zjs-20071012 (13 Oct 2007)
+
+ 13 Oct 2007; Stefan Schweizer <genstef@gentoo.org>
+ +foo2zjs-20071012.ebuild:
+ Version bump to get foo2qpdl for bug 189768
02 Jul 2007; Piotr Jaroszyński <peper@gentoo.org>
foo2zjs-20070424.ebuild:
diff --git a/net-print/foo2zjs/Manifest b/net-print/foo2zjs/Manifest
index 6ff388725aef..2c9acfb666d5 100644
--- a/net-print/foo2zjs/Manifest
+++ b/net-print/foo2zjs/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX foo2zjs-Makefile-20070424.diff 4992 RMD160 48fb9a37604015aff0cb0e726b3f6eb05088ea01 SHA1 2108cec46ad1a10763312c2436d8b47006132043 SHA256 574c9c7ee1cd7aeba33ddf647bbdb553f6fd1d0dcf8fbbf541c8206ce4ae9545
MD5 c079d2c5553251c17daabfc942178056 files/foo2zjs-Makefile-20070424.diff 4992
RMD160 48fb9a37604015aff0cb0e726b3f6eb05088ea01 files/foo2zjs-Makefile-20070424.diff 4992
@@ -11,10 +8,13 @@ RMD160 e02a10cb8658d7fee164d53f630c5d0af8858536 files/foo2zjs-udevfwld-20070424.
SHA256 66e289e872e06151949fd1b99c12cb5413a642f033e528f42fd5b50ec8641c48 files/foo2zjs-udevfwld-20070424.diff 6255
DIST cpplxp.exe 4799488 RMD160 bcd5ceecca248c90a0d3e99dd55c6e1eedd4de6d SHA1 952ad6557f2a78ec30e9786f52e95f012e39ac1c SHA256 5f4c8b6f20ccf2d525f683847f5dc24bb4c7f58131d6704047d6c9a90d6895af
DIST foo2zjs-20070424.tar.gz 1444695 RMD160 d51c6492bab14f9cc416d18fa8aa354d1f21aa81 SHA1 56f7cf76e0c468581f305b2e949fc4abeeeb2a78 SHA256 1aedafd2791bdfb1d59c0e649514142e7f93f6280b2258d71bcdd86e3551832a
+DIST foo2zjs-20071012.tar.gz 1459200 RMD160 f697bf1b86767ed6faf74f43b4a17b56c7926e99 SHA1 238129a6e2a4f7205d263a2a803822043d846ad6 SHA256 abbbdf2f8d0cd1e648b8a95323b8dc96e336d69e5bd054392c7f5a0c972c9601
DIST hpclj2600n.tar.gz 573660 RMD160 68aae1a0a800d8d52bca3ffb22a0159a679ee1c5 SHA1 f60eb07fdeaafebba81210c8ff30b9719a3a9cd1 SHA256 ef84099326cf0186b82748822e6d4db501f25b35411ac3955748efb9720d8569
DIST km2430.tar.gz 929112 RMD160 9dbac865cdb01dc3d794f4c8f4c67aebd56326c7 SHA1 adcd07c6af67146f56da3b10e00ec30733a28c27 SHA256 8a59e473bbcfa7e6ae35be7590c21bbb5a95f601de9b81e3547e77776822fbca
+DIST km2530.tar.gz 929113 RMD160 8fc1cc090c77fe00b89898f88f6899805c1ba822 SHA1 f2c21a2afb2ae6c7b306f3307d6676b5e77371e6 SHA256 c5fa546cfa6c50cdff6a6e99765cf7cb9afe5da1b35355dcea5a38a43634e5de
DIST m22dlicc.exe 634368 RMD160 392922135a3f517a76a2b5e8b7200c83e6104ef6 SHA1 4f2de3e9e5418361763805b76722cd5284543110 SHA256 1d57413f4c36941c64599dae2ac2b1f8a397e128796c2796a108be5b8fd282b3
DIST m23dlicc.exe 170496 RMD160 f72be93dfc5c8c9159c75d7204820f1305f47905 SHA1 d1c28538f15f0e4564eeb81d53a8cb35fe08109c SHA256 1416cda7e2e3496ff1d121c87dd8984ad1d16ed3396096f05f4919dafd445ae4
+DIST samclp300.tar.gz 427584 RMD160 5cf563e3a7c2c80d24990b12d65b6efe0233bdcd SHA1 6bdf0e01e3ba38bc47c2bf59bb42a7454abf0b52 SHA256 cd0346006965d127279efd052bb22d5182e4251f0d18bcceeaf267d289603e78
DIST sihp1000.tar.gz 50423 RMD160 5cd97ca6944d421df213420fc5d1e1572f85ec84 SHA1 edbcf61bf4071017be9dcc577e8fe6170de995a2 SHA256 7bdb5387419a880e32c9280b8d3878b08eb8fbd614237f164a9ae1e81bc2cff6
DIST sihp1005.tar.gz 52301 RMD160 5ebc04fadafb2033cba9665840897c48eb0d0f70 SHA1 99e5e0d2f9c953c605264023d804d1ca22ae7220 SHA256 55820298cc441893b19d28ff82ff1c8438fb53bad24c2db40b06f24c356cb320
DIST sihp1018.tar.gz 70547 RMD160 f358ae6be52395070d7eea6aa2b0d3d6baf2d7ea SHA1 eea4f2f0f79989349885603940da3345d1c84397 SHA256 d95f26f302e4a6580aa83fd13b99911fe8ad7a1de88fd1545c1f2e384b1d2af7
@@ -23,10 +23,14 @@ EBUILD foo2zjs-20070424.ebuild 4516 RMD160 ce2749a272a188bd3dcf48a4850d5683bd1d8
MD5 f7843c400a3040cbf7f27a62e42438ae foo2zjs-20070424.ebuild 4516
RMD160 ce2749a272a188bd3dcf48a4850d5683bd1d86e0 foo2zjs-20070424.ebuild 4516
SHA256 0529b237e2e10bc90d0d9a5fa272a67560c4c8de583f827da7f3b1f2ccac7613 foo2zjs-20070424.ebuild 4516
-MISC ChangeLog 6598 RMD160 1267365e61b2aced7ca5ded09b91fd26b8f996a0 SHA1 9cb79e5a0a5aaa12aec4a43a8434a36ff41d551a SHA256 5da6c12f55499497cc4f868fbcb3472abfe16d4b68914f36dbb820808d9c2e62
-MD5 e73d7bfffa1e451b408dce127838164c ChangeLog 6598
-RMD160 1267365e61b2aced7ca5ded09b91fd26b8f996a0 ChangeLog 6598
-SHA256 5da6c12f55499497cc4f868fbcb3472abfe16d4b68914f36dbb820808d9c2e62 ChangeLog 6598
+EBUILD foo2zjs-20071012.ebuild 3212 RMD160 12ba8028e4d25e012c70f132dbe154d8da9d5893 SHA1 844a269d5462a77e8688031ae1c1b4dae7f9cd84 SHA256 9d0f073f1b8b86fdf0e68ecc36efb61c2448529b810c33c6eb69e6126d548a6b
+MD5 0c746d5893ae3edfe1b81db043b36622 foo2zjs-20071012.ebuild 3212
+RMD160 12ba8028e4d25e012c70f132dbe154d8da9d5893 foo2zjs-20071012.ebuild 3212
+SHA256 9d0f073f1b8b86fdf0e68ecc36efb61c2448529b810c33c6eb69e6126d548a6b foo2zjs-20071012.ebuild 3212
+MISC ChangeLog 6761 RMD160 fce292b922e3bb551ef9eb77e86ea8b8c3907c75 SHA1 017f6cd2c992084c38edfc47da538c07955d007b SHA256 a6c230a3b4f3e4a6f66c0c86840eed3bb3a0df703aa4f53303d92f558113f6da
+MD5 cdd0827c39a1b8f545a2084db9d4e57f ChangeLog 6761
+RMD160 fce292b922e3bb551ef9eb77e86ea8b8c3907c75 ChangeLog 6761
+SHA256 a6c230a3b4f3e4a6f66c0c86840eed3bb3a0df703aa4f53303d92f558113f6da ChangeLog 6761
MISC metadata.xml 266 RMD160 71124c3803fd7ba3370f1b9b55b78d56c5e49201 SHA1 12efa221e1a3580f557896136ccece543c4dca39 SHA256 27d69d00958eb408ac3c397767f9104d5e85c85a977c094140a8169fc6750df7
MD5 6062bcaf60fde68c2418376f4cd91f3e metadata.xml 266
RMD160 71124c3803fd7ba3370f1b9b55b78d56c5e49201 metadata.xml 266
@@ -34,10 +38,6 @@ SHA256 27d69d00958eb408ac3c397767f9104d5e85c85a977c094140a8169fc6750df7 metadata
MD5 0340ac67469aedbe438823fe8ddb2ae2 files/digest-foo2zjs-20070424 2245
RMD160 e7d2dd39b91c5701a4281a28dc2d55954dd1cf0b files/digest-foo2zjs-20070424 2245
SHA256 2bf44a50e3eaeb81fdf03b4791568ed8f69522a023afd38d9c8620dfb25861a3 files/digest-foo2zjs-20070424 2245
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.4 (GNU/Linux)
-
-iD8DBQFGiRZyppoStNGKGywRAgMcAKDZzn3RANq5YBQtZu1LRYdaz2+q2ACgwgbd
-j4TJZZWAL/Bk3pG513wWeRk=
-=30MU
------END PGP SIGNATURE-----
+MD5 87bd1ffacfec248df4bfbe1ce0419522 files/digest-foo2zjs-20071012 2694
+RMD160 a0c901232328bd747558cc9a250ca6cbfbf676e4 files/digest-foo2zjs-20071012 2694
+SHA256 d6563e5c7059e4b32e7d039cf54d31ae1d60da65678881dd2306743cbd72f84f files/digest-foo2zjs-20071012 2694
diff --git a/net-print/foo2zjs/files/digest-foo2zjs-20071012 b/net-print/foo2zjs/files/digest-foo2zjs-20071012
new file mode 100644
index 000000000000..13456d4e8840
--- /dev/null
+++ b/net-print/foo2zjs/files/digest-foo2zjs-20071012
@@ -0,0 +1,36 @@
+MD5 cae0d20d3c1d57cd3953d9b335014294 cpplxp.exe 4799488
+RMD160 bcd5ceecca248c90a0d3e99dd55c6e1eedd4de6d cpplxp.exe 4799488
+SHA256 5f4c8b6f20ccf2d525f683847f5dc24bb4c7f58131d6704047d6c9a90d6895af cpplxp.exe 4799488
+MD5 bfc658bdbaa48a000a20a9fb5ddec331 foo2zjs-20071012.tar.gz 1459200
+RMD160 f697bf1b86767ed6faf74f43b4a17b56c7926e99 foo2zjs-20071012.tar.gz 1459200
+SHA256 abbbdf2f8d0cd1e648b8a95323b8dc96e336d69e5bd054392c7f5a0c972c9601 foo2zjs-20071012.tar.gz 1459200
+MD5 d3e7307733bed6598dfe00196f845e84 hpclj2600n.tar.gz 573660
+RMD160 68aae1a0a800d8d52bca3ffb22a0159a679ee1c5 hpclj2600n.tar.gz 573660
+SHA256 ef84099326cf0186b82748822e6d4db501f25b35411ac3955748efb9720d8569 hpclj2600n.tar.gz 573660
+MD5 6d06b5e3803f5760d898722c1354fb35 km2430.tar.gz 929112
+RMD160 9dbac865cdb01dc3d794f4c8f4c67aebd56326c7 km2430.tar.gz 929112
+SHA256 8a59e473bbcfa7e6ae35be7590c21bbb5a95f601de9b81e3547e77776822fbca km2430.tar.gz 929112
+MD5 79f30519ccc8b1ceb0a6a9c0b9a2a8a8 km2530.tar.gz 929113
+RMD160 8fc1cc090c77fe00b89898f88f6899805c1ba822 km2530.tar.gz 929113
+SHA256 c5fa546cfa6c50cdff6a6e99765cf7cb9afe5da1b35355dcea5a38a43634e5de km2530.tar.gz 929113
+MD5 3b78a08aa968b4c1ed591947721d3e47 m22dlicc.exe 634368
+RMD160 392922135a3f517a76a2b5e8b7200c83e6104ef6 m22dlicc.exe 634368
+SHA256 1d57413f4c36941c64599dae2ac2b1f8a397e128796c2796a108be5b8fd282b3 m22dlicc.exe 634368
+MD5 d680f447a416c5f9041f27c0a1df57a0 m23dlicc.exe 170496
+RMD160 f72be93dfc5c8c9159c75d7204820f1305f47905 m23dlicc.exe 170496
+SHA256 1416cda7e2e3496ff1d121c87dd8984ad1d16ed3396096f05f4919dafd445ae4 m23dlicc.exe 170496
+MD5 3baa7b4309209bc77cc0e519b197569b samclp300.tar.gz 427584
+RMD160 5cf563e3a7c2c80d24990b12d65b6efe0233bdcd samclp300.tar.gz 427584
+SHA256 cd0346006965d127279efd052bb22d5182e4251f0d18bcceeaf267d289603e78 samclp300.tar.gz 427584
+MD5 5d47d54f9cc19225c6ad07763bd02801 sihp1000.tar.gz 50423
+RMD160 5cd97ca6944d421df213420fc5d1e1572f85ec84 sihp1000.tar.gz 50423
+SHA256 7bdb5387419a880e32c9280b8d3878b08eb8fbd614237f164a9ae1e81bc2cff6 sihp1000.tar.gz 50423
+MD5 10937cc743b03ea9776a9f6eb35159a0 sihp1005.tar.gz 52301
+RMD160 5ebc04fadafb2033cba9665840897c48eb0d0f70 sihp1005.tar.gz 52301
+SHA256 55820298cc441893b19d28ff82ff1c8438fb53bad24c2db40b06f24c356cb320 sihp1005.tar.gz 52301
+MD5 89bc9a1199abc2bd304694f0273a248a sihp1018.tar.gz 70547
+RMD160 f358ae6be52395070d7eea6aa2b0d3d6baf2d7ea sihp1018.tar.gz 70547
+SHA256 d95f26f302e4a6580aa83fd13b99911fe8ad7a1de88fd1545c1f2e384b1d2af7 sihp1018.tar.gz 70547
+MD5 290c2a03d665ceb4dfbbd60b471ebb3d sihp1020.tar.gz 68877
+RMD160 39e998123ad074231c6333ff70ccabbe513ea90f sihp1020.tar.gz 68877
+SHA256 c69504fa7a96f63a71fb507f5d61a846db60a9ed000abb4cb04b32cfe7c23704 sihp1020.tar.gz 68877
diff --git a/net-print/foo2zjs/foo2zjs-20071012.ebuild b/net-print/foo2zjs/foo2zjs-20071012.ebuild
new file mode 100644
index 000000000000..06221bf9526c
--- /dev/null
+++ b/net-print/foo2zjs/foo2zjs-20071012.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-print/foo2zjs/foo2zjs-20071012.ebuild,v 1.1 2007/10/13 11:17:17 genstef Exp $
+
+inherit eutils
+
+DESCRIPTION="Support for printing to ZjStream-based printers"
+HOMEPAGE="http://foo2zjs.rkkda.com/"
+
+# etracted by http://gentooexperimental.org/~genstef/dist/foo2zjs-helper.sh
+DEVICES=( "hp2600n" "hp1600" "km2530" "km2490" "km2480" "xp6115" "km2430"
+"km2300" "km2200" "kmcpwl" "sa300" "sa2160" "sa3160" "xp6110" "hp1020" "hp1018"
+"hp1005" "hp1000" )
+URIS=(
+ "http://foo2hp.rkkda.com/hpclj2600n.tar.gz http://foo2zjs.rkkda.com/km2430.tar.gz"
+ "http://foo2hp.rkkda.com/hpclj2600n.tar.gz http://foo2zjs.rkkda.com/km2430.tar.gz"
+ "http://foo2lava.rkkda.com/km2530.tar.gz"
+ "http://foo2lava.rkkda.com/km2530.tar.gz"
+ "http://foo2lava.rkkda.com/km2530.tar.gz"
+ "http://foo2lava.rkkda.com/km2530.tar.gz"
+ "http://foo2zjs.rkkda.com/km2430.tar.gz"
+ "ftp://ftp.minolta-qms.com/pub/crc/out_going/win/m23dlicc.exe http://foo2zjs.rkkda.com/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/samclp300.tar.gz"
+ "http://foo2qpdl.rkkda.com/samclp300.tar.gz"
+ "http://foo2qpdl.rkkda.com/samclp300.tar.gz"
+ "http://foo2qpdl.rkkda.com/samclp300.tar.gz"
+ "http://foo2zjs.rkkda.com/sihp1020.tar.gz"
+ "http://foo2zjs.rkkda.com/sihp1018.tar.gz"
+ "http://foo2zjs.rkkda.com/sihp1005.tar.gz"
+ "http://foo2zjs.rkkda.com/sihp1000.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"
+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-20070424.diff
+ epatch ${FILESDIR}/foo2zjs-udevfwld-20070424.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"
+}
+
+pkg_postinst() {
+ udevcontrol reload_rules
+}