[Bug 257986] x11-toolkits/gtk40: fix pkg & configure error

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 21 Aug 2021 16:10:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257986

            Bug ID: 257986
           Summary: x11-toolkits/gtk40: fix pkg & configure error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
             Flags: maintainer-feedback?(desktop@FreeBSD.org)
          Assignee: desktop@FreeBSD.org

Created attachment 227354
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227354&action=edit
[patch] remove CLOUDPRINT option; fix cups configure

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/printbackends/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.

-- 
You are receiving this mail because:
You are the assignee for the bug.