From owner-freebsd-ports-bugs@freebsd.org Sun Mar 6 14:09:38 2016 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A7F37A95779 for ; Sun, 6 Mar 2016 14:09:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8DE401F7 for ; Sun, 6 Mar 2016 14:09:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u26E9cpL029859 for ; Sun, 6 Mar 2016 14:09:38 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 207746] [exp-run] Overhaul of print/cups and related ports Date: Sun, 06 Mar 2016 14:09:38 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tijl@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Mar 2016 14:09:38 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207746 Bug ID: 207746 Summary: [exp-run] Overhaul of print/cups and related ports Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: tijl@FreeBSD.org Created attachment 167765 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D167765&action= =3Dedit patch Short description: The attached patch combines print/cups-base, print/cups-client and print/cups-image into print/cups and updates it to 2.1.3 plus several improvements. It also removes print/cups-pstoraster, improves print/cups-filters, print/foomatic-* and updates print/hplip to 3.16.2. Long description: First some background. When you hand a file to cups it sets up a chain of filter programs that converts the file to something a printer understands.= =20 Each filter has a cost associated with it and cups tries to find the cheape= st chain. Costs used to be configured in such a way that files were first converted to PostScript. This could then be manipulated further (e.g. putt= ing multiple pages on one sheet) before finally being sent to a PostScript prin= ter or another filter like pstoraster which produces a raster format understood= by non-PostScript printer drivers. Nowadays most filters have been moved from cups to cups-filters and they have been configured to use PDF as an intermediate format instead of PostScript. See http://www.linuxfoundation.org/collaborate/workgroups/openprinting/pdf_as_s= tandard_print_job_format for more details. Merging of cups-base, cups-client and cups-image into print/cups. cups-image provides a library to work with the cups raster format. It is o= nly used to implement filters and printer drivers and these only exist in the context of a cups server so there's no need to separate this from cups-base. cups-client provides a library that allows applications to print via cups. = It is possible to use the library to access a remote cups server without runni= ng a local cups server, but such a setup is discouraged and the configuration fi= le to set this up has been marked deprecated (https://cups.org/documentation.php/doc-2.1/man-client.conf.html). It is better to run a local cups server and let that talk to the remote cups serv= er because then you have the benefits of local job queuing in case the remote server is down or busy. Given this and the fact that without filters cups-= base is now smaller than it used to be it makes sense to merge the ports. The p= atch also adds options IPPTOOL, DOCS and NLS which when disabled make the new cu= ps package smaller than the current cups-client package. Merging the ports al= so prevents problems with options like ZEROCONF being configured differently in both ports. print/cups is currently a metaport that depends on cups-base and some filte= rs.=20 There isn't really a need for such a metaport I think so cups-base can be renamed to cups. The filters can be depended on by printer drivers such as hplip if they need them. Additional changes to the new print/cups: - Update to 2.1.3. - Clean up the patches. They seem to have been regenerated with post-patch changes included. - Add a patch to prevent intermediate conversion to PDF when a PostScript f= ile is sent to a PostScript printer when cups-filters is installed. - Fix the PAM configuration file. - Add a patch to let the server search /usr/local/share/ppd like on Linux so other ports don't have to add links to it from /usr/local/share/cups/model. - Remove ulpt(4) helper scripts. The port uses libusb with ugen(4). - Remove support for mDNSResponder. cups-filters only supports Avahi. - Combine ICONS and XDG_OPEN options into an X11 option to support WITHOUT_= X11. - Optionally depend on colord for ICC profile support. - Various smaller changes. print/cups-filters: - Let the cups_browsed rc.d script depend on avahi_daemon. - Development of foomatic-filters has been moved to cups-filters so let this port install foomatic related files and add foomatic-filters to CONFLICTS. - Fix location of liblouis tables. - Add patch to fix ICC support. print/cups-pstoraster: This port is essentially an old version of Ghostscript plus a cups filter.= =20 It's no longer developed. The patch removes it and changes existing dependencies to print/cups-filters which depends on print/ghostscript* and includes a gstoraster filter that can handle both PostScript and PDF. print/foomatic-db*: Remove old MASTER_SITES and dependencies and eliminate PKGNAMEPREFIX. print/foomatic-filters: Install beh backend with its original name again and add cups-filters to CONFLICTS. print/hplip: - Update to 3.16.2. - Stop installing foomatic support. This is no longer supported upstream a= nd is outdated (foomatic 3.x). - Stop installing hpijs. This is no longer supported. - Stop installing hpcups PPDs. These are now automatically generated. The bundled PPDs are generated for an older cups version. - Install dbus, hal and policykit support files. - Rename the QT option to X11 to support WITHOUT_X11. - Simplify the patches now that ports are installed in a staging area. - Add a patch to set SO_REUSEPORT (next to SO_REUSEADDR) on the mDNS socket like avahi-daemon does. This fixes Zeroconf support for HP network printer= s. --=20 You are receiving this mail because: You are the assignee for the bug.=