FS#79970 - [dino] Preview packages as optional dependencies

Attached to Project: Arch Linux
Opened by Giorgi Taba Kobakhidze (Taba) - Saturday, 14 October 2023, 23:35 GMT
Last edited by Robin Candau (Antiz) - Sunday, 15 October 2023, 07:11 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Bruno Pagani (ArchangeGabriel)
Robin Candau (Antiz)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I suggest copying optional dependencies of gdk-pixbuf2 to this package. I was specifically missing libopenraw.
This task depends upon

Closed by  Robin Candau (Antiz)
Sunday, 15 October 2023, 07:11 GMT
Reason for closing:  Implemented
Additional comments about closing:  gdk-pixbuf2 is now explicitly declared as a dependency for dino [1].
With the above done, u0sers are now expected to understand that gdk-pixbuf2's optional dependencies apply when using it in dino.

[1] https://gitlab.archlinux.org/archlinux/p ackaging/packages/dino/-/commit/0cbfc9c8 e2668c841c406e0d5b0ed89204ef5886
Comment by Toolybird (Toolybird) - Sunday, 15 October 2023, 02:21 GMT
Maybe. But the correct answer might be to correctly list all direct deps:

$ namcap /var/cache/pacman/pkg/dino-0.4.3-2-x86_64.pkg.tar.zst | grep pixbuf
dino W: Dependency gdk-pixbuf2 detected and implicitly satisfied (libraries ['usr/lib/libgdk_pixbuf-2.0.so.0'] needed in files ['usr/bin/dino', 'usr/lib/libdino.so.0.0'])

Maintainer opinion seems to differ, but please See  FS#79898  for a recent similar issue.
Comment by Robin Candau (Antiz) - Sunday, 15 October 2023, 07:09 GMT
I explicitly added gdk-pixbuf2 as a direct dependency of dino [1], regarding the above comment. Hopefully it makes it clearer and avoids confusion :)

However, as stated in https://bugs.archlinux.org/task/79898, I'm not so much for explicitly declaring optional dependencies of an actual dependency itself in the PKGBUILD.
Now that gdk-pixbuf2 is explicitly declared as a dependency of dino, I expect users to understand that gdk-pixbuf2's optional dependencies apply when using it in dino.

[1] https://gitlab.archlinux.org/archlinux/packaging/packages/dino/-/commit/0cbfc9c8e2668c841c406e0d5b0ed89204ef5886

Loading...