# HG changeset patch # User Hans-G?nter Theisgen # Date 1616079807 -3600 # Node ID fb3600dec0d41128d809221646a592965ded5dee # Parent 526688f99354f5aecff885260584e95e02a20c7d gtk+3: reenabled cups backend diff -r 526688f99354 -r fb3600dec0d4 gtk+3/receipt --- a/gtk+3/receipt Mon Mar 15 20:49:46 2021 +0000 +++ b/gtk+3/receipt Thu Mar 18 16:03:27 2021 +0100 @@ -41,10 +41,9 @@ compile_rules() { # With cups-2.3.1 installed, configure says CUPS >= 1.2 not found - # Try to cheat configure by: - sed -i '25179a CUPS_API_MAJOR=1' configure - # Results in error: dereferencing pointer to incomplete type - # Can we waive cups support? + # and aborts processing. + # Workaround: + sed -i 's|as_fn_error $? "CUPS >= 1.2|echo $? "CUPS >= 1.2|' configure # unrecognised: # --enable-packagekit=no @@ -54,6 +53,7 @@ --sysconfdir=/etc \ --localstatedir=/var \ --enable-colord=no \ + --enable-cups \ --enable-debug=no \ --enable-introspection=yes \ --enable-x11-backend \ @@ -64,7 +64,6 @@ --enable-xkb \ --enable-xrandr \ --disable-broadway-backend \ - --disable-cups \ --disable-wayland-backend \ --with-x \ $CONFIGURE_ARGS \