author | Michael Krelin <hacker@klever.net> | 2007-04-19 17:50:17 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-04-22 23:41:30 (UTC) |
commit | ce0f4181dbecc877171c818a2facc91c88c5f419 (patch) (unidiff) | |
tree | 4ce23c2851a403b217459bd1c7a1ed78329e1f34 | |
parent | 683fcb5949708dace90bc9ca17a40568edce4d6e (diff) | |
download | misc-ce0f4181dbecc877171c818a2facc91c88c5f419.zip misc-ce0f4181dbecc877171c818a2facc91c88c5f419.tar.gz misc-ce0f4181dbecc877171c818a2facc91c88c5f419.tar.bz2 |
net-print/foo2zjs: imported from portage
-rw-r--r-- | net-print/foo2zjs/ChangeLog | 147 | ||||
-rw-r--r-- | net-print/foo2zjs/Manifest | 33 | ||||
-rw-r--r-- | net-print/foo2zjs/files/digest-foo2zjs-20070204 | 30 | ||||
-rw-r--r-- | net-print/foo2zjs/files/foo2zjs-Makefile-20070204.diff | 161 | ||||
-rw-r--r-- | net-print/foo2zjs/files/foo2zjs-udevfwld-20070204.diff | 191 | ||||
-rw-r--r-- | net-print/foo2zjs/foo2zjs-20070204.ebuild | 106 | ||||
-rw-r--r-- | net-print/foo2zjs/metadata.xml | 9 | ||||
-rw-r--r-- | profiles/categories | 1 |
8 files changed, 678 insertions, 0 deletions
diff --git a/net-print/foo2zjs/ChangeLog b/net-print/foo2zjs/ChangeLog new file mode 100644 index 0000000..6066e7c --- a/dev/null +++ b/net-print/foo2zjs/ChangeLog | |||
@@ -0,0 +1,147 @@ | |||
1 | # ChangeLog for net-print/foo2zjs | ||
2 | # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 | ||
3 | # $Header: /var/cvsroot/gentoo-x86/net-print/foo2zjs/ChangeLog,v 1.22 2007/02/19 22:34:49 genstef Exp $ | ||
4 | |||
5 | 19 Feb 2007; <genstef@gentoo.org> files/foo2zjs-Makefile-20070204.diff: | ||
6 | Avoid sandbox violations thanks to Jason Bucata <jbucata@tulsaconnect.com> | ||
7 | in bug 164105 | ||
8 | |||
9 | 19 Feb 2007; <genstef@gentoo.org> foo2zjs-20070204.ebuild: | ||
10 | make sure udev rules are reloaded | ||
11 | |||
12 | *foo2zjs-20070204 (11 Feb 2007) | ||
13 | |||
14 | 11 Feb 2007; <genstef@gentoo.org> -files/foo2zjs-Makefile-20061130.diff, | ||
15 | -files/foo2zjs-udevfwld-20061130.diff, | ||
16 | +files/foo2zjs-Makefile-20070204.diff, | ||
17 | +files/foo2zjs-udevfwld-20070204.diff, -foo2zjs-20061130.ebuild, | ||
18 | +foo2zjs-20070204.ebuild: | ||
19 | version bump thanks to roger in bug 159270, remove old | ||
20 | |||
21 | 14 Dec 2006; Stefan Schweizer <genstef@gentoo.org> | ||
22 | -files/foo2zjs-Makefile-20060523.diff, | ||
23 | -files/foo2zjs-udevfwld-20060607.diff, -foo2zjs-20060607.ebuild, | ||
24 | foo2zjs-20061130.ebuild: | ||
25 | Drop hotplug support in favour of udev, bug 158114, also add missing vim | ||
26 | depend thanks to Patrice Bouvard <p.bouvard@myown.be> in bug 157316 and fix | ||
27 | digest, thanks to Slawomir Gasiorowski <sgasiorowski@gmail.com> in bug | ||
28 | 157411 | ||
29 | |||
30 | *foo2zjs-20061130 (03 Dec 2006) | ||
31 | |||
32 | 03 Dec 2006; Stefan Schweizer <genstef@gentoo.org> | ||
33 | +files/foo2zjs-Makefile-20061130.diff, | ||
34 | +files/foo2zjs-udevfwld-20061130.diff, +foo2zjs-20061130.ebuild: | ||
35 | version bump thanks to roger <roger@eskimo.com> in bug 156875 and Francisco | ||
36 | Lloret <fcolloret@terra.es> in bug 154794 and permission fix thanks to | ||
37 | Sergey Zolotorev <sergey.zolotorev@gmail.com> in bug 154237 | ||
38 | |||
39 | 01 Sep 2006; Stefan Schweizer <genstef@gentoo.org> | ||
40 | foo2zjs-20060607.ebuild: | ||
41 | Add FOO2ZJS_DEVICES variable support thanks to Thomas Kear | ||
42 | <thomas.kear@gmail.com> in bug 139987 | ||
43 | |||
44 | 14 Jun 2006; Stefan Schweizer <genstef@gentoo.org> | ||
45 | -files/foo2zjs-udevfwld-20060523.diff, | ||
46 | +files/foo2zjs-udevfwld-20060607.diff: | ||
47 | New version, digest fix, udev fix thanks to Kai Blaschke | ||
48 | <webmaster@thw-theorie.de> and Ian Stakenvicius | ||
49 | <ian@syndicated-productions.com> in bug 136550 | ||
50 | |||
51 | 02 Jun 2006; Stefan Schweizer <genstef@gentoo.org> | ||
52 | -files/foo2zjs-Makefile-20060501.diff, | ||
53 | -files/foo2zjs-udevfwld-20060501.diff, -files/foo2zjs-Makefile.patch, | ||
54 | -files/hp-printer-udev.patch, -foo2zjs-20050319.ebuild, | ||
55 | -foo2zjs-20060501-r1.ebuild: | ||
56 | Remove old broken releases. This package is ~arch only because upstream does | ||
57 | not like the idea of users using old releases. Thanks to Asfand Yar Qazi | ||
58 | <ayqazi@yahoo.co.uk> in bug 135155 | ||
59 | |||
60 | *foo2zjs-20060523 (01 Jun 2006) | ||
61 | |||
62 | 01 Jun 2006; Stefan Schweizer <genstef@gentoo.org> | ||
63 | +files/foo2zjs-Makefile-20060523.diff, | ||
64 | +files/foo2zjs-udevfwld-20060523.diff, foo2zjs-20060501-r1.ebuild, | ||
65 | +foo2zjs-20060523.ebuild: | ||
66 | Some cosmetic fixes and version bump | ||
67 | |||
68 | 23 May 2006; Robin H. Johnson <robbat2@gentoo.org> | ||
69 | foo2zjs-20060501-r1.ebuild: | ||
70 | Add ~ppc so I can print. | ||
71 | |||
72 | *foo2zjs-20060501-r1 (04 May 2006) | ||
73 | |||
74 | 04 May 2006; Stefan Schweizer <genstef@gentoo.org> | ||
75 | files/foo2zjs-udevfwld-20060501.diff, -foo2zjs-20060501.ebuild, | ||
76 | +foo2zjs-20060501-r1.ebuild: | ||
77 | Use id-matching instead of string-matching in the udev-rule | ||
78 | |||
79 | *foo2zjs-20060501 (03 May 2006) | ||
80 | |||
81 | 03 May 2006; Stefan Schweizer <genstef@gentoo.org> | ||
82 | -files/foo2zjs-Makefile-20050925.diff, | ||
83 | -files/foo2zjs-udevfwld-20050925.diff, | ||
84 | -files/foo2zjs-Makefile-20051228.diff, | ||
85 | -files/foo2zjs-udevfwld-20051228.diff, | ||
86 | -files/foo2zjs-Makefile-20060118.diff, | ||
87 | -files/foo2zjs-udevfwld-20060118.diff, | ||
88 | +files/foo2zjs-Makefile-20060501.diff, | ||
89 | +files/foo2zjs-udevfwld-20060501.diff, -foo2zjs-20050925.ebuild, | ||
90 | -foo2zjs-20051228.ebuild, -foo2zjs-20060118.ebuild, | ||
91 | +foo2zjs-20060501.ebuild: | ||
92 | version bump, adds hplj 1018 support, remove old | ||
93 | |||
94 | *foo2zjs-20060118 (22 Jan 2006) | ||
95 | |||
96 | 22 Jan 2006; Stefan Schweizer <genstef@gentoo.org> | ||
97 | +files/foo2zjs-Makefile-20060118.diff, | ||
98 | +files/foo2zjs-udevfwld-20060118.diff, +foo2zjs-20060118.ebuild: | ||
99 | version bump | ||
100 | |||
101 | *foo2zjs-20051228 (28 Dec 2005) | ||
102 | |||
103 | 28 Dec 2005; Stefan Schweizer <genstef@gentoo.org> | ||
104 | +files/foo2zjs-Makefile-20051228.diff, | ||
105 | +files/foo2zjs-udevfwld-20051228.diff, +foo2zjs-20051228.ebuild: | ||
106 | Version bump encouraged by Jordan Christensen <thebigjc@gmail.com> in bug | ||
107 | 116992 | ||
108 | |||
109 | 13 Dec 2005; Stefan Schweizer <genstef@gentoo.org> | ||
110 | files/foo2zjs-udevfwld-20050925.diff: | ||
111 | Decapitalize udevrule for hplj1020, thanks to swierke on forums.gentoo.org | ||
112 | |||
113 | *foo2zjs-20050925 (27 Sep 2005) | ||
114 | |||
115 | 27 Sep 2005; Stefan Schweizer <genstef@gentoo.org> | ||
116 | +files/foo2zjs-Makefile-20050925.diff, | ||
117 | +files/foo2zjs-udevfwld-20050925.diff, +foo2zjs-20050925.ebuild: | ||
118 | New ebuild including an udev-Run-rule and hplj 1020 Support thanks to | ||
119 | Czirkos Zoltan <cirix@fw.hu> for testing, bug 106502 | ||
120 | |||
121 | 17 Sep 2005; Ciaran McCreesh <ciaranm@gentoo.org> ChangeLog: | ||
122 | Converted to UTF-8, fixed encoding screwups | ||
123 | |||
124 | *foo2zjs-20050319 (05 Apr 2005) | ||
125 | |||
126 | 05 Apr 2005; Stefan Schweizer <genstef@gentoo.org> | ||
127 | -foo2zjs-20041030.ebuild, +foo2zjs-20050319.ebuild: | ||
128 | Version bump and removing old version because of digest failure thanks to | ||
129 | psk31 in the forums, Markus Rothe <corsair@gentoo.org> and Erik Reimann for | ||
130 | testing and thanks to Seth Robertson <in-gentoo@baka.org> for reporting in | ||
131 | bug 87351 | ||
132 | |||
133 | 02 Feb 2005; Stefan Schweizer <genstef@gentoo.org> | ||
134 | foo2zjs-20041030.ebuild: | ||
135 | Fixing USE=-usb compile as per http://forums.gentoo.org/viewtopic.php?t=287582 | ||
136 | |||
137 | 09 Jan 2005; Stefan Schweizer <genstef@gentoo.org> : | ||
138 | Marking version 20041030 stable on x86 | ||
139 | |||
140 | *foo2zjs-20041030 (20 Nov 2004) | ||
141 | |||
142 | 20 Nov 2004; Stefan Schweizer <genstef@gentoo.org> | ||
143 | +files/foo2zjs-Makefile.patch, +files/hp-printer-udev.patch, | ||
144 | +foo2zjs-20041030.ebuild: | ||
145 | Adding foo2zjs, thanks to Robert Führicht <the_master_of_disaster@gmx.at> in | ||
146 | bug 65156 | ||
147 | |||
diff --git a/net-print/foo2zjs/Manifest b/net-print/foo2zjs/Manifest new file mode 100644 index 0000000..a0f035e --- a/dev/null +++ b/net-print/foo2zjs/Manifest | |||
@@ -0,0 +1,33 @@ | |||
1 | AUX foo2zjs-Makefile-20070204.diff 4934 RMD160 2b320f76c6b1625f01040bc03bb4e5784d02e353 SHA1 524cb9e4398a120f7755952ec5c099778a362a52 SHA256 6a14093f5ee6f4a2d39bdbbc44a5d44ae2a1033df6dad15a0236b7b7ada3c85d | ||
2 | MD5 46bb57d642637a31389577cb3780af92 files/foo2zjs-Makefile-20070204.diff 4934 | ||
3 | RMD160 2b320f76c6b1625f01040bc03bb4e5784d02e353 files/foo2zjs-Makefile-20070204.diff 4934 | ||
4 | SHA256 6a14093f5ee6f4a2d39bdbbc44a5d44ae2a1033df6dad15a0236b7b7ada3c85d files/foo2zjs-Makefile-20070204.diff 4934 | ||
5 | AUX foo2zjs-udevfwld-20070204.diff 6322 RMD160 ef0cdef133664fd191dab5efbe60e0a63c90ccd6 SHA1 6473adb9c22e29b19218185e51ea042af233925c SHA256 d8518ed1c0ee9e90adedd7f1cde11429c989c8b0420648bcb50a1a4f267df527 | ||
6 | MD5 a127931b51f376647ce0b58e9323e440 files/foo2zjs-udevfwld-20070204.diff 6322 | ||
7 | RMD160 ef0cdef133664fd191dab5efbe60e0a63c90ccd6 files/foo2zjs-udevfwld-20070204.diff 6322 | ||
8 | SHA256 d8518ed1c0ee9e90adedd7f1cde11429c989c8b0420648bcb50a1a4f267df527 files/foo2zjs-udevfwld-20070204.diff 6322 | ||
9 | DIST cpplxp.exe 4799488 RMD160 bcd5ceecca248c90a0d3e99dd55c6e1eedd4de6d SHA1 952ad6557f2a78ec30e9786f52e95f012e39ac1c SHA256 5f4c8b6f20ccf2d525f683847f5dc24bb4c7f58131d6704047d6c9a90d6895af | ||
10 | DIST foo2zjs-20070204.tar.gz 936419 RMD160 4e6160fed4e642106ff62bff64e5a4cf637d9f0b SHA1 df40152952a0d9d27bfebaddf33e2fd39faa0ac6 SHA256 9dc978b208ee7762b6b16ff445103722f45c341457014fa9b3bad7dd2a0bd5d3 | ||
11 | DIST hpclj2600n.tar.gz 573660 RMD160 a0c03c901cb722bbc61347e9159b0a4faa72329d SHA1 9157061f8796f6f5e0038baa26b9882e875b758b SHA256 b5ed74e50b88152a09d9ad17bca94e2299d348ed6d343ff015344757b72d390a | ||
12 | DIST km2430.tar.gz 929112 RMD160 ddd2d5375611a41d62e436ed6f3b3d62356b90a5 SHA1 353b86223d35d73de60231e32a8fb840e4a02823 SHA256 59b559d5f885e0e8870148795674366b527782a062c6cac1dc2048c2759a356b | ||
13 | DIST m22dlicc.exe 634368 RMD160 392922135a3f517a76a2b5e8b7200c83e6104ef6 SHA1 4f2de3e9e5418361763805b76722cd5284543110 SHA256 1d57413f4c36941c64599dae2ac2b1f8a397e128796c2796a108be5b8fd282b3 | ||
14 | DIST m23dlicc.exe 170496 RMD160 f72be93dfc5c8c9159c75d7204820f1305f47905 SHA1 d1c28538f15f0e4564eeb81d53a8cb35fe08109c SHA256 1416cda7e2e3496ff1d121c87dd8984ad1d16ed3396096f05f4919dafd445ae4 | ||
15 | DIST sihp1000.tar.gz 50423 RMD160 5cd97ca6944d421df213420fc5d1e1572f85ec84 SHA1 edbcf61bf4071017be9dcc577e8fe6170de995a2 SHA256 7bdb5387419a880e32c9280b8d3878b08eb8fbd614237f164a9ae1e81bc2cff6 | ||
16 | DIST sihp1005.tar.gz 52301 RMD160 5ebc04fadafb2033cba9665840897c48eb0d0f70 SHA1 99e5e0d2f9c953c605264023d804d1ca22ae7220 SHA256 55820298cc441893b19d28ff82ff1c8438fb53bad24c2db40b06f24c356cb320 | ||
17 | DIST sihp1018.tar.gz 70547 RMD160 f358ae6be52395070d7eea6aa2b0d3d6baf2d7ea SHA1 eea4f2f0f79989349885603940da3345d1c84397 SHA256 d95f26f302e4a6580aa83fd13b99911fe8ad7a1de88fd1545c1f2e384b1d2af7 | ||
18 | DIST sihp1020.tar.gz 68877 RMD160 39e998123ad074231c6333ff70ccabbe513ea90f SHA1 6a2ec861838601303d406107b668955b32e89265 SHA256 c69504fa7a96f63a71fb507f5d61a846db60a9ed000abb4cb04b32cfe7c23704 | ||
19 | EBUILD foo2zjs-20070204.ebuild 4096 RMD160 e41d450654e26401421e579fdd579cb6100c3953 SHA1 ecf1fa9693a926e5f2feff94c49d286d6241fea7 SHA256 258bb8ba74b13a91a07e66bf957252c795483f90663b7f36c28f5d7986ec3066 | ||
20 | MD5 2aa1a4b0f99e3b183417cf3b0f2e1469 foo2zjs-20070204.ebuild 4096 | ||
21 | RMD160 e41d450654e26401421e579fdd579cb6100c3953 foo2zjs-20070204.ebuild 4096 | ||
22 | SHA256 258bb8ba74b13a91a07e66bf957252c795483f90663b7f36c28f5d7986ec3066 foo2zjs-20070204.ebuild 4096 | ||
23 | MISC ChangeLog 5777 RMD160 0a60f078df798a878a8fb6245d3390efec196cad SHA1 1d64eaefe8b28e98863fd0838195fdcdd0ddc877 SHA256 5ecc4645166ddfa171428079ec0b12cc0e9bc7bc2a163612420e82a5b24c1354 | ||
24 | MD5 cdf80444a704a10ae90b5d3dcecdc4bd ChangeLog 5777 | ||
25 | RMD160 0a60f078df798a878a8fb6245d3390efec196cad ChangeLog 5777 | ||
26 | SHA256 5ecc4645166ddfa171428079ec0b12cc0e9bc7bc2a163612420e82a5b24c1354 ChangeLog 5777 | ||
27 | MISC metadata.xml 266 RMD160 71124c3803fd7ba3370f1b9b55b78d56c5e49201 SHA1 12efa221e1a3580f557896136ccece543c4dca39 SHA256 27d69d00958eb408ac3c397767f9104d5e85c85a977c094140a8169fc6750df7 | ||
28 | MD5 6062bcaf60fde68c2418376f4cd91f3e metadata.xml 266 | ||
29 | RMD160 71124c3803fd7ba3370f1b9b55b78d56c5e49201 metadata.xml 266 | ||
30 | SHA256 27d69d00958eb408ac3c397767f9104d5e85c85a977c094140a8169fc6750df7 metadata.xml 266 | ||
31 | MD5 9ba1c2e1af7adcf6e8f534fd02698843 files/digest-foo2zjs-20070204 2242 | ||
32 | RMD160 ee55960880a1a73a729c81bc9fcd37f2978dc8c4 files/digest-foo2zjs-20070204 2242 | ||
33 | SHA256 5c224ebc4dd8ddc7336c8b0d805d481018f0b9b7d5835ca52507940aedcdeced files/digest-foo2zjs-20070204 2242 | ||
diff --git a/net-print/foo2zjs/files/digest-foo2zjs-20070204 b/net-print/foo2zjs/files/digest-foo2zjs-20070204 new file mode 100644 index 0000000..0672f8a --- a/dev/null +++ b/net-print/foo2zjs/files/digest-foo2zjs-20070204 | |||
@@ -0,0 +1,30 @@ | |||
1 | MD5 cae0d20d3c1d57cd3953d9b335014294 cpplxp.exe 4799488 | ||
2 | RMD160 bcd5ceecca248c90a0d3e99dd55c6e1eedd4de6d cpplxp.exe 4799488 | ||
3 | SHA256 5f4c8b6f20ccf2d525f683847f5dc24bb4c7f58131d6704047d6c9a90d6895af cpplxp.exe 4799488 | ||
4 | MD5 29530f6815fe3268e00ebe2a3523de43 foo2zjs-20070204.tar.gz 936419 | ||
5 | RMD160 4e6160fed4e642106ff62bff64e5a4cf637d9f0b foo2zjs-20070204.tar.gz 936419 | ||
6 | SHA256 9dc978b208ee7762b6b16ff445103722f45c341457014fa9b3bad7dd2a0bd5d3 foo2zjs-20070204.tar.gz 936419 | ||
7 | MD5 72179915334290762193db0be09fceff hpclj2600n.tar.gz 573660 | ||
8 | RMD160 a0c03c901cb722bbc61347e9159b0a4faa72329d hpclj2600n.tar.gz 573660 | ||
9 | SHA256 b5ed74e50b88152a09d9ad17bca94e2299d348ed6d343ff015344757b72d390a hpclj2600n.tar.gz 573660 | ||
10 | MD5 f15687042e468cabed2e277bf313bbc8 km2430.tar.gz 929112 | ||
11 | RMD160 ddd2d5375611a41d62e436ed6f3b3d62356b90a5 km2430.tar.gz 929112 | ||
12 | SHA256 59b559d5f885e0e8870148795674366b527782a062c6cac1dc2048c2759a356b km2430.tar.gz 929112 | ||
13 | MD5 3b78a08aa968b4c1ed591947721d3e47 m22dlicc.exe 634368 | ||
14 | RMD160 392922135a3f517a76a2b5e8b7200c83e6104ef6 m22dlicc.exe 634368 | ||
15 | SHA256 1d57413f4c36941c64599dae2ac2b1f8a397e128796c2796a108be5b8fd282b3 m22dlicc.exe 634368 | ||
16 | MD5 d680f447a416c5f9041f27c0a1df57a0 m23dlicc.exe 170496 | ||
17 | RMD160 f72be93dfc5c8c9159c75d7204820f1305f47905 m23dlicc.exe 170496 | ||
18 | SHA256 1416cda7e2e3496ff1d121c87dd8984ad1d16ed3396096f05f4919dafd445ae4 m23dlicc.exe 170496 | ||
19 | MD5 5d47d54f9cc19225c6ad07763bd02801 sihp1000.tar.gz 50423 | ||
20 | RMD160 5cd97ca6944d421df213420fc5d1e1572f85ec84 sihp1000.tar.gz 50423 | ||
21 | SHA256 7bdb5387419a880e32c9280b8d3878b08eb8fbd614237f164a9ae1e81bc2cff6 sihp1000.tar.gz 50423 | ||
22 | MD5 10937cc743b03ea9776a9f6eb35159a0 sihp1005.tar.gz 52301 | ||
23 | RMD160 5ebc04fadafb2033cba9665840897c48eb0d0f70 sihp1005.tar.gz 52301 | ||
24 | SHA256 55820298cc441893b19d28ff82ff1c8438fb53bad24c2db40b06f24c356cb320 sihp1005.tar.gz 52301 | ||
25 | MD5 89bc9a1199abc2bd304694f0273a248a sihp1018.tar.gz 70547 | ||
26 | RMD160 f358ae6be52395070d7eea6aa2b0d3d6baf2d7ea sihp1018.tar.gz 70547 | ||
27 | SHA256 d95f26f302e4a6580aa83fd13b99911fe8ad7a1de88fd1545c1f2e384b1d2af7 sihp1018.tar.gz 70547 | ||
28 | MD5 290c2a03d665ceb4dfbbd60b471ebb3d sihp1020.tar.gz 68877 | ||
29 | RMD160 39e998123ad074231c6333ff70ccabbe513ea90f sihp1020.tar.gz 68877 | ||
30 | SHA256 c69504fa7a96f63a71fb507f5d61a846db60a9ed000abb4cb04b32cfe7c23704 sihp1020.tar.gz 68877 | ||
diff --git a/net-print/foo2zjs/files/foo2zjs-Makefile-20070204.diff b/net-print/foo2zjs/files/foo2zjs-Makefile-20070204.diff new file mode 100644 index 0000000..0770d1c --- a/dev/null +++ b/net-print/foo2zjs/files/foo2zjs-Makefile-20070204.diff | |||
@@ -0,0 +1,161 @@ | |||
1 | diff -Nur foo2zjs.orig/Makefile foo2zjs/Makefile | ||
2 | --- foo2zjs.orig/Makefile2007-02-19 23:27:10.000000000 +0100 | ||
3 | +++ foo2zjs/Makefile2007-02-19 23:26:56.000000000 +0100 | ||
4 | @@ -7,7 +7,7 @@ | ||
5 | |||
6 | # Installation prefix... | ||
7 | PREFIX=/usr/local | ||
8 | -PREFIX=/usr | ||
9 | +PREFIX=$(DESTDIR)/usr | ||
10 | |||
11 | # Pathnames for this package... | ||
12 | BIN=$(PREFIX)/bin | ||
13 | @@ -20,7 +20,7 @@ | ||
14 | DOCDIR=$(PREFIX)/share/doc/foo2zjs/ | ||
15 | |||
16 | # Pathnames for referenced packages... | ||
17 | -FOODB=/usr/share/foomatic/db/source | ||
18 | +FOODB=$(PREFIX)/share/foomatic/db/source | ||
19 | |||
20 | # User ID's | ||
21 | LPuid=-olp | ||
22 | @@ -180,7 +180,7 @@ | ||
23 | endif | ||
24 | |||
25 | # Compiler flags | ||
26 | -CFLAGS +=-O2 -Wall | ||
27 | +CFLAGS ?= -O2 -Wall | ||
28 | |||
29 | # | ||
30 | # Rules to create test documents | ||
31 | @@ -368,12 +368,14 @@ | ||
32 | |||
33 | |||
34 | install-prog: | ||
35 | +[ -d $(BIN) ] || install -d -m 755 $(BIN)/ | ||
36 | +[ -d $(DESTDIR)/bin/ ] || install -d -m 755 $(DESTDIR)/bin/ | ||
37 | # | ||
38 | # Install driver, wrapper, and development tools | ||
39 | # | ||
40 | install -c $(PROGS) $(SHELLS) $(BIN)/ | ||
41 | if [ "$(BINPROGS)" != "" ]; then \ | ||
42 | - install -c $(BINPROGS) /bin/; \ | ||
43 | + install -c $(BINPROGS) $(DESTDIR)/bin/; \ | ||
44 | fi | ||
45 | # | ||
46 | # Install gamma correction files. These are just templates, | ||
47 | @@ -401,6 +403,7 @@ | ||
48 | # | ||
49 | @if [ -d $(FOODB) ]; then \ | ||
50 | for dir in driver printer opt; do \ | ||
51 | + [ -d $(FOODB)/$$dir/ ] || install -d -m 755 $(FOODB)/$$dir/; \ | ||
52 | echo install -m 644 foomatic-db/$$dir/*.xml $(FOODB)/$$dir/; \ | ||
53 | install -c -m 644 foomatic-db/$$dir/*.xml $(FOODB)/$$dir/; \ | ||
54 | done \ | ||
55 | @@ -418,10 +421,10 @@ | ||
56 | # | ||
57 | # Clear foomatic cache and rebuild database if needed | ||
58 | # | ||
59 | -rm -rf /var/cache/foomatic/*/* | ||
60 | -rm -f /var/cache/foomatic/printconf.pickle | ||
61 | -if [ -d /var/cache/foomatic/compiled ]; then \ | ||
62 | - cd /var/cache/foomatic/compiled; \ | ||
63 | +rm -rf $(DESTDIR)/var/cache/foomatic/*/* | ||
64 | +rm -f $(DESTDIR)/var/cache/foomatic/printconf.pickle | ||
65 | +if [ -d $(DESTDIR)/var/cache/foomatic/compiled ]; then \ | ||
66 | + cd $(DESTDIR)/var/cache/foomatic/compiled; \ | ||
67 | foomatic-combo-xml -O >overview.xml; \ | ||
68 | fi | ||
69 | |||
70 | @@ -492,18 +495,12 @@ | ||
71 | fi; \ | ||
72 | done | ||
73 | |||
74 | -MODEL=/usr/share/cups/model | ||
75 | -LOCALMODEL=/usr/local/share/cups/model | ||
76 | +MODEL=$(PREFIX)/share/cups/model | ||
77 | +#LOCALMODEL=/usr/local/share/cups/model | ||
78 | install-ppd: | ||
79 | # | ||
80 | # Install PPD files for CUPS | ||
81 | # | ||
82 | -if [ -d /usr/share/ppd/ ]; then \ | ||
83 | - find /usr/share/ppd/ -name '*foo2zjs*' | xargs rm -f; \ | ||
84 | - find /usr/share/ppd/ -name '*foo2hp*' | xargs rm -f; \ | ||
85 | - find /usr/share/ppd/ -name '*foo2xqx*' | xargs rm -f; \ | ||
86 | - find /usr/share/ppd/ -name '*foo2lava*' | xargs rm -f; \ | ||
87 | -fi | ||
88 | if [ -d $(MODEL) ]; then \ | ||
89 | cd PPD; \ | ||
90 | for ppd in *.ppd; do \ | ||
91 | @@ -516,10 +513,8 @@ | ||
92 | done; \ | ||
93 | fi | ||
94 | |||
95 | -USBDIR=/etc/hotplug/usb | ||
96 | -UDEVDIR=/etc/udev/rules.d | ||
97 | -RULES=hplj10xx.rules | ||
98 | -install-hotplug: install-hotplug-test install-hotplug-prog | ||
99 | +USBDIR=$(DESTDIR)/etc/hotplug/usb | ||
100 | +install-hotplug: install-hotplug-test install-udev | ||
101 | |||
102 | install-hotplug-test: | ||
103 | # | ||
104 | @@ -537,18 +532,18 @@ | ||
105 | # | ||
106 | |||
107 | install-hotplug-prog: | ||
108 | -if [ -d $(UDEVDIR) ]; then \ | ||
109 | - install -c -m 644 $(RULES) $(UDEVDIR)/11-$(RULES); \ | ||
110 | -fi | ||
111 | [ -d $(USBDIR) ] || install -d -m 755 $(USBDIR)/ | ||
112 | install -c -m 755 hplj1000 $(USBDIR)/ | ||
113 | ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hplj1005 | ||
114 | ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hplj1018 | ||
115 | ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hplj1020 | ||
116 | -$(USBDIR)/hplj1000 install-usermap | ||
117 | -$(USBDIR)/hplj1005 install-usermap | ||
118 | -$(USBDIR)/hplj1018 install-usermap | ||
119 | -$(USBDIR)/hplj1020 install-usermap | ||
120 | +install -c -m 644 hplj.usermap $(USBDIR)/ | ||
121 | + | ||
122 | +UDEVDIR=$(DESTDIR)/etc/udev/rules.d | ||
123 | +RULES=hplj10xx.rules | ||
124 | +install-udev: | ||
125 | +[ -d $(UDEVDIR) ] || install -d -m 755 $(UDEVDIR)/ | ||
126 | +install -c -m 644 $(RULES) $(UDEVDIR)/11-$(RULES) | ||
127 | |||
128 | cups:FRC | ||
129 | if [ -x /etc/init.d/cups ]; then \ | ||
130 | @@ -862,7 +857,6 @@ | ||
131 | install -c -m 644 README $(DOCDIR) | ||
132 | install -c -m 644 ChangeLog $(DOCDIR) | ||
133 | |||
134 | -GROFF=/usr/local/test/bin/groff | ||
135 | GROFF=groff | ||
136 | manual.pdf: $(MANPAGES) | ||
137 | -$(GROFF) -t -man $(MANPAGES) | ps2pdf - $@ | ||
138 | diff -Nur foo2zjs.orig/hplj.usermap foo2zjs/hplj.usermap | ||
139 | --- foo2zjs.orig/hplj.usermap1970-01-01 01:00:00.000000000 +0100 | ||
140 | +++ foo2zjs/hplj.usermap2007-02-19 23:26:08.000000000 +0100 | ||
141 | @@ -0,0 +1,4 @@ | ||
142 | +hplj1000 0x0003 0x03f0 0x0517 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 | ||
143 | +hplj1005 0x0003 0x03f0 0x1317 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 | ||
144 | +hplj1018 0x0003 0x03f0 0x4117 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 | ||
145 | +hplj1020 0x0003 0x03f0 0x2b17 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000 | ||
146 | diff -Nur foo2zjs.orig/icc2ps/Makefile foo2zjs/icc2ps/Makefile | ||
147 | --- foo2zjs.orig/icc2ps/Makefile2007-02-19 23:27:10.000000000 +0100 | ||
148 | +++ foo2zjs/icc2ps/Makefile2007-02-19 23:26:08.000000000 +0100 | ||
149 | @@ -1,10 +1,10 @@ | ||
150 | -PREFIX=/usr | ||
151 | +PREFIX=$(DESTDIR)/usr | ||
152 | BIN=$(PREFIX)/bin | ||
153 | SRC=icc2ps.c xgetopt.c | ||
154 | LIB=cmscam97.c cmscnvrt.c cmserr.c cmsgamma.c cmsgmt.c cmsintrp.c cmsio1.c \ | ||
155 | cmslut.c cmsmatsh.c cmsmtrx.c cmsnamed.c cmspack.c cmspcs.c cmsps2.c \ | ||
156 | cmssamp.c cmswtpnt.c cmsxform.c cmsio0.c cmsvirt.c | ||
157 | -CFLAGS=-O3 | ||
158 | +CFLAGS?=-O3 | ||
159 | |||
160 | all: foo2zjs-icc2ps | ||
161 | |||
diff --git a/net-print/foo2zjs/files/foo2zjs-udevfwld-20070204.diff b/net-print/foo2zjs/files/foo2zjs-udevfwld-20070204.diff new file mode 100644 index 0000000..5935d5e --- a/dev/null +++ b/net-print/foo2zjs/files/foo2zjs-udevfwld-20070204.diff | |||
@@ -0,0 +1,191 @@ | |||
1 | diff -Nur foo2zjs.orig/Makefile foo2zjs/Makefile | ||
2 | --- foo2zjs.orig/Makefile2007-02-11 11:08:50.000000000 +0100 | ||
3 | +++ foo2zjs/Makefile2007-02-11 11:12:11.000000000 +0100 | ||
4 | @@ -9,6 +9,10 @@ | ||
5 | PREFIX=/usr/local | ||
6 | PREFIX=$(DESTDIR)/usr | ||
7 | |||
8 | +# USB_PRINTERID is also installed there because it is needed by the FWloader | ||
9 | +FWLOADERDIR=$(DESTDIR)/sbin | ||
10 | +FIRMWAREDIR=$(DESTDIR)/lib/firmware | ||
11 | + | ||
12 | # Pathnames for this package... | ||
13 | BIN=$(PREFIX)/bin | ||
14 | SHAREZJS=$(PREFIX)/share/foo2zjs | ||
15 | @@ -470,12 +474,12 @@ | ||
16 | fi; \ | ||
17 | done | ||
18 | # foo2zjs Firmware files (if any) | ||
19 | -install $(LPuid) $(LPgid) -m 775 -d $(SHAREZJS)/firmware/ | ||
20 | +install $(LPuid) $(LPgid) -m 775 -d $(FIRMWAREDIR)/ | ||
21 | for i in sihp*.img; do \ | ||
22 | if [ -f $$i ]; then \ | ||
23 | base=`basename $$i .img`; \ | ||
24 | ./arm2hpdl $$i >$$base.dl; \ | ||
25 | - install -c -m 644 $$base.dl $(SHAREZJS)/firmware/; \ | ||
26 | + install -c -m 644 $$base.dl $(FIRMWAREDIR)/; \ | ||
27 | fi; \ | ||
28 | done | ||
29 | # foo2oak ICM files (if any) | ||
30 | @@ -548,6 +552,8 @@ | ||
31 | UDEVDIR=$(DESTDIR)/etc/udev/rules.d | ||
32 | RULES=hplj10xx.rules | ||
33 | install-udev: | ||
34 | +[ -d $(FWLOADERDIR) ] || install -d -m 755 $(FWLOADERDIR)/ | ||
35 | +install -c -m 755 foo2zjs-loadfw $(FWLOADERDIR)/ | ||
36 | [ -d $(UDEVDIR) ] || install -d -m 755 $(UDEVDIR)/ | ||
37 | install -c -m 644 $(RULES) $(UDEVDIR)/11-$(RULES) | ||
38 | |||
39 | diff -Nur foo2zjs.orig/foo2zjs-loadfw foo2zjs/foo2zjs-loadfw | ||
40 | --- foo2zjs.orig/foo2zjs-loadfw1970-01-01 01:00:00.000000000 +0100 | ||
41 | +++ foo2zjs/foo2zjs-loadfw2007-02-11 11:12:11.000000000 +0100 | ||
42 | @@ -0,0 +1,121 @@ | ||
43 | +#!/bin/sh | ||
44 | + | ||
45 | +#foo2zjs-loadfw: | ||
46 | +# | ||
47 | +#Hotplug script for HP1000/1005/1020 USB laser printers. The model number | ||
48 | +#that this script deals with is determined from the udev env. | ||
49 | +# | ||
50 | +#Used to download firmware automatically into the printer when it | ||
51 | +#is powered up or plugged into the USB port. | ||
52 | +# | ||
53 | +#The inspiration fo this script is from: | ||
54 | +# Oscar Santacreu. Alicante-Spain (2002) | ||
55 | +# Mike Morgan (2004) | ||
56 | +#Modified by Stefan Schweizer (2005) to work as a udev-RUN-script | ||
57 | + | ||
58 | +# | ||
59 | +# Directory to find downloadable HP firmware files sihpMMMM.dl | ||
60 | +# | ||
61 | +FWDIR=/lib/firmware | ||
62 | + | ||
63 | +# | ||
64 | +# Program used to determine USB id information | ||
65 | +# | ||
66 | +USBID=/bin/usb_printerid | ||
67 | + | ||
68 | +# | ||
69 | +#Figure out how to log our messages | ||
70 | +# | ||
71 | +if [ -t 1 ]; then | ||
72 | + # Running from a tty... | ||
73 | + log() { | ||
74 | +echo "$0: $@" | ||
75 | + } | ||
76 | +elif [ -x /usr/bin/logger ]; then | ||
77 | + # Have logger... | ||
78 | + log() { | ||
79 | +logger -t "$0" -- "$@" | ||
80 | + } | ||
81 | +else | ||
82 | + # No logger... | ||
83 | + log() { | ||
84 | +echo "$0: $@" >> /var/log/messages | ||
85 | + } | ||
86 | +fi | ||
87 | + | ||
88 | +# | ||
89 | +#Figure out the model number from the name of this script | ||
90 | +# | ||
91 | +case "$1" in | ||
92 | +1000) | ||
93 | + MODEL=1000 | ||
94 | + MODELNAME="hp LaserJet $MODEL" | ||
95 | + ;; | ||
96 | +1005) | ||
97 | + MODEL=1005 | ||
98 | + MODELNAME="hp LaserJet $MODEL" | ||
99 | + ;; | ||
100 | +1018) | ||
101 | + MODEL=1018 | ||
102 | + MODELNAME="HP LaserJet $MODEL" | ||
103 | + ;; | ||
104 | +1020) | ||
105 | + MODEL=1020 | ||
106 | + MODELNAME="HP LaserJet $MODEL" | ||
107 | + ;; | ||
108 | +*) | ||
109 | + log "Only HP LaserJet 1000, 1005, 1018 and 1020 are supported" | ||
110 | + log "You need to supply one of these on the cmdline: $0 10**" | ||
111 | + exit | ||
112 | + ;; | ||
113 | +esac | ||
114 | + | ||
115 | +if [ -z "$DEVNAME" ]; then | ||
116 | + if [ -n "$2" ]; then | ||
117 | + DEVNAME=$2 | ||
118 | + else | ||
119 | + log "You need to either have $DEVNAME set in the environment or supply it on the cmdline, like:" | ||
120 | + log "$0 10** /dev/usb/lp0" | ||
121 | + exit 1 | ||
122 | + fi | ||
123 | +fi | ||
124 | + | ||
125 | +# | ||
126 | +#Procedure to load a single device with firmware | ||
127 | +# | ||
128 | +load1() { | ||
129 | + fw="$FWDIR/sihp$MODEL.dl" | ||
130 | + if [ ! -f "$fw" ]; then | ||
131 | +log "Missing HP LaserJet $MODEL firmware file $fw" | ||
132 | +log "...read foo2zjs installation instructions and run ./getweb $MODEL" | ||
133 | +return 1 | ||
134 | + fi | ||
135 | + | ||
136 | + log "loading HP LaserJet $MODEL firmware $fw to $DEVNAME ..." | ||
137 | + if cat $fw > $DEVNAME; then | ||
138 | +log "... download successful." | ||
139 | + else | ||
140 | +log "... download failed." | ||
141 | + fi | ||
142 | + return 0 | ||
143 | +} | ||
144 | + | ||
145 | +# | ||
146 | +#OK, now download firmware to any printers that need it | ||
147 | +# | ||
148 | +if [ -x $USBID ]; then | ||
149 | +if $USBID $DEVNAME | grep "$MODELNAME" 2> /dev/null; then | ||
150 | + # This is a LaserJet 100x | ||
151 | + if $USBID $DEVNAME | grep 'FWVER' 2> /dev/null; then | ||
152 | + log "HP LaserJet $MODEL firmware already loaded into $DEVNAME" | ||
153 | + else | ||
154 | + # Firmware is not yet loaded | ||
155 | + load1 "$DEVNAME" | ||
156 | + fi | ||
157 | +else | ||
158 | + log "No supported printer found." | ||
159 | +fi | ||
160 | +else | ||
161 | + log "HP LaserJet $MODEL firmware was not downloaded..." | ||
162 | + log "...couldn't find $USBID" | ||
163 | +fi | ||
164 | diff -Nur foo2zjs.orig/hplj1000 foo2zjs/hplj1000 | ||
165 | --- foo2zjs.orig/hplj10002007-02-11 11:02:46.000000000 +0100 | ||
166 | +++ foo2zjs/hplj10002007-02-11 11:12:11.000000000 +0100 | ||
167 | @@ -35,7 +35,7 @@ | ||
168 | # | ||
169 | # Directory to find downloadable HP firmware files sihpMMMM.dl | ||
170 | # | ||
171 | -FWDIR=/usr/share/foo2zjs/firmware | ||
172 | +FWDIR=/lib/firmware | ||
173 | |||
174 | # | ||
175 | # Program used to determine USB id information | ||
176 | diff -Nur foo2zjs.orig/hplj10xx.rules foo2zjs/hplj10xx.rules | ||
177 | --- foo2zjs.orig/hplj10xx.rules2007-02-11 11:02:46.000000000 +0100 | ||
178 | +++ foo2zjs/hplj10xx.rules2007-02-11 11:12:11.000000000 +0100 | ||
179 | @@ -1,8 +1,8 @@ | ||
180 | #Own udev rule for HP Laserjet 1000 | ||
181 | -KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", SYSFS{product}=="hp LaserJet 1000", NAME="usb/%k", SYMLINK+="hplj1000%e", MODE="0666", RUN+="/etc/hotplug/usb/hplj1000" | ||
182 | +KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="0517", NAME="usb/%k", SYMLINK+="hplj1000%e", MODE="0660", GROUP="lp", RUN+="/sbin/foo2zjs-loadfw 1000" | ||
183 | #Own udev rule for HP Laserjet 1005 | ||
184 | -KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", SYSFS{product}=="hp LaserJet 1005 series", NAME="usb/%k", SYMLINK+="hplj1005%e", MODE="0666", RUN+="/etc/hotplug/usb/hplj1005" | ||
185 | +KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="1317", NAME="usb/%k", SYMLINK+="hplj1005%e", MODE="0660", GROUP="lp", RUN+="/sbin/foo2zjs-loadfw 1005" | ||
186 | #Own udev rule for HP Laserjet 1018 | ||
187 | -KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", SYSFS{product}=="HP LaserJet 1018", NAME="usb/%k", SYMLINK+="hplj1018%e", MODE="0666", RUN+="/etc/hotplug/usb/hplj1018" | ||
188 | +KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="4117", NAME="usb/%k", SYMLINK+="hplj1018%e", MODE="0660", GROUP="lp", RUN+="/sbin/foo2zjs-loadfw 1018" | ||
189 | #Own udev rule for HP Laserjet 1020 | ||
190 | -KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", SYSFS{product}=="HP LaserJet 1020", NAME="usb/%k", SYMLINK+="hplj1020%e", MODE="0666", RUN+="/etc/hotplug/usb/hplj1020" | ||
191 | +KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", SYSFS{idProduct}=="2b17", NAME="usb/%k", SYMLINK+="hplj1020%e", MODE="0660", GROUP="lp", RUN+="/sbin/foo2zjs-loadfw 1020" | ||
diff --git a/net-print/foo2zjs/foo2zjs-20070204.ebuild b/net-print/foo2zjs/foo2zjs-20070204.ebuild new file mode 100644 index 0000000..5d02498 --- a/dev/null +++ b/net-print/foo2zjs/foo2zjs-20070204.ebuild | |||
@@ -0,0 +1,106 @@ | |||
1 | # Copyright 1999-2007 Gentoo Foundation | ||
2 | # Distributed under the terms of the GNU General Public License v2 | ||
3 | # $Header: /var/cvsroot/gentoo-x86/net-print/foo2zjs/foo2zjs-20070204.ebuild,v 1.2 2007/02/19 20:58:34 genstef Exp $ | ||
4 | |||
5 | inherit eutils | ||
6 | |||
7 | DESCRIPTION="Support for printing to ZjStream-based printers" | ||
8 | HOMEPAGE="http://foo2zjs.rkkda.com/" | ||
9 | SRC_URI=" | ||
10 | http://gentooexperimental.org/~genstef/dist/${P}.tar.gz | ||
11 | foo2zjs_devices_hp2600n? ( http://foo2zjs.rkkda.com/km2430.tar.gz http://foo2hp.rkkda.com/hpclj2600n.tar.gz ) | ||
12 | foo2zjs_devices_hp1600? ( http://foo2zjs.rkkda.com/km2430.tar.gz http://foo2hp.rkkda.com/hpclj2600n.tar.gz ) | ||
13 | foo2zjs_devices_km2430? ( http://foo2zjs.rkkda.com/km2430.tar.gz ) | ||
14 | foo2zjs_devices_km2300? ( http://foo2zjs.rkkda.com/km2430.tar.gz ftp://ftp.minolta-qms.com/pub/crc/out_going/win/m23dlicc.exe ) | ||
15 | foo2zjs_devices_km2200? ( ftp://ftp.minolta-qms.com/pub/crc/out_going/win2000/m22dlicc.exe ) | ||
16 | foo2zjs_devices_kmcpwl? ( ftp://ftp.minolta-qms.com/pub/crc/out_going/windows/cpplxp.exe ) | ||
17 | foo2zjs_devices_hp1020? ( http://foo2zjs.rkkda.com/sihp1020.tar.gz ) | ||
18 | foo2zjs_devices_hp1018? ( http://foo2zjs.rkkda.com/sihp1018.tar.gz ) | ||
19 | foo2zjs_devices_hp1005? ( http://foo2zjs.rkkda.com/sihp1005.tar.gz ) | ||
20 | foo2zjs_devices_hp1000? ( http://foo2zjs.rkkda.com/sihp1000.tar.gz ) | ||
21 | !foo2zjs_devices_hp2600n? ( !foo2zjs_devices_hp1600? ( | ||
22 | !foo2zjs_devices_km2430? ( !foo2zjs_devices_km2300? ( | ||
23 | !foo2zjs_devices_km2200? ( !foo2zjs_devices_kmcpwl? ( | ||
24 | !foo2zjs_devices_hp1020? ( !foo2zjs_devices_hp1018? ( | ||
25 | !foo2zjs_devices_hp1005? ( !foo2zjs_devices_hp1000? ( | ||
26 | http://foo2zjs.rkkda.com/km2430.tar.gz | ||
27 | http://foo2hp.rkkda.com/hpclj2600n.tar.gz | ||
28 | ftp://ftp.minolta-qms.com/pub/crc/out_going/win/m23dlicc.exe | ||
29 | ftp://ftp.minolta-qms.com/pub/crc/out_going/win2000/m22dlicc.exe | ||
30 | ftp://ftp.minolta-qms.com/pub/crc/out_going/windows/cpplxp.exe | ||
31 | http://foo2zjs.rkkda.com/sihp1020.tar.gz | ||
32 | http://foo2zjs.rkkda.com/sihp1018.tar.gz | ||
33 | http://foo2zjs.rkkda.com/sihp1005.tar.gz | ||
34 | http://foo2zjs.rkkda.com/sihp1000.tar.gz ) ) ) ) ) ) ) ) ) ) | ||
35 | " | ||
36 | RESTRICT="nomirror" | ||
37 | LICENSE="GPL-2" | ||
38 | SLOT="0" | ||
39 | IUSE="cups foomaticdb usb | ||
40 | foo2zjs_devices_hp2600n foo2zjs_devices_hp1600 | ||
41 | foo2zjs_devices_km2430 foo2zjs_devices_km2300 | ||
42 | foo2zjs_devices_km2200 foo2zjs_devices_kmcpwl | ||
43 | foo2zjs_devices_hp1020 foo2zjs_devices_hp1018 | ||
44 | foo2zjs_devices_hp1005 foo2zjs_devices_hp1000" | ||
45 | DEPEND="app-arch/unzip" | ||
46 | RDEPEND="cups? ( net-print/cups ) | ||
47 | foomaticdb? ( net-print/foomatic-db-engine ) | ||
48 | net-print/foomatic-filters | ||
49 | sys-fs/udev" | ||
50 | KEYWORDS="~x86 ~amd64 ~ppc" | ||
51 | S=${WORKDIR}/${PN} | ||
52 | |||
53 | src_unpack() { | ||
54 | unpack ${P}.tar.gz | ||
55 | |||
56 | # link getweb files in ${S} to get unpacked | ||
57 | for i in ${A} | ||
58 | do | ||
59 | ln -s ${DISTDIR}/${i} ${S} | ||
60 | done | ||
61 | |||
62 | cd ${S} | ||
63 | epatch ${FILESDIR}/foo2zjs-Makefile-20070204.diff | ||
64 | epatch ${FILESDIR}/foo2zjs-udevfwld-20070204.diff | ||
65 | } | ||
66 | |||
67 | src_compile() { | ||
68 | emake getweb || die "Failed building getweb script" | ||
69 | |||
70 | # remove wget as we got the firmware with portage | ||
71 | sed -i -e "s/.*wget.*//" \ | ||
72 | -e "s/error \"Couldn't dow.*//" getweb | ||
73 | # unpack files | ||
74 | use foo2zjs_devices_hp2600n && ./getweb 2600n | ||
75 | use foo2zjs_devices_hp1600 && ./getweb 1600 | ||
76 | use foo2zjs_devices_km2430 && ./getweb 2430 | ||
77 | use foo2zjs_devices_km2300 && ./getweb 2300 | ||
78 | use foo2zjs_devices_km2200 && ./getweb 2200 | ||
79 | use foo2zjs_devices_kmcpwl && ./getweb cpwl | ||
80 | |||
81 | use foo2zjs_devices_hp1020 && ./getweb 1020 | ||
82 | use foo2zjs_devices_hp1018 && ./getweb 1018 | ||
83 | use foo2zjs_devices_hp1005 && ./getweb 1005 | ||
84 | use foo2zjs_devices_hp1000 && ./getweb 1000 | ||
85 | use foo2zjs_devices_hp2600n || use foo2zjs_devices_hp1600 || use \ | ||
86 | foo2zjs_devices_km2430 || use foo2zjs_devices_km2430 || use \ | ||
87 | foo2zjs_devices_km2300 || use foo2zjs_devices_km2200 || use \ | ||
88 | foo2zjs_devices_kmcpwl || use foo2zjs_devices_hp1020 || use \ | ||
89 | foo2zjs_devices_hp1018 || use foo2zjs_devices_hp1005 || use \ | ||
90 | foo2zjs_devices_hp1000 || ./getweb all | ||
91 | |||
92 | emake || die "emake failed" | ||
93 | } | ||
94 | |||
95 | src_install() { | ||
96 | use foomaticdb && dodir /usr/share/foomatic/db/source | ||
97 | |||
98 | use cups && dodir /usr/share/cups/model | ||
99 | |||
100 | emake DESTDIR=${D} install install-udev \ | ||
101 | || die "emake install failed" | ||
102 | } | ||
103 | |||
104 | pkg_postinst() { | ||
105 | udevcontrol reload_rules | ||
106 | } | ||
diff --git a/net-print/foo2zjs/metadata.xml b/net-print/foo2zjs/metadata.xml new file mode 100644 index 0000000..349b49b --- a/dev/null +++ b/net-print/foo2zjs/metadata.xml | |||
@@ -0,0 +1,9 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
3 | <pkgmetadata> | ||
4 | <herd>printing</herd> | ||
5 | <maintainer> | ||
6 | <email>genstef@gentoo.org</email> | ||
7 | <name>Stefan Schweizer</name> | ||
8 | </maintainer> | ||
9 | </pkgmetadata> | ||
diff --git a/profiles/categories b/profiles/categories index bb0294a..2bd0535 100644 --- a/profiles/categories +++ b/profiles/categories | |||
@@ -1,10 +1,11 @@ | |||
1 | app-admin | 1 | app-admin |
2 | app-pda | 2 | app-pda |
3 | app-text | 3 | app-text |
4 | dev-db | 4 | dev-db |
5 | dev-libs | 5 | dev-libs |
6 | dev-perl | 6 | dev-perl |
7 | net-im | 7 | net-im |
8 | net-print | ||
8 | sys-apps | 9 | sys-apps |
9 | www-misc | 10 | www-misc |
10 | x11-plugins | 11 | x11-plugins |