diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-10-13 11:17:17 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-10-13 11:17:17 +0000 |
commit | 1c845a20ea7c61befa8c926adfd084e834550673 (patch) | |
tree | f1866a45bfcb857bb05ac89d8c35b1cb5351b99f /net-print/foo2zjs | |
parent | new use flags for foo2zjs, bug 189768 (diff) | |
download | gentoo-2-1c845a20ea7c61befa8c926adfd084e834550673.tar.gz gentoo-2-1c845a20ea7c61befa8c926adfd084e834550673.tar.bz2 gentoo-2-1c845a20ea7c61befa8c926adfd084e834550673.zip |
Version bump to get foo2qpdl for bug 189768
(Portage version: 2.1.3.12)
Diffstat (limited to 'net-print/foo2zjs')
-rw-r--r-- | net-print/foo2zjs/ChangeLog | 8 | ||||
-rw-r--r-- | net-print/foo2zjs/files/digest-foo2zjs-20071012 | 36 | ||||
-rw-r--r-- | net-print/foo2zjs/foo2zjs-20071012.ebuild | 103 |
3 files changed, 146 insertions, 1 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/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 +} |