summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/cups/cups-1.4.6
diff options
context:
space:
mode:
authorJingdong Lu <jingdong.lu@windriver.com>2011-02-01 10:32:09 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-01 23:59:41 +0000
commitbbfd012c1ab981162c0f559e19dc27b19f6f3eab (patch)
tree6f90dcd57f50dfcedeb7f974d48d41a54ac7b901 /meta/recipes-extended/cups/cups-1.4.6
parentc0811670ab12f22ca7e1ea03cfaec417bfba9b66 (diff)
downloadpoky-bbfd012c1ab981162c0f559e19dc27b19f6f3eab.tar.gz
cups: add cups 1.4.6
This package has been added from meta-openembedded committed by Koen Kooi. Changes from the meta-openembedded version: * Add SUMMARY * Change dependence name: libusb * Add PR Signed-off-by: Jingdong Lu <jingdong.lu@windriver.com>
Diffstat (limited to 'meta/recipes-extended/cups/cups-1.4.6')
-rw-r--r--meta/recipes-extended/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch68
-rw-r--r--meta/recipes-extended/cups/cups-1.4.6/use_echo_only_in_init.patch11
2 files changed, 79 insertions, 0 deletions
diff --git a/meta/recipes-extended/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch b/meta/recipes-extended/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch
new file mode 100644
index 0000000000..7b544ca0e3
--- /dev/null
+++ b/meta/recipes-extended/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch
@@ -0,0 +1,68 @@
1From 90069586167b930befce7303aea57078f04b4ed8 Mon Sep 17 00:00:00 2001
2From: Koen Kooi <koen@dominion.thruhere.net>
3Date: Sun, 30 Jan 2011 16:37:27 +0100
4Subject: [PATCH] don't try to run generated binaries
5
6Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7---
8 ppdc/Makefile | 30 +++++++++++++++---------------
9 1 files changed, 15 insertions(+), 15 deletions(-)
10
11diff --git a/ppdc/Makefile b/ppdc/Makefile
12index 0288d47..fc87f1b 100644
13--- a/ppdc/Makefile
14+++ b/ppdc/Makefile
15@@ -243,8 +243,8 @@ genstrings: genstrings.o libcupsppdc.a ../cups/libcups.a \
16 $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o genstrings genstrings.o \
17 libcupsppdc.a ../cups/libcups.a $(LIBGSSAPI) $(SSLLIBS) \
18 $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
19- echo Generating localization strings...
20- ./genstrings >sample.c
21+# echo Generating localization strings...
22+# ./genstrings >sample.c
23
24
25 #
26@@ -261,9 +261,9 @@ ppdc-static: ppdc.o libcupsppdc.a ../cups/libcups.a foo.drv foo-fr.po
27 $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o ppdc-static ppdc.o libcupsppdc.a \
28 ../cups/libcups.a $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \
29 $(COMMONLIBS) $(LIBZ)
30- echo Testing PPD compiler...
31- ./ppdc-static -l en,fr -I ../data foo.drv
32- ./ppdc-static -l en,fr -z -I ../data foo.drv
33+# echo Testing PPD compiler...
34+# ./ppdc-static -l en,fr -I ../data foo.drv
35+# ./ppdc-static -l en,fr -z -I ../data foo.drv
36
37
38 #
39@@ -290,16 +290,16 @@ ppdi-static: ppdc-static ppdi.o libcupsppdc.a ../cups/libcups.a
40 ../cups/libcups.a $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \
41 $(COMMONLIBS) $(LIBZ)
42 echo Testing PPD importer...
43- $(RM) -r ppd ppd2 sample-import.drv
44- ./ppdc-static -I ../data sample.drv
45- ./ppdi-static -I ../data -o sample-import.drv ppd/*
46- ./ppdc-static -I ../data -d ppd2 sample-import.drv
47- if diff -r ppd ppd2 >/dev/null; then \
48- echo PPD import OK; \
49- else \
50- echo PPD import FAILED; \
51- exit 1; \
52- fi
53+# $(RM) -r ppd ppd2 sample-import.drv
54+# ./ppdc-static -I ../data sample.drv
55+# ./ppdi-static -I ../data -o sample-import.drv ppd/*
56+# ./ppdc-static -I ../data -d ppd2 sample-import.drv
57+# if diff -r ppd ppd2 >/dev/null; then \
58+# echo PPD import OK; \
59+# else \
60+# echo PPD import FAILED; \
61+# exit 1; \
62+# fi
63
64
65 #
66--
671.6.6.1
68
diff --git a/meta/recipes-extended/cups/cups-1.4.6/use_echo_only_in_init.patch b/meta/recipes-extended/cups/cups-1.4.6/use_echo_only_in_init.patch
new file mode 100644
index 0000000000..21ff0e535b
--- /dev/null
+++ b/meta/recipes-extended/cups/cups-1.4.6/use_echo_only_in_init.patch
@@ -0,0 +1,11 @@
1--- a/init/cups.sh.in.orig 2008-10-04 16:50:46.000000000 -0300
2+++ b/init/cups.sh.in 2008-10-04 16:51:39.000000000 -0300
3@@ -68,7 +68,7 @@
4 ECHO_ERROR=:
5 ;;
6
7- Linux*)
8+ DISABLELinux*)
9 IS_ON=/bin/true
10 if test -f /etc/init.d/functions; then
11 . /etc/init.d/functions