Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 235247 Details for
Bug 263494
net-print/foo2zjs-2010-03-11 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
foo2zjs-20100528-Makefile.patch
foo2zjs-20100528-Makefile.patch (text/plain), 5.11 KB, created by
Alexandre Borges Marcelo
on 2010-06-14 11:14:18 UTC
(
hide
)
Description:
foo2zjs-20100528-Makefile.patch
Filename:
MIME Type:
Creator:
Alexandre Borges Marcelo
Created:
2010-06-14 11:14:18 UTC
Size:
5.11 KB
patch
obsolete
>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 2010-06-10 16:42:47.000000000 -0300 >+++ foo2zjs/Makefile 2010-06-14 07:28:36.000000000 -0300 >@@ -258,7 +258,7 @@ > endif > > # Compiler flags >-CFLAGS += -O2 -Wall >+CFLAGS ?= -O2 -Wall > #CFLAGS += -g > > # >@@ -550,14 +550,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, >@@ -577,6 +578,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 >@@ -590,6 +592,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 -d $(FOODB)/$$dir/; \ > $(INSTALL) -d $(FOODB)/$$dir/; \ >@@ -610,10 +613,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 > >@@ -745,13 +748,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 \ >@@ -798,13 +794,13 @@ > $(INSTALL) -c -m 755 hplj10xx_gui.tcl $(SHAREZJS) > > >-USBDIR=/etc/hotplug/usb >-UDEVDIR=/etc/udev/rules.d >-LIBUDEVDIR=/lib/udev/rules.d >+USBDIR=$(DESTDIR)/etc/hotplug/usb >+UDEVDIR=$(DESTDIR)/etc/udev/rules.d >+LIBUDEVDIR=$(DESTDIR)/lib/udev/rules.d > RULES=hplj10xx.rules > UDEVD=/sbin/udevd > # For FreeBSD 8.0 >-DEVDDIR=/etc/devd >+DEVDDIR=$(DESTDIR)/etc/devd > > install-hotplug: install-hotplug-test install-hotplug-prog > >@@ -836,13 +832,13 @@ > > install-hotplug-prog: > if [ -d $(UDEVDIR) ]; then \ >- rm -f /lib/udev/rules.d/*-hplj10xx.rules; \ > version=`$(UDEVD) --version 2>/dev/null`; \ > if [ "$$version" = "" ]; then version=0; fi; \ > echo "*** udev version $$version"; \ > if [ "$$version" -lt 148 ]; then \ > $(INSTALL) -c -m 644 $(RULES).old $(UDEVDIR)/11-$(RULES); \ > else \ >+ [ -d $(UDEVDIR) ] || install -d -m 755 $(UDEVDIR)/ > $(INSTALL) -c -m 644 $(RULES) $(UDEVDIR)/11-$(RULES); \ > fi \ > fi >@@ -850,26 +846,6 @@ > $(INSTALL) -c -m 644 hplj10xx.conf $(DEVDDIR)/; \ > fi > [ -d $(USBDIR) ] || $(INSTALL) -d -m 755 $(USBDIR)/ >- $(INSTALL) -c -m 755 hplj1000 $(USBDIR)/ >- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hplj1005 >- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hplj1018 >- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hplj1020 >- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hpljP1005 >- ln -sf $(USBDIR)/hplj1000 $(USBDIR)/hpljP1006 >- 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 >- # modprobe usblp >- $(USBDIR)/hplj1000 install-usblp > > cups: FRC > if [ -x /etc/init.d/cups ]; then \ >@@ -1272,7 +1248,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 - $@
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 263494
:
186204
|
186205
|
186207
|
186208
|
188378
|
188380
|
188381
|
188432
|
188480
|
207291
|
207293
|
207294
|
235245
| 235247 |
235249
|
236023
|
236025
|
236027
|
246762
|
246764
|
246765
|
271221