[oe-commits] Saul Wold : cups: upgrade to 1.7.0

git at git.openembedded.org git at git.openembedded.org
Wed Oct 30 13:24:39 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: b749bed86efcdc063d720fa095ffa7a7984cd53c
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=b749bed86efcdc063d720fa095ffa7a7984cd53c

Author: Saul Wold <sgw at linux.intel.com>
Date:   Sun Oct 27 01:42:18 2013 +0300

cups: upgrade to 1.7.0

Rename and consolidate cups16.inc to cups.inc use PACKAGECONFIG
for pam.

Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 .../recipes-extended/cups/{cups16.inc => cups.inc} |   17 ++++++++++++++---
 meta/recipes-extended/cups/cups_1.6.4.bb           |   19 -------------------
 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
similarity index 84%
rename from meta/recipes-extended/cups/cups16.inc
rename to meta/recipes-extended/cups/cups.inc
index 7b8ba06..62295b7 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"
 DESCRIPTION = "An Internet printing system for Unix."
 SECTION = "console/utils"
 LICENSE = "GPLv2 & LGPLv2"
-DEPENDS = "gnutls libpng jpeg dbus dbus-glib zlib"
+DEPENDS = "gnutls libpng jpeg dbus dbus-glib zlib libusb"
 PROVIDES = "cups14"
 
-SRC_URI = "http://www.cups.org/software/${PV}/${BP}-source.tar.bz2"
+SRC_URI = "http://www.cups.org/software/${PV}/${BP}-source.tar.bz2 \
+           file://use_echo_only_in_init.patch \
+           file://0001-don-t-try-to-run-generated-binaries.patch \
+           file://cups_serverbin.patch \
+	  "
 
 LEAD_SONAME = "libcupsdriver.so"
 
 inherit autotools binconfig
 
-PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)}"
+PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \
+                   ${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
 PACKAGECONFIG[avahi] = "--enable-avahi,--disable-avahi,avahi"
 PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl"
+PACKAGECONFIG[pam] = "--enable-pam, --disable-pam, libpam"
 
 EXTRA_OECONF = " \
                --enable-gnutls \
@@ -21,6 +27,10 @@ EXTRA_OECONF = " \
                --enable-browsing \
                --disable-openssl \
                --disable-tiff \
+               --disable-gssapi \
+               --enable-debug \
+               --disable-relro \
+               --enable-libusb \
                --without-php \
                --without-perl \
                --without-python \
@@ -98,6 +108,7 @@ FILES_${PN} += "${datadir}/doc/cups/images \
                 ${datadir}/doc/cups/*.css \
                 ${datadir}/icons/ \
                "
+CONFFILES_${PN} += "${sysconfdir}/cups/cupsd.conf"
 
 SYSROOT_PREPROCESS_FUNCS += "cups_sysroot_preprocess"
 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 8aabd49..0000000
--- a/meta/recipes-extended/cups/cups_1.6.4.bb
+++ /dev/null
@@ -1,19 +0,0 @@
-require cups16.inc
-
-DEPENDS += "libusb \
-       ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
-
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c5e50cb4b8f24b04636b719683a9102d"
-SRC_URI += " \
-            file://use_echo_only_in_init.patch \
-            file://0001-don-t-try-to-run-generated-binaries.patch \
-            file://cups_serverbin.patch \
-	"
-
-SRC_URI[md5sum] = "52c3df269709a4d25472cfe72ab5e856"
-SRC_URI[sha256sum] = "b910c3e43b2d06f54154d12710e849455d0710c9983dab0a5f49a5e93b1b7e73"
-
-EXTRA_OECONF += " --disable-gssapi --enable-debug --disable-relro --enable-libusb \
-       ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', '--disable-pam', d)}"
-
-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 0000000..157d90b
--- /dev/null
+++ b/meta/recipes-extended/cups/cups_1.7.0.bb
@@ -0,0 +1,6 @@
+require cups.inc
+
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c5e50cb4b8f24b04636b719683a9102d"
+
+SRC_URI[md5sum] = "5ab496a2ce27017fcdb3d7ec4818a75a"
+SRC_URI[sha256sum] = "cf15b8caa9dab4638b628427ef309ab381817fc574b8e736d58680e0475cb2c8"



More information about the Openembedded-commits mailing list