Gentoo Archives: gentoo-commits

From: "Stefan Schweizer (genstef)" <genstef@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-print/foo2zjs/files: foo2zjs-udevfwld-20071105.diff digest-foo2zjs-20071103 foo2zjs-Makefile-20071105.diff foo2zjs-udevfwld-20070424.diff digest-foo2zjs-20071012 foo2zjs-Makefile-20070424.diff digest-foo2zjs-20070424
Date: Mon, 05 Nov 2007 11:08:43
Message-Id: E1Iozoo-0002t0-Vg@stork.gentoo.org
1 genstef 07/11/05 11:08:34
2
3 Added: foo2zjs-udevfwld-20071105.diff
4 digest-foo2zjs-20071103
5 foo2zjs-Makefile-20071105.diff
6 Removed: foo2zjs-udevfwld-20070424.diff
7 digest-foo2zjs-20071012
8 foo2zjs-Makefile-20070424.diff
9 digest-foo2zjs-20070424
10 Log:
11 version bump also solving bug 198122, changed uris
12 (Portage version: 2.1.3.18)
13
14 Revision Changes Path
15 1.1 net-print/foo2zjs/files/foo2zjs-udevfwld-20071105.diff
16
17 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/foo2zjs/files/foo2zjs-udevfwld-20071105.diff?rev=1.1&view=markup
18 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/foo2zjs/files/foo2zjs-udevfwld-20071105.diff?rev=1.1&content-type=text/plain
19
20 Index: foo2zjs-udevfwld-20071105.diff
21 ===================================================================
22 diff -Nur foo2zjs.orig/Makefile foo2zjs/Makefile
23 --- foo2zjs.orig/Makefile 2007-11-05 11:12:09.000000000 +0100
24 +++ foo2zjs/Makefile 2007-11-05 11:13:51.000000000 +0100
25 @@ -10,6 +10,10 @@
26 PREFIX=/usr/local
27 PREFIX=$(DESTDIR)/usr
28
29 +# USB_PRINTERID is also installed there because it is needed by the FWloader
30 +FWLOADERDIR=$(DESTDIR)/sbin
31 +FIRMWAREDIR=$(DESTDIR)/lib/firmware
32 +
33 # Pathnames for this package...
34 BIN=$(PREFIX)/bin
35 SHAREZJS=$(PREFIX)/share/foo2zjs
36 @@ -588,12 +592,12 @@
37 fi; \
38 done
39 # foo2zjs Firmware files (if any)
40 - install $(LPuid) $(LPgid) -m 775 -d $(SHAREZJS)/firmware/
41 + install $(LPuid) $(LPgid) -m 775 -d $(FIRMWAREDIR)/
42 for i in sihp*.img; do \
43 if [ -f $$i ]; then \
44 base=`basename $$i .img`; \
45 ./arm2hpdl $$i >$$base.dl; \
46 - install -c -m 644 $$base.dl $(SHAREZJS)/firmware/; \
47 + install -c -m 644 $$base.dl $(FIRMWAREDIR)/; \
48 fi; \
49 done
50 # foo2oak ICM files (if any)
51 @@ -687,6 +691,8 @@
52 UDEVDIR=$(DESTDIR)/etc/udev/rules.d
53 RULES=hplj10xx.rules
54 install-udev:
55 + [ -d $(FWLOADERDIR) ] || install -d -m 755 $(FWLOADERDIR)/
56 + install -c -m 755 foo2zjs-loadfw $(FWLOADERDIR)/
57 [ -d $(UDEVDIR) ] || install -d -m 755 $(UDEVDIR)/
58 install -c -m 644 $(RULES) $(UDEVDIR)/11-$(RULES)
59
60 diff -Nur foo2zjs.orig/foo2zjs-loadfw foo2zjs/foo2zjs-loadfw
61 --- foo2zjs.orig/foo2zjs-loadfw 1970-01-01 01:00:00.000000000 +0100
62 +++ foo2zjs/foo2zjs-loadfw 2007-11-05 11:13:51.000000000 +0100
63 @@ -0,0 +1,127 @@
64 +#!/bin/sh
65 +
66 +# foo2zjs-loadfw:
67 +#
68 +# Hotplug script for HP1000/1005/1020 USB laser printers. The model number
69 +# that this script deals with is determined from the udev env.
70 +#
71 +# Used to download firmware automatically into the printer when it
72 +# is powered up or plugged into the USB port.
73 +#
74 +# The inspiration fo this script is from:
75 +# Oscar Santacreu. Alicante-Spain (2002)
76 +# Mike Morgan (2004)
77 +# Modified by Stefan Schweizer (2005) to work as a udev-RUN-script
78 +
79 +#
80 +# Directory to find downloadable HP firmware files sihpMMMM.dl
81 +#
82 +FWDIR=/lib/firmware
83 +
84 +#
85 +# Program used to determine USB id information
86 +#
87 +USBID=/bin/usb_printerid
88 +
89 +#
90 +# Timeout to load firmware
91 +#
92 +TIMEOUT=6
93 +
94 +#
95 +# Figure out how to log our messages
96 +#
97 +if [ -t 1 ]; then
98 + # Running from a tty...
99 + log() {
100 + echo "$0: $@"
101 + }
102 +elif [ -x /usr/bin/logger ]; then
103 + # Have logger...
104 + log() {
105 + logger -t "$0" -- "$@"
106 + }
107 +else
108 + # No logger...
109 + log() {
110 + echo "$0: $@" >> /var/log/messages
111 + }
112 +fi
113 +
114 +#
115 +# Figure out the model number from the name of this script
116 +#
117 +case "$1" in
118 +1000)
119 + MODEL=1000
120 + MODELNAME="hp LaserJet $MODEL"
121 + ;;
122 +1005)
123 + MODEL=1005
124 + MODELNAME="hp LaserJet $MODEL"
125 + ;;
126 +1018)
127 + MODEL=1018
128 + MODELNAME="HP LaserJet $MODEL"
129 + ;;
130 +1020)
131 + MODEL=1020
132 + MODELNAME="HP LaserJet $MODEL"
133 + ;;
134 +*)
135 + log "Only HP LaserJet 1000, 1005, 1018 and 1020 are supported"
136 + log "You need to supply one of these on the cmdline: $0 10**"
137 + exit
138 + ;;
139 +esac
140 +
141 +if [ -n "$2" ]; then
142 + DEVNAME=$2
143 +elif [ -n "$DEVNAME" ]; then
144 + log 'using $DEVNAME'
145 +else
146 + log "You need to either have $DEVNAME set in the environment or supply it on the cmdline, like:"
147 + log "$0 10** /dev/usb/lp0"
148 + exit 1
149 +fi
150 +
151 +#
152 +# Procedure to load a single device with firmware
153 +#
154 +load1() {
155 + fw="$FWDIR/sihp$MODEL.dl"
156 + if [ ! -f "$fw" ]; then
157 + log "Missing HP LaserJet $MODEL firmware file $fw"
158 + log "...read foo2zjs installation instructions and run ./getweb $MODEL"
159 + return 1
160 + fi
161 +
162 + log "loading HP LaserJet $MODEL firmware $fw to $DEVNAME ..."
163 + if cat $fw > $DEVNAME; then
164 + sleep $TIMEOUT
165 + log "... download successful."
166 + else
167 + log "... download failed."
168 + fi
169 + return 0
170 +}
171 +
172 +#
173 +# OK, now download firmware to any printers that need it
174 +#
175 +if [ -x $USBID ]; then
176 + if $USBID $DEVNAME | grep "$MODELNAME" 2> /dev/null; then
177 + # This is a LaserJet 100x
178 + if $USBID $DEVNAME | grep 'FWVER' 2> /dev/null; then
179 + log "HP LaserJet $MODEL firmware already loaded into $DEVNAME"
180 + else
181 + # Firmware is not yet loaded
182 + load1 "$DEVNAME"
183 + fi
184 + else
185 + log "No supported printer found."
186 + fi
187 +else
188 + log "HP LaserJet $MODEL firmware was not downloaded..."
189 + log "...couldn't find $USBID"
190 +fi
191 diff -Nur foo2zjs.orig/hplj1000 foo2zjs/hplj1000
192 --- foo2zjs.orig/hplj1000 2007-11-05 11:12:09.000000000 +0100
193 +++ foo2zjs/hplj1000 2007-11-05 11:13:51.000000000 +0100
194 @@ -35,7 +35,7 @@
195 #
196 # Directory to find downloadable HP firmware files sihpMMMM.dl
197 #
198 -FWDIR=/usr/share/foo2zjs/firmware
199 +FWDIR=/lib/firmware
200
201 #
202 # Program used to determine USB id information
203 diff -Nur foo2zjs.orig/hplj10xx.rules foo2zjs/hplj10xx.rules
204 --- foo2zjs.orig/hplj10xx.rules 2007-11-05 11:12:09.000000000 +0100
205 +++ foo2zjs/hplj10xx.rules 2007-11-05 11:13:57.000000000 +0100
206 @@ -1,16 +1,8 @@
207 -#Own udev rule for HP Laserjet 1000
208 -KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \
209 - SYSFS{product}=="hp LaserJet 1000", NAME="usb/%k", \
210 - SYMLINK+="hplj1000%e", MODE="0666", RUN+="/etc/hotplug/usb/hplj1000"
211 -#Own udev rule for HP Laserjet 1005
212 -KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \
213 - SYSFS{product}=="hp LaserJet 1005 series", NAME="usb/%k", \
214 - SYMLINK+="hplj1005%e", MODE="0666", RUN+="/etc/hotplug/usb/hplj1005"
215 -#Own udev rule for HP Laserjet 1018
216 -KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \
217 - SYSFS{product}=="HP LaserJet 1018", NAME="usb/%k", \
218 - SYMLINK+="hplj1018%e", MODE="0666", RUN+="/etc/hotplug/usb/hplj1018"
219 -#Own udev rule for HP Laserjet 1020
220 -KERNEL=="lp*", BUS=="usb", SYSFS{idVendor}=="03f0", \
221 - SYSFS{product}=="HP LaserJet 1020", NAME="usb/%k", \
222 - SYMLINK+="hplj1020%e", MODE="0666", RUN+="/etc/hotplug/usb/hplj1020"
223 +ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0", \
224 + ATTRS{idProduct}=="0517", RUN+="/sbin/foo2zjs-loadfw 1000 $tempnode"
225 +ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0", \
226 + ATTRS{idProduct}=="1317", RUN+="/sbin/foo2zjs-loadfw 1005 $tempnode"
227 +ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0", \
228 + ATTRS{idProduct}=="4117", RUN+="/sbin/foo2zjs-loadfw 1018 $tempnode"
229 +ACTION=="add", KERNEL=="lp*", SUBSYSTEM=="usb", ATTRS{idVendor}=="03f0", \
230 + ATTRS{idProduct}=="2b17", RUN+="/sbin/foo2zjs-loadfw 1020 $tempnode"
231
232
233
234 1.1 net-print/foo2zjs/files/digest-foo2zjs-20071103
235
236 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/foo2zjs/files/digest-foo2zjs-20071103?rev=1.1&view=markup
237 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/foo2zjs/files/digest-foo2zjs-20071103?rev=1.1&content-type=text/plain
238
239 Index: digest-foo2zjs-20071103
240 ===================================================================
241 MD5 cae0d20d3c1d57cd3953d9b335014294 cpplxp.exe 4799488
242 RMD160 bcd5ceecca248c90a0d3e99dd55c6e1eedd4de6d cpplxp.exe 4799488
243 SHA256 5f4c8b6f20ccf2d525f683847f5dc24bb4c7f58131d6704047d6c9a90d6895af cpplxp.exe 4799488
244 MD5 2e9c6854c7cc1f7467ebdf37536134e9 foo2zjs-20071103.tar.gz 1517521
245 RMD160 3dc2cddfea0494b60ebeb3d24957ce303c931b7b foo2zjs-20071103.tar.gz 1517521
246 SHA256 c747a25021c519c77e7a2410857a7d4e09ae6482ca36718e22b8e7a61d46d817 foo2zjs-20071103.tar.gz 1517521
247 MD5 01edbad2a3343cb12a45a8d295cf8ae7 hpclj2600n.tar.gz 573660
248 RMD160 f646d2cad075231fd1be985911975dcb47fb68ea hpclj2600n.tar.gz 573660
249 SHA256 6d2c37fd73c1a247895c58e119927de7ca636df800bec576513f04b325e1667b hpclj2600n.tar.gz 573660
250 MD5 49898af795806e5d55283657f2bfa2fe km2430.tar.gz 929112
251 RMD160 44990f1bb63eec6cbb7fb4f5f1615d5705d8740a km2430.tar.gz 929112
252 SHA256 bb0151661a37b12496cfe3495dbf473a57a24b496f2b4d0e9221c297059b1ce5 km2430.tar.gz 929112
253 MD5 3e49d51aa1ec1f93c84509c3ac4973d4 km2530.tar.gz 2045958
254 RMD160 708ed0ef48b864823b9c91e0ec975e8bbcb80794 km2530.tar.gz 2045958
255 SHA256 8f6d3786061c99ba014376ef8fc81e7954bddb1bdcc105b33488df92787cd2a4 km2530.tar.gz 2045958
256 MD5 4c2091333d8154b0d48fe1c3d371ca10 lexc500.tar.gz 239577
257 RMD160 4eb7b79cd706024e302c9226b6e8b946b687837c lexc500.tar.gz 239577
258 SHA256 7a8ed9b0c7c6f0a505ee75daf7239dd61e84ab6f6edc032a463104ffecfdfb5c lexc500.tar.gz 239577
259 MD5 3b78a08aa968b4c1ed591947721d3e47 m22dlicc.exe 634368
260 RMD160 392922135a3f517a76a2b5e8b7200c83e6104ef6 m22dlicc.exe 634368
261 SHA256 1d57413f4c36941c64599dae2ac2b1f8a397e128796c2796a108be5b8fd282b3 m22dlicc.exe 634368
262 MD5 d680f447a416c5f9041f27c0a1df57a0 m23dlicc.exe 170496
263 RMD160 f72be93dfc5c8c9159c75d7204820f1305f47905 m23dlicc.exe 170496
264 SHA256 1416cda7e2e3496ff1d121c87dd8984ad1d16ed3396096f05f4919dafd445ae4 m23dlicc.exe 170496
265 MD5 f9eedd5bcb2e86bd3441cf6fe271d878 samclp300.tar.gz 427584
266 RMD160 d82e0ee3c2b7989ef8524a35cc03129cdd9a8a1a samclp300.tar.gz 427584
267 SHA256 515de8c844ed7310b79f6ec2b5424cda2ba09b3584c9975b2957bc95d4d3520e samclp300.tar.gz 427584
268 MD5 3ed374be45e0ecf516524d1776fe8431 sihp1000.tar.gz 50416
269 RMD160 971a6342986b23e464b6ae7649c0fd6b0c12729f sihp1000.tar.gz 50416
270 SHA256 72d10197a005a595ef2e963f15e0fb34d850f7f064d1da9cc9ae30bcec8fb233 sihp1000.tar.gz 50416
271 MD5 538a7b90baf9673001ffe35b1e8bafda sihp1005.tar.gz 52297
272 RMD160 96cb431d55b69245fcb9ece3e1f6757eac46c7e5 sihp1005.tar.gz 52297
273 SHA256 7947ba980f223e216566ec5af25e302ae279251bdf3f6e34df5775ab4c76e8aa sihp1005.tar.gz 52297
274 MD5 c555091cf6f02d404a8ad3a15497291b sihp1018.tar.gz 70544
275 RMD160 0a814be797047129ae0d67cd316c8cdb5007a7dc sihp1018.tar.gz 70544
276 SHA256 c772930cae4fc5c0b2a796d709e2df37aac6b3d03202372161ee3feae8d84d81 sihp1018.tar.gz 70544
277 MD5 974b1b9ec7d083873706c10bc5cdea86 sihp1020.tar.gz 70139
278 RMD160 7dc8c68ecaf736b5a3029eeb8891485b5d7d3654 sihp1020.tar.gz 70139
279 SHA256 7982f476d72247a7e3f0bcd1939e0b4e80a1e2ed45a970477bdf19c9063ee856 sihp1020.tar.gz 70139
280
281
282
283 1.1 net-print/foo2zjs/files/foo2zjs-Makefile-20071105.diff
284
285 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/foo2zjs/files/foo2zjs-Makefile-20071105.diff?rev=1.1&view=markup
286 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/foo2zjs/files/foo2zjs-Makefile-20071105.diff?rev=1.1&content-type=text/plain
287
288 Index: foo2zjs-Makefile-20071105.diff
289 ===================================================================
290 diff -Nur foo2zjs.orig/Makefile foo2zjs/Makefile
291 --- foo2zjs.orig/Makefile 2007-11-05 11:08:51.000000000 +0100
292 +++ foo2zjs/Makefile 2007-11-05 11:10:49.000000000 +0100
293 @@ -8,7 +8,7 @@
294
295 # Installation prefix...
296 PREFIX=/usr/local
297 -PREFIX=/usr
298 +PREFIX=$(DESTDIR)/usr
299
300 # Pathnames for this package...
301 BIN=$(PREFIX)/bin
302 @@ -23,7 +23,7 @@
303 DOCDIR=$(PREFIX)/share/doc/foo2zjs/
304
305 # Pathnames for referenced packages...
306 -FOODB=/usr/share/foomatic/db/source
307 +FOODB=$(PREFIX)/share/foomatic/db/source
308
309 # User ID's
310 LPuid=-olp
311 @@ -210,7 +210,7 @@
312 endif
313
314 # Compiler flags
315 -CFLAGS += -O2 -Wall
316 +CFLAGS ?= -O2 -Wall
317 #CFLAGS += -g
318
319 #
320 @@ -478,12 +478,14 @@
321
322
323 install-prog:
324 + [ -d $(BIN) ] || install -d -m 755 $(BIN)/
325 + [ -d $(DESTDIR)/bin/ ] || install -d -m 755 $(DESTDIR)/bin/
326 #
327 # Install driver, wrapper, and development tools
328 #
329 install -c $(PROGS) $(SHELLS) $(BIN)/
330 if [ "$(BINPROGS)" != "" ]; then \
331 - install -c $(BINPROGS) /bin/; \
332 + install -c $(BINPROGS) $(DESTDIR)/bin/; \
333 fi
334 #
335 # Install gamma correction files. These are just templates,
336 @@ -511,6 +513,7 @@
337 #
338 @if [ -d $(FOODB) ]; then \
339 for dir in driver printer opt; do \
340 + [ -d $(FOODB)/$$dir/ ] || install -d -m 755 $(FOODB)/$$dir/; \
341 echo install -m 644 foomatic-db/$$dir/*.xml $(FOODB)/$$dir/; \
342 install -c -m 644 foomatic-db/$$dir/*.xml $(FOODB)/$$dir/; \
343 done \
344 @@ -528,10 +531,10 @@
345 #
346 # Clear foomatic cache and rebuild database if needed
347 #
348 - rm -rf /var/cache/foomatic/*/*
349 - rm -f /var/cache/foomatic/printconf.pickle
350 - if [ -d /var/cache/foomatic/compiled ]; then \
351 - cd /var/cache/foomatic/compiled; \
352 + rm -rf $(DESTDIR)/var/cache/foomatic/*/*
353 + rm -f $(DESTDIR)/var/cache/foomatic/printconf.pickle
354 + if [ -d $(DESTDIR)/var/cache/foomatic/compiled ]; then \
355 + cd $(DESTDIR)/var/cache/foomatic/compiled; \
356 foomatic-combo-xml -O >overview.xml; \
357 fi
358
359 @@ -629,20 +632,14 @@
360 fi; \
361 done
362
363 -MODEL=/usr/share/cups/model
364 +MODEL=$(PREFIX)/share/cups/model
365 LOCALMODEL=/usr/local/share/cups/model
366 -PPD=/usr/share/ppd
367 +PPD=$(PREFIX)/share/ppd
368 install-ppd:
369 #
370 # Install PPD files for CUPS
371 #
372 if [ -d $(PPD) ]; then \
373 - find $(PPD) -name '*foo2zjs*' | xargs rm -f; \
374 - find $(PPD) -name '*foo2hp*' | xargs rm -f; \
375 - find $(PPD) -name '*foo2xqx*' | xargs rm -f; \
376 - find $(PPD) -name '*foo2lava*' | xargs rm -f; \
377 - find $(PPD) -name '*foo2qpdl*' | xargs rm -f; \
378 - find $(PPD) -name '*foo2slx*' | xargs rm -f; \
379 [ -d $(PPD)/foo2zjs ] || mkdir $(PPD)/foo2zjs; \
380 cd PPD; \
381 for ppd in *.ppd; do \
382 @@ -661,10 +658,8 @@
383 done; \
384 fi
385
386 -USBDIR=/etc/hotplug/usb
387 -UDEVDIR=/etc/udev/rules.d
388 -RULES=hplj10xx.rules
389 -install-hotplug: install-hotplug-test install-hotplug-prog
390 +USBDIR=$(DESTDIR)/etc/hotplug/usb
391 +install-hotplug: install-hotplug-test install-udev
392
393 install-hotplug-test:
394 #
395 @@ -682,18 +677,18 @@
396 #
397
398 install-hotplug-prog:
399 - if [ -d $(UDEVDIR) ]; then \
400 - install -c -m 644 $(RULES) $(UDEVDIR)/11-$(RULES); \
401 - fi
402 [ -d $(USBDIR) ] || install -d -m 755 $(USBDIR)/
403 install -c -m 755 hplj1000 $(USBDIR)/
404 ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hplj1005
405 ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hplj1018
406 ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hplj1020
407 - $(USBDIR)/hplj1000 install-usermap
408 - $(USBDIR)/hplj1005 install-usermap
409 - $(USBDIR)/hplj1018 install-usermap
410 - $(USBDIR)/hplj1020 install-usermap
411 + install -c -m 644 hplj.usermap $(USBDIR)/
412 +
413 +UDEVDIR=$(DESTDIR)/etc/udev/rules.d
414 +RULES=hplj10xx.rules
415 +install-udev:
416 + [ -d $(UDEVDIR) ] || install -d -m 755 $(UDEVDIR)/
417 + install -c -m 644 $(RULES) $(UDEVDIR)/11-$(RULES)
418
419 cups: FRC
420 if [ -x /etc/init.d/cups ]; then \
421 @@ -1033,7 +1028,6 @@
422 install -c -m 644 README $(DOCDIR)
423 install -c -m 644 ChangeLog $(DOCDIR)
424
425 -GROFF=/usr/local/test/bin/groff
426 GROFF=groff
427 manual.pdf: $(MANPAGES)
428 -$(GROFF) -t -man $(MANPAGES) | ps2pdf - $@
429 diff -Nur foo2zjs.orig/hplj.usermap foo2zjs/hplj.usermap
430 --- foo2zjs.orig/hplj.usermap 1970-01-01 01:00:00.000000000 +0100
431 +++ foo2zjs/hplj.usermap 2007-11-05 11:09:10.000000000 +0100
432 @@ -0,0 +1,4 @@
433 +hplj1000 0x0003 0x03f0 0x0517 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
434 +hplj1005 0x0003 0x03f0 0x1317 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
435 +hplj1018 0x0003 0x03f0 0x4117 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
436 +hplj1020 0x0003 0x03f0 0x2b17 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
437 diff -Nur foo2zjs.orig/icc2ps/Makefile foo2zjs/icc2ps/Makefile
438 --- foo2zjs.orig/icc2ps/Makefile 2007-11-05 11:08:51.000000000 +0100
439 +++ foo2zjs/icc2ps/Makefile 2007-11-05 11:09:10.000000000 +0100
440 @@ -1,10 +1,10 @@
441 -PREFIX= /usr
442 +PREFIX= $(DESTDIR)/usr
443 BIN= $(PREFIX)/bin
444 SRC= icc2ps.c xgetopt.c
445 LIB= cmscam97.c cmscnvrt.c cmserr.c cmsgamma.c cmsgmt.c cmsintrp.c cmsio1.c \
446 cmslut.c cmsmatsh.c cmsmtrx.c cmsnamed.c cmspack.c cmspcs.c cmsps2.c \
447 cmssamp.c cmswtpnt.c cmsxform.c cmsio0.c cmsvirt.c
448 -CFLAGS= -O3
449 +CFLAGS?= -O3
450
451 all: foo2zjs-icc2ps
452
453
454
455
456 --
457 gentoo-commits@g.o mailing list