From 2fd0059d9cf44f6e8b19451a1b75b671beb546dd Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 28 Jun 2012 14:47:02 +0000 Subject: [PATCH] [packages] cups: reenable libusb support, refresh patches (#11768) SVN-Revision: 32519 --- net/cups/Makefile | 8 ++++---- net/cups/patches/100-makefile-targets.patch | 2 +- net/cups/patches/140-uname.patch | 2 +- net/cups/patches/150-64bit_host_fix.patch | 8 ++++---- net/cups/patches/160-ppdc.patch | 6 +++--- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/net/cups/Makefile b/net/cups/Makefile index b35fe79f8e..63f2bae4b3 100644 --- a/net/cups/Makefile +++ b/net/cups/Makefile @@ -1,5 +1,5 @@ # -# Copyright (C) 2006-2011 OpenWrt.org +# Copyright (C) 2006-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=cups PKG_VERSION:=1.4.4 -PKG_RELEASE:=2 +PKG_RELEASE:=3 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-source.tar.bz2 PKG_SOURCE_URL:= \ @@ -25,7 +25,7 @@ include $(INCLUDE_DIR)/package.mk define Package/cups SECTION:=net CATEGORY:=Network - DEPENDS:=+zlib +libpthread +libpng +libjpeg +libstdcpp + DEPENDS:=+zlib +libpthread +libpng +libjpeg +libstdcpp +libusb TITLE:=Common UNIX Printing System URL:=http://www.cups.org/ endef @@ -50,7 +50,7 @@ define Build/Configure --without-php \ --enable-shared \ --enable-image \ - --disable-libusb \ + --enable-libusb \ --disable-dbus \ --disable-dnssd \ --disable-launchd \ diff --git a/net/cups/patches/100-makefile-targets.patch b/net/cups/patches/100-makefile-targets.patch index 5d80aaace5..f72532d3c7 100644 --- a/net/cups/patches/100-makefile-targets.patch +++ b/net/cups/patches/100-makefile-targets.patch @@ -1,6 +1,6 @@ --- a/Makefile +++ b/Makefile -@@ -19,8 +19,8 @@ include Makedefs +@@ -20,8 +20,8 @@ include Makedefs # Directories to make... # diff --git a/net/cups/patches/140-uname.patch b/net/cups/patches/140-uname.patch index dca3fcb475..3261de6187 100644 --- a/net/cups/patches/140-uname.patch +++ b/net/cups/patches/140-uname.patch @@ -1,6 +1,6 @@ --- a/configure +++ b/configure -@@ -1926,7 +1926,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu +@@ -1966,7 +1966,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu diff --git a/net/cups/patches/150-64bit_host_fix.patch b/net/cups/patches/150-64bit_host_fix.patch index bd6db19901..5cfdba5695 100644 --- a/net/cups/patches/150-64bit_host_fix.patch +++ b/net/cups/patches/150-64bit_host_fix.patch @@ -1,6 +1,6 @@ --- a/cups-config.in +++ b/cups-config.in -@@ -53,7 +53,7 @@ else +@@ -54,7 +54,7 @@ else CFLAGS="$CFLAGS -I$includedir" fi @@ -33,7 +33,7 @@ HP-UX*) --- a/configure +++ b/configure -@@ -9254,7 +9254,7 @@ if test "$libdir" = "\${exec_prefix}/lib +@@ -10003,7 +10003,7 @@ if test "$libdir" = "\${exec_prefix}/lib ;; Linux*) if test -d /usr/lib64; then @@ -42,7 +42,7 @@ fi ;; HP-UX*) -@@ -9792,9 +9792,6 @@ case "$uname" in +@@ -10626,9 +10626,6 @@ case "$uname" in LIB32CUPS="32bit/libcups.so.2" LIB32CUPSIMAGE="32bit/libcupsimage.so.2" LIB32DIR="$exec_prefix/lib" @@ -52,7 +52,7 @@ UNINSTALL32="uninstall32bit" fi -@@ -9804,9 +9801,6 @@ case "$uname" in +@@ -10638,9 +10635,6 @@ case "$uname" in LIB64CUPS="64bit/libcups.so.2" LIB64CUPSIMAGE="64bit/libcupsimage.so.2" LIB64DIR="$exec_prefix/lib" diff --git a/net/cups/patches/160-ppdc.patch b/net/cups/patches/160-ppdc.patch index 54efbe9c14..e4da1f48e2 100644 --- a/net/cups/patches/160-ppdc.patch +++ b/net/cups/patches/160-ppdc.patch @@ -1,6 +1,6 @@ ---- cups-1.4.2.orig/ppdc/Makefile 2010-01-28 18:06:41.000000000 +0100 -+++ cups-1.4.2/ppdc/Makefile 2010-01-28 20:25:09.000000000 +0100 -@@ -239,12 +239,7 @@ +--- a/ppdc/Makefile ++++ b/ppdc/Makefile +@@ -239,12 +239,7 @@ framedhelp: genstrings: genstrings.o libcupsppdc.a ../cups/libcups.a \ sample.drv ../data/media.defs -- 2.30.2