diff options
author | Saul Wold <sgw@linux.intel.com> | 2013-10-27 01:42:18 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-10-30 13:39:12 +0000 |
commit | 3f4d3eef3478d6f28ad4cee25eb58db4cb0b3ef6 (patch) | |
tree | 1fb692f58cf2cc7186a025284acde0015f18dd4d /meta/recipes-extended/cups | |
parent | 1a573bbf2d40320a0a7fa2439f498ae6e8bb2ce3 (diff) | |
download | poky-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.bb | 19 | ||||
-rw-r--r-- | meta/recipes-extended/cups/cups_1.7.0.bb | 6 |
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" | |||
2 | DESCRIPTION = "An Internet printing system for Unix." | 2 | DESCRIPTION = "An Internet printing system for Unix." |
3 | SECTION = "console/utils" | 3 | SECTION = "console/utils" |
4 | LICENSE = "GPLv2 & LGPLv2" | 4 | LICENSE = "GPLv2 & LGPLv2" |
5 | DEPENDS = "gnutls libpng jpeg dbus dbus-glib zlib" | 5 | DEPENDS = "gnutls libpng jpeg dbus dbus-glib zlib libusb" |
6 | PROVIDES = "cups14" | 6 | PROVIDES = "cups14" |
7 | 7 | ||
8 | SRC_URI = "http://www.cups.org/software/${PV}/${BP}-source.tar.bz2" | 8 | SRC_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 | ||
10 | LEAD_SONAME = "libcupsdriver.so" | 14 | LEAD_SONAME = "libcupsdriver.so" |
11 | 15 | ||
12 | inherit autotools binconfig | 16 | inherit autotools binconfig |
13 | 17 | ||
14 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)}" | 18 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \ |
19 | ${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" | ||
15 | PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi" | 20 | PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi" |
16 | PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl" | 21 | PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl" |
22 | PACKAGECONFIG[pam] = "--enable-pam, --disable-pam, libpam" | ||
17 | 23 | ||
18 | EXTRA_OECONF = " \ | 24 | EXTRA_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 | " |
111 | CONFFILES_${PN} += "${sysconfdir}/cups/cupsd.conf" | ||
101 | 112 | ||
102 | SYSROOT_PREPROCESS_FUNCS += "cups_sysroot_preprocess" | 113 | SYSROOT_PREPROCESS_FUNCS += "cups_sysroot_preprocess" |
103 | cups_sysroot_preprocess () { | 114 | cups_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 @@ | |||
1 | require cups16.inc | ||
2 | |||
3 | DEPENDS += "libusb \ | ||
4 | ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" | ||
5 | |||
6 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c5e50cb4b8f24b04636b719683a9102d" | ||
7 | SRC_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 | |||
13 | SRC_URI[md5sum] = "52c3df269709a4d25472cfe72ab5e856" | ||
14 | SRC_URI[sha256sum] = "b910c3e43b2d06f54154d12710e849455d0710c9983dab0a5f49a5e93b1b7e73" | ||
15 | |||
16 | EXTRA_OECONF += " --disable-gssapi --enable-debug --disable-relro --enable-libusb \ | ||
17 | ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}" | ||
18 | |||
19 | CONFFILES_${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 @@ | |||
1 | require cups.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c5e50cb4b8f24b04636b719683a9102d" | ||
4 | |||
5 | SRC_URI[md5sum] = "5ab496a2ce27017fcdb3d7ec4818a75a" | ||
6 | SRC_URI[sha256sum] = "cf15b8caa9dab4638b628427ef309ab381817fc574b8e736d58680e0475cb2c8" | ||