summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/cups
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/cups')
-rw-r--r--meta-oe/recipes-support/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch68
-rw-r--r--meta-oe/recipes-support/cups/cups-1.4.6/use_echo_only_in_init.patch11
-rw-r--r--meta-oe/recipes-support/cups/cups14.inc84
3 files changed, 0 insertions, 163 deletions
diff --git a/meta-oe/recipes-support/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch b/meta-oe/recipes-support/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch
deleted file mode 100644
index 7b544ca0e3..0000000000
--- a/meta-oe/recipes-support/cups/cups-1.4.6/0001-don-t-try-to-run-generated-binaries.patch
+++ /dev/null
@@ -1,68 +0,0 @@
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-oe/recipes-support/cups/cups-1.4.6/use_echo_only_in_init.patch b/meta-oe/recipes-support/cups/cups-1.4.6/use_echo_only_in_init.patch
deleted file mode 100644
index 21ff0e535b..0000000000
--- a/meta-oe/recipes-support/cups/cups-1.4.6/use_echo_only_in_init.patch
+++ /dev/null
@@ -1,11 +0,0 @@
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
diff --git a/meta-oe/recipes-support/cups/cups14.inc b/meta-oe/recipes-support/cups/cups14.inc
deleted file mode 100644
index 430d3ab5b5..0000000000
--- a/meta-oe/recipes-support/cups/cups14.inc
+++ /dev/null
@@ -1,84 +0,0 @@
1DESCRIPTION = "An Internet printing system for Unix."
2SECTION = "console/utils"
3LICENSE = "GPLv2 LGPLv2"
4DEPENDS = "gnutls libpng jpeg dbus dbus-glib zlib"
5PROVIDES = "cups14"
6
7SRC_URI = "ftp://ftp.easysw.com/pub/cups/${PV}/cups-${PV}-source.tar.bz2"
8
9LEAD_SONAME = "libcupsdriver.so"
10
11inherit autotools binconfig
12
13EXTRA_OECONF = " \
14 --enable-gnutls \
15 --enable-dbus \
16 --enable-browsing \
17 --disable-openssl \
18 --disable-tiff \
19 --without-php \
20 --without-perl \
21 --without-python \
22 --without-java \
23 "
24
25
26do_configure() {
27 gnu-configize
28 libtoolize --force
29 DSOFLAGS="${LDFLAGS}" oe_runconf
30}
31
32do_compile () {
33 sed -i s:STRIP:NOSTRIP: Makedefs
34 sed -i s:serial:: backend/Makefile
35
36 echo "all:" > man/Makefile
37 echo "libs:" >> man/Makefile
38 echo "install:" >> man/Makefile
39 echo "install-data:" >> man/Makefile
40 echo "install-exec:" >> man/Makefile
41 echo "install-headers:" >> man/Makefile
42 echo "install-libs:" >> man/Makefile
43
44 oe_runmake "SSLLIBS=-lgnutls -L${STAGING_LIBDIR}" \
45 "LIBPNG=-lpng -lm -L${STAGING_LIBDIR}" \
46 "LIBJPEG=-ljpeg -L${STAGING_LIBDIR}" \
47 "LIBZ=-lz -L${STAGING_LIBDIR}" \
48 "-I."
49}
50
51fakeroot do_install () {
52 oe_runmake "DSTROOT=${D}" install
53
54 # This directory gets installed with perms 511, which makes packaging fail
55 chmod 0711 "${D}/${localstatedir}/run/cups/certs"
56}
57
58python do_package_append() {
59 # Change permissions back the way they were, they probably had a reason...
60 workdir = bb.data.getVar('WORKDIR', d, 1)
61 os.system('chmod 0511 %s/install/cups/var/run/cups/certs' % workdir)
62}
63
64PACKAGES =+ "${PN}-lib ${PN}-libimage"
65
66FILES_${PN}-lib = "${libdir}/libcups.so.*"
67
68FILES_${PN}-libimage = "${libdir}/libcupsimage.so.*"
69
70FILES_${PN}-dbg += "${libdir}/cups/backend/.debug \
71 ${libdir}/cups/cgi-bin/.debug \
72 ${libdir}/cups/filter/.debug \
73 ${libdir}/cups/monitor/.debug \
74 ${libdir}/cups/notifier/.debug \
75 ${libdir}/cups/daemon/.debug \
76 "
77
78#package the html for the webgui inside the main packages (~1MB uncompressed)
79
80FILES_${PN} += "${datadir}/doc/cups/images \
81 ${datadir}/doc/cups/*html \
82 ${datadir}/doc/cups/*.css \
83 ${datadir}/icons/ \
84 "