From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C77C8158013 for ; Tue, 5 Dec 2023 05:26:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 239AD2BC026; Tue, 5 Dec 2023 05:25:57 +0000 (UTC) Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E821D2BC01A for ; Tue, 5 Dec 2023 05:25:56 +0000 (UTC) Received: by mail-oi1-x236.google.com with SMTP id 5614622812f47-3b8b1a50889so818664b6e.3 for ; Mon, 04 Dec 2023 21:25:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701753955; x=1702358755; darn=lists.gentoo.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=sa/0bxBkdpyzhsqzYIMSpzMBP+06RugwtHn+tQ0bIbk=; b=jDxmVQ919o+K7iVIYFZn+RO7hwKW8POSvgcIA86g30ZtT9ID7mrqyTvb8nwv7IpdcE V2cvKQBUp6qdkdEp1JcrWvQqeUNos2PDdPdnwbwTAdYPCR1CNfLJebdYzgJEz4BwuH57 jruVGv/5TEjLX4mjAOz7rqVi2zaM6nP0t0+Lu8TZh2W8YFwepWVLkumHA1KyZ1OGgLYN x1z6lIhjA/rNBBDttTLABtye/5JULRbaAlNE0VjkgQOxA8g4vWD9Ch6wG24it8pidGsz xcUGhkdiJZKETBjU7EXfn6eQQcwfUmu2C71cNfzvDuEozteSm++c5ejR7A7aLmnLo1Fm RbAQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701753955; x=1702358755; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sa/0bxBkdpyzhsqzYIMSpzMBP+06RugwtHn+tQ0bIbk=; b=c7prnc+smlw4W7kBF/ikJbqu5QyULRXNrweMXlKcAhvrmD8cemgt4p9MuIPi3ub40j A2lxoF6oNWY095WOF7E8oLFGBJwEnjhykHCK1VbZns0eJdv0NSXZtFFcbdlFxWKMHhMU DMkxnvdSD8f9EAU/ey4msy44FtELQ+agF/+lF6RgKrR6n5bRWlNmcjlcn1dFzzPRaORz 2CEyqgq2QshXW1SmbjjvfzWJruWfTDAxl8Qj4xjEUoku6/D+sTvBcn9IJrEX6RdV0wYt LTToXcvwVwx6QtDvIapWUfHQhzpaOayFBK7hZM4yQERQPVdg8pbL8mnHA2WXdmhVVu8x 3UMQ== X-Gm-Message-State: AOJu0Yxy6Lm6yW5ZG0kbjURVshgIskr9O+xv0imGrniMvu+d6qo4mLyg vzANks1Po90Wj70FyTW2jTgW9YTNe3Q= X-Google-Smtp-Source: AGHT+IG/izfjJuh3rKLV+SeMKTljTC0R1TXyQPjRAW4qUpGJlaayS36M+rT1WadyHN185WfrOu1N5g== X-Received: by 2002:a05:6808:1485:b0:3a4:6b13:b721 with SMTP id e5-20020a056808148500b003a46b13b721mr3470140oiw.46.1701753955530; Mon, 04 Dec 2023 21:25:55 -0800 (PST) Received: from acleverhostname.attlocal.net (108-200-163-197.lightspeed.bcvloh.sbcglobal.net. [108.200.163.197]) by smtp.gmail.com with ESMTPSA id x19-20020a056808145300b003b6caf2accfsm2081659oiv.22.2023.12.04.21.25.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 21:25:55 -0800 (PST) From: Eli Schwartz To: gentoo-dev@lists.gentoo.org Subject: [gentoo-dev] [RFC PATCH 00/10] Upgrading cups-filters to 2.0.0 Date: Tue, 5 Dec 2023 00:20:25 -0500 Message-ID: <20231205052550.3150055-1-eschwartz93@gmail.com> X-Mailer: git-send-email 2.41.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 0b5f688a-08c6-4279-8a2a-9b724857881e X-Archives-Hash: f0e983cd26b4251a70122aa0e912215f I've been working with Sam for a bit on this update. It's a bit of a fiddly one, as a lot of stuff has changed upstream. It's probably best described via my proposed news post. Please review. It would also be quite nice to get a bit of testing -- I'm especially concerned about cups-browsed's testsuite, so if anyone has any ideas how to actually run it, that would be fantastic. I do not use cups-browsed myself... News post: ------------------------------------- Title: CUPS no longer directly depends on its filters Author: Eli Schwartz Posted: 2023-11-20 Revision: 1 News-Item-Format: 2.0 Display-If-Installed: <=net-print/cups-2.4.7-r1 Reasons ======= Historically, net-print/cups has both depended on and been a dependency of net-print/cups-filters. The latter is required for usability of a CUPS printing setup, but also must build against the former's libraries. This results in an ugly dependency cycle, and forcing the entire CUPS printing setup wherever USE=cups is enabled on a framework. Current upstream work on CUPS has focused on modularizing the codebase. There are now several packages, and there will be more in the future. Installing net-print/cups-filters is no longer sufficient to ensure all components are installed. In the future, when CUPS v3 is released, filters will be exclusive to legacy printers, and largely replaced with IPP Everywhere.[1] A more future-proof way to install a CUPS production printing setup is needed. User Action Required ======= cups-filters is required for current versions of CUPS. To prevent depcleaning if you are a CUPS user (and it was not installed just as a dependency for something else): emerge net-print/cups-meta If cups-browsed support is desired, add the following package.use: net-print/cups-meta browsed [1] https://openprinting.github.io/current/#the-new-architecture-for-printing-and-scanning Eli Schwartz (10): net-print/libcupsfilters: new package, add 2.0.0 net-print/libppd: new package, add 2.0.0 net-print/cups-filters: add 2.0.0 net-print/cups-browsed: new package, add 2.0.0 net-print/cups-meta: new package, add 1 net-print/cups: drop cyclic dependency on cups-filters net-print/cups: re-enable tests net-print/cups: avoid running unittests in src_compile net-print/cups-browsed: restrict tests net-print/cups-filters: restrict tests net-print/cups-browsed/Manifest | 1 + .../cups-browsed/cups-browsed-2.0.0.ebuild | 82 +++++ ...d.c-Fix-build-with-avahi-disabled-20.patch | 34 ++ net-print/cups-browsed/metadata.xml | 11 + net-print/cups-filters/Manifest | 1 + .../cups-filters/cups-filters-2.0.0.ebuild | 54 +++ net-print/cups-meta/cups-meta-1.ebuild | 21 ++ net-print/cups-meta/metadata.xml | 9 + net-print/cups/cups-2.4.7-r2.ebuild | 320 ++++++++++++++++++ net-print/libcupsfilters/Manifest | 1 + .../libcupsfilters-2.0.0.ebuild | 60 ++++ net-print/libcupsfilters/metadata.xml | 14 + net-print/libppd/Manifest | 1 + net-print/libppd/libppd-2.0.0.ebuild | 52 +++ net-print/libppd/metadata.xml | 14 + 15 files changed, 675 insertions(+) create mode 100644 net-print/cups-browsed/Manifest create mode 100644 net-print/cups-browsed/cups-browsed-2.0.0.ebuild create mode 100644 net-print/cups-browsed/files/0001-cups-browsed.c-Fix-build-with-avahi-disabled-20.patch create mode 100644 net-print/cups-browsed/metadata.xml create mode 100644 net-print/cups-filters/cups-filters-2.0.0.ebuild create mode 100644 net-print/cups-meta/cups-meta-1.ebuild create mode 100644 net-print/cups-meta/metadata.xml create mode 100644 net-print/cups/cups-2.4.7-r2.ebuild create mode 100644 net-print/libcupsfilters/Manifest create mode 100644 net-print/libcupsfilters/libcupsfilters-2.0.0.ebuild create mode 100644 net-print/libcupsfilters/metadata.xml create mode 100644 net-print/libppd/Manifest create mode 100644 net-print/libppd/libppd-2.0.0.ebuild create mode 100644 net-print/libppd/metadata.xml -- 2.41.0