summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/cups
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-10-27 01:42:18 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-10-30 13:39:12 +0000
commit3f4d3eef3478d6f28ad4cee25eb58db4cb0b3ef6 (patch)
tree1fb692f58cf2cc7186a025284acde0015f18dd4d /meta/recipes-extended/cups
parent1a573bbf2d40320a0a7fa2439f498ae6e8bb2ce3 (diff)
downloadpoky-3f4d3eef3478d6f28ad4cee25eb58db4cb0b3ef6.tar.gz
cups: upgrade to 1.7.0
Rename and consolidate cups16.inc to cups.inc use PACKAGECONFIG for pam. (From OE-Core rev: b749bed86efcdc063d720fa095ffa7a7984cd53c) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/cups')
-rw-r--r--meta/recipes-extended/cups/cups.inc (renamed from meta/recipes-extended/cups/cups16.inc)17
-rw-r--r--meta/recipes-extended/cups/cups_1.6.4.bb19
-rw-r--r--meta/recipes-extended/cups/cups_1.7.0.bb6
3 files changed, 20 insertions, 22 deletions
diff --git a/meta/recipes-extended/cups/cups16.inc b/meta/recipes-extended/cups/cups.inc
index 7b8ba06d59..62295b73ca 100644
--- a/meta/recipes-extended/cups/cups16.inc
+++ b/meta/recipes-extended/cups/cups.inc
@@ -2,18 +2,24 @@ SUMMARY = "An Internet printing system for Unix"
2DESCRIPTION = "An Internet printing system for Unix." 2DESCRIPTION = "An Internet printing system for Unix."
3SECTION = "console/utils" 3SECTION = "console/utils"
4LICENSE = "GPLv2 & LGPLv2" 4LICENSE = "GPLv2 & LGPLv2"
5DEPENDS = "gnutls libpng jpeg dbus dbus-glib zlib" 5DEPENDS = "gnutls libpng jpeg dbus dbus-glib zlib libusb"
6PROVIDES = "cups14" 6PROVIDES = "cups14"
7 7
8SRC_URI = "http://www.cups.org/software/${PV}/${BP}-source.tar.bz2" 8SRC_URI = "http://www.cups.org/software/${PV}/${BP}-source.tar.bz2 \
9 file://use_echo_only_in_init.patch \
10 file://0001-don-t-try-to-run-generated-binaries.patch \
11 file://cups_serverbin.patch \
12 "
9 13
10LEAD_SONAME = "libcupsdriver.so" 14LEAD_SONAME = "libcupsdriver.so"
11 15
12inherit autotools binconfig 16inherit autotools binconfig
13 17
14PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)}" 18PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \
19 ${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
15PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi" 20PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi"
16PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl" 21PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl"
22PACKAGECONFIG[pam] = "--enable-pam, --disable-pam, libpam"
17 23
18EXTRA_OECONF = " \ 24EXTRA_OECONF = " \
19 --enable-gnutls \ 25 --enable-gnutls \
@@ -21,6 +27,10 @@ EXTRA_OECONF = " \
21 --enable-browsing \ 27 --enable-browsing \
22 --disable-openssl \ 28 --disable-openssl \
23 --disable-tiff \ 29 --disable-tiff \
30 --disable-gssapi \
31 --enable-debug \
32 --disable-relro \
33 --enable-libusb \
24 --without-php \ 34 --without-php \
25 --without-perl \ 35 --without-perl \
26 --without-python \ 36 --without-python \
@@ -98,6 +108,7 @@ FILES_${PN} += "${datadir}/doc/cups/images \
98 ${datadir}/doc/cups/*.css \ 108 ${datadir}/doc/cups/*.css \
99 ${datadir}/icons/ \ 109 ${datadir}/icons/ \
100 " 110 "
111CONFFILES_${PN} += "${sysconfdir}/cups/cupsd.conf"
101 112
102SYSROOT_PREPROCESS_FUNCS += "cups_sysroot_preprocess" 113SYSROOT_PREPROCESS_FUNCS += "cups_sysroot_preprocess"
103cups_sysroot_preprocess () { 114cups_sysroot_preprocess () {
diff --git a/meta/recipes-extended/cups/cups_1.6.4.bb b/meta/recipes-extended/cups/cups_1.6.4.bb
deleted file mode 100644
index 8aabd49d26..0000000000
--- a/meta/recipes-extended/cups/cups_1.6.4.bb
+++ /dev/null
@@ -1,19 +0,0 @@
1require cups16.inc
2
3DEPENDS += "libusb \
4 ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
5
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c5e50cb4b8f24b04636b719683a9102d"
7SRC_URI += " \
8 file://use_echo_only_in_init.patch \
9 file://0001-don-t-try-to-run-generated-binaries.patch \
10 file://cups_serverbin.patch \
11 "
12
13SRC_URI[md5sum] = "52c3df269709a4d25472cfe72ab5e856"
14SRC_URI[sha256sum] = "b910c3e43b2d06f54154d12710e849455d0710c9983dab0a5f49a5e93b1b7e73"
15
16EXTRA_OECONF += " --disable-gssapi --enable-debug --disable-relro --enable-libusb \
17 ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}"
18
19CONFFILES_${PN} += "${sysconfdir}/cups/cupsd.conf"
diff --git a/meta/recipes-extended/cups/cups_1.7.0.bb b/meta/recipes-extended/cups/cups_1.7.0.bb
new file mode 100644
index 0000000000..157d90b2de
--- /dev/null
+++ b/meta/recipes-extended/cups/cups_1.7.0.bb
@@ -0,0 +1,6 @@
1require cups.inc
2
3LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c5e50cb4b8f24b04636b719683a9102d"
4
5SRC_URI[md5sum] = "5ab496a2ce27017fcdb3d7ec4818a75a"
6SRC_URI[sha256sum] = "cf15b8caa9dab4638b628427ef309ab381817fc574b8e736d58680e0475cb2c8"