]> code.ossystems Code Review - openembedded-core.git/commitdiff
cups: Upgrade to 2.0.0
authorSaul Wold <sgw@linux.intel.com>
Fri, 7 Nov 2014 00:19:38 +0000 (16:19 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 9 Nov 2014 10:17:03 +0000 (10:17 +0000)
Remove backported patch and rebase gcrypt patch

Licence change updates the date and removes the OpenSSL exception

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/cups/cups.inc
meta/recipes-extended/cups/cups/0001-don-t-try-to-run-generated-binaries.patch
meta/recipes-extended/cups/cups/cups-no-gcrypt.patch [deleted file]
meta/recipes-extended/cups/cups_1.7.5.bb [deleted file]
meta/recipes-extended/cups/cups_2.0.0.bb [new file with mode: 0644]

index 945f69a2c433d1b83c7d8e29fdcbd9682456478b..6720c3d596699f3444af2473481771d93737ef90 100644 (file)
@@ -7,7 +7,6 @@ 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 \
-           file://cups-no-gcrypt.patch \
            file://cups.socket \
            file://cups.path \
            file://cups.service \
index e6544b5607b0c22ff0def04ffb7537682cf3a2ce..5379eb6aa2b6710a433d115d10389143961564ea 100644 (file)
@@ -10,13 +10,13 @@ Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
  ppdc/Makefile |   30 +++++++++++++++---------------
  1 files changed, 15 insertions(+), 15 deletions(-)
 
-diff --git a/ppdc/Makefile b/ppdc/Makefile
-index 0288d47..fc87f1b 100644
---- a/ppdc/Makefile
-+++ b/ppdc/Makefile
-@@ -243,8 +243,8 @@ genstrings:                genstrings.o libcupsppdc.a ../cups/libcups.a \
+Index: cups-2.0.0/ppdc/Makefile
+===================================================================
+--- cups-2.0.0.orig/ppdc/Makefile
++++ cups-2.0.0/ppdc/Makefile
+@@ -242,8 +242,8 @@ genstrings:                genstrings.o libcupsppdc.a
        $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o genstrings genstrings.o \
-               libcupsppdc.a ../cups/libcups.a $(LIBGSSAPI) $(SSLLIBS) \
+               libcupsppdc.a ../cups/$(LIBCUPSSTATIC) $(LIBGSSAPI) $(SSLLIBS) \
                $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
 -      echo Generating localization strings...
 -      ./genstrings >sample.c
@@ -25,9 +25,9 @@ index 0288d47..fc87f1b 100644
  
  
  #
-@@ -261,9 +261,9 @@ ppdc-static:               ppdc.o libcupsppdc.a  ../cups/libcups.a foo.drv foo-fr.po
+@@ -260,9 +260,9 @@ ppdc-static:               ppdc.o libcupsppdc.a ../cu
        $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o ppdc-static ppdc.o libcupsppdc.a \
-               ../cups/libcups.a $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \
+               ../cups/$(LIBCUPSSTATIC) $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \
                $(COMMONLIBS) $(LIBZ)
 -      echo Testing PPD compiler...
 -      ./ppdc-static -l en,fr -I ../data foo.drv
@@ -38,24 +38,26 @@ index 0288d47..fc87f1b 100644
  
  
  #
-@@ -290,16 +290,16 @@ ppdi-static:             ppdc-static ppdi.o libcupsppdc.a  ../cups/libcups.a
-               ../cups/libcups.a $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \
+@@ -288,17 +288,17 @@ ppdi-static:             ppdc-static ppdi.o libcups
+       $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o ppdi-static ppdi.o libcupsppdc.a \
+               ../cups/$(LIBCUPSSTATIC) $(LIBGSSAPI) $(SSLLIBS) $(DNSSDLIBS) \
                $(COMMONLIBS) $(LIBZ)
-       echo Testing PPD importer...
+-      echo Testing PPD importer...
 -      $(RM) -r ppd ppd2 sample-import.drv
--      ./ppdc-static -I ../data sample.drv
+-      ./ppdc-static -l en -I ../data sample.drv
 -      ./ppdi-static -I ../data -o sample-import.drv ppd/*
--      ./ppdc-static -I ../data -d ppd2 sample-import.drv
+-      ./ppdc-static -l en -I ../data -d ppd2 sample-import.drv
 -      if diff -r ppd ppd2 >/dev/null; then \
 -              echo PPD import OK; \
 -      else \
 -              echo PPD import FAILED; \
 -              exit 1; \
 -      fi
++#     echo Testing PPD importer...
 +#     $(RM) -r ppd ppd2 sample-import.drv
-+#     ./ppdc-static -I ../data sample.drv
++#     ./ppdc-static -l en -I ../data sample.drv
 +#     ./ppdi-static -I ../data -o sample-import.drv ppd/*
-+#     ./ppdc-static -I ../data -d ppd2 sample-import.drv
++#     ./ppdc-static -l en -I ../data -d ppd2 sample-import.drv
 +#     if diff -r ppd ppd2 >/dev/null; then \
 +#             echo PPD import OK; \
 +#     else \
@@ -65,6 +67,3 @@ index 0288d47..fc87f1b 100644
  
  
  #
--- 
-1.6.6.1
-
diff --git a/meta/recipes-extended/cups/cups/cups-no-gcrypt.patch b/meta/recipes-extended/cups/cups/cups-no-gcrypt.patch
deleted file mode 100644 (file)
index 8bbcf39..0000000
+++ /dev/null
@@ -1,49 +0,0 @@
-Description: Don't build-depend on libgcrypt, as nothing is used from it
-Author: Didier Raboud <odyx@debian.org>
-Bug-Debian: https://bugs.debian.org/638416
-Bug: http://www.cups.org/str.php?L????
-
-[CUPS Ticket #4399] -- http://www.cups.org/str.php?L4399
-
-Backported from http://www.cups.org/strfiles.php/3308/cups-no-gcrypt.patch
-
-Upstream-Status: Backport 
-
-Signed-off-by: Armin Kuster <akuster@mvista.com>
-
-Last-Update: 2014-04-07
---- a/config-scripts/cups-ssl.m4
-+++ b/config-scripts/cups-ssl.m4
-@@ -66,7 +66,6 @@
-     dnl Then look for GNU TLS...
-     if test $have_ssl = 0 -a "x$enable_gnutls" != "xno" -a "x$PKGCONFIG" != x; then
-       AC_PATH_PROG(LIBGNUTLSCONFIG,libgnutls-config)
--      AC_PATH_PROG(LIBGCRYPTCONFIG,libgcrypt-config)
-       if $PKGCONFIG --exists gnutls; then
-           have_ssl=1
-           SSLLIBS=`$PKGCONFIG --libs gnutls`
-@@ -84,14 +83,6 @@
-       if test $have_ssl = 1; then
-           CUPS_SERVERCERT="ssl/server.crt"
-           CUPS_SERVERKEY="ssl/server.key"
--
--            if $PKGCONFIG --exists gcrypt; then
--              SSLLIBS="$SSLLIBS `$PKGCONFIG --libs gcrypt`"
--              SSLFLAGS="$SSLFLAGS `$PKGCONFIG --cflags gcrypt`"
--          elif test "x$LIBGCRYPTCONFIG" != x; then
--              SSLLIBS="$SSLLIBS `$LIBGCRYPTCONFIG --libs`"
--              SSLFLAGS="$SSLFLAGS `$LIBGCRYPTCONFIG --cflags`"
--          fi
-       fi
-     fi
---- a/cups/http-private.h
-+++ b/cups/http-private.h
-@@ -80,7 +80,6 @@
- #  elif defined HAVE_GNUTLS
- #    include <gnutls/gnutls.h>
- #    include <gnutls/x509.h>
--#    include <gcrypt.h>
- #  elif defined(HAVE_CDSASSL)
- #    include <CoreFoundation/CoreFoundation.h>
- #    include <Security/Security.h>
diff --git a/meta/recipes-extended/cups/cups_1.7.5.bb b/meta/recipes-extended/cups/cups_1.7.5.bb
deleted file mode 100644 (file)
index 5538cec..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-require cups.inc
-
-LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=c5e50cb4b8f24b04636b719683a9102d"
-
-SRC_URI[md5sum] = "5d893edc2957005f78e2b2423fdace2e"
-SRC_URI[sha256sum] = "18cb4c6847dbaaaa05c8b35af787f19dd5c7686970b46548e72c711c6f26bd02"
diff --git a/meta/recipes-extended/cups/cups_2.0.0.bb b/meta/recipes-extended/cups/cups_2.0.0.bb
new file mode 100644 (file)
index 0000000..384cd0b
--- /dev/null
@@ -0,0 +1,6 @@
+require cups.inc
+
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=6c5a350596fba02754bd96eb6df3afd0"
+
+SRC_URI[md5sum] = "2cdd81fea23e9e29555c24bdfd0d7c89"
+SRC_URI[sha256sum] = "83fdbbcb4ac4d82949bbde6d5dce7a4b6a62557da8f3d46c5e34b951110f5be2"