FS#73804 - Not "provides" field in mate-utils package

Attached to Project: Community Packages
Opened by Nix (Nixsasl) - Wednesday, 16 February 2022, 02:23 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 16 February 2022, 07:07 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Antonio Rojas (arojas)
Brad Fanella (cesura)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The mate-utils package not have provides field in the PKGBUILD: https://github.com/archlinux/svntogit-community/blob/packages/mate-utils/trunk/PKGBUILD

And provides mate-screenshot mate-dictionary logview baobab (github name mate desktop) that is mate-disk-analizer gsearchtool mate-disk-image-mounter: https://github.com/mate-desktop/mate-utils
Additional info:
* package version(s) 1.26.0-1
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
pacman -S mate-utils && pacman -Qi mate-utils or pacman -Si mate-utils

I am using Manjaro, but, is a heredated package from Arch.

Suggested fix:

# Maintainer: Brad Fanella <cesura@archlinux.org>
# Contributor: Martin Wimpress <code@flexion.org>

pkgname=mate-utils
pkgver=1.26.0
pkgrel=2
pkgdesc="Common MATE utilities for viewing disk usage, logs and fonts, taking screenshots, managing dictionaries and searching files"
url="http://mate-desktop.org"
arch=('x86_64')
license=('GPL')
depends=('mate-desktop' 'gettext' 'libcanberra' 'libgtop' 'libsm' 'udisks2')
makedepends=('inkscape' 'itstool' 'mate-panel' 'python')
optdepends=('mate-panel: Look up words in dictionaries from the panel')
groups=('mate-extra')
provides=('mate-screenshot' 'mate-dictionary' 'logview' 'mate-disk-usage-analyzer (baobab)' 'mate-search-tool (gsearchtool)' 'mate-disk-image-mounter')
conflicts=('mate-utils-gtk3')
replaces=('mate-utils-gtk3')
source=("https://pub.mate-desktop.org/releases/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
sha256sums=('7ca56ab242e8efaa64f93ffb84f6e4bf8d4d0df01e20b3b6ef8956ce3192782e')

build() {
cd "${pkgname}-${pkgver}"
./configure \
--prefix=/usr \
--libexecdir=/usr/lib/${_pkgbase} \
--sysconfdir=/etc \
--disable-maintainer-flags

#https://bugzilla.gnome.org/show_bug.cgi?id=656231
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool

make
}

package() {
cd "${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}


And say in that is Orphan, is right? https://archlinux.org/packages/community/x86_64/mate-utils/

Thank you.
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 16 February 2022, 07:07 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Use pacman -F to find binaries
Comment by Doug Newgard (Scimmia) - Wednesday, 16 February 2022, 04:33 GMT
Provides is mostly for what packages it can fill a dep for. It's not for each binary/tool it includes.
Comment by Nix (Nixsasl) - Wednesday, 16 February 2022, 06:03 GMT
In a lot of packages, provides is ($pkgname), in this case that is a meta-package, is not adecuate include what binaries provides?.
Fedora include the binaries names in "provides", but, if is not the objetive of "provides" in PKGBUILD, is not good include it on the description maybe?

https://koji.fedoraproject.org/koji/rpminfo?rpmID=27353286

The history of it is that I was searching what packages provides me mate-screenshot executable, using "pacman -Fy mate-screenshot" = (mate-utils), so, looking with pacman -Si mate-utils I noted that the field "provides" is empty. Well, I reported in Manjaro forum and a member team tell me that report in Arch, because is heredated.
Well, my effort to contribute with Arch / Manjaro is done, I let those who really know about all (not me) decide if the change is appropriate or not. Thank you Doug.

Loading...