Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2021 16:10:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   [Bug 257986] x11-toolkits/gtk40: fix pkg & configure error
Message-ID:  <bug-257986-39348@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257986

            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=3D227354&action=
=3Dedit
[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-pl=
ist'
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/printb=
ackends/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 a=
nd
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 opt=
ion
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257986-39348>