From 597ca4669b46029b13bcd79c37a7cdb3adf357cf Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 24 Jan 2014 18:14:45 +0100 Subject: fix cups header dependency, need to rework cups package later, update to latest upstream --- package/cups/patches/patch-Makedefs_in | 10 ------ package/cups/patches/patch-Makefile | 16 ---------- package/cups/patches/patch-conf_Makefile | 18 ----------- package/cups/patches/patch-configure | 47 ++++++----------------------- package/cups/patches/patch-ppdc_Makefile | 11 ------- package/cups/patches/patch-scheduler_auth_c | 10 ------ 6 files changed, 9 insertions(+), 103 deletions(-) delete mode 100644 package/cups/patches/patch-Makedefs_in delete mode 100644 package/cups/patches/patch-Makefile delete mode 100644 package/cups/patches/patch-conf_Makefile delete mode 100644 package/cups/patches/patch-ppdc_Makefile delete mode 100644 package/cups/patches/patch-scheduler_auth_c (limited to 'package/cups/patches') diff --git a/package/cups/patches/patch-Makedefs_in b/package/cups/patches/patch-Makedefs_in deleted file mode 100644 index d2ac2c771..000000000 --- a/package/cups/patches/patch-Makedefs_in +++ /dev/null @@ -1,10 +0,0 @@ ---- cups-1.4.4.orig/Makedefs.in 2010-04-23 20:56:34.000000000 +0200 -+++ cups-1.4.4/Makedefs.in 2010-09-30 21:33:20.000000000 +0200 -@@ -258,7 +258,6 @@ DBUSDIR = @DBUSDIR@ - # Rules... - # - --.SILENT: - .SUFFIXES: .1 .1.gz .1m .1m.gz .3 .3.gz .5 .5.gz .7 .7.gz .8 .8.gz .a .c .cxx .h .man .o .32.o .64.o .gz - - .c.o: diff --git a/package/cups/patches/patch-Makefile b/package/cups/patches/patch-Makefile deleted file mode 100644 index d0e90589d..000000000 --- a/package/cups/patches/patch-Makefile +++ /dev/null @@ -1,16 +0,0 @@ ---- cups-1.4.4.orig/Makefile 2010-04-23 20:56:34.000000000 +0200 -+++ cups-1.4.4/Makefile 2010-09-29 22:55:01.000000000 +0200 -@@ -20,10 +20,10 @@ include Makedefs - # Directories to make... - # - --DIRS = cups filter backend berkeley cgi-bin driver locale man monitor \ -- notifier ppdc scheduler systemv test \ -+DIRS = cups filter backend berkeley cgi-bin driver locale monitor \ -+ notifier ppdc scheduler systemv \ - $(PHPDIR) \ -- conf data doc examples $(FONTS) templates -+ conf data examples doc $(FONTS) templates - - - # diff --git a/package/cups/patches/patch-conf_Makefile b/package/cups/patches/patch-conf_Makefile deleted file mode 100644 index f3ae5c8dd..000000000 --- a/package/cups/patches/patch-conf_Makefile +++ /dev/null @@ -1,18 +0,0 @@ ---- cups-1.4.2.orig/conf/Makefile 2009-09-22 23:53:31.000000000 +0200 -+++ cups-1.4.2/conf/Makefile 2009-11-19 22:02:20.000000000 +0100 -@@ -72,12 +72,12 @@ install: all install-data install-header - install-data: - for file in $(KEEP); do \ - if test -r $(SERVERROOT)/$$file ; then \ -- $(INSTALL_CONFIG) -g $(CUPS_GROUP) $$file $(SERVERROOT)/$$file.N ; \ -+ $(INSTALL_CONFIG) $$file $(SERVERROOT)/$$file.N ; \ - else \ -- $(INSTALL_CONFIG) -g $(CUPS_GROUP) $$file $(SERVERROOT) ; \ -+ $(INSTALL_CONFIG) $$file $(SERVERROOT) ; \ - fi ; \ - done -- $(INSTALL_CONFIG) -g $(CUPS_GROUP) cupsd.conf $(SERVERROOT)/cupsd.conf.default -+ $(INSTALL_CONFIG) cupsd.conf $(SERVERROOT)/cupsd.conf.default - $(INSTALL_DIR) -m 755 $(DATADIR)/mime - for file in $(REPLACE); do \ - if test -r $(DATADIR)/mime/$$file ; then \ diff --git a/package/cups/patches/patch-configure b/package/cups/patches/patch-configure index 97243c0c9..19c9f6092 100644 --- a/package/cups/patches/patch-configure +++ b/package/cups/patches/patch-configure @@ -1,40 +1,11 @@ ---- cups-1.4.4.orig/configure 2010-06-17 20:25:47.000000000 +0200 -+++ cups-1.4.4/configure 2011-07-29 16:46:45.000000000 +0200 -@@ -1966,7 +1966,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu +--- cups-1.7.1.orig/configure 2014-01-08 17:26:27.000000000 +0100 ++++ cups-1.7.1/configure 2014-01-24 18:05:03.000000000 +0100 +@@ -5792,7 +5792,7 @@ fi + case "$COMPONENTS" in + all) +- BUILDDIRS="filter backend berkeley cgi-bin monitor notifier ppdc scheduler systemv conf data desktop locale man doc examples templates" ++ BUILDDIRS="filter backend berkeley monitor notifier ppdc conf data" + ;; - --uname=`uname` -+uname=Linux - uversion=`uname -r | sed -e '1,$s/^[^0-9]*\([0-9]*\)\.\([0-9]*\).*/\1\2/'` - uarch=`uname -m` - -@@ -10002,8 +10002,8 @@ if test "$libdir" = "\${exec_prefix}/lib - libdir="$exec_prefix/lib32" - ;; - Linux*) -- if test -d /usr/lib64; then -- libdir="$exec_prefix/lib64" -+ if test -d /usr/lib; then -+ libdir="$exec_prefix/lib" - fi - ;; - HP-UX*) -@@ -10978,7 +10978,7 @@ fi - if test x$enable_debug = xyes; then - OPTIM="-g" - else -- INSTALL_STRIP="-s" -+ INSTALL_STRIP="" - fi - - if test x$enable_debug_printfs = xyes; then -@@ -11199,7 +11199,7 @@ eval "echo \"\$as_me:$LINENO: $ac_try_ec - test -z "$ac_c_werror_flag" || - test ! -s conftest.err - } && test -s conftest.$ac_objext; then -- PIEFLAGS="-pie -fPIE" -+ PIEFLAGS="" - { echo "$as_me:$LINENO: result: yes" >&5 - echo "${ECHO_T}yes" >&6; } - else + core) diff --git a/package/cups/patches/patch-ppdc_Makefile b/package/cups/patches/patch-ppdc_Makefile deleted file mode 100644 index c045b2e14..000000000 --- a/package/cups/patches/patch-ppdc_Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- cups-1.4.4.orig/ppdc/Makefile 2010-04-23 20:56:34.000000000 +0200 -+++ cups-1.4.4/ppdc/Makefile 2010-10-03 00:51:42.000000000 +0200 -@@ -244,7 +244,7 @@ genstrings: genstrings.o libcupsppdc.a - libcupsppdc.a ../cups/libcups.a $(LIBGSSAPI) $(SSLLIBS) \ - $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ) - echo Generating localization strings... -- ./genstrings >sample.c -+ #./genstrings >sample.c - - - # diff --git a/package/cups/patches/patch-scheduler_auth_c b/package/cups/patches/patch-scheduler_auth_c deleted file mode 100644 index d9892c206..000000000 --- a/package/cups/patches/patch-scheduler_auth_c +++ /dev/null @@ -1,10 +0,0 @@ ---- cups-1.4.2.orig/scheduler/auth.c 2009-05-27 00:01:23.000000000 +0200 -+++ cups-1.4.2/scheduler/auth.c 2009-12-30 12:30:13.000000000 +0100 -@@ -57,6 +57,7 @@ - * Include necessary headers... - */ - -+#define _GNU_SOURCE - #include "cupsd.h" - #include - #ifdef HAVE_SHADOW_H -- cgit v1.2.3