From 549f98540a7513d56c813e50c0b577044aa59628 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Fri, 16 Oct 2020 12:40:30 -0400 Subject: [PATCH] sane: remove incorrect shlib-provides Without noshlibprovides in the main package, xbps-src detects every driver in /usr/lib/sane with an incorrect soname of libsane.so.1 and adds libsane.so.1 to the shlib-provides list for that package. This allows ignorepkg=libsane to prevent installation (or allow removal) of the package that actually installs this shlib, breaking everything that depends on it. When sane does not provide libsane.so.1, libsane will not be removable or ignorable when anything depends on the shlib. --- srcpkgs/sane/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/sane/template b/srcpkgs/sane/template index 4812273c94d..aaaf65d5d2d 100644 --- a/srcpkgs/sane/template +++ b/srcpkgs/sane/template @@ -2,7 +2,7 @@ pkgname=sane _gitlab_release_hash=8bf1cae2e1803aefab9e5331550e5d5d version=1.0.31 -revision=1 +revision=2 wrksrc="sane-backends-${version}" build_style=gnu-configure configure_args="--disable-locking --enable-ipv6 --enable-pthread @@ -20,6 +20,7 @@ license="GPL-2.0-or-later, SANE-exception" homepage="http://www.sane-project.org/" distfiles="https://gitlab.com/sane-project/backends/uploads/${_gitlab_release_hash}/sane-backends-${version}.tar.gz" checksum=4a3b10fcb398ed854777d979498645edfe66fcac2f2fd2b9117a79ff45e2a5aa +noshlibprovides="avoid false detection of device drivers" build_options="snmp"