wok diff gtk+3/receipt @ rev 24092

Up get-pcem-roms (2.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 18 13:15:53 2021 +0000 (2021-07-18)
parents 070fb91070b2
children 6831608a1b2a
line diff
     1.1 --- a/gtk+3/receipt	Mon Feb 24 16:38:08 2020 +0100
     1.2 +++ b/gtk+3/receipt	Sun Jul 18 13:15:53 2021 +0000
     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			\