maintainer-feedback requested: [Bug 257986] x11-toolkits/gtk40: fix pkg & configure error
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 257986] x11-toolkits/gtk40: fix pkg & configure error"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 21 Aug 2021 16:10:23 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team) <desktop@FreeBSD.org> for maintainer-feedback: Bug 257986: x11-toolkits/gtk40: fix pkg & configure error https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257986 --- Description --- See also bug 257760 comment 4. Cloudprint support was removed for gtk40 4.3.2. From NEWS: * Printing: - Remove the Google Cloud Print backend For the current revistion of the x11-toolkits/gtk40 port (4.3.2), if the CLOUDPRINT option is on, 'make package', 'make install', and 'make check-plist' all fail due to a non-existent file. For example, 'make install' fails with: pkg-static: Unable to access file /usr/ports/x11-toolkits/gtk40/work/stage/usr/local/lib/gtk-4.0/4.0.0/printbacke nds/libprintbackend-cloudprint.so:No such file or directory *** Error code 1 Also, 'make configure' shows the following warning: WARNING: Unknown options: "cloudprint, cups" The 'cloudprint' option is no longer available for 4.3.2 of course (and the option was spelled 'print-cloudprint' for 4.2.1 anyway). The correct spelling for the cups option (for meson configuration) is 'print-cups'. Because it is an 'auto' setting by default, it will detect and include cups support if found. If cups is not installed, it will not build the cups print backend (but since there is a build dep for cups if the CUPS option is on, it was just luck that the misspelling did not matter). The attached patch removes the CLOUDPRINT option and fixes the spelling of the cups configure on/off option for meson.