wok rev 24024

gtk+3: reenabled cups backend
author Hans-G?nter Theisgen
date Thu Mar 18 16:03:27 2021 +0100 (2021-03-18)
parents 526688f99354
children 2c87b294a318
files gtk+3/receipt
line diff
     1.1 --- a/gtk+3/receipt	Mon Mar 15 20:49:46 2021 +0000
     1.2 +++ b/gtk+3/receipt	Thu Mar 18 16:03:27 2021 +0100
     1.3 @@ -41,10 +41,9 @@
     1.4  compile_rules()
     1.5  {
     1.6  	# With cups-2.3.1 installed, configure says CUPS >= 1.2 not found
     1.7 -	# Try to cheat configure by:
     1.8 -	sed -i '25179a CUPS_API_MAJOR=1'	configure
     1.9 -	# Results in error: dereferencing pointer to incomplete type
    1.10 -	# Can we waive cups support?
    1.11 +	# and aborts processing.
    1.12 +	# Workaround:
    1.13 +	sed -i 's|as_fn_error $? "CUPS >= 1.2|echo $? "CUPS >= 1.2|'	configure
    1.14  
    1.15  	# unrecognised:
    1.16  	#	--enable-packagekit=no
    1.17 @@ -54,6 +53,7 @@
    1.18  		--sysconfdir=/etc		\
    1.19  		--localstatedir=/var		\
    1.20  		--enable-colord=no		\
    1.21 +		--enable-cups			\
    1.22  		--enable-debug=no		\
    1.23  		--enable-introspection=yes	\
    1.24  		--enable-x11-backend		\
    1.25 @@ -64,7 +64,6 @@
    1.26  		--enable-xkb			\
    1.27  		--enable-xrandr			\
    1.28  		--disable-broadway-backend	\
    1.29 -		--disable-cups			\
    1.30  		--disable-wayland-backend	\
    1.31  		--with-x			\
    1.32  		$CONFIGURE_ARGS			\