[gentoo-commits] repo/gentoo:master commit in: net-print/cups-browsed/
commit: 4aeeae8bddeb3add6d5caeb0f40e9ebfdb9da531 Author: Matoro Mahri matoro tk> AuthorDate: Wed Feb 21 15:45:33 2024 + Commit: Ionen Wolkens gentoo org> CommitDate: Thu Feb 22 04:45:32 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aeeae8b net-print/cups-browsed: Stabilize 2.0.0 sparc, #923811 Signed-off-by: Matoro Mahri matoro.tk> Signed-off-by: Ionen Wolkens gentoo.org> net-print/cups-browsed/cups-browsed-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild index 6b0549eb2981..20aedcf5cb6b 100644 --- a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild +++ b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/OpenPrinting/cups-browsed/releases/download/${PV}/${ LICENSE="Apache-2.0" SLOT="0" IUSE="ldap test zeroconf" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv sparc x86" RDEPEND=" dev-libs/glib:2
[gentoo-commits] repo/gentoo:master commit in: net-print/cups-browsed/
commit: 6d669cbf1fd9b3aebad57eceb58add04211ff76b Author: Sam James gentoo org> AuthorDate: Mon Feb 5 16:46:28 2024 + Commit: Sam James gentoo org> CommitDate: Mon Feb 5 16:46:28 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d669cbf net-print/cups-browsed: Stabilize 2.0.0 x86, #923811 Signed-off-by: Sam James gentoo.org> net-print/cups-browsed/cups-browsed-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild index 0586a2e2c2f8..6b0549eb2981 100644 --- a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild +++ b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/OpenPrinting/cups-browsed/releases/download/${PV}/${ LICENSE="Apache-2.0" SLOT="0" IUSE="ldap test zeroconf" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc x86" RDEPEND=" dev-libs/glib:2
[gentoo-commits] repo/gentoo:master commit in: net-print/cups-browsed/
commit: 53022ec2ad94e0c5792c923572f67bc55eef59a5 Author: Sam James gentoo org> AuthorDate: Mon Feb 5 16:45:50 2024 + Commit: Sam James gentoo org> CommitDate: Mon Feb 5 16:45:50 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53022ec2 net-print/cups-browsed: Stabilize 2.0.0 amd64, #923811 Signed-off-by: Sam James gentoo.org> net-print/cups-browsed/cups-browsed-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild index f2353fea5977..0586a2e2c2f8 100644 --- a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild +++ b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/OpenPrinting/cups-browsed/releases/download/${PV}/${ LICENSE="Apache-2.0" SLOT="0" IUSE="ldap test zeroconf" -KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86" RDEPEND=" dev-libs/glib:2
[gentoo-commits] repo/gentoo:master commit in: net-print/cups-browsed/
commit: 31c999e7467c41e1f860ea928b0273e475fbe176 Author: Sam James gentoo org> AuthorDate: Mon Feb 5 15:11:41 2024 + Commit: Sam James gentoo org> CommitDate: Mon Feb 5 15:11:41 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31c999e7 net-print/cups-browsed: Stabilize 2.0.0 arm, #923811 Signed-off-by: Sam James gentoo.org> net-print/cups-browsed/cups-browsed-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild index 36491fa549b9..f2353fea5977 100644 --- a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild +++ b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/OpenPrinting/cups-browsed/releases/download/${PV}/${ LICENSE="Apache-2.0" SLOT="0" IUSE="ldap test zeroconf" -KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86" RDEPEND=" dev-libs/glib:2
[gentoo-commits] repo/gentoo:master commit in: net-print/cups-browsed/
commit: 719e8a96fe778b410e846c00296ea11f1eaa7f5f Author: Sam James gentoo org> AuthorDate: Mon Feb 5 15:11:36 2024 + Commit: Sam James gentoo org> CommitDate: Mon Feb 5 15:11:36 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=719e8a96 net-print/cups-browsed: Stabilize 2.0.0 arm64, #923811 Signed-off-by: Sam James gentoo.org> net-print/cups-browsed/cups-browsed-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild index 5e82a340aa96..36491fa549b9 100644 --- a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild +++ b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/OpenPrinting/cups-browsed/releases/download/${PV}/${ LICENSE="Apache-2.0" SLOT="0" IUSE="ldap test zeroconf" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86" RDEPEND=" dev-libs/glib:2
[gentoo-commits] repo/gentoo:master commit in: net-print/cups-browsed/
commit: 1d2273161339a102e529aa1a8c5e82a47f0cfe4c Author: Sam James gentoo org> AuthorDate: Mon Feb 5 15:11:32 2024 + Commit: Sam James gentoo org> CommitDate: Mon Feb 5 15:11:32 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d227316 net-print/cups-browsed: Stabilize 2.0.0 ppc, #923811 Signed-off-by: Sam James gentoo.org> net-print/cups-browsed/cups-browsed-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild index c6d67a2753cb..5e82a340aa96 100644 --- a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild +++ b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/OpenPrinting/cups-browsed/releases/download/${PV}/${ LICENSE="Apache-2.0" SLOT="0" IUSE="ldap test zeroconf" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~sparc ~x86" RDEPEND=" dev-libs/glib:2
[gentoo-commits] repo/gentoo:master commit in: net-print/cups-browsed/
commit: fc0d0126f3eeb152b2909cd22044b2c90a089ec0 Author: Sam James gentoo org> AuthorDate: Mon Feb 5 15:11:27 2024 + Commit: Sam James gentoo org> CommitDate: Mon Feb 5 15:11:27 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc0d0126 net-print/cups-browsed: Stabilize 2.0.0 ppc64, #923811 Signed-off-by: Sam James gentoo.org> net-print/cups-browsed/cups-browsed-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild index 25ea5f8b5267..c6d67a2753cb 100644 --- a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild +++ b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/OpenPrinting/cups-browsed/releases/download/${PV}/${ LICENSE="Apache-2.0" SLOT="0" IUSE="ldap test zeroconf" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~sparc ~x86" RDEPEND=" dev-libs/glib:2
[gentoo-commits] repo/gentoo:master commit in: net-print/cups-browsed/
commit: 1081763c14ee7a4f8f74f641bf94ba2f006da487 Author: Matoro Mahri matoro tk> AuthorDate: Wed Jan 24 19:56:37 2024 + Commit: Ionen Wolkens gentoo org> CommitDate: Thu Jan 25 00:52:16 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1081763c net-print/cups-browsed: Keyword 2.0.0 hppa, #920237 Signed-off-by: Matoro Mahri matoro.tk> Signed-off-by: Ionen Wolkens gentoo.org> net-print/cups-browsed/cups-browsed-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild index ee211ad219f6..25ea5f8b5267 100644 --- a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild +++ b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/OpenPrinting/cups-browsed/releases/download/${PV}/${ LICENSE="Apache-2.0" SLOT="0" IUSE="ldap test zeroconf" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" RDEPEND=" dev-libs/glib:2
[gentoo-commits] repo/gentoo:master commit in: net-print/cups-browsed/
commit: 2309bef6d27d64fec3cc1e6776687ad6ef56d7fc Author: Jakov Smolić gentoo org> AuthorDate: Wed Jan 3 08:41:41 2024 + Commit: Jakov Smolić gentoo org> CommitDate: Wed Jan 3 08:41:41 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2309bef6 net-print/cups-browsed: Keyword 2.0.0 riscv, #920237 Signed-off-by: Jakov Smolić gentoo.org> net-print/cups-browsed/cups-browsed-2.0.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild index 1b6b0e1e9f9c..ee211ad219f6 100644 --- a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild +++ b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -12,7 +12,7 @@ SRC_URI="https://github.com/OpenPrinting/cups-browsed/releases/download/${PV}/${ LICENSE="Apache-2.0" SLOT="0" IUSE="ldap test zeroconf" -KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86" RDEPEND=" dev-libs/glib:2
[gentoo-commits] repo/gentoo:master commit in: net-print/cups-browsed/
commit: 13600b2066363983abb4dcd3e9a98be8a11f9be2 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Dec 29 14:55:04 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Dec 29 14:55:04 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13600b20 net-print/cups-browsed: Keyword 2.0.0 x86, #920237 Signed-off-by: Arthur Zamarin gentoo.org> net-print/cups-browsed/cups-browsed-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild index e1aa29626e81..c91b0b0dc5e2 100644 --- a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild +++ b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/OpenPrinting/cups-browsed/releases/download/${PV}/${ LICENSE="Apache-2.0" SLOT="0" IUSE="ldap test zeroconf" -KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~x86" RDEPEND=" dev-libs/glib:2
[gentoo-commits] repo/gentoo:master commit in: net-print/cups-browsed/
commit: bfdb2e6317d829f8985fc74b75e029d45e4fb456 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Dec 29 14:54:59 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Dec 29 14:54:59 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfdb2e63 net-print/cups-browsed: Keyword 2.0.0 arm, #920237 Signed-off-by: Arthur Zamarin gentoo.org> net-print/cups-browsed/cups-browsed-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild index bcda961430c0..e1aa29626e81 100644 --- a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild +++ b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/OpenPrinting/cups-browsed/releases/download/${PV}/${ LICENSE="Apache-2.0" SLOT="0" IUSE="ldap test zeroconf" -KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64" RDEPEND=" dev-libs/glib:2
[gentoo-commits] repo/gentoo:master commit in: net-print/cups-browsed/
commit: 4815148c5d01aea476d401c89fb379f747ccae91 Author: Arthur Zamarin gentoo org> AuthorDate: Fri Dec 29 14:54:39 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Dec 29 14:54:39 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4815148c net-print/cups-browsed: Keyword 2.0.0 ppc, #920237 Signed-off-by: Arthur Zamarin gentoo.org> net-print/cups-browsed/cups-browsed-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild index 1055fb74345a..bcda961430c0 100644 --- a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild +++ b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/OpenPrinting/cups-browsed/releases/download/${PV}/${ LICENSE="Apache-2.0" SLOT="0" IUSE="ldap test zeroconf" -KEYWORDS="~amd64 ~arm64 ~loong ~ppc64" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc ~ppc64" RDEPEND=" dev-libs/glib:2
[gentoo-commits] repo/gentoo:master commit in: net-print/cups-browsed/
commit: 28c7f15fb1c368d66069f7f3e49cee9d8a33caeb Author: Arthur Zamarin gentoo org> AuthorDate: Fri Dec 29 14:35:42 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Fri Dec 29 14:35:42 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28c7f15f net-print/cups-browsed: Keyword 2.0.0 ppc64, #920237 Signed-off-by: Arthur Zamarin gentoo.org> net-print/cups-browsed/cups-browsed-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild index f2e344986830..1055fb74345a 100644 --- a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild +++ b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/OpenPrinting/cups-browsed/releases/download/${PV}/${ LICENSE="Apache-2.0" SLOT="0" IUSE="ldap test zeroconf" -KEYWORDS="~amd64 ~arm64 ~loong" +KEYWORDS="~amd64 ~arm64 ~loong ~ppc64" RDEPEND=" dev-libs/glib:2
[gentoo-commits] repo/gentoo:master commit in: net-print/cups-browsed/
commit: 3c9f6107901257f41f77a485c6d1eb2a5bc643ee Author: Mart Raudsepp gentoo org> AuthorDate: Fri Dec 22 13:08:47 2023 + Commit: Mart Raudsepp gentoo org> CommitDate: Fri Dec 22 13:23:37 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c9f6107 net-print/cups-browsed: keyword 2.0.0 for ~arm64 Signed-off-by: Mart Raudsepp gentoo.org> net-print/cups-browsed/cups-browsed-2.0.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild index 267b2554bce4..f2e344986830 100644 --- a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild +++ b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/OpenPrinting/cups-browsed/releases/download/${PV}/${ LICENSE="Apache-2.0" SLOT="0" IUSE="ldap test zeroconf" -KEYWORDS="~amd64 ~loong" +KEYWORDS="~amd64 ~arm64 ~loong" RDEPEND=" dev-libs/glib:2
[gentoo-commits] repo/gentoo:master commit in: net-print/cups-browsed/files/
commit: 82809ce5a8a646ea7f55f3cc71be8a3783cc6a5f Author: Eli Schwartz gmail com> AuthorDate: Mon Dec 18 05:53:29 2023 + Commit: Sam James gentoo org> CommitDate: Mon Dec 18 06:11:26 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82809ce5 net-print/cups-browsed: add missing file I forgot to git commit this. Fixes: 551c0ac598ce158841e090998af34526ed289f2b Closes: https://bugs.gentoo.org/920250 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> net-print/cups-browsed/files/cups-browsed.init.d | 9 + 1 file changed, 9 insertions(+) diff --git a/net-print/cups-browsed/files/cups-browsed.init.d b/net-print/cups-browsed/files/cups-browsed.init.d new file mode 100644 index ..4fea546a05ca --- /dev/null +++ b/net-print/cups-browsed/files/cups-browsed.init.d @@ -0,0 +1,9 @@ +#!/sbin/openrc-run + +pidfile="/run/cups-browsed.pid" +command="/usr/sbin/cups-browsed" +command_background="true" + +depend() { + need cupsd avahi-daemon +}
[gentoo-commits] repo/gentoo:master commit in: net-print/cups-browsed/
commit: fd6b80fed96eadee8e30f9d644f7a206143b1f7f Author: Eli Schwartz gmail com> AuthorDate: Sun Nov 12 21:38:24 2023 + Commit: Sam James gentoo org> CommitDate: Mon Dec 18 03:53:24 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd6b80fe net-print/cups-browsed: restrict tests The tests are newly created during the 2.x upgrade. They will hang forever if they cannot run properly. And running them properly has hit a wall. I'm not sure where to go on from here. Even getting this far means stepping outside of what portage can reasonably require. Avahi only runs as root, and doesn't seem to have a mocking mode, and even if it is running, the sandbox prevents src_test from seeing it. Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> net-print/cups-browsed/cups-browsed-2.0.0.ebuild | 19 +++ 1 file changed, 19 insertions(+) diff --git a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild index 6baeb697f2cd..0232d57c8b51 100644 --- a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild +++ b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild @@ -29,6 +29,18 @@ BDEPEND=" virtual/pkgconfig " +# The tests are new since the split out of cups-filters. Actually running them +# seems to be challenging. You need: +# - cups tools that are USE-optional +# - running avahi-daemon (as root!) +# - disable portage's pid-sandbox, which interferes with avahi +# - ipptool still fails to connect to port 8xxx +# +# If anything fails, a `while true` loop fails to successfully launch and break +# out of the loop, leading to a hang. Until there's an obvious recipe for +# successfully running the tests, restrict it. +RESTRICT="test" + PATCHES=( "${FILESDIR}"/0001-cups-browsed.c-Fix-build-with-avahi-disabled-20.patch ) @@ -47,6 +59,13 @@ src_configure() { econf "${myeconfargs[@]}" } +src_test() { + # Requires avahi running. Hangs forever if not available. + avahi-daemon --check 2>/dev/null || die "no running avahi daemon found, cannot run tests" + + default +} + src_install() { default
[gentoo-commits] repo/gentoo:master commit in: net-print/cups-browsed/files/, net-print/cups-browsed/
commit: 023cf4bb702d50efb263b6287e9cf4df8c0367dc Author: Eli Schwartz gmail com> AuthorDate: Fri Nov 10 00:33:17 2023 + Commit: Sam James gentoo org> CommitDate: Mon Dec 18 03:53:21 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=023cf4bb net-print/cups-browsed: new package, add 2.0.0 Part of the CUPS v3 evolution. Now, cups-filters has been split out into multiple sub-packages. This contains the standalone browsed component. Bug: https://bugs.gentoo.org/914586 Signed-off-by: Eli Schwartz gmail.com> Signed-off-by: Sam James gentoo.org> net-print/cups-browsed/Manifest| 1 + net-print/cups-browsed/cups-browsed-2.0.0.ebuild | 63 ++ ...rowsed.c-Fix-build-with-avahi-disabled-20.patch | 34 net-print/cups-browsed/metadata.xml| 11 4 files changed, 109 insertions(+) diff --git a/net-print/cups-browsed/Manifest b/net-print/cups-browsed/Manifest new file mode 100644 index ..e9a2ce2398ba --- /dev/null +++ b/net-print/cups-browsed/Manifest @@ -0,0 +1 @@ +DIST cups-browsed-2.0.0.tar.xz 426132 BLAKE2B e1724c03302d61cf131c8886a95f6ad8f0236b134f1deaadb783fa185141b83cd8ac5c5d993ded37d04c7fd806c5cde157a792a90a2f372075f24a5bd2423dc5 SHA512 592493ef82c65b2418b86b555c4d24bdf352f78516993a021d106240b8c399fd9f4fcc27e396e895d94da889a97f2bbc5e96bfa92c58c8be80802ee8df43db80 diff --git a/net-print/cups-browsed/cups-browsed-2.0.0.ebuild b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild new file mode 100644 index ..6baeb697f2cd --- /dev/null +++ b/net-print/cups-browsed/cups-browsed-2.0.0.ebuild @@ -0,0 +1,63 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd + +DESCRIPTION="helper daemon to browse for remote CUPS queues and IPP network printers" +HOMEPAGE="https://github.com/OpenPrinting/cups-browsed; +SRC_URI="https://github.com/OpenPrinting/cups-browsed/releases/download/${PV}/${P}.tar.xz; + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="ldap test zeroconf" +KEYWORDS="~amd64" + +RDEPEND=" + dev-libs/glib:2 + >=net-print/cups-2 + >=net-print/cups-filters-2.0.0 + ldap? ( net-nds/openldap:= ) + test? ( net-print/cups[zeroconf] ) + zeroconf? ( net-dns/avahi[dbus] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/gdbus-codegen + >=sys-devel/gettext-0.18.3 + virtual/pkgconfig +" + +PATCHES=( + "${FILESDIR}"/0001-cups-browsed.c-Fix-build-with-avahi-disabled-20.patch +) + +src_configure() { + local myeconfargs=( + --localstatedir="${EPREFIX}"/var + --with-browseremoteprotocols=DNSSD,CUPS + --with-cups-rundir="${EPREFIX}"/run/cups + --with-rcdir=no + + $(use_enable ldap) + $(use_enable zeroconf avahi) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + + cp "${FILESDIR}"/cups-browsed.init.d "${T}"/cups-browsed || die + + if ! use zeroconf ; then + sed -i -e 's:need cupsd avahi-daemon:need cupsd:g' "${T}"/cups-browsed || die + sed -i -e 's:cups\.service avahi-daemon\.service:cups.service:g' "${S}"/daemon/cups-browsed.service || die + fi + + doinitd "${T}"/cups-browsed + systemd_dounit "${S}"/daemon/cups-browsed.service + +} diff --git a/net-print/cups-browsed/files/0001-cups-browsed.c-Fix-build-with-avahi-disabled-20.patch b/net-print/cups-browsed/files/0001-cups-browsed.c-Fix-build-with-avahi-disabled-20.patch new file mode 100644 index ..f72d3919c037 --- /dev/null +++ b/net-print/cups-browsed/files/0001-cups-browsed.c-Fix-build-with-avahi-disabled-20.patch @@ -0,0 +1,34 @@ +Upstream: https://github.com/OpenPrinting/cups-browsed/commit/08af74bfbf9aa8ccab45a2ee74e95951839756ba.patch +From 08af74bfbf9aa8ccab45a2ee74e95951839756ba Mon Sep 17 00:00:00 2001 +From: Timo Gurr +Date: Wed, 27 Sep 2023 13:01:46 +0200 +Subject: [PATCH] cups-browsed.c: Fix build with avahi disabled (#20) + +Fixes #19 +--- + daemon/cups-browsed.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/daemon/cups-browsed.c b/daemon/cups-browsed.c +index b06461b4..c1e64fab 100644 +--- a/daemon/cups-browsed.c b/daemon/cups-browsed.c +@@ -400,6 +400,7 @@ typedef struct pagesize_count_s + int count; + } pagesize_count_t; + ++#ifdef HAVE_AVAHI + typedef struct resolver_args_s + { + AvahiIfIndex interface; +@@ -414,6 +415,7 @@ typedef struct resolver_args_s + AvahiLookupResultFlags flags; + void* userdata; + } resolver_args_t; ++#endif // HAVE_AVAHI + + typedef struct create_args_s + { +-- +2.41.0 + diff --git a/net-print/cups-browsed/metadata.xml b/net-print/cups-browsed/metadata.xml new file mode 100644 index ..1b9a77a07ab0 --- /dev/null +++ b/net-print/cups-browsed/metadata.xml @@ -0,0 +1,11 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + +